0 Replies Latest reply on Dec 21, 2008 6:17 AM by Micheal John

    Problem in Starting JBoss Server 4.2.2 GA

    Micheal John Newbie

      I have downloaded the JBoss 4.2.2 GA server and changed the port no to 8082 in the following server.xml file.
      jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\server.xml


      When I stared the JBoss server by running the run.bat in bin folder, I am getting the following error messages in the console and get the server started message also after Connection refused message ran in console for many times.

      But when I tired to hit the server with http:\\localhost:8082, I am getting the page not found exception. I have tried with port 8080, suspecting the port number changes may not reflected, but that too is not working.
      Whether the server is not started due to the below exception? but why I am getting the server started message. See the last section showing server started.

      I am using Windows Vista Home Edition, JBoss Server 4.2.2 GA and java 1.5.

      WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
      org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
       at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
       at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
       at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
       at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
       at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
       at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)
       at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
       at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
       at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
       at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
       at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
       at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
       at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:380)
       at javax.naming.InitialContext.rebind(InitialContext.java:367)
       at com.arjuna.ats.jta.utils.JNDIManager.bindJTATransactionSynchronizationRegistryImplementation(JNDIManager.java:157)
       at com.arjuna.ats.jta.utils.JNDIManager.bindJTATransactionSynchronizationRegistryImplementation(JNDIManager.java:141)
       at com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService(TransactionManagerService.java:206)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor3.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.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor9.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.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       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: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)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
       at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
       at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
       ... 61 more
      Caused by: java.net.ConnectException: Connection refused: connect
       at sun.nio.ch.Net.connect(Native Method)
       at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
       at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
       at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
       ... 62 more
      



      ObjectName: jboss:service=TransactionManager
       State: FAILED
       Reason: javax.naming.CommunicationException: Can't find SerialContextProvider
      [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 co
      mpleted: No]
       Depends On Me:
       jboss:service=invoker,type=unified
       jboss:service=invoker,type=jrmp
       jboss:service=invoker,type=local
       jboss:service=invoker,type=pooled
       jboss.web:service=WebServer
       jboss.ejb:service=EJBTimerService
       jboss.ejb:service=EJBDeployer
       jboss:service=KeyGeneratorFactory,type=HiLo
       jboss.jca:service=WorkManager
       jboss.jca:service=RARDeployer
       jboss.jca:service=CachedConnectionManager
       jboss.jca:service=LocalTxCM,name=DefaultDS
       jboss.jca:service=TxCM,name=JmsXA
      
      ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
       State: FAILED
       Reason: javax.naming.CommunicationException: Can't find SerialContextProvider
      [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 co
      mpleted: No]
       I Depend On:
       jboss:service=Naming
      
      ObjectName: jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFacto
      ry
       State: FAILED
       Reason: javax.naming.CommunicationException: Can't find SerialContextProvider
      [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 co
      mpleted: No]
       I Depend On:
       jboss:service=Naming
      
      ObjectName: jboss.mq:service=InvocationLayer,type=UIL
       State: FAILED
       Reason: javax.naming.CommunicationException: Can't find SerialContextProvider
      [Root exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 co
      mpleted: No]
       I Depend On:
       jboss:service=Naming
      
      ObjectName: jboss.jca:service=RARDeployment,name='jboss-local-jdbc.rar'
       State: NOTYETINSTALLED
       Depends On Me:
       jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
      
      
       at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDepl
      oyer.java:1385)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      12:10:30,895 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
      s_4_2_2_GA date=200710221139)] Started in 10m:48s:576ms