Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make Catalina the web container

 
Sundar Rajan
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just now installed the jboss-3.0.0_tomcat-4.0.3 server with embedded tomcat. Now I want to deploy an application in the embedded Tomcat container.I am able to start JBoss with out any exceptions on the console . All jar files are loaded. It even shows that Tomcat has been enabled.See the console log below
16:46:12,836 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/
tomcat-ajp.jar
16:46:12,868 INFO [MainDeployer] Successfully completed deployment of package: file:/C:/jboss-3.0.0_tomcat-4.0.3/catali
na/server/lib/tomcat-ajp.jar
16:46:13,352 INFO [EmbeddedCatalinaServiceSX] Creating
16:46:13,352 INFO [EmbeddedCatalinaServiceSX] Created
16:46:13,368 INFO [EmbeddedCatalinaServiceSX] Starting
16:46:13,368 INFO [MainDeployer] Adding deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@358f03
16:46:15,664 INFO [STDOUT] Apache Tomcat/4.0.3
16:46:15,696 INFO [Engine] HttpConnector Opening server socket on all host IP addresses
16:46:15,696 INFO [Engine] HttpConnector[8080] Starting background thread
16:46:16,149 INFO [Engine] HttpProcessor[8080][0] Starting background thread
16:46:16,164 INFO [Engine] HttpProcessor[8080][1] Starting background thread
16:46:16,164 INFO [Engine] HttpProcessor[8080][2] Starting background thread
16:46:16,164 INFO [EmbeddedCatalinaServiceSX] OK
16:46:16,180 INFO [EmbeddedCatalinaServiceSX] Started
16:46:16,180 INFO [MainDeployer] Successfully completed deployment of package: file:/C:/jboss-3.0.0_tomcat-4.0.3/server
/default/deploy/tomcat4-service.xml
But when I fire the following URL from the browser, i get error 500.
http://localhost:8080/
By the way on which port is Jetty listening and how do I disable it, if it is listening on port 8080?

Any suggestions?
Sundar
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic