Hi,

I'm trying to run JBOSS 4.0.3 with a custom server base path using : 

-Djboss.server.base.url=file://C:/java/workspaces/local/server
-Djboss.server.base.dir=C:/java/workspaces/local/server

but the server boot fails with a DeploymentException "No ClassLoaders found 
for: org.jboss.logging.Log4jService"

The Log4jService class file is located in jboss.jar and if I look at the 
boot.log, I see that this jar file is deployed by the SARDeployer, but next, 
when configuring the log4j service, the class is not found .... (note that if I 
remove the service configuration the problem occurs with the next one)


  | 11:43:38,311 INFO  [Server] Server Home Dir: 
C:\java\workspaces\local\server\default
  | 11:43:38,311 INFO  [Server] Server Home URL: 
file://C:/java/workspaces/local/server/default/
  | 11:43:38,311 DEBUG [Server] Server Data Dir: 
C:\java\workspaces\local\server\default\data
  | 11:43:38,311 INFO  [Server] Server Temp Dir: 
C:\java\workspaces\local\server\default\tmp
  | 11:43:38,311 DEBUG [Server] Server Config URL: 
file://C:/java/workspaces/local/server/default/conf/
  | 11:43:38,311 DEBUG [Server] Server Library URL: 
file://C:/java/workspaces/local/server/default/lib/
  | 11:43:38,311 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | [...]
  | 11:43:42,909 DEBUG [MainDeployer] Starting deployment of package: 
file://C:/java/workspaces/local/server/default/conf/jboss-service.xml
  | 11:43:42,909 DEBUG [MainDeployer] Starting deployment (init step) of 
package at: 
file://C:/java/workspaces/local/server/default/conf/jboss-service.xml
  | 11:43:42,909 DEBUG [MainDeployer] Copying 
file://C:/java/workspaces/local/server/default/conf/jboss-service.xml -> 
C:\java\workspaces\local\server\default\tmp\deploy\tmp39290jboss-service.xml
  | 11:43:42,909 DEBUG [MainDeployer] using deployer [EMAIL PROTECTED]
  | 11:43:43,003 DEBUG [SARDeployer] Found classpath element: [classpath: null]
  | 11:43:43,003 DEBUG [SARDeployer] codebase URL is 
file://C:/java/workspaces/local/server/default/lib/
  | [...]
  | 11:43:43,018 DEBUG [SARDeployer] deployed classes for 
file://C:/java/workspaces/local/server/default/lib/jboss.jar
  | [...]
  | 11:43:43,844 DEBUG [RepositoryClassLoader] Added url: 
file://C:/java/workspaces/local/server/default/lib/jboss.jar, to ucl: [EMAIL 
PROTECTED] 
url=file:/C:/java/workspaces/local/server/default/tmp/deploy/tmp39290jboss-service.xml
 ,addedOrder=2}
  | [...]
  | 11:43:48,894 DEBUG [SARDeployer] create operation failed for package 
file://C:/java/workspaces/local/server/default/conf/jboss-service.xml
  | org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.logging.Log4jService; - nested throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.logging.Log4jService)
  |     at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178)
  |     at 
org.jboss.system.ServiceController.install(ServiceController.java:215)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:585)
  |     at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:1

Any idea?

Thanks

Seb.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931824#3931824

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931824


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to