Re: Unable to get a basic install working...

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

 I'm having the same problem, none of these ports are busy. First I tried on
 it's Windows Server 2003 OS, it had this problem, then we deleted the Win
 Server and installed Windows XP. I have no idea...

Are you still having the problem on XP?  Win2k3 Server and WIndows XP
can be miles apart with respect to security quirks.

You have a JDK installed, right?

Also, if you do a 'netstat -n' and none of the ports have been
allocated by another application, there is probably something else
wrong.  Did you install Tomcat as a service?  If so, open a command
window and do a 'net start tomcat5'  Does it start successfully or
does it give an error?

Have you tried looking at the catalina.out file in the
TOMCAT_INSTALL_DIR/logs/ directory?  Does that give you any clue?

-- brian

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



Re: Unable to get a basic install working...

2007-08-29 Thread Hristian

It's all done right, i've installed the same apache tomcat with the same java
on 5 more PCs with no problems at all, but this one. I've all the ports are
free, i've told already... The log shows similar to the error in the log
posted in this forum topic, that's why I posted my question in this one.

SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-a-basic-install-working...-tf4286805.html#a12387900
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



RE: Unable to get a basic install working...

2007-08-29 Thread Caldarale, Charles R
 From: Hristian [mailto:[EMAIL PROTECTED] 
 Subject: Re: Unable to get a basic install working...
 
 SEVERE: StandardServer.await: create[8005]:
 java.net.BindException: Address already in use: JVM_Bind 

That shows that something is using 8005 - perhaps another instance of
Tomcat on the same machine?

 - Chuck


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

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



RE: Unable to get a basic install working...

2007-08-29 Thread Caldarale, Charles R
 From: Caldarale, Charles R 
 Subject: RE: Unable to get a basic install working...
 
  SEVERE: StandardServer.await: create[8005]:
  java.net.BindException: Address already in use: JVM_Bind 
 
 That shows that something is using 8005 - perhaps another 
 instance of Tomcat on the same machine?

What about some form of security software blocking that port?

 - Chuck


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

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



Re: Unable to get a basic install working...

2007-08-29 Thread Sonal Goyal
How about changing the port and trying out so that you can be absolutely
sure?

Sonal

On 8/29/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:

  From: Caldarale, Charles R
  Subject: RE: Unable to get a basic install working...
 
   SEVERE: StandardServer.await: create[8005]:
   java.net.BindException: Address already in use: JVM_Bind
 
  That shows that something is using 8005 - perhaps another
  instance of Tomcat on the same machine?

 What about some form of security software blocking that port?

 - Chuck


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

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




-- 
Thanks and Regards,
Sonal


RE: Unable to get a basic install working...

2007-08-29 Thread Hristian



Caldarale, Charles R wrote:
 
 From: Hristian [mailto:[EMAIL PROTECTED] 
 Subject: Re: Unable to get a basic install working...
 
 SEVERE: StandardServer.await: create[8005]:
 java.net.BindException: Address already in use: JVM_Bind 
 
 That shows that something is using 8005 - perhaps another instance of
 Tomcat on the same machine?
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

How could this be if the port if shows as free on netstat?

-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-a-basic-install-working...-tf4286805.html#a12388163
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Unable to get a basic install working...

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


 How could this be if the port if shows as free on netstat?


Misinterpretation of netstat output?  Don't take that the wrong way,
I'm just trying to be helpful.  Can you send the output to the mailing
list?

I'd follow Sonal's suggestion, because even though netstat might not
be showing it, the catalina.out log is telling you what is wrong.

Before you change ports, I might trying 'telnet localhost 8005' from a
commandline.  If you get connected, issue the command 'SHUTDOWN'
(minus the quotes, ALLCAPS).

If you get connected, but SHUTDOWN doesn't seem to do anything, you
really are using port 8005 for something else.

-- brian

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



Re: Unable to get a basic install working...

2007-08-29 Thread David Smith
One other thought and I don't know how possible this is but it's there 
for your consideration.  Would you happen to have a connector defined 
with the same port number as the shutdown port def.?  It wouldn't be 
bound until tomcat starts and then either the shudown port or the 
connector might bind first, denying the other.


--David

Brian Munroe wrote:


On 8/29/07, Hristian [EMAIL PROTECTED] wrote:

 


How could this be if the port if shows as free on netstat?

   



Misinterpretation of netstat output?  Don't take that the wrong way,
I'm just trying to be helpful.  Can you send the output to the mailing
list?

I'd follow Sonal's suggestion, because even though netstat might not
be showing it, the catalina.out log is telling you what is wrong.

Before you change ports, I might trying 'telnet localhost 8005' from a
commandline.  If you get connected, issue the command 'SHUTDOWN'
(minus the quotes, ALLCAPS).

If you get connected, but SHUTDOWN doesn't seem to do anything, you
really are using port 8005 for something else.

-- brian

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

 




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



Re: Unable to get a basic install working...

2007-08-29 Thread Brian Munroe
On 8/29/07, David Smith [EMAIL PROTECTED] wrote:
 One other thought and I don't know how possible this is but it's there
 for your consideration.  Would you happen to have a connector defined
 with the same port number as the shutdown port def.?  It wouldn't be
 bound until tomcat starts and then either the shudown port or the
 connector might bind first, denying the other.


Oh that is wild edge case, but maybe!

Do you ever feel like a blind man holding the tail of an elephant?

-- brian

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



Re: Unable to get a basic install working...

2007-08-29 Thread David Smith

:-)  Yup... just don't want to be there when nature calls.

--David

Brian Munroe wrote:


On 8/29/07, David Smith [EMAIL PROTECTED] wrote:
 


One other thought and I don't know how possible this is but it's there
for your consideration.  Would you happen to have a connector defined
with the same port number as the shutdown port def.?  It wouldn't be
bound until tomcat starts and then either the shudown port or the
connector might bind first, denying the other.

   



Oh that is wild edge case, but maybe!

Do you ever feel like a blind man holding the tail of an elephant?

-- brian

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

 




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



Unable to get a basic install working...

2007-08-17 Thread Lizard Lizard
Greetings!

I have been given the task of setting up a basic local server to test
out Java servlets and evaluate some web technologies for my company. I
am using Windows XP SP2, Java 1.6, Eclipse 3.2, and Apache 2.2.4. I am
following the directions in the O'Reilly Eclipse Cookbook, and I
downloaded Tomcat 6.0.14. I can Start the tomcat service from the
control panel, but when I connect to http://localhost:8080, I get an
unable to connect error. The only change I made to the installation
defaults was to set a unique admin and password instead of Admin and
no password.

I am sure more information is needed to diagnose this problem, and I
will happily provide it.

Thank you for any support you can offer.

(The Apache Server install is working; I get the default 'It works!' page)

-- 
===
Blog: www.xanga.com/lizard_sf
Currently Working On: All manner of things.

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



Re: Unable to get a basic install working...

2007-08-17 Thread Brian Munroe
On 8/17/07, Lizard Lizard [EMAIL PROTECTED] wrote:

 I am sure more information is needed to diagnose this problem, and I
 will happily provide it.

 Thank you for any support you can offer.


2 things to check.

1.  Do the tomcat logs tell you anything? Located in Tomcat install
directory/logs

2.  From a command window, do a 'netstat -an' and look to see if there
is anything listening on localhost port 8080.

-- brian

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



Re: Unable to get a basic install working...

2007-08-17 Thread Lizard Lizard
Thank you for the tip on netstat. (Dammit, Jim, I'm a database
developer, not a network admin!) (Yes, I know, it's important to learn
all relevant skills and I'm not claiming ignorance is justifiable...)
It did lead me to discover that a)Nothing is listening on 8080, and,
b)Despite windows services telling me that Tomcat is 'started', as
soon as I refresh the list, it stops again. The following is what
seems to be the relevant log material:

Aug 17, 2007 1:56:04 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files\Apache Software Foundation\Tomcat
6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI.ACE\;C:\Program
Files\Intel\Wireless\Bin\;C:\Program Files\K-Lite Codec
Pack\QuickTime\QTSystem\
Aug 17, 2007 1:56:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 17, 2007 1:56:05 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 571 ms
Aug 17, 2007 1:56:05 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 17, 2007 1:56:05 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Aug 17, 2007 1:56:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 17, 2007 1:56:05 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Aug 17, 2007 1:56:05 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=null
Aug 17, 2007 1:56:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 735 ms
Aug 17, 2007 1:56:05 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.init(Unknown Source)
at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Aug 17, 2007 1:56:05 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Aug 17, 2007 1:56:06 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Aug 17, 2007 1:56:06 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080

It claims the address is already in use, but netstat shows nothing on
that address. Stopping the apache server itself did not change this. I
am not sure what else might be running. The log shows the same error
as before.
-- 
===
Blog: www.xanga.com/lizard_sf
Currently Working On: All manner of things.

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



Fixed! Re: Unable to get a basic install working

2007-08-17 Thread Lizard Lizard
I found the problem. Something else was listening on port 8005. I
changed it to 8006 in the XML config file and all worked smoothly from
then on. Thank you for your help; without netstat, I'd never have
managed to puzzle this out.

-- 
===
Blog: www.xanga.com/lizard_sf
Currently Working On: All manner of things.

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



Re: Unable to get a basic install working...

2007-08-17 Thread Brian Munroe
On 8/17/07, Lizard Lizard [EMAIL PROTECTED] wrote:

 SEVERE: StandardServer.await: create[8005]:
 java.net.BindException: Address already in use: JVM_Bind


 It claims the address is already in use, but netstat shows nothing on
 that address. Stopping the apache server itself did not change this. I
 am not sure what else might be running. The log shows the same error
 as before.

How about 8005?  I *think* that is what might be the problem.  If you
do a 'netstat -nb', it will also include which process is using which
port.

A default Tomcat install usually listens on 3 ports:

8005 - The shutdown port, which when sent the correct command (usually
SHUTDOWN) kills the Tomcat process.

8009 - The AJP listener, which is used when integrating with Apache httpd.

8080 - The http listener, which is the built in web server if you are
going to use AJP.

You can change any of these by editing $CATALINA_HOME/conf/server.xml

($CATALINA_HOME  = tomcat install directory)

-- brian

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



Re: Fixed! Re: Unable to get a basic install working

2007-08-17 Thread Brian Munroe
On 8/17/07, Lizard Lizard [EMAIL PROTECTED] wrote:

 I found the problem. Something else was listening on port 8005. I
 changed it to 8006 in the XML config file and all worked smoothly from
 then on. Thank you for your help; without netstat, I'd never have
 managed to puzzle this out.

Ok, great to hear!  Good troubleshooting.

BTW, On Windows, it is a snap to integrate Apache [1] and Tomcat
together.  In your httpd.conf file, uncomment the

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

directive and add something similar to the bottom of httpd.conf

(change the foxmarks to your webapp name):

ProxyRequests Off

Location /foxmarks/
ProxyPass ajp://localhost:8009/foxmarks/
ProxyPassReverse ajp://localhost:8009/foxmarks/
/Location

-- brian

[1] - Assuming you are using a binary release of Apache 2.2.4

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