2 Replies Latest reply on Feb 14, 2011 9:35 PM by guanshuiwang

    How to restart the JON Server when silently installing

    guanshuiwang

      I installed the JON Server through the customed rhq-server.properties.

       

      But when the JON Server is stopped , I can't start it.

       

       

      The exception:

      2011-02-14 10:21:44,642 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jboss-remoting-servlet-invoker].[ServerInvokerServlet]] Servlet.service() for servlet ServerInvokerServlet threw exception

      java.lang.reflect.UndeclaredThrowableException

              at $Proxy160.processRequest(Unknown Source)

              at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.processRequest(ServerInvokerServlet.java:128)

              at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.doPost(ServerInvokerServlet.java:157)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.rhq.helpers.rtfilter.filter.RtFilter.doFilter(RtFilter.java:124)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

              at java.lang.Thread.run(Thread.java:636)

      Caused by: javax.management.InstanceNotFoundException: jboss.remoting:service=invoker,transport=servlet is not registered.

              at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)

              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)

              at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:305)

              ... 26 more

       

      How I restart the server when silently installing it?

       

      Hope your help!!!!

        • 1. How to restart the JON Server when silently installing
          mazz

          I assume you are using rhq-server.sh to start the server. If so, its possible you have an invalid rhq-server.properties - maybe one of the values are invalid. Double check all values, ensuring all port numbers and IP addresses are valid for that machine on which the server is running.

          • 2. How to restart the JON Server when silently installing
            guanshuiwang

            Yes , I start the server using rhq-server.sh. But the server started successfully first time , so I think the rhq-server.properties is valid . Do you think so?

             

            I found a error:

            ERROR [org.rhq.jbossatx.jta.recovery.AppServerJDBCXARecovery] AppServerJDBCXARecovery.createDataSource got exception java.lang.NumberFormatException: For input string: "r"

             

            Thanks.