[jboss-user] [Beginner's Corner] - JBoss 6 Invoker Servlet

Carlos Oliva do-not-reply at jboss.com
Fri Mar 25 07:35:22 EDT 2011


Carlos Oliva [http://community.jboss.org/people/ramboid] created the discussion

"JBoss 6 Invoker Servlet"

To view the discussion, visit: http://community.jboss.org/message/595561#595561

--------------------------------------------------------------
Is there a settign that woudl let my war deploymnets use the invoker servlet.  In JBoss5 I was able to use it by editing the context.xml file and addin a mapping in the web.xml of the war.  My web.xml looks somehting like this:
<servlet>
<servlet-name>ZZRead XML</servlet-name>
<servlet-class>azzreadxml</servlet-class>
</servlet>
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
</web-app>

 When I deploy the war file, I get the following error:
EPLOYMENTS IN ERROR:
Deployment "vfs:///usr/local/jboss-6.0.0.Final/server/default/deploy/obsolete.war" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.apache.catalina.servlets.InvokerServlet from BaseClassLoader at 5c393d95{vfs:///usr/local/jboss-6.0.0.Final/server/default/deploy/obsolete.war}
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
 :-/
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/595561#595561]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110325/3c6a5a54/attachment-0001.html 


More information about the jboss-user mailing list