3 Replies Latest reply on Nov 4, 2003 2:40 PM by vineetb

    Panther JBoss - embedded Tomcat not working

    vineetb

      I am trying to follow instructions to run xPetstore

      file:///Developer/Examples/J2EE/xpetstore/Readme.html

      After following the steps I try to hit

      http://localhost:8080/xpetstore-ejb/index.jsp

      Which gives me a "Cannot connect to server"

      On scanning all open ports - there is no service running on port 8080??

      This used to work before...

      - vineet

        • 1. Re: Panther JBoss - embedded Tomcat not working
          darranl

          Can you try starting JBoss without anything being deployed and check the log produced for any errors.

          • 2. Re: Panther JBoss - embedded Tomcat not working
            vineetb

            I get this in the server.log when I run with the default configuration.

            2003-11-04 13:36:47,590 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
            Cause: Incomplete Deployment listing:
            Packages waiting for a deployer:
            [org.jboss.deployment.DeploymentInfo@9ee41957 { url=file:/Library/JBoss/3.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
            deployer: null
            status: Starting
            state: START_SUBDEPLOYMENTS
            watch: file:/Library/JBoss/3.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
            lastDeployed: 1067970990520
            lastModified: 1067398833000
            mbeans:
            , org.jboss.deployment.DeploymentInfo@be8994f2 { url=file:/Library/JBoss/3.2/server/default/deploy/jmx-console.war/ }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/Library/JBoss/3.2/server/default/deploy/jmx-console.war/
            lastDeployed: 1067971007441
            lastModified: 1067398833000
            mbeans:
            , org.jboss.deployment.DeploymentInfo@24471308 { url=file:/Library/JBoss/3.2/server/default/deploy/management/web-console.war }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/Library/JBoss/3.2/server/default/deploy/management/web-console.war
            lastDeployed: 1067971007547
            lastModified: 1067971007000
            mbeans:
            , org.jboss.deployment.DeploymentInfo@6c6da1a3 { url=file:/Library/JBoss/3.2/deploy/welcome.war/ }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/Library/JBoss/3.2/deploy/welcome.war/
            lastDeployed: 1067971007557
            lastModified: 1067398833000
            mbeans:
            ]Incompletely deployed packages:
            [org.jboss.deployment.DeploymentInfo@be8994f2 { url=file:/Library/JBoss/3.2/server/default/deploy/jmx-console.war/ }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/Library/JBoss/3.2/server/default/deploy/jmx-console.war/
            lastDeployed: 1067971007441
            lastModified: 1067398833000
            mbeans:
            , org.jboss.deployment.DeploymentInfo@24471308 { url=file:/Library/JBoss/3.2/server/default/deploy/management/web-console.war }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/Library/JBoss/3.2/server/default/deploy/management/web-console.war
            lastDeployed: 1067971007547
            lastModified: 1067971007000
            mbeans:
            , org.jboss.deployment.DeploymentInfo@6c6da1a3 { url=file:/Library/JBoss/3.2/deploy/welcome.war/ }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/Library/JBoss/3.2/deploy/welcome.war/
            lastDeployed: 1067971007557
            lastModified: 1067398833000
            mbeans:
            ]MBeans waiting for classes:

            MBeans waiting for other MBeans:
            [ObjectName: jboss.web:service=WebServer
            state: CONFIGURED
            I Depend On: jboss:service=TransactionManager
            jboss.security:service=JaasSecurityDomain,domain=RMI+SSL

            Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
            , ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
            state: CONFIGURED
            I Depend On: jboss.mq:service=Invoker
            jboss.web:service=WebServer

            Depends On Me: ]
            2003-11-04 13:36:47,615 INFO [org.jboss.deployment.scanner.URLDeploymentScanner] Started
            2003-11-04 13:36:47,932 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/Library/JBoss/3.2/server/default/conf/jboss-service.xml
            2003-11-04 13:36:47,936 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.2RC2 (build: CVSTag=JBoss_3_2_2_RC2 date=200309130127)] Started in 33s:764ms

            • 3. Re: Panther JBoss - embedded Tomcat not working
              vineetb

              I somehow messed up JBoss/Tomcat.

              On re-installing Application Server dev package I got it to work.

              Watching ant run from Xcode is sweet!!

              - vineet