当前位置: 技术问答>java相关
关于jboss的jms配置与使用问题。有参与就给分!!!
来源: 互联网 发布时间:2015-04-30
本文导语: 当我启动jboss时出现以下问题,(别的一切下正常) [JBossMQ] Starting [JBossMQ] Cannot start the JMS server ! null [JBossMQ] java.lang.NullPointerException [JBossMQ] at org.jbossmq.server.StartServer.run(StartServer.java:148) [JBossMQ] ...
当我启动jboss时出现以下问题,(别的一切下正常)
[JBossMQ] Starting
[JBossMQ] Cannot start the JMS server ! null
[JBossMQ] java.lang.NullPointerException
[JBossMQ] at org.jbossmq.server.StartServer.run(StartServer.java:148)
[JBossMQ] at org.jbossmq.server.StartServer.start(StartServer.java:70)
[JBossMQ] at org.jbossmq.server.JBossMQService.startService(JBossMQService
.java:66)
[JBossMQ] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:93)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[JBossMQ] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[JBossMQ] at java.lang.reflect.Method.invoke(Method.java:324)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[JBossMQ] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[JBossMQ] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[JBossMQ] at java.lang.reflect.Method.invoke(Method.java:324)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[JBossMQ] at org.jboss.Main.(Main.java:217)
[JBossMQ] at org.jboss.Main$1.run(Main.java:121)
[JBossMQ] at java.security.AccessController.doPrivileged(Native Method)
[JBossMQ] at org.jboss.Main.main(Main.java:117)
[JBossMQ] Started
[DefaultJMSProvider] Starting
[DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to java:/Defa
ultJMSProvider
[DefaultJMSProvider] Started
[StdJMSPool] Starting
[StdJMSPool] JMS provider Adapter StdJMSPool bound to java:/StdJMSPool
[StdJMSPool] Started
[J2EE Deployer Default] Starting
[J2EE Deployer Default] Cleaning up deployment directory
[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching C:JBoss-2.2.2_Tomcat-3.2.2qisoftjbossdeploy
[Auto deploy] Started
[RARDeployer] Starting
[RARDeployer] Started
[MinervaNoTransCMFactory] Starting
[MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bo
und to 'java:/MinervaNoTransCMFactory'
[MinervaNoTransCMFactory] Started
[MinervaSharedLocalCMFactory] Starting
[MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFa
ctory bound to 'java:/MinervaSharedLocalCMFactory'
[MinervaSharedLocalCMFactory] Started
[MinervaXACMFactory] Starting
[MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to 'ja
va:/MinervaXACMFactory'
[MinervaXACMFactory] Started
[BlackBoxDS] Starting
[BlackBoxDS] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Mail Service] Starting
[Mail Service] Stopped
[Mail Service] java.io.FileNotFoundException: Cannot find file 'mail.properties'
[Mail Service] at org.jboss.mail.MailService.startService(MailService.java:82)
[Mail Service] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:93)
[Mail Service] at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
[Mail Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[Mail Service] at java.lang.reflect.Method.invoke(Method.java:324)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Mail Service] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Mail Service] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Mail Service] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[Mail Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[Mail Service] at java.lang.reflect.Method.invoke(Method.java:324)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Mail Service] at org.jboss.Main.(Main.java:217)
[Mail Service] at org.jboss.Main$1.run(Main.java:121)
[Mail Service] at java.security.AccessController.doPrivileged(Native Method)
[Mail Service] at org.jboss.Main.main(Main.java:117)
[Service Control] Could not start DefaultDomain:service=Mail
[Service Control] java.io.FileNotFoundException: Cannot find file 'mail.properti
es'
[Service Control] at org.jboss.mail.MailService.startService(MailService.j
ava:82)
[Service Control] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
Support.java:93)
[Service Control] at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown
Source)
[Service Control] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
[Service Control] at java.lang.reflect.Method.invoke(Method.java:324)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Service Control] at org.jboss.util.ServiceControl.start(ServiceControl.ja
va:97)
[Service Control] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[Service Control] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
hodAccessorImpl.java:39)
[Service Control] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
[Service Control] at java.lang.reflect.Method.invoke(Method.java:324)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Service Control] at org.jboss.Main.(Main.java:217)
[Service Control] at org.jboss.Main$1.run(Main.java:121)
[Service Control] at java.security.AccessController.doPrivileged(Native Me
thod)
[Service Control] at org.jboss.Main.main(Main.java:117)
[Service Control] Started 23 services
[Default] JBoss 2.2.2 Started in 0m:20s
[JBossMQ] Starting
[JBossMQ] Cannot start the JMS server ! null
[JBossMQ] java.lang.NullPointerException
[JBossMQ] at org.jbossmq.server.StartServer.run(StartServer.java:148)
[JBossMQ] at org.jbossmq.server.StartServer.start(StartServer.java:70)
[JBossMQ] at org.jbossmq.server.JBossMQService.startService(JBossMQService
.java:66)
[JBossMQ] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:93)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[JBossMQ] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[JBossMQ] at java.lang.reflect.Method.invoke(Method.java:324)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[JBossMQ] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[JBossMQ] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[JBossMQ] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[JBossMQ] at java.lang.reflect.Method.invoke(Method.java:324)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[JBossMQ] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[JBossMQ] at org.jboss.Main.(Main.java:217)
[JBossMQ] at org.jboss.Main$1.run(Main.java:121)
[JBossMQ] at java.security.AccessController.doPrivileged(Native Method)
[JBossMQ] at org.jboss.Main.main(Main.java:117)
[JBossMQ] Started
[DefaultJMSProvider] Starting
[DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to java:/Defa
ultJMSProvider
[DefaultJMSProvider] Started
[StdJMSPool] Starting
[StdJMSPool] JMS provider Adapter StdJMSPool bound to java:/StdJMSPool
[StdJMSPool] Started
[J2EE Deployer Default] Starting
[J2EE Deployer Default] Cleaning up deployment directory
[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching C:JBoss-2.2.2_Tomcat-3.2.2qisoftjbossdeploy
[Auto deploy] Started
[RARDeployer] Starting
[RARDeployer] Started
[MinervaNoTransCMFactory] Starting
[MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bo
und to 'java:/MinervaNoTransCMFactory'
[MinervaNoTransCMFactory] Started
[MinervaSharedLocalCMFactory] Starting
[MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFa
ctory bound to 'java:/MinervaSharedLocalCMFactory'
[MinervaSharedLocalCMFactory] Started
[MinervaXACMFactory] Starting
[MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to 'ja
va:/MinervaXACMFactory'
[MinervaXACMFactory] Started
[BlackBoxDS] Starting
[BlackBoxDS] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Mail Service] Starting
[Mail Service] Stopped
[Mail Service] java.io.FileNotFoundException: Cannot find file 'mail.properties'
[Mail Service] at org.jboss.mail.MailService.startService(MailService.java:82)
[Mail Service] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:93)
[Mail Service] at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
[Mail Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[Mail Service] at java.lang.reflect.Method.invoke(Method.java:324)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Mail Service] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Mail Service] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Mail Service] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[Mail Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[Mail Service] at java.lang.reflect.Method.invoke(Method.java:324)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Mail Service] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[Mail Service] at org.jboss.Main.(Main.java:217)
[Mail Service] at org.jboss.Main$1.run(Main.java:121)
[Mail Service] at java.security.AccessController.doPrivileged(Native Method)
[Mail Service] at org.jboss.Main.main(Main.java:117)
[Service Control] Could not start DefaultDomain:service=Mail
[Service Control] java.io.FileNotFoundException: Cannot find file 'mail.properti
es'
[Service Control] at org.jboss.mail.MailService.startService(MailService.j
ava:82)
[Service Control] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
Support.java:93)
[Service Control] at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown
Source)
[Service Control] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
[Service Control] at java.lang.reflect.Method.invoke(Method.java:324)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Service Control] at org.jboss.util.ServiceControl.start(ServiceControl.ja
va:97)
[Service Control] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[Service Control] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
hodAccessorImpl.java:39)
[Service Control] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
[Service Control] at java.lang.reflect.Method.invoke(Method.java:324)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Service Control] at org.jboss.Main.(Main.java:217)
[Service Control] at org.jboss.Main$1.run(Main.java:121)
[Service Control] at java.security.AccessController.doPrivileged(Native Me
thod)
[Service Control] at org.jboss.Main.main(Main.java:117)
[Service Control] Started 23 services
[Default] JBoss 2.2.2 Started in 0m:20s
|
给分了.
|
没这种经验了,不好意思……