Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No Context Configured Error(Apache+Tomcat+JBoss)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi Experts,

Greetings!

I am getting the same error - "Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this reques"

Can you please help me/guide me in this.

My Directory structure is

/kithany (top level dir)
/kithany/index.html
/kithany/WEB-INF (dir)
/kithany/WEB-INF/web.xml
/kithany/WEB-INF/classes (servlets/classes)
/kithany/WEB-INF/lib (jars)

My web.xml file is:
---------------------------------------------------------
<?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?>
<!DOCTYPE web-app
PUBLIC &quot;-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN&quot;
&quot;<web-app>
</web-app>
---------------------------------------------------------

I then create the WAR files as follows:
#cd /kithany
#jar -cvf kithany.war .

This creates kithany.war file which I then put in /jboss/server/default/deploy directory
I then start Jboss(Tomcat) and then start Apache and then test it using ths following:
on which the the browser thows &quot;Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request&quot;

Do I need to configure anything else?

Would really appreciate if you could throw light on this.

THANKS!

Manoj G. Kithany
manojkithany108@hotmail.com
 
Try to add the followings nodes (one for each servlet you have) to your web.xml inside the <webapp> node :
Code:
   <servlet>
      <servlet-name>
your servlet name (ie &quot;myClass&quot;)
Code:
</servlet-name>
      <servlet-class>
the path in packages for your servlet name (ie &quot;com.myapp.myClass&quot;)
Code:
</servlet-class>
   </servlet>

Water is not bad as soon as it stays out human body ;-)
 
Hi Mr. Targol,

THANKS for your reply.

I do not have any SERVLETS and so have not included it into web.xml. Please help me out.

THANKS again!

Manoj G. Kithany
manojkithany108@hotmail.com
 
So what does your .war contains ? only jsp pages ?
Did you try to type the following &quot;http:ip_add:8080/&quot; alone to see if the samples provided by tomcat work or not. Water is not bad as soon as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top