如下,我的一个EJB3.0以及配套的web工程想成JBOSS4.2升级到JBOSS5.1,结果启动就报错,请大神协助分析一下哦
==========================================================================================
23:11:59,363 INFO  [ServerImpl] Server Log Dir: F:\XXXXYYY\jboss-5.1.0.GA\server\default\log
23:11:59,364 INFO  [ServerImpl] Server Native Dir: F:\XXXXYYY\jboss-5.1.0.GA\server\default\tmp\native
23:11:59,365 INFO  [ServerImpl] Server Temp Dir: F:\XXXXYYY\jboss-5.1.0.GA\server\default\tmp
23:11:59,365 INFO  [ServerImpl] Server Temp Deploy Dir: F:\XXXXYYY\jboss-5.1.0.GA\server\default\tmp\deploy
23:12:00,045 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/F:/XXXXYYY/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
Exception in thread "main" java.lang.StackOverflowError
        at java.util.HashMap.getEntry(HashMap.java:344)
        at java.util.LinkedHashMap.get(LinkedHashMap.java:280)
        at java.io.ExpiringCache.entryFor(ExpiringCache.java:83)
        at java.io.ExpiringCache.get(ExpiringCache.java:58)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:377)
        at java.io.File.getCanonicalPath(File.java:559)
        at sun.security.provider.PolicyFile.canonPath(PolicyFile.java:1834)
        at java.io.FilePermission$1.run(FilePermission.java:186)
        at java.io.FilePermission$1.run(FilePermission.java:183)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.io.FilePermission.init(FilePermission.java:183)
        at java.io.FilePermission.<init>(FilePermission.java:249)
        at org.jboss.net.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:165)
        at sun.net.www.protocol.jar.JarFileFactory.getPermission(JarFileFactory.java:135)
        at sun.net.www.protocol.jar.JarFileFactory.getCachedJarFile(JarFileFactory.java:105)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:62)
        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
        at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
        at java.net.URL.openStream(URL.java:1010)
        at org.jboss.util.xml.JBossEntityResolver.loadClasspathResource(JBossEntityResolver.java:522)
        at org.jboss.util.xml.JBossEntityResolver.resolvePublicID(JBossEntityResolver.java:318)
        at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:249)
        at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.getInputSource(DefaultSchemaResolver.java:304)
        at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolveAsLSInput(DefaultSchemaResolver.java:280)
        at org.jboss.xb.binding.Util$1.resolveResource(Util.java:468)
        at org.apache.xerces.util.DOMEntityResolverWrapper.resolveEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source)
        at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
        at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
        ............................................................................................................................................
        ............................................................................................................................................
        ............................................................................................................................................
        ............................................................................................................................................
        ............................................................................................................................................
        ............................................................................................................................................        at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
23:12:06,494 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
23:12:06,530 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM