jQuery in Action, 2nd edition*
The moose likes JBoss/WildFly and the fly likes Servlets on APACHE/JBOSS not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Servlets on APACHE/JBOSS not working" Watch "Servlets on APACHE/JBOSS not working" New topic
Author

Servlets on APACHE/JBOSS not working

Chris Palm
Greenhorn

Joined: Mar 07, 2005
Posts: 6
Hi All,
I'm hoping someone has seen this output before from JBOSS and knows what it means.
I'm deploying a my WAR file for a servlet to access my sesssion beans.
The WAR file appears to deploy ok, but the following output occurs right
after it is deployed:
13:53:05,927 INFO [Servlet] Registration is not done -> stop
13:53:05,942 INFO [Servlet] Registration is not done -> stop
13:53:05,958 INFO [Servlet] Registration is not done -> stop

I'm using Jbuilder2005 to create the WAR and associated XML files and deploying
on JBOSS 4.0.1 SP1.

Basically I can access my static html page that takes post input and sends
it to the servlet. The servlet doesn't log anything nor do I see the init
logging occur, so I assume that Jboss just is not deploying my WAR file.

Any ideas what this output could mean?

Thanks,
Chris
brad balmer
Ranch Hand

Joined: Mar 08, 2004
Posts: 57
Why don't you post your web.xml. That may be helpful.
Chris Palm
Greenhorn

Joined: Mar 07, 2005
Posts: 6
Ok, here is my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!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>InfoWebModule1</display-name>
<servlet>
<servlet-name>infoserverPortal</servlet-name>
<servlet-class>infoserver.InfoServerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>infoserverPortal</servlet-name>
<url-pattern>/infoserverPortal</url-pattern>
</servlet-mapping>
</web-app>

And here is my jboss-web.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE jboss-web (View Source for full doctype...)>
- <jboss-web>
<context-root>InfoWebModule1</context-root>
</jboss-web>

Any help is greatly appreciated, this is driving me nuts!
Thanks,
Chris
 
 
subject: Servlets on APACHE/JBOSS not working
 
Similar Threads
Axis2 1,4 Exception in jboss 4.2.2
I do not understand "Error installing to Real..... is already registered"
Message driven beans are not bound into remote jndi
Moving JCA CCI (not DataSource) from Weblogic to JBoss
Urgent !!! Error while Configuring External Context in Jboss-3.2.5