pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41632: www/tomcat fails to start using lang/openjdk7-bin



>Number:         41632
>Category:       pkg
>Synopsis:       www/tomcat fails to start using lang/openjdk7-bin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 24 16:00:00 +0000 2009
>Originator:     Robert Swindells
>Release:        NetBSD 5.99.13
>Organization:
NetBSD
>Environment:
System: NetBSD stimpy.fdy2.net 5.99.13 NetBSD 5.99.13 (STIMPY) #13: Mon Jun 8 
23:01:11 BST 2009 
rjs%stimpy.fdy2.net@localhost:/u10/src/sys/arch/i386/compile/STIMPY i386
Architecture: i386
Machine: i386
>Description:

The following log file messages are produced:

Jun 24, 2009 1:35:36 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
/usr/pkg/java/openjdk7-bin/jre/lib/i386/client:/usr/pkg/java/openjdk7-bin/jre/lib/i386:/usr/pkg/java/openjdk7-bin/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jun 24, 2009 1:35:37 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 24, 2009 1:35:37 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2330 ms
Jun 24, 2009 1:35:37 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 24, 2009 1:35:37 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Jun 24, 2009 1:35:42 PM 
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-default.xml]
Jun 24, 2009 1:35:42 PM 
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts-plugin.xml]
Jun 24, 2009 1:35:42 PM 
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Parsing configuration file [struts.xml]
Jun 24, 2009 1:35:42 PM org.apache.struts2.config.Settings getLocale
WARNING: Settings: Could not parse struts.locale setting, substituting default 
VM locale
Jun 24, 2009 1:35:44 PM 
com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
INFO: Setting DefaultObjectTypeDeterminer as default ...
Jun 24, 2009 1:35:44 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 24, 2009 1:35:44 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 24, 2009 1:35:44 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/111  config=null
Jun 24, 2009 1:35:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7436 ms
Jun 24, 2009 1:35:44 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]: 
java.net.SocketException: Invalid argument
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at 
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:342)
        at java.net.ServerSocket.bind(ServerSocket.java:367)
        at java.net.ServerSocket.<init>(ServerSocket.java:228)
        at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jun 24, 2009 1:35:44 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jun 24, 2009 1:35:44 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.SocketException: Invalid argument
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:380)
        at java.net.Socket.connect(Socket.java:569)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.<init>(Socket.java:416)
        at java.net.Socket.<init>(Socket.java:232)
        at 
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:487)
        at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:284)
        at org.apache.jk.server.JkMain.pause(JkMain.java:683)
        at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
        at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
        at 
org.apache.catalina.core.StandardService.stop(StandardService.java:563)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:633)
        at 
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:676)
Jun 24, 2009 1:35:45 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 24, 2009 1:35:47 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080

>How-To-Repeat:

        Start tomcat, either from rc.d script or using startup.sh.

>Fix:



Home | Main Index | Thread Index | Old Index