Spring.war - 404 error : My first attempt at deplying a spri
beyarecords Jun 4, 2008 2:16 PMHi,
I am currently working with Win XP SP1, JDK 1.6.0_06, Jboss 5.0.0.CR1, Spring 2.5.5.
I initially used a standalone version of Tomcat (6.0.16) to test the project. I then simply renamed the main directory from springmvc to springmvc.war and deployed it in Jboss. A 404 error is then issued.
What am I overlooking here? As a note, I have read about a jboss-spring deployer jar but am not sure whether this needs to be deployed in conjunction with the spring.war?
My project structure is as follows:
springmvc.war/ -jsp/ --index.jsp WEB-INF/ -web.xml -lib/ --commons-logging.jar --jstl.jar --servlet-api.jar --spring.jar --spring-webmvc.jar --standard.jar
The error generated in the server logs is as follows:
2008-06-04 18:55:59,234 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Unable to retrieve orb javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559) at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:495) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:345) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112) at org.jboss.web.deployers.WebModule.start(WebModule.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:206) at $Proxy35.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:271) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1394) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:786) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:914) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:836) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:674) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:456) at org.jboss.system.ServiceController.doChange(ServiceController.java:664) at org.jboss.system.ServiceController.start(ServiceController.java:436) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:150) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:108) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1394) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:786) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:914) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:836) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:674) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:456) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:544) at java.lang.Thread.run(Thread.java:619)
Many thanks in advance.