[jboss-user] [Beginners Corner] - Re: Error Creating EntityManagerFactory

blima17 do-not-reply at jboss.com
Fri Mar 6 13:48:11 EST 2009


Thanks for the help.  I removed the following jars from my lib directory:
hibernate2.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-entitymanager.jar
hibernate-tools.jar

The previous errors I stated are gone, and I'm now getting this, which I can only assume is a .jar/classpath issue.

13:27:41,799 ERROR [ProfileServiceBootstrap] Failed to load profile:
org.jboss.deployers.spi.DeploymentException: Unable to find class path entry ClassPathEntryImpl{path=myapp/WEB-INF/flex/jars/
xercesPatch.jar} from mxmlc.jar
        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
        at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:184)
        at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:82)
        at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.ja
va:89)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1000)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:303)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
        at org.jboss.Main.boot(Main.java:209)
        at org.jboss.Main$1.run(Main.java:547)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Child not found myapp/WEB-INF/flex/jars/xercesPatch.jar for DelegatingHandler at 5746246[path=ba
nstudent/WEB-INF/flex/jars/mxmlc.jar context=file:/C:/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/de
fault/deploy/myapp/WEB-INF/flex/jars/mxmlc.jar], available children: [ZipEntryHandler at 7514401[path=myapp/WEB-INF/flex/ja
rs/mxmlc.jar/META-INF context=file:/C:/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/deploy/myapp/WEB-INF/flex/jars/mxmlc.jar/META-INF], ZipEntryHandler at 29217402[path=myapp/WEB-INF/flex/jars/mxmlc.jar/flash context
=file:/C:/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/deploy/myapp/WEB-INF/flex/jars/mx
mlc.jar/flash], ZipEntryHandler at 21332198[path=myapp/WEB-INF/flex/jars/mxmlc.jar/flex2 context=file:/C:/jboss-5.0.1.GA/server/
default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/deploy/myapp/WEB-INF/flex/jars/mxmlc.jar/flex2]]
        at org.jboss.virtual.VirtualFile.findChild(VirtualFile.java:461)
        at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:180)
        ... 12 more
13:27:41,799 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 19s:
828ms


The xercesPatch.jar file is present in myapp/WEB-INF/flex/jars/ where mxmlc.jar is also.  Is this because JBoss ships w/ a copy of xercesImpl.jar?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215827#4215827

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215827



More information about the jboss-user mailing list