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 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 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

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

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

2002-10-06 Thread Shortt, Kevin
 they
 should be backed up shortly after being used.

   To clear sessions from the Store, set maxActiveSessions,
maxIdleSwap,
   and minIdleBackup all to -1, saveOnRestart to false, then
restart 
   Catalina.
  --
  !--
  Manager className=org.apache.catalina.session.PersistentManager
  debug=0
  saveOnRestart=true
  maxActiveSessions=-1
  minIdleSwap=-1
  maxIdleSwap=-1
  maxIdleBackup=-1
Store className=org.apache.catalina.session.FileStore/
  /Manager
  --
  Environment name=maxExemptions type=java.lang.Integer
  value=15/
  Parameter name=context.param.name value=context.param.value
 override=false/
  Resource name=jdbc/EmployeeAppDb auth=SERVLET
type=javax.sql.DataSource/
  ResourceParams name=jdbc/EmployeeAppDb
parameternameusername/namevaluesa/value/parameter
parameternamepassword/namevalue/value/parameter
parameternamedriverClassName/name
  valueorg.hsql.jdbcDriver/value/parameter
parameternameurl/name
  valuejdbc:HypersonicSQL:database/value/parameter
  /ResourceParams
  Resource name=mail/Session auth=Container
type=javax.mail.Session/
  ResourceParams name=mail/Session
parameter
  namemail.smtp.host/name
  valuelocalhost/value
/parameter
  /ResourceParams
  ResourceLink name=linkToGlobalResource 
global=simpleValue
type=java.lang.Integer/
/Context

  /Host

/Engine

  /Service

  !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat
4.0
   as its servlet container. Please read the README.txt file coming with
   the WebApp Module distribution on how to build it.
   (Or check out the jakarta-tomcat-connectors/webapp CVS repository)

   To configure the Apache side, you must ensure that you have the
   ServerName and Port directives defined in httpd.conf.  Then,
   lines like these to the bottom of your httpd.conf file:

 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy examples warpConnection /examples/

   The next time you restart Apache (after restarting Tomcat, if needed)
   the connection will be established, and all applications you make
   visible via WebAppDeploy directives can be accessed through Apache.
  --

  !-- Define an Apache-Connector Service --
!--
  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=webapps
 acceptCount=10 debug=0/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  /Service
--

/Server
===
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

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:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


  



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




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:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




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

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 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 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 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-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.init(ServerSocket.java:170)
  at java.net.ServerSocket.init(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.init(ServerSocket.java:170)
  at java.net.ServerSocket.init(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.init(ServerSocket.java:170)
  at java.net.ServerSocket.init(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 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.init(ServerSocket.java:170)
   at java.net.ServerSocket.init(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 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.

Benot
 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-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-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 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 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 Problem

2000-11-20 Thread Jim Rudnicki

 Can somebody please help me solve the error I am getting  I try to start

 "Java.lang.ClassNot  FoundException:
... snip ...

Try this Tomcat loader.  Works 99.44% of the time.  Take a look:
http://www.geocities.com/jdrudnicki/

Jim