Problem in tomcat 5.5 and 6.0

2007-03-16 Thread Huynh Van Chung
Hi all.

I have a server with FreeBSD 6.1 and i try to install tomcat. But the tomcat
daemon can't run. And the error is 

2007/03/17 0:47:27 org.apache.catalina.core.StandardServer await
致命的: StandardServer.await: create[8005]: 
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.init(ServerSocket.java:185)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Please help me. Thank a lot


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem in tomcat 5.5 and 6.0

2007-03-16 Thread Pete French
 I have a server with FreeBSD 6.1 and i try to install tomcat. But the tomcat
 daemon can't run. And the error is 

What version of Java did you install ?

-ete.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem in tomcat 5.5 and 6.0

2007-03-16 Thread Pietro Cerutti

On 3/16/07, Huynh Van Chung [EMAIL PROTECTED] wrote:

Hi all.

I have a server with FreeBSD 6.1 and i try to install tomcat. But the tomcat
daemon can't run. And the error is

2007/03/17 0:47:27 org.apache.catalina.core.StandardServer await
致命的: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address


You probably built your JDK without IPv6 support.
Add this line to your /etc/rc.conf file
jakarta_tomcat55_java_opts=-Djava.net.preferIPv4Stack=true


Please help me. Thank a lot


Hope this helps,

--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Problem in tomcat 5.5 and 6.0

2007-03-16 Thread Huynh Van Chung
What version of Java did you install ?

I use the jdk 1.5.0 p3.
chunglien:~% pkg_info | grep jdk-1.5
jdk-1.5.0p3 Java Development Kit 1.5.0



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem in tomcat 5.5 and 6.0

2007-03-16 Thread Huynh Van Chung
.
|+-+--|
||   Huynh Van Chung   |  |
||   [EMAIL PROTECTED] |   To:   
|
||   Sent by:  |   freebsd-stable@freebsd.org |
||   [EMAIL PROTECTED]|   cc:   
|
||   reebsd.org|   Subject:Problem in  
  |
|| |   tomcat 5.5 and 6.0 |
||   03/16/2007 03:56 PM   |  |
|| |  |
|+-+--|






Hi all.

I have a server with FreeBSD 6.1 and i try to install tomcat. But the
tomcat
daemon can't run. And the error is

2007/03/17 0:47:27 org.apache.catalina.core.StandardServer await



致命的: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address




   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.init(ServerSocket.java:185)
   at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
   at
org.apache.catalina.startup.Catalina.await(Catalina.java:616)
   at
org.apache.catalina.startup.Catalina.start(Catalina.java:576)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Please help me. Thank a lot


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to
[EMAIL PROTECTED]






___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem in tomcat 5.5 and 6.0

2007-03-16 Thread Huynh Van Chung
Hi Pietro Cerutti

Thank you a lot. Tomcat 6.0 can run with this option:
tomcat60_java_opts=-Djava.net.preferIPv4Stack=true

Huynh Van Chung

Pietro Cerutti [EMAIL PROTECTED] wrote*: 


On 3/16/07, Huynh Van Chung [EMAIL PROTECTED] wrote:
 Hi all.

 I have a server with FreeBSD 6.1 and i try to install tomcat. But the
tomcat
 daemon can't run. And the error is

 2007/03/17 0:47:27 org.apache.catalina.core.StandardServer await
 致命的: StandardServer.await: create[8005]:
 java.net.BindException: Can't assign requested address

You probably built your JDK without IPv6 support.
Add this line to your /etc/rc.conf file
jakarta_tomcat55_java_opts=-Djava.net.preferIPv4Stack=true

 Please help me. Thank a lot

Hope this helps,

-- 
Pietro Cerutti

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]