1 2 Previous Next 24 Replies Latest reply on Sep 10, 2009 3:02 AM by Vishnu vardhan

    JBOSS 5.1.0 Not accessible from browser

    Vishnu vardhan Newbie

      Hi

      I have installed JBOSS 5.1.0 on linux machine

      I started jboss with command

      sh run.sh -c all
      and this started fine and i get the below message on the linux console
      08:23:57,345 INFO [TomcatDeployment] deploy, ctxPath=/admin-console
      08:23:57,395 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
      08:23:59,284 INFO [TomcatDeployment] deploy, ctxPath=/
      08:23:59,334 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
      08:23:59,474 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      08:23:59,494 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      08:23:59,504 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 43s:298ms
      
      



      But when i go to the browser and try http://<Machine ip address> :8080
      it cannot find the page

      now i go to the linux console of the same machine and then try
      $ wget http://<machine ipaddress>:20018
       --07:31:00-- http://<machine ipaddress>:20018/
       => `index.html.3'
       Resolving tightlinkqa.mis.cypress.com... 172.16.2.220
       Connecting to tightlinkqa.mis.cypress.com|172.16.2.220|:20018... failed: Connection refused.


      i get error as connection refused

      after this i try with local ipaddress as below

      $ wget http://127.0.0.1:20018
      --07:31:14-- http://127.0.0.1:20018/
       => `index.html.3'
      Connecting to 127.0.0.1:20018... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 1,748 (1.7K) [text/html]
      
      100%[=============================================================================================>] 1,748 --.--K/s
      
      07:31:14 (341.41 KB/s) - `index.html.3' saved [1748/1748]



      And this time it is successful

      it works with the localhost , but does not work with machine ipaddress

      Some body please help me on this. Why i am not able to access the jboss 5.1.0 from the web console.

      Thanks
      Vishnu



        • 1. Re: JBOSS 5.1.0 Not accessible from browser
          Vishnu vardhan Newbie

          Sorry i mentioned

          20018
          , its
          8080
          not
          20018


          Please help me in resolving this issue. i think this is a minor fix


          • 2. Re: JBOSS 5.1.0 Not accessible from browser
            Peter Johnson Master

            You posted this line from the console log:

            08:23:59,474 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

            This means that JBoss AS is binding to 127.0.0.1 (localhost). Thus it will accept input only from localhost (e.g. http://localhost:8080).

            See this: https://www.jboss.org/community/wiki/JBoss42FAQ

            • 4. Re: JBOSS 5.1.0 Not accessible from browser
              Vishnu vardhan Newbie

              Fanstastic , its working now

              I started the server as sh run.sh -c all -b 0.0.0.0

              and it works perfect

              • 5. Re: JBOSS 5.1.0 Not accessible from browser
                Vishnu vardhan Newbie

                Hi Peter

                After deploying the ear file i get the following error

                Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfszip:/usr/local/jboss-5.1.0.GA/server/all/deploy/tightlink.ear/tlservice.war/WEB-INF/web.xml[760,11]


                But the same ear file was working fine in jboss 4.0.4


                • 6. Re: JBOSS 5.1.0 Not accessible from browser
                  Vishnu vardhan Newbie

                  Hi Peter

                  Below is the web.xml , please let me know what's wrong with it

                  <!--
                  
                   $Source: /home/cvsroot/srcroot/weblogic7/web.xml,v $
                  
                   $Revision: 1.18 $
                  
                   $Date: 2003/07/30 23:44:30 $
                  
                  -->
                  
                  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
                  
                  <web-app>
                  
                  
                  
                   <display-name>tlservice</display-name>
                  
                  
                  
                   <!-- =================================================== -->
                  
                   <!-- TightLink's Servlets -->
                  
                   <!-- =================================================== -->
                  
                   <!-- The ServiceCheckServlet is called by the F5 load balancer to check whether a server is available -->
                  
                   <servlet>
                  
                   <servlet-name>ServiceCheckServlet</servlet-name>
                  
                   <servlet-class>com.tlc.admin.ServiceCheckServlet</servlet-class>
                  
                   <init-param>
                  
                   <param-name>datasources</param-name>
                  
                   <param-value>jdbc/tldatasource,jdbc/tlejbdatasource</param-value>
                  
                   </init-param>
                  
                   <init-param>
                  
                   <param-name>test_table</param-name>
                  
                   <param-value>CONNTEST</param-value>
                  
                   </init-param>
                  
                   </servlet>
                  
                  
                  
                   <servlet>
                  
                   <servlet-name>DefaultServlet</servlet-name>
                  
                   <servlet-class>com.tlc.admin.DefaultServlet</servlet-class>
                  
                   </servlet>
                  
                  
                  
                   <servlet>
                  
                   <servlet-name>AttachMgr</servlet-name>
                  
                   <servlet-class>com.tlc.am.AttachMgrServlet</servlet-class>
                  
                   </servlet>
                  
                  
                  
                   <servlet>
                  
                   <servlet-name>TLCOClientAdmin</servlet-name>
                  
                   <servlet-class>com.tlc.admin.TLCOClientAdmin</servlet-class>
                  
                   <!--<load-on-startup>1</load-on-startup>-->
                  
                   </servlet>
                  
                  
                  
                   <servlet>
                  
                   <servlet-name>ViewFile</servlet-name>
                  
                   <servlet-class>com.tlc.utils.ViewFile</servlet-class>
                  
                   </servlet>
                  
                  
                  
                   <servlet>
                  
                   <servlet-name>jspell</servlet-name>
                  
                   <servlet-class>com.tlc.spell.servlet.JSpellServlet</servlet-class>
                  
                   </servlet>
                  
                  
                  
                   <servlet>
                  
                   <servlet-name>IAdmin</servlet-name>
                  
                   <servlet-class>com.tlc.isupport.IAdmin</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>INAdmin</servlet-name>
                  
                   <servlet-class>com.tlc.isupport.INAdmin</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>IKBase</servlet-name>
                  
                   <servlet-class>com.tlc.kbase.IKBase</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>XKBase</servlet-name>
                  
                   <servlet-class>com.tlc.kbase.XKBase</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>IKBAdmin</servlet-name>
                  
                   <servlet-class>com.tlc.kbase.IKBAdmin</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>IKBReIndex</servlet-name>
                  
                   <servlet-class>com.tlc.kbase.IKBReIndex</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>IReport</servlet-name>
                  
                   <servlet-class>com.tlc.report.IReport</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>ISupport</servlet-name>
                  
                   <servlet-class>com.tlc.isupport.ISupport</servlet-class>
                  
                   </servlet>
                  
                  
                   <servlet>
                  
                   <servlet-name>XSupport</servlet-name>
                  
                   <servlet-class>com.tlc.xsupport.XSupport</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>GCConfig</servlet-name>
                  
                   <servlet-class>com.tlc.guitool.GCConfig</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>GCListServlet</servlet-name>
                  
                   <servlet-class>com.tlc.guitool.GCListServlet</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>GCFormConfig</servlet-name>
                  
                   <servlet-class>com.tlc.guitool.GCFormConfig</servlet-class>
                  
                   </servlet>
                  
                   <servlet>
                  
                   <servlet-name>GCPageConfig</servlet-name>
                  
                   <servlet-class>com.tlc.guitool.GCPageConfig</servlet-class>
                  
                   </servlet>
                  
                  
                  
                  
                  
                  <!-- =================================================== -->
                  
                  <!-- TIGHTLINK's Servlet mappings -->
                  
                  <!-- =================================================== -->
                  
                  
                  
                  
                  
                   <!-- The ServiceCheckServlet is called by the F5 load balancer to check whether a server is available -->
                  
                   <servlet-mapping>
                  
                   <servlet-name>ServiceCheckServlet</servlet-name>
                  
                   <url-pattern>/ServiceCheck</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>DefaultServlet</servlet-name>
                  
                   <url-pattern>/</url-pattern>
                  
                   </servlet-mapping>
                  
                   <servlet-mapping>
                  
                   <servlet-name>DefaultServlet</servlet-name>
                  
                   <url-pattern>*.html</url-pattern>
                  
                   </servlet-mapping>
                  
                   <servlet-mapping>
                  
                   <servlet-name>DefaultServlet</servlet-name>
                  
                   <url-pattern>*.htm</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>jspell</servlet-name>
                  
                   <url-pattern>/jspell</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>ViewFile</servlet-name>
                  
                   <url-pattern>/ViewFile/*</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>TLCOClientAdmin</servlet-name>
                  
                   <url-pattern>/TLCOClientAdmin</url-pattern>
                  
                   </servlet-mapping>
                  
                   <servlet-mapping>
                  
                   <servlet-name>TLCOClientAdmin</servlet-name>
                  
                   <url-pattern>/TLAdmin</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>AttachMgr</servlet-name>
                  
                   <url-pattern>/AttachMgr</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>IAdmin</servlet-name>
                  
                   <url-pattern>/IAdmin</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>INAdmin</servlet-name>
                  
                   <url-pattern>/INAdmin</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>XSupport</servlet-name>
                  
                   <url-pattern>/XSupport</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>ISupport</servlet-name>
                  
                   <url-pattern>/ISupport</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>IReport</servlet-name>
                  
                   <url-pattern>/IReport</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>IKBAdmin</servlet-name>
                  
                   <url-pattern>/IKBAdmin</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>IKBReIndex</servlet-name>
                  
                   <url-pattern>/IKBReIndex</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>IKBase</servlet-name>
                  
                   <url-pattern>/IKBase</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>XKBase</servlet-name>
                  
                   <url-pattern>/XKBase</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>GCConfig</servlet-name>
                  
                   <url-pattern>/GCConfig</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>GCListServlet</servlet-name>
                  
                   <url-pattern>/GCListServlet</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>GCFormConfig</servlet-name>
                  
                   <url-pattern>/GCFormConfig</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <servlet-mapping>
                  
                   <servlet-name>GCPageConfig</servlet-name>
                  
                   <url-pattern>/GCPageConfig</url-pattern>
                  
                   </servlet-mapping>
                  
                  
                  
                   <session-config>
                  
                   <session-timeout>480</session-timeout>
                  
                   </session-config>
                  
                  
                  
                  <!-- =================================================== -->
                  
                   <!-- welcome -->
                  
                   <welcome-file-list>
                  
                   <welcome-file>index.html</welcome-file>
                  
                   </welcome-file-list>
                  
                  
                  
                  <!-- =================================================== -->
                  
                   <!-- MIME MAPPINGS -->
                  
                   <mime-mapping>
                  
                   <extension>css</extension>
                  
                   <mime-type>text/css</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>gif</extension>
                  
                   <mime-type>image/gif</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>htm</extension>
                  
                   <mime-type>text/html</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>html</extension>
                  
                   <mime-type>text/html</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>jpeg</extension>
                  
                   <mime-type>image/jpeg</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>jpg</extension>
                  
                   <mime-type>image/jpeg</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>js</extension>
                  
                   <mime-type>application/javascript</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>pdf</extension>
                  
                   <mime-type>application/pdf</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>png</extension>
                  
                   <mime-type>image/png</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>wml</extension>
                  
                   <mime-type>text/vnd.wap.wml</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>wmlc</extension>
                  
                   <mime-type>application/vnd.wap.wmlc</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>wmls</extension>
                  
                   <mime-type>text/vnd.wap.wmlscript</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>wmlsc</extension>
                  
                   <mime-type>application/vnd.wap.wmlscript</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <mime-mapping>
                  
                   <extension>xml</extension>
                  
                   <mime-type>text/xml</mime-type>
                  
                   </mime-mapping>
                  
                  
                  
                   <!-- ========= Resource references ============ -->
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/tltxdatasource</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/tldatasource</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/TLEJBDataSource</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/TLTxDS</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/TLAlarmDS</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/TLFinderDataSource</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/TLObjectDS</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                   <resource-ref>
                  
                   <res-ref-name>jdbc/TLReportDataSource</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                  
                   <ejb-ref >
                   <description>[CDATA[The CMP Beans Facade]]</description>
                   <ejb-ref-name>ejb/ReportBean</ejb-ref-name>
                   <ejb-ref-type>Session</ejb-ref-type>
                   <home>com.tlc.report.ReportHome</home>
                   <remote>com.tlc.report.Report</remote>
                   </ejb-ref>
                  
                  
                   <resource-ref>
                  
                   <res-ref-name>tlejbdatasource</res-ref-name>
                  
                   <res-type>javax.sql.DataSource</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                  
                   <resource-ref>
                  
                   <res-ref-name>EventConnectionFactory</res-ref-name>
                  
                   <res-type>javax.jms.TopicConnectionFactory</res-type>
                  
                   <res-auth>Container</res-auth>
                  
                   </resource-ref>
                  
                  
                  
                  
                  
                  <!-- ===========================================================
                  
                   Precompilation of JSP
                  
                   this only works if the jsp does not have dynamic dependencies
                  
                   which we have in TightLink's app.
                  
                   =========================================================== -->
                  
                  <!--
                  
                   <context-param>
                  
                   <param-name>weblogic.jsp.precompile</param-name>
                  
                   <param-value>true</param-value>
                  
                   </context-param>
                  
                  -->
                  
                  
                  
                  <!-- ===========================================================
                  
                   User from Administrator group can login to TLCOClientAdmin
                  
                   =========================================================== -->
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  </web-app>




                  • 7. Re: JBOSS 5.1.0 Not accessible from browser
                    Peter Johnson Master

                    JBoss AS 5.x is very strict about the ordering of elements in XML files, unlike 4.x which was lenient on element ordering. You need to correct your web.xml - the proper ordering on the elements under web-app was given in the error message.

                    Or you could add -Dxb.builder.useUnorderedSequence=true to JAVA_OPTS in run.conf

                    • 8. Re: JBOSS 5.1.0 Not accessible from browser
                      Vishnu vardhan Newbie

                      i am still getting the same error

                      even after adding -Dxb.builder.useUnorderedSequence=true in run.conf as below

                      if [ "x$JAVA_OPTS" = "x" ]; then
                       JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dxb.builder.useUnorderedSequence=true "
                      fi



                      Caused by: org.xml.sax.SAXException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfszip:/usr/local/jboss-5.1.0.GA/server/all/deploy/tightlink.ear/tlservice.war/WEB-INF/web.xml[760,11]



                      • 9. Re: JBOSS 5.1.0 Not accessible from browser
                        jaikiran pai Master

                        Use a xml editor which also validates against the xsd/dtd. That will show you the exact errors in the web.xml.

                        • 10. Re: JBOSS 5.1.0 Not accessible from browser
                          Vishnu vardhan Newbie

                          Cool stuff , i fixed my web.xml and all other xml file and i got rid of that error

                          Right now i get a different error when i start the Jboss

                          07:47:59,138 ERROR [AbstractKernelController] Error installing to Start: name=jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor state=Create mode=Manual requiredState=Installed
                          org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
                           at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
                           at org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.load(TrapEmitter.java:238)
                          
                          
                          


                          Please help

                          • 11. Re: JBOSS 5.1.0 Not accessible from browser
                            jaikiran pai Master

                            Please post the entire exception stacktrace

                            • 12. Re: JBOSS 5.1.0 Not accessible from browser
                              Vishnu vardhan Newbie

                              Below is the stack trace

                              08:10:31,025 ERROR [AbstractKernelController] Error installing to Start: name=jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor state=Create mode=Manual requiredState=Installed
                              org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
                               at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
                               at org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.load(TrapEmitter.java:238)
                               at org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.start(TrapEmitter.java:104)
                               at org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService.startService(SnmpAgentService.java:491)
                               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
                               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
                               at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:597)
                               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                               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:668)
                               at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
                               at $Proxy38.start(Unknown Source)
                               at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                               at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                               at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                               at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                               at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                               at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                               at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                               at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                               at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                               at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                              
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                               at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                               at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                               at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                               at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                               at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                               at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
                               at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
                               at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
                               at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
                               at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                               at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                               at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                               at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
                               at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
                               at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
                               at org.jboss.Main.boot(Main.java:221)
                               at org.jboss.Main$1.run(Main.java:556)
                               at java.lang.Thread.run(Thread.java:619)
                              Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
                               at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
                               at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
                               at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
                               ... 66 more
                              Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
                               at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
                               at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
                               ... 68 more
                              


                              • 13. Re: JBOSS 5.1.0 Not accessible from browser
                                jaikiran pai Master

                                 

                                Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.



                                Are you packaging any xerces or other xml jar files within your application? If yes, try removing them. Might be related to http://www.jboss.org/community/wiki/WhydoigetjavalangClassCastExceptionorgapachexercesparsersXIncludeAwareParserConfigurationinAS-5

                                • 14. Re: JBOSS 5.1.0 Not accessible from browser
                                  Vishnu vardhan Newbie

                                  Hi jaikiran

                                  Please help me , i am running out of time ,

                                  Please..Please..Please..

                                  Thanks
                                  Vishnu

                                  1 2 Previous Next