Re: Queries on Embedded Tomcat Server

2004-12-01 Thread Mohamed Rafi S
Hi, Even when I dont do a appLoader.stopTomcat();, it goes down and is no longer accessible. Thanks, Mohamed Rafi S Hi, Just my silly guess, Did you do this: tomcat.startTomcat(); ... Thread.sleep(1); tomcat.stopTomcat(); That is you call stopTomcat() right

Queries on Embedded Tomcat Server

2004-11-30 Thread Mohamed Rafi S
Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java, I am doing a appLoader.startTomcat(). However,

Re: Queries on Embedded Tomcat Server

2004-11-30 Thread Mohamed Rafi S
? Thanks, Mohamed Rafi S Mohamed Rafi S wrote: Hi All, I need to run a Embedded Tomcat server in my application. For this, I checked the sample code and docs, and did the needful. My application's main class is ApplicationLoader.java, and in the main() method of my ApplicationLoader.java, I am

Error while starting up Embedded tomcat server

2004-11-19 Thread Mohamed Rafi S
the required jars in the classpath, and verified this too. Also, when I start the Tomcat server through ~/bin/startserver.sh, it comes up without any issue. Any idea on why the error gets thrown while starting through Embedded ? Thanks and Regards Mohamed Rafi S

Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Mohamed Rafi S
) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j ava:3363) I have attached the Embedded Tomcat java source file as well. What am I missing in this ? Any solution or pointers to why this is occurring are most welcome. Thanks and Regards, Mohamed Rafi S //package com.apple.pos; import

Re: Error while trying to start the Embedded Tomcat Server:

2004-11-18 Thread Mohamed Rafi S
) at org.apache.catalina.servlets.DefaultServlet.clinit(DefaultServlet.java :186) ... 17 more Thanks, Mohamed Rafi S Hi, org.apache.catalina.servlets.DefaultServlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j a v a:865) at org.apache.catalina.core.StandardWrapper.load