- 论坛徽章:
- 0
|
我按照《JBOSS实战:服务器配置指南》书上编写了一个web-xml 、一个helloapp.war 放入deploy目录下后。启动run.sh出现下面错误信息- [root@localhost bin]# ./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 [Server] Starting JBoss (MX MicroKernel)...
- 18:28:31,164 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
- 18:28:31,171 INFO [Server] Home Dir: /usr/jboss
- 18:28:31,171 INFO [Server] Home URL: file:/usr/jboss/
- 18:28:31,173 INFO [Server] Patch URL: null
- 18:28:31,173 INFO [Server] Server Name: default
- 18:28:31,184 INFO [Server] Server Home Dir: /usr/jboss/server/default
- 18:28:31,185 INFO [Server] Server Home URL: file:/usr/jboss/server/default/
- 18:28:31,185 INFO [Server] Server Log Dir: /usr/jboss/server/default/log
- 18:28:31,186 INFO [Server] Server Temp Dir: /usr/jboss/server/default/tmp
- 18:28:31,191 INFO [Server] Root Deployment Filename: jboss-service.xml
- 18:28:33,353 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
- 18:28:33,354 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
- 18:28:33,354 INFO [ServerInfo] OS-System: Linux 2.6.32-279.el6.i686,i386
- 18:28:35,071 INFO [Server] Core system initialized
- 18:28:45,014 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
- 18:28:45,020 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
- 18:28:47,127 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
- 18:28:47,128 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
- 18:28:48,008 INFO [TransactionManagerService] Starting recovery manager
- 18:28:48,837 INFO [TransactionManagerService] Recovery manager started
- 18:28:48,837 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
- 18:29:01,279 INFO [EJB3Deployer] Starting java:comp multiplexer
- 18:29:13,585 INFO [NativeServerConfig] JBoss Web Services - Native
- 18:29:13,585 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
- 18:29:16,723 INFO [Embedded] Catalina naming disabled
- 18:29:17,508 INFO [AprLifecycleListener] 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 [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-6789
- 18:29:18,032 INFO [Catalina] Initialization processed in 1306 ms
- 18:29:18,032 INFO [StandardService] Starting service jboss.web
- 18:29:18,045 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
- 18:29:18,499 INFO [Catalina] Server startup in 466 ms
- 18:29:19,258 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
- 18:29:22,380 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
- 18:29:23,010 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
- 18:29:23,496 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
- 18:29:26,326 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
- 18:29:28,404 INFO [MailService] Mail Service bound to java:/Mail
- 18:29:29,131 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
- 18:29:29,331 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
- 18:29:29,569 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
- 18:29:29,757 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
- 18:29:30,169 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
- 18:29:30,393 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
- 18:29:30,669 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
- 18:29:30,711 INFO [QuartzResourceAdapter] start quartz!!!
- 18:29:31,000 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
- 18:29:31,128 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
- 18:29:31,145 INFO [RAMJobStore] RAMJobStore initialized.
- 18:29:31,146 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
- 18:29:31,146 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
- 18:29:31,150 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
- 18:29:33,579 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
- 18:29:34,586 INFO [A] Bound to JNDI name: queue/A
- 18:29:34,593 INFO [B] Bound to JNDI name: queue/B
- 18:29:34,597 INFO [C] Bound to JNDI name: queue/C
- 18:29:34,604 INFO [D] Bound to JNDI name: queue/D
- 18:29:34,622 INFO [ex] Bound to JNDI name: queue/ex
- 18:29:34,728 INFO [testTopic] Bound to JNDI name: topic/testTopic
- 18:29:34,743 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
- 18:29:34,747 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
- 18:29:34,776 INFO [testQueue] Bound to JNDI name: queue/testQueue
- 18:29:34,977 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
- 18:29:35,155 INFO [DLQ] Bound to JNDI name: queue/DLQ
- 18:29:35,632 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
- 18:29:36,354 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=uimsDS' to JNDI name 'uimsDS'
- 18:29:36,429 INFO [TomcatDeployer] deploy, ctxPath=/HDupeyPL, warUrl=.../deploy/HDupeyPL.war/
- 18:29:36,700 WARN [config] Unable to process deployment descriptor for context '/HDupeyPL'
- 18:29:40,012 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.manning.jbia.intro.helloWorldServlet
- 18:29:40,066 INFO [TomcatDeployer] deploy, ctxPath=/helloapp, warUrl=.../tmp/deploy/tmp2657850448146894307helloapp-exp.war/
- 18:30:14,358 INFO [TomcatDeployer] deploy, ctxPath=/hudson, warUrl=.../tmp/deploy/tmp9118644283066589375hudson-exp.war/
- 18:30:17,180 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
- 18:30:17,180 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
- 18:30:17,180 ERROR [STDERR] log4j:ERROR [WebappClassLoader
- delegate: false
- repositories:
- /WEB-INF/classes/
- ----------> Parent Classloader:
- java.net.FactoryURLClassLoader@333b2e
- ] whereas object of type
- 18:30:17,181 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@1546e25].
- 18:30:17,181 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".
- 18:30:19,177 ERROR [STDERR] Mar 13, 2013 6:30:19 PM hudson.WebAppMain contextInitialized
- INFO: Home directory: /root/.hudson
- 18:30:20,724 ERROR [STDERR] 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 [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
- 18:30:23,102 INFO [TomcatDeployer] deploy, ctxPath=/iesvc, warUrl=.../deploy/management/iesvc.war/
- 18:30:23,409 WARN [config] Unable to process deployment descriptor for context '/iesvc'
- 18:30:24,011 ERROR [URLDeploymentScanner] 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 [STDERR] Mar 13, 2013 6:30:24 PM org.hudsonci.inject.internal.SmoothieContainerBootstrap bootstrap
- INFO: Bootstrapping Smoothie
- 18:30:24,733 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-6789
- 18:30:25,192 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 1m:53s:992ms
- 18:30:31,667 ERROR [STDERR] Mar 13, 2013 6:30:31 PM hudson.PluginManager createPluginStrategy
- INFO: Plugin strategy: org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
- 18:30:33,158 ERROR [STDERR] Mar 13, 2013 6:30:33 PM hudson.model.Hudson$5 onAttained
- INFO: Started initialization
- 18:30:33,579 ERROR [STDERR] Mar 13, 2013 6:30:33 PM hudson.model.Hudson$5 onAttained
- INFO: Listed all plugins
- ^[^A18:30:55,555 ERROR [STDERR] Mar 13, 2013 6:30:55 PM hudson.model.Hudson$5 onAttained
- INFO: Prepared all plugins
- 18:31:01,313 ERROR [STDERR] Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
- INFO: Started all plugins
- 18:31:01,325 ERROR [STDERR] Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
- INFO: Augmented all extensions
- 18:31:01,337 ERROR [STDERR] Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
- INFO: Loaded all jobs
- 18:31:01,638 ERROR [STDERR] Mar 13, 2013 6:31:01 PM hudson.model.Hudson$5 onAttained
- INFO: Completed initialization
- 18:31:01,859 ERROR [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] 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 [STDERR] Mar 13, 2013 6:31:35 PM org.hudsonci.rest.plugin.RestPlugin enable
- INFO: API provider Bayeux (CometD) enabled
- 18:31:35,226 ERROR [STDERR] 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 [STDERR] Mar 13, 2013 6:31:35 PM org.hudsonci.events.ready.ReadyDetector run
- INFO: Hudson is ready.
复制代码 求大神们帮我看看---在线等 |
|