启动JBoss报错

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/ggibenben1314/article/details/41964969

            最近看EJB视频部署Jboss,但是启动时报错了。下面看看是怎么解决的。

1.错误一

        运行jboss下的bin里面的run.bat,错误如下:


错误原因:bin下面没有server文件夹

解决办法:将jre(D:\jdk1.6\jre\bin)下的server文件夹拷贝到jdk的bin文件下即可。


再运行run.bat,没有错误了

但是在myeclipse中启动时不能成功,遇到下面的问题。


2.错误二:java.lang.ClassNotFoundException: [Ljava.lang.String

错误原因:没有重载java.lang.String这个类

解决方法:在vm缺省参数里添加-Dsun.lang.ClassLoader.allowArraySyntax=true

如图:window-〉Preferences->java->Installed JREs

     

             遇到问题解决问题,这两个问题的解决希望对大家有帮助。


 

展开阅读全文

jboss启动时候报错

05-05

下载的是jboss-4.0.4RC1,启动的时候报如下错误:rn===============================================================================rn.rn JBoss Bootstrap Environmentrn.rn JBOSS_HOME: D:\jboss\bin\\..rn.rn JAVA: C:\Program Files\Java\j2sdk1.5.0\bin\javarn.rn JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512mrn.rn CLASSPATH: C:\Program Files\Java\j2sdk1.5.0\lib\tools.jar;D:\jboss\bin\\run.jarnrrn.rn===============================================================================rn.rn13:06:10,562 INFO [Server] Starting JBoss (MX MicroKernel)...rn13:06:10,562 INFO [Server] Release ID: JBoss [Zion] 4.0.4RC1 (build: CVSTag=JBornss_4_0_4_RC1 date=200602071519)rn13:06:10,578 INFO [Server] Home Dir: D:\jbossrn13:06:10,578 INFO [Server] Home URL: file:/D:/jboss/rn13:06:10,578 INFO [Server] Patch URL: nullrn13:06:10,578 INFO [Server] Server Name: defaultrn13:06:10,578 INFO [Server] Server Home Dir: D:\jboss\server\defaultrn13:06:10,578 INFO [Server] Server Home URL: file:/D:/jboss/server/default/rn13:06:10,578 INFO [Server] Server Temp Dir: D:\jboss\server\default\tmprn13:06:10,578 INFO [Server] Root Deployment Filename: jboss-service.xmlrn13:06:10,765 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExceptrnion: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegatrne', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelerngate@1fc2fb)]rnFailed to boot JBoss:rnjava.lang.RuntimeException: Cannot create MBeanServerrn at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:239)rn at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerrnBuilderImpl.java:71)rn at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactoryrn.java:316)rn at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactrnory.java:219)rn at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:415)rn at org.jboss.system.server.ServerImpl.start(ServerImpl.java:357)rn at org.jboss.Main.boot(Main.java:200)rn at org.jboss.Main$1.run(Main.java:464)rn at java.lang.Thread.run(Thread.java:566)rnCaused by: javax.management.MBeanRegistrationException: preRegister() failed: [OrnbjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBrneanServerDelegate (javax.management.MBeanServerDelegate@1fc2fb)]rn at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasrnicMBeanRegistry.java:709)rn at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBrneanRegistry.java:211)rn at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215)rn ... 8 morernCaused by: javax.management.RuntimeOperationsException: Exception occured tryingrn find the descriptors of the MBeanrn at javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptors(ModernlMBeanInfoSupport.java:445)rn at org.jboss.mx.modelmbean.ModelMBeanInvoker.initPersistence(ModelMBeanIrnnvoker.java:538)rn at org.jboss.mx.modelmbean.ModelMBeanInvoker.init(ModelMBeanInvoker.javarn:520)rn at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBearnnInvoker.java:486)rn at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvrnoker.java:650)rn at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasrnicMBeanRegistry.java:693)rn ... 10 morernCaused by: java.lang.IllegalArgumentException: Descriptor Type is invalidrn ... 16 morern请按任意键继续. . .rnrnrnrn请各位帮忙 论坛

在eclipse中启动JBoss报错

05-08

以前一直使用正常,不知道怎么就突然报错了。以下为出错信息,省略部分信息(太长了):rnrn10:03:36,203 ERROR [HypersonicDatabase] Starting failed jboss:database=localDB,service=Hypersonicrnjava.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn at org.hsqldb.jdbc.Util.sqlException(Unknown Source)rn at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)rn at org.hsqldb.jdbcDriver.getConnection(Unknown Source)rn at org.hsqldb.jdbcDriver.connect(Unknown Source)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:171)rn at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)rn at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabasern ……rn10:03:36,234 WARN [ServiceController] Problem starting service jboss:database=localDB,service=Hypersonicrnjava.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn at org.hsqldb.jdbc.Util.sqlException(Unknown Source)rn at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)rn at org.hsqldb.jdbcDriver.getConnection(Unknown Source)rn at org.hsqldb.jdbcDriver.connect(Unknown Source)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:171)rn at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)rn at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:617)rn ……rn10:03:37,171 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'rn10:03:37,687 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=OracleDS,service=DataSourceBinding to JNDI name 'java:OracleDS'rn10:03:37,843 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D:/jboss4/server/default/deploy/jmx-console.war/rn10:03:38,406 ERROR [URLDeploymentScanner] Incomplete Deployment listing:rnrn--- MBeans waiting for other MBeans ---rnObjectName: jboss:database=localDB,service=Hypersonicrn State: FAILEDrn Reason: java.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn Depends On Me:rn jboss.jca:name=DefaultDS,service=ManagedConnectionFactoryrnrn--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---rnObjectName: jboss:database=localDB,service=Hypersonicrn State: FAILEDrn Reason: java.sql.SQLException: File input/output error: D:\jboss4\server\default\data\hypersonic\localDB.logrn Depends On Me:rn jboss.jca:name=DefaultDS,service=ManagedConnectionFactoryrnrn……rnrn请高手帮忙找找原因。谢谢! 论坛

Eclipse3.4中启动不了jboss,报错

06-21

java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/F:/bjsxt/Jbossserver/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)rn at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:173)rn at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432)rn at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:297)rn at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)rn at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)rn at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)rn at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)rn at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)rn at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:106)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)rn at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)rn at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)rn at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)rn at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)rn at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)rn at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)rn at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)rn at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)rn at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)rn at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)rn at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)rn at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)rn at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)rn at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)rn at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)rn at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)rn at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)rn at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)rn at org.jboss.Main.boot(Main.java:221)rn at org.jboss.Main$1.run(Main.java:556)rn at java.lang.Thread.run(Thread.java:619)rn21:47:28,068 INFO [NativeServerConfig] JBoss Web Services - Stack Native Corern21:47:28,068 INFO [NativeServerConfig] 3.1.2.GArn21:47:28,709 INFO [AttributeCallbackItem] Owner callback not implemented.rn21:47:30,787 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@bb0406[ defaultDomain='jboss' ]rn21:47:31,427 ERROR [AbstractKernelController] Error installing to Create: name=XACMLParsingDeployer state=Configuredrn 论坛

jboss启动问题,内存表报错

04-23

2008-04-23 16:10:00,737 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )rnjava.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]rn at org.hsqldb.jdbc.Util.throwError(Unknown Source)rn at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)rn at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedStatement.java:95)rn at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251)rn at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:273)rn at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1789)rn at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)rn at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)rn at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)rn at $Proxy0.start(Unknown Source)rn at org.jboss.system.ServiceController.start(ServiceController.java:417)rn at org.jboss.system.ServiceController.start(ServiceController.java:435)rn at org.jboss.system.ServiceController.start(ServiceController.java:435)rn at org.jboss.system.ServiceController.start(ServiceController.java:435)rn at org.jboss.system.ServiceController.start(ServiceController.java:435)rn at org.jboss.system.ServiceController.start(ServiceController.java:435)rn at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)rn at $Proxy4.start(Unknown Source)rn at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)rn at $Proxy42.start(Unknown Source)rn at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)rn at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)rn at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)rn at $Proxy9.deploy(Unknown Source)rn at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)rn at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)rn at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)rn at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)rn at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)rn at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)rn at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)rn at $Proxy0.start(Unknown Source)rn at org.jboss.system.ServiceController.start(ServiceController.java:417)rn at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)rn at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)rn at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)rn at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)rn rn 内存数据库.看一下内存数据库里面有没有重复的脚本rn 请问内存数据库的脚本在那里的?谢谢 论坛

eclipse中启动jboss 5.1.0 GA 报错

05-18

报错信息:12:42:52,921 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Describedrnjava.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)rn at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)rn at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:282)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:103)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)rn at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)rn at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)rn at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)rn at org.jboss.Main.boot(Main.java:221)rn at org.jboss.Main$1.run(Main.java:556)rn at java.lang.Thread.run(Thread.java:619)rnFailed to boot JBoss:rnjava.lang.IllegalStateException: Incompletely deployed:rnrnDEPLOYMENTS IN ERROR:rn Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]rnrnDEPLOYMENTS MISSING DEPENDENCIES:rn Deployment "ProfileService" is missing the following dependencies:rn Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")rn Dependency "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "**ERROR**")rn Deployment "ProfileServiceDeployer" is missing the following dependencies:rn Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")rn Deployment "ProfileServiceBootstrap" is missing the following dependencies:rn Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")rn Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")rn Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:rn Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")rnrn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)rn at org.jboss.Main.boot(Main.java:221)rn at org.jboss.Main$1.run(Main.java:556)rn at java.lang.Thread.run(Thread.java:619)rn12:42:53,593 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: truern12:42:53,593 INFO [ServerImpl] Shutdown completernShutdown completernHalting VMrnrn但是我在%JBOSS_HOME%/bin 启动 run.bat JBoss可以完全启动。。。rnrnrnrnrn请问是不是我的eclipse版本太低?eclipse版本 ECLIPSE-JEE-GALILEO-SR2 论坛

jboss升级报错

02-04

项目原来运行在jboss3.2.3上,之后系统升级,使用jdk1.6重新编译打包,部署在jboss4上(jboss4.0.5),系统使用oracle数据库,版本是9i,数据库驱动也由原来的ojdbc14换成了ojdbc6,现在出现的问题是,访问需要读取数据库数据的页面,第一次总会报错(但是不影响数据库的连接,可以连接并查询数据),不知该如何处理,请各位不吝赐教,具体的错误信息如下:rnrn[code=text]2013-02-04 15:29:18,546 ERROR [STDERR] 2013-2-4 15:29:18 oracle.jdbc.driver.OracleDriver registerMBeansrn: Error while registering Oracle JDBC Diagnosability MBean.rnjava.lang.Error: Loader repository is not an instance of LoaderRepository: org.jboss.mx.loading.UnifiedLoaderRepository3rn at org.jboss.mx.server.MBeanServerImpl.getClassLoaderRepository(MBeanServerImpl.java:1123)rn at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:199)rn at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)rn at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:310)rn at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)rn at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)rn at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)rn at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)rn at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:302)rn at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:199)rn at java.security.AccessController.doPrivileged(Native Method)rn at oracle.jdbc.driver.OracleDriver.(OracleDriver.java:195)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:247)rn at sun.misc.Service$LazyIterator.next(Service.java:271)rn at java.sql.DriverService.run(DriverManager.java:664)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.sql.DriverManager.loadInitialDrivers(DriverManager.java:506)rn at java.sql.DriverManager.initialize(DriverManager.java:612)rn at java.sql.DriverManager.getDriver(DriverManager.java:228)rn at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.isDriverLoadedForURL(LocalManagedConnectionFactory.java:300)rn at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:264)rn at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:170)rn at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)rn at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:250)rn at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:491)rn at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)rn at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)rn at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)rn at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)rn at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)rn at net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)rn at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)rn at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)rn at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)rn at com.bsteel.portal2.util.HibernateUtil.getSessionFactory(HibernateUtil.java:65)rn at com.bsteel.portal2.util.HibernateUtil.getSession(HibernateUtil.java:39)rn[/code]rnrn附HibernateUtil的代码如下:rn[code=java]rnpackage com.bsteel.portal2.util;rnrnimport net.sf.hibernate.Session;rnimport net.sf.hibernate.SessionFactory;rnimport net.sf.hibernate.cfg.Configuration;rnrnpublic class HibernateUtil rn // hibernate session factoryrn private static SessionFactory factory;rnrn /**rn * 获取一个hibernate sessionrn * rn * @throws DBExceptionrn * @return Sessionrn */rn public static Session getSession() throws Exception rn Session s = null;rn try rn getSessionFactory();rn s = factory.openSession();rn catch (Exception e) rn throw e;rn rn return s;rn rnrn /**rn * 获取一个hibernate session factoryrn * rn * @throws Exceptionrn * @return SessionFactoryrn */rn public static synchronized SessionFactory getSessionFactory() throws Exception rn if (factory != null) rn return factory;rn rn Configuration cfg = new Configuration();rn cfg.configure("/portal2/hibernate.cfg.portal2.xml");rn factory = cfg.buildSessionFactory();rn if (factory == null) rn throw new Exception("factory not found");rn rn return factory;rn rnrn[/code] 论坛

紧急求救jboss报错

03-02

jboss启动时完全正常,没有报任何错误,但第一开网页访问站点时,报出如下错误 rn2005-03-01 21:15:34,453 INFO [org.apache.struts.util.PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=truern2005-03-01 21:15:34,453 INFO [org.apache.struts.util.PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=truern2005-03-01 21:15:34,671 INFO [STDOUT] Method attributeAdded() not yet implemented.rn2005-03-01 21:15:34,671 INFO [STDOUT] Method attributeAdded() not yet implemented.rn2005-03-01 21:15:34,921 ERROR [org.apache.commons.digester.Digester] Parse Error at line 77 column -1: “key”的属性值为 #REQUIRED。rnorg.xml.sax.SAXParseException: “key”的属性值为 #REQUIRED。rn at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)rn at org.apache.crimson.parser.Parser2.defaultAttributes(Parser2.java:1742)rn at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1453)rn at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)rn at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)rn at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)rn at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)rn at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)rn at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)rn at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)rn at org.apache.commons.digester.Digester.parse(Digester.java:1543)rn at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006)rn at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)rn at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)rn at javax.servlet.GenericServlet.init(GenericServlet.java:256)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)rn at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:227)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)rn at java.lang.Thread.run(Thread.java:536)rn2005-03-01 21:15:35,062 INFO [STDOUT] Method attributeAdded() not yet implemented.rn2005-03-01 21:15:35,078 INFO [STDOUT] Method attributeAdded() not yet implemented.rn2005-03-01 21:15:35,078 INFO [STDOUT] Method attributeAdded() not yet implemented.rn2005-03-01 21:15:35,078 INFO [STDOUT] Method attributeAdded() not yet implemented.rn以后在开新的页面访问站点都不会再出项这个错误,而且在站点内进行的操作都很正常,没有受到影响。不知道这个错是从哪报出来的?请各位高手赐教rn 论坛

JBOSS配置问题,控制台报错

12-03

Calling D:\Java\jboss\bin\standalone.conf.batrn===============================================================================rnrn JBoss Bootstrap Environmentrnrn JBOSS_HOME: D:\Java\jbossrnrn JAVA: D:\Java\jdk1.8.0_11\bin\javarnrn JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256Mrn -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000rn -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.bytemanrn -serverrnrn===============================================================================rnrnJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; suprnport was removed in 8.0rn21:47:18,222 信息 [org.jboss.modules] JBoss Modules version 1.0.1.GArn21:47:20,675 INFO [org.jboss.msc] JBoss MSC version 1.0.0.GArn21:47:20,753 INFO [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" startingrn21:47:26,879 INFO [org.jboss.as] creating http management service using networkrn interface (management) port (9990) securePort (-1)rn21:47:26,910 INFO [org.jboss.as.logging] Removing bootstrap log handlersrn21:47:27,066 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Brnoot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)rn21:47:27,097 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Bornot Thread) Activating Infinispan subsystem.rn21:47:27,410 INFO [org.jboss.as.naming] (Controller Boot Thread) Activating Namrning Subsystemrn21:47:27,426 INFO [org.jboss.as.naming] (MSC service thread 1-5) Starting Naminrng Servicern21:47:27,441 INFO [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGirnSubsystemrn21:47:27,488 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Srnecurity Subsystemrn21:47:27,597 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remotingrnversion 3.2.0.Beta2rn21:47:27,660 INFO [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3rn21:47:27,691 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementatirnon Version 3.0.0.Beta3rn[color=#FF0000][b]21:47:28,363 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC servicernthread 1-7) The Apache Tomcat Native library which allows optimal performance inrn production environments was not found on the java.library.path: D:\Java\jdk1.8.rn0_11\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Java\jboss\birnn;;D:\Java\jboss\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\rnWindows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsrnPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toornlkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\s\MATLAB_A\R2012arn\runtime\win64;d:\s\MATLAB_A\R2012a\bin;D:\Java\jdk1.8.0_11\bin;.[/b][/color]rn21:47:28,379 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsrnystemrn21:47:28,660 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-rn6) Starting remote JMX connectorrn21:47:29,332 INFO [org.jboss.as.remoting] (MSC service thread 1-2) Listening onrn /127.0.0.1:9999rn21:47:29,285 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC0000rn1: Failed to start service jboss.serverManagement.controller.management.http: orrng.jboss.msc.service.StartException in service jboss.serverManagement.controller.rnmanagement.http: Failed to start serverManagement socketrn at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementSernrvice.java:89)rn at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceContrnrollerImpl.java:1765)rn at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServicernControllerImpl.java:2291)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.rnjava:1142) [:1.8.0_11]rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutorrn.java:617) [:1.8.0_11]rn at java.lang.Thread.run(Thread.java:745) [:1.8.0_11]rnCaused by: java.net.BindException: Address already in use: bindrn at sun.nio.ch.Net.bind0(Native Method) [:1.8.0_11]rn at sun.nio.ch.Net.bind(Net.java:414) [:1.8.0_11]rn at sun.nio.ch.Net.bind(Net.java:406) [:1.8.0_11]rn at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:rn214) [:1.8.0_11]rn at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [:1.rn8.0_11]rn at org.jboss.sun.net.httpserver.ServerImpl.(ServerImpl.java:112)rn at org.jboss.sun.net.httpserver.HttpServerImpl.(HttpServerImpl.javrna:47)rn at org.jboss.sun.net.httpserver.DefaultHttpServerProvider.createHttpServrner(DefaultHttpServerProvider.java:37)rn at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:12rn6)rn at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagemenrntHttpServer.java:99)rn at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementSernrvice.java:86)rn ... 5 morernrn21:47:29,441 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service threadrn 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080rn21:47:30,644 INFO [org.jboss.as.connector] (MSC service thread 1-7) Starting JCrnA Subsystem (JBoss IronJacamar 1.0.0.CR2)rn21:47:30,926 INFO [org.jboss.as.connector.subsystems.datasources] (MSC servicernthread 1-5) Bound data source [java:jboss/datasources/ExampleDS]rn21:47:31,473 INFO [org.jboss.as.deployment] (MSC service thread 1-7) Started FirnleSystemDeploymentService for directory D:\Java\jboss\standalone\deploymentsrn21:47:31,691 INFO [org.jboss.as.controller] (Controller Boot Thread) Service strnatus reportrn Services which failed to start:rn service jboss.serverManagement.controller.management.http: org.jboss.msc.srnervice.StartException in service jboss.serverManagement.controller.management.htrntp: Failed to start serverManagement socketrnrn21:47:31,691 ERROR [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.Finalrn"Lightning" started (with errors) in 14266ms - Started 90 of 147 services (2 serrnvices failed or missing dependencies, 55 services are passive or on-demand)rn 论坛

JBOSS报错

07-07

10:19:07,609 WARN [WrappedConnection] Closing a statement you left open, please do your own housekeepingrn10:19:07,669 ERROR [Engine] ApplicationDispatcher[/docroot] Servlet.service() for servlet jsp threw exceptionrnorg.apache.jasper.JasperExceptionrn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)rn at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)rn at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)rn at org.apache.jsp.JL_BKZC_DBLJ_QueryLjgkfbZc_jsp._jspService(JL_BKZC_DBLJ_QueryLjgkfbZc_jsp.java:138)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)rn at com.zzxy.model.BusinessAgent.forward(BusinessAgent.java:153)rn at com.zzxy.model.jl.bkzc.JL_BKZC_DBLJ_Agent.execute(JL_BKZC_DBLJ_Agent.java:108)rn at com.zzxy.model.BusinessAgent.service(BusinessAgent.java:119)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)rn at com.zzxy.control.Dispatcher.service(Dispatcher.java:100)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)rn at com.zzxy.control.HTTPController.service(HTTPController.java:108)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at com.zzxy.control.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:53)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)rn at java.lang.Thread.run(Thread.java:534)rn10:19:07,799 ERROR [Engine] ----- Root Cause -----rnrn这是什么意思啊??到底是那里的错误 论坛

jboss 启动报错???

05-12

I Depend On:rnDepends On Me: org.jboss.deployment.DeploymentException: Invalid XML: file=jar:rnile:/D:/JBOSS/server/default/tmp/deploy/tmp44934esite.jar!/META-INF/jbosscmp-jdrnc.xml, ObjectName: jboss.j2ee:jndiName=local/Order,service=EJBrnstate: FAILEDrnI Depend On:rnDepends On Me: org.jboss.deployment.DeploymentException: Invalid XML: file=jar:rnile:/D:/JBOSS/server/default/tmp/deploy/tmp44934esite.jar!/META-INF/jbosscmp-jdrnc.xml, ObjectName: jboss.j2ee:jndiName=local/Orderitem,service=EJBrnstate: FAILEDrnI Depend On:rnDepends On Me: org.jboss.deployment.DeploymentException: Invalid XML: file=jar:rnile:/D:/JBOSS/server/default/tmp/deploy/tmp44934esite.jar!/META-INF/jbosscmp-jdrnc.xml, ObjectName: jboss.j2ee:jndiName=local/ShoppingCart,service=EJBrnstate: FAILEDrnI Depend On:rnDepends On Me: org.jboss.deployment.DeploymentException: Invalid XML: file=jar:rnile:/D:/JBOSS/server/default/tmp/deploy/tmp44934esite.jar!/META-INF/jbosscmp-jdrnc.xml, ObjectName: jboss.j2ee:jndiName=local/User,service=EJBrnstate: FAILEDrnI Depend On:rnDepends On Me: org.jboss.deployment.DeploymentException: Invalid XML: file=jar:rnile:/D:/JBOSS/server/default/tmp/deploy/tmp44934esite.jar!/META-INF/jbosscmp-jdrnc.xml, ObjectName: jboss.j2ee:jndiName=local/Sequence,service=EJBrnstate: FAILEDrnI Depend On:rnDepends On Me: org.jboss.deployment.DeploymentException: Invalid XML: file=jar:rnile:/D:/JBOSS/server/default/tmp/deploy/tmp44934esite.jar!/META-INF/jbosscmp-jdrnc.xml]rnrn 论坛

没有更多推荐了,返回首页