Re: Stale tomcat.pid file prevented Tomcat from starting

2023-10-18 Thread Christopher Schultz

Darryl,

On 10/17/23 10:30, Darryl Baker wrote:

We are running 9.0.78 on RHEL 7. During our monthly patch and reboot cycle one 
the Tomcat running on one system failed to restart. The error said that there 
was a running version of Tomcat with a low PID number. Just rerunning the start 
“systemctl start tomcat” solved the issue. We use the default PID file. I 
looked at the Catalina.sh script and there is a bunch of logic trying to 
prevent this issue but somehow that failed. Is there any know issues with this 
logic?


I'm sure it's gone, now, but did you check the timestamp(s) on the PID 
file? They may have given you a clue as to whether it was leftover from 
a previous boot cycle, or if Tomcat actually failed to startup during 
*this* reboot cycle.


-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Stale tomcat.pid file prevented Tomcat from starting

2023-10-17 Thread Darryl Baker
We are running 9.0.78 on RHEL 7. During our monthly patch and reboot cycle one 
the Tomcat running on one system failed to restart. The error said that there 
was a running version of Tomcat with a low PID number. Just rerunning the start 
“systemctl start tomcat” solved the issue. We use the default PID file. I 
looked at the Catalina.sh script and there is a bunch of logic trying to 
prevent this issue but somehow that failed. Is there any know issues with this 
logic?

Darryl Baker



Re: Tomcat not starting up in secondary ip for 8443 port

2022-02-10 Thread Christopher Schultz

Dabashish,

On 2/9/22 11:55, Debashish Dey (HCL) wrote:

We have windows 2019 where tomcat is installed with 8443 port and we have one 
NIC where 4 ips are configured.

We want to start tomcat as autometic startup way with a specific ip and we are 
getting error port-bind suring autometic startup but we are able to start 
autometic-delayed or manual startup.


Please post the s from your conf/server.xml file (removing 
any secrets that may be in there) and also post the error message(s) you 
are seeing.


-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



AW: Tomcat not starting up in secondary ip for 8443 port

2022-02-09 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello,

it sounds like another program is temporary using the port 443 but shuts down 
after booting.
This would explain, that tomcat starts delayed but not automatic, during boot 
process.
Maybe you can check which other programs/services are running during startup 
(maybe you can disable non-microsoft services for testing).
Also installed IIS or apache webserver might interfere.

Greetings,
Thomas

-Ursprüngliche Nachricht-
Von: Debashish Dey (HCL)  
Gesendet: Mittwoch, 9. Februar 2022 17:55
An: users@tomcat.apache.org
Betreff: Tomcat not starting up in secondary ip for 8443 port

Hi,

We have windows 2019 where tomcat is installed with 8443 port and we have one 
NIC where 4 ips are configured.

We want to start tomcat as autometic startup way with a specific ip and we are 
getting error port-bind suring autometic startup but we are able to start 
autometic-delayed or manual startup.


Thanks & Regards,

Debashish Dey

Adecco - App Ops Middleware

Adecco Email: 
d<mailto:ashish.shreevast...@adeccona.com>ebashish@adeccona.com

For Quick Assistance, send a copy of your email to:

adecco.it.appopsmiddlew...@adeccona.com<mailto:adecco.it.appopsmiddlew...@adeccona.com>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat not starting up in secondary ip for 8443 port

2022-02-09 Thread Debashish Dey (HCL)
Hi,

We have windows 2019 where tomcat is installed with 8443 port and we have one 
NIC where 4 ips are configured.

We want to start tomcat as autometic startup way with a specific ip and we are 
getting error port-bind suring autometic startup but we are able to start 
autometic-delayed or manual startup.


Thanks & Regards,

Debashish Dey

Adecco - App Ops Middleware

Adecco Email: 
debashish@adeccona.com

For Quick Assistance, send a copy of your email to:

adecco.it.appopsmiddlew...@adeccona.com



Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Mark Eggers
Chaitanya,

On 7/31/2017 10:34 AM, Chaitanya Sabbineni wrote:
> Hi All,
> 
> Even though I use tomcat default port 8080 it's the same I am able to do
> wget and curl but when launching the ui from local Windows machine it's
> keep on rotating but never opens
> 
> Thanks in advance
> 
> On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
> 
>> What happens if you use the Tomcat default settings - not using 8083 port?
>> Does that work?
>>
>> On 31 July 2017 at 18:18, Chaitanya Sabbineni <sabbinen...@gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Can anyone please help me with the issue
>>>
>>> I installed tomcat on Linux server and I deployed my application on
>> tomcat.
>>> Tomcat is starting fine and I can confirm this as in the tomcat log I can
>>> see server started in 1234 milliseconds.
>>> When I try to launch the tomcat homepage from my local machine it not
>>> opening but keep on rotating.
>>>
>>> I configured tomcat to listen on port 8083.
>>> I executed the command curl -v http:// verb.pass.com:8083 and I am able
>> to
>>> get response.
>>>
>>> Even I tried wget http:// verb.pass.com:8083 and I got response too.
>>>
>>> When I tried telnet to the port from my local machine it's failed.
>>> telnet verb.pass.com 8083
>>>
>>> Failed on port 8083.
>>>
>>> Can anyone please let me know why I am not able to launch the home page.
>>>
>>> Thanks & Regards,
>>> Chaitanya
>>>
>>
> 

Silly question: Is verb.pass.com in DNS anywhere?

If not, you'll have to edit your Windows host file to include the IP
address.

Also, as others have pointed out you may have a firewall issue that
prevents remote connections to port 8080 (or 8083).

. . . just my two cents
/mde/



signature.asc
Description: OpenPGP digital signature


Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread M. Manna
If you are using Ubuntu Linux, I am assuming that you have a desktop
option? If so, could you open a browser and check if you can use
localhost:8083 to see if the page loads from the box itself.

How have you configured your server.xml file? without looking at the
server.xml it's not clear how you have configured it? What you are
mentioning above is the responsiveness of the server url against the port
number. But I cannot see anywhere the web deployment directory structure
i.e. how your welcome file and everything is configured to be loaded.



Kindest Regards,

On 31 July 2017 at 18:46, Chaitanya Sabbineni <sabbinen...@gmail.com> wrote:

> Hi All,
>
> When I launched in browser request is not timed out. It just keep on
> rotates but never opens.
>
> In server.xml the ports that are configured are. 8006 shutdown port.
> http port 8083
> Https port 8443
>
> Home page is not launching neither in http nor in https mode.
>
> In Linux box I tried wget and curl commands and from Windows I tried
> telnet.
>
> what actually you mean this how to do localhost:8083 on Linux box. You mean
> to launch in same Linux internalbox using xgd http:// localhost:8083
>
> Thanks
>
>
>
>
> On Mon, 31 Jul 2017 11:09 pm M. Manna, <manme...@gmail.com> wrote:
>
> > Please share your server.xml and if possible. Also, does the request
> times
> > out with an error on the browser? if so, what is the error?
> > Can you do localhost:8083 on your Linux box?
> >
> > On 31 July 2017 at 18:34, Chaitanya Sabbineni <sabbinen...@gmail.com>
> > wrote:
> >
> > > Hi All,
> > >
> > > Even though I use tomcat default port 8080 it's the same I am able to
> do
> > > wget and curl but when launching the ui from local Windows machine it's
> > > keep on rotating but never opens
> > >
> > > Thanks in advance
> > >
> > > On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
> > >
> > > > What happens if you use the Tomcat default settings - not using 8083
> > > port?
> > > > Does that work?
> > > >
> > > > On 31 July 2017 at 18:18, Chaitanya Sabbineni <sabbinen...@gmail.com
> >
> > > > wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > Can anyone please help me with the issue
> > > > >
> > > > > I installed tomcat on Linux server and I deployed my application on
> > > > tomcat.
> > > > > Tomcat is starting fine and I can confirm this as in the tomcat
> log I
> > > can
> > > > > see server started in 1234 milliseconds.
> > > > > When I try to launch the tomcat homepage from my local machine it
> not
> > > > > opening but keep on rotating.
> > > > >
> > > > > I configured tomcat to listen on port 8083.
> > > > > I executed the command curl -v http:// verb.pass.com:8083 and I am
> > > able
> > > > to
> > > > > get response.
> > > > >
> > > > > Even I tried wget http:// verb.pass.com:8083 and I got response
> too.
> > > > >
> > > > > When I tried telnet to the port from my local machine it's failed.
> > > > > telnet verb.pass.com 8083
> > > > >
> > > > > Failed on port 8083.
> > > > >
> > > > > Can anyone please let me know why I am not able to launch the home
> > > page.
> > > > >
> > > > > Thanks & Regards,
> > > > > Chaitanya
> > > > >
> > > >
> > >
> >
>


RE: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Darvi Gill
Yes.

 Firewall maybe blocking access to the ports local on the server and external. 
Depending on the version of Linux

The command will stop the firewall; until you start it again "systemctl start  
firewalld"  or  reboot server.

This is the command to disable:  systemctl disbale firewalld 
-Original Message-
From: Chaitanya Sabbineni [mailto:sabbinen...@gmail.com] 
Sent: Monday, July 31, 2017 11:52 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat is starting but unable to launch homepage in Linux. When 
launched from a browser from local machine it keep on rotating.

Hi,

You mean some fire wall is blocking the request on that port

systemctl stop firewalld will disable that firewall.


On Mon, 31 Jul 2017 11:20 pm Darvi Gill, <darvi.g...@jeppesen.com> wrote:

> Try disabling the firewall on the Linux server.
>
> systemctl stop firewalld
>
> Darvi Gill
>
>
> -Original Message-
> From: Chaitanya Sabbineni [mailto:sabbinen...@gmail.com]
> Sent: Monday, July 31, 2017 11:46 AM
> To: Tomcat Users List <users@tomcat.apache.org>
> Subject: Re: Tomcat is starting but unable to launch homepage in Linux.
> When launched from a browser from local machine it keep on rotating.
>
> Hi All,
>
> When I launched in browser request is not timed out. It just keep on 
> rotates but never opens.
>
> In server.xml the ports that are configured are. 8006 shutdown port.
> http port 8083
> Https port 8443
>
> Home page is not launching neither in http nor in https mode.
>
> In Linux box I tried wget and curl commands and from Windows I tried 
> telnet.
>
> what actually you mean this how to do localhost:8083 on Linux box. You 
> mean to launch in same Linux internalbox using xgd http:// 
> localhost:8083
>
> Thanks
>
>
>
>
> On Mon, 31 Jul 2017 11:09 pm M. Manna, <manme...@gmail.com> wrote:
>
> > Please share your server.xml and if possible. Also, does the request 
> > times out with an error on the browser? if so, what is the error?
> > Can you do localhost:8083 on your Linux box?
> >
> > On 31 July 2017 at 18:34, Chaitanya Sabbineni 
> > <sabbinen...@gmail.com>
> > wrote:
> >
> > > Hi All,
> > >
> > > Even though I use tomcat default port 8080 it's the same I am able 
> > > to do wget and curl but when launching the ui from local Windows 
> > > machine it's keep on rotating but never opens
> > >
> > > Thanks in advance
> > >
> > > On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
> > >
> > > > What happens if you use the Tomcat default settings - not using
> > > > 8083
> > > port?
> > > > Does that work?
> > > >
> > > > On 31 July 2017 at 18:18, Chaitanya Sabbineni 
> > > > <sabbinen...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > Can anyone please help me with the issue
> > > > >
> > > > > I installed tomcat on Linux server and I deployed my 
> > > > > application on
> > > > tomcat.
> > > > > Tomcat is starting fine and I can confirm this as in the 
> > > > > tomcat log I
> > > can
> > > > > see server started in 1234 milliseconds.
> > > > > When I try to launch the tomcat homepage from my local machine 
> > > > > it not opening but keep on rotating.
> > > > >
> > > > > I configured tomcat to listen on port 8083.
> > > > > I executed the command curl -v http:// verb.pass.com:8083 and 
> > > > > I am
> > > able
> > > > to
> > > > > get response.
> > > > >
> > > > > Even I tried wget http:// verb.pass.com:8083 and I got 
> > > > > response
> too.
> > > > >
> > > > > When I tried telnet to the port from my local machine it's failed.
> > > > > telnet verb.pass.com 8083
> > > > >
> > > > > Failed on port 8083.
> > > > >
> > > > > Can anyone please let me know why I am not able to launch the 
> > > > > home
> > > page.
> > > > >
> > > > > Thanks & Regards,
> > > > > Chaitanya
> > > > >
> > > >
> > >
> >
>


Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Chaitanya Sabbineni
Hi,

You mean some fire wall is blocking the request on that port

systemctl stop firewalld will disable that firewall.


On Mon, 31 Jul 2017 11:20 pm Darvi Gill, <darvi.g...@jeppesen.com> wrote:

> Try disabling the firewall on the Linux server.
>
> systemctl stop firewalld
>
> Darvi Gill
>
>
> -Original Message-
> From: Chaitanya Sabbineni [mailto:sabbinen...@gmail.com]
> Sent: Monday, July 31, 2017 11:46 AM
> To: Tomcat Users List <users@tomcat.apache.org>
> Subject: Re: Tomcat is starting but unable to launch homepage in Linux.
> When launched from a browser from local machine it keep on rotating.
>
> Hi All,
>
> When I launched in browser request is not timed out. It just keep on
> rotates but never opens.
>
> In server.xml the ports that are configured are. 8006 shutdown port.
> http port 8083
> Https port 8443
>
> Home page is not launching neither in http nor in https mode.
>
> In Linux box I tried wget and curl commands and from Windows I tried
> telnet.
>
> what actually you mean this how to do localhost:8083 on Linux box. You
> mean to launch in same Linux internalbox using xgd http:// localhost:8083
>
> Thanks
>
>
>
>
> On Mon, 31 Jul 2017 11:09 pm M. Manna, <manme...@gmail.com> wrote:
>
> > Please share your server.xml and if possible. Also, does the request
> > times out with an error on the browser? if so, what is the error?
> > Can you do localhost:8083 on your Linux box?
> >
> > On 31 July 2017 at 18:34, Chaitanya Sabbineni <sabbinen...@gmail.com>
> > wrote:
> >
> > > Hi All,
> > >
> > > Even though I use tomcat default port 8080 it's the same I am able
> > > to do wget and curl but when launching the ui from local Windows
> > > machine it's keep on rotating but never opens
> > >
> > > Thanks in advance
> > >
> > > On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
> > >
> > > > What happens if you use the Tomcat default settings - not using
> > > > 8083
> > > port?
> > > > Does that work?
> > > >
> > > > On 31 July 2017 at 18:18, Chaitanya Sabbineni
> > > > <sabbinen...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > Can anyone please help me with the issue
> > > > >
> > > > > I installed tomcat on Linux server and I deployed my application
> > > > > on
> > > > tomcat.
> > > > > Tomcat is starting fine and I can confirm this as in the tomcat
> > > > > log I
> > > can
> > > > > see server started in 1234 milliseconds.
> > > > > When I try to launch the tomcat homepage from my local machine
> > > > > it not opening but keep on rotating.
> > > > >
> > > > > I configured tomcat to listen on port 8083.
> > > > > I executed the command curl -v http:// verb.pass.com:8083 and I
> > > > > am
> > > able
> > > > to
> > > > > get response.
> > > > >
> > > > > Even I tried wget http:// verb.pass.com:8083 and I got response
> too.
> > > > >
> > > > > When I tried telnet to the port from my local machine it's failed.
> > > > > telnet verb.pass.com 8083
> > > > >
> > > > > Failed on port 8083.
> > > > >
> > > > > Can anyone please let me know why I am not able to launch the
> > > > > home
> > > page.
> > > > >
> > > > > Thanks & Regards,
> > > > > Chaitanya
> > > > >
> > > >
> > >
> >
>


RE: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Darvi Gill
Try disabling the firewall on the Linux server.

systemctl stop firewalld

Darvi Gill


-Original Message-
From: Chaitanya Sabbineni [mailto:sabbinen...@gmail.com] 
Sent: Monday, July 31, 2017 11:46 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat is starting but unable to launch homepage in Linux. When 
launched from a browser from local machine it keep on rotating.

Hi All,

When I launched in browser request is not timed out. It just keep on rotates 
but never opens.

In server.xml the ports that are configured are. 8006 shutdown port.
http port 8083
Https port 8443

Home page is not launching neither in http nor in https mode.

In Linux box I tried wget and curl commands and from Windows I tried telnet.

what actually you mean this how to do localhost:8083 on Linux box. You mean to 
launch in same Linux internalbox using xgd http:// localhost:8083

Thanks




On Mon, 31 Jul 2017 11:09 pm M. Manna, <manme...@gmail.com> wrote:

> Please share your server.xml and if possible. Also, does the request 
> times out with an error on the browser? if so, what is the error?
> Can you do localhost:8083 on your Linux box?
>
> On 31 July 2017 at 18:34, Chaitanya Sabbineni <sabbinen...@gmail.com>
> wrote:
>
> > Hi All,
> >
> > Even though I use tomcat default port 8080 it's the same I am able 
> > to do wget and curl but when launching the ui from local Windows 
> > machine it's keep on rotating but never opens
> >
> > Thanks in advance
> >
> > On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
> >
> > > What happens if you use the Tomcat default settings - not using 
> > > 8083
> > port?
> > > Does that work?
> > >
> > > On 31 July 2017 at 18:18, Chaitanya Sabbineni 
> > > <sabbinen...@gmail.com>
> > > wrote:
> > >
> > > > Hi All,
> > > >
> > > > Can anyone please help me with the issue
> > > >
> > > > I installed tomcat on Linux server and I deployed my application 
> > > > on
> > > tomcat.
> > > > Tomcat is starting fine and I can confirm this as in the tomcat 
> > > > log I
> > can
> > > > see server started in 1234 milliseconds.
> > > > When I try to launch the tomcat homepage from my local machine 
> > > > it not opening but keep on rotating.
> > > >
> > > > I configured tomcat to listen on port 8083.
> > > > I executed the command curl -v http:// verb.pass.com:8083 and I 
> > > > am
> > able
> > > to
> > > > get response.
> > > >
> > > > Even I tried wget http:// verb.pass.com:8083 and I got response too.
> > > >
> > > > When I tried telnet to the port from my local machine it's failed.
> > > > telnet verb.pass.com 8083
> > > >
> > > > Failed on port 8083.
> > > >
> > > > Can anyone please let me know why I am not able to launch the 
> > > > home
> > page.
> > > >
> > > > Thanks & Regards,
> > > > Chaitanya
> > > >
> > >
> >
>


Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Chaitanya Sabbineni
Hi All,

When I launched in browser request is not timed out. It just keep on
rotates but never opens.

In server.xml the ports that are configured are. 8006 shutdown port.
http port 8083
Https port 8443

Home page is not launching neither in http nor in https mode.

In Linux box I tried wget and curl commands and from Windows I tried telnet.

what actually you mean this how to do localhost:8083 on Linux box. You mean
to launch in same Linux internalbox using xgd http:// localhost:8083

Thanks




On Mon, 31 Jul 2017 11:09 pm M. Manna, <manme...@gmail.com> wrote:

> Please share your server.xml and if possible. Also, does the request times
> out with an error on the browser? if so, what is the error?
> Can you do localhost:8083 on your Linux box?
>
> On 31 July 2017 at 18:34, Chaitanya Sabbineni <sabbinen...@gmail.com>
> wrote:
>
> > Hi All,
> >
> > Even though I use tomcat default port 8080 it's the same I am able to do
> > wget and curl but when launching the ui from local Windows machine it's
> > keep on rotating but never opens
> >
> > Thanks in advance
> >
> > On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
> >
> > > What happens if you use the Tomcat default settings - not using 8083
> > port?
> > > Does that work?
> > >
> > > On 31 July 2017 at 18:18, Chaitanya Sabbineni <sabbinen...@gmail.com>
> > > wrote:
> > >
> > > > Hi All,
> > > >
> > > > Can anyone please help me with the issue
> > > >
> > > > I installed tomcat on Linux server and I deployed my application on
> > > tomcat.
> > > > Tomcat is starting fine and I can confirm this as in the tomcat log I
> > can
> > > > see server started in 1234 milliseconds.
> > > > When I try to launch the tomcat homepage from my local machine it not
> > > > opening but keep on rotating.
> > > >
> > > > I configured tomcat to listen on port 8083.
> > > > I executed the command curl -v http:// verb.pass.com:8083 and I am
> > able
> > > to
> > > > get response.
> > > >
> > > > Even I tried wget http:// verb.pass.com:8083 and I got response too.
> > > >
> > > > When I tried telnet to the port from my local machine it's failed.
> > > > telnet verb.pass.com 8083
> > > >
> > > > Failed on port 8083.
> > > >
> > > > Can anyone please let me know why I am not able to launch the home
> > page.
> > > >
> > > > Thanks & Regards,
> > > > Chaitanya
> > > >
> > >
> >
>


Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread M. Manna
Please share your server.xml and if possible. Also, does the request times
out with an error on the browser? if so, what is the error?
Can you do localhost:8083 on your Linux box?

On 31 July 2017 at 18:34, Chaitanya Sabbineni <sabbinen...@gmail.com> wrote:

> Hi All,
>
> Even though I use tomcat default port 8080 it's the same I am able to do
> wget and curl but when launching the ui from local Windows machine it's
> keep on rotating but never opens
>
> Thanks in advance
>
> On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:
>
> > What happens if you use the Tomcat default settings - not using 8083
> port?
> > Does that work?
> >
> > On 31 July 2017 at 18:18, Chaitanya Sabbineni <sabbinen...@gmail.com>
> > wrote:
> >
> > > Hi All,
> > >
> > > Can anyone please help me with the issue
> > >
> > > I installed tomcat on Linux server and I deployed my application on
> > tomcat.
> > > Tomcat is starting fine and I can confirm this as in the tomcat log I
> can
> > > see server started in 1234 milliseconds.
> > > When I try to launch the tomcat homepage from my local machine it not
> > > opening but keep on rotating.
> > >
> > > I configured tomcat to listen on port 8083.
> > > I executed the command curl -v http:// verb.pass.com:8083 and I am
> able
> > to
> > > get response.
> > >
> > > Even I tried wget http:// verb.pass.com:8083 and I got response too.
> > >
> > > When I tried telnet to the port from my local machine it's failed.
> > > telnet verb.pass.com 8083
> > >
> > > Failed on port 8083.
> > >
> > > Can anyone please let me know why I am not able to launch the home
> page.
> > >
> > > Thanks & Regards,
> > > Chaitanya
> > >
> >
>


Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Chaitanya Sabbineni
Hi All,

Even though I use tomcat default port 8080 it's the same I am able to do
wget and curl but when launching the ui from local Windows machine it's
keep on rotating but never opens

Thanks in advance

On Mon, 31 Jul 2017 11:00 pm M. Manna, <manme...@gmail.com> wrote:

> What happens if you use the Tomcat default settings - not using 8083 port?
> Does that work?
>
> On 31 July 2017 at 18:18, Chaitanya Sabbineni <sabbinen...@gmail.com>
> wrote:
>
> > Hi All,
> >
> > Can anyone please help me with the issue
> >
> > I installed tomcat on Linux server and I deployed my application on
> tomcat.
> > Tomcat is starting fine and I can confirm this as in the tomcat log I can
> > see server started in 1234 milliseconds.
> > When I try to launch the tomcat homepage from my local machine it not
> > opening but keep on rotating.
> >
> > I configured tomcat to listen on port 8083.
> > I executed the command curl -v http:// verb.pass.com:8083 and I am able
> to
> > get response.
> >
> > Even I tried wget http:// verb.pass.com:8083 and I got response too.
> >
> > When I tried telnet to the port from my local machine it's failed.
> > telnet verb.pass.com 8083
> >
> > Failed on port 8083.
> >
> > Can anyone please let me know why I am not able to launch the home page.
> >
> > Thanks & Regards,
> > Chaitanya
> >
>


Re: Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread M. Manna
What happens if you use the Tomcat default settings - not using 8083 port?
Does that work?

On 31 July 2017 at 18:18, Chaitanya Sabbineni <sabbinen...@gmail.com> wrote:

> Hi All,
>
> Can anyone please help me with the issue
>
> I installed tomcat on Linux server and I deployed my application on tomcat.
> Tomcat is starting fine and I can confirm this as in the tomcat log I can
> see server started in 1234 milliseconds.
> When I try to launch the tomcat homepage from my local machine it not
> opening but keep on rotating.
>
> I configured tomcat to listen on port 8083.
> I executed the command curl -v http:// verb.pass.com:8083 and I am able to
> get response.
>
> Even I tried wget http:// verb.pass.com:8083 and I got response too.
>
> When I tried telnet to the port from my local machine it's failed.
> telnet verb.pass.com 8083
>
> Failed on port 8083.
>
> Can anyone please let me know why I am not able to launch the home page.
>
> Thanks & Regards,
> Chaitanya
>


Tomcat is starting but unable to launch homepage in Linux. When launched from a browser from local machine it keep on rotating.

2017-07-31 Thread Chaitanya Sabbineni
Hi All,

Can anyone please help me with the issue

I installed tomcat on Linux server and I deployed my application on tomcat.
Tomcat is starting fine and I can confirm this as in the tomcat log I can
see server started in 1234 milliseconds.
When I try to launch the tomcat homepage from my local machine it not
opening but keep on rotating.

I configured tomcat to listen on port 8083.
I executed the command curl -v http:// verb.pass.com:8083 and I am able to
get response.

Even I tried wget http:// verb.pass.com:8083 and I got response too.

When I tried telnet to the port from my local machine it's failed.
telnet verb.pass.com 8083

Failed on port 8083.

Can anyone please let me know why I am not able to launch the home page.

Thanks & Regards,
Chaitanya


Re: Tomcat server starting problem -- GET /cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1 500 539

2014-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Ravi,

On 11/4/14 11:35 PM, Goli, Ravi (FKN) - contr wrote:
 When I try to start the tomcat by running the httpd. I get the
 below internal server error displayed on the console.

You are already confused, or at least I am. Apache Tomcat is a Java
servlet container and Apache httpd is a (non-Java) web server. Running
httpd does not launch Tomcat.

Furthermore, it would be surprising to see the below message on any
console. When you say concole do you mean that you used your web
browser to connect and the browser displayed this message?

 In the access log the below highlighted is all I see. I do not 
 understand yet, what the issue is. It was all working good.

Once it was working well, what did you change? Please remember that
httpd and Tomcat are different services (processes) and both need to
be started in order for them to talk to each other.

I am having a sofea (kind of
 angularJs based architecture) based application running on the 
 tomcat. The issue started happening when I turned on my system
 from sleep/hibernation, basically I didn't shut down the tomcat
 properly before that, not sure if it was shut down even. But then I
 killed the tomcat and I restarted the tomcat didn't fix it. I even
 restarted my machine that too didn't fix it. I am still analyzing.

How do you start Tomcat normally?

 Please share any inputs. Thanks.
 
 127.0.0.1 - - [04/Nov/2014:22:38:01 -0500] GET
 /cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1
 500 539 Internal Server Error The server encountered an internal
 error or misconfiguration and was unable to complete your request. 
 Please contact the server administrator, webmaster@localhost and
 inform them of the time the error occurred, and anything you might
 have done that may have caused the error. More information about
 this error may be available in the server error log.

Did you look at any of the log files in Tomcat's logs/ directory?

How have you connected httpd to Tomcat? mod_jk? mod_proxy_ajp?
mod_proxy_http?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUWjT5AAoJEBzwKT+lPKRYS9kQAIxqwqCMHk3yN2+hEeKi0OPk
rQdkTBdiFzBPDdFcyB9YsWic+wn7JI8aZdeOK5j3S+IP2pxsSqorlxN0oZdCVKgY
oPNwmNN3JrwbgJ7sItcvtifrBn+pDHe8mAvhNwwnQoN7DDJsvRFCGQc5a/YH1L9w
kf4qjWChmE0ga74hWcfpeu72Veb4FImr/8wTiiQLv8mYaNtaRkI9u8kCTp4GNpKC
9lKqXyxV5kIZRlEvBoY2gtI4AjgQ6rbBdmnkVU/NU9IPXxIyzdks3upPJg7v2b2D
zobPHGwCooDFlGr/bVumeo5Gve+XXs1fvGVMv9Dz6I/fqL5o77f5nJp9L/osP0hO
IuE5Jza0N7cjUwIN50aMjX9nJSuoWZMtChBc4p+bFJ0yCvoxTCJAw+nUar6BTHvx
0nqWyFBFgu/ssx1hTRdGRvf570vqWskGUxdBVBMqtlDYqYVc6DiDiYIcfcRM+2/5
mw932reR/vCiAKXjuqDg119I/dRnFKYmAheOOsAl1/QwLOx7JbXqJOUQxJAlRSSS
kKeHNcxN1jq+WFWoX9pjnV7pczAjIedwxIma1Mn3r6ka0AiOC3sSWShkIVrNd1Uv
PKq7RvLdUh+I/xA2ahiP4uXDADCLFfss7M/1i7Qs53goCeI+OmXx1MqaqpJiSgR/
o4gSJZHVusILJhC33TB3
=xKSJ
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat server starting problem -- GET /cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1 500 539

2014-11-04 Thread Goli, Ravi (FKN) - contr
When I try to start the tomcat by running the httpd. I get the below internal 
server error displayed on the console.  In the access log the below highlighted 
is all I see. I do not understand yet, what the issue is. It was all working 
good. I am having a sofea (kind of angularJs based architecture) based 
application running on the tomcat. The issue started happening when I turned on 
my system from sleep/hibernation, basically I didn't shut down the tomcat 
properly before that, not sure if it was shut down even. But then I killed the 
tomcat and I restarted the tomcat didn't fix it. I even restarted my machine 
that too didn't fix it. I am still analyzing.
Please share any inputs. Thanks.

127.0.0.1 - - [04/Nov/2014:22:38:01 -0500] GET 
/cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1 500 539
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator, webmaster@localhost and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.
More information about this error may be available in the server error log.


Thanks.


From: Goli, Ravi (FKN) - contr
Sent: Tuesday, November 04, 2014 11:25 PM
To: 'users@tomcat.apache.org'
Subject: Tomcat server starting problem -- GET 
/cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1 500 539

When I try to start the tomcat by running the httpd. I get the below internal 
server error displayed on the console.  In the access log the below highlighted 
is all I see. I do not understand yet, what the issue is. It was all working 
good. I am having a sofea (kind of angularJs based architecture) based 
application running on the tomcat. The issue started happening when I turned on 
my system from sleep/hibernation, basically I didn't shut down the tomcat 
properly before that, not sure if it was shut down even. But then I killed the 
tomcat and I restarted the tomcat didn't fix it. I even restarted my machine 
that too didn't fix it. I am still analyzing.
Please share any inputs. Thanks.

127.0.0.1 - - [04/Nov/2014:22:38:01 -0500] GET 
/cgi-bin/im0dcsr9/b2b_index.jsp?dpAuthProxyStatus=Fail HTTP/1.1 500 539
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator, webmaster@localhost and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.
More information about this error may be available in the server error log.


Thanks.


Tomcat 7.0.50 - Starting tomcat get this error overrides final method start.

2014-02-20 Thread Patel Sufyan (HEALTH AND SOCIAL CARE INFORMATION CENTRE)
Hi,

I am using Apache Tomcat realm to perform the user authentication and have 
added the following to the server.xml

Realm appContextLocation=conf/spring-security.xml 
className=org.springframework.security.adapters.catalina.CatalinaSpringSecurityUserRealm
 key=my_password resourceName=UserDatabase/

However, since upgrading to Tomcat 7.0.50 from 6.0.39, when starting Tomcat 
service (through Eclipse), I get the error below. From trawling through the net 
I could not find the exact error but I get the feeling that I will need to 
replace this class with something else. Or is there anything I can do/download 
to fix it?

SEVERE: Begin event threw error
java.lang.VerifyError: class 
org.springframework.security.adapters.catalina.CatalinaSpringSecurityUserRealm 
overrides final method start.()V
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at 
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
at 
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1288)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
 Source)
at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.Catalina.load(Catalina.java:616)
at org.apache.catalina.startup.Catalina.load(Catalina.java:664)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)



Thanks in advance

Suf





This message may contain confidential information. If you are not the intended 
recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take 
any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff 
in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information 
with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be 
accessed anywhere




Re: Tomcat 7.0.50 - Starting tomcat get this error overrides final method start.

2014-02-20 Thread Filip Hanik
If I remember correctly, IIRC, those adapters have been removed from Spring
security. If you upgrade your Tomcat, try to upgrade your Spring Security
version too

http://64.20.104.11/spring-security/spring-security/commit/e2062bbe79033b214f55f7c2ce03542a70f29a78


On Thu, Feb 20, 2014 at 7:20 AM, Patel Sufyan (HEALTH AND SOCIAL CARE
INFORMATION CENTRE) sufyan.pa...@hscic.gov.uk wrote:

 Hi,

 I am using Apache Tomcat realm to perform the user authentication and have
 added the following to the server.xml

 Realm appContextLocation=conf/spring-security.xml
 className=org.springframework.security.adapters.catalina.CatalinaSpringSecurityUserRealm
 key=my_password resourceName=UserDatabase/

 However, since upgrading to Tomcat 7.0.50 from 6.0.39, when starting
 Tomcat service (through Eclipse), I get the error below. From trawling
 through the net I could not find the exact error but I get the feeling that
 I will need to replace this class with something else. Or is there anything
 I can do/download to fix it?

 SEVERE: Begin event threw error
 java.lang.VerifyError: class
 org.springframework.security.adapters.catalina.CatalinaSpringSecurityUserRealm
 overrides final method start.()V
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown
 Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native
 Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at
 org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
 at
 org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1288)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
 Source)
 at
 com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
 Source)
 at
 org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
 at
 org.apache.catalina.startup.Catalina.load(Catalina.java:616)
 at
 org.apache.catalina.startup.Catalina.load(Catalina.java:664)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
 Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)



 Thanks in advance

 Suf




 

 This message may contain confidential information. If you are not the
 intended recipient please inform the
 sender that you have received the message in error before deleting it.
 Please do not disclose, copy or distribute information in this e-mail or
 take any action in reliance on its contents:
 to do so is strictly prohibited and may be unlawful.

 Thank you for your co-operation.

 NHSmail is the secure email and directory service available for all NHS
 staff in England and Scotland
 NHSmail is approved for exchanging patient data and other sensitive
 information with NHSmail and GSi recipients
 NHSmail provides an email address for your career in the NHS and can

Apache Tomcat 7.0.037 starting issue on Windows 2003 Server 64 bit machine

2013-03-21 Thread Geett Chanddra Singha
Hi,

I am trying to register and start Apache Tomcat 7.0.37 service on my
Windows 2003 Server 64 bit machine.

I am able to register Tomcat as a service using the service.bat file, but
when I try to start the service it gives the following error:

Could not start the Apache Tomcat tomcat7 service on Local Computer.
Error 1053: The service did not respond to the start or control request in
a timely fashion.

There is no error in Catalina Logs or any other log.

I follow the same process on a Windows 2003 Server 32 bit machine and a
Windows 2008 Server 32/64 bit machine. I am able to register
as well as start the service.

Environment:
   Apache Tomcat version 7.0.037
   JRE Version : 7.0.x
   OS: Windows 2003 Server 64 bit

Please help !
-- 
Thanks  Regards
Geett Chanddra Singha


Re: Apache Tomcat 7.0.037 starting issue on Windows 2003 Server 64 bit machine

2013-03-21 Thread Konstantin Kolinko
2013/3/21 Geett Chanddra Singha gee...@gmail.com:
 Hi,

 I am trying to register and start Apache Tomcat 7.0.37 service on my
 Windows 2003 Server 64 bit machine.

 I am able to register Tomcat as a service using the service.bat file, but
 when I try to start the service it gives the following error:

 Could not start the Apache Tomcat tomcat7 service on Local Computer.
 Error 1053: The service did not respond to the start or control request in
 a timely fashion.


http://issues.apache.org/bugzilla/show_bug.cgi?id=54609

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread James Lampert
We're attempting to bring up apache-tomcat-7.0.25.zip on a customer's 
AS/400, the same as we've done on several other AS/400s (including our 
own), and it's not working.


In catalina.out, I'm seeing this:

Jun 18, 2012 11:36:23 AM org.apache.catalina.core.AprLifecycleListener init 
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /QSYS.LIB/QSHELL.LIB:/QSYS.LIB/LTL38.LIB:/QSYS.LIB/ERBLIB.LIB:/QSYS.LIB/ERBQGPL.LIB:/QSYS.LIB/SEQUEL.LIB:/QSYS.LIB/SEQUELWI.LIB:/QSYS.LIB/SEQUELEX.LIB:/QSYS.LIB/ESEND.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QRPG.LIB:/QSYS.LIB/QIDU.LIB:/QSYS.LIB/TAATOOL.LIB:/QSYS.LIB/ALKWIN.LIB:/QSYS.LIB/OMNISITE.LIB:/QSYS.LIB/OMNIFIXES.LIB:/QSYS.LIB/OMNITRACS.LIB:/QSYS.LIB/OMNIDATA.LIB:/QSYS.LIB/OMNINATL.LIB:/QSYS.LIB/LIBEXPAT.LIB:/QSYS.LIB/LIBFTP.LIB:/QSYS.LIB/ACCLIB.LIB
Jun 18, 2012 11:36:26 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [http-bio-1093]
Jun 18, 2012 11:36:26 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [ajp-bio-8009] 
Jun 18, 2012 11:36:26 AM org.apache.catalina.startup.Catalina load  
INFO: Initialization processed in 3280 ms   
Jun 18, 2012 11:36:26 AM org.apache.catalina.core.StandardService startInternal 
INFO: Starting service Catalina 
Jun 18, 2012 11:36:26 AM org.apache.catalina.core.StandardEngine startInternal  
INFO: Starting Servlet Engine: Apache Tomcat/7.0.25 
Jun 18, 2012 11:36:26 AM org.apache.catalina.startup.HostConfig deployDirectory 
INFO: Deploying web application directory /wintouch/tomcat/webapps/ROOT 
Jun 18, 2012 11:36:27 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:  
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at java.lang.Throwable.init(Throwable.java:218)  
at java.lang.Throwable.init(Throwable.java:218) 
at java.lang.Exception.init(Exception.java:59)  
at org.apache.catalina.LifecycleException.init(LifecycleException.java:74)  
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)   
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)  
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)   
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)   
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
at java.util.concurrent.FutureTask.run(FutureTask.java:138)   
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)  
Caused by: java.lang.ArrayStoreException   
at java.lang.Throwable.init(Throwable.java:181) 
at java.lang.Exception.init(Exception.java:29)  
at java.lang.RuntimeException.init(RuntimeException.java:32)
at java.lang.ArrayStoreException.init(ArrayStoreException.java:29)   
at java.util.Arrays.copyOf(Arrays.java:2883)   
at java.lang.StringCoding.encode(StringCoding.java:277)

Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread Konstantin Kolinko
2012/6/18 James Lampert jam...@touchtonecorp.com:
 We're attempting to bring up apache-tomcat-7.0.25.zip on a customer's
 AS/400, the same as we've done on several other AS/400s (including our own),
 and it's not working.

 In catalina.out, I'm seeing this:

 Jun 18, 2012 11:36:23 AM org.apache.catalina.core.AprLifecycleListener
 init                                                         INFO: The APR
 based Apache Tomcat Native library which allows optimal performance in
 production environments was not found on the java.library.path:
 /QSYS.LIB/QSHELL.LIB:/QSYS.LIB/LTL38.LIB:/QSYS.LIB/ERBLIB.LIB:/QSYS.LIB/ERBQGPL.LIB:/QSYS.LIB/SEQUEL.LIB:/QSYS.LIB/SEQUELWI.LIB:/QSYS.LIB/SEQUELEX.LIB:/QSYS.LIB/ESEND.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QRPG.LIB:/QSYS.LIB/QIDU.LIB:/QSYS.LIB/TAATOOL.LIB:/QSYS.LIB/ALKWIN.LIB:/QSYS.LIB/OMNISITE.LIB:/QSYS.LIB/OMNIFIXES.LIB:/QSYS.LIB/OMNITRACS.LIB:/QSYS.LIB/OMNIDATA.LIB:/QSYS.LIB/OMNINATL.LIB:/QSYS.LIB/LIBEXPAT.LIB:/QSYS.LIB/LIBFTP.LIB:/QSYS.LIB/ACCLIB.LIB

[[[
 Caused by: java.lang.ArrayStoreException
 at java.lang.Throwable.init(Throwable.java:181)
 at java.lang.Exception.init(Exception.java:29)
 at java.lang.RuntimeException.init(RuntimeException.java:32)
 at java.lang.RuntimeException.init(RuntimeException.java:32)
 at java.lang.ArrayStoreException.init(ArrayStoreException.java:29)
 at java.util.Arrays.copyOf(Arrays.java:2883)
 at java.lang.StringCoding.encode(StringCoding.java:277)
 at java.lang.String.getBytes(String.java:1691)
 at org.apache.catalina.util.RequestUtil.URLDecode(RequestUtil.java:254)
 at org.apache.catalina.util.RequestUtil.URLDecode(RequestUtil.java:231)
 at org.apache.catalina.util.RequestUtil.URLDecode(RequestUtil.java:216)
 at 
 org.apache.catalina.deploy.SecurityCollection.addPattern(SecurityCollection.java:229)
   ]]]

The exception that I cited from your log fragment is just crazy.
The code in RequestUtil.URLDecode(RequestUtil.java:254) in 7.0.25 is:

   bytes = str.getBytes(Charset.defaultCharset());

The String.getBytes(Charset) call, where all parameters are standard
classes, provided by JRE.  Yet this standard method fails in a crazy
way (java.lang.ArrayStoreException. It means types mismatch
encountered when putting a new element into array).

Your JRE is broken.

Try running a simple java program that calls the above method and see
what happens.

Just guessing at straws: you may try to simplify your environment (do
you need all that libraries as mentioned in  java.library.path?  what
is your default charset?)

I wonder whether you have several copies of JRE classes loaded by
different classloaders.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread James Lampert

/QSYS.LIB/QSHELL.LIB:/QSYS.LIB/LTL38.LIB:/QSYS.LIB/ERBLIB.LIB:/QSYS.LIB/ERBQGPL.LIB:/QSYS.LIB/SEQUEL.LIB:/QSYS.LIB/SEQUELWI.LIB:/QSYS.LIB/SEQUELEX.LIB:/QSYS.LIB/ESEND.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QRPG.LIB:/QSYS.LIB/QIDU.LIB:/QSYS.LIB/TAATOOL.LIB:/QSYS.LIB/ALKWIN.LIB:/QSYS.LIB/OMNISITE.LIB:/QSYS.LIB/OMNIFIXES.LIB:/QSYS.LIB/OMNITRACS.LIB:/QSYS.LIB/OMNIDATA.LIB:/QSYS.LIB/OMNINATL.LIB:/QSYS.LIB/LIBEXPAT.LIB:/QSYS.LIB/LIBFTP.LIB:/QSYS.LIB/ACCLIB.LIB


Konstantin Kolinko wrote:

Just guessing at straws: you may try to simplify your environment (do
you need all that libraries as mentioned in  java.library.path?  what
is your default charset?)


Hmm. This is interesting. The value shown for java.library.path seems to 
be the product and user portions of the job's library list (an 
AS/400-specific concept analogous to the path in DOS, WinDoze, or 
Linux, or to a Java classpath) at the time the job was launched.


Comparing the same message on our own AS/400, I see

QSYS.LIB:/QSYS.LIB/QSYS2.LIB:/QSYS.LIB/QHLPSYS.LIB:/QSYS.LIB/QUSRSYS.LIB:/QSYS.LIB/QSHELL.LIB:/QSYS.LIB/WTI1###.LIB:/QSYS.LIB/WINTOUCH.LIB:/QSYS.LIB/QGPL.LIB:/QSYS.LIB/QTEMP.LIB:/QSYS.LIB/AQUESTVIEW.LIB:/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/ppc:/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/ppc/classic:/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/ppc/default


which is the system, product, and user portions of the job's 
library list, followed by three Java-related directories in the 
integrated file system.


I just tried shutting down Tomcat, removing most of the contents of the 
library list, and restarting it. No change, and I did a bit of digging: 
it seems that a system setting on the problem box appears to be causing 
jobs to be submitted with the default user portion of the library 
list, rather than that of the submitting job. Interesting. This calls 
for further study.


--
JHHL

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread James Lampert

Found the problem:

The lines
# Java 6 settings if needed 
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre  
export -s CATALINA_HOME=/wintouch/tomcat
export -s JAVA_OPTS=-Dos400.awt.native=true -Djava.awt.headless=true -Djava.version=1.6 -Xms256m -Xmx512m 
(which have been necessary in every AS/400 Tomcat installation I've 
participated in) were missing.


I've been told that there is a more elegant place to put them than in 
catalina.sh, but I can't remember *where* I was told to put them, and if 
just sticking them in catalina.sh is considered a bad practice, I'd like 
very much to switch to the preferred place for these lines.


--
JHHL

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread Mark Thomas
On 18/06/2012 22:02, James Lampert wrote:
 Found the problem:
 
 The lines
 # Java 6 settings if
 needed   
  
 export -s
 JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre 
 
 export -s
 CATALINA_HOME=/wintouch/tomcat   
 
 export -s JAVA_OPTS=-Dos400.awt.native=true -Djava.awt.headless=true
 -Djava.version=1.6 -Xms256m -Xmx512m 
 (which have been necessary in every AS/400 Tomcat installation I've
 participated in) were missing.
 
 I've been told that there is a more elegant place to put them than in
 catalina.sh, but I can't remember *where* I was told to put them, and if
 just sticking them in catalina.sh is considered a bad practice, I'd like
 very much to switch to the preferred place for these lines.

Create setenv.sh and put them in there.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread James Lampert

Mark Thomas wrote:

On 18/06/2012 22:02, James Lampert wrote:

Found the problem:

The lines

# Java 6 settings if
needed
export -s
JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre 
export -s
CATALINA_HOME=/wintouch/tomcat   
export -s JAVA_OPTS=-Dos400.awt.native=true -Djava.awt.headless=true
-Djava.version=1.6 -Xms256m -Xmx512m 

(which have been necessary in every AS/400 Tomcat installation I've
participated in) were missing.

I've been told that there is a more elegant place to put them than in
catalina.sh, but I can't remember *where* I was told to put them, and if
just sticking them in catalina.sh is considered a bad practice, I'd like
very much to switch to the preferred place for these lines.


Create setenv.sh and put them in there.


Thanks. I'll try it shortly.

--
JHHL

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread Hedrick, Brooke - 43

 -Original Message-
 From: James Lampert [mailto:jam...@touchtonecorp.com]
 Sent: Monday, June 18, 2012 4:03 PM
 To: Tomcat Users List
 Subject: Re: Tomcat not starting properly on a customer's AS/400, and I have
 no idea why. Help?
 
 Found the problem:
 
 The lines
  # Java 6 settings if needed
  export -s
 JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
  export -s CATALINA_HOME=/wintouch/tomcat
  export -s JAVA_OPTS=-Dos400.awt.native=true -Djava.awt.headless=true
 -Djava.version=1.6 -Xms256m -Xmx512m
 (which have been necessary in every AS/400 Tomcat installation I've
 participated in) were missing.
 
 I've been told that there is a more elegant place to put them than in
 catalina.sh, but I can't remember *where* I was told to put them, and if just
 sticking them in catalina.sh is considered a bad practice, I'd like very much 
 to
 switch to the preferred place for these lines.
 

On linux I use CATALINA_BASE/bin/setenv.sh



 --
 JHHL
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting properly on a customer's AS/400, and I have no idea why. Help?

2012-06-18 Thread James Lampert

# Java 6 settings if needed
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
export -s CATALINA_HOME=/wintouch/tomcat
export -s JAVA_OPTS=-Dos400.awt.native=true -Djava.awt.headless=true 
-Djava.version=1.6 -Xms256m -Xmx512m


I just tried moving them out of bin/catalina.sh and into bin/setenv.sh 
on our production AS/400, and restarted Tomcat, and everything continues 
to work just fine.


Thanks to both who gave me the answer, and especially thanks for not 
screaming at me for mucking about in catalina.sh without knowing what 
I'm doing.


--
JHHL

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat not starting after certificate installation

2011-10-19 Thread Noura Shaaban
Hi
we have tomcat 5.5 on solaris 5.10
since Verisign certificate has expired,we ordered a new certificate
and added the new one in cacerts 
when restarting tomcat,it gives the response started successfully
but in browser(all browsers),we have Page can not be displayed
what could be the problem?I don't know which log file to check,there are so 
many...
Could it be that the new c ertificate is 128-bit encryption?
thanks



Re: tomcat not starting after certificate installation

2011-10-19 Thread André Warnier

Noura Shaaban wrote:

Hi
we have tomcat 5.5 on solaris 5.10
since Verisign certificate has expired,we ordered a new certificate
and added the new one in cacerts 
when restarting tomcat,it gives the response started successfully

but in browser(all browsers),we have Page can not be displayed


Surely, there is a bit more information, such as a HTTP status code 4xx or 5xx. What is it 
exactly ? (Note: if the browser is IE, disable the friendly error messages).



what could be the problem?I don't know which log file to check,there are so 
many...


There may be many, but they are probably time-stamped.  Just check the latest 
modified ones.


Could it be that the new c ertificate is 128-bit encryption?


I'm not an SSL specialist, but do I not remember a very recent issue on this list, about 
the ordering of certificates in the file ?

Browse the list of the last two weeks, I'm quite sure it's there.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

2010-12-27 Thread Michael Ludwig
Frank Even schrieb am 27.12.2010 um 00:46 (-0700):
 On Thu, Dec 23, 2010 at 1:06 PM, Caldarale, Charles R
  From: On Behalf Of Frank Even

  Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not
  find jdbc-stdext Java extension for this JVM
  /usr/bin/rebuild-jar-repository: error: Could not find jndi Java
  extension for this JVM
  /usr/bin/rebuild-jar-repository: error: Some detected jars were not
  found for this jvm
  /usr/bin/rebuild-jar-repository: error: Could not find jaas Java
  extension for this JVM
  /usr/bin/rebuild-jar-repository: error: Some detected jars were not
  found for this jvm
 
  None of the above error messages come from Tomcat itself.  What they
  do come from is not clear.
 
   - Chuck
 
 All of this is out of CentOS repositories and I'm limited to sticking
 with what is in the repositories.

Google tells me the program producing the error message is part of the
JPackage project.

http://linux.die.net/man/1/rebuild-jar-repository

They do have FAQ, mailing lists, etc: http://jpackage.org/

-- 
Michael Ludwig

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

2010-12-26 Thread Frank Even
On Thu, Dec 23, 2010 at 1:06 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
 From: list...@elitists.org [mailto:list...@elitists.org] On Behalf Of Frank 
 Even
 Subject: tomcat errors starting after upgrade from cent5.3 to 5.5 
 (/rebuild-jar-repository: error: Could not find)

 Now that we've run the full update, we have this installed:

 java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

 Please, please remove the above.  It has no business being installed in any 
 production environment.

 java-1.6.0-openjdk-1.6.0.0-1.16.b17.el5
 java-1.6.0-openjdk-devel-1.6.0.0-1.16.b17.el5
 java-sun-jdbc-stdext-2.0.1-1mamba
 java-sun-jdbc-stdext-javadoc-2.0.1-1mamba

 Those are not standard Sun/Oracle Java packages, so you're at the mercy of 
 whoever prepared them.

 tomcat5-5.5.23-0jpp.11.el5_5
 tomcat5-common-lib-5.5.23-0jpp.11.el5_5
 tomcat5-jasper-5.5.23-0jpp.11.el5_5
 tomcat5-jsp-2.0-api-5.5.23-0jpp.11.el5_5
 tomcat5-server-lib-5.5.23-0jpp.11.el5_5
 tomcat5-servlet-2.4-api-5.5.23-0jpp.11.el5_5

 None of the above are standard Tomcat downloads - you have third-party 
 repackaged versions of Tomcat installed, and need to consult with the 
 repackager for support.  Real Tomcat downloads are available here:

 http://tomcat.apache.org/download-55.cgi
 http://tomcat.apache.org/download-60.cgi
 http://tomcat.apache.org/download-70.cgi

 Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not
 find jdbc-stdext Java extension for this JVM
 /usr/bin/rebuild-jar-repository: error: Could not find jndi Java
 extension for this JVM
 /usr/bin/rebuild-jar-repository: error: Some detected jars were not
 found for this jvm
 /usr/bin/rebuild-jar-repository: error: Could not find jaas Java
 extension for this JVM
 /usr/bin/rebuild-jar-repository: error: Some detected jars were not
 found for this jvm

 None of the above error messages come from Tomcat itself.  What they do come 
 from is not clear.

  - Chuck

All of this is out of CentOS repositories and I'm limited to sticking
with what is in the repositories.

If you have any guidance with what I am working with, it would be
greatly appreciated.  I do appreciate the input that you have given
thoughdoes give me a couple ideas on hunting with what I have.

Thanks!

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

2010-12-23 Thread Frank Even
We just upgraded Cent from 5.3 to 5.5 on a bunch of servers with
little to no issues (kudos to you guys) except on a few servers where
it appears we are having a problem w/ the Tomcat upgrade.  Previously
our application server was working fine under 5.3 with Tomcat/Java
installed as such:

java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
java-1.6.0-openjdk-1.6.0.0-0.30.b09.el5
java-1.6.0-openjdk-devel-1.6.0.0-0.30.b09.el5
java-sun-jdbc-stdext-2.0.1-1mamba
java-sun-jdbc-stdext-javadoc-2.0.1-1mamba
tomcat5-5.5.23-0jpp.7.el5_2.1
tomcat5-common-lib-5.5.23-0jpp.7.el5_2.1
tomcat5-jasper-5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api-5.5.23-0jpp.7.el5_2.1
tomcat5-server-lib-5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api-5.5.23-0jpp.7.el5_2.1

Now that we've run the full update, we have this installed:

java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
java-1.6.0-openjdk-1.6.0.0-1.16.b17.el5
java-1.6.0-openjdk-devel-1.6.0.0-1.16.b17.el5
java-sun-jdbc-stdext-2.0.1-1mamba
java-sun-jdbc-stdext-javadoc-2.0.1-1mamba
tomcat5-5.5.23-0jpp.11.el5_5
tomcat5-common-lib-5.5.23-0jpp.11.el5_5
tomcat5-jasper-5.5.23-0jpp.11.el5_5
tomcat5-jsp-2.0-api-5.5.23-0jpp.11.el5_5
tomcat5-server-lib-5.5.23-0jpp.11.el5_5
tomcat5-servlet-2.4-api-5.5.23-0jpp.11.el5_5
tzdata-java-2010l-1.el5

I don't see any significant changes.  All of the configs appear to be
the same.   Yet now on our application startup, we see the following:

Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not
find jdbc-stdext Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: Could not find jndi Java
extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were not
found for this jvm
/usr/bin/rebuild-jar-repository: error: Could not find jaas Java
extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were not
found for this jvm

what could have changed to have caused these issues?  Having
trouble hunting this down.  Any help that could be provided would be
sincerely appreciated.

Thanks,
Frank

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

2010-12-23 Thread Caldarale, Charles R
 From: list...@elitists.org [mailto:list...@elitists.org] On Behalf Of Frank 
 Even
 Subject: tomcat errors starting after upgrade from cent5.3 to 5.5 
 (/rebuild-jar-repository: error: Could not find)

 Now that we've run the full update, we have this installed:

 java-1.4.2-gcj-compat-1.4.2.0-40jpp.115

Please, please remove the above.  It has no business being installed in any 
production environment.

 java-1.6.0-openjdk-1.6.0.0-1.16.b17.el5
 java-1.6.0-openjdk-devel-1.6.0.0-1.16.b17.el5
 java-sun-jdbc-stdext-2.0.1-1mamba
 java-sun-jdbc-stdext-javadoc-2.0.1-1mamba

Those are not standard Sun/Oracle Java packages, so you're at the mercy of 
whoever prepared them.

 tomcat5-5.5.23-0jpp.11.el5_5
 tomcat5-common-lib-5.5.23-0jpp.11.el5_5
 tomcat5-jasper-5.5.23-0jpp.11.el5_5
 tomcat5-jsp-2.0-api-5.5.23-0jpp.11.el5_5
 tomcat5-server-lib-5.5.23-0jpp.11.el5_5
 tomcat5-servlet-2.4-api-5.5.23-0jpp.11.el5_5

None of the above are standard Tomcat downloads - you have third-party 
repackaged versions of Tomcat installed, and need to consult with the 
repackager for support.  Real Tomcat downloads are available here:

http://tomcat.apache.org/download-55.cgi
http://tomcat.apache.org/download-60.cgi
http://tomcat.apache.org/download-70.cgi

 Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not
 find jdbc-stdext Java extension for this JVM
 /usr/bin/rebuild-jar-repository: error: Could not find jndi Java
 extension for this JVM
 /usr/bin/rebuild-jar-repository: error: Some detected jars were not
 found for this jvm
 /usr/bin/rebuild-jar-repository: error: Could not find jaas Java
 extension for this JVM
 /usr/bin/rebuild-jar-repository: error: Some detected jars were not
 found for this jvm

None of the above error messages come from Tomcat itself.  What they do come 
from is not clear.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat not starting

2010-07-08 Thread Tapas Mishra
I am surprised .I installed Tomcat and when ever I am trying to access
http://192.168.1.5:9090
it is not starting.

Here are the error logs which say port 9090 is already in use where as
I have just rebooted the server.
http://pastebin.com/7t9q9AJv
http://pastebin.com/fUeR1ASj
http://pastebin.com/i7mEubXf
is there any clue as what might have happned.

-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat not starting

2010-07-08 Thread Pid
On 8 Jul 2010, at 08:03, Tapas Mishra mightydre...@gmail.com wrote:

 I am surprised .I installed Tomcat and when ever I am trying to access
 http://192.168.1.5:9090
 it is not starting.
 
 Here are the error logs which say port 9090 is already in use where as
 I have just rebooted the server.
 http://pastebin.com/7t9q9AJv
 http://pastebin.com/fUeR1ASj
 http://pastebin.com/i7mEubXf
 is there any clue as what might have happned.

I can't get pastebin to work on this device.

Which exact version of Tomcat, JVM, OS are you using.

Please post your server.xml with all comments and passwords removed.


p


 
 -- 
 Tapas
 http://mightydreams.blogspot.com
 http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat not starting

2010-07-08 Thread Tapas Mishra
Hi thanks for your reply I have removed Tomcat from the server and re
installed it.
It is working now.

On Thu, Jul 8, 2010 at 2:46 PM, Pid p...@pidster.com wrote:
 On 8 Jul 2010, at 08:03, Tapas Mishra mightydre...@gmail.com wrote:

 I am surprised .I installed Tomcat and when ever I am trying to access
 http://192.168.1.5:9090
 it is not starting.

 Here are the error logs which say port 9090 is already in use where as
 I have just rebooted the server.
 http://pastebin.com/7t9q9AJv
 http://pastebin.com/fUeR1ASj
 http://pastebin.com/i7mEubXf
 is there any clue as what might have happned.

 I can't get pastebin to work on this device.

 Which exact version of Tomcat, JVM, OS are you using.

 Please post your server.xml with all comments and passwords removed.


 p



 --
 Tapas
 http://mightydreams.blogspot.com
 http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org





-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting - No error messages seen

2009-08-20 Thread Ognjen Blagojevic

Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:

Please find attached the catalina.out logs file and debug logs.


I don't see any attachment. Paste your logs into the message. Not the 
whole files, just last 30 lines.


You didn't try ps -ef | grep java?



In our case tomcat is started in 8005. It is in listen state.


8005? That is probably Tomcat control port, not HTTP port. You should 
check on what port is Tomcat configured to listen in conf/server.xml 
attribute port under Connector tag. Most likely, it will be 8080.


After that, you should check if that port is listed under netstat 
-nat. If not, Tomcat is not started properly.


Then, you should check the logs, and post them here.

And please, don't post to private mail, use mailing list only.

-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat not starting - No error messages seen

2009-08-20 Thread Anisha Parveen -X (anparvee - Infosys at Cisco)
 
Tomcat does listen on 8005 only and it was in Listen state.

However when I did grep for 8009, I saw that the ports were in
CLOSE_WAIT state.\
Hence I rebooted the machine. Tomcat started properly now and things
work fine.

Thank all for your support.

Regards,
Anisha

-Original Message-
From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] 
Sent: Thursday, August 20, 2009 4:48 PM
To: users@tomcat.apache.org
Subject: Re: Tomcat not starting - No error messages seen

Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:
 Please find attached the catalina.out logs file and debug logs.

I don't see any attachment. Paste your logs into the message. Not the
whole files, just last 30 lines.

You didn't try ps -ef | grep java?


 In our case tomcat is started in 8005. It is in listen state.

8005? That is probably Tomcat control port, not HTTP port. You should
check on what port is Tomcat configured to listen in conf/server.xml
attribute port under Connector tag. Most likely, it will be 8080.

After that, you should check if that port is listed under netstat
-nat. If not, Tomcat is not started properly.

Then, you should check the logs, and post them here.

And please, don't post to private mail, use mailing list only.

-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat not starting - No error messages seen

2009-08-12 Thread Anisha Parveen -X (anparvee - Infosys at Cisco)
Hi all,

I am trying to start tomcat 4.1.3 on Solaris. ps -ef | grep tomcat
returns nothing.

Tomcat is not started. And I don't see any error messages also. 

From the log messages it seems Tomcat is not loading the contexts
provided in server.xml. 

Out of the contexts provided in server.xml , only one of it getting
loaded and no log messages for the rest.

So its blank whats happening on tomcat.

Can someone provide hint on how to debug the issue ?

Also , any hints on what might have gone wrong will be highly useful.

Regards,

Anisha

 


Re: Tomcat not starting - No error messages seen

2009-08-12 Thread Ognjen Blagojevic

Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:

From the log messages it seems Tomcat is not loading the contexts
provided in server.xml. 


Out of the contexts provided in server.xml , only one of it getting
loaded and no log messages for the rest.


Could you post the log messgages? Say, last 20 lines from catalina.out 
(or whatever is the default log file).


If one context is loaded then Tomcat IS running and I would expect that 
ps -ef | grep tomcat or better ps -ef | grep java returns something.


Also, try netstat -atn and look for port tomcat is configured to 
listen on (usually 8080, or 80).


Regards,
Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat not starting - No error messages seen

2009-08-12 Thread Mark Thomas
Anisha Parveen -X (anparvee - Infosys at Cisco) wrote:
 Hi all,
 
 I am trying to start tomcat 4.1.3 on Solaris. ps -ef | grep tomcat
 returns nothing.

4.1.3 is extremely old and the 4.1.x release is no longer supported.

I'd suggest starting again with 6.6.20

Mark




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat not starting up

2008-12-09 Thread rajesh202023

Dec 10, 2008 9:33:43 AM org.apache.catalina.startup.Bootstrap
initClassLoaders
SEVERE: Class loader creation threw exception
java.io.IOException: The filename, directory name, or volume label syntax is
incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:210)
at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:173)
at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:91)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:206)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:390)


please let me know what is the problem
-- 
View this message in context: 
http://www.nabble.com/tomcat-not-starting-up-tp20929257p20929257.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



RE: tomcat not starting up

2008-12-09 Thread Caldarale, Charles R
 From: rajesh202023 [mailto:[EMAIL PROTECTED]
 Subject: tomcat not starting up

 please let me know what is the problem

You mean besides not telling us the version of Tomcat you're using or how 
you're trying to run it?

Looks like either conf/catalina.properties is corrupted, or you started Tomcat 
in some non-standard way.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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



Body not transmitted with javaxmail when Tomcat is starting

2008-10-25 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=57811 Posted on behalf of 
a User

I use the same code in 2 ways :
1/ In a simple java project with Eclipse
2/ In a Tomcat application 

When I send a mail in a simple java project, it works.
The mail is sent with subject and body.

When I use the same code at the start of a tomcat server, it doesn't work.
The mail is sent but there is no body.

I send the trace for the both case.

I don't understand why


This is the code :

  Properties props = new Properties();
  props.put(mail.smtp.host, MESSAGERIE);
  props.put(mail.smtp.auth, false);
  Session session = Session.getDefaultInstance(props);
  session.setDebug(true);

  MimeMessage   message = new MimeMessage(session);
  message.setContent(Hello this is the body of the mail,text/plain);

  message.setFrom(new InternetAddress(unknown));
  InternetAddress dests[] = new InternetAddress[]
  { new InternetAddress([EMAIL PROTECTED]) };
  message.setRecipients(Message.RecipientType.TO, dests);
  message.setSubject(Sujet);
  
  Transport.send(message);




Trace when it works in a simple java project :

DEBUG: setDebug: JavaMail version 1.4.1
[EMAIL PROTECTED]
DEBUG: getProvider() returning 
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun 
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host MESSAGERIE.castel.fr, port 25, isSSL 
false
220 Messagerie.castel.fr Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 
ready at  Fri, 24 Oct 2008 11:20:49 +0200 
DEBUG SMTP: connected to host MESSAGERIE.castel.fr, port: 25

EHLO LABOLLC
250-Messagerie.castel.fr Hello [192.168.49.19]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
DEBUG SMTP: Found extension TURN, arg 
DEBUG SMTP: Found extension SIZE, arg 
DEBUG SMTP: Found extension ETRN, arg 
DEBUG SMTP: Found extension PIPELINING, arg 
DEBUG SMTP: Found extension DSN, arg 
DEBUG SMTP: Found extension ENHANCEDSTATUSCODES, arg 
DEBUG SMTP: Found extension 8bitmime, arg 
DEBUG SMTP: Found extension BINARYMIME, arg 
DEBUG SMTP: Found extension CHUNKING, arg 
DEBUG SMTP: Found extension VRFY, arg 
DEBUG SMTP: Found extension X-EXPS, arg GSSAPI NTLM LOGIN
DEBUG SMTP: Found extension X-EXPS=LOGIN, arg 
DEBUG SMTP: Found extension AUTH, arg GSSAPI NTLM LOGIN
DEBUG SMTP: Found extension AUTH=LOGIN, arg 
DEBUG SMTP: Found extension X-LINK2STATE, arg 
DEBUG SMTP: Found extension XEXCH50, arg 
DEBUG SMTP: Found extension OK, arg 
DEBUG SMTP: use8bit false
MAIL FROM:unknown
250 2.1.0 [EMAIL PROTECTED] OK
RCPT TO:[EMAIL PROTECTED]
250 2.1.5 [EMAIL PROTECTED] 
DEBUG SMTP: Verified Addresses
DEBUG SMTP:   [EMAIL PROTECTED]
DATA
354 Start mail input; end with CRLF.CRLF
From: unknown
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Subject: Sujet
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

Hello this is the body of the mail  
  = this is the content !!!
.
250 2.6.0  [EMAIL PROTECTED] Queued mail for delivery
QUIT
221 2.0.0 Messagerie.castel.fr Service closing transmission channel



Trace when it doesn't work  :When tomcat is starting !!!
DEBUG: getProvider() returning 
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun 
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host MESSAGERIE.castel.fr, port 25, isSSL 
false
220 Messagerie.castel.fr Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 
ready at  Fri, 24 Oct 2008 11:21:56 +0200 
DEBUG SMTP: connected to host MESSAGERIE.castel.fr, port: 25

EHLO LABOLLC
250-Messagerie.castel.fr Hello [192.168.49.19]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
DEBUG SMTP: Found extension TURN, arg 
DEBUG SMTP: Found extension SIZE, arg 
DEBUG SMTP: Found extension ETRN, arg 
DEBUG SMTP: Found extension PIPELINING, arg 
DEBUG SMTP: Found extension DSN, arg 
DEBUG SMTP: Found extension ENHANCEDSTATUSCODES, arg 
DEBUG SMTP: Found extension 8bitmime, arg 
DEBUG SMTP: Found extension BINARYMIME, arg 
DEBUG SMTP: Found extension CHUNKING, arg 
DEBUG SMTP: Found extension VRFY, arg 
DEBUG SMTP: Found extension X-EXPS, arg GSSAPI NTLM LOGIN
DEBUG SMTP: Found extension X-EXPS=LOGIN, arg 
DEBUG SMTP: Found extension AUTH, arg GSSAPI NTLM LOGIN
DEBUG SMTP: Found extension AUTH=LOGIN, arg 
DEBUG SMTP: Found extension X-LINK2STATE

Re: Tomcat not starting

2008-04-17 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12232 Posted on behalf of 
a User

I was also stuck at the same problem, and copying msvcr71.dll to the Tomcat 
bin directory fixed it. Thanks for the solution.

In Response To: 

Windows 2000 sp4 
JRE 1.6_02
Tomcat won't start. Any help 
Tried it on two seperate machines. Even uninstall and re-installed with boot up 
in between.

Received the following error in the log file
[2007-09-07 04:09:17] [174  javajni.c] [error] The specified module could not 
be found.
[2007-09-07 04:09:17] [986  prunsrv.c] [error] Failed creating java C:\Program 
Files\Java\jre1.6.0_02\bin\client\jvm.dll
[2007-09-07 04:09:17] [1260 prunsrv.c] [error] ServiceStart returned 1

Sincerely, 

Luc Nadon
Information Technology Analyst
ITS-Niagara, Fort Erie Section
Phone: (905) 994-6887
email: [EMAIL PROTECTED]

The rights and freedoms of one should not jeopardize that of another.




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting

2007-09-07 Thread Matt
On Friday 07 September 2007 15:10, Nadon, Luc wrote:
 The specified module could not be found

What did you specify in your server.xml and web.xml as jdni driver?
And did you include this driver in your classpath?

-- 

Matt

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat not starting

2007-09-07 Thread Caldarale, Charles R
 From: Nadon, Luc [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat not starting
 
 Windows 2000 sp4 
 JRE 1.6_02
 Tomcat won't start.

First, download the .zip version of Tomcat for whatever level you're
using.  It contains startup and shutdown scripts that make debugging
initialization problems much easier.  You can install it as a service
later with the service.bat script.  Verify that Tomcat starts when run
from the scripts.

When that is taken care of, install the service, then run the
tomcatxw.exe program and look at the Java tab to insure that the values
for the JVM and classpath are appropriate for your installation.  Try
starting the service again, and report back if there are still problems.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat not starting

2007-09-07 Thread Nadon, Luc
copying the file worked.

Sincerely, 

Luc Nadon
Information Technology Analyst
ITS-Niagara, Fort Erie Section
Phone: (905) 994-6887
email: [EMAIL PROTECTED]

The rights and freedoms of one should not jeopardize that of another.



-Original Message-
From: Len Popp [mailto:[EMAIL PROTECTED]
Sent: September 7, 2007 9:53 AM
To: Tomcat Users List
Subject: Re: Tomcat not starting


The error happens because it can't find a DLL, most commonly
msvcr71.dll. Try copying that file from Java's bin directory to
Tomcat's bin directory.

More info here: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538
-- 
Len

On 9/7/07, Nadon, Luc [EMAIL PROTECTED] wrote:
 I just installed tomcat and nothing is configured.
 I have no apps yet therefore I don't have a web.xml for any specific apps
 In the server.xml file the jndi portion is empty.
 I have no problem reading docs I just don't know where to begin.

 Sincerely,

 Luc Nadon
 Information Technology Analyst
 ITS-Niagara, Fort Erie Section
 Phone: (905) 994-6887
 email: [EMAIL PROTECTED]

 The rights and freedoms of one should not jeopardize that of another.



 -Original Message-
 From: Matt [mailto:[EMAIL PROTECTED]
 Sent: September 7, 2007 9:19 AM
 To: Tomcat Users List
 Subject: Re: Tomcat not starting


 On Friday 07 September 2007 15:10, Nadon, Luc wrote:
  The specified module could not be found

 What did you specify in your server.xml and web.xml as jdni driver?
 And did you include this driver in your classpath?

 --

 Matt

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting

2007-09-07 Thread Len Popp
The error happens because it can't find a DLL, most commonly
msvcr71.dll. Try copying that file from Java's bin directory to
Tomcat's bin directory.

More info here: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538
-- 
Len

On 9/7/07, Nadon, Luc [EMAIL PROTECTED] wrote:
 I just installed tomcat and nothing is configured.
 I have no apps yet therefore I don't have a web.xml for any specific apps
 In the server.xml file the jndi portion is empty.
 I have no problem reading docs I just don't know where to begin.

 Sincerely,

 Luc Nadon
 Information Technology Analyst
 ITS-Niagara, Fort Erie Section
 Phone: (905) 994-6887
 email: [EMAIL PROTECTED]

 The rights and freedoms of one should not jeopardize that of another.



 -Original Message-
 From: Matt [mailto:[EMAIL PROTECTED]
 Sent: September 7, 2007 9:19 AM
 To: Tomcat Users List
 Subject: Re: Tomcat not starting


 On Friday 07 September 2007 15:10, Nadon, Luc wrote:
  The specified module could not be found

 What did you specify in your server.xml and web.xml as jdni driver?
 And did you include this driver in your classpath?

 --

 Matt

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting

2007-09-07 Thread Matt
On Friday 07 September 2007 15:29, you wrote:
 I just installed tomcat and nothing is configured.
 I have no apps yet therefore I don't have a web.xml for any specific apps
 In the server.xml file the jndi portion is empty.
 I have no problem reading docs I just don't know where to begin.

 Sincerely,

 Luc Nadon
 Information Technology Analyst
 ITS-Niagara, Fort Erie Section
 Phone: (905) 994-6887
 email: [EMAIL PROTECTED]

 The rights and freedoms of one should not jeopardize that of another.



 -Original Message-
 From: Matt [mailto:[EMAIL PROTECTED]
 Sent: September 7, 2007 9:19 AM
 To: Tomcat Users List
 Subject: Re: Tomcat not starting

 On Friday 07 September 2007 15:10, Nadon, Luc wrote:
  The specified module could not be found

 What did you specify in your server.xml and web.xml as jdni driver?
 And did you include this driver in your classpath?

Weird,

I don`t know wether you defined you class paths already, if not do so .
Perhaps this tutorial will help some in basic setup:
http://www.coreservlets.com/Apache-Tomcat-Tutorial/


matt

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat not starting

2007-09-07 Thread Caldarale, Charles R
 From: Matt [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat not starting
 
 What did you specify in your server.xml and web.xml as jdni driver?
 And did you include this driver in your classpath?

That's completely irrelevant - this error occurs trying to start the
service, not Tomcat itself.  Also, the classpath for Tomcat should NEVER
be set manually.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat not starting

2007-09-07 Thread Nadon, Luc
I just installed tomcat and nothing is configured. 
I have no apps yet therefore I don't have a web.xml for any specific apps
In the server.xml file the jndi portion is empty.
I have no problem reading docs I just don't know where to begin.

Sincerely, 

Luc Nadon
Information Technology Analyst
ITS-Niagara, Fort Erie Section
Phone: (905) 994-6887
email: [EMAIL PROTECTED]

The rights and freedoms of one should not jeopardize that of another.



-Original Message-
From: Matt [mailto:[EMAIL PROTECTED]
Sent: September 7, 2007 9:19 AM
To: Tomcat Users List
Subject: Re: Tomcat not starting


On Friday 07 September 2007 15:10, Nadon, Luc wrote:
 The specified module could not be found

What did you specify in your server.xml and web.xml as jdni driver?
And did you include this driver in your classpath?

-- 

Matt

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat not starting

2007-09-07 Thread Nadon, Luc
Windows 2000 sp4 
JRE 1.6_02
Tomcat won't start. Any help 
Tried it on two seperate machines. Even uninstall and re-installed with boot up 
in between.

Received the following error in the log file
[2007-09-07 04:09:17] [174  javajni.c] [error] The specified module could not 
be found.
[2007-09-07 04:09:17] [986  prunsrv.c] [error] Failed creating java C:\Program 
Files\Java\jre1.6.0_02\bin\client\jvm.dll
[2007-09-07 04:09:17] [1260 prunsrv.c] [error] ServiceStart returned 1

Sincerely, 

Luc Nadon
Information Technology Analyst
ITS-Niagara, Fort Erie Section
Phone: (905) 994-6887
email: [EMAIL PROTECTED]

The rights and freedoms of one should not jeopardize that of another.




Re: Tomcat not starting properly.

2007-08-29 Thread David Smith
Could you post messages from the tomcat catalina.out log file?  The 
console messages doesn't really say much.  In particular, I'd like to 
see more of the exception that started to show there.


--David

Potri Raaja wrote:

Operating System : Suse Linux Enterprise Server 9.
TOMCAT Version : jakarta-tomcat-5.0.28


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/java/jre/bin
HC-APACHE:~/jakarta-tomcat-5.0.28 # 



HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $JAVA_HOME
/root/j2sdk1.4.2
HC-APACHE:~/jakarta-tomcat-5.0.28 # 



HC-APACHE:~/jakarta-tomcat-5.0.28 # java -version
java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


  Classpath is not set with any details, Is it needed to be given with any
information for classpath. Previously Tomcat was working properly and I am
not sure why this error comes now. Please help us to overcome this issue.
Waiting for your favourable reply.

Regards,
Potri Raaja.M.


 


Manivannan Palanichamy wrote:
  

which tomcat version are you using?
can you also specify the value of PATH and CLASSPATH variables?

--
Manivannan Palanichamy
http://mani.gw.googlepages.com/index.html

On 8/28/07, Potri Raaja [EMAIL PROTECTED] wrote:


Hi,

When I try to start my tomcat I am getting the following error, it is
not getting started properly.

HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME:   /root/j2sdk1.4.2
Exception in thread main java.lang.NoClassDefFoundError:
HC-APACHE:~/jakarta-tomcat-5.0.28/bin #

Can you please suggest me to overcome this error.Waiting for your
favourable
reply.

Regards,
Potri Raaja.M.
--
View this message in context:
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-29 Thread Potri Raaja
 or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory


Please check the above given information and let me know if you want any
other details to proceed.

Regards,
Potri Raaja.M.




David Smith-2 wrote:
 
 Could you post messages from the tomcat catalina.out log file?  The 
 console messages doesn't really say much.  In particular, I'd like to 
 see more of the exception that started to show there.
 
 --David
 
 Potri Raaja wrote:
 Operating System : Suse Linux Enterprise Server 9.
 TOMCAT Version : jakarta-tomcat-5.0.28


 HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH
 /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/java/jre/bin
 HC-APACHE:~/jakarta-tomcat-5.0.28 # 


 HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $JAVA_HOME
 /root/j2sdk1.4.2
 HC-APACHE:~/jakarta-tomcat-5.0.28 # 


 HC-APACHE:~/jakarta-tomcat-5.0.28 # java -version
 java version 1.4.2
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
 Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
 HC-APACHE:~/jakarta-tomcat-5.0.28 # 

   Classpath is not set with any details, Is it needed to be given with
 any
 information for classpath. Previously Tomcat was working properly and I
 am
 not sure why this error comes now. Please help us to overcome this issue.
 Waiting for your favourable reply.

 Regards,
 Potri Raaja.M.


  

 Manivannan Palanichamy wrote:
   
 which tomcat version are you using?
 can you also specify the value of PATH and CLASSPATH variables?

 -- 
 Manivannan Palanichamy
 http://mani.gw.googlepages.com/index.html

 On 8/28/07, Potri Raaja [EMAIL PROTECTED] wrote:
 
 Hi,

 When I try to start my tomcat I am getting the following error, it
 is
 not getting started properly.

 HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
 Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
 Using JAVA_HOME:   /root/j2sdk1.4.2
 Exception in thread main java.lang.NoClassDefFoundError:
 HC-APACHE:~/jakarta-tomcat-5.0.28/bin #

 Can you please suggest me to overcome this error.Waiting for your
 favourable
 reply.

 Regards,
 Potri Raaja.M.
 --
 View this message in context:
 http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


   
 

   
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12384387
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-29 Thread Potri Raaja
:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory
/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
file or directory


Please check the above given information and let me know if you want any
other details to proceed.

Regards,
Potri Raaja.M.




David Smith-2 wrote:
  

Could you post messages from the tomcat catalina.out log file?  The 
console messages doesn't really say much.  In particular, I'd like to 
see more of the exception that started to show there.

--David

Potri Raaja wrote:


Operating System : Suse Linux Enterprise Server 9.
TOMCAT Version : jakarta-tomcat-5.0.28


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/java/jre/bin
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $JAVA_HOME
/root/j2sdk1.4.2
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


HC-APACHE:~/jakarta-tomcat-5.0.28 # java -version
java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
HC-APACHE:~/jakarta-tomcat-5.0.28 # 

  Classpath is not set with any details, Is it needed to be given with
any
information for classpath. Previously Tomcat was working properly and I
am
not sure why this error comes now. Please help us to overcome this
issue.
Waiting for your favourable reply.

Regards,
Potri Raaja.M.


 

Manivannan Palanichamy wrote:
  
  

which tomcat version are you using?
can you also specify the value of PATH and CLASSPATH variables?

-- 
Manivannan Palanichamy
http://mani.gw.googlepages.com/index.html

On 8/28/07, Potri Raaja [EMAIL PROTECTED] wrote:



Hi,

When I try to start my tomcat I am getting the following error, it
is
not getting started properly.

HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME:   /root/j2sdk1.4.2
Exception in thread main java.lang.NoClassDefFoundError:
HC-APACHE:~/jakarta-tomcat-5.0.28/bin #

Can you please suggest me to overcome this error.Waiting for your
favourable
reply.

Regards,
Potri Raaja.M.
--
View this message in context:
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [OT] CLASSPATH (was Tomcat not starting properly)

2007-08-29 Thread Caldarale, Charles R
 From: Brian Munroe [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat not starting properly.
 
  The CLASSPATH environment variable should never be used when running
  Tomcat.  (For that matter, it shouldn't be used in any Java 
  environment these days.)
 
 Chuck:  I don't mean to hijack this thread with unrelated topics, but
 can you explain the statement within the parentheses in a little more
 detail?  Thanks!

The biggest problem with CLASSPATH is that it tends to be set and then
forgotten, causing classloading problems during subsequent Java
executions.  The resulting confusion (especially if it involves the
wrong version of a class, rather than just a CNFE) can take ages to
figure out.  It's clearer for everyone involved to specify the exact
path needed on the command line when starting a Java application.
Tomcat is just one example of why CLASSPATH shouldn't be used: we've had
numerous discussions on this list when noobs thought they were helping
Tomcat by specifying all sorts of JAR files via the CLASSPATH variable -
all of which resulted in disaster, of course.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-29 Thread Brian Munroe
On 8/29/07, David Smith [EMAIL PROTECTED] wrote:

 able to find the endorsed directory, you should probably get a new copy
 of the jars from your .tar.gz or .zip download and replace the jars.

Who knows what else is wrong.  My vote is for just get a fresh copy of Tomcat.

-- brian

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] CLASSPATH (was Tomcat not starting properly)

2007-08-29 Thread Brian Munroe
On 8/29/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:


 The biggest problem with CLASSPATH is that it tends to be set and then
 forgotten, causing classloading problems during subsequent Java
 executions.  The resulting confusion (especially if it involves the
 wrong version of a class, rather than just a CNFE) can take ages to
 figure out.  It's clearer for everyone involved to specify the exact
 path needed on the command line when starting a Java application.
 Tomcat is just one example of why CLASSPATH shouldn't be used: we've had
 numerous discussions on this list when noobs thought they were helping
 Tomcat by specifying all sorts of JAR files via the CLASSPATH variable -
 all of which resulted in disaster, of course.


No kidding.  I was always told that Tomcat ignored the CLASSPATH and
not to use it.  Maybe that is one of those white lies they tell
newbies to alleviate problems? :)

I am not totally new to the Java environment, but I am always looking
for the 'best practice' or the 'industry standard' way of doing
things.  I haven't had many opportunities to write client side
applications with it, so I never really had to muck with CLASSPATH too
much.

thanks for your time

-- brian

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] CLASSPATH (was Tomcat not starting properly)

2007-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian,

Brian Munroe wrote:
 I was always told that Tomcat ignored the CLASSPATH and
 not to use it.  Maybe that is one of those white lies they tell
 newbies to alleviate problems? :)

The CLASSPATH environment variable is certainly not ignored by Tomcat.
Here's part of the startup script from TC 5.5:

# Add on extra jar files to CLASSPATH
if [ -n $JSSE_HOME ]; then
CLASSPATH=$CLASSPATH:$JSSE_HOME/lib/jcert.jar:$JSSE_HOME/lib/jnet.jar:$JSSE_HOME/lib/jsse.jar
fi
CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/commons-logging-api.jar

Setting your own CLASSPATH environment variable is a recipe for disaster.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1Y1a9CaO5/Lv0PARAuKGAJoDn5ZcdO90DeyTx1AQ/n1HBvhkQgCgunMJ
TL5dqRnSv+jV7H915fz5CF0=
=j7HD
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] CLASSPATH (was Tomcat not starting properly)

2007-08-29 Thread Brian Munroe
On 8/29/07, Christopher Schultz [EMAIL PROTECTED] wrote:


 The CLASSPATH environment variable is certainly not ignored by Tomcat.
 Here's part of the startup script from TC 5.5:

 # Add on extra jar files to CLASSPATH
 if [ -n $JSSE_HOME ]; then
 CLASSPATH=$CLASSPATH:$JSSE_HOME/lib/jcert.jar:$JSSE_HOME/lib/jnet.jar:$JSSE_HOME/lib/jsse.jar
 fi
 CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/commons-logging-api.jar


Hum, yep, your right.

 Setting your own CLASSPATH environment variable is a recipe for disaster.


Duly noted.  Thanks Chris and Chuck.

-- brian

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] CLASSPATH (was Tomcat not starting properly)

2007-08-29 Thread Markus Schiegl
Hi chris,

are you sure about this CLASSPATH-thing?

a few lines above your quoted line catalina.sh sources/includes
setclasspath.sh which zaps CLASSPATH (First clear out the user classpath)

I just remembered it because i had to comment this line CLASSPATH=
to use my externally set environment variable. This happened before i
got cured using the CLASSPATH env at all :-)

@all: this is no advice for patching tomcat (startup) scripts!

kind regards,
   Markus

Christopher Schultz wrote:
 Brian,
 
 Brian Munroe wrote:
 I was always told that Tomcat ignored the CLASSPATH and
 not to use it.  Maybe that is one of those white lies they tell
 newbies to alleviate problems? :)
 
 The CLASSPATH environment variable is certainly not ignored by Tomcat.
 Here's part of the startup script from TC 5.5:
 
 # Add on extra jar files to CLASSPATH
 if [ -n $JSSE_HOME ]; then
 CLASSPATH=$CLASSPATH:$JSSE_HOME/lib/jcert.jar:$JSSE_HOME/lib/jnet.jar:$JSSE_HOME/lib/jsse.jar
 fi
 CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/commons-logging-api.jar
 
 Setting your own CLASSPATH environment variable is a recipe for disaster.
 
 -chris
 

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] CLASSPATH (was Tomcat not starting properly)

2007-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markus,

Markus Schiegl wrote:
 are you sure about this CLASSPATH-thing?

 a few lines above your quoted line catalina.sh sources/includes
 setclasspath.sh which zaps CLASSPATH (First clear out the user classpath)

Oh, hey, you're right. Thats what I get for searching for CLASSPATH and
not reading every line of the script.

Tomcat actually blanks-out the CLASSPATH before it re-builds it.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1bp29CaO5/Lv0PARAsJeAKCNIOV+vW+rREb/EWlXuFryBChetACgl5Sb
R4a4Es9uYgZ6uKrapapi24I=
=kNXm
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat not starting properly.

2007-08-28 Thread Potri Raaja

Hi,

When I try to start my tomcat I am getting the following error, it is
not getting started properly.

HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh 
Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME:   /root/j2sdk1.4.2
Exception in thread main java.lang.NoClassDefFoundError:  
HC-APACHE:~/jakarta-tomcat-5.0.28/bin # 

Can you please suggest me to overcome this error.Waiting for your favourable
reply.

Regards,
Potri Raaja.M.
-- 
View this message in context: 
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-28 Thread Manivannan Palanichamy
which tomcat version are you using?
can you also specify the value of PATH and CLASSPATH variables?

-- 
Manivannan Palanichamy
http://mani.gw.googlepages.com/index.html

On 8/28/07, Potri Raaja [EMAIL PROTECTED] wrote:


 Hi,

 When I try to start my tomcat I am getting the following error, it is
 not getting started properly.

 HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
 Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
 Using JAVA_HOME:   /root/j2sdk1.4.2
 Exception in thread main java.lang.NoClassDefFoundError:
 HC-APACHE:~/jakarta-tomcat-5.0.28/bin #

 Can you please suggest me to overcome this error.Waiting for your
 favourable
 reply.

 Regards,
 Potri Raaja.M.
 --
 View this message in context:
 http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




RE: Tomcat not starting properly.

2007-08-28 Thread Caldarale, Charles R
 From: Manivannan Palanichamy 
 [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat not starting properly.
 
 which tomcat version are you using?

From the shell prompts, it seems pretty obvious that it's 5.0.28.

 can you also specify the value of PATH and CLASSPATH variables?

The CLASSPATH environment variable should never be used when running
Tomcat.  (For that matter, it shouldn't be used in any Java environment
these days.)

The PATH variable won't matter unless native libraries are involved.

From the symptoms, it sounds like the OP's installation is flawed, or
he's mucked around with the startup script and broken it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat not starting properly.

2007-08-28 Thread Potri Raaja


Operating System : Suse Linux Enterprise Server 9.
TOMCAT Version : jakarta-tomcat-5.0.28


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/java/jre/bin
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $JAVA_HOME
/root/j2sdk1.4.2
HC-APACHE:~/jakarta-tomcat-5.0.28 # 


HC-APACHE:~/jakarta-tomcat-5.0.28 # java -version
java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
HC-APACHE:~/jakarta-tomcat-5.0.28 # 

  Classpath is not set with any details, Is it needed to be given with any
information for classpath. Previously Tomcat was working properly and I am
not sure why this error comes now. Please help us to overcome this issue.
Waiting for your favourable reply.

Regards,
Potri Raaja.M.


 

Manivannan Palanichamy wrote:
 
 which tomcat version are you using?
 can you also specify the value of PATH and CLASSPATH variables?
 
 -- 
 Manivannan Palanichamy
 http://mani.gw.googlepages.com/index.html
 
 On 8/28/07, Potri Raaja [EMAIL PROTECTED] wrote:


 Hi,

 When I try to start my tomcat I am getting the following error, it is
 not getting started properly.

 HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
 Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
 Using JAVA_HOME:   /root/j2sdk1.4.2
 Exception in thread main java.lang.NoClassDefFoundError:
 HC-APACHE:~/jakarta-tomcat-5.0.28/bin #

 Can you please suggest me to overcome this error.Waiting for your
 favourable
 reply.

 Regards,
 Potri Raaja.M.
 --
 View this message in context:
 http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12380888
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Invalid command 'workers.tomcat_home=/usr/local/tomcat' when starting Apache

2007-06-05 Thread Gerry Jackson

Hi,

I'm just trying to set up a basic installation of Tomcat 5.5 with 
Apache2 using mod_jk on Ubuntu Feisty. Tomcat is creating the 
configuration file automatically as it should be. I have that 
configuration file imported from within the apache2.conf file. However, 
when I try to start Apache2 I get the following error.


$sudo /etc/init.d/apache2 start
* Starting web server 
(apache2)...

Syntax error on line 1 of /etc/apache2/conf.d/workers.properties: 
Invalid command 'workers.tomcat_home=/usr/local/tomcat', perhaps 
misspelled or defined by a module not included in the server configuration


I don't know whether my configuration is just wrong or what logs to 
check. I have mod_jk.so in the apache2 modules directory and I'm fairly 
certain it is correctly set to load. I've attached my configuration 
files for your perusal. I apologize if the format is wrong, I have never 
used a mailing list before. From my Google searches on the problem it 
seems to be somewhat rare so I suspect I have missed something very 
simple in my configuration.


Thanks!

Gerry Jackson

===apache2.conf==
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs-2.1/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned. 
#

# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process 
as a

# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' 
server,

# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so 
/var/log/apache2/foo.log

# with ServerRoot set to  will be interpreted by the
# server as //var/log/apache2/foo.log.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot /etc/apache2

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#IfModule !mpm_winnt.c
#IfModule !mpm_netware.c
LockFile /var/lock/apache2/accept.lock
#/IfModule
#/IfModule

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile /var/run/apache2.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to Off to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
IfModule mpm_prefork_module
   StartServers  5
   MinSpareServers   5
   MaxSpareServers  10
   

Re: Invalid command 'workers.tomcat_home=/usr/local/tomcat' when starting Apache

2007-06-05 Thread Bill Barker

Gerry Jackson [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Thanks for responding.
 Which configuration file are you importing?


 Tomcat automatically creates a mod_jk.conf file which I believe I
 attached to my original message.
 It looks like you are trying to use workers.properties as an apache
 httpd config file. This file is read by mod_jk, not by apache httpd
 directly. For instance, you should /not/ have anything like this in your
 httpd.conf (or apache2.conf, or whatever):


 Instead, you should have a JkWorkersFile directive in your apache httpd
 config file.

 I haven't included the workers.properties in the apache2.conf file.  I
 have only included the following file (which was generated automatically
 by tomcat) which includes the JkWorkersFile directive.

 Hopefully that helps you help me :-)


Somebody should really cleanup the auto-config generator :).

It was only used by JNI, so when it was decided to drop JNI support from 
mod_jk, the directive was dropped as well.  For many versions, mod_jk just 
quietly ignored unrecognized directives.  Newer versions now warn when they 
see them.

 Gerry

 ==mod_jk.conf=
 ## Auto generated on Tue Jun 05 09:39:34 EDT 2007##

 IfModule !mod_jk.c
  LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
 /IfModule

 JkWorkersFile /etc/apache2/workers.properties
 JkLogFile /usr/local/tomcat/logs/mod_jk.log
 JkLogLevel emerg



 VirtualHost www.domain1.com
ServerName www.domain1.com
 /VirtualHost

 VirtualHost localhost
ServerName localhost

JkMount /manager ajp13
JkMount /manager/* ajp13

JkMount /webdav ajp13
JkMount /webdav/* ajp13

JkMount /servlets-examples ajp13
JkMount /servlets-examples/* ajp13

JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/* ajp13

JkMount /host-manager ajp13
JkMount /host-manager/* ajp13

JkMount /jsp-examples ajp13
JkMount /jsp-examples/* ajp13

JkMount /balancer ajp13
JkMount /balancer/* ajp13
 /VirtualHost


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi,

We're trying to automate our acceptance tests and performing a remote
install first.  However, we have no way to know when Tomcat has finished
starting so the tests can run.

Has anyone any suggestions on the best way to do this?  We're using maven
and JUnit.

cheers,

David


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: recognise tomcat finished starting up

2007-04-16 Thread Martin Gainty

David-
If you're trying to emulate java class functionality in a tomcat environment 
I would suggest looking at David Weiss TomcatAwareTestCase

com.dawidweiss.junittomcat.TomcatAwareTestCase
http://www.cs.put.poznan.pl/dweiss/xml/projects/junit-tomcat/index.xml?lang=en
Anyone else?
Martin--

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message - 
From: [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, April 16, 2007 11:00 AM
Subject: recognise tomcat finished starting up



Hi,

We're trying to automate our acceptance tests and performing a remote
install first.  However, we have no way to know when Tomcat has finished
starting so the tests can run.

Has anyone any suggestions on the best way to do this?  We're using maven
and JUnit.

cheers,

David


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: recognise tomcat finished starting up

2007-04-16 Thread Peter Crowther
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 We're using Spring and therefore have quite a long startup 
 time - checking
 if the service is started doesn't help therefore.
 
 So I'm looking for a way to detect if tomcat's startup has finished...

Being the lazy guy I am, I'd set up a trivial page that returns Ready
once the app is ready, and Starting before that.  Then poll it.  But I
suspect there are tidier ways of finding out!

- Peter

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: recognise tomcat finished starting up

2007-04-16 Thread Hassan Schroeder

On 4/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


So I'm looking for a way to detect if tomcat's startup has finished...


Seems like a chicken-and-egg problem -- Tomcat's ready when it'll
respond to your test :-)

Why don't you just incorporate a loop[sleep]-on-fail in the first test?

FWIW,
--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: recognise tomcat finished starting up

2007-04-16 Thread Rashmi Rubdi

On 4/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


So I'm looking for a way to detect if tomcat's startup has finished...



You didn't mention the version of Tomcat you're using.

According to the Servlet 2.4 spec :
The servlet context has javax.servlet.ServletContextListener just been
created and is available to service its first request.

You could implement ServletContextListener on any class, then register
the listener in your project's web.xml


cheers,

David


-Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Thanks for the responses...I'll try the listener creating some kind of file
I can check for the existence of - this is complicated by trying to do it
remotely...

A loop-on-fail in the first test would work...as long as my first test
never breaks ;-)

cheers,

David



   
 Hassan   
 Schroeder
 hassan.schroeder  To 
 @gmail.com   Tomcat Users List 
   users@tomcat.apache.org   
 04/16/2007 12:27   cc 
 PM
   Subject 
   Re: recognise tomcat finished   
 Please respond to starting up 
   Tomcat Users   
   List   
 [EMAIL PROTECTED] 
 che.org  
   
   



On 4/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 So I'm looking for a way to detect if tomcat's startup has finished...

Seems like a chicken-and-egg problem -- Tomcat's ready when it'll
respond to your test :-)

Why don't you just incorporate a loop[sleep]-on-fail in the first test?

FWIW,
--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi Martin,

Thanks for the link...

I'm actually running the tests against a remote installed tomcat, by poking
it over http akin to HTTPUnit.

However, I'm working on automating the remote install and uninstall too.  I
have it working, but am trying to figure out how to tell whether the
install has finished and tomcat is ready, before I kick off the tests.
We're using Spring and therefore have quite a long startup time - checking
if the service is started doesn't help therefore.

So I'm looking for a way to detect if tomcat's startup has finished...

cheers,

David



   
 Martin Gainty   
 [EMAIL PROTECTED] 
 com   To 
   Tomcat Users List 
 04/16/2007 11:29  users@tomcat.apache.org   
 AM cc 
   
   Subject 
 Please respond to Re: recognise tomcat finished   
   Tomcat Users   starting up 
   List   
 [EMAIL PROTECTED] 
 che.org  
   
   
   



David-
If you're trying to emulate java class functionality in a tomcat
environment
I would suggest looking at David Weiss TomcatAwareTestCase
com.dawidweiss.junittomcat.TomcatAwareTestCase
http://www.cs.put.poznan.pl/dweiss/xml/projects/junit-tomcat/index.xml?lang=en

Anyone else?
Martin--

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, April 16, 2007 11:00 AM
Subject: recognise tomcat finished starting up


 Hi,

 We're trying to automate our acceptance tests and performing a remote
 install first.  However, we have no way to know when Tomcat has finished
 starting so the tests can run.

 Has anyone any suggestions on the best way to do this?  We're using maven
 and JUnit.

 cheers,

 David


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: recognise tomcat finished starting up

2007-04-16 Thread Martin Gainty

Good Morning David-

If your spring webapplication is taking a long time to startup I would 
suggest looking at setting up Spring's config attribute as lazy-init=true
When spring's lazy-init=true your BeanFactory will initialise the bean when 
requested (instead of initialising at startup of your webapp)

http://www.memestorm.com/blog/lazy-bean-instantiation-in-spring-20/

HTH,
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message - 
From: [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Cc: Tomcat Users List users@tomcat.apache.org
Sent: Monday, April 16, 2007 12:08 PM
Subject: Re: recognise tomcat finished starting up



Hi Martin,

Thanks for the link...

I'm actually running the tests against a remote installed tomcat, by 
poking

it over http akin to HTTPUnit.

However, I'm working on automating the remote install and uninstall too. 
I

have it working, but am trying to figure out how to tell whether the
install has finished and tomcat is ready, before I kick off the tests.
We're using Spring and therefore have quite a long startup time - checking
if the service is started doesn't help therefore.

So I'm looking for a way to detect if tomcat's startup has finished...

cheers,

David




Martin Gainty
[EMAIL PROTECTED]
com   To
  Tomcat Users List
04/16/2007 11:29  users@tomcat.apache.org
AM cc

  Subject
Please respond to Re: recognise tomcat finished
  Tomcat Users   starting up
  List
[EMAIL PROTECTED]
che.org






David-
If you're trying to emulate java class functionality in a tomcat
environment
I would suggest looking at David Weiss TomcatAwareTestCase
com.dawidweiss.junittomcat.TomcatAwareTestCase
http://www.cs.put.poznan.pl/dweiss/xml/projects/junit-tomcat/index.xml?lang=en

Anyone else?
Martin--

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please 
notify

the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, April 16, 2007 11:00 AM
Subject: recognise tomcat finished starting up



Hi,

We're trying to automate our acceptance tests and performing a remote
install first.  However, we have no way to know when Tomcat has finished
starting so the tests can run.

Has anyone any suggestions on the best way to do this?  We're using maven
and JUnit.

cheers,

David


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: recognise tomcat finished starting up

2007-04-16 Thread Caldarale, Charles R
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Subject: Re: recognise tomcat finished starting up
 
 So I'm looking for a way to detect if tomcat's startup has finished...

If you have remote access to Tomcat's logs directory, you could monitor
the catalina.log file for the INFO: Server startup in xxx ms message.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
Bob,

Thanks so much for your response. Even, i had visited this page and now
thinking for re-installation only. Why tomcat is so unstable?...
Its risky to go ahead with that then.

Thanks once again

-Original Message-
From: Bob Hall [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 1:58 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Tomcat not starting


Nehal,

You probably need to reinstall Tomcat.  See comment
at end of:

http://issues.apache.org/bugzilla/show_bug.cgi?id=32931

- Bob

--- Nehal Sangoi [EMAIL PROTECTED] wrote:

 Hi,

 I am using :

 jakarta-tomcat-5.5.9
 jdk1.5.0
 Solaris10

 Please do help -- my Tomcat environment has
 crashed.

 -Original Message-
 From: Bob Hall [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 31, 2005 12:14 PM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: Re: Tomcat not starting


 Nehal,

 Please supply versions of Java and Tomcat that
 you are using.

 - Bob

 --- Nehal Sangoi [EMAIL PROTECTED] wrote:

  Infact, i am unable to start all tomcat instances
  and result is follwoing
  error
  Pls help!!
 
 
  Hi,
 
  I am unable to start one of my tomcat instances.
 But
  its getting crashed
  before it starts. Follwoing are the errors found.
 
 
  Oct 31, 2005 12:09:47 AM
  org.apache.tomcat.util.digester.Digester
  startElement
  SEVERE: Begin event threw error
  java.lang.NoClassDefFoundError:
  org/apache/naming/TransactionRef
  at
 

org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
  at
 

sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
  Method)
  at
 

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
  sorImpl.java:39)
  at
 

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
  torAccessorImpl.java:27)
  at
 

java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  at
  java.lang.Class.newInstance0(Class.java:350)
  at
  java.lang.Class.newInstance(Class.java:303)
  at
 

org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
  :205)
  at
 

org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
  at
 

org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
  at
 

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Ab
  stractSAXParser.java:533)
  at
 

com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XML
  DTDValidator.java:798)
  at
 

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanS
  tartElement(XMLDocumentFragmentScanner
  Impl.java:878)
  at
 

com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispat
  cher.scanRootElementHook(XMLDocumentSc
  annerImpl.java:1157)
  at
 

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
  entContentDispatcher.dispatch(XMLDocum
  entFragmentScannerImpl.java:1794)
  at
 

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
  ocument(XMLDocumentFragmentScannerImpl
  .java:368)
  at
 

com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
  figuration.java:834)
  at
 

com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
  figuration.java:764)
  at
 

com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:14
  8)
  at
 

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
  AXParser.java:1242)
  at
 

org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
  at
 

org.apache.catalina.startup.Catalina.load(Catalina.java:473)
  at
 

org.apache.catalina.startup.Catalina.load(Catalina.java:509)
  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:585)
  at
 

org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
  at
 

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
  java.lang.reflect.InvocationTargetException
  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:585)
  at
 

org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
  at
 

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
  Caused by: java.lang.NoClassDefFoundError:
  org/apache/naming/TransactionRef

RE: Tomcat not starting

2005-10-31 Thread Steve Kirk
from your stacktrace it appears that this error occurs when XML is being
parsed, because TC can't find a class:

java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef

in my installation (5.5.9) this class is in
%catalina_home%\common\lib\naming-factory.jar so might be worth checking
that you have that

 -Original Message-
 From: Nehal Sangoi [mailto:[EMAIL PROTECTED] 
 Sent: Monday 31 October 2005 06:03
 To: 'Tomcat Users List (E-mail)'
 Subject: Tomcat not starting
 
 
 Infact, i am unable to start all tomcat instances and result 
 is follwoing
 error
 Pls help!!
 
 
 Hi,
 
 I am unable to start one of my tomcat instances. But its 
 getting crashed
 before it starts. Follwoing are the errors found.
 
 
 Oct 31, 2005 12:09:47 AM org.apache.tomcat.util.digester.Digester
 startElement
 SEVERE: Begin event threw error
 java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
 at
 org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
 nstructorAcces
 sorImpl.java:39)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
 gatingConstruc
 torAccessorImpl.java:27)
 at 
 java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 at java.lang.Class.newInstance0(Class.java:350)
 at java.lang.Class.newInstance(Class.java:303)
 at
 org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectC
 reateRule.java
 :205)
 at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
 at
 org.apache.tomcat.util.digester.Digester.startElement(Digester
 .java:1275)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.s
 tartElement(Ab
 stractSAXParser.java:533)
 at
 com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.st
 artElement(XML
 DTDValidator.java:798)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl.scanS
 tartElement(XMLDocumentFragmentScanner
 Impl.java:878)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
 $ContentDispat
 cher.scanRootElementHook(XMLDocumentSc
 annerImpl.java:1157)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl$Fragm
 entContentDispatcher.dispatch(XMLDocum
 entFragmentScannerImpl.java:1794)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl.scanD
 ocument(XMLDocumentFragmentScannerImpl
 .java:368)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
 parse(XML11Con
 figuration.java:834)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
 parse(XML11Con
 figuration.java:764)
 at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XML
 Parser.java:14
 8)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.p
 arse(AbstractS
 AXParser.java:1242)
 at
 org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
 at 
 org.apache.catalina.startup.Catalina.load(Catalina.java:473)
 at 
 org.apache.catalina.startup.Catalina.load(Catalina.java:509)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at 
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at 
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 Caused by: java.lang.NoClassDefFoundError: 
 org/apache/naming/TransactionRef
 at
 org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 
 
 -
 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

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
I have all the jars present in my catalinahome/common/lib.
i believe, those have got corrupted.
is there anyway apart from re-installation to resolve this problem?

-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 2:39 PM
To: 'Tomcat Users List'; 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat not starting


from your stacktrace it appears that this error occurs when XML is being
parsed, because TC can't find a class:

java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef

in my installation (5.5.9) this class is in
%catalina_home%\common\lib\naming-factory.jar so might be worth checking
that you have that

 -Original Message-
 From: Nehal Sangoi [mailto:[EMAIL PROTECTED] 
 Sent: Monday 31 October 2005 06:03
 To: 'Tomcat Users List (E-mail)'
 Subject: Tomcat not starting
 
 
 Infact, i am unable to start all tomcat instances and result 
 is follwoing
 error
 Pls help!!
 
 
 Hi,
 
 I am unable to start one of my tomcat instances. But its 
 getting crashed
 before it starts. Follwoing are the errors found.
 
 
 Oct 31, 2005 12:09:47 AM org.apache.tomcat.util.digester.Digester
 startElement
 SEVERE: Begin event threw error
 java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
 at
 org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
 nstructorAcces
 sorImpl.java:39)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
 gatingConstruc
 torAccessorImpl.java:27)
 at 
 java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 at java.lang.Class.newInstance0(Class.java:350)
 at java.lang.Class.newInstance(Class.java:303)
 at
 org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectC
 reateRule.java
 :205)
 at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
 at
 org.apache.tomcat.util.digester.Digester.startElement(Digester
 .java:1275)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.s
 tartElement(Ab
 stractSAXParser.java:533)
 at
 com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.st
 artElement(XML
 DTDValidator.java:798)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl.scanS
 tartElement(XMLDocumentFragmentScanner
 Impl.java:878)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
 $ContentDispat
 cher.scanRootElementHook(XMLDocumentSc
 annerImpl.java:1157)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl$Fragm
 entContentDispatcher.dispatch(XMLDocum
 entFragmentScannerImpl.java:1794)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl.scanD
 ocument(XMLDocumentFragmentScannerImpl
 .java:368)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
 parse(XML11Con
 figuration.java:834)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
 parse(XML11Con
 figuration.java:764)
 at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XML
 Parser.java:14
 8)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.p
 arse(AbstractS
 AXParser.java:1242)
 at
 org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
 at 
 org.apache.catalina.startup.Catalina.load(Catalina.java:473)
 at 
 org.apache.catalina.startup.Catalina.load(Catalina.java:509)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at 
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at 
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 Caused by: java.lang.NoClassDefFoundError: 
 org/apache/naming/TransactionRef
 at
 org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
Hi,

There was permission issues on common/lib jar files and they were not
accessible by my other tomcat instances. I changed permissions and its
working fine now.

Thanks
Nehal

-Original Message-
From: Nehal Sangoi [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 2:48 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat not starting


I have all the jars present in my catalinahome/common/lib.
i believe, those have got corrupted.
is there anyway apart from re-installation to resolve this problem?

-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 2:39 PM
To: 'Tomcat Users List'; 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat not starting


from your stacktrace it appears that this error occurs when XML is being
parsed, because TC can't find a class:

java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef

in my installation (5.5.9) this class is in
%catalina_home%\common\lib\naming-factory.jar so might be worth checking
that you have that

 -Original Message-
 From: Nehal Sangoi [mailto:[EMAIL PROTECTED]
 Sent: Monday 31 October 2005 06:03
 To: 'Tomcat Users List (E-mail)'
 Subject: Tomcat not starting


 Infact, i am unable to start all tomcat instances and result
 is follwoing
 error
 Pls help!!


 Hi,

 I am unable to start one of my tomcat instances. But its
 getting crashed
 before it starts. Follwoing are the errors found.


 Oct 31, 2005 12:09:47 AM org.apache.tomcat.util.digester.Digester
 startElement
 SEVERE: Begin event threw error
 java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
 at
 org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
 nstructorAcces
 sorImpl.java:39)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
 gatingConstruc
 torAccessorImpl.java:27)
 at
 java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 at java.lang.Class.newInstance0(Class.java:350)
 at java.lang.Class.newInstance(Class.java:303)
 at
 org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectC
 reateRule.java
 :205)
 at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
 at
 org.apache.tomcat.util.digester.Digester.startElement(Digester
 .java:1275)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.s
 tartElement(Ab
 stractSAXParser.java:533)
 at
 com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.st
 artElement(XML
 DTDValidator.java:798)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl.scanS
 tartElement(XMLDocumentFragmentScanner
 Impl.java:878)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
 $ContentDispat
 cher.scanRootElementHook(XMLDocumentSc
 annerImpl.java:1157)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl$Fragm
 entContentDispatcher.dispatch(XMLDocum
 entFragmentScannerImpl.java:1794)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
 nnerImpl.scanD
 ocument(XMLDocumentFragmentScannerImpl
 .java:368)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
 parse(XML11Con
 figuration.java:834)
 at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
 parse(XML11Con
 figuration.java:764)
 at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XML
 Parser.java:14
 8)
 at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.p
 arse(AbstractS
 AXParser.java:1242)
 at
 org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
 at
 org.apache.catalina.startup.Catalina.load(Catalina.java:473)
 at
 org.apache.catalina.startup.Catalina.load(Catalina.java:509)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at
 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java

Tomcat not starting

2005-10-30 Thread Nehal Sangoi
Hi,

I am unable to start one of my tomcat instances. But its getting crashed
before it starts. Follwoing are the errors found.


Oct 31, 2005 12:09:47 AM org.apache.tomcat.util.digester.Digester
startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
at
org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:205)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Ab
stractSAXParser.java:533)
at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XML
DTDValidator.java:798)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanS
tartElement(XMLDocumentFragmentScanner
Impl.java:878)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispat
cher.scanRootElementHook(XMLDocumentSc
annerImpl.java:1157)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
entContentDispatcher.dispatch(XMLDocum
entFragmentScannerImpl.java:1794)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
ocument(XMLDocumentFragmentScannerImpl
.java:368)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
figuration.java:834)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
figuration.java:764)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:14
8)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
AXParser.java:1242)
at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.Catalina.load(Catalina.java:473)
at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
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:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
java.lang.reflect.InvocationTargetException
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:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
Caused by: java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
at
org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)


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



RE: Tomcat not starting

2005-10-30 Thread Nehal Sangoi
Hi,

I am using :

jakarta-tomcat-5.5.9
jdk1.5.0
Solaris10

Please do help -- my Tomcat environment has crashed.

-Original Message-
From: Bob Hall [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 12:14 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Tomcat not starting


Nehal,

Please supply versions of Java and Tomcat that
you are using.

- Bob

--- Nehal Sangoi [EMAIL PROTECTED] wrote:

 Infact, i am unable to start all tomcat instances
 and result is follwoing
 error
 Pls help!!


 Hi,

 I am unable to start one of my tomcat instances. But
 its getting crashed
 before it starts. Follwoing are the errors found.


 Oct 31, 2005 12:09:47 AM
 org.apache.tomcat.util.digester.Digester
 startElement
 SEVERE: Begin event threw error
 java.lang.NoClassDefFoundError:
 org/apache/naming/TransactionRef
 at

org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at

sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
 sorImpl.java:39)
 at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
 torAccessorImpl.java:27)
 at

java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 at
 java.lang.Class.newInstance0(Class.java:350)
 at
 java.lang.Class.newInstance(Class.java:303)
 at

org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
 :205)
 at

org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
 at

org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
 at

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Ab
 stractSAXParser.java:533)
 at

com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XML
 DTDValidator.java:798)
 at

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanS
 tartElement(XMLDocumentFragmentScanner
 Impl.java:878)
 at

com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispat
 cher.scanRootElementHook(XMLDocumentSc
 annerImpl.java:1157)
 at

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
 entContentDispatcher.dispatch(XMLDocum
 entFragmentScannerImpl.java:1794)
 at

com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
 ocument(XMLDocumentFragmentScannerImpl
 .java:368)
 at

com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
 figuration.java:834)
 at

com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
 figuration.java:764)
 at

com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:14
 8)
 at

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
 AXParser.java:1242)
 at

org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
 at

org.apache.catalina.startup.Catalina.load(Catalina.java:473)
 at

org.apache.catalina.startup.Catalina.load(Catalina.java:509)
 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:585)
 at

org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 java.lang.reflect.InvocationTargetException
 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:585)
 at

org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
 at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
 Caused by: java.lang.NoClassDefFoundError:
 org/apache/naming/TransactionRef
 at

org.apache.catalina.core.StandardServer.init(StandardServer.java:94)
 at

sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)



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






__
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

-
To unsubscribe, e-mail: [EMAIL