How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread j r
When I start tomcat, it takes approximately 1 minute to complete its
startup process.  If apache is up during that period, the following
page gets served:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
Apache Server at server name Port 80


For obvious reasons, I removed the server name and apache version.  I
do not want either of these displayed to the customer.  How can I
changed those?

I have tried to put the following in web.xml to no avail:
error-page
error-code404/error-code
location/errors/joey.html/location
/error-page
error-page
error-code500/error-code
location/errors/joey.html/location
/error-page


Any Ideas?


-jr

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



RE: How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread Brian McGovern
From what it sounds like you have apache running as a proxy to tomcat.  If 
thats the case,

Add the following to your apache config file httpd.conf change

ErrorDocument 503 /your_file.html
ErrorDocument 200 /your_file.html

-B
-Original Message-
From: j r [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 5:40 PM
To: tomcat-user@jakarta.apache.org
Subject: How do I change the error page being served while tomcat is
starting up?


When I start tomcat, it takes approximately 1 minute to complete its
startup process.  If apache is up during that period, the following
page gets served:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
Apache Server at server name Port 80


For obvious reasons, I removed the server name and apache version.  I
do not want either of these displayed to the customer.  How can I
changed those?

I have tried to put the following in web.xml to no avail:
error-page
error-code404/error-code
location/errors/joey.html/location
/error-page
error-page
error-code500/error-code
location/errors/joey.html/location
/error-page


Any Ideas?


-jr

-
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: How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread j r
Brian,

You are correct!  I was looking in the wrong place by trying to find
the solution in tomcat.  Changing apache works.


Thanks!
-jr

On 6/6/05, Brian McGovern [EMAIL PROTECTED] wrote:
 From what it sounds like you have apache running as a proxy to tomcat.  If
 thats the case,
 
 Add the following to your apache config file httpd.conf change
 
 ErrorDocument 503 /your_file.html
 ErrorDocument 200 /your_file.html
 
 -B
 -Original Message-
 From: j r [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 06, 2005 5:40 PM
 To: tomcat-user@jakarta.apache.org
 Subject: How do I change the error page being served while tomcat is
 starting up?
 
 
 When I start tomcat, it takes approximately 1 minute to complete its
 startup process.  If apache is up during that period, the following
 page gets served:
 
 Service Temporarily Unavailable
 
 The server is temporarily unable to service your request due to
 maintenance downtime or capacity problems. Please try again later.
 Apache Server at server name Port 80
 
 
 For obvious reasons, I removed the server name and apache version.  I
 do not want either of these displayed to the customer.  How can I
 changed those?
 
 I have tried to put the following in web.xml to no avail:
 error-page
 error-code404/error-code
 location/errors/joey.html/location
 /error-page
 error-page
 error-code500/error-code
 location/errors/joey.html/location
 /error-page
 
 
 Any Ideas?
 
 
 -jr
 
 -
 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: Starting up Tomcat when the Linux starts up

2005-02-25 Thread David Smith
There should be an example tomcat5.sh with your distribution of jsvc.  
If not, download the most recent release from the Commons Daemon project 
at jakarta.apache.org and get a copy from there.  Customize it with the 
options you use and you should be good to go.

Splitting out put between console and log:  check your linux man pages 
for the tee command.  It's designed to split output between standard out 
and a file.

--David
Behrang Saeedzadeh wrote:
Thanks for the response.
BTW - I'm new to Linux :-) and don't know much about it...
On Thu, 24 Feb 2005 15:13:09 -0500, David Smith [EMAIL PROTECTED] wrote:
 

Depends on your flavor of linux.  Mandrake (I've heard RH is similar)
   

I'm using Ubuntu which is a Debian based distro.
 

stores the init script in /etc/init.d with a sym link in
/etc/rc[runlevel-here].d.  
   

I know that, for example, init scripts of MySQL and Samba are stored
in /etc/init.d. I actually installed MySQL and Samba using apt and it
took care of the rest of the progess...
 

For example, if your script is tomcat5, then
   

Do I have to create this script by myself? Should the contents of it
be the same as the command that I write to run Tomcat using JSVC?
 

tomcat5 would be stored /etc/init.d w/ a sym link to it from
/etc/rc5.d.  5 being the runlevel where X is started and run.  The name
of the sym link is S[some-priority-number]tomcat5.  Take a look at your
linux docs and other services for more info.  Low numbers are started
first, high numbers last.
   

Can you help me a bit more?
 

Tomcat's console output is usually redirected to logs/catalina.out.
   

How can I both print it to the terminal and logs/catalina.out like in 
Windows?
Best Regards,
Behrang.
 

--David
Behrang Saeedzadeh wrote:
   

Hi
How can I startup Tomcat when Linux starts up? I've successfully
compiled JSVC and have started Tomcat 5.5.7 using it for several
times...
BTW - Why I can't see the console output of Tomcat in Linux like
Windows (i.e. warnings, infos, messages, ...)?
Best Regards,
 

-
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: Starting up Tomcat when the Linux starts up

2005-02-24 Thread David Smith
Depends on your flavor of linux.  Mandrake (I've heard RH is similar) 
stores the init script in /etc/init.d with a sym link in 
/etc/rc[runlevel-here].d.  For example, if your script is tomcat5, then 
tomcat5 would be stored /etc/init.d w/ a sym link to it from 
/etc/rc5.d.  5 being the runlevel where X is started and run.  The name 
of the sym link is S[some-priority-number]tomcat5.  Take a look at your 
linux docs and other services for more info.  Low numbers are started 
first, high numbers last.

Tomcat's console output is usually redirected to logs/catalina.out.
--David
Behrang Saeedzadeh wrote:
Hi
How can I startup Tomcat when Linux starts up? I've successfully
compiled JSVC and have started Tomcat 5.5.7 using it for several
times...
BTW - Why I can't see the console output of Tomcat in Linux like
Windows (i.e. warnings, infos, messages, ...)?
Best Regards,
 

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


Re: Starting up Tomcat when the Linux starts up

2005-02-24 Thread Behrang Saeedzadeh
Thanks for the response.

BTW - I'm new to Linux :-) and don't know much about it...

On Thu, 24 Feb 2005 15:13:09 -0500, David Smith [EMAIL PROTECTED] wrote:
 Depends on your flavor of linux.  Mandrake (I've heard RH is similar)

I'm using Ubuntu which is a Debian based distro.

 stores the init script in /etc/init.d with a sym link in
 /etc/rc[runlevel-here].d.  

I know that, for example, init scripts of MySQL and Samba are stored
in /etc/init.d. I actually installed MySQL and Samba using apt and it
took care of the rest of the progess...

For example, if your script is tomcat5, then

Do I have to create this script by myself? Should the contents of it
be the same as the command that I write to run Tomcat using JSVC?

 tomcat5 would be stored /etc/init.d w/ a sym link to it from
 /etc/rc5.d.  5 being the runlevel where X is started and run.  The name
 of the sym link is S[some-priority-number]tomcat5.  Take a look at your
 linux docs and other services for more info.  Low numbers are started
 first, high numbers last.
 

Can you help me a bit more?

 Tomcat's console output is usually redirected to logs/catalina.out.

How can I both print it to the terminal and logs/catalina.out like in Windows?

Best Regards,
Behrang.

 --David
 
 Behrang Saeedzadeh wrote:
 
 Hi
 
 How can I startup Tomcat when Linux starts up? I've successfully
 compiled JSVC and have started Tomcat 5.5.7 using it for several
 times...
 
 BTW - Why I can't see the console output of Tomcat in Linux like
 Windows (i.e. warnings, infos, messages, ...)?
 
 Best Regards,
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa

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



Re: Starting up Tomcat when the Linux starts up

2005-02-24 Thread Nikola Milutinovic
David Smith wrote:
Depends on your flavor of linux.  Mandrake (I've heard RH is similar) 
stores the init script in /etc/init.d with a sym link in 
/etc/rc[runlevel-here].d.  For example, if your script is tomcat5, 
then tomcat5 would be stored /etc/init.d w/ a sym link to it from 
/etc/rc5.d.  5 being the runlevel where X is started and run.  The 
name of the sym link is S[some-priority-number]tomcat5.  Take a look 
at your linux docs and other services for more info.  Low numbers are 
started first, high numbers last.

Tomcat's console output is usually redirected to logs/catalina.out.

Perhaps a good pointer on how to do it is JPackage 
(http://www.JPackage.org), they have tons of Java packages in RPM form. 
Tomcat is at 5.0.28, I think, but it can give you a clear picture on how 
to do it. Oh, and they also have source RPMs, so maybe you cna build 
your own RPMs...

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


Re: Starting up Tomcat when the Linux starts up

2005-02-24 Thread Behrang Saeedzadeh
I'll have a look at it...

Thanks,
Behrnag.


On Thu, 24 Feb 2005 23:09:24 +0100, Nikola Milutinovic
[EMAIL PROTECTED] wrote:
 David Smith wrote:
 
  Depends on your flavor of linux.  Mandrake (I've heard RH is similar)
  stores the init script in /etc/init.d with a sym link in
  /etc/rc[runlevel-here].d.  For example, if your script is tomcat5,
  then tomcat5 would be stored /etc/init.d w/ a sym link to it from
  /etc/rc5.d.  5 being the runlevel where X is started and run.  The
  name of the sym link is S[some-priority-number]tomcat5.  Take a look
  at your linux docs and other services for more info.  Low numbers are
  started first, high numbers last.
 
  Tomcat's console output is usually redirected to logs/catalina.out.
 
 Perhaps a good pointer on how to do it is JPackage
 (http://www.JPackage.org), they have tons of Java packages in RPM form.
 Tomcat is at 5.0.28, I think, but it can give you a clear picture on how
 to do it. Oh, and they also have source RPMs, so maybe you cna build
 your own RPMs...
 
 Nix.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa

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



Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Ryan Austin

Has the examples ever worked?
The WEbDAV and JSP Examples work but the Servlet Examples give the error 
below.

Did you just try to add them?

I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?

They aren't win a war file, they came unpacked in a servlets-examples 
directory

Have you tried to pull a virgin copy of the war file?

see above.
What OS are you on?

Linux
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.

lol
Could this be a problem with the version? Should I install 5.0 and try it?
Thanks,
Ryan

Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5

Hi All,
I can start up tomcat and run the main page http://localhost:8080, 
but if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when I 
keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup declarations 
contained or pointed to by the document type declaration must be 
well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at 
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302) 

   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249) 

   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) 

   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4012) 

   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755) 

   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886) 

   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849) 

   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) 

   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) 

   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
   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.start(Bootstrap.java:271)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Jan 7, 2005 7

Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Parsons Technical Services
Stop Tomcat
Make sure the Servlet Examples war file is still in the webapps folder and 
then delete the folder.
Start Tomcat

The war file should be deployed and the folder recreated.
If no go:
Make sure the permissions on all files and folders under the Tomcat 
directory belong to the Tomcat user. If Tomcat is running as tcuser and root 
owns the file then things break. Do a ls -l

You may have gotten a corrupted file on down load or on install. If all else 
fails, remove the folder and the war file. Restart Tomcat and check for 
errors. Then stop Tomcat and copy a fresh copy of the war file into the 
wepapps folder and start Tomcat.

Other things to consider:
Did you make any changes to the default web.xml?
What version of 5.5 are you running?
Have you installed any other apps on this install?
Doug
- Original Message - 
From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 12:44 PM
Subject: Re: Errors Starting Up Tomcat 5.5



Has the examples ever worked?
The WEbDAV and JSP Examples work but the Servlet Examples give the error 
below.

Did you just try to add them?

I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?

They aren't win a war file, they came unpacked in a servlets-examples 
directory

Have you tried to pull a virgin copy of the war file?

see above.
What OS are you on?

Linux
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.

lol
Could this be a problem with the version? Should I install 5.0 and try it?
Thanks,
Ryan

Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5

Hi All,
I can start up tomcat and run the main page http://localhost:8080, but 
if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when I 
keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup declarations 
contained or pointed to by the document type declaration must be 
well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4012)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886)
   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119

Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Ryan Austin
There are no war files in the webapps directory.
The servlets-examples folder has all the html files unpacked.
If I take out the servlets-examples folder and restart tomcat, the 
errors do not show up.

Right now, tomcat is being run as root.
I have not touched the web.xml file.
I am running version 5.5.4
No other apps have been installed.
Thanks,
Ryan
Parsons Technical Services wrote:
Stop Tomcat
Make sure the Servlet Examples war file is still in the webapps folder 
and then delete the folder.
Start Tomcat

The war file should be deployed and the folder recreated.
If no go:
Make sure the permissions on all files and folders under the Tomcat 
directory belong to the Tomcat user. If Tomcat is running as tcuser 
and root owns the file then things break. Do a ls -l

You may have gotten a corrupted file on down load or on install. If 
all else fails, remove the folder and the war file. Restart Tomcat and 
check for errors. Then stop Tomcat and copy a fresh copy of the war 
file into the wepapps folder and start Tomcat.

Other things to consider:
Did you make any changes to the default web.xml?
What version of 5.5 are you running?
Have you installed any other apps on this install?
Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 12:44 PM
Subject: Re: Errors Starting Up Tomcat 5.5


Has the examples ever worked?

The WEbDAV and JSP Examples work but the Servlet Examples give the 
error below.

Did you just try to add them?

I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?

They aren't win a war file, they came unpacked in a servlets-examples 
directory

Have you tried to pull a virgin copy of the war file?

see above.
What OS are you on?

Linux
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.

lol
Could this be a problem with the version? Should I install 5.0 and 
try it?

Thanks,
Ryan

Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5

Hi All,
I can start up tomcat and run the main page http://localhost:8080, 
but if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when 
I keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup 
declarations contained or pointed to by the document type 
declaration must be well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at 
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
   at 
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at 
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at 
org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302) 

   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955) 

   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249) 

   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) 

   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4012) 

   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755) 

   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) 

   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886) 

   at 
org.apache.catalina.startup.HostConfig.deployDirectories

Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Parsons Technical Services
You are correct. I guess I was hallucinating again.
Rip the files from the download and reinstall them. Or just reinstall 
Tomcat. You may think about re-downloading Tomcat. In the mean time grab the 
web.xml from the servlet_examples\WEB-INF\ folder and post it. If it is 
foobarred then you may have other issues. There haven't been any other post 
on this, that I can remember, thus it sounds like a bad install or download. 
Did you do a checksum on the download?

Running out of ideas. Sorry.
Doug
- Original Message - 
From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 3:51 PM
Subject: Re: Errors Starting Up Tomcat 5.5


There are no war files in the webapps directory.
The servlets-examples folder has all the html files unpacked.
If I take out the servlets-examples folder and restart tomcat, the errors 
do not show up.

Right now, tomcat is being run as root.
I have not touched the web.xml file.
I am running version 5.5.4
No other apps have been installed.
Thanks,
Ryan
Parsons Technical Services wrote:
Stop Tomcat
Make sure the Servlet Examples war file is still in the webapps folder 
and then delete the folder.
Start Tomcat

The war file should be deployed and the folder recreated.
If no go:
Make sure the permissions on all files and folders under the Tomcat 
directory belong to the Tomcat user. If Tomcat is running as tcuser and 
root owns the file then things break. Do a ls -l

You may have gotten a corrupted file on down load or on install. If all 
else fails, remove the folder and the war file. Restart Tomcat and check 
for errors. Then stop Tomcat and copy a fresh copy of the war file into 
the wepapps folder and start Tomcat.

Other things to consider:
Did you make any changes to the default web.xml?
What version of 5.5 are you running?
Have you installed any other apps on this install?
Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 12:44 PM
Subject: Re: Errors Starting Up Tomcat 5.5


Has the examples ever worked?

The WEbDAV and JSP Examples work but the Servlet Examples give the error 
below.

Did you just try to add them?

I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?

They aren't win a war file, they came unpacked in a servlets-examples 
directory

Have you tried to pull a virgin copy of the war file?

see above.
What OS are you on?

Linux
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.

lol
Could this be a problem with the version? Should I install 5.0 and try 
it?

Thanks,
Ryan

Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5

Hi All,
I can start up tomcat and run the main page http://localhost:8080, but 
if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when I 
keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup declarations 
contained or pointed to by the document type declaration must be 
well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at 
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955

Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Ryan Austin
I just read that you need jre 1.5 or later and I was using
j2sdk1.4.2_06. Could this be the cause of the errors I am seeing?
I will update it and give it a try.
Ryan
Parsons Technical Services wrote:
You are correct. I guess I was hallucinating again.
Rip the files from the download and reinstall them. Or just reinstall 
Tomcat. You may think about re-downloading Tomcat. In the mean time 
grab the web.xml from the servlet_examples\WEB-INF\ folder and post 
it. If it is foobarred then you may have other issues. There haven't 
been any other post on this, that I can remember, thus it sounds like 
a bad install or download. Did you do a checksum on the download?

Running out of ideas. Sorry.
Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 3:51 PM
Subject: Re: Errors Starting Up Tomcat 5.5

There are no war files in the webapps directory.
The servlets-examples folder has all the html files unpacked.
If I take out the servlets-examples folder and restart tomcat, the 
errors do not show up.

Right now, tomcat is being run as root.
I have not touched the web.xml file.
I am running version 5.5.4
No other apps have been installed.
Thanks,
Ryan
Parsons Technical Services wrote:
Stop Tomcat
Make sure the Servlet Examples war file is still in the webapps 
folder and then delete the folder.
Start Tomcat

The war file should be deployed and the folder recreated.
If no go:
Make sure the permissions on all files and folders under the Tomcat 
directory belong to the Tomcat user. If Tomcat is running as tcuser 
and root owns the file then things break. Do a ls -l

You may have gotten a corrupted file on down load or on install. If 
all else fails, remove the folder and the war file. Restart Tomcat 
and check for errors. Then stop Tomcat and copy a fresh copy of the 
war file into the wepapps folder and start Tomcat.

Other things to consider:
Did you make any changes to the default web.xml?
What version of 5.5 are you running?
Have you installed any other apps on this install?
Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 12:44 PM
Subject: Re: Errors Starting Up Tomcat 5.5


Has the examples ever worked?

The WEbDAV and JSP Examples work but the Servlet Examples give the 
error below.

Did you just try to add them?


I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?


They aren't win a war file, they came unpacked in a 
servlets-examples directory

Have you tried to pull a virgin copy of the war file?


see above.
What OS are you on?


Linux
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.


lol
Could this be a problem with the version? Should I install 5.0 and 
try it?

Thanks,
Ryan

Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5

Hi All,
I can start up tomcat and run the main page 
http://localhost:8080, but if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there 
when I keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup 
declarations contained or pointed to by the document type 
declaration must be well-formed.
org.xml.sax.SAXParseException: The markup declarations contained 
or pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at 
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at 
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at 
org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source

Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Parsons Technical Services
Could be. There are some notes in the RUNNING.txt file about using it with 
1.4
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES.txt

Haven't read it myself. Let us know.
Doug
- Original Message - 
From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 7:51 PM
Subject: Re: Errors Starting Up Tomcat 5.5


I just read that you need jre 1.5 or later and I was using
j2sdk1.4.2_06. Could this be the cause of the errors I am seeing?
I will update it and give it a try.
Ryan
Parsons Technical Services wrote:
You are correct. I guess I was hallucinating again.
Rip the files from the download and reinstall them. Or just reinstall 
Tomcat. You may think about re-downloading Tomcat. In the mean time grab 
the web.xml from the servlet_examples\WEB-INF\ folder and post it. If it 
is foobarred then you may have other issues. There haven't been any other 
post on this, that I can remember, thus it sounds like a bad install or 
download. Did you do a checksum on the download?

Running out of ideas. Sorry.
Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 3:51 PM
Subject: Re: Errors Starting Up Tomcat 5.5

There are no war files in the webapps directory.
The servlets-examples folder has all the html files unpacked.
If I take out the servlets-examples folder and restart tomcat, the 
errors do not show up.

Right now, tomcat is being run as root.
I have not touched the web.xml file.
I am running version 5.5.4
No other apps have been installed.
Thanks,
Ryan
Parsons Technical Services wrote:
Stop Tomcat
Make sure the Servlet Examples war file is still in the webapps folder 
and then delete the folder.
Start Tomcat

The war file should be deployed and the folder recreated.
If no go:
Make sure the permissions on all files and folders under the Tomcat 
directory belong to the Tomcat user. If Tomcat is running as tcuser and 
root owns the file then things break. Do a ls -l

You may have gotten a corrupted file on down load or on install. If all 
else fails, remove the folder and the war file. Restart Tomcat and 
check for errors. Then stop Tomcat and copy a fresh copy of the war 
file into the wepapps folder and start Tomcat.

Other things to consider:
Did you make any changes to the default web.xml?
What version of 5.5 are you running?
Have you installed any other apps on this install?
Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 12:44 PM
Subject: Re: Errors Starting Up Tomcat 5.5


Has the examples ever worked?

The WEbDAV and JSP Examples work but the Servlet Examples give the 
error below.

Did you just try to add them?


I didn't add them, they came with the Tomcat Installation.
Are you letting Tomcat deploy them from the war?


They aren't win a war file, they came unpacked in a servlets-examples 
directory

Have you tried to pull a virgin copy of the war file?


see above.
What OS are you on?


Linux
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.


lol
Could this be a problem with the version? Should I install 5.0 and try 
it?

Thanks,
Ryan

Doug
- Original Message - From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5

Hi All,
I can start up tomcat and run the main page http://localhost:8080, 
but if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when I 
keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester 
fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup 
declarations contained or pointed to by the document type 
declaration must be well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at 
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at 
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source

Re: Errors Starting Up Tomcat 5.5

2005-01-10 Thread Remy Maucherat
On Mon, 10 Jan 2005 16:51:13 -0800, Ryan Austin [EMAIL PROTECTED] wrote:
 I just read that you need jre 1.5 or later and I was using
 j2sdk1.4.2_06. Could this be the cause of the errors I am seeing?
 
 I will update it and give it a try.

You can still use 1.4, if you use the compat package which adds a
few JARs. Usually, you notice something is wrong because Tomcat
doesn't start, and displays an error about JMX missing. I suppose you
have JMX somewhere on your classpath already.

I suppose the XML parser in JDK 1.4 will have issues with schemas, so
any 2.4 style web.xml would create problems.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



Errors Starting Up Tomcat 5.5

2005-01-07 Thread Ryan Austin
Hi All,
I can start up tomcat and run the main page http://localhost:8080, but 
if I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when I 
keep the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup declarations 
contained or pointed to by the document type declaration must be 
well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4012)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886)
   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
   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.start(Bootstrap.java:271)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Jan 7, 2005 7:04:03 PM org.apache.catalina.startup.ContextConfig 
applicationWebConfig
SEVERE: Parse error in application web.xml
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 

Re: Errors Starting Up Tomcat 5.5

2005-01-07 Thread Parsons Technical Services
Not a 5.5 user, but have a couple of questions.
Has the examples ever worked?
Did you just try to add them?
Are you letting Tomcat deploy them from the war?
Have you tried to pull a virgin copy of the war file?
What OS are you on?
Are you hiring and how much..
Oops. Never mind that last one, got carried away a bit.
Doug
- Original Message - 
From: Ryan Austin [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 07, 2005 10:13 PM
Subject: Errors Starting Up Tomcat 5.5


Hi All,
I can start up tomcat and run the main page http://localhost:8080, but if 
I try to go to the servlets examples
it can't find the page...

In the catalina.out log, there are errors that are only there when I keep 
the servlets-examples directory in the webapps folder,
if I take it out all the errors are gone.

Here are the error.. any help would be greatly appreciated
INFO: jsp: init
Jan 7, 2005 7:04:03 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 1 column 3: The markup declarations 
contained or pointed to by the document type declaration must be 
well-formed.
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
   at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
   at 
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:302)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:955)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:249)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4012)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886)
   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
   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.start(Bootstrap.java:271)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Jan 7, 2005 7:04:03 PM org.apache.catalina.startup.ContextConfig 
applicationWebConfig
SEVERE: Parse error in application web.xml
org.xml.sax.SAXParseException: The markup declarations contained or 
pointed to by the document type declaration must be well-formed.
   at org.apache.xerces.parsers.AbstractSAXParser.parse

Re: Service Not Starting Up with Start bar icon but only with a reboot

2004-12-06 Thread Parsons Technical Services
Jack,
However, hitting the icon won't start Tomcat.  If I restart the
machine it will restart Tomcat however.
Have you tried starting it from the services window?
Any ideas?  Do I need to provide any more information?  There is
nothing in the logs.
Which logs? Have you looked in the windows logs and do you have then 
enabled?

Doug
www.parsonstechnical.com

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


Re: Service Not Starting Up with Start bar icon but only with a reboot

2004-12-06 Thread Dakota Jack
Hi, Doug,

I am talking about the regular Tomcat logs.  If that is not what you
mean, then I am not aware of the  windows logs.  Where are they?  My
server.xml is:

Server port=8005 shutdown=SHUTDOWN
  GlobalNamingResources
!-- Used by Manager webapp --
Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
  description=User database that can be updated and saved
/Resource
ResourceParams name=UserDatabase
  parameter 
namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
  /parameter
  parameter
namepathname/name
valueconf/tomcat-users.xml/value
  /parameter
/ResourceParams
  /GlobalNamingResources

  Service name=Catalina
Connector port=8080 /

!-- This is here for compatibility only, not required --
Connector port=8009 protocol=AJP/1.3 /

Engine name=Catalina defaultHost=localhost
  Logger className=org.apache.catalina.logger.FileLogger /

  Realm className=org.apache.catalina.realm.UserDatabaseRealm
 resourceName=UserDatabase /

  Host name=localhost appBase=webapps /
/Engine
  /Service
/Server

Jack


On Mon, 6 Dec 2004 07:15:59 -0500, Parsons Technical Services
[EMAIL PROTECTED] wrote:
 Jack,
 
  However, hitting the icon won't start Tomcat.  If I restart the
  machine it will restart Tomcat however.
 
 
 Have you tried starting it from the services window?
 
  Any ideas?  Do I need to provide any more information?  There is
  nothing in the logs.
 
 
 Which logs? Have you looked in the windows logs and do you have then
 enabled?
 
 Doug
 www.parsonstechnical.com
 
 


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



Service Not Starting Up with Start bar icon but only with a reboot

2004-12-05 Thread Dakota Jack
I built an application running in Tomcat 5.0 which starts up as a
service.  I built it on my laptop and it runs fine.  When I shutdown
Tomcat, I can just hit the icon on the Start menu and things start
right up again.  However, when I move this to a standalone machine it
works when I start up the machine.  And, if I stop Tomcat it shows
that hitting the icon on the Start button starts up the service. 
However, hitting the icon won't start Tomcat.  If I restart the
machine it will restart Tomcat however.

Any ideas?  Do I need to provide any more information?  There is
nothing in the logs.

Jack


-- 


You can't wake a person who is pretending to be asleep.

~Native Proverb~

Each man is good in His sight. It is not necessary for eagles to be crows.

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

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



not starting up

2004-12-02 Thread James Peterson
I am having a problem getting Tomcat to stay up.

I do the following command
$: ./startup.sh start

I get the following feedback
Using CATALINA_BASE:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_HOME:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_TMPDIR:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build/temp
Using JAVA_HOME:   /opt/jdk1.5.0/

and nothing shows up under ps aux. any help please

--
James Peterson
Network Administrator
Roman Meal Milling Company
Phone 701.282.9656
Fax 701.282.9743
Email [EMAIL PROTECTED]


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



RE: not starting up

2004-12-02 Thread Allistair Crossley
are you quitting from the shell afterwards? does ps -e show a bunch of JVM 
processes pointed to tomcat? is there any exception logging in tomcat's logs? 
also, try to use nohup

nohup ./startup.sh 

Allistair.

 -Original Message-
 From: James Peterson [mailto:[EMAIL PROTECTED]
 Sent: 02 December 2004 14:27
 To: [EMAIL PROTECTED]
 Subject: not starting up
 
 
 I am having a problem getting Tomcat to stay up.
 
 I do the following command
 $: ./startup.sh start
 
 I get the following feedback
 Using CATALINA_BASE:
 /usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
 Using CATALINA_HOME:
 /usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
 Using CATALINA_TMPDIR:
 /usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build/temp
 Using JAVA_HOME:   /opt/jdk1.5.0/
 
 and nothing shows up under ps aux. any help please
 
 --
 James Peterson
 Network Administrator
 Roman Meal Milling Company
 Phone 701.282.9656
 Fax 701.282.9743
 Email [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: not starting up

2004-12-02 Thread Shapira, Yoav

Hi,
Look at your logs in $CATALINA_HOME/logs.

It seems like you're running a tomcat version you built yourself?  If
so, you might wish to try one of the provided binary distributions.

Finally, note that the startup.sh script returns right away anyways, it
doesn't keep the console after launching Tomcat.  So that part at least
is normal behavior.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: James Peterson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 9:27 AM
To: [EMAIL PROTECTED]
Subject: not starting up

I am having a problem getting Tomcat to stay up.

I do the following command
$: ./startup.sh start

I get the following feedback
Using CATALINA_BASE:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_HOME:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_TMPDIR:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build/temp
Using JAVA_HOME:   /opt/jdk1.5.0/

and nothing shows up under ps aux. any help please

--
James Peterson
Network Administrator
Roman Meal Milling Company
Phone 701.282.9656
Fax 701.282.9743
Email [EMAIL PROTECTED]


-
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: not starting up

2004-12-02 Thread James Peterson
ok I looked at the logs and updated java to 1.5.0 and am now getting this
error

dl failure on line 704Error: failed
/opt/jdk1.5.0/jre/lib/i386/client/libjvm.so, because
/opt/jdk1.5.0/jre/lib/i386/client/libjvm.so: symbol dl_iterate_phdr, version
GLIBC_2.2.4 not defined in file libc.so.6 with link time reference

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 8:30 AM
To: Tomcat Users List
Subject: RE: not starting up



Hi,
Look at your logs in $CATALINA_HOME/logs.

It seems like you're running a tomcat version you built yourself?  If
so, you might wish to try one of the provided binary distributions.

Finally, note that the startup.sh script returns right away anyways, it
doesn't keep the console after launching Tomcat.  So that part at least
is normal behavior.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: James Peterson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 9:27 AM
To: [EMAIL PROTECTED]
Subject: not starting up

I am having a problem getting Tomcat to stay up.

I do the following command
$: ./startup.sh start

I get the following feedback
Using CATALINA_BASE:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_HOME:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_TMPDIR:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build/temp
Using JAVA_HOME:   /opt/jdk1.5.0/

and nothing shows up under ps aux. any help please

--
James Peterson
Network Administrator
Roman Meal Milling Company
Phone 701.282.9656
Fax 701.282.9743
Email [EMAIL PROTECTED]


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



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



RE: not starting up

2004-12-02 Thread James Peterson
ok I figured out the errors I had to upgrade from libc6-2.2.3 to libc6-2.2.5

-Original Message-
From: James Peterson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 8:55 AM
To: Tomcat Users List
Subject: RE: not starting up


ok I looked at the logs and updated java to 1.5.0 and am now getting this
error

dl failure on line 704Error: failed
/opt/jdk1.5.0/jre/lib/i386/client/libjvm.so, because
/opt/jdk1.5.0/jre/lib/i386/client/libjvm.so: symbol dl_iterate_phdr, version
GLIBC_2.2.4 not defined in file libc.so.6 with link time reference

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 8:30 AM
To: Tomcat Users List
Subject: RE: not starting up



Hi,
Look at your logs in $CATALINA_HOME/logs.

It seems like you're running a tomcat version you built yourself?  If
so, you might wish to try one of the provided binary distributions.

Finally, note that the startup.sh script returns right away anyways, it
doesn't keep the console after launching Tomcat.  So that part at least
is normal behavior.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: James Peterson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 9:27 AM
To: [EMAIL PROTECTED]
Subject: not starting up

I am having a problem getting Tomcat to stay up.

I do the following command
$: ./startup.sh start

I get the following feedback
Using CATALINA_BASE:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_HOME:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build
Using CATALINA_TMPDIR:
/usr/src/jakarta-tomcat-5.5.4-src/jakarta-tomcat-5/build/temp
Using JAVA_HOME:   /opt/jdk1.5.0/

and nothing shows up under ps aux. any help please

--
James Peterson
Network Administrator
Roman Meal Milling Company
Phone 701.282.9656
Fax 701.282.9743
Email [EMAIL PROTECTED]


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



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



Error while starting up Embedded tomcat server

2004-11-19 Thread Mohamed Rafi S
Hi,
I am getting an error while  try to bring up my Embedded Tomcat server.  
Following is given as the root cause of the Exception:

at EmbeddedTomcat.main(EmbeddedTomcat.java:126)
Caused by: java.util.MissingResourceException: Can't find bundle for  
base name org.apache.catalina.servlets.LocalStrings, locale en_US
at  
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja 
va:804)
at  
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)

I have included all the required jars in the classpath, and verified  
this too. Also, when I start the Tomcat server through  
~/bin/startserver.sh, it comes up without any issue.

Any idea on why the error gets thrown while starting through Embedded ?
Thanks and Regards
Mohamed Rafi S
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: TOMCAT not Starting up

2004-10-09 Thread Caldarale, Charles R
 From: Kumar Singh Rathour, Raj (Vedam) [mailto:[EMAIL PROTECTED]
 Subject: RE: TOMCAT not Starting up
 
 I am getting following error when I am running catalina from 
 DOS command prompt
 
 Using JAVA_HOME:   c:\jdk1.3
 sun.misc.InvalidJarIndexException: Invalid index!

You need to upgrade your JDK.  This is a known bug in 1.3 that was fixed years ago.

 - Chuck

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



TOMCAT not Starting up

2004-10-08 Thread Kumar Singh Rathour, Raj \(Vedam\)
hi All,

I have TOMCAT 4.0.4 on my m/c. I just wanted to move to latest version of TOMCAT that 
is 5. I have downloaded the binary files after extracting all files i have placed them 
to jakarta-tomcat-5 dir. I have changed all env. variables accordingly. I am running 
start-up bat file from BIN dir. It is showing all env. variables properly in first 
screen and after that command window is vanishing.

 Kindly suggest me the way so that I can start TOMCAT 5 and test it. Release it on 
production server. It is really urgent.

thanx  regards
RKS Rathour
extn-321


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



RE: TOMCAT not Starting up

2004-10-08 Thread Shapira, Yoav

Hi,
I like how a major version upgrade is really urgent ;)  Always a good
thing to rush.

The startup window is supposed to disappear by default.  Verify that the
server is running by pointing your browser to its address,
http://localhost:8080 is the default.

Alternatively, you can use catalina.bat run (instead of catalina.bat
start) to keep the DOS console window open.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Kumar Singh Rathour, Raj (Vedam) [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 8:11 AM
To: Tomcat Users List (E-mail)
Subject: TOMCAT not Starting up

hi All,

I have TOMCAT 4.0.4 on my m/c. I just wanted to move to latest version
of
TOMCAT that is 5. I have downloaded the binary files after extracting
all
files i have placed them to jakarta-tomcat-5 dir. I have changed all
env.
variables accordingly. I am running start-up bat file from BIN dir. It
is
showing all env. variables properly in first screen and after that
command
window is vanishing.

 Kindly suggest me the way so that I can start TOMCAT 5 and test it.
Release it on production server. It is really urgent.

thanx  regards
RKS Rathour
extn-321


-
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 not Starting up

2004-10-08 Thread Kumar Singh Rathour, Raj \(Vedam\)
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)

---






















-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 6:00 PM
To: Tomcat Users List
Subject: RE: TOMCAT not Starting up



Hi,
I like how a major version upgrade is really urgent ;)  Always a good
thing to rush.  

The startup window is supposed to disappear by default.  Verify that the
server is running by pointing your browser to its address,
http://localhost:8080 is the default.

Alternatively, you can use catalina.bat run (instead of catalina.bat
start) to keep the DOS console window open.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Kumar Singh Rathour, Raj (Vedam) [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 8:11 AM
To: Tomcat Users List (E-mail)
Subject: TOMCAT not Starting up

hi All,

I have TOMCAT 4.0.4 on my m/c. I just wanted to move to latest version
of
TOMCAT that is 5. I have downloaded the binary files after extracting
all
files i have placed them to jakarta-tomcat-5 dir. I have changed all
env.
variables accordingly. I am running start-up bat file from BIN dir. It
is
showing all env. variables properly in first screen and after that
command
window is vanishing.

 Kindly suggest me the way so that I can start TOMCAT 5 and test it.
Release it on production server. It is really urgent.

thanx  regards
RKS Rathour
extn-321


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


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



RE: tomcat starting up?

2004-06-15 Thread Reid Peryam
Thanks Ariel. This is the info I gather using netstat. I don't even see port 8080 
listed (which might not mean a thing I guess).

netstat -a yields

 Proto  Local Address Foreign AddressState
 TCPomega-device:epmap  omega-device:0 LISTENING
 TCPomega-device:microsoft-ds  omega-device:0 LISTENING
 TCPomega-device:1025 omega-device:0 LISTENING
 TCPomega-device:1027 omega-device:0 LISTENING
 TCPomega-device:3091 omega-device:0 LISTENING
 TCPomega-device:3599 omega-device:0 LISTENING
 TCPomega-device:3689 omega-device:0 LISTENING
 TCPomega-device:4445 omega-device:0 LISTENING
 TCPomega-device:4594 omega-device:0 LISTENING
 TCPomega-device:4873 omega-device:0 LISTENING
 TCPomega-device:4876 omega-device:0 LISTENING
 TCPomega-device:5000 omega-device:0 LISTENING
 TCPomega-device:3001 omega-device:0 LISTENING
 TCPomega-device:3002 omega-device:0 LISTENING
 TCPomega-device:3003 omega-device:0 LISTENING
 TCPomega-device:5180 omega-device:0 LISTENING
 TCPomega-device:netbios-ssn   omega-device:0 LISTENING
 TCPomega-device:3599 192.168.0.1:5678   CLOSE_WAIT
 TCPomega-device:4445 69.28.154.21:http  CLOSE_WAIT
 TCPomega-device:4594 acs-imap.bu.edu:imap   ESTABLISHED
 UDPomega-device:microsoft-ds  *:*
 UDPomega-device:isakmp *:*
 UDPomega-device:3048 *:*
 UDPomega-device:3294 *:*
 UDPomega-device:4419 *:*
 UDPomega-device:4561 *:*
 UDPomega-device:4562 *:*
 UDPomega-device:ntp   *:*
 UDPomega-device:1900*:*
 UDPomega-device:3012*:*
 UDPomega-device:4553*:*
 UDPomega-device:4630*:*
 UDPomega-device:4698*:*
 UDPomega-device:ntp  *:*
 UDPomega-device:netbios-ns   *:*
 UDPomega-device:netbios-dgm  *:*
 UDPomega-device:1900*:*
 UDPomega-device:5353  *:*

netstat -o :

Active Connections

  Proto  Local Address Foreign AddressState   PID
  TCPomega-device:3599  192.168.0.1:5678   CLOSE_WAIT  1384
  TCPomega-device:4445  69.28.154.21:http  CLOSE_WAIT  2700
  TCPomega-device:4704  mta1pub.gte.net:pop3   TIME_WAIT   0


The goal is to connect to an IP address in order to download a file. Like I said 
before I can't connect in IE and was told that  I need to use Tomcat to get it. I can 
ping the IP address, so I know it's valid -- I just can't connect to 
http://localhost:8080/  after starting up Tomcat (a misc dns error in the grab bar of 
the IE window). I imagine that this precludes me from using the neccessary tools to 
get my job done. Any ideas based on the information from netstat as to what's going on?

thanks,
Reid

Re: tomcat starting up?

2004-06-15 Thread Hassan Schroeder
Reid Peryam wrote:
The goal is to connect to an IP address in order to download a file. 
Dude, are you still on this snipe hunt?
Like I said before I can't connect in IE and was told that I need to 
 use Tomcat to get it.
The person who told you this is watching you on a hidden camera right
now, channeling the spirit of Allen Funt, laughing hysterically. :-)
Tomcat is *not* a tool to download files...
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


tomcat starting up?

2004-06-14 Thread Reid Peryam
So when I try to connect to http://localhost:8080/ after starting up Tomcat, I get a 
dns connecting error in IE. The documentation support said that this might be because 
the port is being used by another process. If it is, how can I detect another port 
which is open for use? (the documentation tells how to change the default...)

Reid

RE: tomcat starting up?

2004-06-14 Thread Schalk
Tomcat runs on 8080, i.e. (80), by default so check no other servers are
running and using this port. If you are using Apache in conjunction with
Tomcat you need to set-up an ajp connector.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Reid Peryam [mailto:[EMAIL PROTECTED]
:: Sent: Tuesday, June 15, 2004 12:13 AM
:: To: Tomcat Users List
:: Subject: tomcat starting up?
:: 
:: So when I try to connect to http://localhost:8080/ after starting up
Tomcat, I get a
:: dns connecting error in IE. The documentation support said that this
might be
:: because the port is being used by another process. If it is, how can I
detect another
:: port which is open for use? (the documentation tells how to change the
default...)
:: 
:: Reid



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



RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a cl asspathissue?

2004-04-04 Thread yair . fine
I use jdk1.4.2 , 
Looks like our problem is a different issue
Yair

-Original Message-
From: JavaNetIn [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 03, 2004 10:32 PM
To: Tomcat Users List
Subject: Re: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpathissue?


hello Friend,

Which JDK Version do you have? Have you tried on jdk1.3.x version.

Because I can not compile jsp pages on tomcat 5.0 as well as tomcat 
4.1.0 build 7 in jdk1.4.2 environment but both perfectly runs in jdk1.3 
environment. I don't know the reason.

./Nikhil

Yair Fine wrote:

Did you mean tools.jar ? It is already in common\lib
I also have my CATALINA_HOME environement variable set (C:\Program 
Files\Apache Software Foundation\Tomcat 5.0) It still don't work
Yair

-Original Message-
From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED]
Sent:  03  2004 15:48
To: [EMAIL PROTECTED]
Subject: RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?


i ad the same ive red somwere to copy tool .jar to a folder in tomcat i 
tink its comun/lib
not shure try to ad catalina_home environement variable  pointing to
your 
tomcat instalation folder




[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc





  

From: Yair Fine [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with starting up Tomcat 5.0.1.9 using launcher - a 
classpath issue?
Date: Sat, 3 Apr 2004 14:52:43 +0200

Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.

When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat 
,



  

nothing happens, and no tomcat icon appears.

When i go to bin directory and run startup-using-launcher.bat , I get
an exception :
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at


java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
  

at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at


java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
  

at


org.apache.commons.launcher.Launcher.start(Launcher.java:385)
  

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso


r
  

Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at LauncherBootstrap.main(LauncherBootstrap.java:185)

Indeed, if i look at ant.jar ion common\lib, there is no
org/apache/tools/ant/launch/AntMain class Though is if run startup.bat,



  

the server starts and work I have my JAVA_HOME variable path going to
the right place

Enyone have a clue ?
Regards
Yair Fine




_
MSN Search, le moteur de recherche qui pense comme vous !
http://fr.ca.search.msn.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]


  




Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.
 
When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat ,
nothing happens, and no tomcat icon appears.
 
When i go to bin directory and run startup-using-launcher.bat , I get an
exception :
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at org.apache.commons.launcher.Launcher.start(Launcher.java:385)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at LauncherBootstrap.main(LauncherBootstrap.java:185)
 
Indeed, if i look at ant.jar ion common\lib, there is no
org/apache/tools/ant/launch/AntMain class
Though is if run startup.bat, the server starts and work 
I have my JAVA_HOME variable path going to the right place
 
Enyone have a clue ?
Regards 
Yair Fine
 


RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread FRANCOIS Dufour
i ad the same ive red somwere to copy tool .jar to a folder in tomcat i tink 
its comun/lib
not shure try to ad catalina_home environement variable  pointing to your 
tomcat instalation folder



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: Yair Fine [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with starting up Tomcat 5.0.1.9 using launcher - a 
classpath issue?
Date: Sat, 3 Apr 2004 14:52:43 +0200

Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.
When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat ,
nothing happens, and no tomcat icon appears.
When i go to bin directory and run startup-using-launcher.bat , I get an
exception :
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at org.apache.commons.launcher.Launcher.start(Launcher.java:385)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at LauncherBootstrap.main(LauncherBootstrap.java:185)
Indeed, if i look at ant.jar ion common\lib, there is no
org/apache/tools/ant/launch/AntMain class
Though is if run startup.bat, the server starts and work
I have my JAVA_HOME variable path going to the right place
Enyone have a clue ?
Regards
Yair Fine
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.com/

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


RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
Did you mean tools.jar ? It is already in common\lib
I also have my CATALINA_HOME environement variable set (C:\Program
Files\Apache Software Foundation\Tomcat 5.0) 
It still don't work
Yair

-Original Message-
From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] 
Sent:  03  2004 15:48
To: [EMAIL PROTECTED]
Subject: RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?


i ad the same ive red somwere to copy tool .jar to a folder in tomcat i
tink 
its comun/lib
not shure try to ad catalina_home environement variable  pointing to
your 
tomcat instalation folder




[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc





From: Yair Fine [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?
Date: Sat, 3 Apr 2004 14:52:43 +0200

Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.

When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat ,

nothing happens, and no tomcat icon appears.

When i go to bin directory and run startup-using-launcher.bat , I get 
an exception :
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
 at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
 at
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
 at
org.apache.commons.launcher.Launcher.start(Launcher.java:385)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at LauncherBootstrap.main(LauncherBootstrap.java:185)

Indeed, if i look at ant.jar ion common\lib, there is no 
org/apache/tools/ant/launch/AntMain class Though is if run startup.bat,

the server starts and work I have my JAVA_HOME variable path going to 
the right place

Enyone have a clue ?
Regards
Yair Fine


_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.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: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Bill Barker
The 'startup-using-launcher.bat' is pretty much unmaintained at the moment
(and has nothing to do with the Start Menu shortcut :).

To reproduce what the shortcut should be doing, cd to the Tomcat bin
directory and run:
  tomcatw //GT//Tomcat5

To review your startup settings run:
  tomcatw //ES//Tomcat5


Yair Fine [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,
 I installed Tomcat 5.0.1.9 on Windows 2000.

 When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat ,
 nothing happens, and no tomcat icon appears.

 When i go to bin directory and run startup-using-launcher.bat , I get an
 exception :
 java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
 at
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
 at org.apache.commons.launcher.Launcher.start(Launcher.java:385)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at LauncherBootstrap.main(LauncherBootstrap.java:185)

 Indeed, if i look at ant.jar ion common\lib, there is no
 org/apache/tools/ant/launch/AntMain class
 Though is if run startup.bat, the server starts and work
 I have my JAVA_HOME variable path going to the right place

 Enyone have a clue ?
 Regards
 Yair Fine






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



RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
I did both :
tomcatw //GT//Tomcat5
And 
tomcatw //ES//Tomcat5
And there was no response .Any other suggestions?

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent:  03  2004 23:03
To: [EMAIL PROTECTED]
Subject: Re: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?


The 'startup-using-launcher.bat' is pretty much unmaintained at the
moment (and has nothing to do with the Start Menu shortcut :).

To reproduce what the shortcut should be doing, cd to the Tomcat bin
directory and run:
  tomcatw //GT//Tomcat5

To review your startup settings run:
  tomcatw //ES//Tomcat5


Yair Fine [EMAIL PROTECTED] wrote 
 Hi,
 I installed Tomcat 5.0.1.9 on Windows 2000.

 When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat 
 , nothing happens, and no tomcat icon appears.

 When i go to bin directory and run startup-using-launcher.bat , I get 
 an exception :
 java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
 at

java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
 at
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
 at
org.apache.commons.launcher.Launcher.start(Launcher.java:385)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
 av
 a:39)
 at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at LauncherBootstrap.main(LauncherBootstrap.java:185)

 Indeed, if i look at ant.jar ion common\lib, there is no 
 org/apache/tools/ant/launch/AntMain class Though is if run 
 startup.bat, the server starts and work I have my JAVA_HOME variable 
 path going to the right place

 Enyone have a clue ?
 Regards
 Yair Fine






-
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: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread JavaNetIn
hello Friend,

Which JDK Version do you have? Have you tried on jdk1.3.x version.

Because I can not compile jsp pages on tomcat 5.0 as well as tomcat 
4.1.0 build 7 in jdk1.4.2 environment but both perfectly runs in jdk1.3 
environment. I don't know the reason.

./Nikhil

Yair Fine wrote:

Did you mean tools.jar ? It is already in common\lib
I also have my CATALINA_HOME environement variable set (C:\Program
Files\Apache Software Foundation\Tomcat 5.0) 
It still don't work
Yair

-Original Message-
From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] 
Sent:  03  2004 15:48
To: [EMAIL PROTECTED]
Subject: RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?

i ad the same ive red somwere to copy tool .jar to a folder in tomcat i
tink 
its comun/lib
not shure try to ad catalina_home environement variable  pointing to
your 
tomcat instalation folder



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




 

From: Yair Fine [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?
Date: Sat, 3 Apr 2004 14:52:43 +0200
Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.
When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat ,
   

 

nothing happens, and no tomcat icon appears.

When i go to bin directory and run startup-using-launcher.bat , I get 
an exception :
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
   at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
   at
   

java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
 

   at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at
   

java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
 

   at
   

org.apache.commons.launcher.Launcher.start(Launcher.java:385)
 

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
a:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
   

r
 

Impl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at LauncherBootstrap.main(LauncherBootstrap.java:185)
Indeed, if i look at ant.jar ion common\lib, there is no 
org/apache/tools/ant/launch/AntMain class Though is if run startup.bat,
   

 

the server starts and work I have my JAVA_HOME variable path going to 
the right place

Enyone have a clue ?
Regards
Yair Fine
   

_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.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: Cluster error when starting up web application

2004-03-01 Thread Filip Hanik \(lists\)
I just committed a fix into CVS,
I didn't change the tellNew, instead I moved setValid(true) before I called
tellNew() during session
creation.

Filip

-Original Message-
From: Aadi Deshpande [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:36 PM
To: Tomcat Users List
Subject: Re: Cluster error when starting up web application


Upon further research, it seems that DeltaSession.setId() fires the
sessionCreated events to registered listeners, but this happens before a
session is declared valid ( i.e. setValid(true) has not been called ).

so when a  registered listener tries to utilize ( what it seems to
believe is ) a newly created session, the setAttribute method throws the
IllegalStateException..

Now I don't know too much about how the actual workings of the
HttpSession should go, but in my opinion, the sessionCreated events
should not be fired unless a valid session has been created.  which
seems to imply that maybe setValid() should doing the firing...

However, that doesn't sit well with me since it doesn't make sense for a
session to be truly valid unless it has a sessionId, which either
forces there to be an implict order between setId() and setValid() which
is no good, requiring that either/or check to see if the other has been
truly satisfied, and setting up some sort of implicit sequence coupling.

the alternative, as I see it, is move the tellNew() invocation to the
DeltaManager ( it's declared public, so it's already exposed ).

I tried that, by patching up the TC5 sources and it seemed to resolve
the issue.

Again, as I know little to nothing of how sessions should work and what
other implications this refactoring may have, what should be my next
course of action?

Should I contact the webwork people? Is this not correct use of sessions
and session listeners?

Should I open up a bug and/or propose my patch?

Thanks in advance for reading and/or responding,

-a





Aadi Deshpande wrote:

 Hi,

 I just got Tomcat 5.0.19 and after setting up the new delta based
 cluster manager, i get this during the startup my application :

 SEVERE: Session event listener threw exception
 java.lang.IllegalStateException: setAttribute: Session already
 invalidated
at

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1306)

at

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1283)

at

org.apache.catalina.cluster.session.DeltaSessionFacade.setAttribute(DeltaSes
sionFacade.java:17

 7)
at

com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(S
essionLifecycleLis

 tener.java:50)
at

org.apache.catalina.cluster.session.DeltaSession.tellNew(DeltaSession.java:4
59)

at

org.apache.catalina.cluster.session.DeltaSession.setId(DeltaSession.java:431
)

at

org.apache.catalina.cluster.session.DeltaManager.createSession(DeltaManager.
java:377)

at

org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage
r.java:895)

at

org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa
nager.java:794)

at

org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT
cpCluster.java:561

 )
at
 org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)

at

org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica
tionThread.java:17

 6)
at

org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea
d.java:114)




 As far as I can tell, it's happening when I request a page that has
 the webwork2 RequestLifecycleFilter set for that url pattern.  The
 doFilter function creates a HttpSession if none exists, which I assume
 calls the SessionLifecycleListener.sessionCreated(), but for some
 reason, it seems like the session is being invalidated prematurely..


 Here's the relevant piece from my web.xml :
filter
filter-namecontainer/filter-name
filter-class

 com.opensymphony.webwork.lifecycle.RequestLifecycleFilter/filter-class
/filter
filter-mapping
filter-namecontainer/filter-name
url-pattern/*/url-pattern
!-- modify appropriately --
/filter-mapping
listener
listener-class


com.opensymphony.webwork.lifecycle.SessionLifecycleListener/listener-class

/listener
listener
listener-class


com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener/listener-cl
ass

/listener

 and from my server.xml file, taken pretty much verbatim from the
 default server.xml:

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

 managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false
 useDirtyFlag=true

Membership
className=org.apache.catalina.cluster.mcast.McastService
mcastAddr=224.64.64.128

RE: Cluster error when starting up web application

2004-03-01 Thread Filip Hanik \(lists\)
now remember, that I actually don't have to invoke the listeners upon
replication, I am doing it anyway, cause I think it might help, but there is
a risk in some apps that it may not.
the spec is in the gray, it doesn't say that you have to or not.

Filip

-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:40 PM
To: Tomcat Users List
Subject: RE: Cluster error when starting up web application


I just committed a fix into CVS,
I didn't change the tellNew, instead I moved setValid(true) before I called
tellNew() during session
creation.

Filip

-Original Message-
From: Aadi Deshpande [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:36 PM
To: Tomcat Users List
Subject: Re: Cluster error when starting up web application


Upon further research, it seems that DeltaSession.setId() fires the
sessionCreated events to registered listeners, but this happens before a
session is declared valid ( i.e. setValid(true) has not been called ).

so when a  registered listener tries to utilize ( what it seems to
believe is ) a newly created session, the setAttribute method throws the
IllegalStateException..

Now I don't know too much about how the actual workings of the
HttpSession should go, but in my opinion, the sessionCreated events
should not be fired unless a valid session has been created.  which
seems to imply that maybe setValid() should doing the firing...

However, that doesn't sit well with me since it doesn't make sense for a
session to be truly valid unless it has a sessionId, which either
forces there to be an implict order between setId() and setValid() which
is no good, requiring that either/or check to see if the other has been
truly satisfied, and setting up some sort of implicit sequence coupling.

the alternative, as I see it, is move the tellNew() invocation to the
DeltaManager ( it's declared public, so it's already exposed ).

I tried that, by patching up the TC5 sources and it seemed to resolve
the issue.

Again, as I know little to nothing of how sessions should work and what
other implications this refactoring may have, what should be my next
course of action?

Should I contact the webwork people? Is this not correct use of sessions
and session listeners?

Should I open up a bug and/or propose my patch?

Thanks in advance for reading and/or responding,

-a





Aadi Deshpande wrote:

 Hi,

 I just got Tomcat 5.0.19 and after setting up the new delta based
 cluster manager, i get this during the startup my application :

 SEVERE: Session event listener threw exception
 java.lang.IllegalStateException: setAttribute: Session already
 invalidated
at

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1306)

at

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1283)

at

org.apache.catalina.cluster.session.DeltaSessionFacade.setAttribute(DeltaSes
sionFacade.java:17

 7)
at

com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(S
essionLifecycleLis

 tener.java:50)
at

org.apache.catalina.cluster.session.DeltaSession.tellNew(DeltaSession.java:4
59)

at

org.apache.catalina.cluster.session.DeltaSession.setId(DeltaSession.java:431
)

at

org.apache.catalina.cluster.session.DeltaManager.createSession(DeltaManager.
java:377)

at

org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage
r.java:895)

at

org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa
nager.java:794)

at

org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT
cpCluster.java:561

 )
at
 org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)

at

org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica
tionThread.java:17

 6)
at

org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea
d.java:114)




 As far as I can tell, it's happening when I request a page that has
 the webwork2 RequestLifecycleFilter set for that url pattern.  The
 doFilter function creates a HttpSession if none exists, which I assume
 calls the SessionLifecycleListener.sessionCreated(), but for some
 reason, it seems like the session is being invalidated prematurely..


 Here's the relevant piece from my web.xml :
filter
filter-namecontainer/filter-name
filter-class

 com.opensymphony.webwork.lifecycle.RequestLifecycleFilter/filter-class
/filter
filter-mapping
filter-namecontainer/filter-name
url-pattern/*/url-pattern
!-- modify appropriately --
/filter-mapping
listener
listener-class


com.opensymphony.webwork.lifecycle.SessionLifecycleListener/listener-class

/listener
listener
listener-class


com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener/listener-cl
ass

/listener

Re: Cluster error when starting up web application

2004-02-27 Thread Aadi Deshpande


http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27296

Thank you for making excellent software.

p.s.  i'd also like to just say thanks to person(s) reponsible for the 
main build.xml file which made getting and building tomcat such a breeze.

Filip Hanik (lists) wrote:

thanks for the very diligent email,
open a bug, and I will address this issue shortly.
thank you for helping us make better software

Filip

-Original Message-
From: Aadi Deshpande [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:36 PM
To: Tomcat Users List
Subject: Re: Cluster error when starting up web application
Upon further research, it seems that DeltaSession.setId() fires the
sessionCreated events to registered listeners, but this happens before a
session is declared valid ( i.e. setValid(true) has not been called ).
so when a  registered listener tries to utilize ( what it seems to
believe is ) a newly created session, the setAttribute method throws the
IllegalStateException..
Now I don't know too much about how the actual workings of the
HttpSession should go, but in my opinion, the sessionCreated events
should not be fired unless a valid session has been created.  which
seems to imply that maybe setValid() should doing the firing...
However, that doesn't sit well with me since it doesn't make sense for a
session to be truly valid unless it has a sessionId, which either
forces there to be an implict order between setId() and setValid() which
is no good, requiring that either/or check to see if the other has been
truly satisfied, and setting up some sort of implicit sequence coupling.
the alternative, as I see it, is move the tellNew() invocation to the
DeltaManager ( it's declared public, so it's already exposed ).
I tried that, by patching up the TC5 sources and it seemed to resolve
the issue.
Again, as I know little to nothing of how sessions should work and what
other implications this refactoring may have, what should be my next
course of action?
Should I contact the webwork people? Is this not correct use of sessions
and session listeners?
Should I open up a bug and/or propose my patch?

Thanks in advance for reading and/or responding,

-a





Aadi Deshpande wrote:

 

Hi,

I just got Tomcat 5.0.19 and after setting up the new delta based
cluster manager, i get this during the startup my application :
SEVERE: Session event listener threw exception
java.lang.IllegalStateException: setAttribute: Session already
invalidated
  at
   

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1306)
 

  at

   

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1283)
 

  at

   

org.apache.catalina.cluster.session.DeltaSessionFacade.setAttribute(DeltaSes
sionFacade.java:17
 

7)
  at
   

com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(S
essionLifecycleLis
 

tener.java:50)
  at
   

org.apache.catalina.cluster.session.DeltaSession.tellNew(DeltaSession.java:4
59)
 

  at

   

org.apache.catalina.cluster.session.DeltaSession.setId(DeltaSession.java:431
)
 

  at

   

org.apache.catalina.cluster.session.DeltaManager.createSession(DeltaManager.
java:377)
 

  at

   

org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage
r.java:895)
 

  at

   

org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa
nager.java:794)
 

  at

   

org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT
cpCluster.java:561
 

)
  at
org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)
  at

   

org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica
tionThread.java:17
 

6)
  at
   

org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea
d.java:114)
 



As far as I can tell, it's happening when I request a page that has
the webwork2 RequestLifecycleFilter set for that url pattern.  The
doFilter function creates a HttpSession if none exists, which I assume
calls the SessionLifecycleListener.sessionCreated(), but for some
reason, it seems like the session is being invalidated prematurely..
Here's the relevant piece from my web.xml :
  filter
  filter-namecontainer/filter-name
  filter-class
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter/filter-class
  /filter
  filter-mapping
  filter-namecontainer/filter-name
  url-pattern/*/url-pattern
  !-- modify appropriately --
  /filter-mapping
  listener
  listener-class
   

com.opensymphony.webwork.lifecycle.SessionLifecycleListener/listener-class
 

  /listener
  listener
  listener-class
   

com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener/listener-cl
ass
 

  /listener

and from my server.xml file, taken pretty much verbatim from the
default server.xml:
  Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

managerClassName

RE: Cluster error when starting up web application

2004-02-26 Thread Filip Hanik \(lists\)
thanks for the very diligent email,
open a bug, and I will address this issue shortly.

thank you for helping us make better software

Filip

-Original Message-
From: Aadi Deshpande [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:36 PM
To: Tomcat Users List
Subject: Re: Cluster error when starting up web application


Upon further research, it seems that DeltaSession.setId() fires the
sessionCreated events to registered listeners, but this happens before a
session is declared valid ( i.e. setValid(true) has not been called ).

so when a  registered listener tries to utilize ( what it seems to
believe is ) a newly created session, the setAttribute method throws the
IllegalStateException..

Now I don't know too much about how the actual workings of the
HttpSession should go, but in my opinion, the sessionCreated events
should not be fired unless a valid session has been created.  which
seems to imply that maybe setValid() should doing the firing...

However, that doesn't sit well with me since it doesn't make sense for a
session to be truly valid unless it has a sessionId, which either
forces there to be an implict order between setId() and setValid() which
is no good, requiring that either/or check to see if the other has been
truly satisfied, and setting up some sort of implicit sequence coupling.

the alternative, as I see it, is move the tellNew() invocation to the
DeltaManager ( it's declared public, so it's already exposed ).

I tried that, by patching up the TC5 sources and it seemed to resolve
the issue.

Again, as I know little to nothing of how sessions should work and what
other implications this refactoring may have, what should be my next
course of action?

Should I contact the webwork people? Is this not correct use of sessions
and session listeners?

Should I open up a bug and/or propose my patch?

Thanks in advance for reading and/or responding,

-a





Aadi Deshpande wrote:

 Hi,

 I just got Tomcat 5.0.19 and after setting up the new delta based
 cluster manager, i get this during the startup my application :

 SEVERE: Session event listener threw exception
 java.lang.IllegalStateException: setAttribute: Session already
 invalidated
at

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1306)

at

org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.j
ava:1283)

at

org.apache.catalina.cluster.session.DeltaSessionFacade.setAttribute(DeltaSes
sionFacade.java:17

 7)
at

com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(S
essionLifecycleLis

 tener.java:50)
at

org.apache.catalina.cluster.session.DeltaSession.tellNew(DeltaSession.java:4
59)

at

org.apache.catalina.cluster.session.DeltaSession.setId(DeltaSession.java:431
)

at

org.apache.catalina.cluster.session.DeltaManager.createSession(DeltaManager.
java:377)

at

org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManage
r.java:895)

at

org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaMa
nager.java:794)

at

org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT
cpCluster.java:561

 )
at
 org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)

at

org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica
tionThread.java:17

 6)
at

org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea
d.java:114)




 As far as I can tell, it's happening when I request a page that has
 the webwork2 RequestLifecycleFilter set for that url pattern.  The
 doFilter function creates a HttpSession if none exists, which I assume
 calls the SessionLifecycleListener.sessionCreated(), but for some
 reason, it seems like the session is being invalidated prematurely..


 Here's the relevant piece from my web.xml :
filter
filter-namecontainer/filter-name
filter-class

 com.opensymphony.webwork.lifecycle.RequestLifecycleFilter/filter-class
/filter
filter-mapping
filter-namecontainer/filter-name
url-pattern/*/url-pattern
!-- modify appropriately --
/filter-mapping
listener
listener-class


com.opensymphony.webwork.lifecycle.SessionLifecycleListener/listener-class

/listener
listener
listener-class


com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener/listener-cl
ass

/listener

 and from my server.xml file, taken pretty much verbatim from the
 default server.xml:

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

 managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false
 useDirtyFlag=true

Membership
className=org.apache.catalina.cluster.mcast.McastService
mcastAddr=224.64.64.128
mcastPort

Cluster error when starting up web application

2004-02-25 Thread Aadi Deshpande
Hi,

I just got Tomcat 5.0.19 and after setting up the new delta based 
cluster manager, i get this during the startup my application :

SEVERE: Session event listener threw exception
java.lang.IllegalStateException: setAttribute: Session already invalidated
   at 
org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.java:1306)
   at 
org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.java:1283)
   at 
org.apache.catalina.cluster.session.DeltaSessionFacade.setAttribute(DeltaSessionFacade.java:17
7)
   at 
com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(SessionLifecycleLis
tener.java:50)
   at 
org.apache.catalina.cluster.session.DeltaSession.tellNew(DeltaSession.java:459)
   at 
org.apache.catalina.cluster.session.DeltaSession.setId(DeltaSession.java:431)
   at 
org.apache.catalina.cluster.session.DeltaManager.createSession(DeltaManager.java:377)
   at 
org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManager.java:895)
   at 
org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaManager.java:794)
   at 
org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleTcpCluster.java:561
)
   at 
org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)
   at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:17
6)
   at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:114)



As far as I can tell, it's happening when I request a page that has the 
webwork2 RequestLifecycleFilter set for that url pattern.  The doFilter 
function creates a HttpSession if none exists, which I assume calls the 
SessionLifecycleListener.sessionCreated(), but for some reason, it seems 
like the session is being invalidated prematurely..

Here's the relevant piece from my web.xml :
   filter
   filter-namecontainer/filter-name
   filter-class
   
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter/filter-class
   /filter
   filter-mapping
   filter-namecontainer/filter-name
   url-pattern/*/url-pattern
   !-- modify appropriately --
   /filter-mapping
   listener
   listener-class
   
com.opensymphony.webwork.lifecycle.SessionLifecycleListener/listener-class
   /listener
   listener
   listener-class
   
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener/listener-class
   /listener

and from my server.xml file, taken pretty much verbatim from the default 
server.xml:

   Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

managerClassName=org.apache.catalina.cluster.session.DeltaManager
expireSessionsOnShutdown=false
useDirtyFlag=true

   Membership
   className=org.apache.catalina.cluster.mcast.McastService
   mcastAddr=224.64.64.128
   mcastPort=45600
   mcastFrequency=500
   mcastDropTime=3000/
Receiver
   
className=org.apache.catalina.cluster.tcp.ReplicationListener
   tcpListenAddress=auto
   tcpListenPort=4060
   tcpSelectorTimeout=100
   tcpThreadCount=3/

   Sender
   
className=org.apache.catalina.cluster.tcp.ReplicationTransmitter
   replicationMode=pooled/

Valve className=org.apache.catalina.cluster.tcp.ReplicationValve
  filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/
   /Cluster

Anyone know what's going on? Or can provide some insight into what I may 
be missing?

Thanks for any info.

-a

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


Re: Cluster error when starting up web application

2004-02-25 Thread Aadi Deshpande
Upon further research, it seems that DeltaSession.setId() fires the 
sessionCreated events to registered listeners, but this happens before a 
session is declared valid ( i.e. setValid(true) has not been called ).

so when a  registered listener tries to utilize ( what it seems to 
believe is ) a newly created session, the setAttribute method throws the 
IllegalStateException..

Now I don't know too much about how the actual workings of the 
HttpSession should go, but in my opinion, the sessionCreated events 
should not be fired unless a valid session has been created.  which 
seems to imply that maybe setValid() should doing the firing...

However, that doesn't sit well with me since it doesn't make sense for a 
session to be truly valid unless it has a sessionId, which either
forces there to be an implict order between setId() and setValid() which 
is no good, requiring that either/or check to see if the other has been 
truly satisfied, and setting up some sort of implicit sequence coupling.

the alternative, as I see it, is move the tellNew() invocation to the 
DeltaManager ( it's declared public, so it's already exposed ).

I tried that, by patching up the TC5 sources and it seemed to resolve 
the issue.

Again, as I know little to nothing of how sessions should work and what 
other implications this refactoring may have, what should be my next 
course of action?

Should I contact the webwork people? Is this not correct use of sessions 
and session listeners?

Should I open up a bug and/or propose my patch?

Thanks in advance for reading and/or responding,

-a





Aadi Deshpande wrote:

Hi,

I just got Tomcat 5.0.19 and after setting up the new delta based 
cluster manager, i get this during the startup my application :

SEVERE: Session event listener threw exception
java.lang.IllegalStateException: setAttribute: Session already 
invalidated
   at 
org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.java:1306) 

   at 
org.apache.catalina.cluster.session.DeltaSession.setAttribute(DeltaSession.java:1283) 

   at 
org.apache.catalina.cluster.session.DeltaSessionFacade.setAttribute(DeltaSessionFacade.java:17 

7)
   at 
com.opensymphony.webwork.lifecycle.SessionLifecycleListener.sessionCreated(SessionLifecycleLis 

tener.java:50)
   at 
org.apache.catalina.cluster.session.DeltaSession.tellNew(DeltaSession.java:459) 

   at 
org.apache.catalina.cluster.session.DeltaSession.setId(DeltaSession.java:431) 

   at 
org.apache.catalina.cluster.session.DeltaManager.createSession(DeltaManager.java:377) 

   at 
org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManager.java:895) 

   at 
org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaManager.java:794) 

   at 
org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleTcpCluster.java:561 

)
   at 
org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117) 

   at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:17 

6)
   at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:114) 



As far as I can tell, it's happening when I request a page that has 
the webwork2 RequestLifecycleFilter set for that url pattern.  The 
doFilter function creates a HttpSession if none exists, which I assume 
calls the SessionLifecycleListener.sessionCreated(), but for some 
reason, it seems like the session is being invalidated prematurely..

Here's the relevant piece from my web.xml :
   filter
   filter-namecontainer/filter-name
   filter-class
   
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter/filter-class
   /filter
   filter-mapping
   filter-namecontainer/filter-name
   url-pattern/*/url-pattern
   !-- modify appropriately --
   /filter-mapping
   listener
   listener-class
   
com.opensymphony.webwork.lifecycle.SessionLifecycleListener/listener-class 

   /listener
   listener
   listener-class
   
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener/listener-class 

   /listener

and from my server.xml file, taken pretty much verbatim from the 
default server.xml:

   Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

managerClassName=org.apache.catalina.cluster.session.DeltaManager
expireSessionsOnShutdown=false
useDirtyFlag=true

   Membership
   className=org.apache.catalina.cluster.mcast.McastService
   mcastAddr=224.64.64.128
   mcastPort=45600
   mcastFrequency=500
   mcastDropTime=3000/
Receiver
   
className=org.apache.catalina.cluster.tcp.ReplicationListener
   tcpListenAddress=auto
   tcpListenPort=4060
   tcpSelectorTimeout=100
   tcpThreadCount=3/

   Sender

Problem starting up Win XP Tomcat

2004-01-29 Thread hhlow
Hi all,

I had some problem with Tomcat 5.0
it suddenly say something about port 8080 in use
so i now changed to port 8081

and the funny thing is i cannot run my Win XP Tomcat Service
now i have to start Tomcat using command prompt
anyone can give me a idea how to fix this back so that Win XP will just
start it as a service.
I tried to delete away the service, it wont work.

Clement


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



RE: Starting up a particular configuration

2004-01-22 Thread Shapira, Yoav

Howdy,
Use the -config {pathname} argument to specify a server.xml file to use.
And please be careful in your wording, as this quote:

According to RUNNING.txt, you can pass a
-Dcatalina.base=$CATALINA_BASE argument when
executing the startup command to run a specified configuration.

is completely out of context or alternatively you completely
misunderstood it.  Setting CATALINA_BASE (different from CATALINA_HOME)
applies only to multiple instances sharing the same base.

Yoav Shapira



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: Starting up a particular configuration

2004-01-22 Thread Guy Rouillier
Shapira, Yoav wrote:
 Howdy,
 Use the -config {pathname} argument to specify a server.xml
 file to use. And please be careful in your wording, as this quote:
 
 According to RUNNING.txt, you can pass a
 -Dcatalina.base=$CATALINA_BASE argument when executing the startup
 command to run a specified configuration.
 
 is completely out of context or alternatively you completely
 misunderstood it.  Setting CATALINA_BASE (different from
 CATALINA_HOME) applies only to multiple instances sharing the
 same base.

Yoav, thanks for the reply.  I am indeed running two instances of Tomcat
from one installation directory.  I've created a subdirectory (called
secure) under CATALINA_HOME and created the required directories (work,
conf, temp) there.  To run the first instance, I just run startup.  To
run the second instance, I tried this:

startup -Dcatalina.base=C:\\tomcat-jakarta-5.0.16\secure

and got the message I originally posted (usage: java
org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [
-nonaming ] { start | stop }).  That's what I understand RUNNING.txt to
mean when it says executing the startup command.  However, I very well
may be misunderstanding what it says, as I see in catalina.bat that it
uses the following:

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS%
-Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% -classpath %CLASSPATH%
-Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA_HOME%
-Djava.io.tmpdir=%CATALINA_TMPDIR% %MAINCLASS% %CMD_LINE_ARGS%
%ACTION%

So it looks like the -Dcatalina.base option is used by catalina.bat when
it invokes org.apache.catalina.startup.Bootstrap.  I think RUNNING.txt
could be clearer on this, as the end user would never supply this option
if he/she is using the supplied startup scripts/batch files.

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



RE: Starting up a particular configuration

2004-01-22 Thread Shapira, Yoav

Howdy,
As always, if you have
corrections/additions/clarifications/modifications to the documentation,
I will be happy to review and commit them.  Send them at your leisure
(to the list so that others may comment, not to me directly).  Thanks,

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:47 AM
To: Tomcat Users List
Subject: RE: Starting up a particular configuration

Shapira, Yoav wrote:
 Howdy,
 Use the -config {pathname} argument to specify a server.xml
 file to use. And please be careful in your wording, as this quote:

 According to RUNNING.txt, you can pass a
 -Dcatalina.base=$CATALINA_BASE argument when executing the startup
 command to run a specified configuration.

 is completely out of context or alternatively you completely
 misunderstood it.  Setting CATALINA_BASE (different from
 CATALINA_HOME) applies only to multiple instances sharing the
 same base.

Yoav, thanks for the reply.  I am indeed running two instances of
Tomcat
from one installation directory.  I've created a subdirectory (called
secure) under CATALINA_HOME and created the required directories (work,
conf, temp) there.  To run the first instance, I just run startup.  To
run the second instance, I tried this:

startup -Dcatalina.base=C:\\tomcat-jakarta-5.0.16\secure

and got the message I originally posted (usage: java
org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ]
[
-nonaming ] { start | stop }).  That's what I understand RUNNING.txt
to
mean when it says executing the startup command.  However, I very
well
may be misunderstanding what it says, as I see in catalina.bat that it
uses the following:

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS%
-Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% -classpath %CLASSPATH%
-Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA_HOME%
-Djava.io.tmpdir=%CATALINA_TMPDIR% %MAINCLASS% %CMD_LINE_ARGS%
%ACTION%

So it looks like the -Dcatalina.base option is used by catalina.bat
when
it invokes org.apache.catalina.startup.Bootstrap.  I think RUNNING.txt
could be clearer on this, as the end user would never supply this
option
if he/she is using the supplied startup scripts/batch files.

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



problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Agarwal, Naresh




Hi
When I 
try to start Tomcat (v4.1.27) on HP-UX (v 11.11), I'm getting 
the following error:



hp64 54: ./startup.shUsing 
CATALINA_BASE: /home1/lveerara/ws/jakarta-tomcat-4.1.27Using 
CATALINA_HOME: /home1/lveerara/ws/jakarta-tomcat-4.1.27Using 
CATALINA_TMPDIR: /home1/lveerara/ws/jakarta-tomcat-4.1.27/tempUsing 
JAVA_HOME: /opt/java1.3[INFO] Registry - 
-Loading registry information[INFO] Registry - -Creating new Registry 
instance[INFO] Registry - -Creating MBeanServerException during startup 
processingjava.lang.reflect.InvocationTargetException: 
java.lang.NoSuchMethodError: 
isClosedOrPending at 
java.net.PlainSocketImpl.initProto(Native 
Method) at 
java.net.PlainSocketImpl.clinit(Unknown 
Source) at 
java.net.ServerSocket.init(Unknown 
Source) at 
java.net.ServerSocket.init(Unknown 
Source) at 
java.net.ServerSocket.init(Unknown 
Source) at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:96) 
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:275) 
at 
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150) 
at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1156) 
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:579) 
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) 
at 
org.apache.catalina.startup.Catalina.start(Catalina.java:511) 
at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:400) 
at 
org.apache.catalina.startup.Catalina.process(Catalina.java:180) 
at java.lang.reflect.Method.invoke(Native 
Method) at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


Could 
any please help me out?

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

RE: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Shapira, Yoav

Howdy,
Are you using the sun JVM?  If so what exact version?

Yoav Shapira
Millennium ChemInformatics

-Original Message-
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 3:17 AM
To: [EMAIL PROTECTED]
Cc: Veeraraghavan, Laxminarasimhan
Subject: problem while starting up Tomcat (v 4.1.27)

Hi
When I try to start Tomcat (v4.1.27) on HP-UX (v 11.11), I'm getting the following 
error:
 

 
hp64 54: ./startup.sh
Using CATALINA_BASE:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_HOME:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_TMPDIR: /home1/lveerara/ws/jakarta-tomcat-4.1.27/temp
Using JAVA_HOME:   /opt/java1.3
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: 
isClosedOrPending
    at java.net.PlainSocketImpl.initProto(Native Method)
    at java.net.PlainSocketImpl.clinit(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFac
tory.java:96)
    at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:275)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
    at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1156)
    at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

 
Could any please help me out?
 
thanks,
Naresh Agarwal



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: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Agarwal, Naresh
Hi Shapira

The details of JVM i'm using are as follows:


java version 1.3.1.02
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.02-011206-02:17)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.10-_30_jun_2003_11_52 PA2.0, mixed mode)

thanks,
Naresh


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 6:47 PM
To: Tomcat Users List
Subject: RE: problem while starting up Tomcat (v 4.1.27)



Howdy,
Are you using the sun JVM?  If so what exact version?

Yoav Shapira
Millennium ChemInformatics

-Original Message-
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 3:17 AM
To: [EMAIL PROTECTED]
Cc: Veeraraghavan, Laxminarasimhan
Subject: problem while starting up Tomcat (v 4.1.27)

Hi
When I try to start Tomcat (v4.1.27) on HP-UX (v 11.11), I'm getting the following 
error:
 

 
hp64 54: ./startup.sh
Using CATALINA_BASE:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_HOME:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_TMPDIR: /home1/lveerara/ws/jakarta-tomcat-4.1.27/temp
Using JAVA_HOME:   /opt/java1.3
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: 
isClosedOrPending
    at java.net.PlainSocketImpl.initProto(Native Method)
    at java.net.PlainSocketImpl.clinit(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFac
tory.java:96)
    at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:275)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
    at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1156)
    at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

 
Could any please help me out?
 
thanks,
Naresh Agarwal



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: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Shapira, Yoav

Howdy,
Is that a release build or some sort of test/beta?  On the JDK web site 
(http://java.sun.com/j2se/1.3/) it says 1.3.1_09 is the latest stable build: have you 
tried that?  Have you tried JDK 1.4.2?  If so, does it work?

I'm asking all these because this appears to be an internal JVM error, not a tomcat 
one.  Tomcat can't even access the java.net private impl classes, it only accesses the 
normal (Socket and ServerSocket) classes.  In turn, these use the impl classes, so 
it's strange for the impl class to not contain a method expected by the declaration 
class.

Do you have anything unusual in $CATALINA_HOME/common/endorsed?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 9:43 AM
To: Tomcat Users List
Subject: RE: problem while starting up Tomcat (v 4.1.27)

Hi Shapira

The details of JVM i'm using are as follows:


java version 1.3.1.02
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.02-011206-
02:17)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.10-_30_jun_2003_11_52 PA2.0,
mixed mode)

thanks,
Naresh


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 6:47 PM
To: Tomcat Users List
Subject: RE: problem while starting up Tomcat (v 4.1.27)



Howdy,
Are you using the sun JVM?  If so what exact version?

Yoav Shapira
Millennium ChemInformatics

-Original Message-
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 3:17 AM
To: [EMAIL PROTECTED]
Cc: Veeraraghavan, Laxminarasimhan
Subject: problem while starting up Tomcat (v 4.1.27)

Hi
When I try to start Tomcat (v4.1.27) on HP-UX (v 11.11), I'm getting the
following error:



hp64 54: ./startup.sh
Using CATALINA_BASE:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_HOME:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_TMPDIR: /home1/lveerara/ws/jakarta-tomcat-4.1.27/temp
Using JAVA_HOME:   /opt/java1.3
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
isClosedOrPending
    at java.net.PlainSocketImpl.initProto(Native Method)
    at java.net.PlainSocketImpl.clinit(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at java.net.ServerSocket.init(Unknown Source)
    at
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultS
erverSocketFac
tory.java:96)
    at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.jav
a:275)
    at
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
    at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1
156)
    at
org.apache.catalina.core.StandardService.initialize(StandardService.java:57
9)
    at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246
)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


Could any please help me out?

thanks,
Naresh Agarwal



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]




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

Re: problem while starting up Tomcat (v 4.1.27)

2003-09-10 Thread Tim Funk
This is HP's java. (Based on sun's jdk). Make sure your have all the patches 
and check the HP support lists for java wackiness.

-Tim

Shapira, Yoav wrote:

Howdy,
Is that a release build or some sort of test/beta?  On the JDK web site 
(http://java.sun.com/j2se/1.3/) it says 1.3.1_09 is the latest stable build: have you 
tried that?  Have you tried JDK 1.4.2?  If so, does it work?
I'm asking all these because this appears to be an internal JVM error, not a tomcat one.  Tomcat can't even access the java.net private impl classes, it only accesses the normal (Socket and ServerSocket) classes.  In turn, these use the impl classes, so it's strange for the impl class to not contain a method expected by the declaration class.

Do you have anything unusual in $CATALINA_HOME/common/endorsed?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 9:43 AM
To: Tomcat Users List
Subject: RE: problem while starting up Tomcat (v 4.1.27)
Hi Shapira

The details of JVM i'm using are as follows:

java version 1.3.1.02
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.02-011206-
02:17)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.10-_30_jun_2003_11_52 PA2.0,
mixed mode)
thanks,
Naresh
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 6:47 PM
To: Tomcat Users List
Subject: RE: problem while starting up Tomcat (v 4.1.27)


Howdy,
Are you using the sun JVM?  If so what exact version?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Agarwal, Naresh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 3:17 AM
To: [EMAIL PROTECTED]
Cc: Veeraraghavan, Laxminarasimhan
Subject: problem while starting up Tomcat (v 4.1.27)
Hi
When I try to start Tomcat (v4.1.27) on HP-UX (v 11.11), I'm getting the
following error:


hp64 54: ./startup.sh
Using CATALINA_BASE:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_HOME:   /home1/lveerara/ws/jakarta-tomcat-4.1.27
Using CATALINA_TMPDIR: /home1/lveerara/ws/jakarta-tomcat-4.1.27/temp
Using JAVA_HOME:   /opt/java1.3
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
isClosedOrPending
   at java.net.PlainSocketImpl.initProto(Native Method)
   at java.net.PlainSocketImpl.clinit(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at java.net.ServerSocket.init(Unknown Source)
   at
org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultS
erverSocketFac
tory.java:96)
   at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.jav
a:275)
   at
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
   at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1
156)
   at
org.apache.catalina.core.StandardService.initialize(StandardService.java:57
9)
   at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246
)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at java.lang.reflect.Method.invoke(Native Method)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Could any please help me out?

thanks,
Naresh Agarwal


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]




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

Tomcat as a service - starting up with security

2003-07-15 Thread Pooleery, Manoj
Hi,

I have a requirement like this - I want to install Tomcat as a service which
when starts up, should be in the secure mode.  I want to do a cleanup of the
logs/localhost directories when I do so. (Currently, I have a batch file
which does it for me). I could get hold of information to start Tomcat as a
service, but not with security or the additional cleanup I require.  Does
anybody know how to go about this?  Any information in this regard is highly
appreciated.

Thanks
-Manoj.


strange problem with starting up servlets on tomcat

2003-03-05 Thread matt dilley
Hi guys,

I have a strange  problem that only seems to happen with tomcat
v.4.1.12, and due to the strange behaviour of this, I can't quite
describe the full clues to the reasons behind it - can anyone tell me if
you are also experiencing the same or similar problems?

Description:
I have a web.xml file in the webapps/WEB-INF directory of an
application.
Inside that web.xml file are 4 servlets, with load-on-startup values of
10,20,21 and 25 respectively.

each of these servlets extend HttpServlet, and have the necessary
init(), doGet() and doPost() methods contained withing then. (debug log
statements also being featured all the way through each of these
servlets)
However, one of these servlets does not get started - I come to that
conclusion since there are no debug statements being produced for that
servlet.

I know I'm not helping much with the lack of included information on the
servlets themselves, but the strange thing with  this is that there is
no difference in structure between that problem servlet and the others.
This is why it's so difficult to pin-point the problem here.

Maybe someone could throw in some pointers - maybe there is an issue
with load-on-startup values, or maybe the amount of servlets allowed to
run at startup.


can anybody help me with this?

if you wish, I could include an example snippet of the problem servlet
code - will that be of use?

regards

Matt Dilley


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



Exception - Starting up Tomcat with Struts

2003-02-18 Thread Sanjeevkumar Cherengotil

Hi,

 I have installed Tomcat 4.1.18 and Struts1.1 Beta on my Windows 2000
machine. I copied all jar files and other required files along with the war
files into the directories mentioned in the installation manual. I am
getting couple of exceptions. Could anyone please tell me what went wrong?

 Exceptions are as follows..

Exception #1

org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
rorHandlerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
java:173)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:371)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:305)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDVal
idator.java:1918)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator
.java:851)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j


Exception #2
[ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from
final
classjava.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1664)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:953)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1274)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatch
er(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.init(XMLDocum
entFragmentScannerImpl.java:249)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.init(XMLDocumentScann
erImpl.java:245)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.init(Unknown
Source
)
at
org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumen
tScanner(Unknown Source)
at
org.apache.xerces.parsers.DTDConfiguration.init(DTDConfiguration.ja


 - luck is what happens when preparation meets opportunity - 

Sanjeev Kumar C K
Senior Software Engineer
IT Solutions India Private Ltd
Ph : 044-28212877 / 78 , ext - 2315 .


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




Re: Exception - Starting up Tomcat with Struts

2003-02-18 Thread Tim Funk
Your web.xml is not wellformed and/or valid. Make sure it is with 
respect to the DTD.

-Tim

Sanjeevkumar Cherengotil wrote:
Hi,

 I have installed Tomcat 4.1.18 and Struts1.1 Beta on my Windows 2000
machine. I copied all jar files and other required files along with the war
files into the directories mentioned in the installation manual. I am
getting couple of exceptions. Could anyone please tell me what went wrong?

 Exceptions are as follows..

Exception #1

org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
rorHandlerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
java:173)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:371)
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:305)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDVal
idator.java:1918)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator
.java:851)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j


Exception #2
[ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from
final
classjava.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1664)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:953)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1274)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatch
er(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.init(XMLDocum
entFragmentScannerImpl.java:249)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.init(XMLDocumentScann
erImpl.java:245)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.init(Unknown
Source
)
at
org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumen
tScanner(Unknown Source)
at
org.apache.xerces.parsers.DTDConfiguration.init(DTDConfiguration.ja


 - luck is what happens when preparation meets opportunity - 

Sanjeev Kumar C K
Senior Software Engineer
IT Solutions India Private Ltd
Ph : 044-28212877 / 78 , ext - 2315 .





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




RE: Exception - Starting up Tomcat with Struts

2003-02-18 Thread Ralph Einfeldt
You have an error in web.xml.

- Your tags don't follow the specified order
- you have a tag that is not defined in the dtd.
- You omitted a required tag

 -Original Message-
 From: Sanjeevkumar Cherengotil
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 18, 2003 1:15 PM
 To: Tomcat Users List
 Subject: Exception - Starting up Tomcat with Struts
 
 org.xml.sax.SAXParseException: The content of element type 
 web-app must match
 (icon?,display-name?,description?,distributable?,context-para
 m*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,
 session-config?,mime-mapping*,welcome-file-list?,error-page*,
 taglib*,resource-env-ref*,resource-ref*,security-constraint*,
 login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).

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




Re: Exception - Starting up Tomcat with Struts

2003-02-18 Thread Sanjeevkumar Cherengotil

Thanks much.. I have modified the web.xml (few of its tags were messed up).
Now the following exception remains.. any ideas??

[ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from
final
classjava.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1664)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:953)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1274)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatch
er(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.init(XMLDocum
entFragmentScannerImpl.java:249)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.init(XMLDocumentScann
erImpl.java:245)

Thanks in advance..
-Sanjeev
 - luck is what happens when preparation meets opportunity - 

Sanjeev Kumar C K
Senior Software Engineer
IT Solutions India Private Ltd
Ph : 044-28212877 / 78 , ext - 2315 .


   
 
Tim Funk   
 
funkman@joedo   To: Tomcat Users List 
 
g.org[EMAIL PROTECTED] 
 
 cc:   
 
02/18/2003   Subject: Re: Exception - Starting up 
Tomcat
05:45 PM  with Struts  
 
Please respond 
 
to Tomcat 
 
Users List
 
   
 
   
 




Your web.xml is not wellformed and/or valid. Make sure it is with
respect to the DTD.

-Tim

Sanjeevkumar Cherengotil wrote:
 Hi,

  I have installed Tomcat 4.1.18 and Struts1.1 Beta on my Windows 2000
 machine. I copied all jar files and other required files along with the
war
 files into the directories mentioned in the installation manual. I am
 getting couple of exceptions. Could anyone please tell me what went
wrong?

  Exceptions are as follows..

 Exception #1

 org.xml.sax.SAXParseException: The content of element type web-app must
 match

(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-


mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco


me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const

 raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
 at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
 rorHandlerWrapper.java:232)
 at
 org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
 java:173)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:371)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:305)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDVal
 idator.java:1918)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator
 .java:851)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
 XMLDocumentFragmentScannerImpl.java:1008)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
 Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
 LDocumentFragmentScannerImpl.java:329)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:525)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:581)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at
 org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j


 Exception #2
 [ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from
 final
 classjava.lang.VerifyError: Cannot inherit from final class
 at java.lang.ClassLoader.defineClass0(Native Method

RE: Exception - Starting up Tomcat with Struts

2003-02-18 Thread pqin
One easy way to tell if your xml is incorrect is to double click on your
web.xml and struts-config.xml. It brings up your web browser. Your web
browser should interpret your xml based on the dtd provided by your xml. If
there is something wrong, the error message must be seen in the browser.

Regards,
 
 
PQ
 
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: Sanjeevkumar Cherengotil
[mailto:[EMAIL PROTECTED]] 
Sent: February 18, 2003 7:26 AM
To: Tomcat Users List
Subject: Re: Exception - Starting up Tomcat with Struts


Thanks much.. I have modified the web.xml (few of its tags were messed up).
Now the following exception remains.. any ideas??

[ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from
final
classjava.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1664)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:953)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1274)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatch
er(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.init(XMLDocum
entFragmentScannerImpl.java:249)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.init(XMLDocumentScann
erImpl.java:245)

Thanks in advance..
-Sanjeev
 - luck is what happens when preparation meets opportunity - 

Sanjeev Kumar C K
Senior Software Engineer
IT Solutions India Private Ltd
Ph : 044-28212877 / 78 , ext - 2315 .


 

Tim Funk

funkman@joedo   To: Tomcat Users List

g.org[EMAIL PROTECTED]

 cc:

02/18/2003   Subject: Re: Exception -
Starting up Tomcat
05:45 PM  with Struts

Please respond

to Tomcat

Users List

 

 





Your web.xml is not wellformed and/or valid. Make sure it is with
respect to the DTD.

-Tim

Sanjeevkumar Cherengotil wrote:
 Hi,

  I have installed Tomcat 4.1.18 and Struts1.1 Beta on my Windows 2000
 machine. I copied all jar files and other required files along with the
war
 files into the directories mentioned in the installation manual. I am
 getting couple of exceptions. Could anyone please tell me what went
wrong?

  Exceptions are as follows..

 Exception #1

 org.xml.sax.SAXParseException: The content of element type web-app must
 match

(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-


mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,w
elco


me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-c
onst

 raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
 at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
 rorHandlerWrapper.java:232)
 at
 org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
 java:173)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:371)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:305)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDVal
 idator.java:1918)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator
 .java:851)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
 XMLDocumentFragmentScannerImpl.java:1008)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
 Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
 LDocumentFragmentScannerImpl.java:329)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:525)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:581)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at
 org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j


 Exception #2
 [ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from
 final
 classjava.lang.VerifyError: Cannot inherit from final class
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass

Error when starting Up Tomcat........ClassNotFoundException: org.apache.catalina.mbeans.Ser

2003-01-09 Thread Renee Lum
When I run catalina.sh on Win 2000, I get the following errors:

ERROR reading C:\jakarta-tomcat-4.1.18\conf\server.xml
At Line 24 /Server/Listener/
className=org.apache.catalina.mbeans.ServerLifecycl
eListener debug=0

Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.Ser
verLifecycleListener
java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.ServerLifecycleList
ener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
at
org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)

at
org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91
)
at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
va:333)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
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.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243

What am I doing wrong?



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




Problems starting up...

2002-12-29 Thread mia isabelle
 
Hi,

I can't get the Tomcat server to start. I used the startup.bat, setclasspath.bat, 
catalina.bat with the following configuration:

Using CATALINA_BASE: d:\tomcat41

Using CATALINA_HOME: d:\tomcat41

Using CATALINA_TMPDIR: d:\tomcat41\temp

Using JAVA_HOME: D:\jdk1.3

When it executes the last line : %_EXECJAVA% %JAVA_OPTS% -Xdebug 
-Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n 
-Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% -classpath %CLASSPATH% 
-Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA_HOME% 
-Djava.io.tmpdir=%CATALINA_TMPDIR% %MAINCLASS% %ACTION%

I got the followings:

Exception in thread main java.lang.NoClassDefFoundError: org/xml/sax/InputSource

at java.lang.Class.newInstance0(Native Method)

at java.lang.Class.newInstance(Class.java:237)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)

Similarly, if I use the configuration from the Start menu: D:\jdk1.3\bin\java.exe -jar 
-Duser.dir=d:\Tomcat41 d:\Tomcat41\bin\bootstrap.jar start, it gave me the same 
thing as the above.

Can someone point out where I could get the org/xml/sax/InputSource?

Thanks in advance,

Mia

 Yahoo! Travel
- Get the latest travel deals in town!


Re: Problems starting up...

2002-12-29 Thread Bill Barker

mia isabelle [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Hi,

 I can't get the Tomcat server to start. I used the startup.bat,
setclasspath.bat, catalina.bat with the following configuration:

 Using CATALINA_BASE: d:\tomcat41

 Using CATALINA_HOME: d:\tomcat41

 Using CATALINA_TMPDIR: d:\tomcat41\temp

 Using JAVA_HOME: D:\jdk1.3

 When it executes the last line : %_EXECJAVA%
%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,su
spend=n -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS% -classpath
%CLASSPATH% -Dcatalina.base=%CATALINA_BASE% -Dcatalina.home=%CATALINA_H
OME% -Djava.io.tmpdir=%CATALINA_TMPDIR% %MAINCLASS% %ACTION%

 I got the followings:

 Exception in thread main java.lang.NoClassDefFoundError:
org/xml/sax/InputSource

 at java.lang.Class.newInstance0(Native Method)

 at java.lang.Class.newInstance(Class.java:237)

 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:179)

 Similarly, if I use the configuration from the Start menu:
D:\jdk1.3\bin\java.exe -jar -Duser.dir=d:\Tomcat41
d:\Tomcat41\bin\bootstrap.jar start, it gave me the same thing as the
above.

 Can someone point out where I could get the org/xml/sax/InputSource?

It should be in the xerces jars, which should be living in
$CATALINA_HOME/common/endorsed, which should be what JAVA_ENDORSED_DIRS is
set to.

If you find which of these isn't true on your system, you've probably solved
your problem :).


 Thanks in advance,

 Mia

 Yahoo! Travel
 - Get the latest travel deals in town!





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




setting syetem property while starting up tomcat

2002-11-20 Thread Abhijat Thakur
hi,

I have integrated a SOAP server with tomcat and i am not able to deploy some soap 
services because a system property has not been set. I need to set up a system 
property while starting up tomcat using -D option. Where can i do that ?

thanks

abhijat

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




Re: setting syetem property while starting up tomcat

2002-11-20 Thread Jeanfrancois Arcand
Depending on  the OS you are running, change CATALINA_OPTS in 
${CATALINA_HOME}/bin/catalina.sh (or bat)

-- Jeanfrancois

Abhijat Thakur wrote:

hi,

I have integrated a SOAP server with tomcat and i am not able to deploy some soap services because a system property has not been set. I need to set up a system property while starting up tomcat using -D option. Where can i do that ?

thanks

abhijat

--
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: setting syetem property while starting up tomcat

2002-11-20 Thread Bill Barker
Better, create either a setenv.sh or setenv.bat (depending on your taste
in O/S) file in your $CATALINA_HOME/bin directory, and set CATALINA_OPTS
there.  This one won't be over-written when you upgrade.

Jeanfrancois Arcand [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Depending on  the OS you are running, change CATALINA_OPTS in
 ${CATALINA_HOME}/bin/catalina.sh (or bat)

 -- Jeanfrancois

 Abhijat Thakur wrote:

 hi,
 
 I have integrated a SOAP server with tomcat and i am not able to deploy
some soap services because a system property has not been set. I need to set
up a system property while starting up tomcat using -D option. Where can i
do that ?
 
 thanks
 
 abhijat
 
 --
 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]




Application slow starting up

2002-11-14 Thread Michael Molloy
Included is one of the tomcat log files. I put some carriage returns in 
between the lines where there is the 18 minute delay. The message that 
is written after the delay is the first print statement from within our 
application.

Any ideas?

Thanks
--Michael


Begin forwarded message:


2002-11-14 09:47:29 HostConfig[localhost]: Deploying
configuration descriptor admin.xml
2002-11-14 09:47:38 HostConfig[localhost]: Deploying
configuration descriptor manager.xml
2002-11-14 09:47:38 WebappLoader[/manager]: Deploying
class repositories to work directory
C:\VVPROD\tomcat\work\Standalone\localhost\manager
2002-11-14 09:47:39 ContextConfig[/manager]:
Configured an authenticator for method BASIC
2002-11-14 09:47:39 StandardManager[/manager]: Seeding
random number generator class
java.security.SecureRandom
2002-11-14 09:47:39 StandardManager[/manager]: Seeding
of random number generator has been completed
2002-11-14 09:47:39 StandardWrapper[/manager:default]:
Loading container servlet default
2002-11-14 09:47:39 StandardWrapper[/manager:invoker]:
Loading container servlet invoker
2002-11-14 09:47:39 HostConfig[localhost]: Expanding
web application archive vvpa.war
2002-11-14 09:47:39 StandardHost[localhost]:
Installing web application at context path /vvpa from
URL file:C:/VVPROD/tomcat/bin/../webapps/vvpa
2002-11-14 09:47:39 WebappLoader[/vvpa]: Deploying
class repositories to work directory
C:\VVPROD\tomcat\work\Standalone\localhost\vvpa
2002-11-14 09:47:39 WebappLoader[/vvpa]: Deploy class
files /WEB-INF/classes to
C:\VVPROD\tomcat\bin\..\webapps\vvpa\WEB-INF\classes
2002-11-14 09:47:39 WebappLoader[/vvpa]: Deploy JAR
/WEB-INF/lib/classes12.jar to
C:\VVPROD\tomcat\bin\..\webapps\vvpa\WEB-INF\lib\classes12.jar
2002-11-14 09:47:39 WebappLoader[/vvpa]: Deploy JAR
/WEB-INF/lib/ncycles.jar to
C:\VVPROD\tomcat\bin\..\webapps\vvpa\WEB-INF\lib\ncycles.jar
2002-11-14 09:47:40 StandardManager[/vvpa]: Seeding
random number generator class
java.security.SecureRandom
2002-11-14 09:47:40 StandardManager[/vvpa]: Seeding of
random number generator has been completed
2002-11-14 09:47:40 StandardWrapper[/vvpa:default]:
Loading container servlet default
2002-11-14 09:47:40 StandardWrapper[/vvpa:invoker]:
Loading container servlet invoker
2002-11-14 09:51:17 HostConfig[localhost]: Deploying
configuration descriptor admin.xml
2002-11-14 09:51:26 HostConfig[localhost]: Deploying
configuration descriptor manager.xml
2002-11-14 09:51:27 WebappLoader[/manager]: Deploying
class repositories to work directory
C:\VVPROD\tomcat\work\Standalone\localhost\manager
2002-11-14 09:51:27 ContextConfig[/manager]:
Configured an authenticator for method BASIC
2002-11-14 09:51:27 StandardManager[/manager]: Seeding
random number generator class
java.security.SecureRandom
2002-11-14 09:51:27 StandardManager[/manager]: Seeding
of random number generator has been completed
2002-11-14 09:51:27 StandardWrapper[/manager:default]:
Loading container servlet default
2002-11-14 09:51:27 StandardWrapper[/manager:invoker]:
Loading container servlet invoker
2002-11-14 09:51:27 HostConfig[localhost]: Expanding
web application archive vvpa.war
2002-11-14 09:51:27 StandardHost[localhost]:
Installing web application at context path /vvpa from
URL file:C:/VVPROD/tomcat/bin/../webapps/vvpa
2002-11-14 09:51:27 WebappLoader[/vvpa]: Deploying
class repositories to work directory
C:\VVPROD\tomcat\work\Standalone\localhost\vvpa
2002-11-14 09:51:27 WebappLoader[/vvpa]: Deploy class
files /WEB-INF/classes to
C:\VVPROD\tomcat\bin\..\webapps\vvpa\WEB-INF\classes
2002-11-14 09:51:27 WebappLoader[/vvpa]: Deploy JAR
/WEB-INF/lib/classes12.jar to
C:\VVPROD\tomcat\bin\..\webapps\vvpa\WEB-INF\lib\classes12.jar
2002-11-14 09:51:27 WebappLoader[/vvpa]: Deploy JAR
/WEB-INF/lib/ncycles.jar to
C:\VVPROD\tomcat\bin\..\webapps\vvpa\WEB-INF\lib\ncycles.jar
2002-11-14 09:51:27 StandardManager[/vvpa]: Seeding
random number generator class
java.security.SecureRandom
2002-11-14 09:51:27 StandardManager[/vvpa]: Seeding of
random number generator has been completed
2002-11-14 09:51:27 StandardWrapper[/vvpa:default]:
Loading container servlet default
2002-11-14 09:51:27 StandardWrapper[/vvpa:invoker]:
Loading container servlet invoker






2002-11-14 10:11:29
**
The app_log_path specified in web.xml does not exist!
**
jdbcConnectionPool has 1 requested.
Connection Pool: connection[0] connected...

2002-11-14 10:11:29 HostConfig[localhost]: Deploying
web application directory examples
2002-11-14 10:11:29 StandardHost[localhost]:
Installing web application at context path /examples
from URL file:C:\VVPROD\tomcat\webapps\examples
2002-11-14 10:11:29 WebappLoader[/examples]: Deploying
class repositories to work directory
C:\VVPROD\tomcat\work\Standalone\localhost\examples
2002-11-14 10:11:29 WebappLoader[/examples]: Deploy
class files /WEB-INF/classes to
C:\VVPROD\tomcat\webapps\examples\WEB-INF\classes

Re: Application slow starting up

2002-11-14 Thread Michael Molloy
Nevermind. Turned out to be a query doing a full table scan on a table 
with  40,000,000 rows. Don't understand why the log doesn't show our 
print statements before it does, but oh well. Thanks for all 
suggestions.

--Michael

On Thursday, November 14, 2002, at 01:35 AM, Robert L Sowders wrote:

[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Application slow starting up

2002-11-13 Thread Michael Molloy
Hey guys  gals. We're using tomcat 4.1.12 on Windows connecting to an 
oracle database on another machine. We've got our app setup in the 
webapps directory, and everything works fine on our development boxes  
our QA box  (mix of OS X, wintel, and Sun) . However, at the client 
site running on a Dell dual processor w/Windows 2000, the application 
takes about 18 minutes to start. Once it gets going, it's fine, but it 
takes far too long to start up.

In the web.xml file, there is one servlet that uses the load-on-startup 
parameter with a value of 0. However, the hang happens before that 
servlet is initialized. I know that because I put some print statements 
in the init() function, and those lines do not show up in the log until 
after the 18 minutes of startup. Once the first one prints, the rest 
print as quickly as you would expect.

If we remove our application from the webapps directory, tomcat starts 
up quickly, just as it normally does.

Just to restate, this is only happening on one box. Unfortunately, it's 
the box at the client site. Any suggestions are appreciated.

Thanks
--Michael


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



Re: Application slow starting up

2002-11-13 Thread Robert L Sowders
Sounds like a classic DNS time-out and roll-over to the next nameserver. 
Are you using FQDNs or IPs?

What happens when you ping the FQDN.

rls





Michael Molloy [EMAIL PROTECTED]
11/13/2002 02:37 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Application slow starting up


Hey guys  gals. We're using tomcat 4.1.12 on Windows connecting to an 
oracle database on another machine. We've got our app setup in the 
webapps directory, and everything works fine on our development boxes  
our QA box  (mix of OS X, wintel, and Sun) . However, at the client 
site running on a Dell dual processor w/Windows 2000, the application 
takes about 18 minutes to start. Once it gets going, it's fine, but it 
takes far too long to start up.

In the web.xml file, there is one servlet that uses the load-on-startup 
parameter with a value of 0. However, the hang happens before that 
servlet is initialized. I know that because I put some print statements 
in the init() function, and those lines do not show up in the log until 
after the 18 minutes of startup. Once the first one prints, the rest 
print as quickly as you would expect.

If we remove our application from the webapps directory, tomcat starts 
up quickly, just as it normally does.

Just to restate, this is only happening on one box. Unfortunately, it's 
the box at the client site. Any suggestions are appreciated.

Thanks
--Michael


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Exception while starting up a Tomcat server

2002-11-04 Thread pkrishnaswami
The log file shows that  the following exception was thrown when the server
tried to come up. It points to a location in the web.xml which looks fine to
me. Could anybody help me with this problem.

java.lang.reflect.InvocationTargetException
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2033)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2053)
at org.apache.commons.digester.Digester.endElement(Digester.java:833)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
a:559)
at
org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
:646)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:2978)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:9
18)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1145)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:988)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1446)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:529)
at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:114
8)
at org.apache.commons.digester.Digester.parse(Digester.java:1284)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va:282)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3445)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:257)


THe above is only a partial stacktrace. I also see the following message in
the log file:

 ContextConfig[/AdminApp]:Parse error in application web.xml Occurred at
line 22 column 16

Here is my web.xml:

?xml version=1.0 encoding=UTF-8?

!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'

web-app
  display-nameAdministration /display-name
  servlet
servlet-nameFaqAdminServlet/servlet-name
display-nameFaqAdminServlet/display-name
descriptionEnables creation of frequently asked
questions/description
servlet-classadministration.FaqAdminServlet/servlet-class
  /servlet
  servlet-mapping
servlet-nameFaqAdminServlet/servlet-name
url-pattern/faqtool/*/url-pattern
  /servlet-mapping
   resource-ref
  res-ref-namejdbc/Questions/res-ref-name
  res-ref-typejavax.sql.DataSource/res-ref-type
   res-authContainer/res-auth
/resource-ref
 /web-app

Does anybody see a problem with this web.xml.

Prabhakar



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Exception while starting up a Tomcat server

2002-11-04 Thread Aryeh Katz
I just took a look at the dtd 

http://java.sun.com/dtd/web-app_2_3.dtd
snip
   res-ref-namejdbc/Questions/res-ref-name
   res-ref-typejavax.sql.DataSource/res-ref-type
res-authContainer/res-auth
  ^
According to the dtd the above line must be before res-ref-name.
Aryeh

---
Aryeh Katz
VASCO   
www.vasco.com   


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Exception while starting up a Tomcat server

2002-11-04 Thread pkrishnaswami
Well, I cut and pasted this section from one of the examples which was
bundled Java Web Services 1_0_01. Anyway, I just changed the web.xml as
suggested by you but still have the same problem. You are right this is the
section that is causing the problem since if I remove the section, the
application gets deployed. Anything else to look at.

Prabhakar

-Original Message-
From: Aryeh Katz [mailto:aryeh;vasco.com]
Sent: Monday, November 04, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: Exception while starting up a Tomcat server


I just took a look at the dtd

http://java.sun.com/dtd/web-app_2_3.dtd
snip
   res-ref-namejdbc/Questions/res-ref-name
   res-ref-typejavax.sql.DataSource/res-ref-type
res-authContainer/res-auth
  ^
According to the dtd the above line must be before res-ref-name.
Aryeh

---
Aryeh Katz
VASCO
www.vasco.com


--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Errors in starting up webapp Example on Tomcat 4.04

2002-07-18 Thread Sunit . Sheth

Hello,

I am getting startup errors on tomcat 4.04.  I am new to tomcat 4 but have
used 3 extensively.  Any help would be greatly appreciated.





JDK:  1.4
ENV:  HP-UX
TOMCAT_MODE:  Standalone (prototyping) web server

Log file for the example webapps (localhost_examples_log.2002-07-18.txt):



START_LOG_FILE_


2002-07-18 09:50:19 WebappLoader[/examples]: Deploying class repositories
to work directory
/home/apache/sunit/tomcat/jakarta-tomcat-4.0.4-LE-jdk14/work/Standalone/localhost/examples
2002-07-18 09:50:19 WebappLoader[/examples]: Reloading checks are enabled
for this Context
2002-07-18 09:50:19 StandardManager[/examples]: Seeding random number
generator class java.security.SecureRandom
2002-07-18 09:50:19 StandardManager[/examples]: Seeding of random number
generator has been completed
2002-07-18 09:50:23 ContextConfig[/examples]: Added certificates - request
attribute Valve
2002-07-18 09:50:24 ContextConfig[/examples]: Configured an authenticator
for method FORM
2002-07-18 09:50:24 ContextListener: contextInitialized()
2002-07-18 09:50:24 SessionListener: contextInitialized()
2002-07-18 09:50:24 StandardContext[/examples]: Exception starting filter
Set Character Encoding
java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1406)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:252)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:314)
at
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:120)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3077)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3408)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
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:243)

2002-07-18 09:50:24 StandardContext[/examples]: Exception starting filter
Compression Filter
java.lang.ClassNotFoundException: compressionFilters.CompressionFilter
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1406)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:252)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:314)
at
org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:120)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3077)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3408)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
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:243)


Please help !! Exception when starting up Tomcat

2002-04-19 Thread wylee


C:\Program Files\Apache Tomcat 4.0\bincatalina run
Using CATALINA_BASE: c:\Program Files\Apache Tomcat 4.0
Using CATALINA_HOME: c:\Program Files\Apache Tomcat 4.0
Using CLASSPATH: c:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar;c:\jdk
1.3.1_01\lib\tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NoSuchMethodError
at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
a:244)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:245)
at java.io.PrintWriter.flush(PrintWriter.java:120)
at org.apache.catalina.connector.ResponseWriter.flush(ResponseWriter.jav
a:125)
at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBas
e.java:481)
at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpRes
ponseBase.java:229)
at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(Ht
tpResponseImpl.java:288)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1038)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1106)
at java.lang.Thread.run(Thread.java:484)

















C:\Program Files\Apache Tomcat 4.0\bincatalina run
Using CATALINA_BASE: c:\Program Files\Apache Tomcat 4.0
Using CATALINA_HOME: c:\Program Files\Apache Tomcat 4.0
Using CLASSPATH: c:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar;c:\jdk
1.3.1_01\lib\tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NoSuchMethodError
at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
a:244)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:245)
at java.io.PrintWriter.flush(PrintWriter.java:120)
at org.apache.catalina.connector.ResponseWriter.flush(ResponseWriter.jav
a:125)
at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBas
e.java:481)
at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpRes
ponseBase.java:229)
at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(Ht
tpResponseImpl.java:288)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1038)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1106)
at java.lang.Thread.run(Thread.java:484)















C:\Program Files\Apache Tomcat 4.0\bincatalina run
Using CATALINA_BASE: c:\Program Files\Apache Tomcat 4.0
Using CATALINA_HOME: c:\Program Files\Apache Tomcat 4.0
Using CLASSPATH: c:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar;c:\jdk
1.3.1_01\lib\tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NoSuchMethodError
at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
a:244)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:245)
at java.io.PrintWriter.flush(PrintWriter.java:120)
at org.apache.catalina.connector.ResponseWriter.flush(ResponseWriter.jav
a:125)
at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBas
e.java:481)
at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpRes
ponseBase.java:229)
at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(Ht
tpResponseImpl.java:288)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1038)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1106)
at java.lang.Thread.run(Thread.java:484)













Using CATALINA_BASE: c:\Program Files\Apache Tomcat 4.0
Using CATALINA_HOME: c:\Program Files\Apache Tomcat 4.0
Using CLASSPATH: c:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar;c:\jdk
1.3.1_01\lib\tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Dear all,

   I have install SSL in Tomcat. And the Tomcat is used as a stand alone web 
server in win 2000. I have followed all the instructions in the SSL-How to. But 
the tomcat cannot start. When I use catalina run to start it up and try to 
access a page in the server, it has the following error messages :


Starting service Tomcat-Apache
Apache Tomcat/4.0.1
java.lang.NoSuchMethodError
at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
a:244)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:245)
at java.io.PrintWriter.flush(PrintWriter.java:120)
at org.apache.catalina.connector.ResponseWriter.flush(ResponseWriter.jav
a:125)
at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBas
e.java:481)
at 

Re: Problem in starting up TOMCAT, please help.

2002-02-26 Thread Bill Barnhill

You can also cd to your tomcat bin directory and type
catalina start

That will start tomcat in the same window, so that if it bombs you will see
any messages.

- Original Message -
From: Chuck Amadi [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, February 25, 2002 3:04 AM
Subject: Re: Problem in starting up TOMCAT, please help.


 jay n gaba wrote:

 try checking the log.
 
 On Sun, 03 Feb 2002 Ashutosh Shah wrote :
 
 Hi everybody,
 
 Here is my problem.
 
 I loaded Tomcat successfully on a Windows 2000 platform
 setting the
 environment variables
 CATALINA_HOME: c:\jakarta-tomcat-4.0
 JAVA_HOME: c:\jdk1.3
 CLASSPATH: C:\jakarta-tomcat-4.0\common\lib\servlet.jar
 
 Then I went on the DOS prompt and gave the command
 c:\jakarta-tomcat-4.0\bin\startup.bat.
 
 At this time, another DOS window pops up for a second
 and then goes
 away. However on the parent DOS window, I receive a
 message:
 
 c:\jakarta-tomcat-4.0\bin\startup.bat
 Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
 Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
 Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
 Using JAVA_HOME:   c:\jdk1.3
 
 When I try going to http://localhost:8080 I get a 'Page
 cannot be displayed
 error'.
 
 I dont know what I am doing wrong. Please help.
 
 Thank you,
 Ash.
 
 
 --
 To unsubscribe:   mailto:tomcat-user-unsubscribe@jakart-
 a.apache.org
 For additional commands: mailto:tomcat-user-help@jakart-
 a.apache.org
 Troubles with the list: mailto:tomcat-user-owner@jakart-
 a.apache.org
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 Sorry to hear that as you should then get the following below after a
 successful installation of Tomcat .
 I am lead to believe it's your two connectors.

 Note that this takes a short period of time in my case about ten seconds
 but this can take a bit longer depending on your Environment .

 Starting service Tomcat-Standalone
 Apache Tomcat/4.0
 Starting service Tomcat-Aoache
 Apache Tomcat/4.0

 Thus if you don't get this above you may have a problem with your two
 connector instances in you tomcat_home/conf/server.xml

 Thus check your Connector  tag's as below Please note that i mhave
 usesd different ports as my tomcat3.3a is defaulted to port 8080.

 !-- Define a non-SSL HTTP/1.1 Connector on port 8080() --
 Connector
className=org.apache.catalina.connector.http.HttpConnector
port= minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=
acceptCount=10 debug=0 connectionTimeout=6/

 !-- Note : To disable connection timeouts, set connectionTimeout
value
  to -1 --

 !-- Define an SSL HTTP/1.1 Connector on port 8443() --

 Connector
className=org.apache.catalina.connector.http.HttpConnector
port= minProcessors=5 maxProcessors=75
enableLookups=true
acceptCount=10 debug=0 scheme=https secure=true
   Factory className=org.apache.catalina.net.SSLServerSocketFactory
clientAuth=false
keystoreFile=C:/WINDOWS/Profiles/chucka/.keystore
keystorePass=test123
protocol=TLS/
 /Connector


 I hope this helps
 Cheers Chuck Amadi
 Systems Programmer



 --
 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: Problem in starting up TOMCAT, please help.

2002-02-25 Thread Chuck Amadi

jay n gaba wrote:

try checking the log.

On Sun, 03 Feb 2002 Ashutosh Shah wrote :

Hi everybody,

Here is my problem.

I loaded Tomcat successfully on a Windows 2000 platform 
setting the
environment variables
CATALINA_HOME: c:\jakarta-tomcat-4.0
JAVA_HOME: c:\jdk1.3
CLASSPATH: C:\jakarta-tomcat-4.0\common\lib\servlet.jar

Then I went on the DOS prompt and gave the command
c:\jakarta-tomcat-4.0\bin\startup.bat.

At this time, another DOS window pops up for a second 
and then goes
away. However on the parent DOS window, I receive a 
message:

c:\jakarta-tomcat-4.0\bin\startup.bat
Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
Using JAVA_HOME:   c:\jdk1.3

When I try going to http://localhost:8080 I get a 'Page 
cannot be displayed
error'.

I dont know what I am doing wrong. Please help.

Thank you,
Ash.


--
To unsubscribe:   mailto:tomcat-user-unsubscribe@jakart-
a.apache.org
For additional commands: mailto:tomcat-user-help@jakart-
a.apache.org
Troubles with the list: mailto:tomcat-user-owner@jakart-
a.apache.org

 


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

Sorry to hear that as you should then get the following below after a 
successful installation of Tomcat .
I am lead to believe it's your two connectors.

Note that this takes a short period of time in my case about ten seconds 
but this can take a bit longer depending on your Environment .

Starting service Tomcat-Standalone
Apache Tomcat/4.0
Starting service Tomcat-Aoache
Apache Tomcat/4.0

Thus if you don't get this above you may have a problem with your two 
connector instances in you tomcat_home/conf/server.xml

Thus check your Connector  tag's as below Please note that i mhave 
usesd different ports as my tomcat3.3a is defaulted to port 8080.

!-- Define a non-SSL HTTP/1.1 Connector on port 8080() --
Connector className=org.apache.catalina.connector.http.HttpConnector
   port= minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=
   acceptCount=10 debug=0 connectionTimeout=6/

!-- Note : To disable connection timeouts, set connectionTimeout value
 to -1 --

!-- Define an SSL HTTP/1.1 Connector on port 8443() --

Connector className=org.apache.catalina.connector.http.HttpConnector
   port= minProcessors=5 maxProcessors=75
   enableLookups=true
   acceptCount=10 debug=0 scheme=https secure=true
  Factory className=org.apache.catalina.net.SSLServerSocketFactory
   clientAuth=false
   keystoreFile=C:/WINDOWS/Profiles/chucka/.keystore
   keystorePass=test123
   protocol=TLS/
/Connector
   

I hope this helps
Cheers Chuck Amadi
Systems Programmer



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




Re: Re: Problem in starting up TOMCAT, please help.

2002-02-20 Thread jay n gaba


try checking the log.

On Sun, 03 Feb 2002 Ashutosh Shah wrote :
 Hi everybody,
 
 Here is my problem.
 
 I loaded Tomcat successfully on a Windows 2000 platform 
 setting the
 environment variables
 CATALINA_HOME: c:\jakarta-tomcat-4.0
 JAVA_HOME: c:\jdk1.3
 CLASSPATH: C:\jakarta-tomcat-4.0\common\lib\servlet.jar
 
 Then I went on the DOS prompt and gave the command
 c:\jakarta-tomcat-4.0\bin\startup.bat.
 
 At this time, another DOS window pops up for a second 
 and then goes
 away. However on the parent DOS window, I receive a 
 message:
 
 c:\jakarta-tomcat-4.0\bin\startup.bat
 Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
 Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
 Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
 Using JAVA_HOME:   c:\jdk1.3
 
 When I try going to http://localhost:8080 I get a 'Page 
 cannot be displayed
 error'.
 
 I dont know what I am doing wrong. Please help.
 
 Thank you,
 Ash.
 
 
 --
 To unsubscribe:   mailto:tomcat-user-unsubscribe@jakart-
 a.apache.org
 For additional commands: mailto:tomcat-user-help@jakart-
 a.apache.org
 Troubles with the list: mailto:tomcat-user-owner@jakart-
 a.apache.org
 
 


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




Re: Problem in starting up TOMCAT, please help.

2002-02-19 Thread Ashutosh Shah

Hi everybody,

Here is my problem.

I loaded Tomcat successfully on a Windows 2000 platform setting the
environment variables
CATALINA_HOME: c:\jakarta-tomcat-4.0
JAVA_HOME: c:\jdk1.3
CLASSPATH: C:\jakarta-tomcat-4.0\common\lib\servlet.jar

Then I went on the DOS prompt and gave the command
c:\jakarta-tomcat-4.0\bin\startup.bat.

At this time, another DOS window pops up for a second and then goes
away. However on the parent DOS window, I receive a message:

c:\jakarta-tomcat-4.0\bin\startup.bat
Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
Using JAVA_HOME:   c:\jdk1.3

When I try going to http://localhost:8080 I get a 'Page cannot be displayed
error'.

I dont know what I am doing wrong. Please help.

Thank you,
Ash.


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




RE: Problem in starting up TOMCAT, please help.

2002-02-19 Thread Jarecsni János

Hi

instead of running startup, run catalina.bat run and you'll see the
exception catalina throws.

cheers,
Janos

|-Original Message-
|From: Ashutosh Shah [mailto:[EMAIL PROTECTED]]
|Sent: Sunday, February 03, 2002 12:11 PM
|To: [EMAIL PROTECTED]
|Subject: Re: Problem in starting up TOMCAT, please help.
|
|
|Hi everybody,
|
|Here is my problem.
|
|I loaded Tomcat successfully on a Windows 2000 platform setting the
|environment variables
|CATALINA_HOME: c:\jakarta-tomcat-4.0
|JAVA_HOME: c:\jdk1.3
|CLASSPATH: C:\jakarta-tomcat-4.0\common\lib\servlet.jar
|
|Then I went on the DOS prompt and gave the command
|c:\jakarta-tomcat-4.0\bin\startup.bat.
|
|At this time, another DOS window pops up for a second and then goes
|away. However on the parent DOS window, I receive a message:
|
|c:\jakarta-tomcat-4.0\bin\startup.bat
|Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
|Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
|Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
|Using JAVA_HOME:   c:\jdk1.3
|
|When I try going to http://localhost:8080 I get a 'Page cannot be displayed
|error'.
|
|I dont know what I am doing wrong. Please help.
|
|Thank you,
|Ash.
|
|
|--
|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: Problem in starting up TOMCAT, please help.

2002-02-19 Thread Ashutosh Shah

Thanks a lot.

I did run catalina.bat run and this is what I get:

Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
Using JAVA_HOME:   c:\jdk1.3
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundErr=
or:
org
/xml/sax/helpers/DefaultHandler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.apache.catalina.loader.StandardClassLoader.findClass(Unkno=
wn
Source)
at org.apache.catalina.loader.StandardClassLoader.loadClass(Unkno=
wn
Source)
at org.apache.catalina.loader.StandardClassLoader.loadClass(Unkno=
wn
Source)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.apache.catalina.startup.Catalina.createStartDigester(Unkno=
wn
Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

I am not sure what this means and how can I rectify this erro.

Please advise,
Thanks,
Ash.

-Original Message-
From: Jarecsni J=E1nos [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 6:21 PM
To: Tomcat Users List
Subject: RE: Problem in starting up TOMCAT, please help.


Hi

instead of running startup, run catalina.bat run and you'll see the
exception catalina throws.

cheers,
Janos

|-Original Message-
|From: Ashutosh Shah [mailto:[EMAIL PROTECTED]]
|Sent: Sunday, February 03, 2002 12:11 PM
|To: [EMAIL PROTECTED]
|Subject: Re: Problem in starting up TOMCAT, please help.
|
|
|Hi everybody,
|
|Here is my problem.
|
|I loaded Tomcat successfully on a Windows 2000 platform setting the
|environment variables
|CATALINA_HOME: c:\jakarta-tomcat-4.0
|JAVA_HOME: c:\jdk1.3
|CLASSPATH: C:\jakarta-tomcat-4.0\common\lib\servlet.jar
|
|Then I went on the DOS prompt and gave the command
|c:\jakarta-tomcat-4.0\bin\startup.bat.
|
|At this time, another DOS window pops up for a second and then goes
|away. However on the parent DOS window, I receive a message:
|
|c:\jakarta-tomcat-4.0\bin\startup.bat
|Using CATALINA_BASE:   c:\jakarta-tomcat-4.0
|Using CATALINA_HOME:   c:\jakarta-tomcat-4.0
|Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.0\temp
|Using JAVA_HOME:   c:\jdk1.3
|
|When I try going to http://localhost:8080 I get a 'Page cannot be displa=
yed
|error'.
|
|I dont know what I am doing wrong. Please help.
|
|Thank you,
|Ash.
|
|
|--
|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]


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




Re: starting up tomcat and a web application at the same time

2002-01-15 Thread Dave Whitla

You could create a SetupServlet (that instantiates objects and stores them
in Application context) which is initialised by the container at startup.
You'd declare this requirement and pass parameters to the servlet (EJB
compliant setter methods are required) via the web.xml file.  In web.xml
you'd have something like this:

 servlet
servlet-namesetup/servlet-name

servlet-classau.com.nationalmortgage.alladin.servlets.SetupServlet/servle
t-class

init-param
  param-namedriverMSQL/param-name

param-valuecom.merant.datadirect.jdbc.sqlserver.SQLServerDriver/param-val
ue
/init-param

init-param
  param-nameserverMSQL/param-name
  param-valuejdbc:sqlserver://192.168.0.2:1433/param-value
/init-param

init-param
  param-namelogFileMSQL/param-name

param-value/home/virtual/domains/somewhere.com/www/WEB-INF/logs/brokerMSQL
.log/param-value
/init-param

init-param
  param-nameloginMSQL/param-name
  param-valuewww/param-value
/init-param

init-param
  param-namepasswordMSQL/param-name
  param-valuena710nal/param-value
/init-param

init-param
  param-nameminConnsMSQL/param-name
  param-value4/param-value
/init-param

init-param
  param-namemaxConnsMSQL/param-name
  param-value20/param-value
/init-param

init-param
  param-namemaxConnTimeMSQL/param-name
  param-value1/param-value
/init-param

load-on-startup/
  /servlet

You could alternatively name and instantiate JNDI resources - as in the
Tomcat 4 documentation - I think this is much tidier.

- Original Message -
From: Egil Rian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2002 3:00 PM
Subject: starting up tomcat and a web application at the same time


 I have written an application that requires some data structures to be
 initialized before the first request comes in to my application via the
web.
 The way I have it set up now is so that the initialization takes place
when
 the first request comes in.

 I would like to be able to start up my application (i.e. do the
 initialization process) at the same time as Tomcat starts up. How do I do
 this?

 I am using Tomcat 3.2.3, and I compile my classes using JDK1.2.
 JAVA_HOME is JDK1.4

 Thanks,

 Egil Rian



 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx


 --
 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: Starting up Catalina

2001-10-26 Thread Craig R. McClanahan



On Fri, 26 Oct 2001, Martin Mauri wrote:

 Date: Fri, 26 Oct 2001 10:13:09 -0300
 From: Martin Mauri [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Starting up Catalina

 Hi users,

 I'm facing the following problem trying to start up Catalina 4.0.1

 I cannot add extra libreries .jar files to the server because they aren't
 added to the run CLASSPATH, however in the earlier versions of TOMCAT, the
 script added all the jars in the lib directory to the run classpath...ok, am
 I missing something?? can anybody tell me if I have to copy+paste the
 startap script of earlier versions or just modify another thing??

 thanks in adcane.

 Martin



Tomcat 4.0.1 also makes all the JAR files in the lib directory available
to web applications, but does so in a manner that does not use the
CLASSPATH environment variable.  There are too many platform-specific
problems (especially on Windows) to make CLASSPATH use safe.

For information on how Tomcat 4 makes classes available to various class
loaders, see the included documentation, or look online:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html


Craig




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




Most reliable way of determining when tomcat has finished starting up

2001-10-05 Thread Janek Bogucki

Does anyone know a good way of checking for when
tomcat  has finished starting up?

I'd like to have a script like this

   $ $CATALAINA_HOME/bin/startup.sh
   $ ..wait for TC to finish starting up ...
   # $APACHE/sbin/apachectl graceful

I'm using Tomcat 4.0 w/ mod_webapp.so.

Any tips welcome,
Janek Bogucki


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



Problems starting up Tomcat 3.2.1

2001-01-30 Thread Rene van Egmond

Hi All,

I have a problem starting up Tomcat 3.2.1. It was running happily for but
now it doesn't anymore. I re-installed pretty much everything from the
ground up: new Apache server etc. downloaded Tomcat but even running it
stand-alone doesn't work, let alone integrating it back into my Apache
server.

Running the startup batch file, generates the following error:

C:\ApacheGroup\tomcat321\binstartup
Including all jars in c:\apachegroup\tomcat321\lib in your CLASSPATH.
Archive\jago\Jago\jago"" was unexpected at this time.

Appearently Tomcat was not started and I have no idea where Jago came from.

Can anyone help me with this problem.

Much obliged,
Rene van Egmond
Seattle (WA)


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Re: Problems starting up Tomcat 3.2.1

2001-01-30 Thread Pete Ehli

If you use these .exe's in windows, tomcat always starts and I never have a
problem - download them at http://www.geocities.com/jdrudnicki/ just drop
them in your tomcat bin directory - and like any .exe just double click the
Jstart.exe or Jstop.exe -- no need to set any enviorment variables or
classpaths.
-- Pete --
- Original Message -
From: "Rene van Egmond" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 6:53 AM
Subject: Problems starting up Tomcat 3.2.1


 Hi All,

 I have a problem starting up Tomcat 3.2.1. It was running happily for but
 now it doesn't anymore. I re-installed pretty much everything from the
 ground up: new Apache server etc. downloaded Tomcat but even running it
 stand-alone doesn't work, let alone integrating it back into my Apache
 server.

 Running the startup batch file, generates the following error:

 C:\ApacheGroup\tomcat321\binstartup
 Including all jars in c:\apachegroup\tomcat321\lib in your CLASSPATH.
 Archive\jago\Jago\jago"" was unexpected at this time.

 Appearently Tomcat was not started and I have no idea where Jago came
from.

 Can anyone help me with this problem.

 Much obliged,
 Rene van Egmond
 Seattle (WA)


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


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




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




Is My Tomcat on Linux starting up properly?

2001-01-19 Thread Lu, David

Hi everyone, 
I'm new to tomcat and have downloaded / installed / started tomcat 3.2.1 on
RH linux as per apache.org's instructions. 
after using the startup.sh script, i get hundreds of FileNotFoundExceptions
in doc/api/javax/servlet/jsp/ and /javadoc and WEB-INF directories. 
i also get FileNotFoundExceptions for
/usr/local/jakarta/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf (Permission
denied) and others. 
According to apache.org, 
When Tomcat starts up it will automatically generate a configuration file
for Apache in TOMCAT_HOME/conf/tomcat-apache.conf. 
This file is not there even after i do startup.sh. 
The last two lines of startup.sh say: 
PoolTcpConnector: Starting HttpConnectionHandler on 8080 
PoolTcpConnector: Starting Ajpl2ConnectionHandler on 8007 
There is no logs/tomcat.log file indicating startup errors. 
Is my server actually running? 
Thank you. 
David




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




Re: Is My Tomcat on Linux starting up properly?

2001-01-19 Thread Eric Paul

You started the server as a user that doesn't have rights to the 
tomcat_home directory.  The server is listening to the socket, but it 
probably can't reply with any reasonable output since it can't read or 
write to any of the files it needs.

At 03:50 PM 1/19/2001, you wrote:
Hi everyone,
I'm new to tomcat and have downloaded / installed / started tomcat 3.2.1 on
RH linux as per apache.org's instructions.
after using the startup.sh script, i get hundreds of FileNotFoundExceptions
in doc/api/javax/servlet/jsp/ and /javadoc and WEB-INF directories.
i also get FileNotFoundExceptions for
/usr/local/jakarta/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf (Permission
denied) and others.
According to apache.org,
When Tomcat starts up it will automatically generate a configuration file
for Apache in TOMCAT_HOME/conf/tomcat-apache.conf.
This file is not there even after i do startup.sh.
The last two lines of startup.sh say:
PoolTcpConnector: Starting HttpConnectionHandler on 8080
PoolTcpConnector: Starting Ajpl2ConnectionHandler on 8007
There is no logs/tomcat.log file indicating startup errors.
Is my server actually running?
Thank you.
David




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


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