[jboss-user] [Installation, Configuration & DEPLOYMENT] - Startup hangs on Log4jService$URLWatchTimerTask
tresspicher
do-not-reply at jboss.com
Wed Dec 19 16:59:30 EST 2007
Hi all,
When I start up my server, it gets this far:
| =========================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: /usr/local/jboss-4.2.0.GA
|
| JAVA: /usr/java/bin/java
|
| JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
|
| CLASSPATH: /usr/local/jboss-4.2.0.GA/bin/run.jar:/usr/java/lib/tools.jar
|
| =========================================================================
|
| 14:34:48,797 INFO [Server] Starting JBoss (MX MicroKernel)...
| 14:34:48,800 INFO [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
| 14:34:48,803 INFO [Server] Home Dir: /usr/local/jboss-4.2.0.GA
| 14:34:48,804 INFO [Server] Home URL: file:/usr/local/jboss-4.2.0.GA/
| 14:34:48,806 INFO [Server] Patch URL: null
| 14:34:48,807 INFO [Server] Server Name: default
| 14:34:48,808 INFO [Server] Server Home Dir: /usr/local/jboss-4.2.0.GA/server/default
| 14:34:48,808 INFO [Server] Server Home URL: file:/usr/local/jboss-4.2.0.GA/server/default/
| 14:34:48,809 INFO [Server] Server Log Dir: /usr/local/jboss-4.2.0.GA/server/default/log
| 14:34:48,810 INFO [Server] Server Temp Dir: /usr/local/jboss-4.2.0.GA/server/default/tmp
| 14:34:48,811 INFO [Server] Root Deployment Filename: jboss-service.xml
| 14:34:49,849 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
| 14:34:49,850 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04,Sun Microsystems Inc.
| 14:34:49,851 INFO [ServerInfo] OS-System: SunOS 5.8,sparc
| 14:34:51,912 INFO [Server] Core system initialized
| 14:35:02,530 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 14:35:02,537 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
|
... but then it hangs indefinitely. I turned on Log4j debug logging, and it tells me this:
| 14:39:27,537 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
| log4j: System property is :null
| log4j: Standard DocumentBuilderFactory search succeded.
| log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
| log4j: debug attribute= "false".
|
When I remove the jboss-log4j.xml file from the conf directory, the server starts but then (predictably) periodically throws a warning at me:
| 14:58:27,370 WARN [Log4jService$URLWatchTimerTask] Failed to check URL: resource:jboss-log4j.xml
| java.io.FileNotFoundException: Could not locate resource: jboss-log4j.xml
|
I'm sure I'm doing something wrong that's obvious, but please help a newbie out!
Thanks,
Tres
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114408#4114408
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114408
More information about the jboss-user
mailing list