-
1. Re: Jar is not deployed onJBOSS
jaikiran Sep 15, 2007 5:43 AM (in response to xps2nini)Is it an ejb jar or is it just another jar containing some java/utility classes?
-
2. Re: Jar is not deployed onJBOSS
xps2nini Sep 17, 2007 12:28 AM (in response to xps2nini)It is ejb jar created by ant .
-
3. Re: Jar is not deployed onJBOSS
vashistvishal Sep 17, 2007 12:54 AM (in response to xps2nini)Put yr stack trace from app server and ant to see whats going on without its hard to help
-
4. Re: Jar is not deployed onJBOSS
jaikiran Sep 17, 2007 1:25 AM (in response to xps2nini)"xps2nini" wrote:
It is ejb jar created by ant .
Can you post the output of the following command:
- From the command prompt, go to %JBOSS_HOME%/server//deploy
- Run the following command:jar -tf myejbjarfile.jar
Replace myejbjarfile with the name of your ejb jar file. This will show us the contents of your jar file. To be identified as a ejb jar, the jar file should contain a META-INF folder with ejb-jar.xml inside it. Does your jar have that? -
5. Re: Jar is not deployed onJBOSS
xps2nini Sep 17, 2007 1:52 AM (in response to xps2nini)when i run this command jar -tf EILMT.jar.I got following output
nidhi:/root/jboss-3.2.5/server/default/deploy # jar -tf EILMT.jar
META-INF/
META-INF/MANIFEST.MF
alt/
alt/ALTBean.class
alt/ALTHomeLocal.class
alt/ALTHomeRemote.class
alt/ALTLocal.class
alt/ALTRemote.class
alt/ALT_Debug.class
alt/Debug.class
pp/
pp/DFA_EngHin.class
pp/DFA_Patterns.class
pp/PreProcessingBean.class
pp/PreProcessingHomeLocal.class
pp/PreProcessingHomeRemote.class
pp/PreProcessingLocal.class
pp/PreProcessingRemote.class
seq/
seq/InputCat.class
seq/LexicalInfo.class
seq/RuleDatabase$Rule.class
seq/RuleDatabase.class
seq/SeqBean.class
seq/SeqDebugImpl.class
seq/SeqHomeLocal.class
seq/SeqHomeRemote.class
seq/SeqLocal.class
seq/SeqRemote.class
seq/SequenceElement.class
seq/SynonymFeature.class
seq/Token.class
tr/
tr/SentenceStatus.class
tr/SentenceStatusImpl.class
tr/TextStatus.class
tr/TextStatusImpl.class
tr/TrBean.class
tr/TrHomeRemote.class
tr/TrRemote.class
meta-inf/
meta-inf/ejb-jar.xml
meta-inf/jboss.xml -
6. Re: Jar is not deployed onJBOSS
jaikiran Sep 17, 2007 2:25 AM (in response to xps2nini)"xps2nini" wrote:
when i run this command jar -tf EILMT.jar.I got following output
meta-inf/
meta-inf/ejb-jar.xml
meta-inf/jboss.xml
The META-INF folder is case sensitive. Change your ant script which generates the jar file, to create the META-INF folder with upper case.
It should look like:META-INF/ META-INF/ejb-jar.xml META-INF/jboss.xml
-
7. Re: Jar is not deployed onJBOSS
xps2nini Sep 17, 2007 3:02 AM (in response to xps2nini)Thankx JAIKIRAN.I got it.Thanx a lot