Exhalo 发表于 2013-03-13 18:38

JBOSS启动后报错

我按照《JBOSS实战:服务器配置指南》书上编写了一个web-xml 、一个helloapp.war 放入deploy目录下后。启动run.sh出现下面错误信息# ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/jboss

JAVA: /usr/java/jdk1.6.0_13/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.library.path=/usr/jboss/bin/native

CLASSPATH: /usr/jboss/bin/run.jar:/usr/java/jdk1.6.0_13/lib/tools.jar

=========================================================================

18:28:31,162 INFO Starting JBoss (MX MicroKernel)...
18:28:31,164 INFO Release ID: JBoss 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
18:28:31,171 INFO Home Dir: /usr/jboss
18:28:31,171 INFO Home URL: file:/usr/jboss/
18:28:31,173 INFO Patch URL: null
18:28:31,173 INFO Server Name: default
18:28:31,184 INFO Server Home Dir: /usr/jboss/server/default
18:28:31,185 INFO Server Home URL: file:/usr/jboss/server/default/
18:28:31,185 INFO Server Log Dir: /usr/jboss/server/default/log
18:28:31,186 INFO Server Temp Dir: /usr/jboss/server/default/tmp
18:28:31,191 INFO Root Deployment Filename: jboss-service.xml
18:28:33,353 INFO Java version: 1.6.0_13,Sun Microsystems Inc.
18:28:33,354 INFO Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
18:28:33,354 INFO OS-System: Linux 2.6.32-279.el6.i686,i386
18:28:35,071 INFO Core system initialized
18:28:45,014 INFO Using RMI server codebase: http://127.0.0.1:8083/
18:28:45,020 INFO Configuring from URL: resource:jboss-log4j.xml
18:28:47,127 INFO JBossTS Transaction Service (JTA version) - JBoss Inc.
18:28:47,128 INFO Setting up property manager MBean and JMX layer
18:28:48,008 INFO Starting recovery manager
18:28:48,837 INFO Recovery manager started
18:28:48,837 INFO Binding TransactionManager JNDI Reference
18:29:01,279 INFO Starting java:comp multiplexer
18:29:13,585 INFO JBoss Web Services - Native
18:29:13,585 INFO jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
18:29:16,723 INFO Catalina naming disabled
18:29:17,508 INFO The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jboss/bin/native
18:29:18,028 INFO Initializing Coyote HTTP/1.1 on http-127.0.0.1-6789
18:29:18,032 INFO Initialization processed in 1306 ms
18:29:18,032 INFO Starting service jboss.web
18:29:18,045 INFO Starting Servlet Engine: JBossWeb/2.0.1.GA
18:29:18,499 INFO Server startup in 466 ms
18:29:19,258 INFO deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
18:29:22,380 INFO deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
18:29:23,010 INFO deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
18:29:23,496 INFO deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
18:29:26,326 INFO deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
18:29:28,404 INFO Mail Service bound to java:/Mail
18:29:29,131 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
18:29:29,331 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
18:29:29,569 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
18:29:29,757 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
18:29:30,169 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
18:29:30,393 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
18:29:30,669 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
18:29:30,711 INFO start quartz!!!
18:29:31,000 INFO Job execution threads will use class loader of thread: main
18:29:31,128 INFO Quartz Scheduler v.1.5.2 created.
18:29:31,145 INFO RAMJobStore initialized.
18:29:31,146 INFO Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
18:29:31,146 INFO Quartz scheduler version: 1.5.2
18:29:31,150 INFO Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
18:29:33,579 INFO Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
18:29:34,586 INFO Bound to JNDI name: queue/A
18:29:34,593 INFO Bound to JNDI name: queue/B
18:29:34,597 INFO Bound to JNDI name: queue/C
18:29:34,604 INFO Bound to JNDI name: queue/D
18:29:34,622 INFO Bound to JNDI name: queue/ex
18:29:34,728 INFO Bound to JNDI name: topic/testTopic
18:29:34,743 INFO Bound to JNDI name: topic/securedTopic
18:29:34,747 INFO Bound to JNDI name: topic/testDurableTopic
18:29:34,776 INFO Bound to JNDI name: queue/testQueue
18:29:34,977 INFO JBossMQ UIL service available at : /127.0.0.1:8093
18:29:35,155 INFO Bound to JNDI name: queue/DLQ
18:29:35,632 INFO Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
18:29:36,354 INFO Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=uimsDS' to JNDI name 'uimsDS'
18:29:36,429 INFO deploy, ctxPath=/HDupeyPL, warUrl=.../deploy/HDupeyPL.war/
18:29:36,700 WARN Unable to process deployment descriptor for context '/HDupeyPL'
18:29:40,012 WARN Cannot load servlet class: com.manning.jbia.intro.helloWorldServlet
18:29:40,066 INFO deploy, ctxPath=/helloapp, warUrl=.../tmp/deploy/tmp2657850448146894307helloapp-exp.war/
18:30:14,358 INFO deploy, ctxPath=/hudson, warUrl=.../tmp/deploy/tmp9118644283066589375hudson-exp.war/
18:30:17,180 ERROR log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
18:30:17,180 ERROR log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
18:30:17,180 ERROR log4j:ERROR [WebappClassLoader
delegate: false
repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
java.net.FactoryURLClassLoader@333b2e
] whereas object of type
18:30:17,181 ERROR log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by .
18:30:17,181 ERROR log4j:ERROR Could not instantiate appender named "FILE".
18:30:19,177 ERROR Mar 13, 2013 6:30:19 PM hudson.WebAppMain contextInitialized
INFO: Home directory: /root/.hudson
18:30:20,724 ERROR Mar 13, 2013 6:30:20 PM hudson.util.CharacterEncodingFilter init
INFO: CharacterEncodingFilter initialized. DISABLE_FILTER: false FORCE_ENCODING: false
18:30:21,475 INFO deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
18:30:23,102 INFO deploy, ctxPath=/iesvc, warUrl=.../deploy/management/iesvc.war/
18:30:23,409 WARN Unable to process deployment descriptor for context '/iesvc'
18:30:24,011 ERROR Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@5a6c4ff5 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/helloWorldServlet.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/helloWorldServlet.java
altDD: null
lastDeployed: 1363170624004
lastModified: 1363170624000
mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@5a6c4ff5 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/helloWorldServlet.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/helloWorldServlet.java
altDD: null
lastDeployed: 1363170624004
lastModified: 1363170624000
mbeans:


18:30:24,271 ERROR Mar 13, 2013 6:30:24 PM org.hudsonci.inject.internal.SmoothieContainerBootstrap bootstrap
INFO: Bootstrapping Smoothie
18:30:24,733 INFO Starting Coyote HTTP/1.1 on http-127.0.0.1-6789
18:30:25,192 INFO JBoss (MX MicroKernel) Started in 1m:53s:992ms
18:30:31,667 ERROR Mar 13, 2013 6:30:31 PM hudson.PluginManager createPluginStrategy
INFO: Plugin strategy: org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
18:30:33,158 ERROR Mar 13, 2013 6:30:33 PM hudson.model.Hudson$5 onAttained
INFO: Started initialization
18:30:33,579 ERROR Mar 13, 2013 6:30:33 PM hudson.model.Hudson$5 onAttained
INFO: Listed all plugins
^[^A18:30:55,555 ERROR Mar 13, 2013 6:30:55 PM hudson.model.Hudson$5 onAttained
INFO: Prepared all plugins
18:31:01,313 ERROR Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
INFO: Started all plugins
18:31:01,325 ERROR Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
18:31:01,337 ERROR Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
18:31:01,638 ERROR Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
18:31:01,859 ERROR Mar 13, 2013 6:31:01 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 43881
18:31:02,039 ERROR Mar 13, 2013 6:31:02 PM hudson.UDPBroadcastThread run
WARNING: UDP handling problem
java.net.SocketException: No such device
        at java.net.PlainDatagramSocketImpl.join(Native Method)
        at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
        at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
        at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:68)
18:31:02,242 ERROR Mar 13, 2013 6:31:02 PM javax.jmdns.impl.HostInfo newHostInfo
WARNING: Could not find any address beside the loopback.
18:31:15,659 ERROR Mar 13, 2013 6:31:15 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
18:31:23,571 ERROR Mar 13, 2013 6:31:23 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
18:31:30,653 ERROR Mar 13, 2013 6:31:30 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
18:31:32,205 ERROR Mar 13, 2013 6:31:32 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
18:31:33,525 ERROR Mar 13, 2013 6:31:33 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
18:31:35,107 ERROR Mar 13, 2013 6:31:35 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
18:31:35,111 ERROR Mar 13, 2013 6:31:35 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
18:31:35,226 ERROR Mar 13, 2013 6:31:35 PM org.hudsonci.events.internal.EventPublisherImpl publish
SEVERE: Consumer raised an exception
java.lang.UnsupportedOperationException: Method not implemented.
        at java.net.URLStreamHandler.openConnection(URLStreamHandler.java:80)
        at java.net.URL.openConnection(URL.java:992)
        at hudson.ProxyConfiguration.open(ProxyConfiguration.java:139)
        at hudson.FilePath.installIfNecessaryFrom(FilePath.java:605)
        at org.hudsonci.maven.plugin.install.SlaveBundleInstaller.install(SlaveBundleInstaller.java:81)
        at org.hudsonci.maven.plugin.install.SlaveBundleInstaller.consume(SlaveBundleInstaller.java:92)
        at org.hudsonci.events.internal.EventPublisherImpl.publish(EventPublisherImpl.java:77)
        at org.hudsonci.events.ready.ReadyDetector.run(ReadyDetector.java:74)
18:31:35,233 ERROR Mar 13, 2013 6:31:35 PM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.
求大神们帮我看看---在线等

Exhalo 发表于 2013-03-13 19:49

上面的有一个错误解决了...修改jboss-service.xml里面两个属性 可以解决18:30:17,180 ERROR log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
18:30:17,180 ERROR log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
18:30:17,180 ERROR log4j:ERROR 这个问题

一会再上最新的问题代码..

Exhalo 发表于 2013-03-14 15:51

最新报错~ :emn23: 有会的顺便告诉下,我再自己研究下# ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/jboss

JAVA: /usr/java/jdk1.6.0_13/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.library.path=/usr/jboss/bin/native

CLASSPATH: /usr/jboss/bin/run.jar:/usr/java/jdk1.6.0_13/lib/tools.jar

=========================================================================

15:47:39,971 INFO Starting JBoss (MX MicroKernel)...
15:47:39,975 INFO Release ID: JBoss 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
15:47:39,978 INFO Home Dir: /usr/jboss
15:47:39,978 INFO Home URL: file:/usr/jboss/
15:47:39,980 INFO Patch URL: null
15:47:39,981 INFO Server Name: default
15:47:39,981 INFO Server Home Dir: /usr/jboss/server/default
15:47:39,981 INFO Server Home URL: file:/usr/jboss/server/default/
15:47:39,981 INFO Server Log Dir: /usr/jboss/server/default/log
15:47:39,982 INFO Server Temp Dir: /usr/jboss/server/default/tmp
15:47:39,983 INFO Root Deployment Filename: jboss-service.xml
15:47:41,942 INFO Java version: 1.6.0_13,Sun Microsystems Inc.
15:47:41,943 INFO Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
15:47:41,943 INFO OS-System: Linux 2.6.32-279.el6.i686,i386
15:47:44,197 INFO Core system initialized
15:47:53,919 INFO Using RMI server codebase: http://127.0.0.1:8083/
15:47:53,922 INFO Configuring from URL: resource:jboss-log4j.xml
15:47:56,322 INFO JBossTS Transaction Service (JTA version) - JBoss Inc.
15:47:56,323 INFO Setting up property manager MBean and JMX layer
15:47:57,780 INFO Starting recovery manager
15:47:59,025 INFO Recovery manager started
15:47:59,026 INFO Binding TransactionManager JNDI Reference
15:48:10,970 INFO Starting java:comp multiplexer
15:48:18,563 INFO JBoss Web Services - Native
15:48:18,567 INFO jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
15:48:22,027 INFO Catalina naming disabled
15:48:22,988 INFO The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jboss/bin/native
15:48:23,419 INFO Initializing Coyote HTTP/1.1 on http-127.0.0.1-6789
15:48:23,419 INFO Initialization processed in 1392 ms
15:48:23,425 INFO Starting service jboss.web
15:48:23,433 INFO Starting Servlet Engine: JBossWeb/2.0.1.GA
15:48:23,745 INFO Server startup in 325 ms
15:48:24,400 INFO deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
15:48:27,134 INFO deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
15:48:27,672 INFO deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
15:48:28,125 INFO deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
15:48:30,587 INFO deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
15:48:33,270 INFO Mail Service bound to java:/Mail
15:48:34,331 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
15:48:34,488 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
15:48:34,603 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
15:48:34,706 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
15:48:35,198 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
15:48:35,351 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
15:48:35,724 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
15:48:35,803 INFO start quartz!!!
15:48:36,200 INFO Job execution threads will use class loader of thread: main
15:48:36,343 INFO Quartz Scheduler v.1.5.2 created.
15:48:36,364 INFO RAMJobStore initialized.
15:48:36,364 INFO Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
15:48:36,364 INFO Quartz scheduler version: 1.5.2
15:48:36,374 INFO Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
15:48:40,118 INFO Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:48:41,409 INFO Bound to JNDI name: queue/A
15:48:41,412 INFO Bound to JNDI name: queue/B
15:48:41,417 INFO Bound to JNDI name: queue/C
15:48:41,420 INFO Bound to JNDI name: queue/D
15:48:41,429 INFO Bound to JNDI name: queue/ex
15:48:41,509 INFO Bound to JNDI name: topic/testTopic
15:48:41,519 INFO Bound to JNDI name: topic/securedTopic
15:48:41,525 INFO Bound to JNDI name: topic/testDurableTopic
15:48:41,536 INFO Bound to JNDI name: queue/testQueue
15:48:41,766 INFO JBossMQ UIL service available at : /127.0.0.1:8093
15:48:41,927 INFO Bound to JNDI name: queue/DLQ
15:48:42,528 INFO Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
15:48:43,828 INFO Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=uimsDS' to JNDI name 'uimsDS'
15:48:44,132 INFO deploy, ctxPath=/HDupeyPL, warUrl=.../deploy/HDupeyPL.war/
15:48:44,428 WARN Unable to process deployment descriptor for context '/HDupeyPL'
15:49:23,504 INFO deploy, ctxPath=/hudson, warUrl=.../tmp/deploy/tmp5405306678602203645hudson-exp.war/
15:49:30,769 ERROR Mar 14, 2013 3:49:30 PM hudson.WebAppMain contextInitialized
INFO: Home directory: /root/.hudson
15:49:31,632 ERROR Mar 14, 2013 3:49:31 PM hudson.util.CharacterEncodingFilter init
INFO: CharacterEncodingFilter initialized. DISABLE_FILTER: false FORCE_ENCODING: false
15:49:32,115 INFO deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
15:49:33,791 INFO deploy, ctxPath=/iesvc, warUrl=.../deploy/management/iesvc.war/
15:49:34,252 WARN Unable to process deployment descriptor for context '/iesvc'
15:49:34,898 ERROR Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@4da8d4f8 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/WEB-INF/web.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/WEB-INF/web.xml
altDD: null
lastDeployed: 1363247374817
lastModified: 1363247374000
mbeans:

org.jboss.deployment.DeploymentInfo@89b4fc15 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/HelloWorldServlet.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/HelloWorldServlet.java
altDD: null
lastDeployed: 1363247374839
lastModified: 1363247374000
mbeans:

org.jboss.deployment.DeploymentInfo@f79fb566 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.class }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.class
altDD: null
lastDeployed: 1363247374844
lastModified: 1363247374000
mbeans:

org.jboss.deployment.DeploymentInfo@94916eca { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.java
altDD: null
lastDeployed: 1363247374895
lastModified: 1363247374000
mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@4da8d4f8 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/WEB-INF/web.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/WEB-INF/web.xml
altDD: null
lastDeployed: 1363247374817
lastModified: 1363247374000
mbeans:

org.jboss.deployment.DeploymentInfo@89b4fc15 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/HelloWorldServlet.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/HelloWorldServlet.java
altDD: null
lastDeployed: 1363247374839
lastModified: 1363247374000
mbeans:

org.jboss.deployment.DeploymentInfo@f79fb566 { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.class }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.class
altDD: null
lastDeployed: 1363247374844
lastModified: 1363247374000
mbeans:

org.jboss.deployment.DeploymentInfo@94916eca { url=file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.java }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/jboss/server/default/deploy/helloWorldBiuld/src/com/manning/jbia/intro/test.java
altDD: null
lastDeployed: 1363247374895
lastModified: 1363247374000
mbeans:


15:49:35,065 ERROR Mar 14, 2013 3:49:35 PM org.hudsonci.inject.internal.SmoothieContainerBootstrap bootstrap
INFO: Bootstrapping Smoothie
15:49:35,567 INFO Starting Coyote HTTP/1.1 on http-127.0.0.1-6789
15:49:35,894 INFO JBoss (MX MicroKernel) Started in 1m:55s:903ms
15:49:40,006 ERROR Mar 14, 2013 3:49:40 PM hudson.PluginManager createPluginStrategy
INFO: Plugin strategy: org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
15:49:40,471 ERROR Mar 14, 2013 3:49:40 PM hudson.model.Hudson$5 onAttained
INFO: Started initialization
15:49:41,725 ERROR Mar 14, 2013 3:49:41 PM hudson.model.Hudson$5 onAttained
INFO: Listed all plugins
15:49:57,343 ERROR Mar 14, 2013 3:49:57 PM hudson.model.Hudson$5 onAttained
INFO: Prepared all plugins
15:50:05,214 ERROR Mar 14, 2013 3:50:05 PM hudson.model.Hudson$5 onAttained
INFO: Started all plugins
15:50:05,231 ERROR Mar 14, 2013 3:50:05 PM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
15:50:05,249 ERROR Mar 14, 2013 3:50:05 PM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
15:50:06,117 ERROR Mar 14, 2013 3:50:06 PM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
15:50:06,121 ERROR Mar 14, 2013 3:50:06 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 60051
15:50:06,236 ERROR Mar 14, 2013 3:50:06 PM hudson.UDPBroadcastThread run
WARNING: UDP handling problem
java.net.SocketException: No such device
        at java.net.PlainDatagramSocketImpl.join(Native Method)
        at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
        at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
        at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:68)
15:50:06,546 ERROR Mar 14, 2013 3:50:06 PM javax.jmdns.impl.HostInfo newHostInfo
WARNING: Could not find any address beside the loopback.
15:50:16,897 ERROR Mar 14, 2013 3:50:16 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
15:50:25,445 ERROR Mar 14, 2013 3:50:25 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
15:50:30,446 ERROR Mar 14, 2013 3:50:30 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
15:50:31,874 ERROR Mar 14, 2013 3:50:31 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
15:50:33,283 ERROR Mar 14, 2013 3:50:33 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
15:50:34,776 ERROR Mar 14, 2013 3:50:34 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
15:50:34,776 ERROR Mar 14, 2013 3:50:34 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
15:50:34,892 ERROR Mar 14, 2013 3:50:34 PM org.hudsonci.events.internal.EventPublisherImpl publish
SEVERE: Consumer raised an exception
java.lang.UnsupportedOperationException: Method not implemented.
        at java.net.URLStreamHandler.openConnection(URLStreamHandler.java:80)
        at java.net.URL.openConnection(URL.java:992)
        at hudson.ProxyConfiguration.open(ProxyConfiguration.java:139)
        at hudson.FilePath.installIfNecessaryFrom(FilePath.java:605)
        at org.hudsonci.maven.plugin.install.SlaveBundleInstaller.install(SlaveBundleInstaller.java:81)
        at org.hudsonci.maven.plugin.install.SlaveBundleInstaller.consume(SlaveBundleInstaller.java:92)
        at org.hudsonci.events.internal.EventPublisherImpl.publish(EventPublisherImpl.java:77)
        at org.hudsonci.events.ready.ReadyDetector.run(ReadyDetector.java:74)
15:50:34,892 ERROR Mar 14, 2013 3:50:34 PM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.

Exhalo 发表于 2013-03-14 16:17

删除我自己写的几段发布不上的代码。更新后的报错为# ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /usr/jboss

JAVA: /usr/java/jdk1.6.0_13/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.library.path=/usr/jboss/bin/native

CLASSPATH: /usr/jboss/bin/run.jar:/usr/java/jdk1.6.0_13/lib/tools.jar

=========================================================================

16:14:37,922 INFO Starting JBoss (MX MicroKernel)...
16:14:37,923 INFO Release ID: JBoss 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
16:14:37,926 INFO Home Dir: /usr/jboss
16:14:37,926 INFO Home URL: file:/usr/jboss/
16:14:37,927 INFO Patch URL: null
16:14:37,929 INFO Server Name: default
16:14:37,929 INFO Server Home Dir: /usr/jboss/server/default
16:14:37,930 INFO Server Home URL: file:/usr/jboss/server/default/
16:14:37,930 INFO Server Log Dir: /usr/jboss/server/default/log
16:14:37,930 INFO Server Temp Dir: /usr/jboss/server/default/tmp
16:14:37,931 INFO Root Deployment Filename: jboss-service.xml
16:14:39,348 INFO Java version: 1.6.0_13,Sun Microsystems Inc.
16:14:39,348 INFO Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
16:14:39,348 INFO OS-System: Linux 2.6.32-279.el6.i686,i386
16:14:40,810 INFO Core system initialized
16:14:46,154 INFO Using RMI server codebase: http://127.0.0.1:8083/
16:14:46,158 INFO Configuring from URL: resource:jboss-log4j.xml
16:14:47,416 INFO JBossTS Transaction Service (JTA version) - JBoss Inc.
16:14:47,417 INFO Setting up property manager MBean and JMX layer
16:14:48,113 INFO Starting recovery manager
16:14:48,598 INFO Recovery manager started
16:14:48,600 INFO Binding TransactionManager JNDI Reference
16:14:55,667 INFO Starting java:comp multiplexer
16:15:01,435 INFO JBoss Web Services - Native
16:15:01,438 INFO jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
16:15:03,483 INFO Catalina naming disabled
16:15:03,993 INFO The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jboss/bin/native
16:15:04,376 INFO Initializing Coyote HTTP/1.1 on http-127.0.0.1-6789
16:15:04,383 INFO Initialization processed in 899 ms
16:15:04,383 INFO Starting service jboss.web
16:15:04,403 INFO Starting Servlet Engine: JBossWeb/2.0.1.GA
16:15:04,747 INFO Server startup in 364 ms
16:15:05,304 INFO deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
16:15:07,571 INFO deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
16:15:08,057 INFO deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
16:15:08,524 INFO deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:15:10,530 INFO deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
16:15:12,773 INFO Mail Service bound to java:/Mail
16:15:13,843 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
16:15:14,086 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
16:15:14,245 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
16:15:14,423 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
16:15:14,862 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
16:15:15,100 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
16:15:15,350 INFO Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
16:15:15,447 INFO start quartz!!!
16:15:15,771 INFO Job execution threads will use class loader of thread: main
16:15:15,898 INFO Quartz Scheduler v.1.5.2 created.
16:15:15,914 INFO RAMJobStore initialized.
16:15:15,915 INFO Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
16:15:15,919 INFO Quartz scheduler version: 1.5.2
16:15:15,919 INFO Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
16:15:18,497 INFO Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
16:15:19,471 INFO Bound to JNDI name: queue/A
16:15:19,477 INFO Bound to JNDI name: queue/B
16:15:19,481 INFO Bound to JNDI name: queue/C
16:15:19,492 INFO Bound to JNDI name: queue/D
16:15:19,507 INFO Bound to JNDI name: queue/ex
16:15:19,581 INFO Bound to JNDI name: topic/testTopic
16:15:19,602 INFO Bound to JNDI name: topic/securedTopic
16:15:19,613 INFO Bound to JNDI name: topic/testDurableTopic
16:15:19,627 INFO Bound to JNDI name: queue/testQueue
16:15:19,837 INFO JBossMQ UIL service available at : /127.0.0.1:8093
16:15:20,025 INFO Bound to JNDI name: queue/DLQ
16:15:20,604 INFO Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
16:15:21,443 INFO Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=uimsDS' to JNDI name 'uimsDS'
16:15:21,533 INFO deploy, ctxPath=/HDupeyPL, warUrl=.../deploy/HDupeyPL.war/
16:15:21,917 WARN Unable to process deployment descriptor for context '/HDupeyPL'
16:15:37,709 INFO deploy, ctxPath=/hudson, warUrl=.../tmp/deploy/tmp566155480109831032hudson-exp.war/
16:15:45,857 ERROR Mar 14, 2013 4:15:45 PM hudson.WebAppMain contextInitialized
INFO: Home directory: /root/.hudson
16:15:46,430 ERROR Mar 14, 2013 4:15:46 PM hudson.util.CharacterEncodingFilter init
INFO: CharacterEncodingFilter initialized. DISABLE_FILTER: false FORCE_ENCODING: false
16:15:46,842 INFO deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
16:15:47,617 INFO deploy, ctxPath=/iesvc, warUrl=.../deploy/management/iesvc.war/
16:15:48,540 WARN Unable to process deployment descriptor for context '/iesvc'
16:15:49,076 ERROR Mar 14, 2013 4:15:49 PM org.hudsonci.inject.internal.SmoothieContainerBootstrap bootstrap
INFO: Bootstrapping Smoothie
16:15:49,551 INFO Starting Coyote HTTP/1.1 on http-127.0.0.1-6789
16:15:49,689 INFO JBoss (MX MicroKernel) Started in 1m:11s:747ms
16:15:53,024 ERROR Mar 14, 2013 4:15:53 PM hudson.PluginManager createPluginStrategy
INFO: Plugin strategy: org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
16:15:53,433 ERROR Mar 14, 2013 4:15:53 PM hudson.model.Hudson$5 onAttained
INFO: Started initialization
16:15:54,199 ERROR Mar 14, 2013 4:15:54 PM hudson.model.Hudson$5 onAttained
INFO: Listed all plugins
16:16:04,725 ERROR Mar 14, 2013 4:16:04 PM hudson.model.Hudson$5 onAttained
INFO: Prepared all plugins
16:16:07,852 ERROR Mar 14, 2013 4:16:07 PM hudson.model.Hudson$5 onAttained
INFO: Started all plugins
16:16:07,857 ERROR Mar 14, 2013 4:16:07 PM hudson.model.Hudson$5 onAttained
INFO: Augmented all extensions
16:16:07,859 ERROR Mar 14, 2013 4:16:07 PM hudson.model.Hudson$5 onAttained
INFO: Loaded all jobs
16:16:08,481 ERROR Mar 14, 2013 4:16:08 PM hudson.model.Hudson$5 onAttained
INFO: Completed initialization
16:16:08,483 ERROR Mar 14, 2013 4:16:08 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 33388
16:16:08,761 ERROR Mar 14, 2013 4:16:08 PM hudson.UDPBroadcastThread run
WARNING: UDP handling problem
java.net.SocketException: No such device
        at java.net.PlainDatagramSocketImpl.join(Native Method)
        at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
        at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
        at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:68)
16:16:08,876 ERROR Mar 14, 2013 4:16:08 PM javax.jmdns.impl.HostInfo newHostInfo
WARNING: Could not find any address beside the loopback.
16:16:18,406 ERROR Mar 14, 2013 4:16:18 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
16:16:22,046 ERROR Mar 14, 2013 4:16:22 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
16:16:25,365 ERROR Mar 14, 2013 4:16:25 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
16:16:26,491 ERROR Mar 14, 2013 4:16:26 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
16:16:27,767 ERROR Mar 14, 2013 4:16:27 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'
16:16:28,906 ERROR Mar 14, 2013 4:16:28 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider JAX-RS (Jersey) enabled
16:16:28,906 ERROR Mar 14, 2013 4:16:28 PM org.hudsonci.rest.plugin.RestPlugin enable
INFO: API provider Bayeux (CometD) enabled
16:16:29,010 ERROR Mar 14, 2013 4:16:29 PM org.hudsonci.events.internal.EventPublisherImpl publish
SEVERE: Consumer raised an exception
java.lang.UnsupportedOperationException: Method not implemented.
        at java.net.URLStreamHandler.openConnection(URLStreamHandler.java:80)
        at java.net.URL.openConnection(URL.java:992)
        at hudson.ProxyConfiguration.open(ProxyConfiguration.java:139)
        at hudson.FilePath.installIfNecessaryFrom(FilePath.java:605)
        at org.hudsonci.maven.plugin.install.SlaveBundleInstaller.install(SlaveBundleInstaller.java:81)
        at org.hudsonci.maven.plugin.install.SlaveBundleInstaller.consume(SlaveBundleInstaller.java:92)
        at org.hudsonci.events.internal.EventPublisherImpl.publish(EventPublisherImpl.java:77)
        at org.hudsonci.events.ready.ReadyDetector.run(ReadyDetector.java:74)
16:16:29,014 ERROR Mar 14, 2013 4:16:29 PM org.hudsonci.events.ready.ReadyDetector run
INFO: Hudson is ready.

Exhalo 发表于 2013-03-15 08:49

问题解决了..首先hudson我缺少必要的文件,直接删除,暂且不用。:emn23:
页: [1]
查看完整版本: JBOSS启动后报错