Common libs in EAR?

2007-04-02 Thread Jochen Zink
Hello, I have, maybe a simple question, but I find no solution. I want to build an enterprise application. The application has two web-modules first.war and second.war, and both uses the same jar library something.jar. I don't want to put the something.jar to both war archives. Is there a

Re: Common libs in EAR?

2007-04-02 Thread David Carew
Add something .jar to the root of your ear file as you have indicated and then just add a MANIFEST.MF file to the META-INF folder of each war file that has the following: Manifest-Version: 1.0 Class-Path: something.jar On 4/2/07, Jochen Zink [EMAIL PROTECTED] wrote: Hello, I have, maybe a

Re: Common libs in EAR?

2007-04-02 Thread Jochen Zink
I know it would be a very simple think. ... Sorry for postin, and thanks a lot!! -Ursprüngliche Nachricht- Von: user@geronimo.apache.org Gesendet: 02.04.07 15:18:43 An: user@geronimo.apache.org Betreff: Re: Common libs in EAR? Add something .jar to the root of your ear file as you

Class cast issue with geronimo-tomcat6-jee5-2.0-M2, spring, hibernate that doesn't occur in tomcat standalone

2007-04-02 Thread Jim Barrows
When I deploy a war file to geronimo it gives me: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext/db.xml]: Invocation of init method failed; nested exception is

Re: Class cast issue with geronimo-tomcat6-jee5-2.0-M2, spring, hibernate that doesn't occur in tomcat standalone

2007-04-02 Thread David Jencks
Activemq makes a non-string system property that hibernate attempts to cast as a string. Solutions: - if you don't use jms, turn off the activemq and activemq-broker modules in your config.xml - use hibernate 3.2 where this problem is supposed to be fixed (I haven't checked) - there's also

XML Validation error when using local-home element in ejb-jar.xml

2007-04-02 Thread Aman Nanner/MxI Technologies
Hi, I am using Geronimo 1.2, and I'm in the midst of changing all my EJB interfaces in my application to local interfaces from remote interfaces. For reasons that I do not understand, I'm getting an XML validation error on my ejb-jar.xml when trying to deploy my application. According to the

Re: XML Validation error when using local-home element in ejb-jar.xml

2007-04-02 Thread Aman Nanner/MxI Technologies
I've resolved this problem on my own. Aman Nanner/MxI Technologies [EMAIL PROTECTED] wrote on 04-02-2007 04:20:21 PM: Hi, I am using Geronimo 1.2, and I'm in the midst of changing all my EJB interfaces in my application to local interfaces from remote interfaces. For reasons that I do not