7 Replies Latest reply on Sep 17, 2007 3:02 AM by xps2nini

    Jar is not deployed onJBOSS

    xps2nini

      I am using suse10 +jboss3.2.5 +ant 1.6.5 +jdk1.5.
      I am not able to deploymy jar file on JBOSS.my jar file is getting
      created but server is not notified.That means i did nt get any
      deployment information on JBOSS server.While my war file is
      getting proprly deployed.The same code is working on another
      nmachine with same configuration and Enviorment setting.Please
      help me.Thanx in advance.

        • 1. Re: Jar is not deployed onJBOSS
          jaikiran

          Is it an ejb jar or is it just another jar containing some java/utility classes?

          • 2. Re: Jar is not deployed onJBOSS
            xps2nini

            It is ejb jar created by ant .

            • 3. Re: Jar is not deployed onJBOSS

              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

                 

                "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

                  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

                     

                    "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

                      Thankx JAIKIRAN.I got it.Thanx a lot