I have the same tomcat issue.
I am in Linux, I goto jboss-tomcat/bin/run.sh to start JBoss3.0-Tomcat.
which appears to be starting the EjbContainer and the Tomcat servlet/jsp container.
However, when I goto check tomcats example directory by going to localhost:8080 or localhost:8080/examples I get the following
Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request
There is not defualt application installed, there for there is not default context root. you have to create an application.
I keep reading this same thread over and over. And the same response is "you need to configure an app" or "you need to make the default context" yet no one has provided a link to the exact documentation that states how to do this. I have the Quick Start Guide in front of me right now. If some one here can tell me Page Number and paragraph where it states how to configure the embedded Tomcat to serve the example apps in Tomcat, I would greatly appreciate it. I am trying to RTFM, but I am not finding the important information.
Yep, the documentation is a bit lacking in detail. However I've been experimenting and have found that you need to deploy your war files to the 'jboss-3.0.0_tomcat-4.0.3\server\default\deploy' directory. Tomcat is on port 8080 not 8083 as the Agent view seems to suggest (or is there another Webserver?).
The upshot is that if you want the Tomcat examples to work then you'll have to create a war from the examples dir, fix up the deployment issues (try to deploy as is and you'll get a couple of errors) and put the war in the deploy dir as above.
I've not tried to fix the deploy errors with examples but have successfully deployed a struts war which was all html pages.
I was able to view the examples in the 'examples.war' archive at:
after I dropped the 'examples.war' file into the
Thanks for the note. I will give that a shot. That has been the most informative post I have read so far. Now I just need to go look up building a WAR. (I am an old school EJB 1.0 guy. I am looking into App Servers to upgrade our app to at least EJB 1.1)
I tried copying my examples directory to the /jboss-3.0.0_tomcat-4.0.3/server/default/deploy directory. I
get the error: Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request, when I tried to go to http://localhost:8080/examples/servlets/index.html.
I also receive a command line error MAPPING configuration error for request URI. Is there something else I have missed doing?
urs suggestion was really useful...
can you tell me why use tomcat and not jetty???
I am developing an application to show case the Java Architecture.
The reason for using the Tomcat is more people know
Tomcat as compared to jetty...
I've installed the JBoss3.0-Tomcat4.0.3 bundle and I created a WAR file to test some HTMLs JSPs and Servlets.
Anything under the root directory inside my WAR file was recognized (HTMLs and JSPs), but none of the subdirectories were, so I couldn't see any of my gifs (under /images) or execute my servlets (under /WEB-INF/classes) and I guess the web.xml (under /WEB-INF) wasn't visible either. I used NETBEANS to create the WAR.
Could someone tell me how to enable those directories and their contents inside JBOSS-TOMCAT?
NOTE: My setup works OK inside NETBEANS and when deployed in TOMCAT-standalone server (without JBOSS).
i just cant wait for the release of the documentation for JBoss 3.0
I've been having the exact same problems but not only with .war files but also .ear files. They can see the top level stuff but can't see into my WEB-INF directory or my META-INF directory. I've created and deployed my wars from both Linux and Windoze 2000 and have used both Tomcat and Jetty to no effect.
I find this very annoying as I am following the Sun standard specifically and it is not working.