[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
I'm using hibernate in a war/ear inside of jboss and having the same problem. Where does that xml file go? at the root of the war or some INF directory? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916307#3916307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916307 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
I included the ehcache-1.1.jar in my xyz.ejb3 and progressed past the Exception Class not found net/sf/ehcache/CacheException I found no reference to the cache in the xml config or away to disable the cache cache reference in the hibernate textI suppose it uses it by default. I will have to go back and research this later. 10:58:30,184 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider 10:58:30,194 INFO [STDOUT] Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException 10:58:30,202 INFO [STDOUT] java.lang.ExceptionInInitializerError 10:58:30,203 INFO [STDOUT] at com.rathlinfoyle.utils.HibernateUtil.(HibernateUtil.java:46) 10:58:30,203 INFO [STDOUT] at com.rathlinfoyle.svc.postal.PostalService.getStateAbbrvList(PostalService.java:113) 10:58:30,204 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) after including the ehcache-1.1.jar 12:10:30,273 INFO [SettingsFactory] Default entity-mode: pojo 12:10:30,283 INFO [SessionFactoryImpl] building session factory 12:10:30,442 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/opt/jboss-4.0.2/server/mybox/tmp/deploy/tmp20067Dallas.ejb3-contents/ehcache-1.1.jar!/ehcache-failsafe.xml 12:10:30,494 INFO [SessionFactoryObjectFactory] Factory name: java:hibernate/SessionFactory 12:10:30,495 INFO [NamingHelper] JNDI InitialContext properties:{} 12:10:30,497 INFO [NamingHelper] Creating subcontext: java:hibernate 12:10:30,498 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:hibernate/SessionFactory 12:10:30,500 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext 12:10:30,500 INFO [SessionFactoryImpl] Checking 0 named queries 12:10:32,368 ERROR [PARSER] UsStates is not mapped. 12:10:32,446 INFO [STDOUT] javax.ejb.EJBException: null; CausedByException is: UsStates is not mapped. [from UsStates] So i have a couple of other confige issues. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884296#3884296 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884296 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
I am using jboss-ejb3 beta jboss-4.0.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884297#3884297 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884297 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
Okay so the failsafe error is due to not having the ehcache.xml file also jar'd with my file. one more error gone. The ehcache.xml file is in the ehcache-1.1.tar.gz file. I just used it as is. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884322#3884322 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884322 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
Sine there seems no reply to this thread a different approach might help. Is there any tool available that can be used to validate the META files for correct syntax? I've used XDoclet to generate them, but experience has tought that there might be a couple of problems in there. Such a tool could help eliminate those problems. Thanks, Reiner View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882281#3882281 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882281 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
I'm getting the exact same error in my application using 4.0.2. Using JBoss 3.2.6 everything is working fine in there. The problem occurs everytime the Session Bean is trying to access one of the CMP EJB's. Doesn't matter which one. Any help is appreciated since I want to migrate over to the 4.0 release quickly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3881023#3881023 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881023 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
These are probably all because you are using hibernate 2 and 4.0.2 upgraded to hibernate 3 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879200#3879200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879200 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
tomansley wrote : These are probably all because you are using hibernate 2 and 4.0.2 upgraded to hibernate 3 I'm using hibernate 3 and 4.0.2. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879221#3879221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879221 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
I just upgraded to 4.0.2 from 4.0.1 because my SAR was unable to load jdom.jar (issue with manifest in jdom, i found a forum thread on that..). That problem was fixed when i moved to 4.0.2, but now I'm also stuck on ehcache with a class not found error.. my SAR has the jar.. see below.. Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/Element at net.sf.ehcache.Cache.put(Cache.java:317) at org.hibernate.cache.EhCache.put(EhCache.java:153) at org.hibernate.cache.ReadOnlyCache.put(ReadOnlyCache.java:59) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510) at org.hibernate.loader.Loader.doQuery(Loader.java:419) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210) at org.hibernate.loader.Loader.loadEntity(Loader.java:1311) at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116) at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101) my SAR archive lhas the ehcache jar: [EMAIL PROTECTED] proto]$ jar -tf dist/canopic.sar META-INF/ META-INF/MANIFEST.MF META-INF/jboss-service.xml c3p0-0.9.0-pre5.jar c3p0-oracle-thin-extras-0.9.0-pre5.jar commons-logging.jar ebi.jar jdom.jar junit.jar junitperf-1.9.1.jar log4j.jar ojdbc14.jar aopalliance.jar cglib-nodep-2.1.jar commons-collections.jar dom4j-1.6.jar spring-aop.jar spring.jar ehcache-1.1.jar hibernate3.jar canopic-common.jar canopic-shared.jar canopic-sar.jar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877704#3877704 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877704 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
where have you placed spring-related jars? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877576#3877576 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877576 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.2 and Spring and hot deployment of SLSB
They are in a jar file in the application's ear file. ehcache is also in a jar in the same ear. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877577#3877577 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877577 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user