aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss 3.2.3 + Lomboz 3.0.0 + Eclipse 3.0 +postgreSQL  - > CMP Bean deplyment problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 3.2.3 + Lomboz 3.0.0 + Eclipse 3.0 +postgreSQL  - > CMP Bean deplyment problem" Watch "JBoss 3.2.3 + Lomboz 3.0.0 + Eclipse 3.0 +postgreSQL  - > CMP Bean deplyment problem" New topic
Author

JBoss 3.2.3 + Lomboz 3.0.0 + Eclipse 3.0 +postgreSQL - > CMP Bean deplyment problem

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1368
I deployed CMP Bean thru Lomboz 3.0.0. I used JBoss 3.2.3 and postgreSQL 7.3.1

I got the following error in my console. What is the problem ?

*************************************************************************
19:30:18,518 INFO [EjbModule] Stopping jboss.j2ee:module=mybeans.jar,service=EjbModule
19:30:18,558 INFO [StatelessSessionContainer] Stopping jboss.j2ee:jndiName=TestSession,service=EJB
19:30:18,848 INFO [StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=TestSession,plugin=pool,service=EJB
19:30:18,999 INFO [EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=EJBModule,name=mybeans.jar
19:30:19,009 WARN [DeploymentInfo] Could not delete file:/D:/JBoss/jboss-3.2.3/server/default/tmp/deploy/tmp48076mybeans.jar restart will delete it
19:30:19,009 INFO [MainDeployer] Starting deployment of package: file:/D:/JBoss/jboss-3.2.3/server/default/deploy/mybeans.jar
19:30:20,180 ERROR [XmlFileLoader] Premature end of file.:-1:-1
org.xml.sax.SAXParseException: Premature end of file.
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.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:458)
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)
19:30:20,200 ERROR [MainDeployer] could not create deployment: file:/D:/JBoss/jboss-3.2.3/server/default/deploy/mybeans.jar
org.jboss.deployment.DeploymentException: Premature end of file.; - nested throwable: (org.xml.sax.SAXParseException: Premature end of file.)
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.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:458)
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: Premature end of file.
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

***********************************************************
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 556
Sorry I cant help you as I am trapped on Chapter3 of this tutorial but I was wondering are u using ejbGenerate or xdoclet, if you are using xdoclet could you print out the DAO snippit.

Thanks Tony
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss 3.2.3 + Lomboz 3.0.0 + Eclipse 3.0 +postgreSQL - > CMP Bean deplyment problem
 
Similar Threads
xpetstore deployment in JBoss 3.2.3
Deployment of FiboBean (JBoss-IDE) Connection timed out:
Develop and Deploy a Simple EJB in JBoss
ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.2.GA/server/default/deploy/
not getting jmx console