-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: hibernate 2.1 jBoss 3.2.3 SingleSignOnContextConfig problem
PostPosted: Sun Mar 14, 2004 10:17 pm 
Beginner
Beginner

Joined: Tue Dec 30, 2003 1:51 pm
Posts: 49
Location: Michigan, USA
Hello,
I have gotten hibernate 2.1 and jBoss3.2.3 with vhosts setup and working with 3 different apps now and all is working well. I am working on number 4 and i am running into a problem when the EAR is deployed.

I have also posted this question on jBoss see:
http://jboss.org/index.html?module=bb&op=viewtopic&t=46913

However since there is no difference between the apps I am wondering if Hibernate has a limit on the number of SAR's that can be deployed to a vhost?

Here is what I am seeing in the log:

Code:
2004-03-14 20:49:13,112 INFO  [net.sf.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2004-03-14 20:49:13,560 INFO  [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=/impweb, warUrl=file:/apps/jboss-3.2.3/server/default/tmp/deploy/tmp42517impEAR-1.0.ear-contents/impWEB-1.0.war/
2004-03-14 20:49:15,787 ERROR [org.jboss.web.Host=www] SingleSignOnContextConfig[/impweb] Exception processing JAR at resource path /WEB-INF/lib/struts-1.1.jar
javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/struts-1.1.jar
        at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanJar(SingleSignOnContextConfig.java:1074)


As you can see the error happens after the naming helper is called.

Any ideas?

Regards,

Jason


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 15, 2004 1:37 am 
Beginner
Beginner

Joined: Tue Dec 30, 2003 1:51 pm
Posts: 49
Location: Michigan, USA
Never mind ---

I figured it out, I have started to use Maven and it does things a bit differently than you would think. It was caused by not have a / in the EAR project.xml that ref the WAR. doh...

Now however, it is telling me it is having a problem starting hibernate

Code:
WARN  [org.jboss.system.ServiceController] Problem starting service jboss.jca:service=Hibernate
java.lang.IllegalAccessError
   at net.sf.cglib.core.ClassEmitter.setTarget(ClassEmitter.java:87)
   at net.sf.cglib.core.ClassEmitter.<init>(ClassEmitter.java:79)
   at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:197)
   at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:63)
   at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:190)
   at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)
   at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:149)
   at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:142)
   at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:235)
   at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:750)
   at net.sf.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:176)
   at net.sf.hibernate.jmx.HibernateService.start(HibernateService.java:145)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
   at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
   at $Proxy14.start(Unknown Source)
   at org.jboss.system.ServiceController.start(ServiceController.java:394)
   at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
   at $Proxy4.start(Unknown Source)
   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
   at $Proxy6.deploy(Unknown Source)
   at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
   at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
   at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
   at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
   at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)


any idea's anyone? wow, its late...

jason


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.