0 Replies Latest reply on Apr 14, 2008 11:55 AM by siva_boss

    Unable to run a simple jsp file using jboss server

    siva_boss

      I am using eclipse-jee-europa-winter-win32 along with Jboss application server.



      In Jboss 4.0.0

      The server gets started but when i try to run a simple jsp or html file
      it says Unable to publish on server ... Java.lang.NullpointerException


      01:05:24,281 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/Documents and

      Settings/Administrator/Desktop/jboss-4.0.0/jboss-4.0.0/server/default/deploy/jmx-console.war/
      01:05:24,875 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/Documents and

      Settings/Administrator/Desktop/jboss-4.0.0/jboss-4.0.0/server/default/deploy/management/web-conso

      le.war/
      01:05:25,500 INFO [Engine] StandardContext[/web-console]J2EEFolder: Failed to init plugin,

      C:\Documents%20and%20Settings\Administrator\Desktop\jboss-4.0.0\jboss-4.0.0\server\default\deploy

      \management\web-console.war\WEB-INF\classes\J2EEFolder.bsh
      01:05:25,656 INFO [Engine] StandardContext[/web-console]SystemFolder: Failed to init plugin,

      C:\Documents%20and%20Settings\Administrator\Desktop\jboss-4.0.0\jboss-4.0.0\server\default\deploy

      \management\web-console.war\WEB-INF\classes\SystemFolder.bsh
      01:05:26,312 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      01:05:26,703 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      01:05:26,750 INFO [JkMain] Jk running ID=0 time=0/188 config=null
      01:05:26,765 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0

      date=200409200418)] Started in 1m:1s:890ms
      01:05:31,843 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml





      In jboss4.0.5.GA

      I am unable to start the server itself. The error is

      01:10:36,421 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@b54795a5 { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/http-invoker.sar/invoker.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/http-invoker.sar/invoker.war/
      altDD: null
      lastDeployed: 1052854825937
      lastModified: 1161022302000
      mbeans:

      org.jboss.deployment.DeploymentInfo@e00b2c54 { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
      altDD: null
      lastDeployed: 1052854825937
      lastModified: 1161606630000
      mbeans:

      org.jboss.deployment.DeploymentInfo@5c60b5ab { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      altDD: null
      lastDeployed: 1052854825937
      lastModified: 1161606630000
      mbeans:

      org.jboss.deployment.DeploymentInfo@c6164680 { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/management/console-mgr.sar/web-console.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/management/console-mgr.sar/web-console.war/
      altDD: null
      lastDeployed: 1052854825953
      lastModified: 1161606630000
      mbeans:

      org.jboss.deployment.DeploymentInfo@e096f246 { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
      altDD: null
      lastDeployed: 1052854836421
      lastModified: 1161606630000
      mbeans:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@5f22a4cb { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/jbossws.beans }
      deployer: org.jboss.kernel.deployment.jboss.JBossBeanDeployer@940f82
      status: null
      state: FAILED
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/jbossws.beans
      altDD: null
      lastDeployed: 1052854821640
      lastModified: 1052854822000
      mbeans:

      org.jboss.deployment.DeploymentInfo@87ddaa33 { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/ }
      deployer: org.jboss.deployment.SARDeployer@1a06e38
      status: null
      state: FAILED
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/META-INF/jboss-service.xml
      altDD: null
      lastDeployed: 1052854821640
      lastModified: 1161606630000
      mbeans:

      org.jboss.deployment.DeploymentInfo@e096f246 { url=file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Documents and Settings/Administrator/Desktop/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
      altDD: null
      lastDeployed: 1052854836421
      lastModified: 1161606630000
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web:service=WebServer
      State: FAILED
      Reason: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      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

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web:service=WebServer
      State: FAILED
      Reason: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      Depends On Me:
      jboss.mq:service=InvocationLayer,type=HTTP


      01:10:36,718 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 41s:984ms
      01:11:06,046 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml

      Help me out from this problem.......