如下,我的一个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
==========================================================================================
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
解决方案 »
- SSH整合开发的时候,关于使用validate的xml校验的问题
- 现在java用什么技术较多?
- 一个struts中的验证的问题
- Spring实时统计与监控Spring-Dashboard及Spring集群Terracotta for Spring
- 不知道该怎么说的问题,和设计有关,和hibernate有关
- 在applet中怎么获得cookie?
- 求救:关于jboss问题!
- 请问怎样能在Java Application中的得到键盘的值
- 怎样能提取出Clob字段中的内容(十万火级!!!)
- Intellij IDEA 创建form窗口时报错
- 在写servlet时连接数据库出现No operations allowed after connection closed
- <iframe>实现异步加载
我修改web工程的web.xml也没效果,请熟悉JBOSS的大神指点一点哈!