7 Replies Latest reply on Jun 18, 2014 9:38 AM by akmittal

    Jboss 5.1.0 shutdown automatically

    akmittal

      Hi All,I have migrated jboss version from 4.2.3 to 5.1.0 .I am trying to deploy a ear on the latest JBoss version.

      I am able to deploy my ear file on jboss ,but still my server shows it starting up  and the strange part is after some time it closes automatically without even throwing any error .I have checked server log ,no error is shown .

       

      Can any one please help

        • 1. Re: Jboss 5.1.0 shutdown automatically
          wdfink

          Does this wiki helps MysteriousShutdowns ?

          • 2. Re: Jboss 5.1.0 shutdown automatically
            akmittal

            wfink  thanks for reply.I will try and let you know

            • 3. Re: Jboss 5.1.0 shutdown automatically
              akmittal

              Hi ..I Noticed my seam component is not getting Initialized completely.Earlier it is use to read components.xml,But Now it is not .Can you Please help

               

              Thanks 

              • 4. Re: Jboss 5.1.0 shutdown automatically
                wdfink

                I havn't seam knowledge, so you might ask in a appropriate forum

                • 5. Re: Jboss 5.1.0 shutdown automatically
                  akmittal

                  I was able to solve the problem .Now i am facing another problem .My server runs perfectly fines with port no 8080 but when i am trying to change the port number to 80 ,so that it doesn't come in URL,server is not getting up.

                   

                   

                  Change made in server\default\deploy\jbossweb.sar

                   

                  From

                      <bean class="org.jboss.services.binding.ServiceBindingMetadata">

                                 <property name="serviceName">jboss.web:service=WebServer</property>

                                 <property name="port">8080</property>

                                 <property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets</propert

                                 <property name="serviceBindingValueSourceConfig"><inject bean="JBossWebConnectorXSLTConfig"/></property>

                              </bean>

                   

                  to

                  <bean class="org.jboss.services.binding.ServiceBindingMetadata">

                                 <property name="serviceName">jboss.web:service=WebServer</property>

                                 <property name="port">80</property>

                                 <property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets</propert

                                 <property name="serviceBindingValueSourceConfig"><inject bean="JBossWebConnectorXSLTConfig"/></property>

                              </bean>

                   

                   

                  Thanks

                  • 6. Re: Jboss 5.1.0 shutdown automatically
                    kuldeep11

                    Make changes to server.xml file

                    File location : $JBOSS_HOME/server/default/deploy/jbossweb.sar/server.xml

                    from

                    <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"

                                   connectionTimeout="20000" redirectPort="8443" />

                    to

                    <Connector protocol="HTTP/1.1" port="80" address="${jboss.bind.address}"

                                   connectionTimeout="20000" redirectPort="8443" />

                    • 7. Re: Jboss 5.1.0 shutdown automatically
                      akmittal

                      Sorry for replying late ,I tried as you as said but after that my server remains in starting state for some time even after deploying the application and then goes down without any error . I know its strange .