6 Replies Latest reply on Feb 23, 2004 11:02 AM by raffaelecorvino

    JBoss  problem

    raffaelecorvino Newbie

      I'm using Jboss 3.2.3- tomcat 4.1.x, I have more problem when server run my deployment file. I' m using Ant to compile file.java and to make deployment file. I wrote a simple application helloworld, and I wrote also ejb-jar.xml and jboss.xml. When the server run the deployment descriptor, it give me the horrible error :

      23:11:26,698 INFO [MainDeployer] Starting deployment of package: file:/home/raffaele/jboss-3.2.3/server/default/deploy/HelloWorld.jar
      23:11:26,978 ERROR [XmlFileLoader] The processing instruction target matching "[xX][mM][lL]" is not allowed.:6:2
      org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:219)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:137)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      23:11:27,010 ERROR [MainDeployer] could not create deployment: file:/home/raffaele/jboss-3.2.3/server/default/deploy/HelloWorld.jar
      org.jboss.deployment.DeploymentException: The processing instruction target matching "[xX][mM][lL]" is not allowed.; - nested throwable: (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:307)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:219)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:137)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      ... 19 more
      23:11:56,481 INFO [STDOUT] Wed Feb 18 23:11:56 CET 2004 - SnmpPortal.Receiver.run: AsnEncodingException: Invalid SNMP ASN.1 type
      23:11:56,481 INFO [STDOUT] 0x
      23:11:56,482 INFO [STDOUT] 9
      23:11:56,482 INFO [STDOUT] 6
      23:11:56,482 INFO [STDOUT]
      23:11:56,482 INFO [STDOUT] 0x
      23:11:56,482 INFO [STDOUT] 5
      23:11:56,482 INFO [STDOUT] f
      23:11:56,482 INFO [STDOUT]
      23:11:56,482 INFO [STDOUT] 0x
      23:11:56,482 INFO [STDOUT] 8
      23:11:56,483 INFO [STDOUT] 1
      23:11:56,483 INFO [STDOUT]
      23:11:56,483 INFO [STDOUT] 0x
      23:11:56,483 INFO [STDOUT] 8
      23:11:56,483 INFO [STDOUT] 2
      23:11:56,483 INFO [STDOUT]
      23:11:56,483 INFO [STDOUT] 0x
      23:11:56,483 INFO [STDOUT] 0
      23:11:56,484 INFO [STDOUT] 0
      23:11:56,484 INFO [STDOUT]
      23:11:56,484 INFO [STDOUT] 0x
      23:11:56,484 INFO [STDOUT] 0
      23:11:56,484 INFO [STDOUT] 1
      23:11:56,484 INFO [STDOUT]
      23:11:56,484 INFO [STDOUT] 0x
      23:11:56,484 INFO [STDOUT] 0
      23:11:56,485 INFO [STDOUT] 0
      23:11:56,485 INFO [STDOUT]
      23:11:56,485 INFO [STDOUT] 0x
      23:11:56,485 INFO [STDOUT] 0
      23:11:56,485 INFO [STDOUT] 0
      23:11:56,485 INFO [STDOUT]
      23:11:56,485 INFO [STDOUT] 0x
      23:11:56,485 INFO [STDOUT] 0
      23:11:56,485 INFO [STDOUT] 0
      23:11:56,486 INFO [STDOUT]
      23:11:56,486 INFO [STDOUT] 0x
      23:11:56,486 INFO [STDOUT] 0
      23:11:56,486 INFO [STDOUT] 0
      23:11:56,486 INFO [STDOUT]
      23:11:56,486 INFO [STDOUT] 0x
      23:11:56,486 INFO [STDOUT] 0
      23:11:56,486 INFO [STDOUT] 0
      23:11:56,486 INFO [STDOUT]
      23:11:56,487 INFO [STDOUT] 0x
      23:11:56,487 INFO [STDOUT] 0
      23:11:56,487 INFO [STDOUT] 0
      23:11:56,487 INFO [STDOUT]
      23:11:56,487 INFO [STDOUT] 0x
      23:11:56,487 INFO [STDOUT] 0
      23:11:56,487 INFO [STDOUT] 1
      23:11:56,488 INFO [STDOUT]
      23:11:56,488 INFO [STDOUT] 0x
      23:11:56,488 INFO [STDOUT] 3
      23:11:56,488 INFO [STDOUT] 0
      23:11:56,488 INFO [STDOUT]
      23:11:56,488 INFO [STDOUT] 0x
      23:11:56,488 INFO [STDOUT] 0
      23:11:56,488 INFO [STDOUT] 1
      23:11:56,489 INFO [STDOUT]
      23:11:56,489 INFO [STDOUT] 0x
      23:11:56,489 INFO [STDOUT] 3
      23:11:56,489 INFO [STDOUT] 0
      23:11:56,489 INFO [STDOUT]
      23:11:56,489 INFO [STDOUT] 0x
      23:11:56,489 INFO [STDOUT] 0
      23:11:56,489 INFO [STDOUT] 1
      23:11:56,489 INFO [STDOUT]
      23:11:56,490 INFO [STDOUT] 0x
      23:11:56,490 INFO [STDOUT] 3
      23:11:56,490 INFO [STDOUT] 0
      23:11:56,490 INFO [STDOUT]
      23:11:56,490 INFO [STDOUT] 0x
      23:11:56,490 INFO [STDOUT] 0
      23:11:56,490 INFO [STDOUT] 1
      23:11:56,490 INFO [STDOUT]
      23:11:56,490 INFO [STDOUT] 0x
      23:11:56,491 INFO [STDOUT] 3
      23:11:56,491 INFO [STDOUT] 0
      23:11:56,491 INFO [STDOUT]
      23:11:56,491 INFO [STDOUT] 0x
      23:11:56,491 INFO [STDOUT] 0
      23:11:56,491 INFO [STDOUT] 7
      23:11:56,491 INFO [STDOUT]
      23:11:56,491 INFO [STDOUT] 0x
      23:11:56,492 INFO [STDOUT] 6
      23:11:56,492 INFO [STDOUT] 9
      23:11:56,492 INFO [STDOUT]
      23:11:56,492 INFO [STDOUT] 0x
      23:11:56,492 INFO [STDOUT] 6
      23:11:56,492 INFO [STDOUT] e
      23:11:56,492 INFO [STDOUT]
      23:11:56,492 INFO [STDOUT] 0x
      23:11:56,493 INFO [STDOUT] 2
      23:11:56,493 INFO [STDOUT] d
      23:11:56,493 INFO [STDOUT]
      23:11:56,493 INFO [STDOUT] 0x
      23:11:56,493 INFO [STDOUT] 6
      23:11:56,493 INFO [STDOUT] 1
      23:11:56,493 INFO [STDOUT]
      23:11:56,493 INFO [STDOUT] 0x
      23:11:56,493 INFO [STDOUT] 6
      23:11:56,494 INFO [STDOUT] 4
      23:11:56,494 INFO [STDOUT]
      23:11:56,494 INFO [STDOUT] 0x
      23:11:56,494 INFO [STDOUT] 6
      23:11:56,494 INFO [STDOUT] 4
      23:11:56,494 INFO [STDOUT]
      23:11:56,494 INFO [STDOUT] 0x
      23:11:56,494 INFO [STDOUT] 7
      23:11:56,495 INFO [STDOUT] 2
      23:11:56,495 INFO [STDOUT]
      23:11:56,495 INFO [STDOUT] 0x
      23:11:56,495 INFO [STDOUT] 0
      23:11:56,495 INFO [STDOUT] 4
      23:11:56,495 INFO [STDOUT]
      23:11:56,495 INFO [STDOUT] 0x
      23:11:56,495 INFO [STDOUT] 6
      23:11:56,496 INFO [STDOUT] 1
      23:11:56,496 INFO [STDOUT]
      23:11:56,496 INFO [STDOUT] 0x
      23:11:56,496 INFO [STDOUT] 7
      23:11:56,496 INFO [STDOUT] 2
      23:11:56,496 INFO [STDOUT]
      23:11:56,496 INFO [STDOUT] 0x
      23:11:56,496 INFO [STDOUT] 7
      23:11:56,496 INFO [STDOUT] 0
      23:11:56,534 INFO [STDOUT]
      23:11:56,534 INFO [STDOUT] 0x
      23:11:56,534 INFO [STDOUT] 6
      23:11:56,534 INFO [STDOUT] 1
      23:11:56,534 INFO [STDOUT]
      23:11:56,534 INFO [STDOUT] 0x
      23:11:56,534 INFO [STDOUT] 0
      23:11:56,534 INFO [STDOUT] 0
      23:11:56,535 INFO [STDOUT]
      23:11:56,535 INFO [STDOUT] 0x
      23:11:56,535 INFO [STDOUT] 0
      23:11:56,535 INFO [STDOUT] 0
      23:11:56,535 INFO [STDOUT]
      23:11:56,535 INFO [STDOUT] 0x
      23:11:56,535 INFO [STDOUT] 0
      23:11:56,535 INFO [STDOUT] c
      23:11:56,535 INFO [STDOUT]
      23:11:56,536 INFO [STDOUT] 0x
      23:11:56,536 INFO [STDOUT] 0
      23:11:56,536 INFO [STDOUT] 0
      23:11:56,536 INFO [STDOUT]
      23:11:56,536 INFO [STDOUT] 0x
      23:11:56,536 INFO [STDOUT] 0
      23:11:56,536 INFO [STDOUT] 1
      23:11:56,536 INFO [STDOUT]
      23:11:56,539 INFO [STDOUT] Wed Feb 18 23:11:56 CET 2004 - SnmpPortal.Receiver.run: AsnEncodingException: Invalid SNMP ASN.1 type
      23:11:56,539 INFO [STDOUT] 0x
      23:11:56,539 INFO [STDOUT] 9
      23:11:56,539 INFO [STDOUT] 6
      23:11:56,539 INFO [STDOUT]
      23:11:56,539 INFO [STDOUT] 0x
      23:11:56,539 INFO [STDOUT] 5
      23:11:56,540 INFO [STDOUT] f
      23:11:56,540 INFO [STDOUT]
      23:11:56,540 INFO [STDOUT] 0x
      23:11:56,540 INFO [STDOUT] 8
      23:11:56,540 INFO [STDOUT] 1
      23:11:56,540 INFO [STDOUT]
      23:11:56,540 INFO [STDOUT] 0x
      23:11:56,540 INFO [STDOUT] 8
      23:11:56,540 INFO [STDOUT] 2
      23:11:56,540 INFO [STDOUT]
      23:11:56,541 INFO [STDOUT] 0x
      23:11:56,541 INFO [STDOUT] 0
      23:11:56,541 INFO [STDOUT] 0
      23:11:56,541 INFO [STDOUT]
      23:11:56,541 INFO [STDOUT] 0x
      23:11:56,541 INFO [STDOUT] 0
      23:11:56,541 INFO [STDOUT] 1
      23:11:56,541 INFO [STDOUT]
      23:11:56,541 INFO [STDOUT] 0x
      23:11:56,542 INFO [STDOUT] 0
      23:11:56,542 INFO [STDOUT] 0
      23:11:56,542 INFO [STDOUT]
      23:11:56,542 INFO [STDOUT] 0x
      23:11:56,542 INFO [STDOUT] 0
      23:11:56,542 INFO [STDOUT] 0
      23:11:56,542 INFO [STDOUT]
      23:11:56,542 INFO [STDOUT] 0x
      23:11:56,542 INFO [STDOUT] 0
      23:11:56,543 INFO [STDOUT] 0
      23:11:56,543 INFO [STDOUT]
      23:11:56,543 INFO [STDOUT] 0x
      23:11:56,543 INFO [STDOUT] 0
      23:11:56,543 INFO [STDOUT] 0
      23:11:56,543 INFO [STDOUT]
      23:11:56,543 INFO [STDOUT] 0x
      23:11:56,543 INFO [STDOUT] 0
      23:11:56,544 INFO [STDOUT] 0
      23:11:56,544 INFO [STDOUT]
      23:11:56,544 INFO [STDOUT] 0x
      23:11:56,544 INFO [STDOUT] 0
      23:11:56,544 INFO [STDOUT] 0
      23:11:56,544 INFO [STDOUT]
      23:11:56,544 INFO [STDOUT] 0x
      23:11:56,544 INFO [STDOUT] 0
      23:11:56,544 INFO [STDOUT] 1
      23:11:56,544 INFO [STDOUT]
      23:11:56,545 INFO [STDOUT] 0x
      23:11:56,545 INFO [STDOUT] 3
      23:11:56,545 INFO [STDOUT] 0
      23:11:56,545 INFO [STDOUT]
      23:11:56,545 INFO [STDOUT] 0x
      23:11:56,545 INFO [STDOUT] 0
      23:11:56,545 INFO [STDOUT] 1
      23:11:56,545 INFO [STDOUT]
      23:11:56,545 INFO [STDOUT] 0x
      23:11:56,546 INFO [STDOUT] 3
      23:11:56,546 INFO [STDOUT] 0
      23:11:56,546 INFO [STDOUT]
      23:11:56,546 INFO [STDOUT] 0x
      23:11:56,546 INFO [STDOUT] 0
      23:11:56,546 INFO [STDOUT] 1
      23:11:56,546 INFO [STDOUT]
      23:11:56,546 INFO [STDOUT] 0x
      23:11:56,547 INFO [STDOUT] 3
      23:11:56,547 INFO [STDOUT] 0
      23:11:56,547 INFO [STDOUT]
      23:11:56,547 INFO [STDOUT] 0x
      23:11:56,547 INFO [STDOUT] 0
      23:11:56,547 INFO [STDOUT] 1
      23:11:56,547 INFO [STDOUT]
      23:11:56,547 INFO [STDOUT] 0x
      23:11:56,547 INFO [STDOUT] 3
      23:11:56,547 INFO [STDOUT] 0
      23:11:56,548 INFO [STDOUT]
      23:11:56,548 INFO [STDOUT] 0x
      23:11:56,548 INFO [STDOUT] 0
      23:11:56,548 INFO [STDOUT] 7
      23:11:56,548 INFO [STDOUT]
      23:11:56,548 INFO [STDOUT] 0x
      23:11:56,548 INFO [STDOUT] 6
      23:11:56,548 INFO [STDOUT] 9
      23:11:56,548 INFO [STDOUT]
      23:11:56,549 INFO [STDOUT] 0x
      23:11:56,549 INFO [STDOUT] 6
      23:11:56,549 INFO [STDOUT] e
      23:11:56,549 INFO [STDOUT]
      23:11:56,549 INFO [STDOUT] 0x
      23:11:56,549 INFO [STDOUT] 2
      23:11:56,549 INFO [STDOUT] d
      23:11:56,549 INFO [STDOUT]
      23:11:56,549 INFO [STDOUT] 0x
      23:11:56,550 INFO [STDOUT] 6
      23:11:56,550 INFO [STDOUT] 1
      23:11:56,550 INFO [STDOUT]
      23:11:56,550 INFO [STDOUT] 0x
      23:11:56,550 INFO [STDOUT] 6
      23:11:56,556 INFO [STDOUT] 4
      23:11:56,557 INFO [STDOUT]
      23:11:56,557 INFO [STDOUT] 0x
      23:11:56,557 INFO [STDOUT] 6
      23:11:56,557 INFO [STDOUT] 4
      23:11:56,558 INFO [STDOUT]
      23:11:56,558 INFO [STDOUT] 0x
      23:11:56,558 INFO [STDOUT] 7
      23:11:56,558 INFO [STDOUT] 2
      23:11:56,559 INFO [STDOUT]
      23:11:56,559 INFO [STDOUT] 0x
      23:11:56,559 INFO [STDOUT] 0
      23:11:56,559 INFO [STDOUT] 4
      23:11:56,559 INFO [STDOUT]
      23:11:56,560 INFO [STDOUT] 0x
      23:11:56,560 INFO [STDOUT] 6
      23:11:56,560 INFO [STDOUT] 1
      23:11:56,560 INFO [STDOUT]
      23:11:56,560 INFO [STDOUT] 0x
      23:11:56,561 INFO [STDOUT] 7
      23:11:56,561 INFO [STDOUT] 2
      23:11:56,561 INFO [STDOUT]
      23:11:56,561 INFO [STDOUT] 0x
      23:11:56,562 INFO [STDOUT] 7
      23:11:56,562 INFO [STDOUT] 0
      23:11:56,562 INFO [STDOUT]
      23:11:56,562 INFO [STDOUT] 0x
      23:11:56,563 INFO [STDOUT] 6
      23:11:56,563 INFO [STDOUT] 1
      23:11:56,563 INFO [STDOUT]
      23:11:56,563 INFO [STDOUT] 0x
      23:11:56,563 INFO [STDOUT] 0
      23:11:56,564 INFO [STDOUT] 0
      23:11:56,564 INFO [STDOUT]
      23:11:56,564 INFO [STDOUT] 0x
      23:11:56,564 INFO [STDOUT] 0
      23:11:56,564 INFO [STDOUT] 0
      23:11:56,565 INFO [STDOUT]
      23:11:56,565 INFO [STDOUT] 0x
      23:11:56,565 INFO [STDOUT] 0
      23:11:56,565 INFO [STDOUT] c
      23:11:56,566 INFO [STDOUT]
      23:11:56,566 INFO [STDOUT] 0x
      23:11:56,566 INFO [STDOUT] 0
      23:11:56,566 INFO [STDOUT] 0
      23:11:56,567 INFO [STDOUT]
      23:11:56,567 INFO [STDOUT] 0x
      23:11:56,567 INFO [STDOUT] 0
      23:11:56,567 INFO [STDOUT] 1
      23:11:56,567 INFO [STDOUT]


      Can anyone help me??
      Thanks all very much in advance.

        • 1. Re: JBoss  problem
          micke Novice

          I guess the XML files hold more relevant info than the stack trace.

          • 2. Re: JBoss  problem
            raffaelecorvino Newbie

            Can I resolve it? I don't know this problem.
            Thanks for your interest.

            • 3. Re: JBoss  problem
              raffaelecorvino Newbie

              I have now a new problem:
              2:17:19,447 INFO [MainDeployer] Starting deployment of package: file:/home/raffaele/jboss-3.2.3/server/default/deploy/HelloWorld.jar
              12:17:19,701 ERROR [MainDeployer] could not create deployment: file:/home/raffaele/jboss-3.2.3/server/default/deploy/HelloWorld.jar
              org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean HelloWorld: expected one persistence-type tag
              at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:252)
              at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
              at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
              at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
              at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
              at $Proxy6.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
              12:17:56,722 INFO [STDOUT] Fri Feb 20 12:17:56 CET 2004 - SnmpPortal.Receiver.run: AsnEncodingException: Invalid ASN.1 length

              Thanks in advance.

              • 4. Re: JBoss  problem
                Juha Lindfors Master

                Posting the same question 3 times is an efficient way of getting your forum account deleted pretty quickly.

                As for your question, your ejb-jar.xml document instance does not conform to the document type definition, and the error is pretty clear on the reason: Error in ejb-jar.xml for Entity Bean HelloWorld: expected one persistence-type tag


                • 5. Re: JBoss  problem
                  raffaelecorvino Newbie

                  Execuse me!!!
                  Thanks

                  • 6. Re: JBoss  problem
                    raffaelecorvino Newbie

                    Please Can Anyone give me a tutorial about Jboss, and deployment file?Please help me?
                    Thanks in advance!!!