[jboss-user] [JBoss Getting Started Documentation] - jboss starting problem

ambika do-not-reply at jboss.com
Tue Jan 16 05:45:53 EST 2007


Hi ,
   I am using jboss 4.0.5 version. When i run run.sh i am getting following message if i use JAVA 1.5 version. 

JBOSS_HOME: /home/ambika/jboss/jboss-4.0.5.GA

  JAVA: /opt/java1.5/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: /home/ambika/jboss/jboss-4.0.5.GA/bin/run.jar:/opt/java1.5/lib/tools.jar

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

12:06:04,686 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:06:04,687 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
12:06:04,689 INFO  [Server] Home Dir: /home/ambika/jboss/jboss-4.0.5.GA
12:06:04,689 INFO  [Server] Home URL: file:/home/ambika/jboss/jboss-4.0.5.GA/
12:06:04,690 INFO  [Server] Patch URL: null
12:06:04,690 INFO  [Server] Server Name: default
12:06:04,690 INFO  [Server] Server Home Dir: /home/ambika/jboss/jboss-4.0.5.GA/server/default
12:06:04,691 INFO  [Server] Server Home URL: file:/home/ambika/jboss/jboss-4.0.5.GA/server/default/
12:06:04,691 INFO  [Server] Server Log Dir: /home/ambika/jboss/jboss-4.0.5.GA/server/default/log
12:06:04,691 INFO  [Server] Server Temp Dir: /home/ambika/jboss/jboss-4.0.5.GA/server/default/tmp
12:06:04,692 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:06:05,078 INFO  [ServerInfo] Java version: 1.5.0.04,Hewlett-Packard Co.
12:06:05,079 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0.04 jinteg:07.27.06-16:18 IA64,Hewlett-Packard Company
12:06:05,079 INFO  [ServerInfo] OS-System: HP-UX B.11.23,IA64N
12:06:05,816 INFO  [Server] Core system initialized
12:06:08,289 INFO  [WebService] Using RMI server codebase: http://martin.india.hp.com:8083/
12:06:08,312 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:06:08,954 WARN  [ServiceController] Problem starting service jboss:service=Naming
javax.naming.CommunicationException: Can't find SerialContextProvider
        at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
        at com.sun.enterprise.naming.SerialContext.(SerialContext.java:79)
        at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:54)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.(InitialContext.java:175)
        at org.jboss.naming.NamingService.startService(NamingService.java:249)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        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:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 ....

 If i use java1.4 version, i am not getting any errors while starting. Below is the output,

 JBOSS_HOME: /opt/jboss-4.0.5.GA

  JAVA: /opt/java1.4/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: /opt/jboss-4.0.5.GA/bin/run.jar:/opt/java1.4/lib/tools.jar

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

12:33:15,922 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:33:15,924 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
12:33:15,925 INFO  [Server] Home Dir: /opt/jboss-4.0.5.GA
12:33:15,926 INFO  [Server] Home URL: file:/opt/jboss-4.0.5.GA/
12:33:15,927 INFO  [Server] Patch URL: null
12:33:15,927 INFO  [Server] Server Name: default
12:33:15,927 INFO  [Server] Server Home Dir: /opt/jboss-4.0.5.GA/server/default
12:33:15,927 INFO  [Server] Server Home URL: file:/opt/jboss-4.0.5.GA/server/default/
12:33:15,928 INFO  [Server] Server Log Dir: /opt/jboss-4.0.5.GA/server/default/log
12:33:15,928 INFO  [Server] Server Temp Dir: /opt/jboss-4.0.5.GA/server/default/tmp
12:33:15,928 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:33:16,572 INFO  [ServerInfo] Java version: 1.4.2.03,Hewlett-Packard Co.
12:33:16,572 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2 1.4.2.03-040402-00:47-IA64N IA64,Hewlett-Packard Company
12:33:16,573 INFO  [ServerInfo] OS-System: HP-UX B.11.23,IA64N
12:33:17,067 INFO  [Server] Core system initialized
12:33:20,016 INFO  [WebService] Using RMI server codebase: http://austin.india.hp.com:8083/
12:33:20,052 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:33:26,732 INFO  [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
12:33:28,861 INFO  [Embedded] Catalina naming disabled
12:33:28,924 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
12:33:28,925 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
12:33:29,363 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
12:33:29,364 INFO  [Catalina] Initialization processed in 438 ms
12:33:29,365 INFO  [StandardService] Starting service jboss.web
12:33:29,368 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
12:33:29,407 INFO  [StandardHost] XML validation disabled



----

Can any one tell me how to reosolve this?

Thanks in Advance.
Regards,
Ambika


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

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



More information about the jboss-user mailing list