Re: Tomcat Startup/Shutdown and mod_jk Issues

2005-01-18 Thread Mohd. Jeffry
It seems like something is hogging the port 8080. Did you check wether
there is something listening on port 8080 before you start your new
tomcat?


On Tue, 18 Jan 2005 16:22:12 -0800, David Rickard
<[EMAIL PROTECTED]> wrote:
> System: SunOS 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V440
> Apache: 2.0.52
> Tomcat: 5.5.4
> Connector: jk-1.2.6
> Java: JDK 1.5.0.01
> 
> We're attempting an upgrade from Tomcat 4.1.31 to 5.5.4; we are using JK 1
> as a connector to Apache (due to prior experience and relative simplicity);
> We are encountering three issues:
> 1) During start-up, Tomcat throws the following error messages:
> 
> java.lang.NoSuchMethodError:
> org.apache.naming.NamingContextEnumeration.(Ljava/util/Iterator;)V [
> for each application it attempts to deploy]
> 
> SEVERE: Catalina.start:
> LifecycleException:  Protocol handler start failed: java.net.BindException:
> Address already in use:8080
> [presumably from Tomcat not releasing 8080 properly during previous
> start-up/shut-down cycles]
> 
> 2) During shut-down, Tomcat throws the following error:
> SEVERE: Protocol handler pause failed
> java.lang.NullPointerException
>  at org.apache.jk.server.JkMain.pause(JkMain.java:655)
> 
> 3) The mod_jk.conf file does not build; its entire contents are:
> ## Auto generated on Tue Jan 18 16:24:18 PST 2005##
> 
> 
>LoadModule jk_module
> "/usr/apache/modules/jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-2.0.43_
> native.so"
> 
> 
> JkWorkersFile "/var/apache/tomcat/conf/jk/workers.properties"
> JkLogFile "/var/apache/tomcat/logs/mod_jk.log"
> 
> JkLogLevel emerg
> 
> 
>  ServerName spinach.techbooks.com
> 
> 
> [presumably this is from applications not loading during start-up; but
> could it be from some other cause?]
> 
> --
> 
> David Rickard
> Software Engineer
> 
> TechBooks/GTS
> Your Single Source Solution!
> Los Angeles CA * York, PA * Boston,MA * New Delhi, India
> Visit us on the World Wide Web
> http://www.techbooks.com
> 
> [EMAIL PROTECTED]
> 5650 Jillson St., Los Angeles, CA 90040
> (323) 888-8889 x331
> (323) 888-1849 (Fax)
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat startup error.

2004-11-22 Thread Shapira, Yoav

Hi,
This is not an out-of-the-box Tomcat.  Modify your log4j properties so
that they don't look for a non-existent (or not running) JMS server ;)

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: g k [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 22, 2004 11:16 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat startup error.
>
>Hi
>
>I am new to Tomcat. I have version 5.0.25 installed on my pc. When i
>startup
>tomcat using the startup.bat i get the following error (apologies for
the
>long details).
>
>22-Nov-2004 16:13:53 org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on http-8081
>22-Nov-2004 16:13:54 org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 1762 ms
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardService start
>INFO: Starting service Catalina
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardEngine start
>INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardHost start
>INFO: XML validation disabled
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardHost getDeployer
>INFO: Create Host deployer for direct deployment ( non-jmx )
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Processing Context configuration file URL
>file:C:\jakarta-tomcat-5.0.25\co
>nf\Catalina\localhost\admin.xml
>22-Nov-2004 16:13:55 org.apache.struts.util.PropertyMessageResources

>INFO: Initializing, config='org.apache.struts.util.LocalStrings',
>returnNull=tru
>e
>22-Nov-2004 16:13:55 org.apache.struts.util.PropertyMessageResources

>INFO: Initializing, config='org.apache.struts.action.ActionResources',
>returnNul
>l=true
>22-Nov-2004 16:13:56 org.apache.struts.util.PropertyMessageResources

>INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources',
>retur
>nNull=true
>22-Nov-2004 16:14:00 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Processing Context configuration file URL
>file:C:\jakarta-tomcat-5.0.25\co
>nf\Catalina\localhost\balancer.xml
>22-Nov-2004 16:14:00 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Processing Context configuration file URL
>file:C:\jakarta-tomcat-5.0.25\co
>nf\Catalina\localhost\manager.xml
>22-Nov-2004 16:14:01 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Installing web application at context path /jsp-examples from URL
>file:C:\
>jakarta-tomcat-5.0.25\webapps\jsp-examples
>22-Nov-2004 16:14:01 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Installing web application at context path /legacypas from URL
>file:C:\jak
>arta-tomcat-5.0.25\webapps\legacypas
>16:14:02,806 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:88]
-
>DEBUG
>- MessageHandler Using the following Properties :
>16:14:02,836 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:89]
-
>DEBUG
>- Queue Name : et_LegacyAsyncWebRequest
>16:14:02,836 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:90]
-
>DEBUG
>- Port Number : 24056
>16:14:02,836 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:91]
-
>DEBUG
>- Host Name : localhost
>16:14:08,284 [MessageAsyncHandler.java] [MessageAsyncHandler]
[init:118] -
>ERROR
>- JMS Exception Encountered: javax.jms.JMSException: Could not connect
to
>host:
>localhost, port: 24056
>Log4j : /tmp/log4j/log4j.properties
>22-Nov-2004 16:14:09 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Installing web application at context path  from URL
>file:C:\jakarta-tomca
>t-5.0.25\webapps\ROOT
>22-Nov-2004 16:14:09 org.apache.commons.modeler.Registry
registerComponent
>SEVERE: Null component
>Catalina:type=JspMonitor,WebModule=//localhost/,J2EEAppli
>cation=none,J2EEServer=none
>22-Nov-2004 16:14:09 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Error installing
>org.apache.commons.logging.LogConfigurationException:
>java.lang.ClassNotFoundExc
>eption: org.apache.commons.logging.impl.Log4jFactory
>at
org.apache.commons.logging.LogFactory$2.run(LogFactory.java:609)
>at java.security.AccessController.doPrivileged(Native Method)
>at
>org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:561)
>
>at
>org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:298)
>
>at
>org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
>at
>org.apache.catalina.session.ManagerBase.(ManagerBase.java:63)
>at
>org.apache.catalina.session.StandardManager.(StandardManager.ja
>va:64)
>at
>org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig
>.java:315)
>at
>org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
>5)
>at
>org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
>g.java:216)
>at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
>eSupport.java:119)
>at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:4
>2

RE: Tomcat startup error.

2004-11-22 Thread Shapira, Yoav

... and to add to my previous message, also check out the Tomcat FAQ's
section on logging with log4j and commons-logging.

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: g k [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 22, 2004 11:16 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat startup error.
>
>Hi
>
>I am new to Tomcat. I have version 5.0.25 installed on my pc. When i
>startup
>tomcat using the startup.bat i get the following error (apologies for
the
>long details).
>
>22-Nov-2004 16:13:53 org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on http-8081
>22-Nov-2004 16:13:54 org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 1762 ms
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardService start
>INFO: Starting service Catalina
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardEngine start
>INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardHost start
>INFO: XML validation disabled
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardHost getDeployer
>INFO: Create Host deployer for direct deployment ( non-jmx )
>22-Nov-2004 16:13:54 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Processing Context configuration file URL
>file:C:\jakarta-tomcat-5.0.25\co
>nf\Catalina\localhost\admin.xml
>22-Nov-2004 16:13:55 org.apache.struts.util.PropertyMessageResources

>INFO: Initializing, config='org.apache.struts.util.LocalStrings',
>returnNull=tru
>e
>22-Nov-2004 16:13:55 org.apache.struts.util.PropertyMessageResources

>INFO: Initializing, config='org.apache.struts.action.ActionResources',
>returnNul
>l=true
>22-Nov-2004 16:13:56 org.apache.struts.util.PropertyMessageResources

>INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources',
>retur
>nNull=true
>22-Nov-2004 16:14:00 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Processing Context configuration file URL
>file:C:\jakarta-tomcat-5.0.25\co
>nf\Catalina\localhost\balancer.xml
>22-Nov-2004 16:14:00 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Processing Context configuration file URL
>file:C:\jakarta-tomcat-5.0.25\co
>nf\Catalina\localhost\manager.xml
>22-Nov-2004 16:14:01 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Installing web application at context path /jsp-examples from URL
>file:C:\
>jakarta-tomcat-5.0.25\webapps\jsp-examples
>22-Nov-2004 16:14:01 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Installing web application at context path /legacypas from URL
>file:C:\jak
>arta-tomcat-5.0.25\webapps\legacypas
>16:14:02,806 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:88]
-
>DEBUG
>- MessageHandler Using the following Properties :
>16:14:02,836 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:89]
-
>DEBUG
>- Queue Name : et_LegacyAsyncWebRequest
>16:14:02,836 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:90]
-
>DEBUG
>- Port Number : 24056
>16:14:02,836 [MessageAsyncHandler.java] [MessageAsyncHandler] [init:91]
-
>DEBUG
>- Host Name : localhost
>16:14:08,284 [MessageAsyncHandler.java] [MessageAsyncHandler]
[init:118] -
>ERROR
>- JMS Exception Encountered: javax.jms.JMSException: Could not connect
to
>host:
>localhost, port: 24056
>Log4j : /tmp/log4j/log4j.properties
>22-Nov-2004 16:14:09 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Installing web application at context path  from URL
>file:C:\jakarta-tomca
>t-5.0.25\webapps\ROOT
>22-Nov-2004 16:14:09 org.apache.commons.modeler.Registry
registerComponent
>SEVERE: Null component
>Catalina:type=JspMonitor,WebModule=//localhost/,J2EEAppli
>cation=none,J2EEServer=none
>22-Nov-2004 16:14:09 org.apache.catalina.core.StandardHostDeployer
install
>INFO: Error installing
>org.apache.commons.logging.LogConfigurationException:
>java.lang.ClassNotFoundExc
>eption: org.apache.commons.logging.impl.Log4jFactory
>at
org.apache.commons.logging.LogFactory$2.run(LogFactory.java:609)
>at java.security.AccessController.doPrivileged(Native Method)
>at
>org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:561)
>
>at
>org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:298)
>
>at
>org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
>at
>org.apache.catalina.session.ManagerBase.(ManagerBase.java:63)
>at
>org.apache.catalina.session.StandardManager.(StandardManager.ja
>va:64)
>at
>org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig
>.java:315)
>at
>org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
>5)
>at
>org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
>g.java:216)
>at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
>eSupport.java:119)
>at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:4
>268)
>at
>org.apa

RE: Tomcat startup time delay in Windows 95/98

2004-11-18 Thread Pragyan Padmini Misra
Thanks Tim,

But I guess this all has been taken care of. Dunno where the problem lies.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 5:31 PM
To: Tomcat Users List
Subject: Re: Tomcat startup time delay in Windows 95/98


Just created, details are sparse ..
http://wiki.apache.org/jakarta-tomcat/HowTo/FasterStartUp

-Tim

Pragyan Padmini Misra wrote:

> HI,
>   I had posted this earlier and again am resending as am still not getting
> any solution. Can any one help me out on this. The application which we
have
> developed has a performance related issue in Windows 95/98. We install the
> application and when we click on the aplication icon it internally invokes
a
> Flash screen displaying the application is loading and internally calls
the
> startup.bat file in tomcat\bin for the server startup process, which
> internally calls the catalina.bat file and so on and so forth. We cannot
> startup Tomcat as a service in Win 95/98. The problem basically which we
are
> facing is the time taken for the load of the application. The load time
> takes up about 1 1/2 to 2 minutes. This doesnt seem to be a feasible
> solution for the product acceptance. Is there any way we can decrease the
> tomcat startup load time? Can we manipulate on the processes so as to
reduce
> the load time? Or is there any solution for the same?
>
>   Regards
>   Pragyan
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat startup time delay in Windows 95/98

2004-11-17 Thread Shapira, Yoav

Hi,
I was just about to say that ;)  Pretty much everything works slower on
these operating systems ;)

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: Benson Margulies [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 17, 2004 7:32 AM
>To: Tomcat Users List
>Subject: RE: Tomcat startup time delay in Windows 95/98
>
>Use an actual operating system :)
>
>-Original Message-
>From: Pragyan Padmini Misra [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 17, 2004 6:48 AM
>To: 'Tomcat Users List'
>Subject: Tomcat startup time delay in Windows 95/98
>
>HI,
>  I had posted this earlier and again am resending as am still not
>getting any solution. Can any one help me out on this. The application
>which we have developed has a performance related issue in Windows
>95/98. We install the application and when we click on the aplication
>icon it internally invokes a Flash screen displaying the application is
>loading and internally calls the startup.bat file in tomcat\bin for the
>server startup process, which internally calls the catalina.bat file
and
>so on and so forth. We cannot startup Tomcat as a service in Win 95/98.
>The problem basically which we are facing is the time taken for the
load
>of the application. The load time takes up about 1 1/2 to 2 minutes.
>This doesnt seem to be a feasible solution for the product acceptance.
>Is there any way we can decrease the tomcat startup load time? Can we
>manipulate on the processes so as to reduce the load time? Or is there
>any solution for the same?
>
>  Regards
>  Pragyan
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat startup time delay in Windows 95/98

2004-11-17 Thread Benson Margulies
Use an actual operating system :) 

-Original Message-
From: Pragyan Padmini Misra [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 6:48 AM
To: 'Tomcat Users List'
Subject: Tomcat startup time delay in Windows 95/98

HI,
  I had posted this earlier and again am resending as am still not
getting any solution. Can any one help me out on this. The application
which we have developed has a performance related issue in Windows
95/98. We install the application and when we click on the aplication
icon it internally invokes a Flash screen displaying the application is
loading and internally calls the startup.bat file in tomcat\bin for the
server startup process, which internally calls the catalina.bat file and
so on and so forth. We cannot startup Tomcat as a service in Win 95/98.
The problem basically which we are facing is the time taken for the load
of the application. The load time takes up about 1 1/2 to 2 minutes.
This doesnt seem to be a feasible solution for the product acceptance.
Is there any way we can decrease the tomcat startup load time? Can we
manipulate on the processes so as to reduce the load time? Or is there
any solution for the same?

  Regards
  Pragyan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup time delay in Windows 95/98

2004-11-17 Thread Tim Funk
Just created, details are sparse ..
http://wiki.apache.org/jakarta-tomcat/HowTo/FasterStartUp
-Tim
Pragyan Padmini Misra wrote:
HI,
  I had posted this earlier and again am resending as am still not getting
any solution. Can any one help me out on this. The application which we have
developed has a performance related issue in Windows 95/98. We install the
application and when we click on the aplication icon it internally invokes a
Flash screen displaying the application is loading and internally calls the
startup.bat file in tomcat\bin for the server startup process, which
internally calls the catalina.bat file and so on and so forth. We cannot
startup Tomcat as a service in Win 95/98. The problem basically which we are
facing is the time taken for the load of the application. The load time
takes up about 1 1/2 to 2 minutes. This doesnt seem to be a feasible
solution for the product acceptance. Is there any way we can decrease the
tomcat startup load time? Can we manipulate on the processes so as to reduce
the load time? Or is there any solution for the same?
  Regards
  Pragyan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat startup processing

2004-10-22 Thread Edoardo Panfili
Didier McGillis wrote:
is there away to have a jsp or something run some code on startup or to 
have it cache some data results so that I dont have to keep on going to 
the database each time the page is loaded.
I use some cached informations on my application, the information are stored
as static in a class, I put this configuration on web.xml

ServerInit
youtPackage.ServerInit
1

an the class is loaded ad startup.
After startup I can find cached information using ServerInit.yourMethod()
edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat startup processing

2004-10-22 Thread Shapira, Yoav

Hi,

>is there away to have a jsp or something run some code on startup or to
>have
>it cache some data results so that I dont have to keep on going to the
>database each time the page is loaded.

The best place for this is usually a ServletContextListener.
Alternatives including a static initializer block and a Servlet's init
method.  Try not to use approaches that are implementation specific like
the Struts one, because generic alternatives do exist and don't tie you
to a specific product.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat startup processing

2004-10-22 Thread vivek gupta
Certainly you can do it. As if you are using Struts
you can do it with use of plug-ins in
struts-config.xml as Plug-ins get invoked when server
starts. 

I wrote a plug-in which goes to database at starup of
system and stores state information in application
context.

Hope it will help.

Thanks
Vivek


--- Didier McGillis <[EMAIL PROTECTED]> wrote:

> is there away to have a jsp or something run some
> code on startup or to have 
> it cache some data results so that I dont have to
> keep on going to the 
> database each time the page is loaded.
> 
>
_
> Powerful Parental Controls Let your child discover
> the best the Internet has 
> to offer.  
>
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> 
>   Start enjoying all the benefits of MSN® Premium
> right now and get the 
> first two months FREE*.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat startup error

2004-08-13 Thread Shapira, Yoav
Hola,
Also make sure you installed Tomcat properly, specifically using gtar
(the GNU tar) instead of the normal tar if unpacking a .tar.gz
distribution.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: QM [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 12, 2004 6:28 PM
>To: Tomcat Users List
>Subject: Re: Tomcat startup error
>
>On Thu, Aug 12, 2004 at 02:30:37PM -0700, Techs wrote:
>: We're running tomcat 4.1 on redhat linux 9, when I try to start the
>service
>: it it fails. The following is located in the catalina.out file:
>:
>: java.util.zip.ZipException: No such file or directory
>: at java.util.zip.ZipFile.open(Native Method)
>: at java.util.zip.ZipFile.(ZipFile.java:112)
>: at java.util.jar.JarFile.(JarFile.java:127)
>: at java.util.jar.JarFile.(JarFile.java:65)
>: at
>:
>org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Un
know
>n
>: Source)
>
>Likely a permissions problem in one of the directories mentioned below.
>This has bitten me before...
>
>
>: Anybody have a clue? I haven't really working with tomcat before,
don't
>know
>: where to start to look? If it gave the name of a conf file error or
the
>: actual file that was missing that would be a help...
>
>Given the class, likely it's one of the Tomcat standard repositories
>(common/lib or shared/lib) or your webapp's WEB-INF/lib.
>
>(This is based on a hunch; I have *not* read the code ;)
>
>-QM
>
>
>--
>
>software  -- http://www.brandxdev.net
>tech news -- http://www.RoarNetworX.com
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup error

2004-08-12 Thread QM
On Thu, Aug 12, 2004 at 02:30:37PM -0700, Techs wrote:
: We're running tomcat 4.1 on redhat linux 9, when I try to start the service
: it it fails. The following is located in the catalina.out file:
:  
: java.util.zip.ZipException: No such file or directory
: at java.util.zip.ZipFile.open(Native Method)
: at java.util.zip.ZipFile.(ZipFile.java:112)
: at java.util.jar.JarFile.(JarFile.java:127)
: at java.util.jar.JarFile.(JarFile.java:65)
: at
: org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Unknown
: Source)

Likely a permissions problem in one of the directories mentioned below.
This has bitten me before...


: Anybody have a clue? I haven't really working with tomcat before, don't know
: where to start to look? If it gave the name of a conf file error or the
: actual file that was missing that would be a help...

Given the class, likely it's one of the Tomcat standard repositories
(common/lib or shared/lib) or your webapp's WEB-INF/lib.

(This is based on a hunch; I have *not* read the code ;)

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat startup with beans error :-s

2004-07-29 Thread Betto McRose G,
yep, I inserted    to define a postgres
pool.

but I restarted the server having postmaster running before tomcat

problem resolve.


- Original Message - 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Betto McRose G,"
<[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 3:37 PM
Subject: RE: tomcat startup with beans error :-s


>
> Hi,
> How have you modified server.xml? ;)  If you took out the
> LifecycleListener or MBean declarations, that could cause this error.
>
> Yoav Shapira
> Millennium Research Informatics
>
>
> >-Original Message-
> >From: Betto McRose G, [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, July 29, 2004 3:17 PM
> >To: Tomcat Users List
> >Subject: tomcat startup with beans error :-s
> >
> >what is the problem here ?
> >
> >Jul 29, 2004 3:13:53 PM org.apache.coyote.http11.Http11Protocol init
> >INFO: Initializing Coyote HTTP/1.1 on port 8080
> >Jul 29, 2004 3:13:53 PM org.apache.catalina.startup.Catalina load
> >INFO: Initialization processed in 3345 ms
> >Jul 29, 2004 3:13:53 PM
> org.apache.catalina.mbeans.ServerLifecycleListener
> >createMBeans
> >SEVERE: createMBeans: MBeanException
> >java.lang.Exception: ManagedBean is not found with DefaultContext
> > at
> org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:326)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
> ifec
> >ycleListener.java:534)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
> ifec
> >ycleListener.java:654)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
> ifec
> >ycleListener.java:596)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
> ifec
> >ycleListener.java:779)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
> ifec
> >ycleListener.java:747)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
> ifec
> >ycleListener.java:365)
> > at
> >org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Serve
> rLif
> >ecycleListener.java:190)
> > at
> >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
> uppo
> >rt.java:119)
> > at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2291)
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:547)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:3
> >9)
> > at
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImp
> >l.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:286)
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:3
> >9)
> > at
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImp
> >l.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
>
>
>
> This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat startup with beans error :-s

2004-07-29 Thread Shapira, Yoav

Hi,
How have you modified server.xml? ;)  If you took out the
LifecycleListener or MBean declarations, that could cause this error.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Betto McRose G, [mailto:[EMAIL PROTECTED]
>Sent: Thursday, July 29, 2004 3:17 PM
>To: Tomcat Users List
>Subject: tomcat startup with beans error :-s
>
>what is the problem here ?
>
>Jul 29, 2004 3:13:53 PM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>Jul 29, 2004 3:13:53 PM org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 3345 ms
>Jul 29, 2004 3:13:53 PM
org.apache.catalina.mbeans.ServerLifecycleListener
>createMBeans
>SEVERE: createMBeans: MBeanException
>java.lang.Exception: ManagedBean is not found with DefaultContext
> at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:326)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
ifec
>ycleListener.java:534)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
ifec
>ycleListener.java:654)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
ifec
>ycleListener.java:596)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
ifec
>ycleListener.java:779)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
ifec
>ycleListener.java:747)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerL
ifec
>ycleListener.java:365)
> at
>org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Serve
rLif
>ecycleListener.java:190)
> at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>rt.java:119)
> at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2291)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:547)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:286)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:387)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup script

2003-11-15 Thread tim
Robert, try this page
 
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html

"Roberto Bottoni - AfterBit (TMP)" <[EMAIL PROTECTED]> wrote:
I'm looking for a startup script for Tomcat for starting it at system boot.

Thanks!

Roberto.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Re: Tomcat startup script

2003-11-15 Thread Ben Souther
On Friday 14 November 2003 07:21 am, you wrote:
> I'm looking for a startup script for Tomcat for starting it at system boot.
>
> Thanks!
>
> Roberto.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



#!/bin/sh
#
. /etc/rc.d/init.d/functions

TOMCAT_USER=nobody

# See how we were called.
case "$1" in
  start)
echo -n "Starting tomcat: "
su -l $TOMCAT_USER -c '/usr/local/tomcat/bin/startup.sh'
echo
;;
  stop)
echo -n "Stopping tomcat: "
su -l $TOMCAT_USER -c '/usr/local/tomcat/bin/shutdown.sh'
echo
;;
  restart)
$0 stop
$0 start
;;
  *)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac

exit 0

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup script

2003-11-15 Thread Bill Barker
I'm ashamed to admit that I know this, but, for Win9x you need to increase
the settings for enviroment space.

"tim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am also looking for the script. I have put it in once via system
properties on a w2000 machine that had a box to enter it into. But on W98 I
am not apt at editing the tomcat.bat file
> here it is. I do not know what to type.
>
> @echo off
>
rem 
-
> rem tomcat.bat - Start/Stop Script for the TOMCAT Server
> rem
> rem Environment Variable Prerequisites:
> rem
> rem   TOMCAT_HOME  (Optional) May point at your Tomcat distribution
> remdirectory.  If not present, the current working
> remdirectory is assumed.
> remNote: This batch file does not function properly
> remif TOMCAT_HOME contains spaces.
> rem
> rem   TOMCAT_OPTS  (Optional) Java runtime options used when the "start",
> rem"stop", or "run" command is executed
> rem
> rem   CLASSPATH(Optional) This batch file will automatically add
> remwhat Tomcat needs to the CLASSPATH.  This consists
> remof TOMCAT_HOME\classes and all the jar files in
> remTOMCAT_HOME\lib. This will include the "jaxp.jar"
> remand "parser.jar" files from the JAXP Reference
> remimplementation, and the "tools.jar" from the JDK.
> rem
> rem   JAVA_HOMEMust point at your Java Development Kit installation.
> rem
> rem $Id: tomcat.bat,v 1.24.2.7 2001/06/24 19:27:10 marcsaeg Exp $
>
rem 
-
>
> rem - Save Environment Variables That May
Change 
> set _CP=%CP%
> set _TOMCAT_HOME=%TOMCAT_HOME%
> set _CLASSPATH=%CLASSPATH%
>
> rem - Verify and Set Required Environment
Variables -
> if not "%JAVA_HOME%" == "" goto gotJavaHome
> echo You must set JAVA_HOME to point at your Java Development Kit
installation
> goto cleanup
> :gotJavaHome
> if not "%TOMCAT_HOME%" == "" goto gotTomcatHome
> set TOMCAT_HOME=.
> :gotTomcatHome
> if exist "%TOMCAT_HOME%\lib\servlet.jar" goto okTomcatHome
> echo Unable to locate servlet.jar, check the value of TOMCAT_HOME.
> goto cleanup
> :okTomcatHome
>
> rem - Prepare Appropriate Java Execution
Commands ---
> if not "%OS%" == "Windows_NT" goto noTitle
> set _SECSTARTJAVA=start "Secure Tomcat 3.2" "%JAVA_HOME%\bin\java"
> set _STARTJAVA=start "Tomcat 3.2" "%JAVA_HOME%\bin\java"
> set _RUNJAVA="%JAVA_HOME%\bin\java"
> goto setClasspath
> :noTitle
> set _SECSTARTJAVA=start "%JAVA_HOME%\bin\java"
> set _STARTJAVA=start "%JAVA_HOME%\bin\java"
> set _RUNJAVA="%JAVA_HOME%\bin\java"
>
> rem - Set Up The Runtime
Classpath --
> :setClasspath
> set CP=%TOMCAT_HOME%\classes
> rem Try to determine if TOMCAT_HOME contains spaces
> if exist %TOMCAT_HOME%\lib\servlet.jar goto dynClasspath
> echo Your TOMCAT_HOME appears to contain spaces.
> echo Unable to set CLASSPATH dynamically.
> goto staticClasspath
> :dynClasspath
> set _LIBJARS=
> for %%i in (%TOMCAT_HOME%\lib\*.*) do call %TOMCAT_HOME%\bin\cpappend.bat
%%i
> if not "%_LIBJARS%" == "" goto gotLibJars
> echo Unable to set CLASSPATH dynamically.
> if "%OS%" == "Windows_NT" goto staticClasspath
> echo Note: To set the CLASSPATH dynamically on Win9x systems
> echo   only DOS 8.3 names may be used in TOMCAT_HOME!
> goto staticClasspath
> :gotLibJars
> echo Including all jars in %TOMCAT_HOME%\lib in your CLASSPATH.
> rem Note: _LIBJARS already contains a leading semicolon
> set CP=%CP%%_LIBJARS%
> goto chkClasspath
> :staticClasspath
> echo Setting your CLASSPATH statically.
> if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
> if exist "%TOMCAT_HOME%\lib\jasper.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
> if exist "%TOMCAT_HOME%\lib\jaxp.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
> if exist "%TOMCAT_HOME%\lib\parser.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
> if exist "%TOMCAT_HOME%\lib\servlet.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
> if exist "%TOMCAT_HOME%\lib\webserver.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
> :chkClasspath
> if "%CLASSPATH%" == "" goto noClasspath
> set CP=%CP%;%CLASSPATH%
> :noClasspath
> if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath
> set CP=%CP%;%JAVA_HOME%\lib\tools.jar
> :installClasspath
> echo.
> echo Using CLASSPATH: %CP%
> echo.
> set CLASSPATH=%CP%
>
> rem - Execute The Requested
Command -
> if "%1" == "start" goto startServer
> if "%1" == "stop" goto stopServer
> if "%1" == "run" goto runServer
> if "%1" == "ant" goto runAnt
> if "%1" == "env" goto doEnv
> if "%1" == "jspc" goto runJspc
> :doUsage
> echo Usage:  tomcat ( ant ^| env ^| jspc ^| run ^| start ^| stop )
> echo Commands:
> echo  

Re: Tomcat startup script

2003-11-14 Thread tim
I am also looking for the script. I have put it in once via system properties on a 
w2000 machine that had a box to enter it into. But on W98 I am not apt at editing the 
tomcat.bat file
here it is. I do not know what to type.
 
@echo off
rem -
rem tomcat.bat - Start/Stop Script for the TOMCAT Server
rem
rem Environment Variable Prerequisites:
rem
rem   TOMCAT_HOME  (Optional) May point at your Tomcat distribution
remdirectory.  If not present, the current working
remdirectory is assumed.
remNote: This batch file does not function properly
remif TOMCAT_HOME contains spaces.
rem
rem   TOMCAT_OPTS  (Optional) Java runtime options used when the "start",
rem"stop", or "run" command is executed
rem
rem   CLASSPATH(Optional) This batch file will automatically add
remwhat Tomcat needs to the CLASSPATH.  This consists
remof TOMCAT_HOME\classes and all the jar files in
remTOMCAT_HOME\lib. This will include the "jaxp.jar"
remand "parser.jar" files from the JAXP Reference
remimplementation, and the "tools.jar" from the JDK.
rem
rem   JAVA_HOMEMust point at your Java Development Kit installation.
rem
rem $Id: tomcat.bat,v 1.24.2.7 2001/06/24 19:27:10 marcsaeg Exp $
rem -

rem - Save Environment Variables That May Change 
set _CP=%CP%
set _TOMCAT_HOME=%TOMCAT_HOME%
set _CLASSPATH=%CLASSPATH%

rem - Verify and Set Required Environment Variables -
if not "%JAVA_HOME%" == "" goto gotJavaHome
echo You must set JAVA_HOME to point at your Java Development Kit installation
goto cleanup
:gotJavaHome
if not "%TOMCAT_HOME%" == "" goto gotTomcatHome
set TOMCAT_HOME=.
:gotTomcatHome
if exist "%TOMCAT_HOME%\lib\servlet.jar" goto okTomcatHome
echo Unable to locate servlet.jar, check the value of TOMCAT_HOME.
goto cleanup
:okTomcatHome

rem - Prepare Appropriate Java Execution Commands ---
if not "%OS%" == "Windows_NT" goto noTitle
set _SECSTARTJAVA=start "Secure Tomcat 3.2" "%JAVA_HOME%\bin\java"
set _STARTJAVA=start "Tomcat 3.2" "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
goto setClasspath
:noTitle
set _SECSTARTJAVA=start "%JAVA_HOME%\bin\java"
set _STARTJAVA=start "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"

rem - Set Up The Runtime Classpath --
:setClasspath
set CP=%TOMCAT_HOME%\classes
rem Try to determine if TOMCAT_HOME contains spaces
if exist %TOMCAT_HOME%\lib\servlet.jar goto dynClasspath
echo Your TOMCAT_HOME appears to contain spaces.
echo Unable to set CLASSPATH dynamically.
goto staticClasspath
:dynClasspath
set _LIBJARS=
for %%i in (%TOMCAT_HOME%\lib\*.*) do call %TOMCAT_HOME%\bin\cpappend.bat %%i
if not "%_LIBJARS%" == "" goto gotLibJars
echo Unable to set CLASSPATH dynamically.
if "%OS%" == "Windows_NT" goto staticClasspath
echo Note: To set the CLASSPATH dynamically on Win9x systems
echo   only DOS 8.3 names may be used in TOMCAT_HOME!
goto staticClasspath
:gotLibJars
echo Including all jars in %TOMCAT_HOME%\lib in your CLASSPATH.
rem Note: _LIBJARS already contains a leading semicolon
set CP=%CP%%_LIBJARS%
goto chkClasspath
:staticClasspath
echo Setting your CLASSPATH statically.
if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
if exist "%TOMCAT_HOME%\lib\jasper.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
if exist "%TOMCAT_HOME%\lib\parser.jar" set CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
if exist "%TOMCAT_HOME%\lib\servlet.jar" set CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
if exist "%TOMCAT_HOME%\lib\webserver.jar" set CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
:chkClasspath
if "%CLASSPATH%" == "" goto noClasspath
set CP=%CP%;%CLASSPATH%
:noClasspath
if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
:installClasspath
echo.
echo Using CLASSPATH: %CP%
echo.
set CLASSPATH=%CP%

rem - Execute The Requested Command -
if "%1" == "start" goto startServer
if "%1" == "stop" goto stopServer
if "%1" == "run" goto runServer
if "%1" == "ant" goto runAnt
if "%1" == "env" goto doEnv
if "%1" == "jspc" goto runJspc
:doUsage
echo Usage:  tomcat ( ant ^| env ^| jspc ^| run ^| start ^| stop )
echo Commands:
echo   ant -   Run Ant in Tomcat's environment
echo   env -   Set up environment variables that Tomcat would use
echo   jspc -  Run JSPC in Tomcat's environment
echo   run -   Start Tomcat in the current window
echo   start - Start Tomcat in a separate window
echo   stop -  Stop Tomcat
goto cleanup
:doEnv
goto finish
:startServer
echo Starting Tomcat in new window
if "%2" == "-security" goto start

Re: Tomcat startup script

2003-11-14 Thread Tim Funk
From http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links look at the 
last link. I think it talks about a startup script.

-Tim

Roberto Bottoni - AfterBit (TMP) wrote:

I'm looking for a startup script for Tomcat for starting it at system boot.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat -- startup question

2003-11-07 Thread Jean-Francois Arcand
Avoid putting space in the installation folder or define catalina home 
using quote.

Use D:\Tomcat4.1 instead (less pain)

-- Jeanfrancois

Gopalakrishnan. Govindakrishnan wrote:

Hi:

   Anyone know why do I get this error during startup?

D:\Tomcat 4.1\bin>catalina run
Press any key to continue . . .
"... from setclasspath.bat ..."
Using CATALINA_BASE:   D:\Tomcat 4.1\
Using CATALINA_HOME:   D:\Tomcat 4.1\
Using CATALINA_TMPDIR: D:\Tomcat 4.1\\temp
Using JAVA_HOME:   d:\jdk1.4
Exception in thread "main" java.lang.NoClassDefFoundError: 4/1"
Press any key to continue . . .
"... from catalina.bat ..."


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat startup problem

2003-09-26 Thread Shapira, Yoav

Howdy,
Get a JVM that works ;)  I don't know what available for Tru64, but your
FastVM isn't liking the startup arguments.  Are you passing it any
command-line options, especially a too big -Xmx setting?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Tich Mandivenga [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 26, 2003 6:56 AM
>To: [EMAIL PROTECTED]
>Subject: tomcat startup problem
>
>i, i was wondering if you can help me.I am running tomcat on a Tru64
>(v5.1a)
>box.When i atempt to start tomcat i get this message "# ./tomcat start
>Starting Tomcat
>FastVM cannot allocate its internal data.
>Please check process stack size and virtual address space limit.
>Stack size may be too large, or virtual address space too small., file
>/runtime/
>thread.c, line 298
>Starting Tomcat as user 'httpd'
>Waiting for Tomcat..."
>
>Can you tell me where i can find these parameters as well as
recommended
>values. Do i have to add entries to thh /etc/sysconfigtab file
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup failure

2003-09-05 Thread John Turner
Sounds to me like a permissions/environment problem.  For example, 
starting Tomcat as root manually, but then the script tries to start 
tomcat as some non-root user.  If Tomcat starts as root, log files are 
owned by root and non-root users cannot write to them.  It should throw 
an error somewhere, though maybe its getting swallowed by a redirect to 
/dev/null or something.

I would verify the script and doublecheck that the script environment 
(variables, user account, etc) matches exactly with the way you start 
Tomcat manually.

John

Noel Rappin wrote:

I have a set up where tomcat is supposed to start on boot via an rc 
shell script on a Linux system (tomcat 4.1.18).  I have this 
intermittent failure mode where tomcat fails to start up on reboot.
I can _always_ trigger this failure by deleting all tomcat log files, 
and then rebooting.  After the reboot, the only thing in the log 
directory is a zero-length catalina.out file, and the java process is 
not running.  Invoking the tomcat startup again at this point causes it 
to work normally.

I can find no evidence that the tomcat java process exits, and no matter 
how much I turn up debugging, I get no logged output.  Is there any 
possible mechanism that could be causing this failure, or at least some 
place or some way I could get better debugging information?

Noel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat startup with JDBC Realm

2003-08-29 Thread Tim Funk
I have committed a patch for tomcat 5 that fixes this. It is available with 
HEAD or tomcat 5.0.10 (which doesn't exist yet).

If people test can test 5 and it is OK - I can back port it to tomcat 4.1.X.

If your impatient, the code for JDBCRealm from 5 would be the same as 4.1 so 
you can:
- Get the version from 5 
(http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/JDBCRealm.java?rev=1.2&content-type=text/vnd.viewcvs-markup)
- Compile it with $CATALINA_HOME/server/lib/*.jar and 
$CATALINA_HOME/common/lib/*.jar in your classpath
- Place the resulting class file as 
$CATALINA_HOME/server/classes/org/apache/catalina/realm/JDBCRealm.class
- Last but not least ... Hope that the above works (It should)

-Tim

Koes, Derrick wrote:

I have a timing issue where both my database and tomcat are being run as
Windows services.  If my server reboots for some reason, even though I have
startup dependencies (tomcat depends on db), tomcat often doesn't start my
web app because it failed the initial JDBC check it does for a database when
there is a JDBC realm configured.  I presume this is because Windows reports
the db service as started so the tomcat service attempts to start.  However,
the db isn't fully up when the service is "started".
 
Have others witnessed this issue?  Workarounds?
 
 
Thanks,
Derrick
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat startup error

2003-08-14 Thread Shapira, Yoav

Howdy,
CLASSPATH does not have to be set, if you mean the environment variable
CLASSPATH.  See the RELEASE-NOTES for tomcat's section on XML Parsers.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: krishnakumar kumaraswamypillai [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 08, 2003 6:20 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat startup error
>
>hi all
>i have installed JAVA 2 SDK 1.3.1_08
> Apache HTTP server 2.0.47
> Apache Tomcat 4.1
>on starting tomcat i get the  error:
>
>Created catalinaLoader in: C:\Program Files\Apache
>Group\Tomcat 4.1\server\lib
>java.lang.NoClassDefFoundError:
>org/xml/sax/InputSource
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance(Class.java:232)
>   at
>org.apache.catalina.startup.BootstrapService.init(BootstrapService.java
:201
>)
>   at
>org.apache.catalina.startup.BootstrapService.main(BootstrapService.java
:297
>)
>
>
>I browsed google and found that my CLASSPATH has to be
>set.
>But to what path should it point?
>which jar files?
>
>Where will i get information.
>
>Thank u for considering
>Krishna Kumar K
>
>__
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup error

2003-08-14 Thread Jeff Tulley
I have seen this before when running Tomcat on Windows when I have not
had the XML parsing jars anywhere on my path.  Either install and use a
1.4.1 JVM, setting JAVA_HOME appropriately, or (I think) it should be
sufficient to get the right XML parsing jars in your tomcat
common\endorsed directory, or on the default classpath.

I know that two of the jars are xercesImpl.jar, and xmlParserAPIs.jar. 
With those two Tomcat 5 still doesn't start for me, it looks like it
needs some javax.xml.transform classes.  It looks like that is taken
care of in jaxp-api.jar, from the Java XML pack.  Tomcat 4 doesn't need
all three though, I think, only the first two.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

>>> [EMAIL PROTECTED] 8/8/03 12:08:29 PM >>>
try this:
http://www.moreservlets.com/Using-Tomcat-4.html#Set-CLASSPATH 


>From: krishnakumar kumaraswamypillai <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] 
>Subject: Tomcat startup error
>Date: Fri, 8 Aug 2003 03:20:04 -0700 (PDT)
>
>hi all
>i have installed JAVA 2 SDK 1.3.1_08
>  Apache HTTP server 2.0.47
>  Apache Tomcat 4.1
>on starting tomcat i get the  error:
>
>Created catalinaLoader in: C:\Program Files\Apache
>Group\Tomcat 4.1\server\lib
>java.lang.NoClassDefFoundError:
>org/xml/sax/InputSource
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance(Class.java:232)
>   at
>org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:201)
>   at
>org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
>
>
>I browsed google and found that my CLASSPATH has to be
>set.
>But to what path should it point?
>which jar files?
>
>Where will i get information.
>
>Thank u for considering
>Krishna Kumar K
>
>__
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com 
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED] 
>For additional commands, e-mail: [EMAIL PROTECTED] 
>

_
Are you Unmarried?
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?4d 
Register in India's No 1 Matrimony.


-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup error

2003-08-14 Thread vikas jain
try this:
http://www.moreservlets.com/Using-Tomcat-4.html#Set-CLASSPATH

From: krishnakumar kumaraswamypillai <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Tomcat startup error
Date: Fri, 8 Aug 2003 03:20:04 -0700 (PDT)
hi all
i have installed JAVA 2 SDK 1.3.1_08
 Apache HTTP server 2.0.47
 Apache Tomcat 4.1
on starting tomcat i get the  error:
Created catalinaLoader in: C:\Program Files\Apache
Group\Tomcat 4.1\server\lib
java.lang.NoClassDefFoundError:
org/xml/sax/InputSource
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:201)
at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
I browsed google and found that my CLASSPATH has to be
set.
But to what path should it point?
which jar files?
Where will i get information.

Thank u for considering
Krishna Kumar K
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Are you Unmarried? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?4d 
Register in India's No 1 Matrimony.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat startup problems

2003-08-03 Thread Tang Guangyu
It seems caused by a wrong user realm configuration. Check server.xml under
%TOMCAT_HOME%/conf, remove or correct user realm part.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 03, 2003 8:26 AM
Subject: Tomcat startup problems


> Hello,
> I am running WIN98 trying to get Tomcat to run.  It installs with no
problems, but then when I proceed to execute the startup batch file I get a
bunch of JAVA errors, Following is the contents of my catalina_log files.
Any help would be greatly appreciated.
> -Brad
>
> --LOG FILE---
> 2003-08-02 15:51:43 UserDatabaseRealm[Standalone]: Exception looking up
UserDatabase under key UserDatabase
> javax.naming.NamingException: The reference to entity "worD" must end with
the ';' delimiter.
> at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:302
)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat startup problem

2003-07-24 Thread Tang
Open catalina.log in e:/tomcat4.1/logs directory for detail. I guess some
wrong in server.xml config file.

- Original Message -
From: "Gayathrie Gunawardene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 22, 2003 2:14 AM
Subject: tomcat startup problem


Hi,

I get the following message when I run startup command.
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter how hard I
tried to run, the result is the same all the time. I use tomcat4.1 and
JDK1.4 on Windows 2000 adv. server platform.

Pls Help

GG

[EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat startup problem

2003-07-24 Thread John Turner
Run "catalina.bat run" instead of "startup.bat".

Have you checked the log files?

John

Gayathrie Gunawardene wrote:

Hi,

I get the following message when I run startup command.  
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter how hard I tried to run, the result is the same all the time. I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.

Pls Help

GG

[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat startup problem - tomcat window disappears

2003-07-24 Thread John Turner
Better yet, don't change anything, and execute "catalina.bat run" 
instead of "startup.bat".

John

Andrew Liles wrote:

Edit 
tomcat/bin/startup.bat

in one of the last lines change the keyword "start" to "run".  Then go into
a DOS box and run startup.bat.  This time any faults will remain on the
screen and you can start debugging from there.

-Original Message-
From: Gayathrie Gunawardene [mailto:[EMAIL PROTECTED]
Sent: 21 July 2003 19:15
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; 
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: tomcat startup problem

Hi,

I get the following message when I run startup command.  
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter 
how hard I tried to run, the result is the same all the time. 
I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.

Pls Help

GG

[EMAIL PROTECTED]



_
This e-mail has been scanned for viruses by MessageLabs.


_
This e-mail has been scanned for viruses by MessageLabs.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat startup problem - tomcat window disappears

2003-07-24 Thread Andrew Liles
Edit 
tomcat/bin/startup.bat

in one of the last lines change the keyword "start" to "run".  Then go into
a DOS box and run startup.bat.  This time any faults will remain on the
screen and you can start debugging from there.

> -Original Message-
> From: Gayathrie Gunawardene [mailto:[EMAIL PROTECTED]
> Sent: 21 July 2003 19:15
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; 
> [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: tomcat startup problem
> 
> 
> Hi,
> 
> I get the following message when I run startup command.  
> Using CATALINA_BASE:   E:\TomCat4.1
> 
> Using CATALINA_HOME:   E:\TomCat4.1
> 
> Using CATALINA_TMPDIR: E:\TomCat4.1\temp
> 
> Using JAVA_HOME:   E:\jdk1.4
> 
> I see a tomcat window open and suddenly disappear. No matter 
> how hard I tried to run, the result is the same all the time. 
> I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.
> 
> Pls Help
> 
> GG
> 
> [EMAIL PROTECTED]
> 
> 
> 
> _
> This e-mail has been scanned for viruses by MessageLabs.
> 

_
This e-mail has been scanned for viruses by MessageLabs.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat startup

2003-07-16 Thread Andrew Liles
You have probably already looked for "java.net.SocketException: Network is
down" on Google and found nothing.  This suggests you have a very obscure
problem.  Therefore you should try to establish what is unusual about your
machine.

The fact your machine acts as some kind of gateway, I think is the place to
look.  Windows-gateway machines running Tomcat are going to be far less
common; and hence less tried and tested.  

Your machine being a gateway implies you have more than 1 IP address.  It
could be that Tomcat is trying to bind to the wrong IP address (or network
adapter).  I am not quite sure how you direct Tomcat to pick a particular
network stack/adapter/etc but in a multi-IPd machine I have, it is necessary
to add an address parameter, so my Connector XML fragment is:



I think you should also comment out any other Connectors you have (there is
more than 1 setup by default).


-Original Message-
From: Souren Sinha [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 12:05
To: Tomcat Users List
Subject: Re: tomcat startup


Hi,
I am trying to run it on a desktop that is on a network...in fact it acts as
the gateway to the net too.
As per my network settings, I have TCP/IP installed and after having done a
netstat I can confirm that nothing else is listening on port 8080. Just for
the sake of it, I tried running on port 9090 too with the same resulting
exceptions!
I am not sure what else to try...any help would be appreciated.
Regards
Souren

> -Original Message-
> From: Souren Sinha [mailto:[EMAIL PROTECTED]
> Sent: 16 July 2003 02:21
> To: [EMAIL PROTECTED]
> Subject: Re: tomcat startup
> 
> 
> Hi,
> Could you please help me out a bit more...I had to unscribe 
> from the Tomcat
> list coz I was getting way too many messages and since I am 
> on a dial-up
> it's becoming a problem...!
> Regards
> Souren
> 
> 
> - Original Message -
> From: "Andrew Liles" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, July 14, 2003 11:56 PM
> Subject: RE: tomcat startup
> 
> 
> > Are you trying this on a laptop/standalone machine that has 
> no network
> > stack?  You need a TCP/IP stack.
> >
> > (It could be another process is listening on the same 
> IP/port; but the
> usual
> > symptom in that case is a different error)
> >
> > > -Original Message-
> > > From: Souren Sinha [mailto:[EMAIL PROTECTED]
> > > Sent: 14 July 2003 13:30
> > > To: Tomcat Users List
> > > Subject: tomcat startup
> > >
> > >
> > > Hi,
> > > I am having trouble starting up tomcat from the Start menu.
> > > I get the following exception:
> > >
> > > Using CATALINA_BASE:   ..
> > > Using CATALINA_HOME:   ..
> > > Using CATALINA_TMPDIR: ..\temp
> > > Using JAVA_HOME:   C:\j2sdk1.4.0_03
> > > Jul 14, 2003 10:28:26 PM org.apache.commons.modeler.Registry
> > > loadRegistry
> > > INFO: Loading registry information
> > > Jul 14, 2003 10:28:27 PM org.apache.commons.modeler.Registry
> > > getRegistry
> > > INFO: Creating new Registry instance
> > > Jul 14, 2003 10:28:28 PM 
> org.apache.commons.modeler.Registry getServer
> > > INFO: Creating MBeanServer
> > > Jul 14, 2003 10:28:29 PM 
> org.apache.coyote.http11.Http11Protocol init
> > > SEVERE: Error initializing endpoint
> > > java.net.SocketException: Network is down: listen failed
> > > at java.net.PlainSocketImpl.socketListen(Native Method)
> > > at 
> java.net.PlainSocketImpl.listen(PlainSocketImpl.java:333)
> > > at java.net.ServerSocket.bind(ServerSocket.java:309)
> > > at java.net.ServerSocket.bind(ServerSocket.java:266)
> > > at java.net.ServerSocket.(ServerSocket.java:182)
> > > at java.net.ServerSocket.(ServerSocket.java:138)
> > >
> > > Can someone please help me out.
> > > Regards
> > > Souren
> > >
> > >
> > > - Original Message -
> > > From: "Agarwal, Naresh" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, July 14, 2003 10:09 PM
> > > Subject: Do we have any control on Tomcat threads?
> > >
> > >
> > > Hi
> > >
> > > Web apps in tomcat run in threads spawned by Tomcat. Do we
> > > have any control
> > > on these threads?
> > >
> > > I want to perform some Init and UnInit operations at the time
> > > creation and
> > > destruction of these threads. Is it po

Re: tomcat startup

2003-07-15 Thread Souren Sinha
Hi,
I am trying to run it on a desktop that is on a network...in fact it acts as
the gateway to the net too.
As per my network settings, I have TCP/IP installed and after having done a
netstat I can confirm that nothing else is listening on port 8080. Just for
the sake of it, I tried running on port 9090 too with the same resulting
exceptions!
I am not sure what else to try...any help would be appreciated.
Regards
Souren

- Original Message -
From: "Andrew Liles" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 11:56 PM
Subject: RE: tomcat startup


> Are you trying this on a laptop/standalone machine that has no network
> stack?  You need a TCP/IP stack.
>
> (It could be another process is listening on the same IP/port; but the
usual
> symptom in that case is a different error)
>
> > -Original Message-
> > From: Souren Sinha [mailto:[EMAIL PROTECTED]
> > Sent: 14 July 2003 13:30
> > To: Tomcat Users List
> > Subject: tomcat startup
> >
> >
> > Hi,
> > I am having trouble starting up tomcat from the Start menu.
> > I get the following exception:
> >
> > Using CATALINA_BASE:   ..
> > Using CATALINA_HOME:   ..
> > Using CATALINA_TMPDIR: ..\temp
> > Using JAVA_HOME:   C:\j2sdk1.4.0_03
> > Jul 14, 2003 10:28:26 PM org.apache.commons.modeler.Registry
> > loadRegistry
> > INFO: Loading registry information
> > Jul 14, 2003 10:28:27 PM org.apache.commons.modeler.Registry
> > getRegistry
> > INFO: Creating new Registry instance
> > Jul 14, 2003 10:28:28 PM org.apache.commons.modeler.Registry getServer
> > INFO: Creating MBeanServer
> > Jul 14, 2003 10:28:29 PM org.apache.coyote.http11.Http11Protocol init
> > SEVERE: Error initializing endpoint
> > java.net.SocketException: Network is down: listen failed
> > at java.net.PlainSocketImpl.socketListen(Native Method)
> > at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:333)
> > at java.net.ServerSocket.bind(ServerSocket.java:309)
> > at java.net.ServerSocket.bind(ServerSocket.java:266)
> > at java.net.ServerSocket.(ServerSocket.java:182)
> > at java.net.ServerSocket.(ServerSocket.java:138)
> >
> > Can someone please help me out.
> > Regards
> > Souren
> >
> >
> > - Original Message -
> > From: "Agarwal, Naresh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, July 14, 2003 10:09 PM
> > Subject: Do we have any control on Tomcat threads?
> >
> >
> > Hi
> >
> > Web apps in tomcat run in threads spawned by Tomcat. Do we
> > have any control
> > on these threads?
> >
> > I want to perform some Init and UnInit operations at the time
> > creation and
> > destruction of these threads. Is it possible to do with
> > Tomcat threads?
> >
> > thanks & regards,
> > Naresh Agarwal
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > _
> > This e-mail has been scanned for viruses by MessageLabs.
> >
>
> _
> This e-mail has been scanned for viruses by MessageLabs.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat startup

2003-07-14 Thread Reginald Oake
Hi.

>From the look of the error message it appears that your CATALINA_HOME
environment variable is not set. It should be a global environment
variable (under windows) or if you are using some flavour of unix set it
in /etc/profile.

Also, it appears that you do not have a TCP/IP stack available. I have
encountered this before in Windows where, if you do not have a network
connection (ethernet or through a modem) Windows does not create a
TCP/IP stack. I am not sure how you would proceed in this case but the
availability of a TCP/IP stack is a necessity.


Thanx,


Reg

On Mon, 2003-07-14 at 06:29, Souren Sinha wrote:
> Hi,
> I am having trouble starting up tomcat from the Start menu.
> I get the following exception:
> 
> Using CATALINA_BASE:   ..
> Using CATALINA_HOME:   ..
> Using CATALINA_TMPDIR: ..\temp
> Using JAVA_HOME:   C:\j2sdk1.4.0_03
> Jul 14, 2003 10:28:26 PM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Jul 14, 2003 10:28:27 PM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Jul 14, 2003 10:28:28 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Jul 14, 2003 10:28:29 PM org.apache.coyote.http11.Http11Protocol init
> SEVERE: Error initializing endpoint
> java.net.SocketException: Network is down: listen failed
> at java.net.PlainSocketImpl.socketListen(Native Method)
> at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:333)
> at java.net.ServerSocket.bind(ServerSocket.java:309)
> at java.net.ServerSocket.bind(ServerSocket.java:266)
> at java.net.ServerSocket.(ServerSocket.java:182)
> at java.net.ServerSocket.(ServerSocket.java:138)
> 
> Can someone please help me out.
> Regards
> Souren
> 
> 
> - Original Message -
> From: "Agarwal, Naresh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 14, 2003 10:09 PM
> Subject: Do we have any control on Tomcat threads?
> 
> 
> Hi
> 
> Web apps in tomcat run in threads spawned by Tomcat. Do we have any control
> on these threads?
> 
> I want to perform some Init and UnInit operations at the time creation and
> destruction of these threads. Is it possible to do with Tomcat threads?
> 
> thanks & regards,
> Naresh Agarwal
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat startup

2003-07-14 Thread Andrew Liles
Are you trying this on a laptop/standalone machine that has no network
stack?  You need a TCP/IP stack.

(It could be another process is listening on the same IP/port; but the usual
symptom in that case is a different error)

> -Original Message-
> From: Souren Sinha [mailto:[EMAIL PROTECTED]
> Sent: 14 July 2003 13:30
> To: Tomcat Users List
> Subject: tomcat startup
> 
> 
> Hi,
> I am having trouble starting up tomcat from the Start menu.
> I get the following exception:
> 
> Using CATALINA_BASE:   ..
> Using CATALINA_HOME:   ..
> Using CATALINA_TMPDIR: ..\temp
> Using JAVA_HOME:   C:\j2sdk1.4.0_03
> Jul 14, 2003 10:28:26 PM org.apache.commons.modeler.Registry 
> loadRegistry
> INFO: Loading registry information
> Jul 14, 2003 10:28:27 PM org.apache.commons.modeler.Registry 
> getRegistry
> INFO: Creating new Registry instance
> Jul 14, 2003 10:28:28 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Jul 14, 2003 10:28:29 PM org.apache.coyote.http11.Http11Protocol init
> SEVERE: Error initializing endpoint
> java.net.SocketException: Network is down: listen failed
> at java.net.PlainSocketImpl.socketListen(Native Method)
> at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:333)
> at java.net.ServerSocket.bind(ServerSocket.java:309)
> at java.net.ServerSocket.bind(ServerSocket.java:266)
> at java.net.ServerSocket.(ServerSocket.java:182)
> at java.net.ServerSocket.(ServerSocket.java:138)
> 
> Can someone please help me out.
> Regards
> Souren
> 
> 
> - Original Message -
> From: "Agarwal, Naresh" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 14, 2003 10:09 PM
> Subject: Do we have any control on Tomcat threads?
> 
> 
> Hi
> 
> Web apps in tomcat run in threads spawned by Tomcat. Do we 
> have any control
> on these threads?
> 
> I want to perform some Init and UnInit operations at the time 
> creation and
> destruction of these threads. Is it possible to do with 
> Tomcat threads?
> 
> thanks & regards,
> Naresh Agarwal
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> This e-mail has been scanned for viruses by MessageLabs.
> 

_
This e-mail has been scanned for viruses by MessageLabs.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Startup Hanging

2003-05-29 Thread Mark Irvine LCGI
Jason,

Many thanks for the reply it seems to have worked.

In doing this the shutdown method also stops reporting a java.net
exception, does the javaw just simply hide the error messages?
Apologies if this seems a stupid question, but I am very new to this.

Mark

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2003 20:31
To: Tomcat Users List
Subject: Re: Tomcat Startup Hanging


On Thu, 29 May 2003 03:25, Mark Irvine LCGI wrote:
> Hi,
>
> When starting Tomcat using catalina run, the startup process appears 
> to
> hang:

> Should the DOS window not disappear?
>
> Mark

This is frequently discussed, it is because by default it uses java.exe
and 
not javaw.exe and is by design to change this have a look at the
following 
thread:

http://marc.theaimsgroup.com/?l=tomcat-user&m=105323976930076&w=2

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Startup Hanging

2003-05-29 Thread John Turner
To get the DOS window to "disappear", try "catalina.bat start", not 
"catalina.bat run".  Or better yet, "startup.bat".

John

On Thu, 29 May 2003 03:31:25 +0800, Jason Bainbridge <[EMAIL PROTECTED]> 
wrote:

On Thu, 29 May 2003 03:25, Mark Irvine LCGI wrote:
Hi,

When starting Tomcat using catalina run, the startup process appears to
hang:

Should the DOS window not disappear?

Mark
This is frequently discussed, it is because by default it uses java.exe 
and not javaw.exe and is by design to change this have a look at the 
following thread:

http://marc.theaimsgroup.com/?l=tomcat-user&m=105323976930076&w=2

Regards,


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat Startup Hanging

2003-05-29 Thread Jason Bainbridge
On Thu, 29 May 2003 03:25, Mark Irvine LCGI wrote:
> Hi,
>
> When starting Tomcat using catalina run, the startup process appears to
> hang:

> Should the DOS window not disappear?
>
> Mark

This is frequently discussed, it is because by default it uses java.exe and 
not javaw.exe and is by design to change this have a look at the following 
thread:

http://marc.theaimsgroup.com/?l=tomcat-user&m=105323976930076&w=2

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I would think that I would get port binding exceptions too but I don't get
any error.  I just starts up Tomcat like I had never started it.

Thanks,
Kenny

- Original Message -
From: "Milt Epstein" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 8:40 AM
Subject: Re: Tomcat startup question


> On Mon, 3 Feb 2003, Kenny G. Dubuisson, Jr. wrote:
>
> > I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is
> > normal that you can start Tomcat multiple times in a row via the
> > $CATALINA_HOME/bin/startup.sh script?  I can run the script and then
> > if I run it again (without shutting down Tomcat) it executes again.
> > I remember on an older version of Tomcat that I used that if you did
> > this you would get an error.
>
> I'd think you'd at least get some port binding exceptions, because
> you'd be trying to resuse the same ports over and over again.  Did you
> see anything in the logs.
>
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I don't think it's starting a second instance...I think it's just stopping
and restarting???  I really don't know.  But I do know that I don't get any
exceptions.  I would think that I should given that it's trying to use the
same port.

Thanks,
Kenny

- Original Message -
From: "Haytham Samad" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:01 PM
Subject: RE: Tomcat startup question


> Is it pickign up the same port to start up the other instances?  8080? or
> another port?  It should give an error if it is configured to only pick up
> port 8080?
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 3:36 PM
> To: Tomcat Users List
> Subject: Tomcat startup question
>
>
> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
> that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
> run it again (without shutting down Tomcat) it executes again.  I remember
> on an older version of Tomcat that I used that if you did this you would
get
> an error.
>
> Thanks,
> Kenny
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I don't think it's starting a second instance...I think it's just stopping
and restarting???  I really don't know.  But I do know that I don't get any
exceptions.  I would think that I should given that it's trying to use the
same port.

Thanks,
Kenny

- Original Message -
From: "Haytham Samad" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:01 PM
Subject: RE: Tomcat startup question


> Is it pickign up the same port to start up the other instances?  8080? or
> another port?  It should give an error if it is configured to only pick up
> port 8080?
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 3:36 PM
> To: Tomcat Users List
> Subject: Tomcat startup question
>
>
> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
> that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
> run it again (without shutting down Tomcat) it executes again.  I remember
> on an older version of Tomcat that I used that if you did this you would
get
> an error.
>
> Thanks,
> Kenny
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I don't think it's starting a second instance...I think it's just stopping
and restarting???  I really don't know.  But I do know that I don't get any
exceptions.  I would think that I should given that it's trying to use the
same port.

Thanks,
Kenny

- Original Message -
From: "Haytham Samad" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:01 PM
Subject: RE: Tomcat startup question


> Is it pickign up the same port to start up the other instances?  8080? or
> another port?  It should give an error if it is configured to only pick up
> port 8080?
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 3:36 PM
> To: Tomcat Users List
> Subject: Tomcat startup question
>
>
> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
> that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
> run it again (without shutting down Tomcat) it executes again.  I remember
> on an older version of Tomcat that I used that if you did this you would
get
> an error.
>
> Thanks,
> Kenny
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I don't think it's starting a second instance...I think it's just stopping
and restarting???  I really don't know.  But I do know that I don't get any
exceptions.  I would think that I should given that it's trying to use the
same port.

Thanks,
Kenny

- Original Message -
From: "Haytham Samad" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:01 PM
Subject: RE: Tomcat startup question


> Is it pickign up the same port to start up the other instances?  8080? or
> another port?  It should give an error if it is configured to only pick up
> port 8080?
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 3:36 PM
> To: Tomcat Users List
> Subject: Tomcat startup question
>
>
> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
> that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
> run it again (without shutting down Tomcat) it executes again.  I remember
> on an older version of Tomcat that I used that if you did this you would
get
> an error.
>
> Thanks,
> Kenny
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I don't think it's starting a second instance...I think it's just stopping
and restarting???  I really don't know.  But I do know that I don't get any
exceptions.  I would think that I should given that it's trying to use the
same port.

Thanks,
Kenny

- Original Message -
From: "Haytham Samad" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:01 PM
Subject: RE: Tomcat startup question


> Is it pickign up the same port to start up the other instances?  8080? or
> another port?  It should give an error if it is configured to only pick up
> port 8080?
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 3:36 PM
> To: Tomcat Users List
> Subject: Tomcat startup question
>
>
> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
> that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
> run it again (without shutting down Tomcat) it executes again.  I remember
> on an older version of Tomcat that I used that if you did this you would
get
> an error.
>
> Thanks,
> Kenny
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Kenny G. Dubuisson, Jr.
I don't think it's starting a second instance...I think it's just stopping
and restarting???  I really don't know.  But I do know that I don't get any
exceptions.  I would think that I should given that it's trying to use the
same port.

Thanks,
Kenny

- Original Message -
From: "Haytham Samad" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:01 PM
Subject: RE: Tomcat startup question


> Is it pickign up the same port to start up the other instances?  8080? or
> another port?  It should give an error if it is configured to only pick up
> port 8080?
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 3:36 PM
> To: Tomcat Users List
> Subject: Tomcat startup question
>
>
> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
> that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
> run it again (without shutting down Tomcat) it executes again.  I remember
> on an older version of Tomcat that I used that if you did this you would
get
> an error.
>
> Thanks,
> Kenny
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tomcat startup question

2003-02-04 Thread Milt Epstein
On Mon, 3 Feb 2003, Kenny G. Dubuisson, Jr. wrote:

> I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is
> normal that you can start Tomcat multiple times in a row via the
> $CATALINA_HOME/bin/startup.sh script?  I can run the script and then
> if I run it again (without shutting down Tomcat) it executes again.
> I remember on an older version of Tomcat that I used that if you did
> this you would get an error.

I'd think you'd at least get some port binding exceptions, because
you'd be trying to resuse the same ports over and over again.  Did you
see anything in the logs.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Tomcat startup question

2003-02-03 Thread Haytham Samad
Is it pickign up the same port to start up the other instances?  8080? or
another port?  It should give an error if it is configured to only pick up
port 8080?

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 3:36 PM
To: Tomcat Users List
Subject: Tomcat startup question


I'm running Tomcat 4.0.5 on RedHat 7.3.  I'd like to know if it is normal
that you can start Tomcat multiple times in a row via the
$CATALINA_HOME/bin/startup.sh script?  I can run the script and then if I
run it again (without shutting down Tomcat) it executes again.  I remember
on an older version of Tomcat that I used that if you did this you would get
an error.

Thanks,
Kenny


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




SOLVED Re: Tomcat Startup 2 errors

2002-11-18 Thread Triptpal Singh Lamba
Solved the first problem. The tomcat window was not being seen because it
was being run as a NT service.

A simple re install without the NT option solved the second problem which
was an exception of  address.

Thats it...Pls note I was on  Win XP.

Thanks
Tript Singh

- Original Message -
From: "Triptpal Singh Lamba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 12:58 PM
Subject: Tomcat Startup 2 errors


> 1. I have 3 versions of Tomcat, 2 are "associated" with Jbuilder.
> These 2 versions start off and give me an error described below. The
> point to note is that the command window(dos) in which I  run it stays and
> does not disappear.
>
> 2. Downloaded a version of Tomcat , the  port for which I have chosen as
> 8000. I have tried starting it from startup.bat and catalina.bat run
> options.
>
> In all cases above 1 and 2 , Tomcat is starting off - that is 100% sure.
(I
> can see http://localhost:portno/ page). In case 1 the tomcat server window
> stays on the screen. In case 2 it disappears but I can see it is running
as
> a process after doing CTRL-ALT-DELETE for windows XP.
>
> The exceptions in all cases is similar :-
> Why is this exception coming and how can I remove it.
>
> So my questions are :-
> 1. How do I remove the exception below.
> 2. In CASE 2 above, while running tomcat server ,why does the does window
> not remain on screen and  disappear ( something like "echo on" should make
> it remain,not go as a background process, I have tried catalina.bat start
> also, Funnily the Tomcat servers with JBuilder remain on screen , this is
> imp for jsp debugging later on and System.out.printlns etc . )
>
>
> Thanks
> Tript Singh
>
> I am copying pasting the exception below:-
>
> C:\Tomcat4\Tomcat 4.1\bin>catalina.bat run
> Using CATALINA_BASE:   ..
> Using CATALINA_HOME:   ..
> Using CATALINA_TMPDIR: ..\temp
> Using JAVA_HOME:   c:\j2sdk1.4.1
> Nov 17, 2002 12:44:00 PM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Nov 17, 2002 12:44:00 PM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Nov 17, 2002 12:44:01 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Nov 17, 2002 12:44:02 PM org.apache.coyote.http11.Http11Protocol init
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use: JVM_Bind:8000
> at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java
> :268)
> at
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
> at
>
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:10
> 02)
> at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
> )
> at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2245)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Catalina.start: LifecycleException:  Protocol handler initialization
failed:
> java.net.BindException
>  Address already in use: JVM_Bind:8000
> LifecycleException:  Protocol handler initialization failed:
> java.net.BindException: Address alread
>  in use: JVM_Bind:8000
> at
>
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:10
> 04)
> at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
> )
> at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2245)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Catalina.stop: LifecycleException:  This server has not yet been started
> LifecycleException:  This server has not yet been started
> at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:2212)
> at org.apache.catalina.s

RE: Tomcat Startup Problem

2002-10-06 Thread Shortt, Kevin


Here's my server.xml. I should've thought to post first off..

---
BEGIN server.xml
=







  
  
  

  
  








  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  
  































  
  

  
  

  

  
  

  
  

  

  

  

  

  
  


















  
  

  



  
  
  
  
  
  
usernamesa
password
driverClassName
  org.hsql.jdbcDriver
url
  jdbc:HypersonicSQL:database
  
  
  

  mail.smtp.host
  localhost

  
  


  



  

  

  



===
END server.xml

-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 10:48 PM
To: Tomcat Users List
Subject: Re: Tomcat Startup Problem


Have you change something in the server.xml file? If yes, double check 
your xml file is well formed. Can you post the xml file you have changed?

-- Jeanfrancois

Shortt, Kevin wrote:

>Hi All...
>
>I am an admin of a tomcat setup.
>I am putting together a new machine and am using all the 
>latest stuff with all the fixins.
>
>In a nutshell, my specs...
>
>Tomcat 4.1.12 (built from source)
>  - used all required commons-* from BUILDING.txt
>  - all commons-* exist in ${tomcat_home}/common/lib.
>Java 1.4
>Solaris 9
>
>
>my compile ran find. 
>my startup did not.
>
>
>After running startup.sh here is my output:
>ANY help or direction pointing (besides going to hell :) would be 
>greatly appreciated. Thanks..
>
>-k
>
>
>-
>Oct 3, 2002 6:39:06 PM org.apache.commons.digester.Digester startElement
>SEVERE: Begin event threw exception
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoade
r
>.java:992)
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoade
r
>.java:857)
>at
>org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:25
2
>)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1237)
>at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>at
>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Catalina.start: java.lang.ClassNotFoundException:
>org.apache.catalina.core.StandardServer
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1240)
>at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>at
>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met

Re: Tomcat Startup Problem

2002-10-03 Thread Jean-Francois Arcand

Have you change something in the server.xml file? If yes, double check 
your xml file is well formed. Can you post the xml file you have changed?

-- Jeanfrancois

Shortt, Kevin wrote:

>Hi All...
>
>I am an admin of a tomcat setup.
>I am putting together a new machine and am using all the 
>latest stuff with all the fixins.
>
>In a nutshell, my specs...
>
>Tomcat 4.1.12 (built from source)
>  - used all required commons-* from BUILDING.txt
>  - all commons-* exist in ${tomcat_home}/common/lib.
>Java 1.4
>Solaris 9
>
>
>my compile ran find. 
>my startup did not.
>
>
>After running startup.sh here is my output:
>ANY help or direction pointing (besides going to hell :) would be 
>greatly appreciated. Thanks..
>
>-k
>
>
>-
>Oct 3, 2002 6:39:06 PM org.apache.commons.digester.Digester startElement
>SEVERE: Begin event threw exception
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
>.java:992)
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
>.java:857)
>at
>org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252
>)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1237)
>at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>at
>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Catalina.start: java.lang.ClassNotFoundException:
>org.apache.catalina.core.StandardServer
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1240)
>at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>at
>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
>at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>  
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat startup problem

2002-09-04 Thread Turner, John


I've never seen that error before, but unless you have a specific need for
4.0.3 and JDK 1.2.2, my advice would be to upgrade both Tomcat and your JDK,
and don't use the RPMs (all due respect to the creator of the RPM).

tomcat: 4.0.4, binary not RPM
JDK: 1.3.1 or 1.4.0

The binary install of Tomcat is absolutely painless, there's really no need
at all for an RPM.

John

> -Original Message-
> From: Sujoy Ghosh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 5:44 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup problem
> 
> 
> Hi ,
> 
> I can't start Tomcat 4.0.3 ; while starting using "service tomcat4 
> start " its showing Started [OK] but actually it isn't.Under 
> logs/catalina.out I found following error;
> 
> Exception during startup processing
> java.lang.reflect.InvocationTargetException: 
> java.lang.NoClassDefFoundError: 
> javax/naming/directory/DirContext
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java, Compiled Code)
>  at 
> org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java, 
> Compiled Code)
>  at 
> org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java, 
> Compiled Code)
>  at 
> org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java, 
> Compiled Code)
>  at 
> org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAda
> pter.java, 
> Compiled Code)...
> 
> FYI: I have installed RPM version of Tomcat 4.0.3 .Also using 
> JDK1.2.2 on RH Linux 7.1 .
> 
> Any help will be appreciated.
> 
> Thanks in advance.
> 
> -best
> 
> Sujoy
> 
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat startup script

2002-07-11 Thread Eddie Bush

If you installed from RPMs you should have one already (I believe - I 
did!).  You _will_ have to enable it (the RPM told you this when you 
installed).  To do that you can do one of two things:

1)  Use the control panel -> Services tool
2)  At a command prompt (as root, I believe) type ntsysv

The control pannel "applet" (is that what it's called?) will prompt you 
for the super-user password if you run it as a non-priviledged user.  I 
often use the control panel for things - it works quite well.  Either 
method should work fine - and your procedure is similar in both:

Look for the entry saying "tomcat4" and check the box beside it (in 
ntsysv, I _believe_ you can do this by either hitting space or  
[aka ]).

If it _really_ isn't there, repost and we'll see what we can do.

Regards,

Eddie

[EMAIL PROTECTED] wrote:

>Whoever has a script for starting Tomcat,
>  could you please send it to me.
>I am running Tomcat 4.0 on Redhat 7.2
>  Thanks,
>Dan
>




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat startup script

2002-07-11 Thread Datllr

Whoever has a script for starting Tomcat,
  could you please send it to me.
I am running Tomcat 4.0 on Redhat 7.2
  Thanks,
Dan



RE: Tomcat startup script

2002-07-10 Thread Turner, John


You have to tell us what platform. ;)

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Kapil Sharma [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 11:45 AM
To: 'Tomcat Users List'
Subject: Tomcat startup script


Hi,
This is my second email. Can anyone send me the tomcat start/stop script
. I am running tomcat as tomcat user and want to start tomcat as tomcat
user on system startup automatically.

Thanks
jerry 



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: tomcat startup problems on Linux box.

2002-03-05 Thread Christopher K . St . John

Patrick Lee wrote:
> 
> I've noticed that "catalina.sh shutdown" doesn't always stop Tomcat.
> It's easy to get around it, you can manually kill the Java process that
> runs Tomcat. Tomcat won't start if there is already a running version.
> To automate this, you can modify catalina.sh (just add two lines) to
> save the process ID of the Tomcat Java process to a file (most Unix
> daemons do that) when started. And kill the process when stopped.
>

 As long as you're aware that Catalina may be off doing things
like saving your sessions to disk, running your servlet's
destroy() method, etc, etc. 

-- 
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat startup problems on Linux box.

2002-03-05 Thread Patrick Lee

I've noticed that "catalina.sh shutdown" doesn't always stop Tomcat. 
It's easy to get around it, you can manually kill the Java process that 
runs Tomcat. Tomcat won't start if there is already a running version. 
To automate this, you can modify catalina.sh (just add two lines) to 
save the process ID of the Tomcat Java process to a file (most Unix 
daemons do that) when started. And kill the process when stopped.

At 11:05 AM 3/1/2002, Sean Machin wrote:
 >Hi All,
 >
 >I am running Tomcat 4.0 on a Redhat 7.1 machine.
 >Everything is fine, except the startup/shutdown
 >scripts do not seem to work reliably.
 >I installed Tomcat from the RPM, so use the script
 >/etc/init.d/tomcat4 {shutdown|start}.
 >Sometimes they work, sometimes they don't.
 >I can always restart the service with a reboot,
 >but don't want to have to do that.
 >
 >Any ideas what could be going wrong?

-- 
Patrick Lee <[EMAIL PROTECTED]>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: tomcat startup problems on Linux box.

2002-03-01 Thread Steve Madonna

It would be hard to identify your specific problem based on what you have
written here, but there some places you can start looking. First, check your
log files, specifically the 'catalina.out' file for startup and shutdown
errors. Typcially it takes tomcat 4-5 seconds to startup or shutdown on my
redhat 7.2 machine running java 1.4. Running a "tail -f " will
allow you to see what's going on (where  is the logfile you're
watching).

-Steve


-Original Message-
From: Sean Machin
To: 'Tomcat Users List'
Sent: 3/1/2002 8:05 AM
Subject: tomcat startup problems on Linux box.

Hi All,

I am running Tomcat 4.0 on a Redhat 7.1 machine.
Everything is fine, except the startup/shutdown
scripts do not seem to work reliably.
I installed Tomcat from the RPM, so use the script
/etc/init.d/tomcat4 {shutdown|start}.
Sometimes they work, sometimes they don't.
I can always restart the service with a reboot,
but don't want to have to do that.

Any ideas what could be going wrong?

Thanks,
Sean

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 



RE: tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-11 Thread Justin Rowles

> I was wondering why you can't just add a symbolic link in the rc3.d
> point to Catalina.sh, startup.sh or shutdown.sh.  I tried 
> linking those
> files but it still doesn't work after I restarted the server?

Possibly because Catalina.sh then gets a parameter of "start"?  I dunno
though, only guessing.

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-10 Thread Cavan Morris

catalina.sh worked fine for me.  I think that I may have had to add the path to tomcat 
to the script though.

- Original Message - 
From: "Nelson Yip" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 11:52 AM
Subject: RE: tomcat startup script (AW: Auto starting Tomcat during boot?)


I was wondering why you can't just add a symbolic link in the rc3.d
point to Catalina.sh, startup.sh or shutdown.sh.  I tried linking those
files but it still doesn't work after I restarted the server?
But I will give your script a try.

Thanks
Nelson

-Original Message-
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 10, 2002 2:41 PM
To: 'Tomcat Users List'
Subject: tomcat startup script (AW: Auto starting Tomcat during boot?)

i've already mailed this before. this is a tomcat
startup/shutdown/control
script. place it in /etc/init.d and place a symbolic link S99tomcat to
it
under /etc/inid.d/rc3.d (and probably rc5.d if you start graphical) for
startup and a symbolic link K99tomcat for stopping tomcat on shutdown.
don't
forget to set it executable. edit the variables in the beginning of the
script to match your path and your port settings. specify a user under
which
tomcat will be started (normally user tomcat).
then insert the line:
START_TOMCAT="yes"
in /etc/rc.config
(note: script tested only with SuSE Linux 7.x but should work elsewhere
without problems)

have fun!
michael

-Ursprüngliche Nachricht-
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Jänner 2002 19:51
An: [EMAIL PROTECTED]
Betreff: Auto starting Tomcat during boot?


Hi,
 
I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box.
Everything works fine but Tomcat won't auto start after a reboot.
 
I added a symbolic link to the Catalina.sh file in my rc3.d level.
 
ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat
 
Am I doing something wrong?
 
Thanks
Nelson



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-10 Thread Nelson Yip

I was wondering why you can't just add a symbolic link in the rc3.d
point to Catalina.sh, startup.sh or shutdown.sh.  I tried linking those
files but it still doesn't work after I restarted the server?
But I will give your script a try.

Thanks
Nelson

-Original Message-
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 10, 2002 2:41 PM
To: 'Tomcat Users List'
Subject: tomcat startup script (AW: Auto starting Tomcat during boot?)

i've already mailed this before. this is a tomcat
startup/shutdown/control
script. place it in /etc/init.d and place a symbolic link S99tomcat to
it
under /etc/inid.d/rc3.d (and probably rc5.d if you start graphical) for
startup and a symbolic link K99tomcat for stopping tomcat on shutdown.
don't
forget to set it executable. edit the variables in the beginning of the
script to match your path and your port settings. specify a user under
which
tomcat will be started (normally user tomcat).
then insert the line:
START_TOMCAT="yes"
in /etc/rc.config
(note: script tested only with SuSE Linux 7.x but should work elsewhere
without problems)

have fun!
michael

-Ursprüngliche Nachricht-
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Jänner 2002 19:51
An: [EMAIL PROTECTED]
Betreff: Auto starting Tomcat during boot?


Hi,
 
I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box.
Everything works fine but Tomcat won't auto start after a reboot.
 
I added a symbolic link to the Catalina.sh file in my rc3.d level.
 
ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat
 
Am I doing something wrong?
 
Thanks
Nelson



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat startup error

2001-11-15 Thread Larry Isaacs

This is likely a CLASSPATH problem.  For example, having
j2ee.jar on your CLASSPATH.  Remove any non-Tomcat entries
from your CLASSPATH and see if Tomcat will start.  Add
them back it one at a time until you see which one is
causing the problem.

Larry

> -Original Message-
> From: Srinivas Velidanda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 5:03 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup error
> Importance: High
> 
> 
> Following error is occuring while starting up the Tomcat server.
> 
> I have downloaded tomcat archive for 2 times still i am not 
> able to work
> with JSPs. Server is working fine with Servlets.
> Please suggest me the solution.
> 
> java.lang.ClassNotFoundException:
> org/apache/tomcat/service/http/HttpConnectionH
> andler
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Compiled Code)
> at
> org.apache.tomcat.service.SimpleTcpConnector.setProperty(SimpleTcpCon
> nector.java:180)
> at java.lang.reflect.Method.invoke(Native Method)
> at org.apache.tomcat.util.xml.MethodSetter.end(Compiled Code)
> at 
> org.apache.tomcat.util.xml.XmlMapper.matchEnd(Compiled Code)
> at
> org.apache.tomcat.util.xml.XmlMapper.endElement(XmlMapper.java:96)
> at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
> at com.sun.xml.parser.Parser.content(Compiled Code)
> at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
> at com.sun.xml.parser.Parser.content(Compiled Code)
> at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
> at com.sun.xml.parser.Parser.content(Compiled Code)
> at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
> at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
> at com.sun.xml.parser.Parser.parse(Parser.java:283)
> at 
> org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
> Context log: path="/MyApps" Adding context path="/MyApps"
> docBase="webapps/MyAp
> ps"
> Context log: path="/examples" Adding context path="/examples"
> docBase="webapps/
> examples"
> Context log: path="" Adding context path=""  docBase="webapps/ROOT"
> Context log: path="/test" Adding context path="/test"
> docBase="webapps/test"
> Starting tomcat. Check logs/tomcat.log for error messages
> Starting tomcat install="c:\Tomcat\Binary" home="C:\Tomcat\Binary"
> classPath="c:
> \Tomcat\Binary\classes;c:\Tomcat\Binary\lib\webserver.jar;c:\T
> omcat\Binary\l
> ib\j
> asper.jar;c:\Tomcat\Binary\lib\xml.jar;c:\Tomcat\Binary\lib\se
> rvlet.jar;\lib
> \too
> ls.jar"
> Context log: path="/admin" Automatic context load
> docBase="C:\Tomcat\Binary\weba
> pps\admin"
> Context log: path="/admin" Adding context path="/admin"
> docBase="C:\Tomcat\Bina
> ry\webapps\admin"
> 
> Thank you,
> Srinivas
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat startup problem

2001-09-18 Thread Steve Heller

 I discovered that the environmental variable %OS% is set to 'WINNT' on my
Win2000 PC.  The Tomcat.bat script is looking for %OS% ='windows_NT' so it
bypassed any NT specific settings.  I still have other errors to deal with but
at least I am past this problem.

Thanks for everyone's help.
Steve

pero wrote:

> the error I thought of would appear if both %_STARTJAVA% AND %TOMCAT_OPTS%
> were empty.
> One thing that came into my mind: Does the path you installed your JDK to
> contain spaces? (i.e. c:/program files/javasoft...)
> What does your JAVA_HOME say?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 11:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Tomcat startup problem
> >
> >
> > pero,
> >
> > I need to try a few things but %TOMCAT_OPTS% appears to be empty
> > although I
> > think that it is the same under the Win95 version.  I am using
> > the Startup.bat
> > file which calls tomcat.bat.  startup.bat is the same under Win95
> > and Win2000.
> >
> > Thanks,
> >
> > Steve
> >
> > pero wrote:
> >
> > > are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
> > >
> > > > -Original Message-
> > > > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, September 17, 2001 10:56 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Tomcat startup problem
> > > >
> > > >
> > > > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > > > server and an application were working on the Win95 PC.
> > After upgrading
> > > > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > > > directories and files to the PC and set up environmental variables.  I
> > > > am getting this error message when trying to start Tomcat
> > under Win2000.
> > > >
> > > > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1'
> > (or one of
> > > > its components). Make sure the path and filename are correct and that
> > > > all required libraries are available."
> > > >
> > > > The line being executed at error time is in Tomcat.bat in section
> > > > :startServer.
> > > > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > > > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> > > >
> > > > I looked through the Tomcat user and developer mail lists and
> > could not
> > > > find a similar problem.  I've also checked the environmental variables
> > > > for classpath, tomcat_home, java_home and they all seem to be fine.
> > > >
> > > > Does anyone know what is causing this error and/or a solution?
> > > >
> > > > Thanks for your help.
> > > >
> > > > Steve
> > > >
> > > >
> > > >
> >



RE: Tomcat startup problem

2001-09-17 Thread pero

the error I thought of would appear if both %_STARTJAVA% AND %TOMCAT_OPTS%
were empty.
One thing that came into my mind: Does the path you installed your JDK to
contain spaces? (i.e. c:/program files/javasoft...)
What does your JAVA_HOME say?

> -Original Message-
> From: Steve Heller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat startup problem
>
>
> pero,
>
> I need to try a few things but %TOMCAT_OPTS% appears to be empty
> although I
> think that it is the same under the Win95 version.  I am using
> the Startup.bat
> file which calls tomcat.bat.  startup.bat is the same under Win95
> and Win2000.
>
> Thanks,
>
> Steve
>
> pero wrote:
>
> > are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
> >
> > > -Original Message-
> > > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, September 17, 2001 10:56 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat startup problem
> > >
> > >
> > > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > > server and an application were working on the Win95 PC.
> After upgrading
> > > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > > directories and files to the PC and set up environmental variables.  I
> > > am getting this error message when trying to start Tomcat
> under Win2000.
> > >
> > > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1'
> (or one of
> > > its components). Make sure the path and filename are correct and that
> > > all required libraries are available."
> > >
> > > The line being executed at error time is in Tomcat.bat in section
> > > :startServer.
> > > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> > >
> > > I looked through the Tomcat user and developer mail lists and
> could not
> > > find a similar problem.  I've also checked the environmental variables
> > > for classpath, tomcat_home, java_home and they all seem to be fine.
> > >
> > > Does anyone know what is causing this error and/or a solution?
> > >
> > > Thanks for your help.
> > >
> > > Steve
> > >
> > >
> > >
>




RE: Tomcat startup problem

2001-09-17 Thread Hoggatt Matt - mahogg

My %TOMCAT_OPTS% is empty, but %_STARTJAVA% is the following. . .

set _STARTJAVA=start "%JAVA_HOME%\bin\java"

-Matt

-Original Message-
From: Steve Heller [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat startup problem


pero,

I need to try a few things but %TOMCAT_OPTS% appears to be empty although I
think that it is the same under the Win95 version.  I am using the
Startup.bat
file which calls tomcat.bat.  startup.bat is the same under Win95 and
Win2000.

Thanks,

Steve

pero wrote:

> are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat startup problem
> >
> >
> > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > server and an application were working on the Win95 PC.  After upgrading
> > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > directories and files to the PC and set up environmental variables.  I
> > am getting this error message when trying to start Tomcat under Win2000.
> >
> > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> > its components). Make sure the path and filename are correct and that
> > all required libraries are available."
> >
> > The line being executed at error time is in Tomcat.bat in section
> > :startServer.
> > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> >
> > I looked through the Tomcat user and developer mail lists and could not
> > find a similar problem.  I've also checked the environmental variables
> > for classpath, tomcat_home, java_home and they all seem to be fine.
> >
> > Does anyone know what is causing this error and/or a solution?
> >
> > Thanks for your help.
> >
> > Steve
> >
> >
> >



Re: Tomcat startup problem

2001-09-17 Thread Steve Heller

pero,

I need to try a few things but %TOMCAT_OPTS% appears to be empty although I
think that it is the same under the Win95 version.  I am using the Startup.bat
file which calls tomcat.bat.  startup.bat is the same under Win95 and Win2000.

Thanks,

Steve

pero wrote:

> are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat startup problem
> >
> >
> > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > server and an application were working on the Win95 PC.  After upgrading
> > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > directories and files to the PC and set up environmental variables.  I
> > am getting this error message when trying to start Tomcat under Win2000.
> >
> > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> > its components). Make sure the path and filename are correct and that
> > all required libraries are available."
> >
> > The line being executed at error time is in Tomcat.bat in section
> > :startServer.
> > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> >
> > I looked through the Tomcat user and developer mail lists and could not
> > find a similar problem.  I've also checked the environmental variables
> > for classpath, tomcat_home, java_home and they all seem to be fine.
> >
> > Does anyone know what is causing this error and/or a solution?
> >
> > Thanks for your help.
> >
> > Steve
> >
> >
> >



Re: Tomcat startup problem

2001-09-17 Thread Steve Heller

Matt,

Yes, I can cd %TOMCAT_HOME%

Steve

Hoggatt Matt - mahogg wrote:

> Can you "cd %TOMCAT_HOME%"?
>
> -Original Message-
> From: pero [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Tomcat startup problem
>
> are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat startup problem
> >
> >
> > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > server and an application were working on the Win95 PC.  After upgrading
> > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > directories and files to the PC and set up environmental variables.  I
> > am getting this error message when trying to start Tomcat under Win2000.
> >
> > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> > its components). Make sure the path and filename are correct and that
> > all required libraries are available."
> >
> > The line being executed at error time is in Tomcat.bat in section
> > :startServer.
> > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> >
> > I looked through the Tomcat user and developer mail lists and could not
> > find a similar problem.  I've also checked the environmental variables
> > for classpath, tomcat_home, java_home and they all seem to be fine.
> >
> > Does anyone know what is causing this error and/or a solution?
> >
> > Thanks for your help.
> >
> > Steve
> >
> >
> >



RE: Tomcat startup problem

2001-09-17 Thread Hoggatt Matt - mahogg

Can you "cd %TOMCAT_HOME%"?

-Original Message-
From: pero [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat startup problem


are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?

> -Original Message-
> From: Steve Heller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 10:56 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup problem
> 
> 
> I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> server and an application were working on the Win95 PC.  After upgrading
> to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> directories and files to the PC and set up environmental variables.  I
> am getting this error message when trying to start Tomcat under Win2000.
> 
> "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> its components). Make sure the path and filename are correct and that
> all required libraries are available."
> 
> The line being executed at error time is in Tomcat.bat in section
> :startServer.
> %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> 
> I looked through the Tomcat user and developer mail lists and could not
> find a similar problem.  I've also checked the environmental variables
> for classpath, tomcat_home, java_home and they all seem to be fine.
> 
> Does anyone know what is causing this error and/or a solution?
> 
> Thanks for your help.
> 
> Steve
> 
> 
> 



RE: Tomcat startup problem

2001-09-17 Thread pero

are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?

> -Original Message-
> From: Steve Heller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 10:56 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup problem
> 
> 
> I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> server and an application were working on the Win95 PC.  After upgrading
> to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> directories and files to the PC and set up environmental variables.  I
> am getting this error message when trying to start Tomcat under Win2000.
> 
> "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> its components). Make sure the path and filename are correct and that
> all required libraries are available."
> 
> The line being executed at error time is in Tomcat.bat in section
> :startServer.
> %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> 
> I looked through the Tomcat user and developer mail lists and could not
> find a similar problem.  I've also checked the environmental variables
> for classpath, tomcat_home, java_home and they all seem to be fine.
> 
> Does anyone know what is causing this error and/or a solution?
> 
> Thanks for your help.
> 
> Steve
> 
> 
> 



Re: Tomcat startup under NT

2001-07-05 Thread David Herder

A thank you goes out to Steven Turoff... your suggestion helped me to 
isolate the problem once I was able to see what Tomcat was doing... an
improperly terminated Resource Interceptor in the server.xml.

Thanks!!! Another request... now that my servlets are working, where can I
access the password (in order to change it) for the Context Administrator
webapp?

dave



Re: Tomcat startup under NT

2001-07-04 Thread Steven Turoff

Dave,

Open up a DOS command window and cd into TOMCAT_HOME/bin. Then issue the 
command:

tomcat run

This will run tomcat in the same window and you can see the problem. When 
you use the startup.bat script, it issues the command:

tomcat start

which runs Tomcat in a different window.

Steve


At 03:57 PM 07/04/2001, you wrote:
>Essential Info:
>Tomcat 3.2.2
>Apache 1.3.20
>NT 4 Workstation Service pack 4
>JDK 1.3.1
>
>When executing the command startup from TOMCAT_HOME, a startup window 
>appears then disappears in a fraction of a second. I read in the FAQ that 
>this is due to memory allocation for the command prompt, but under NT, I 
>cannot find a way to change this. Nonetheless, I don't think this is the 
>probem, as I am also getting a "500 Internal Server Error" when trying to 
>run servlets. I have followed the suggestions in the faq about 
>capitalizing the WEB-INF folder, but this has not changed anything.
>
>But first things first, any suggestions on keeping the Tomcat Window open??
>
>Thanks,
>Dave




Re: Tomcat startup under NT

2001-07-04 Thread David Herder

JAVA_HOME is set up as c:\jdk1.3.1 and I cannot access the tomcat.bat file.
When I try to edit it with sysedit, I get the response: The name specified
is not recognized as an internal or external command, operable program or
batch file.

dave



> check to see if you have setup  JAVA_HOME in your
> system classpath aand also in the tomcat.bat
> Kris
> --- David Herder <[EMAIL PROTECTED]> wrote:
>> Essential Info:
>> Tomcat 3.2.2
>> Apache 1.3.20
>> NT 4 Workstation Service pack 4
>> JDK 1.3.1
>>
>> When executing the command startup from TOMCAT_HOME,
>> a startup window
>> appears then disappears in a fraction of a second. I
>> read in the FAQ that
>> this is due to memory allocation for the command
>> prompt, but under NT, I
>> cannot find a way to change this. Nonetheless, I
>> don't think this is the
>> probem, as I am also getting a "500 Internal Server
>> Error" when trying to
>> run servlets. I have followed the suggestions in the
>> faq about capitalizing
>> the WEB-INF folder, but this has not changed
>> anything.
>>
>> But first things first, any suggestions on keeping
>> the Tomcat Window open??
>>
>> Thanks,
>> Dave
>
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 



Re: Tomcat startup under NT

2001-07-04 Thread Krishna Muthyala

check to see if you have setup  JAVA_HOME in your
system classpath aand also in the tomcat.bat
Kris
--- David Herder <[EMAIL PROTECTED]> wrote:
> Essential Info:
> Tomcat 3.2.2
> Apache 1.3.20
> NT 4 Workstation Service pack 4
> JDK 1.3.1
> 
> When executing the command startup from TOMCAT_HOME,
> a startup window
> appears then disappears in a fraction of a second. I
> read in the FAQ that
> this is due to memory allocation for the command
> prompt, but under NT, I
> cannot find a way to change this. Nonetheless, I
> don't think this is the
> probem, as I am also getting a "500 Internal Server
> Error" when trying to
> run servlets. I have followed the suggestions in the
> faq about capitalizing
> the WEB-INF folder, but this has not changed
> anything.
> 
> But first things first, any suggestions on keeping
> the Tomcat Window open??
> 
> Thanks,
> Dave


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: Tomcat Startup Error

2001-06-06 Thread Milt Epstein


Sounds like they're trying to use a port they don't have permission
for.  On UNIX systems, using any port below 1024 requires root
permission.  But you probably don't want to be running tomcat as root.
Best bet is to use tomcat on a port higher than 1024 (or use it with
apache, which knows how to use port 80).  This has come up on the list
before.


On Wed, 6 Jun 2001, Michael Jennings wrote:

> Hi,
>
> What operating system are you using? Which version of Java are you launching it with?
> What version of tomcat are you using?
> What user are you logged in as when you try to launch it?
> When you say you started tomcat on port 80, do you mean you
> modified the configuration file or files to use port 80?
> Do you prefer pepsi or coke?
> Any information you can send along helps!
> -Mike
>
>
>   - Original Message -
>   From: Mike Alba
>   To: [EMAIL PROTECTED]
>   Sent: Wednesday, June 06, 2001 2:55 PM
>   Subject: Tomcat Startup Error
>
>
>   Hi,
>
> Sorry for the beginner question but at least it is a tomcat
>   question ;)
> Anyway when I try to start tomcat on port 80
>   I get a
>
>   java.net.BindException: Permission denied
>
>   Error and it fails can someone please tell me why?
>
>   Thanks in advance for yor help!
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




Re: Tomcat Startup Error

2001-06-06 Thread Michael Jennings



Hi,
 
What operating system are you using? Which version 
of Java are you launching it with?
What version of tomcat are you using?
What user are you logged in as when you try to 
launch it?
When you say you started tomcat on port 80, do you 
mean you
modified the configuration file or files to use 
port 80?
Do you prefer pepsi or coke?
Any information you can send along 
helps!
-Mike
 
 

  - Original Message - 
  From: 
  Mike Alba 

  To: [EMAIL PROTECTED] 
  Sent: Wednesday, June 06, 2001 2:55 
  PM
  Subject: Tomcat Startup Error
  
  Hi,
   
    Sorry for the beginner question but at 
  least it is a tomcat
  question ;)
    Anyway when I try to start tomcat on port 
  80
  I get a 
   
  java.net.BindException: Permission 
  denied
   
  Error and it fails can someone please tell me 
  why?
   
  Thanks in advance for yor 
help!


RE: Tomcat Startup Error

2001-06-06 Thread Ryan Thompson



you 
must be root to start it on a port below 1024
run it 
on 8080 or start it when you are root

  -Original Message-From: Mike Alba 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 06, 2001 2:55 
  PMTo: [EMAIL PROTECTED]Subject: Tomcat 
  Startup Error
  Hi,
   
    Sorry for the beginner question but at 
  least it is a tomcat
  question ;)
    Anyway when I try to start tomcat on port 
  80
  I get a 
   
  java.net.BindException: Permission 
  denied
   
  Error and it fails can someone please tell me 
  why?
   
  Thanks in advance for yor 
help!


RE: tomcat startup problem

2001-04-16 Thread Wong, Connie

Try to stop tomcat and start it again.
Something when you create a new class (or recompile), you need to stop and
start tomcat.

Connie


> -Original Message-
> From: Craig Pfeifer [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:23 PM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: tomcat startup problem
> 
> This should be in an FAQ somewhere..
> 
> If I'm not mistaken, this error :
> 
> > FATAL:java.net.BindException: Address already in use
> >  at java.net.PlainSocketImpl.socketBind(Native Method)
> 
> means that there's already another application that has bound to the
> socket
> that you are trying to use.
> 
> So, chances are another instance of Tomcat is running on this machine
> already.
> 
> Craig Pfeifer
> Software Engineer
> Aether Systems, Software Products Division
> 703.847.3303 x2053
> [EMAIL PROTECTED]
> 
>   
> 
> 
> > -Original Message-
> > From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 16, 2001 1:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: tomcat startup problem
> > 
> > 
> > 
> > redhat 7
> > sun jdk 1.3
> > 
> > when I try to run tomcat I get
> > 
> > #./startup.sh
> > 
> > Using classpath: 
> > /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> > :/usr/local/
> > tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> > l/tomcat/lib/
> > servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> > ebserver.jar:
> > /usr/java/jdk1.3.0_02/lib/tools.jar
> > 
> > # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> > /examples )
> > 
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> > FATAL:java.net.BindException: Address already in use
> > java.net.BindException: Address already in use
> >  at java.net.PlainSocketImpl.socketBind(Native Method)
> >  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
> >  at java.net.ServerSocket.(ServerSocket.java:170)
> >  at java.net.ServerSocket.(ServerSocket.java:121)
> >  at 
> > org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> > (DefaultServerSocketFactory.java:97)
> >  at 
> > org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> > pEndpoint.java:
> > 239)
> >  at 
> > org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> > tor.java:188)
> >  at 
> > org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> >  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> >  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> > 



Re: tomcat startup problem

2001-04-16 Thread Chad Harrison


thanks all.

ps awx | grep tom revealed a lingering process... strange.


On Monday, April 16, 2001, at 01:24  PM, Jeff Kilbride wrote:

> Looks like Tomcat may already be running or may not have shut down 
> properly
> from a previous run.
>
> Try typing 'ps awx' from the command line and looking for java 
> processes. If
> java is running, first try stopping Tomcat again with the shutdown 
> script.
> If that doesn't get rid of all your java processes, run 'killall java' 
> from
> the command line -- assuming you don't have anything else important 
> running
> java on your machine! I've had to do this a few times, if Tomcat doesn't
> shutdown properly on it's own.
>
> Thanks,
> --jeff
>
> - Original Message -
> From: "Chad Harrison" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, April 16, 2001 10:17 AM
> Subject: tomcat startup problem
>
>
>>
>> redhat 7
>> sun jdk 1.3
>>
>> when I try to run tomcat I get
>>
>> #./startup.sh
>>
>> Using classpath:
>> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/
>>
> tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/
>>
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:
>> /usr/java/jdk1.3.0_02/lib/tools.jar
>>
>> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /examples )
>>
>> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
>> Starting tomcat. Check logs/tomcat.log for error messages
>> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
>> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
>> FATAL:java.net.BindException: Address already in use
>> java.net.BindException: Address already in use
>>  at java.net.PlainSocketImpl.socketBind(Native Method)
>>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>>  at java.net.ServerSocket.(ServerSocket.java:170)
>>  at java.net.ServerSocket.(ServerSocket.java:121)
>>  at
>> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
>> (DefaultServerSocketFactory.java:97)
>>  at
>>
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
> :
>> 239)
>>  at
>>
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
>>  at
>> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>>
>
>



RE: tomcat startup problem

2001-04-16 Thread Randy Layman


Something else is trying to use one of the ports Tomcat is trying to
use (by default its 8080 and 8007).  I would suggest you use netstat to
determine what ports are available and reconfigure Tomcat, or stop the other
process.

Randy


> -Original Message-
> From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat startup problem
> 
> 
> 
> redhat 7
> sun jdk 1.3
> 
> when I try to run tomcat I get
> 
> #./startup.sh
> 
> Using classpath: 
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> :/usr/local/
> tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> l/tomcat/lib/
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> ebserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
> 
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> /examples )
> 
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>  at java.net.ServerSocket.(ServerSocket.java:170)
>  at java.net.ServerSocket.(ServerSocket.java:121)
>  at 
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
>  at 
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> pEndpoint.java:
> 239)
>  at 
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.java:188)
>  at 
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 



Re: tomcat startup problem

2001-04-16 Thread Jeff Kilbride

Looks like Tomcat may already be running or may not have shut down properly
from a previous run.

Try typing 'ps awx' from the command line and looking for java processes. If
java is running, first try stopping Tomcat again with the shutdown script.
If that doesn't get rid of all your java processes, run 'killall java' from
the command line -- assuming you don't have anything else important running
java on your machine! I've had to do this a few times, if Tomcat doesn't
shutdown properly on it's own.

Thanks,
--jeff

- Original Message -
From: "Chad Harrison" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 10:17 AM
Subject: tomcat startup problem


>
> redhat 7
> sun jdk 1.3
>
> when I try to run tomcat I get
>
> #./startup.sh
>
> Using classpath:
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/
>
tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/
>
servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
>
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /examples )
>
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>  at java.net.ServerSocket.(ServerSocket.java:170)
>  at java.net.ServerSocket.(ServerSocket.java:121)
>  at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
>  at
>
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:
> 239)
>  at
>
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
>  at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>




RE: tomcat startup problem

2001-04-16 Thread Craig Pfeifer

This should be in an FAQ somewhere..

If I'm not mistaken, this error :

> FATAL:java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)

means that there's already another application that has bound to the socket
that you are trying to use.

So, chances are another instance of Tomcat is running on this machine
already.

Craig Pfeifer
Software Engineer
Aether Systems, Software Products Division
703.847.3303 x2053
[EMAIL PROTECTED]

  


> -Original Message-
> From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat startup problem
> 
> 
> 
> redhat 7
> sun jdk 1.3
> 
> when I try to run tomcat I get
> 
> #./startup.sh
> 
> Using classpath: 
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> :/usr/local/
> tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> l/tomcat/lib/
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> ebserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
> 
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> /examples )
> 
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>  at java.net.ServerSocket.(ServerSocket.java:170)
>  at java.net.ServerSocket.(ServerSocket.java:121)
>  at 
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
>  at 
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> pEndpoint.java:
> 239)
>  at 
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.java:188)
>  at 
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 



RE: tomcat startup problem

2001-04-06 Thread Michael Wentzel

Run 'tomcat.bat run' at command prompt instead of startup.bat.

This will allow you to see stack trace.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com



RE: tomcat startup problem

2001-04-06 Thread Benoît Jacquemont

You sould try to open a command line window, got to the tomcat/bin directory
and try tomcat run. You'll see what's exactly the problem since the window
won't close.

Benoît
> Hi,
>
> I have tomcat 3.2.1 running on win 2k with jdk 1.3
>
> Everything was running perfectly until a while ago. Suddenly
> when I see,
> tomcat is shutdown and all the windows are closed. I tried to restart.
> Tomcat starts opening in the new window. I think it loads the
> loadon startup
> servlet and then when it comes to  PoolTcpConnector, the
> window is closed
> and tomcat is shut down. I'm not sure, if the problem is at
> PoolTcpConnector
> or not. I can't see that. It just closes down.
>
> I can't see any tomcat.log files.
>
> Can someone please answer this asap. I'm kinda in a big fix.
>
> thanks a bunch,
> Lakshmi




Re: Tomcat startup problem

2001-03-26 Thread Jon Small

For sake of brevity, I did not include the entire init script. I did set the
TOMCAT_HOME, JAVA_HOME, and CLASSPATH environment variables in the init
script.

TOMCAT_HOME=/usr/local/tomcat
export TOMCAT_HOME
JAVA_HOME=/opt/java1.2
export JAVA_HOME
PATH=$TOMCAT_HOME/bin:/usr/sbin:/usr/bin:/sbin
export PATH
CLASSPATH=${CLASSPATH}:/apps/InformixJdbcDriver/lib/ifxjdbc.jar
export CLASSPATH

I also placed a sleep statement at the end of the tomcat init script and can
verify that the "java" process runs successfully, just as it does manually.
It is just when then "rc" process completes executing the init scripts that
the "java" process seems to die. There are no error messages at all.

I am assuming that someone out there has gotten Tomcat to startup with an
init script on HP-UX, Solaris, or SUN-OS. Some system that doesn't use the
"daemon" command like Linux does.

Any assistance is sincerely appreciated.


- Original Message -
From: "Vladimir Grishchenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 4:47 PM
Subject: Re: Tomcat startup problem


> It might be that you don't set $TOMCAT_HOME.
> The following script works on Linux, set vars to your values:
>
> #!/bin/sh
>
> TOMCAT_HOME=/usr/local/tomcat
> export TOMCAT_HOME
>
> JAVA_HOME=/opt/IBMJava2-13
> export JAVA_HOME
>
> case "$1" in
>   start)
> echo -n "Starting Tomcat: "
> $TOMCAT_HOME/bin/startup.sh
> echo
> ;;
>   stop)
> echo -n "Shutting down Tomcat: "
> $TOMCAT_HOME/bin/shutdown.sh
> echo
> ;;
>   *)
> echo "Usage: $0 {start|stop}"
> exit 1
> esac
>
> exit 0
>
>
> > Jon Small wrote:
> >
> > O/S: HP-UX 11.0
> > Apache: 1.3.12
> > Tomcat: 3.1
> >
> > Anyone have/had the same problem? I can start Tomcat manually just fine,
but
> > not successfully with an init script. It seems that the "java" process
> > starts initially, but at some point dies. I think that it dies when the
init
> > script exits. We have it running fine with Linux, but it uses a "daemon"
> > command to make the "java" process a daemon. Any clues?
> >
> > I use the standard SystemV init script:
> >
> > case "$1" in
> >start)
> >  echo -n "Starting tomcat: "
> >  /usr/local/tomcat/bin/startup.sh
> >  ;;
> >stop)
> >  echo -n "Shutting down tomcat: "
> >  /usr/local/tomcat/bin/shutdown.sh
> >  ;;
> >*)
> >  echo "Usage: $0 {start|stop}"
> >  exit 1
> > esac
> >
> > exit 0
>



Re: Tomcat startup problem

2001-03-23 Thread Vladimir Grishchenko

It might be that you don't set $TOMCAT_HOME.
The following script works on Linux, set vars to your values:

#!/bin/sh

TOMCAT_HOME=/usr/local/tomcat
export TOMCAT_HOME

JAVA_HOME=/opt/IBMJava2-13
export JAVA_HOME

case "$1" in
  start)
echo -n "Starting Tomcat: "
$TOMCAT_HOME/bin/startup.sh
echo
;;
  stop)
echo -n "Shutting down Tomcat: "
$TOMCAT_HOME/bin/shutdown.sh
echo
;;
  *)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0


> Jon Small wrote:
> 
> O/S: HP-UX 11.0
> Apache: 1.3.12
> Tomcat: 3.1
> 
> Anyone have/had the same problem? I can start Tomcat manually just fine, but
> not successfully with an init script. It seems that the "java" process
> starts initially, but at some point dies. I think that it dies when the init
> script exits. We have it running fine with Linux, but it uses a "daemon"
> command to make the "java" process a daemon. Any clues?
> 
> I use the standard SystemV init script:
> 
> case "$1" in
>start)
>  echo -n "Starting tomcat: "
>  /usr/local/tomcat/bin/startup.sh
>  ;;
>stop)
>  echo -n "Shutting down tomcat: "
>  /usr/local/tomcat/bin/shutdown.sh
>  ;;
>*)
>  echo "Usage: $0 {start|stop}"
>  exit 1
> esac
> 
> exit 0



RE: Tomcat-Startup in windows

2001-03-23 Thread Darrell Porter

The only way I have gotten this to successfully work is to install TweakUI
on the NT/2000 box and set it to login automatically as a non-Administrator
user that has appropriate rights.

On startup, NT/2000 logs in and the Startup folder contains the script which
starts Tomcat, pauses for stabilization, checks to insure Tomcat is running,
and then starts Apache.

Darrell


-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 12:36 AM
To: tomcat
Subject: Tomcat-Startup in windows


Hi All,
   I have a tomcat server working fine with Apache in Windows-NT. I
have a script which starts tomcat before Apache. Can anybody tell that
where i have to put these script so that tomcat would be started
automatically while my system restarts

Thanks in advance
Regards
Venkatesh



RE: Tomcat-Startup in windows

2001-03-23 Thread Dianne Cree

I just have a shortcut to the startup.bat file in my C:\Documents and
Settings\shlomi\Start Menu\Programs\Startup.  It works fine for me. I don't
have it running as an nt service.

-Original Message-
From: Elizabeth Riley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 6:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat-Startup in windows


Does this mean that if I have started tomcat using the bat file and I have
started the service, then I have tomcat running twice?

-Original Message-
From: shlomi sarfati [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 22, 2000 4:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat-Startup in windows


look there are couple of options
1. make the tomcat as nt service (NT-Service-howto , i am attaching this
document)
in this way the tomcat will run as nt service , it will be loaded every time
after the the computer starts before the  login process
2. put your bat files in your startup directory (i am usint win 2000 :
C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can right
click on your start menu button then choose open \ programs \ startup .
in this way the server will start after the user log in .

hope i can help


-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thu, March 22, 2001 10:54 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat-Startup in windows


Hi shlomi sarfati,
I tried but server is not starting while i started the system. Can you
give the directory hierarchy so that i will past my *.bat files...

Regards
venkatesh...

shlomi sarfati wrote:

> put tomcat as nt service
>
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:36 AM
> To: tomcat
> Subject: Tomcat-Startup in windows
>
> Hi All,
>I have a tomcat server working fine with Apache in Windows-NT. I
> have a script which starts tomcat before Apache. Can anybody tell that
> where i have to put these script so that tomcat would be started
> automatically while my system restarts
>
> Thanks in advance
> Regards
> Venkatesh






Re: Tomcat-Startup in windows

2001-03-23 Thread Ying Ho

Hi Shlomi,

I tried as you suggested but the nt service does not seems to work. I have
changed the tomcat and jave home to the appropriate path and can setup the NT
Service but it does want to start. I have tried to remove the Nt service using
jk_nt_service and add the NT Service but it still won't let me manually start
the service as it started in NT-Service-howto.html. The methods two that you
suggest works fine so I can't understand why the first method won't work.

My PC Config is:
Win 2000 Pro with SP1.
Apache 1.3 + Tomcat 3.2.1
wrapper.java_home=c:\jdk1.3.0_02
wrapper.tomcat_home="C:\Program Files\Apache Group\jakarta-tomcat-3.2.1"

Thanks,
Ying.

- Original Message -
From: shlomi sarfati
To: [EMAIL PROTECTED]
Sent: Wednesday, March 22, 2000 10:10 AM
Subject: RE: Tomcat-Startup in windows


look there are couple of options
1. make the tomcat as nt service (NT-Service-howto , i am attaching this
document)
in this way the tomcat will run as nt service , it will be loaded every time
after the the computer starts before the  login process
2. put your bat files in your startup directory (i am usint win 2000 :
C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can right
click on your start menu button then choose open \ programs \ startup .
in this way the server will start after the user log in .

hope i can help


-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thu, March 22, 2001 10:54 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat-Startup in windows


Hi shlomi sarfati,
I tried but server is not starting while i started the system. Can you
give the directory hierarchy so that i will past my *.bat files...

Regards
venkatesh...

shlomi sarfati wrote:

> put tomcat as nt service
>
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:36 AM
> To: tomcat
> Subject: Tomcat-Startup in windows
>
> Hi All,
>I have a tomcat server working fine with Apache in Windows-NT. I
> have a script which starts tomcat before Apache. Can anybody tell that
> where i have to put these script so that tomcat would be started
> automatically while my system restarts
>
> Thanks in advance
> Regards
> Venkatesh




Re: Tomcat Startup Problem

2001-03-23 Thread tomcat

You might have to edit the workers.properties file and set the path to the
tomcat and jdk directories in it.

-Thos

On Fri, 23 Mar 2001, Muniraja Balaji wrote:

> Hi,
>  I am new to Tomcat, i have downloaded the Tomcat Zip file and unzipped to the 
>local drive. After that i have configured the JAVA_HOME,TOMCAT_HOME and CLASSPATH 
>variables also. When i startup Tomcat i get an error message
>
> Can't find class org/apache/tomcat/startup/Tomcat and closes the opened window which 
>is used to startup the tomcat server.
>
>  Any idea why it is happening.
>
>  Thanks in Advance for any help..
>
> Take Care..Have a Good Day
> Patience .has it's own rewards.
> M.Balaji
> Phone: (065) - 423-6563
>
>
> --
>
> This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
>
>




RE: Tomcat-Startup in windows

2001-03-22 Thread Elizabeth Riley

Can someone tell me the difference in a using the service versus manually
started tomcat?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:32 AM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: RE: Tomcat-Startup in windows


If you use the same config files, the tomcat would not start twice. It 
would complain about ports being in use instead ;-)

On Thu, 22 Mar 2001, Elizabeth Riley wrote:

> Does this mean that if I have started tomcat using the bat file and I have
> started the service, then I have tomcat running twice?
> 
> -Original Message-
> From: shlomi sarfati [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 22, 2000 4:11 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Tomcat-Startup in windows
> 
> 
> look there are couple of options
> 1. make the tomcat as nt service (NT-Service-howto , i am attaching this
> document)
> in this way the tomcat will run as nt service , it will be loaded every
time
> after the the computer starts before the  login process
> 2. put your bat files in your startup directory (i am usint win 2000 :
> C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can
right
> click on your start menu button then choose open \ programs \ startup .
> in this way the server will start after the user log in .
> 
> hope i can help
> 
> 
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:54 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Tomcat-Startup in windows
> 
> 
> Hi shlomi sarfati,
> I tried but server is not starting while i started the system. Can you
> give the directory hierarchy so that i will past my *.bat files...
> 
> Regards
> venkatesh...
> 
> shlomi sarfati wrote:
> 
> > put tomcat as nt service
> >
> > -Original Message-
> > From: venkatesan [mailto:[EMAIL PROTECTED]]
> > Sent: Thu, March 22, 2001 10:36 AM
> > To: tomcat
> > Subject: Tomcat-Startup in windows
> >
> > Hi All,
> >I have a tomcat server working fine with Apache in Windows-NT. I
> > have a script which starts tomcat before Apache. Can anybody tell that
> > where i have to put these script so that tomcat would be started
> > automatically while my system restarts
> >
> > Thanks in advance
> > Regards
> > Venkatesh
> 
> 
> 



RE: Tomcat-Startup in windows

2001-03-22 Thread mf12

If you use the same config files, the tomcat would not start twice. It 
would complain about ports being in use instead ;-)

On Thu, 22 Mar 2001, Elizabeth Riley wrote:

> Does this mean that if I have started tomcat using the bat file and I have
> started the service, then I have tomcat running twice?
> 
> -Original Message-
> From: shlomi sarfati [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 22, 2000 4:11 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Tomcat-Startup in windows
> 
> 
> look there are couple of options
> 1. make the tomcat as nt service (NT-Service-howto , i am attaching this
> document)
> in this way the tomcat will run as nt service , it will be loaded every time
> after the the computer starts before the  login process
> 2. put your bat files in your startup directory (i am usint win 2000 :
> C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can right
> click on your start menu button then choose open \ programs \ startup .
> in this way the server will start after the user log in .
> 
> hope i can help
> 
> 
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:54 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Tomcat-Startup in windows
> 
> 
> Hi shlomi sarfati,
> I tried but server is not starting while i started the system. Can you
> give the directory hierarchy so that i will past my *.bat files...
> 
> Regards
> venkatesh...
> 
> shlomi sarfati wrote:
> 
> > put tomcat as nt service
> >
> > -Original Message-
> > From: venkatesan [mailto:[EMAIL PROTECTED]]
> > Sent: Thu, March 22, 2001 10:36 AM
> > To: tomcat
> > Subject: Tomcat-Startup in windows
> >
> > Hi All,
> >I have a tomcat server working fine with Apache in Windows-NT. I
> > have a script which starts tomcat before Apache. Can anybody tell that
> > where i have to put these script so that tomcat would be started
> > automatically while my system restarts
> >
> > Thanks in advance
> > Regards
> > Venkatesh
> 
> 
> 



RE: Tomcat-Startup in windows

2001-03-22 Thread Elizabeth Riley

Does this mean that if I have started tomcat using the bat file and I have
started the service, then I have tomcat running twice?

-Original Message-
From: shlomi sarfati [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 22, 2000 4:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat-Startup in windows


look there are couple of options
1. make the tomcat as nt service (NT-Service-howto , i am attaching this
document)
in this way the tomcat will run as nt service , it will be loaded every time
after the the computer starts before the  login process
2. put your bat files in your startup directory (i am usint win 2000 :
C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can right
click on your start menu button then choose open \ programs \ startup .
in this way the server will start after the user log in .

hope i can help


-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thu, March 22, 2001 10:54 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat-Startup in windows


Hi shlomi sarfati,
I tried but server is not starting while i started the system. Can you
give the directory hierarchy so that i will past my *.bat files...

Regards
venkatesh...

shlomi sarfati wrote:

> put tomcat as nt service
>
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:36 AM
> To: tomcat
> Subject: Tomcat-Startup in windows
>
> Hi All,
>I have a tomcat server working fine with Apache in Windows-NT. I
> have a script which starts tomcat before Apache. Can anybody tell that
> where i have to put these script so that tomcat would be started
> automatically while my system restarts
>
> Thanks in advance
> Regards
> Venkatesh





Re: Tomcat-Startup in windows

2001-03-22 Thread venkatesan

Hi shlomi sarfati,
  Thanks a lot... Now it is working fine. I started tomcat
server in
two ways as you told.  Still i have a one script(aa.bat) which
starts
Database server(like java DBServer). I want to start this script also as

like tomcat server(While boot time). I have started  using your second
method
which is starting after user log in... I want to start this command(java
DBServer)
before the login process as you told in your first method(NT-Service).
But i
could not acomplish this. can you tell where i have to put my script
so
that it will start as NT-Service(before login process). I am using
Windows 2000
professional



Regards
Venkatesh


shlomi sarfati wrote:

> look there are couple of options
> 1. make the tomcat as nt service (NT-Service-howto , i am attaching
this
> document)
> in this way the tomcat will run as nt service , it will be loaded
every
time
> after the the computer starts before the  login process
> 2. put your bat files in your startup directory (i am usint win 2000 :

> C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can
right
> click on your start menu button then choose open \ programs \ startup



Re: Tomcat-Startup in windows

2001-03-22 Thread venkatesan

Hi shlomi sarfati,
  Thanks a lot... Now it is working fine. I started tomcat server in two
ways as you told.  Still i have a one script(aa.bat) which starts
Database server(like java DBServer). I want to start this script also as like
tomcat server(While boot time). I have started  using your second method which
is starting after user log in... I want to start this command(java DBServer)
before the login process as you told in your first method(NT-Service). But i
could not acomplish this. can you tell where i have to put my script so that
it will start as NT-Service(before login process). I am using Windows 2000
professional



Regards
Venkatesh


shlomi sarfati wrote:

> look there are couple of options
> 1. make the tomcat as nt service (NT-Service-howto , i am attaching this
> document)
> in this way the tomcat will run as nt service , it will be loaded every time
> after the the computer starts before the  login process
> 2. put your bat files in your startup directory (i am usint win 2000 :
> C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can right
> click on your start menu button then choose open \ programs \ startup .
> in this way the server will start after the user log in .
>
> hope i can help
>
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:54 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Tomcat-Startup in windows
>
> Hi shlomi sarfati,
> I tried but server is not starting while i started the system. Can you
> give the directory hierarchy so that i will past my *.bat files...
>
> Regards
> venkatesh...
>
> shlomi sarfati wrote:
>
> > put tomcat as nt service
> >
> > -Original Message-
> > From: venkatesan [mailto:[EMAIL PROTECTED]]
> > Sent: Thu, March 22, 2001 10:36 AM
> > To: tomcat
> > Subject: Tomcat-Startup in windows
> >
> > Hi All,
> >I have a tomcat server working fine with Apache in Windows-NT. I
> > have a script which starts tomcat before Apache. Can anybody tell that
> > where i have to put these script so that tomcat would be started
> > automatically while my system restarts
> >
> > Thanks in advance
> > Regards
> > Venkatesh
>
>   
> Name: NT-Service-howto.html
>NT-Service-howto.htmlType: Hypertext Markup Language (text/html)
> Encoding: quoted-printable




RE: Tomcat-Startup in windows

2001-03-22 Thread shlomi sarfati

look there are couple of options
1. make the tomcat as nt service (NT-Service-howto , i am attaching this
document)
in this way the tomcat will run as nt service , it will be loaded every time
after the the computer starts before the  login process
2. put your bat files in your startup directory (i am usint win 2000 :
C:\Documents and Settings\shlomi\Start Menu\Programs\Startup) you can right
click on your start menu button then choose open \ programs \ startup .
in this way the server will start after the user log in .

hope i can help


-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thu, March 22, 2001 10:54 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat-Startup in windows


Hi shlomi sarfati,
I tried but server is not starting while i started the system. Can you
give the directory hierarchy so that i will past my *.bat files...

Regards
venkatesh...

shlomi sarfati wrote:

> put tomcat as nt service
>
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:36 AM
> To: tomcat
> Subject: Tomcat-Startup in windows
>
> Hi All,
>I have a tomcat server working fine with Apache in Windows-NT. I
> have a script which starts tomcat before Apache. Can anybody tell that
> where i have to put these script so that tomcat would be started
> automatically while my system restarts
>
> Thanks in advance
> Regards
> Venkatesh



Title: Working with the Jakarta NT Service


Re: Tomcat-Startup in windows

2001-03-22 Thread Andy C


- Original Message -
From: "venkatesan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 8:53 AM
Subject: Re: Tomcat-Startup in windows


> Hi shlomi sarfati,
> I tried but server is not starting while i started the system.

I have the same problem to a extent.  When my server NT2000 server
is restarted I must stop apache, Stop Tomcat, start tomcat, start apache.
Apache and tomcat are running as services.

I think the clue (and I'm still working on an implementation) is that the
apache
service needs to be told that it is dependent on the tomcat service.  Under
NT 2000 this is "Dependencies" tag under the service properties.  I'm
still trying to work out how  to control these dependencies though as there
does not appear to be an "Add" button on the dialog box !

Andy C
Editor R2 project
http://www.r2-dvd.org





Re: Tomcat-Startup in windows

2001-03-22 Thread venkatesan

Hi shlomi sarfati,
I tried but server is not starting while i started the system. Can you
give the directory hierarchy so that i will past my *.bat files...

Regards
venkatesh...

shlomi sarfati wrote:

> put tomcat as nt service
>
> -Original Message-
> From: venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Thu, March 22, 2001 10:36 AM
> To: tomcat
> Subject: Tomcat-Startup in windows
>
> Hi All,
>I have a tomcat server working fine with Apache in Windows-NT. I
> have a script which starts tomcat before Apache. Can anybody tell that
> where i have to put these script so that tomcat would be started
> automatically while my system restarts
>
> Thanks in advance
> Regards
> Venkatesh




RE: Tomcat-Startup in windows

2001-03-22 Thread shlomi sarfati


put tomcat as nt service




-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thu, March 22, 2001 10:36 AM
To: tomcat
Subject: Tomcat-Startup in windows


Hi All,
   I have a tomcat server working fine with Apache in Windows-NT. I
have a script which starts tomcat before Apache. Can anybody tell that
where i have to put these script so that tomcat would be started
automatically while my system restarts

Thanks in advance
Regards
Venkatesh






Re: Tomcat Startup

2000-12-28 Thread Mark Koscak

Hi

I'm running Mandrake Linux 7.0
With apache running I have still been able to start and stop Tomcat.

Try starting Tomcat and running the example Servlet and JSP routines
provided.

Mark.

- Original Message -
From: Shailaja Someshwar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 29, 2000 1:29 AM
Subject: Tomcat Startup


> Hello
>
> I've read in docs that Tomcat needs to be started
> before Apache. I am working on RH Linux 6.2 on Intel
> System.
>
> How to go about doing this...I've got a tomcat init
> script from FAQ which can start and stop tomcat...now
> how to automate this to start before httpd.
>
> Thanks
> Shailaja
>
> __
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/




Re: Tomcat Startup

2000-12-28 Thread Barry L. Kline

Shailaja Someshwar wrote:
> 
> Hello
> 
> I've read in docs that Tomcat needs to be started
> before Apache. I am working on RH Linux 6.2 on Intel
> System.
> 
> How to go about doing this...I've got a tomcat init
> script from FAQ which can start and stop tomcat...now
> how to automate this to start before httpd.
> 


put the startup script into /etc/rc.d/init.d

Edit the startup script and add a comment line under #!/bin/sh that
says:

# chkconfig: lll ss kk  

where lll is the run level(s) where the script should be run
where ss is the start priority
where kk is the kill priority

Just choose a start priority that is lower than that of httpd.  You
can
figure what value you need by checking the httpd script in
/etc/rc.d/init.d

Once you save your edit, run chkconfig --add YourScriptName

For more information, see man chkconfig and examine the scripts in the
/etc/rc.d/init.d directory

Barry



Re: tomcat startup error

2000-12-23 Thread javabettin

You need to put parser.jar in your classpath. 
Download at: 

Dave
--- utsab koirala <[EMAIL PROTECTED]> wrote:
> hi, i am using tomcat server in linux platform. It
> was working well but
> afterwards i tried to install xml in my linux box.
> then xml was also working
> well. but when i reboot the system and tried to
> startup the tomcat-apache
> server i got this type of error: and also i tried by
> removing the directories
> which was used during unzipping the xml it also
> doesnot work.
> 
> [root@host user]# Using classpath:
> .:/usr/software/jakarta-tomcat/lib/ant.jar:
> /usr/software/jakarta-tomcat/lib/jasper.jar:
> /usr/software/jakarta-tomcat/lib/servlet.jar:
> /usr/software/jakarta-tomcat/lib/test:
> /usr/software/jakarta-tomcat/lib/webserver.jar:/
> usr/software/jakarta-tomcat/lib/xml.jar:
> /usr/software/jdk1.2.2/bin/../lib/tools.jar::
> /usr/software/jakarta-tomcat/lib/servlet.jar:
>
/usr/software:/usr/software/mysql/mm.mysql.jdbc-1.2c/mysql_comp.jar:
> /usr/software/Energy/eol/java:
>
/usr/software/mysql/mm.mysql.jdbc-1.2c/mysql_comp.jar
> [root@host user]#FATAL: configuration error
> java.lang.ClassNotFoundException:
> com.sun.xml.parser.Parser
> at
>
java.net.URLClassLoader$1.run(URLClassLoader.java:201)
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
>
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at
>
java.lang.ClassLoader.loadClass(ClassLoader.java:295)
> at
>
java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at
>
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:311)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:120)
> at
>
org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java:124)
> at
>
org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:191)
> at
>
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
> at
>
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
> FATAL: configuration error
> java.lang.Exception: Error creating sax parser
> at
>
org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:207)
> at
>
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
> at
>
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
> 
> 
> 
> please any one can help me thanx in advance.
> utsab
> 


regards,
utsab koirala
world distribution nepal
243706

res. phone 479605


Get free email and a permanent address at http://www.netaddress.com/?N=1>http://www.netaddress.com



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



  1   2   >