You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by de...@wexwarez.com on 2004/02/12 04:03:14 UTC

Starting tomcat with a lowlevel user?

I am trying to start tomcat with the "tomcat" user on my debian box.  I am
using tomcat 5 untarred just now.  I can start tomcat with root manually
just fine but I would like tomcat to run as the "tomcat" user.  I created
the tomcat user:
tomcat4:x:103:65534::/usr/share/tomcat4:/bin/false

I created a startup script modelled after the one that comes with debian,
it acts like it starts but doesnt.
And my start up script is:
       echo -n "Starting $DESC using Java from $JAVA_HOME: "
        touch "$PIDFILE" "$LOGDIR/catalina.out" || true
        chown --dereference "$TOMCAT_USER" "$PIDFILE" "$LOGDIR" \
            "$LOGDIR/catalina.out" "$CATALINA_HOME/work" \
            "$CATALINA_HOME/temp" || true
        if start-stop-daemon --test --start --pidfile "$PIDFILE" \
                --user $TOMCAT_USER --startas "$JAVA_HOME/bin/java" \
                >/dev/null; then
                # -p preserves the environment (for $JAVA_HOME etc.)
                # -s is required because tomcat's login shell is /bin/false
                su -p -s /bin/sh $TOMCAT_USER -c \
                         $DAEMON start $STARTUP_OPTS \
                        >>"$LOGDIR/catalina.out" 2>&1
                echo "$NAME."
        else
                echo "(already running)."
        fi
==> /usr/share/tomcat/logs/catalina.out <==
Using CATALINA_BASE:   /usr/share/tomcat
Using CATALINA_HOME:   /usr/share/tomcat
Using CATALINA_TMPDIR: /usr/share/tomcat/temp
Using JAVA_HOME:       /usr/lib/java/javahome
Can't load server.xml
Can't load server.xml
Feb 11, 2004 6:59:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
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:324)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.NullPointerException
        at org.apache.catalina.startup.Catalina.await(Catalina.java:661)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
        ... 6 more
When I attempt to start it my log spits out this:




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


RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by "Filip Hanik (lists)" <de...@hanik.com>.
if you cant ping localhost then your network isn't configured.
go on the MS website and troubleshoot

Filip;

-----Original Message-----
From: Sunit Bansal [mailto:sunitb@nous.soft.net]
Sent: Monday, February 16, 2004 8:33 PM
To: Tomcat Users List
Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sorry for late reply.
Its a standalone with network card installed. I have no other services
running on my machine.
I also assigned IP numner, Subnet mask and gateway to it.
Also when I tried pinging localhost/127.0.0.0/IP address, it failed gave
error 2 back.
Still it didnt work.

Please help

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Thursday, February 12, 2004 10:10 AM
To: Tomcat Users List
Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sunit,

Do you have a firewall enabled?
What other network based services are you running?(IIS, etc)
Is this machine on a network?(Gotta ask)
Can you ping yourself? ping localhost  OR ping 127.0.0.0 OR ping
xxx.xxx.xxx.xxx the ip of your machine

Doug

----- Original Message -----
From: "Sunit Bansal" <su...@nous.soft.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 11, 2004 11:20 PM
Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP


>
> I have XP Professsional installed on  my machine.
> I have jdk1.42 installed and tomcat4.1.27.
> When I try to start tomcat, I am getting following problem----- Please
help
> me solving this. I have spended hours solving this. I have tried changing
> port is config file, but didnt helped.
> Thanks in advance
>
> Bootstrap: Create Catalina server
> Catalina.start: LifecycleException:  Protocol handler initialization
failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler initialization failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
>
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
> 58)
> at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
> )
> at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
> at
> org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
> at
> org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
> Bootstrap: Starting service
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Catalina.start: LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
> at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> at
>
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
> )
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> Bootstrap: Service started
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



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


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


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


Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Parsons Technical Services <pa...@earthlink.net>.
Sunit,

Go to Network Connections.
How many connections do you have?
Open each and see what device it uses. Listed at the top in the box that
says connect using: Or scroll right in Network Connections.
For the one that is the loopback go in and set a gateway as the same as the
ip you set.  Also check to see if the fire wall is enabled. Look on the
advanced tab. Disable it if it is. Click on the configure button beside the
loopback device. Does it show that it is working properly? If you have any
other network connections other than the loopback, right click them and
disable them.

Doug

----- Original Message ----- 
From: "Sunit Bansal" <su...@nous.soft.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 18, 2004 7:06 AM
Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP


> No, I just configured IP and subnet mask.
>
> -Sunit
>   -----Original Message-----
>   From: pavan.k@tcs.com [mailto:pavan.k@tcs.com]
>   Sent: Wednesday, February 18, 2004 5:30 PM
>   To: Tomcat Users List
>   Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP
>
>
>
>   did u configure DNS in advanced properties of tcp/ip???
>
>   Pavan Kumar
>   Tata Consultancy Services
>   Mailto: pavan.k@tcs.com
>   Website: http://www.tcs.com
>
>
>         "Sunit Bansal" <su...@nous.soft.net>
>         02/18/2004 05:46 AM
>               Please respond to
>               "Tomcat Users List" <to...@jakarta.apache.org>
>
>
>        To "Tomcat Users List" <to...@jakarta.apache.org>
>               cc
>               Subject RE: PROBLEM STARTING TOMCAT----------------PLEASE
HELP
>
>
>
>
>
>
>
>   Thanks.
>   I tried that and got some break through.
>   Now instead of "error code 2" ping 127.0.0.1, gives "Destination
>   unreachable"
>   and for ping localhost, it gives unknown host name.
>
>   Also "ipcongif" still doesnt work.
>
>   -Sunit
>
>   -----Original Message-----
>   From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
>   Sent: Wednesday, February 18, 2004 11:28 AM
>   To: Tomcat Users List
>   Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP
>
>
>   Sunit,
>
>   This is moving off topic for the list, but here it goes.
>   First READ all of these instruction. You may find your problem without
>   having to go through all these steps.
>
>
>   Open Network Connections.
>   One at a time right click a network device and select properties.
>   Select uninstall.
>   Do this for all connections.
>   This will cause any network connections to stop functioning(doesn't
sound
>   like they currently are so no problem)
>   Reboot the machine.
>   If you have a NIC card then windows should detect it and install the
>   drivers.
>   Return to Network Connections.
>   Follow these instructions to reinstall the loopback driver:
>
>   To manually install the adapter, follow the steps below:
>
>   Click Start, and choose Control Panel
>
>   Double-click Add Hardware and then click Next.
>   Select Yes, I have already connected the hardware, and then click Next.
>   Scroll down and click Add a new hardware device, and then click Next.
>   Select Install the hardware that I manually select from a list, and then
>   click Next.
>   Click Network adapters, and then click Next.
>   In the Manufacturers box, click Microsoft.
>   In the Network Adapter box, click Microsoft Loopback Adapter, and then
> click
>   Next.
>   Click Next once more and then click Finish.
>   After the adapter is installed successfully, you can configure its
options
>   manually, as with any other adapter. You need to allocate a TCP/IP
> address.
>   To manually configure the adapter's options:
>
>   Select Start | Control Panel and then choose Network Connections.
>   Choose Local Area Connection 2 and click Change settings of this
> connection
>   Highlight Internet Protocol (TCP/IP) and then click Properties.
>   Here you can configure the IP address and Subnet Mask.
>
>   Set IP to something like 192.168.0.2
>
>   Make sure connection is Enabled when viewed from Network Connections.
>   You should see the IP in the Details window located in the lower left of
> the
>   window when you select the connection. Until you have this fixed you
will
> be
>   unable to get TC to run. If after this you are still unable to get a
ping
>   127.0.0.1 to work then you have some issues that need resolved and are
off
>   topic for the list (IMHO).
>
>   Good Luck
>   Doug
>   www.parsonstechnical.com
>
>
>   > TCP/IP is already installed using MS loop back adapter.
>   >
>   > In command promt I tried doing ipcofig: it gives error
>   > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following
> error
>   > "Unable to contact IP driver, error code 2"
>   >
>
>
>
>   ---------------------------------------------------------------------
>   To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>   For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>   ---------------------------------------------------------------------
>   To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>   For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>   ForwardSourceID:NT0000666E
>



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


RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Sunit Bansal <su...@nous.soft.net>.
No, I just configured IP and subnet mask.

-Sunit
  -----Original Message-----
  From: pavan.k@tcs.com [mailto:pavan.k@tcs.com]
  Sent: Wednesday, February 18, 2004 5:30 PM
  To: Tomcat Users List
  Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP



  did u configure DNS in advanced properties of tcp/ip???

  Pavan Kumar
  Tata Consultancy Services
  Mailto: pavan.k@tcs.com
  Website: http://www.tcs.com


        "Sunit Bansal" <su...@nous.soft.net>
        02/18/2004 05:46 AM
              Please respond to
              "Tomcat Users List" <to...@jakarta.apache.org>


       To "Tomcat Users List" <to...@jakarta.apache.org>
              cc
              Subject RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP







  Thanks.
  I tried that and got some break through.
  Now instead of "error code 2" ping 127.0.0.1, gives "Destination
  unreachable"
  and for ping localhost, it gives unknown host name.

  Also "ipcongif" still doesnt work.

  -Sunit

  -----Original Message-----
  From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
  Sent: Wednesday, February 18, 2004 11:28 AM
  To: Tomcat Users List
  Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


  Sunit,

  This is moving off topic for the list, but here it goes.
  First READ all of these instruction. You may find your problem without
  having to go through all these steps.


  Open Network Connections.
  One at a time right click a network device and select properties.
  Select uninstall.
  Do this for all connections.
  This will cause any network connections to stop functioning(doesn't sound
  like they currently are so no problem)
  Reboot the machine.
  If you have a NIC card then windows should detect it and install the
  drivers.
  Return to Network Connections.
  Follow these instructions to reinstall the loopback driver:

  To manually install the adapter, follow the steps below:

  Click Start, and choose Control Panel

  Double-click Add Hardware and then click Next.
  Select Yes, I have already connected the hardware, and then click Next.
  Scroll down and click Add a new hardware device, and then click Next.
  Select Install the hardware that I manually select from a list, and then
  click Next.
  Click Network adapters, and then click Next.
  In the Manufacturers box, click Microsoft.
  In the Network Adapter box, click Microsoft Loopback Adapter, and then
click
  Next.
  Click Next once more and then click Finish.
  After the adapter is installed successfully, you can configure its options
  manually, as with any other adapter. You need to allocate a TCP/IP
address.
  To manually configure the adapter's options:

  Select Start | Control Panel and then choose Network Connections.
  Choose Local Area Connection 2 and click Change settings of this
connection
  Highlight Internet Protocol (TCP/IP) and then click Properties.
  Here you can configure the IP address and Subnet Mask.

  Set IP to something like 192.168.0.2

  Make sure connection is Enabled when viewed from Network Connections.
  You should see the IP in the Details window located in the lower left of
the
  window when you select the connection. Until you have this fixed you will
be
  unable to get TC to run. If after this you are still unable to get a ping
  127.0.0.1 to work then you have some issues that need resolved and are off
  topic for the list (IMHO).

  Good Luck
  Doug
  www.parsonstechnical.com


  > TCP/IP is already installed using MS loop back adapter.
  >
  > In command promt I tried doing ipcofig: it gives error
  > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following
error
  > "Unable to contact IP driver, error code 2"
  >



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


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


  ForwardSourceID:NT0000666E

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by pa...@tcs.com.
did u configure DNS in advanced properties of tcp/ip???

 Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com



"Sunit Bansal" <su...@nous.soft.net> 
02/18/2004 05:46 AM

Please respond to
"Tomcat Users List" <to...@jakarta.apache.org>


To
"Tomcat Users List" <to...@jakarta.apache.org>
cc

Subject
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP






Thanks.
I tried that and got some break through.
Now instead of "error code 2" ping 127.0.0.1, gives "Destination
unreachable"
and for ping localhost, it gives unknown host name.

Also "ipcongif" still doesnt work.

-Sunit

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Wednesday, February 18, 2004 11:28 AM
To: Tomcat Users List
Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sunit,

This is moving off topic for the list, but here it goes.
First READ all of these instruction. You may find your problem without
having to go through all these steps.


Open Network Connections.
One at a time right click a network device and select properties.
Select uninstall.
Do this for all connections.
This will cause any network connections to stop functioning(doesn't sound
like they currently are so no problem)
Reboot the machine.
If you have a NIC card then windows should detect it and install the
drivers.
Return to Network Connections.
Follow these instructions to reinstall the loopback driver:

To manually install the adapter, follow the steps below:

Click Start, and choose Control Panel

Double-click Add Hardware and then click Next.
Select Yes, I have already connected the hardware, and then click Next.
Scroll down and click Add a new hardware device, and then click Next.
Select Install the hardware that I manually select from a list, and then
click Next.
Click Network adapters, and then click Next.
In the Manufacturers box, click Microsoft.
In the Network Adapter box, click Microsoft Loopback Adapter, and then 
click
Next.
Click Next once more and then click Finish.
After the adapter is installed successfully, you can configure its options
manually, as with any other adapter. You need to allocate a TCP/IP 
address.
To manually configure the adapter's options:

Select Start | Control Panel and then choose Network Connections.
Choose Local Area Connection 2 and click Change settings of this 
connection
Highlight Internet Protocol (TCP/IP) and then click Properties.
Here you can configure the IP address and Subnet Mask.

Set IP to something like 192.168.0.2

Make sure connection is Enabled when viewed from Network Connections.
You should see the IP in the Details window located in the lower left of 
the
window when you select the connection. Until you have this fixed you will 
be
unable to get TC to run. If after this you are still unable to get a ping
127.0.0.1 to work then you have some issues that need resolved and are off
topic for the list (IMHO).

Good Luck
Doug
www.parsonstechnical.com


> TCP/IP is already installed using MS loop back adapter.
>
> In command promt I tried doing ipcofig: it gives error
> Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following 
error
> "Unable to contact IP driver, error code 2"
>



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


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


ForwardSourceID:NT0000666E 

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by pa...@tcs.com.
ping to the ip which u configured in ur new settings. and use that

 Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com



"Sunit Bansal" <su...@nous.soft.net> 
02/18/2004 05:46 AM

Please respond to
"Tomcat Users List" <to...@jakarta.apache.org>


To
"Tomcat Users List" <to...@jakarta.apache.org>
cc

Subject
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP






Thanks.
I tried that and got some break through.
Now instead of "error code 2" ping 127.0.0.1, gives "Destination
unreachable"
and for ping localhost, it gives unknown host name.

Also "ipcongif" still doesnt work.

-Sunit

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Wednesday, February 18, 2004 11:28 AM
To: Tomcat Users List
Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sunit,

This is moving off topic for the list, but here it goes.
First READ all of these instruction. You may find your problem without
having to go through all these steps.


Open Network Connections.
One at a time right click a network device and select properties.
Select uninstall.
Do this for all connections.
This will cause any network connections to stop functioning(doesn't sound
like they currently are so no problem)
Reboot the machine.
If you have a NIC card then windows should detect it and install the
drivers.
Return to Network Connections.
Follow these instructions to reinstall the loopback driver:

To manually install the adapter, follow the steps below:

Click Start, and choose Control Panel

Double-click Add Hardware and then click Next.
Select Yes, I have already connected the hardware, and then click Next.
Scroll down and click Add a new hardware device, and then click Next.
Select Install the hardware that I manually select from a list, and then
click Next.
Click Network adapters, and then click Next.
In the Manufacturers box, click Microsoft.
In the Network Adapter box, click Microsoft Loopback Adapter, and then 
click
Next.
Click Next once more and then click Finish.
After the adapter is installed successfully, you can configure its options
manually, as with any other adapter. You need to allocate a TCP/IP 
address.
To manually configure the adapter's options:

Select Start | Control Panel and then choose Network Connections.
Choose Local Area Connection 2 and click Change settings of this 
connection
Highlight Internet Protocol (TCP/IP) and then click Properties.
Here you can configure the IP address and Subnet Mask.

Set IP to something like 192.168.0.2

Make sure connection is Enabled when viewed from Network Connections.
You should see the IP in the Details window located in the lower left of 
the
window when you select the connection. Until you have this fixed you will 
be
unable to get TC to run. If after this you are still unable to get a ping
127.0.0.1 to work then you have some issues that need resolved and are off
topic for the list (IMHO).

Good Luck
Doug
www.parsonstechnical.com


> TCP/IP is already installed using MS loop back adapter.
>
> In command promt I tried doing ipcofig: it gives error
> Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following 
error
> "Unable to contact IP driver, error code 2"
>



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


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


ForwardSourceID:NT0000666E 

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Sunit Bansal <su...@nous.soft.net>.
Thanks.
I tried that and got some break through.
Now instead of "error code 2" ping 127.0.0.1, gives "Destination
unreachable"
and for ping localhost, it gives unknown host name.

Also "ipcongif" still doesnt work.

-Sunit

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Wednesday, February 18, 2004 11:28 AM
To: Tomcat Users List
Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sunit,

This is moving off topic for the list, but here it goes.
First READ all of these instruction. You may find your problem without
having to go through all these steps.


Open Network Connections.
One at a time right click a network device and select properties.
Select uninstall.
Do this for all connections.
This will cause any network connections to stop functioning(doesn't sound
like they currently are so no problem)
Reboot the machine.
If you have a NIC card then windows should detect it and install the
drivers.
Return to Network Connections.
Follow these instructions to reinstall the loopback driver:

To manually install the adapter, follow the steps below:

Click Start, and choose Control Panel

Double-click Add Hardware and then click Next.
Select Yes, I have already connected the hardware, and then click Next.
Scroll down and click Add a new hardware device, and then click Next.
Select Install the hardware that I manually select from a list, and then
click Next.
Click Network adapters, and then click Next.
In the Manufacturers box, click Microsoft.
In the Network Adapter box, click Microsoft Loopback Adapter, and then click
Next.
Click Next once more and then click Finish.
After the adapter is installed successfully, you can configure its options
manually, as with any other adapter. You need to allocate a TCP/IP address.
To manually configure the adapter's options:

Select Start | Control Panel and then choose Network Connections.
Choose Local Area Connection 2 and click Change settings of this connection
Highlight Internet Protocol (TCP/IP) and then click Properties.
Here you can configure the IP address and Subnet Mask.

Set IP to something like 192.168.0.2

Make sure connection is Enabled when viewed from Network Connections.
You should see the IP in the Details window located in the lower left of the
window when you select the connection. Until you have this fixed you will be
unable to get TC to run. If after this you are still unable to get a ping
127.0.0.1 to work then you have some issues that need resolved and are off
topic for the list (IMHO).

Good Luck
Doug
www.parsonstechnical.com


> TCP/IP is already installed using MS loop back adapter.
>
> In command promt I tried doing ipcofig: it gives error
> Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error
> "Unable to contact IP driver, error code 2"
>



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


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


Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Parsons Technical Services <pa...@earthlink.net>.
Sunit,

This is moving off topic for the list, but here it goes.
First READ all of these instruction. You may find your problem without
having to go through all these steps.


Open Network Connections.
One at a time right click a network device and select properties.
Select uninstall.
Do this for all connections.
This will cause any network connections to stop functioning(doesn't sound
like they currently are so no problem)
Reboot the machine.
If you have a NIC card then windows should detect it and install the
drivers.
Return to Network Connections.
Follow these instructions to reinstall the loopback driver:

To manually install the adapter, follow the steps below:

Click Start, and choose Control Panel

Double-click Add Hardware and then click Next.
Select Yes, I have already connected the hardware, and then click Next.
Scroll down and click Add a new hardware device, and then click Next.
Select Install the hardware that I manually select from a list, and then
click Next.
Click Network adapters, and then click Next.
In the Manufacturers box, click Microsoft.
In the Network Adapter box, click Microsoft Loopback Adapter, and then click
Next.
Click Next once more and then click Finish.
After the adapter is installed successfully, you can configure its options
manually, as with any other adapter. You need to allocate a TCP/IP address.
To manually configure the adapter's options:

Select Start | Control Panel and then choose Network Connections.
Choose Local Area Connection 2 and click Change settings of this connection
Highlight Internet Protocol (TCP/IP) and then click Properties.
Here you can configure the IP address and Subnet Mask.

Set IP to something like 192.168.0.2

Make sure connection is Enabled when viewed from Network Connections.
You should see the IP in the Details window located in the lower left of the
window when you select the connection. Until you have this fixed you will be
unable to get TC to run. If after this you are still unable to get a ping
127.0.0.1 to work then you have some issues that need resolved and are off
topic for the list (IMHO).

Good Luck
Doug
www.parsonstechnical.com


> TCP/IP is already installed using MS loop back adapter.
>
> In command promt I tried doing ipcofig: it gives error
> Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error
> "Unable to contact IP driver, error code 2"
>



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


RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Sunit Bansal <su...@nous.soft.net>.
TCP/IP is already installed using MS loop back adapter.

In command promt I tried doing ipcofig: it gives error
Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error
"Unable to contact IP driver, error code 2"

-Sunit
  -----Original Message-----
  From: pavan.k@tcs.com [mailto:pavan.k@tcs.com]
  Sent: Tuesday, February 17, 2004 10:34 AM
  To: Tomcat Users List
  Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP



  can you view TCP/IP under ur netwrork adapter,if then check the IP of
it..if you dont have it then
  install TCP/IP using MS Loop back adapter

  Pavan Kumar
  Tata Consultancy Services
  Mailto: pavan.k@tcs.com
  Website: http://www.tcs.com


        "Sunit Bansal" <su...@nous.soft.net>
        02/16/2004 11:32 PM
              Please respond to
              "Tomcat Users List" <to...@jakarta.apache.org>


       To "Tomcat Users List" <to...@jakarta.apache.org>
              cc
              Subject RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP







  Sorry for late reply.
  Its a standalone with network card installed. I have no other services
  running on my machine.
  I also assigned IP numner, Subnet mask and gateway to it.
  Also when I tried pinging localhost/127.0.0.0/IP address, it failed gave
  error 2 back.
  Still it didnt work.

  Please help

  -----Original Message-----
  From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
  Sent: Thursday, February 12, 2004 10:10 AM
  To: Tomcat Users List
  Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


  Sunit,

  Do you have a firewall enabled?
  What other network based services are you running?(IIS, etc)
  Is this machine on a network?(Gotta ask)
  Can you ping yourself? ping localhost  OR ping 127.0.0.0 OR ping
  xxx.xxx.xxx.xxx the ip of your machine

  Doug

  ----- Original Message -----
  From: "Sunit Bansal" <su...@nous.soft.net>
  To: "Tomcat Users List" <to...@jakarta.apache.org>
  Sent: Wednesday, February 11, 2004 11:20 PM
  Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP


  >
  > I have XP Professsional installed on  my machine.
  > I have jdk1.42 installed and tomcat4.1.27.
  > When I try to start tomcat, I am getting following problem----- Please
  help
  > me solving this. I have spended hours solving this. I have tried
changing
  > port is config file, but didnt helped.
  > Thanks in advance
  >
  > Bootstrap: Create Catalina server
  > Catalina.start: LifecycleException:  Protocol handler initialization
  failed:
  > java.net.SocketException: Network is down: JVM_Bind
  > LifecycleException:  Protocol handler initialization failed:
  > java.net.SocketException: Network is down: JVM_Bind
  > at
  >

org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
  > 58)
  > at
  >

org.apache.catalina.core.StandardService.initialize(StandardService.java:579
  > )
  > at
  >

org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
  > at
  >
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
  > at
  >
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
  > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  > at
  >

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  > )
  > at
  >

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  > .java:25)
  > at java.lang.reflect.Method.invoke(Method.java:324)
  > at
  >

org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
  > at
  >

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
  > Bootstrap: Starting service
  > Starting service Tomcat-Standalone
  > Apache Tomcat/4.1.27
  > Catalina.start: LifecycleException:  Protocol handler start failed:
  > java.net.SocketException: Network is down: JVM_Bind
  > LifecycleException:  Protocol handler start failed:
  > java.net.SocketException: Network is down: JVM_Bind
  > at
  >
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
  > at
  org.apache.catalina.core.StandardService.start(StandardService.java:506)
  > at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
  > at
  >

org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
  > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  > at
  >

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  > )
  > at
  >

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  > .java:25)
  > at java.lang.reflect.Method.invoke(Method.java:324)
  > at
  >

org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
  > )
  > at
  >

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
  > Bootstrap: Service started
  >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
  > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
  >



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


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


  ForwardSourceID:NT00006362

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by pa...@tcs.com.
can you view TCP/IP under ur netwrork adapter,if then check the IP of 
it..if you dont have it then 
install TCP/IP using MS Loop back adapter

 Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com



"Sunit Bansal" <su...@nous.soft.net> 
02/16/2004 11:32 PM

Please respond to
"Tomcat Users List" <to...@jakarta.apache.org>


To
"Tomcat Users List" <to...@jakarta.apache.org>
cc

Subject
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP






Sorry for late reply.
Its a standalone with network card installed. I have no other services
running on my machine.
I also assigned IP numner, Subnet mask and gateway to it.
Also when I tried pinging localhost/127.0.0.0/IP address, it failed gave
error 2 back.
Still it didnt work.

Please help

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Thursday, February 12, 2004 10:10 AM
To: Tomcat Users List
Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sunit,

Do you have a firewall enabled?
What other network based services are you running?(IIS, etc)
Is this machine on a network?(Gotta ask)
Can you ping yourself? ping localhost  OR ping 127.0.0.0 OR ping
xxx.xxx.xxx.xxx the ip of your machine

Doug

----- Original Message -----
From: "Sunit Bansal" <su...@nous.soft.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 11, 2004 11:20 PM
Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP


>
> I have XP Professsional installed on  my machine.
> I have jdk1.42 installed and tomcat4.1.27.
> When I try to start tomcat, I am getting following problem----- Please
help
> me solving this. I have spended hours solving this. I have tried 
changing
> port is config file, but didnt helped.
> Thanks in advance
>
> Bootstrap: Create Catalina server
> Catalina.start: LifecycleException:  Protocol handler initialization
failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler initialization failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
>
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
> 58)
> at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
> )
> at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
> at
> 
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
> at
> 
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
> Bootstrap: Starting service
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Catalina.start: LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
> 
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
> at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
> at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> at
>
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
> )
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> Bootstrap: Service started
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



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


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


ForwardSourceID:NT00006362 

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Sunit Bansal <su...@nous.soft.net>.
Sorry for late reply.
Its a standalone with network card installed. I have no other services
running on my machine.
I also assigned IP numner, Subnet mask and gateway to it.
Also when I tried pinging localhost/127.0.0.0/IP address, it failed gave
error 2 back.
Still it didnt work.

Please help

-----Original Message-----
From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
Sent: Thursday, February 12, 2004 10:10 AM
To: Tomcat Users List
Subject: Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP


Sunit,

Do you have a firewall enabled?
What other network based services are you running?(IIS, etc)
Is this machine on a network?(Gotta ask)
Can you ping yourself? ping localhost  OR ping 127.0.0.0 OR ping
xxx.xxx.xxx.xxx the ip of your machine

Doug

----- Original Message -----
From: "Sunit Bansal" <su...@nous.soft.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 11, 2004 11:20 PM
Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP


>
> I have XP Professsional installed on  my machine.
> I have jdk1.42 installed and tomcat4.1.27.
> When I try to start tomcat, I am getting following problem----- Please
help
> me solving this. I have spended hours solving this. I have tried changing
> port is config file, but didnt helped.
> Thanks in advance
>
> Bootstrap: Create Catalina server
> Catalina.start: LifecycleException:  Protocol handler initialization
failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler initialization failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
>
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
> 58)
> at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
> )
> at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
> at
> org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
> at
> org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
> Bootstrap: Starting service
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Catalina.start: LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
> at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> at
>
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
> )
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> Bootstrap: Service started
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



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


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


Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Parsons Technical Services <pa...@earthlink.net>.
Sunit,

Do you have a firewall enabled?
What other network based services are you running?(IIS, etc)
Is this machine on a network?(Gotta ask)
Can you ping yourself? ping localhost  OR ping 127.0.0.0 OR ping
xxx.xxx.xxx.xxx the ip of your machine

Doug

----- Original Message ----- 
From: "Sunit Bansal" <su...@nous.soft.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, February 11, 2004 11:20 PM
Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP


>
> I have XP Professsional installed on  my machine.
> I have jdk1.42 installed and tomcat4.1.27.
> When I try to start tomcat, I am getting following problem----- Please
help
> me solving this. I have spended hours solving this. I have tried changing
> port is config file, but didnt helped.
> Thanks in advance
>
> Bootstrap: Create Catalina server
> Catalina.start: LifecycleException:  Protocol handler initialization
failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler initialization failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
>
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
> 58)
> at
>
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
> )
> at
>
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
> at
> org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
> at
> org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
> Bootstrap: Starting service
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Catalina.start: LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> LifecycleException:  Protocol handler start failed:
> java.net.SocketException: Network is down: JVM_Bind
> at
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
> at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> at
>
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
>
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
> )
> at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> Bootstrap: Service started
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



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


RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by pa...@tcs.com.
Bansal,
as said earlier configure the MS loop back adapter..though you may have a 
netwrok card installed
it may not be configured properly..can you see any LAN connection in 
Network and Dial up connections..
though you are not in a network, configuring MS Lop back adapter solves 
your problem..


 Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com



"Sunit Bansal" <su...@nous.soft.net> 
02/16/2004 11:31 PM

Please respond to
"Tomcat Users List" <to...@jakarta.apache.org>


To
"Tomcat Users List" <to...@jakarta.apache.org>
cc

Subject
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP






Sorry for late reply.
Its a standalone with network card installed. Also when I tried pinging
localhost, it failed gave error 2 back.
I also assigned IP numner, Subnet mask and gateway to it.
Still it didnt work.

Please help
  -----Original Message-----
  From: pavan.k@tcs.com [mailto:pavan.k@tcs.com]
  Sent: Thursday, February 12, 2004 10:11 AM
  To: Tomcat Users List
  Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP



  i dont know if you are using a stand alone machine(which is not 
connected
to any network)
   for ur development..
  if yes then try to configure some loop back adapter in windows if u dont
have any network card installed..
  u can configure loop back adapter in LAN connection properties.

  Pavan Kumar
  Tata Consultancy Services
  Mailto: pavan.k@tcs.com
  Website: http://www.tcs.com


        "Filip Hanik \(lists\)" <de...@hanik.com>
        02/11/2004 11:29 PM
              Please respond to
              "Tomcat Users List" <to...@jakarta.apache.org>


       To "Tomcat Users List" <to...@jakarta.apache.org>
              cc
              Subject RE: PROBLEM STARTING TOMCAT----------------PLEASE 
HELP







  you probably are missing or not running the network services.

  I am not sure which one this is, but go under Control 
Panel|Administrative
  Tools|Services

  Filip

  -----Original Message-----
  From: Sunit Bansal [mailto:sunitb@nous.soft.net]
  Sent: Wednesday, February 11, 2004 8:20 PM
  To: Tomcat Users List
  Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP



  I have XP Professsional installed on  my machine.
  I have jdk1.42 installed and tomcat4.1.27.
  When I try to start tomcat, I am getting following problem----- Please
help
  me solving this. I have spended hours solving this. I have tried 
changing
  port is config file, but didnt helped.
  Thanks in advance

  Bootstrap: Create Catalina server
  Catalina.start: LifecycleException:  Protocol handler initialization
failed:
  java.net.SocketException: Network is down: JVM_Bind
  LifecycleException:  Protocol handler initialization failed:
  java.net.SocketException: Network is down: JVM_Bind
                  at

org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
  58)
                  at

org.apache.catalina.core.StandardService.initialize(StandardService.java:579
  )
                  at

org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
                  at
 
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
                  at
 
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
                  at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  )
                  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  .java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at

org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
                  at

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
  Bootstrap: Starting service
  Starting service Tomcat-Standalone
  Apache Tomcat/4.1.27
  Catalina.start: LifecycleException:  Protocol handler start failed:
  java.net.SocketException: Network is down: JVM_Bind
  LifecycleException:  Protocol handler start failed:
  java.net.SocketException: Network is down: JVM_Bind
                  at
 
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
                  at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
                  at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
                  at

org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
                  at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  )
                  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  .java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at

org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
  )
                  at

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
  Bootstrap: Service started


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
  For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
  ---
  Incoming mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


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


  ForwardSourceID:NT00005C16

ForwardSourceID:NT0000635E 

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Sunit Bansal <su...@nous.soft.net>.
Sorry for late reply.
Its a standalone with network card installed. Also when I tried pinging
localhost, it failed gave error 2 back.
I also assigned IP numner, Subnet mask and gateway to it.
Still it didnt work.

Please help
  -----Original Message-----
  From: pavan.k@tcs.com [mailto:pavan.k@tcs.com]
  Sent: Thursday, February 12, 2004 10:11 AM
  To: Tomcat Users List
  Subject: RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP



  i dont know if you are using a stand alone machine(which is not connected
to any network)
   for ur development..
  if yes then try to configure some loop back adapter in windows if u dont
have any network card installed..
  u can configure loop back adapter in LAN connection properties.

  Pavan Kumar
  Tata Consultancy Services
  Mailto: pavan.k@tcs.com
  Website: http://www.tcs.com


        "Filip Hanik \(lists\)" <de...@hanik.com>
        02/11/2004 11:29 PM
              Please respond to
              "Tomcat Users List" <to...@jakarta.apache.org>


       To "Tomcat Users List" <to...@jakarta.apache.org>
              cc
              Subject RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP







  you probably are missing or not running the network services.

  I am not sure which one this is, but go under Control Panel|Administrative
  Tools|Services

  Filip

  -----Original Message-----
  From: Sunit Bansal [mailto:sunitb@nous.soft.net]
  Sent: Wednesday, February 11, 2004 8:20 PM
  To: Tomcat Users List
  Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP



  I have XP Professsional installed on  my machine.
  I have jdk1.42 installed and tomcat4.1.27.
  When I try to start tomcat, I am getting following problem----- Please
help
  me solving this. I have spended hours solving this. I have tried changing
  port is config file, but didnt helped.
  Thanks in advance

  Bootstrap: Create Catalina server
  Catalina.start: LifecycleException:  Protocol handler initialization
failed:
  java.net.SocketException: Network is down: JVM_Bind
  LifecycleException:  Protocol handler initialization failed:
  java.net.SocketException: Network is down: JVM_Bind
                  at

org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
  58)
                  at

org.apache.catalina.core.StandardService.initialize(StandardService.java:579
  )
                  at

org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
                  at
  org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
                  at
  org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
                  at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  )
                  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  .java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at

org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
                  at

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
  Bootstrap: Starting service
  Starting service Tomcat-Standalone
  Apache Tomcat/4.1.27
  Catalina.start: LifecycleException:  Protocol handler start failed:
  java.net.SocketException: Network is down: JVM_Bind
  LifecycleException:  Protocol handler start failed:
  java.net.SocketException: Network is down: JVM_Bind
                  at
  org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
                  at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
                  at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
                  at

org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
                  at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
  )
                  at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
  .java:25)
                  at java.lang.reflect.Method.invoke(Method.java:324)
                  at

org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
  )
                  at

org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
  Bootstrap: Service started


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
  For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
  ---
  Incoming mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


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


  ForwardSourceID:NT00005C16

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by pa...@tcs.com.
i dont know if you are using a stand alone machine(which is not connected 
to any network)
 for ur development..
if yes then try to configure some loop back adapter in windows if u dont 
have any network card installed..
u can configure loop back adapter in LAN connection properties.

Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com



"Filip Hanik \(lists\)" <de...@hanik.com> 
02/11/2004 11:29 PM

Please respond to
"Tomcat Users List" <to...@jakarta.apache.org>


To
"Tomcat Users List" <to...@jakarta.apache.org>
cc

Subject
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP






you probably are missing or not running the network services.

I am not sure which one this is, but go under Control Panel|Administrative
Tools|Services

Filip

-----Original Message-----
From: Sunit Bansal [mailto:sunitb@nous.soft.net]
Sent: Wednesday, February 11, 2004 8:20 PM
To: Tomcat Users List
Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP



I have XP Professsional installed on  my machine.
I have jdk1.42 installed and tomcat4.1.27.
When I try to start tomcat, I am getting following problem----- Please 
help
me solving this. I have spended hours solving this. I have tried changing
port is config file, but didnt helped.
Thanks in advance

Bootstrap: Create Catalina server
Catalina.start: LifecycleException:  Protocol handler initialization 
failed:
java.net.SocketException: Network is down: JVM_Bind
LifecycleException:  Protocol handler initialization failed:
java.net.SocketException: Network is down: JVM_Bind
                 at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
58)
                 at
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
)
                 at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
                 at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
                 at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
                 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:324)
                 at
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
                 at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
Bootstrap: Starting service
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Catalina.start: LifecycleException:  Protocol handler start failed:
java.net.SocketException: Network is down: JVM_Bind
LifecycleException:  Protocol handler start failed:
java.net.SocketException: Network is down: JVM_Bind
                 at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
                 at 
org.apache.catalina.core.StandardService.start(StandardService.java:506)
                 at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
                 at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
                 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:324)
                 at
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
)
                 at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
Bootstrap: Service started


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


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


ForwardSourceID:NT00005C16 

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by "Filip Hanik (lists)" <de...@hanik.com>.
you probably are missing or not running the network services.

I am not sure which one this is, but go under Control Panel|Administrative
Tools|Services

Filip

-----Original Message-----
From: Sunit Bansal [mailto:sunitb@nous.soft.net]
Sent: Wednesday, February 11, 2004 8:20 PM
To: Tomcat Users List
Subject: PROBLEM STARTING TOMCAT----------------PLEASE HELP



I have XP Professsional installed on  my machine.
I have jdk1.42 installed and tomcat4.1.27.
When I try to start tomcat, I am getting following problem----- Please help
me solving this. I have spended hours solving this. I have tried changing
port is config file, but didnt helped.
Thanks in advance

Bootstrap: Create Catalina server
Catalina.start: LifecycleException:  Protocol handler initialization failed:
java.net.SocketException: Network is down: JVM_Bind
LifecycleException:  Protocol handler initialization failed:
java.net.SocketException: Network is down: JVM_Bind
	at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
58)
	at
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
)
	at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
	at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
	at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
	at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
Bootstrap: Starting service
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Catalina.start: LifecycleException:  Protocol handler start failed:
java.net.SocketException: Network is down: JVM_Bind
LifecycleException:  Protocol handler start failed:
java.net.SocketException: Network is down: JVM_Bind
	at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
	at org.apache.catalina.core.StandardService.start(StandardService.java:506)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
)
	at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
Bootstrap: Service started


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


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


PROBLEM STARTING TOMCAT----------------PLEASE HELP

Posted by Sunit Bansal <su...@nous.soft.net>.
I have XP Professsional installed on  my machine.
I have jdk1.42 installed and tomcat4.1.27.
When I try to start tomcat, I am getting following problem----- Please help
me solving this. I have spended hours solving this. I have tried changing
port is config file, but didnt helped.
Thanks in advance

Bootstrap: Create Catalina server
Catalina.start: LifecycleException:  Protocol handler initialization failed:
java.net.SocketException: Network is down: JVM_Bind
LifecycleException:  Protocol handler initialization failed:
java.net.SocketException: Network is down: JVM_Bind
	at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:11
58)
	at
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
)
	at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
	at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:236)
	at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
	at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
Bootstrap: Starting service
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Catalina.start: LifecycleException:  Protocol handler start failed:
java.net.SocketException: Network is down: JVM_Bind
LifecycleException:  Protocol handler start failed:
java.net.SocketException: Network is down: JVM_Bind
	at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1182)
	at org.apache.catalina.core.StandardService.start(StandardService.java:506)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245
)
	at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
Bootstrap: Service started


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


Re: Starting tomcat with a lowlevel user?

Posted by Sunitha Kumar <su...@cisco.com>.
Looks like a permissions problem. The files should all be owned by user 
tomcat..

developer@wexwarez.com wrote:

>I am trying to start tomcat with the "tomcat" user on my debian box.  I am
>using tomcat 5 untarred just now.  I can start tomcat with root manually
>just fine but I would like tomcat to run as the "tomcat" user.  I created
>the tomcat user:
>tomcat4:x:103:65534::/usr/share/tomcat4:/bin/false
>
>I created a startup script modelled after the one that comes with debian,
>it acts like it starts but doesnt.
>And my start up script is:
>       echo -n "Starting $DESC using Java from $JAVA_HOME: "
>        touch "$PIDFILE" "$LOGDIR/catalina.out" || true
>        chown --dereference "$TOMCAT_USER" "$PIDFILE" "$LOGDIR" \
>            "$LOGDIR/catalina.out" "$CATALINA_HOME/work" \
>            "$CATALINA_HOME/temp" || true
>        if start-stop-daemon --test --start --pidfile "$PIDFILE" \
>                --user $TOMCAT_USER --startas "$JAVA_HOME/bin/java" \
>                >/dev/null; then
>                # -p preserves the environment (for $JAVA_HOME etc.)
>                # -s is required because tomcat's login shell is /bin/false
>                su -p -s /bin/sh $TOMCAT_USER -c \
>                         $DAEMON start $STARTUP_OPTS \
>                        >>"$LOGDIR/catalina.out" 2>&1
>                echo "$NAME."
>        else
>                echo "(already running)."
>        fi
>==> /usr/share/tomcat/logs/catalina.out <==
>Using CATALINA_BASE:   /usr/share/tomcat
>Using CATALINA_HOME:   /usr/share/tomcat
>Using CATALINA_TMPDIR: /usr/share/tomcat/temp
>Using JAVA_HOME:       /usr/lib/java/javahome
>Can't load server.xml
>Can't load server.xml
>Feb 11, 2004 6:59:02 PM org.apache.catalina.startup.Catalina start
>INFO: Server startup in 0 ms
>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:324)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
>Caused by: java.lang.NullPointerException
>        at org.apache.catalina.startup.Catalina.await(Catalina.java:661)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
>        ... 6 more
>When I attempt to start it my log spits out this:
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

-- 
Sunitha Kumar
Software Engineer
http://www.cisco.com




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