-
1. Re: Where do you put .jar files?
monocongo Feb 8, 2005 10:59 AM (in response to jackk)Give some more detailed info and exception messages so we can better help you. For example do you have the ejb-jar.xml in your JAR ? What are the specific exceptions ("it blows up" is rather vague) ? etc.
--James -
2. Re: Where do you put .jar files?
jackk Feb 8, 2005 6:41 PM (in response to jackk)I guess what I am trying to do is write a simple session ejb where the implementation (bean part) calls a framework that I made (jar file). I just want to know where to put this jar file. Does that make sense?
-
3. Re: Where do you put .jar files?
darranl Feb 8, 2005 6:50 PM (in response to jackk)Assuming your jar file contains: -
The bean implementation.
The remote interface (And / Or possible local interface).
The home interface (And / Or possible the local home interface)
And the ejb-jar.xml in the META-INF folder.
If you started JBoss with the run script with no arguments.
Put the jar in '{jboss.home}/server/default/deploy' -
4. Re: Where do you put .jar files?
jackk Feb 8, 2005 10:32 PM (in response to jackk)Thank you, darranl. That's very helpful.
However, what I am asking is that say you have THAT jar file in the correct directory and say you have another .jar file that you've previously created that you want to call from the bean implementation where do you put it? In the lib directory of jboss? Where? -
5. Re: Where do you put .jar files?
kamal_tavant Feb 9, 2005 4:10 AM (in response to jackk)You can try putting in the deploy directory or in lib directory of the choose configuration i.e., default\lib for default configuration.