You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sneha Manohar <sn...@yahoo.co.in> on 2007/11/18 14:32:52 UTC
Problem with Tomacat 4.1
Hi ,
I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
I have set JAVA_HOME ,CATALINA_HOME.
When I start server new window comes & disappears.
when I shutdown I get following eror.
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:179)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Regards
Sneha
---------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
RE: Problem with Tomacat 4.1
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Sneha Manohar [mailto:sneha_hamsini@yahoo.co.in]
> Subject: Re: Problem with Tomacat 4.1
>
> Can you pls suggest which version of tomact should I use ?.
Changing the version of Tomcat won't fix your current problem - you have
to give Tomcat full access to the files it needs. However, there's no
point in you messing around with such an old level when the latest 6.0
version is vastly superior in all respects.
- 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem with Tomacat 4.1
Posted by David Smith <dn...@cornell.edu>.
Provided there are no requirements you have to match the version used by
your company or hosting provider, use the highest available stable
version. The latest Tomcat 5.5.x and 6.0.x versions are both excellent
releases and both implement serious performance improvements over the
4.1 branch. As to the path for download, it's easy enough to navigate
the tomcat website at http://tomcat.apache.org/.
As suggested by others on the list, be sure the user tomcat is running
as has full read/write access on the tomcat installation directory.
--David
Sneha Manohar wrote:
> Hi,
> Can you pls suggest which version of tomact should I use ?. It Will be help full if you can mention path for downloads
>
> Thank In Advance
> sneha
>
> David Smith <dn...@cornell.edu> wrote:
> 'tis a Vista issue. I don't have Vista but I suspect it's firewall is
> blocking your tomcat. Just curious though -- why are you using such an
> old version of tomcat?
>
> --David
>
> Sneha Manohar wrote:
>
>> Hi ,
>> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
>> I have set JAVA_HOME ,CATALINA_HOME.
>> When I start server new window comes & disappears.
>> when I shutdown I get following eror.
>> Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
>> Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
>> Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
>> Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0
>> Catalina.stop: java.net.ConnectException: Connection refused: connect
>> java.net.ConnectException: Connection refused: connect
>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>> at java.net.Socket.connect(Socket.java:519)
>> at java.net.Socket.connect(Socket.java:469)
>> at java.net.Socket.(Socket.java:366)
>> at java.net.Socket.(Socket.java:179)
>> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
>> at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
>> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
>> java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>>
>> Regards
>> Sneha
>>
>>
>> ---------------------------------
>> 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
> ---------------------------------
> Unlimited freedom, unlimited storage. Get it now
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem with Tomacat 4.1
Posted by Sneha Manohar <sn...@yahoo.co.in>.
Hi,
Can you pls suggest which version of tomact should I use ?. It Will be help full if you can mention path for downloads
Thank In Advance
sneha
David Smith <dn...@cornell.edu> wrote:
'tis a Vista issue. I don't have Vista but I suspect it's firewall is
blocking your tomcat. Just curious though -- why are you using such an
old version of tomcat?
--David
Sneha Manohar wrote:
> Hi ,
> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> I have set JAVA_HOME ,CATALINA_HOME.
> When I start server new window comes & disappears.
> when I shutdown I get following eror.
> Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
> Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
> Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
> Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0
> Catalina.stop: java.net.ConnectException: Connection refused: connect
> java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:519)
> at java.net.Socket.connect(Socket.java:469)
> at java.net.Socket.(Socket.java:366)
> at java.net.Socket.(Socket.java:179)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
> Regards
> Sneha
>
>
> ---------------------------------
> 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------
Unlimited freedom, unlimited storage. Get it now
Re: Problem with Tomacat 4.1
Posted by David Smith <dn...@cornell.edu>.
'tis a Vista issue. I don't have Vista but I suspect it's firewall is
blocking your tomcat. Just curious though -- why are you using such an
old version of tomcat?
--David
Sneha Manohar wrote:
> Hi ,
> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> I have set JAVA_HOME ,CATALINA_HOME.
> When I start server new window comes & disappears.
> when I shutdown I get following eror.
> Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
> Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
> Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
> Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0
> Catalina.stop: java.net.ConnectException: Connection refused: connect
> java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:519)
> at java.net.Socket.connect(Socket.java:469)
> at java.net.Socket.<init>(Socket.java:366)
> at java.net.Socket.<init>(Socket.java:179)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
> Regards
> Sneha
>
>
> ---------------------------------
> 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem with Tomacat 4.1
Posted by Martin Gainty <mg...@hotmail.com>.
Can you verify the port is not already bound?
Assuming your CATALINA is configured on 8080
netstat -a | grep 8080
M-
----- Original Message -----
From: "Mark Thomas" <ma...@apache.org>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Sunday, November 18, 2007 10:45 AM
Subject: Re: Problem with Tomacat 4.1
> Sneha Manohar wrote:
> > Hi ,
> > I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> > I have set JAVA_HOME ,CATALINA_HOME.
> > When I start server new window comes & disappears.
>
> Use catalina.bat run to start Tomcat in the current window so you can see
> what the errors are. Alternatively, look in your log directory.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem with Tomacat 4.1
Posted by Mark Thomas <ma...@apache.org>.
Sneha Manohar wrote:
> Hi ,
> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> I have set JAVA_HOME ,CATALINA_HOME.
> When I start server new window comes & disappears.
Use catalina.bat run to start Tomcat in the current window so you can see
what the errors are. Alternatively, look in your log directory.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Problem with Tomacat 4.1
Posted by Sneha Manohar <sn...@yahoo.co.in>.
Thank chuck :)
"Caldarale, Charles R" <Ch...@unisys.com> wrote: > From: Sneha Manohar [mailto:sneha_hamsini@yahoo.co.in]
> Subject: Re: Problem with Tomacat 4.1
>
> javax.naming.NamingException: Cannot rename original file to
> C:\Program Files\Apache Group\Tomcat 4.1\conf\tomcat-users.xml.old
It appears that the Tomcat account doesn't have the necessary
permissions under your Vista. You need to give Tomcat full access to
pretty much everything in its installation directory.
- 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------
Unlimited freedom, unlimited storage. Get it now
RE: Problem with Tomacat 4.1
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Sneha Manohar [mailto:sneha_hamsini@yahoo.co.in]
> Subject: Re: Problem with Tomacat 4.1
>
> javax.naming.NamingException: Cannot rename original file to
> C:\Program Files\Apache Group\Tomcat 4.1\conf\tomcat-users.xml.old
It appears that the Tomcat account doesn't have the necessary
permissions under your Vista. You need to give Tomcat full access to
pretty much everything in its installation directory.
- 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Problem with Tomacat 4.1
Posted by Sneha Manohar <sn...@yahoo.co.in>.
Hi,
Thanks Markus for your help...
I used 'catalina run command instead of startup..I get following exception
GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources
javax.naming.NamingException: Cannot rename original file to C:\Program Files\Ap
ache Group\Tomcat 4.1\conf\tomcat-users.xml.old
at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:205)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:176)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:147)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
2)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
javax.naming.NamingException: Cannot rename original file to C:\Program Files\Ap
ache Group\Tomcat 4.1\conf\tomcat-users.xml.old
at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:302)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: LifecycleException: No UserDatabase component found under key U
serDatabase
LifecycleException: No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:309)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException: Coyote connector has not been started
LifecycleException: Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1
075)
at org.apache.catalina.core.StandardService.stop(StandardService.java:54
6)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
...Can you pls help in debugging
Markus Schönhaber <ma...@schoenhaber.de> wrote:
Sneha Manohar wrote:
[The same as 4 days ago]
What about this:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200711.mbox/%3c473B79E0.2030708@schoenhaber.de%3e
?
Regards
mks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------
Chat on a cool, new interface. No download required. Click here.
Re: Problem with Tomacat 4.1
Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Sneha Manohar wrote:
[The same as 4 days ago]
What about this:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200711.mbox/%3c473B79E0.2030708@schoenhaber.de%3e
?
Regards
mks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org