[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread kuvera
AFAIK there is no automatic inclusion of jar files in an EAR. You can define them in application.web: | module | javamyjar.jar/java | /module | And you place it in the root dir. of the EAR. View the original post :

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread kuvera
Sorry, application.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038326#4038326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038326 ___ jboss-user mailing list

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread [EMAIL PROTECTED]
anonymous wrote : | AFAIK there is no automatic inclusion of jar files in an EAR. You can define them in application.web: | Code: | | | myjar.jar | | | | And you place it in the root dir. of the EAR. | | Not a good idea. The element is to be used for J2EE

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread kuvera
Thank you for clearing this up for me, too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038515#4038515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038515 ___ jboss-user

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread aslocal
Thanks for the responses ... I tried your suggestion above, so my MANIFEST.MF looks like: | Manifest-Version: 1.0 | Ant-Version: Apache Ant 1.7.0 | Created-By: 1.5.0_09-b01 (Sun Microsystems Inc.) | Class-Path: lib/antlr.jar lib/axis-ant.jar lib/axis.jar lib/log4j-1.2. | 8.jar

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread aslocal
Interesting ... it works for .JAR files, but not .EAR files. For reference here's how to generate the MANIFEST.MF using Ant http://blog.refactor.se/2006/02/13/manifestmf-classpath-from-ant/ Is there anyway to have the EJB Jar recognize the lib's in the main EAR? Thanks, Graeme. View the

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread [EMAIL PROTECTED]
anonymous wrote : | Interesting ... it works for .JAR files, but not .EAR files. | Could you explain what you mean by this? I am assuming you added the Class-Path: entry to the EJB.jar files MANIFEST.MF. View the original post :

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread aslocal
[EMAIL PROTECTED] wrote : anonymous wrote : | | Interesting ... it works for .JAR files, but not .EAR files. | | | | Could you explain what you mean by this? I am assuming you added the Class-Path: entry to the EJB.jar files MANIFEST.MF. | | I did, but I found that to be

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread [EMAIL PROTECTED]
Which version of JBoss? 4.0.x might. The MANIFEST.MF way to do this is preferred being that this is the 'standard'. EE 5 cleans this up with a standard location at the EAR level. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038554#4038554 Reply to the post

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread aslocal
[EMAIL PROTECTED] wrote : Which version of JBoss? 4.0.x might. The MANIFEST.MF way to do this is preferred being that this is the 'standard'. EE 5 cleans this up with a standard location at the EAR level. | I'm using the latest GA release 4.0.5. I'm currently not using EE 5, but the EJB

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread [EMAIL PROTECTED]
Quick check of the code looks like it was added at some point so it will check for lib unless this check is explicitly disabled. You also have the option of overriding this in your jboss-app.xml file. It would look something along the lines of: | library-directorydir/library-directory |

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread aslocal
[EMAIL PROTECTED] wrote : Quick check of the code looks like it was added at some point so it will check for lib unless this check is explicitly disabled. You also have the option of overriding this in your jboss-app.xml file. It would look something along the lines of: | | | |

[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?

2007-04-18 Thread genman
It's supported in 4.2 http://jira.jboss.com/jira/browse/JBAS-4037 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038641#4038641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038641