Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003892 [Resin] minor always 02-17-10 20:23 06-07-10 08:46
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.8 Product Version 4.0.3
  Product Build
Summary 0003892: Starting Resin with JNI as root on Solaris fails on new ServerSocket(0, 5, InetAddress.getByname("127.1")).accept()
Description compile JNI to 32bit
root@opensolaris:~/appservers/resin-pro-4.0.3# bin/resin.sh start
Resin/4.0.3 launching watchdog at 127.0.0.1:6600
Resin/4.0.3 started -server '' for watchdog at 127.0.0.1:6600
root@opensolaris:~/appservers/resin-pro-4.0.3# cat log/*
[2010/02/17 20:19:37.119]
[2010/02/17 20:19:37.120] 004444.license -- version expired 07-08-03 -- 2 Resin servers Acme 4, Inc
[2010/02/17 20:19:37.120] 1009159.license -- version expired 09-12-30 -- 1 Resin server Caucho
[2010/02/17 20:19:37.120] 1007896.license -- version expired 09-03-05 -- 1 Resin server Caucho Test
[2010/02/17 20:19:37.120] 002222.license -- version expired 07-08-03 -- 1 Resin server Acme 2, Inc
[2010/02/17 20:19:37.121] 1006446.license -- version expired 08-03-05 -- 1 Resin server Caucho Test
[2010/02/17 20:19:37.121] 003333.license -- version expired 07-08-03 -- 1 Resin server Acme 3, Inc
[2010/02/17 20:19:37.121] 1007078.license -- version expired 08-08-02 --0 servers Caucho Test
[2010/02/17 20:19:37.121] 001111.license -- version expired 06-08-03 -- 1 Resin server Acme, Inc
[2010/02/17 20:19:37.121]
[2010/02/17 20:19:37.249]
[2010/02/17 20:19:37.249] SunOS 5.11 x86
[2010/02/17 20:19:37.250] Java(TM) SE Runtime Environment 1.6.0_18-b07, UTF-8, en
[2010/02/17 20:19:37.250] Java HotSpot(TM) Server VM 16.0-b13, 32, mixed mode, Sun Microsystems Inc.
[2010/02/17 20:19:37.250]
[2010/02/17 20:19:37.250] resin.home = /export/home/alex/appservers/resin-pro-4.0.3/
[2010/02/17 20:19:37.250] resin.root = /export/home/alex/appservers/resin-pro-4.0.3/
[2010/02/17 20:19:37.250]
[2010/02/17 20:19:37.250] watchdog = 127.0.0.1:0 (:)
[2010/02/17 20:19:37.251] user.name = root
[2010/02/17 20:19:37.251] stage = default
[2010/02/17 20:19:37.253] Non-blocking keepalive enabled with max sockets = 65280
[2010/02/17 20:19:37.360]
[2010/02/17 20:19:37.369] server listening to opensolaris:47340
[2010/02/17 20:19:37.372] http listening to opensolaris:6600
[2010/02/17 20:19:37.373]
[2010/02/17 20:19:37.374] ProServer[id=,cluster=] active
[2010/02/17 20:19:37.374] JNI: file, nio keepalive, socket
[2010/02/17 20:19:37.374]
[2010/02/17 20:19:37.617] WebApp[http://admin.resin] [^] active
[2010/02/17 20:19:37.617] Host[admin.resin] active
[2010/02/17 20:19:37.841] java.net.SocketException: Invalid argument
                                at java.net.PlainSocketImpl.socketAccept(Native Method)
                                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
                                at java.net.ServerSocket.implAccept(ServerSocket.java:453)
                                at java.net.ServerSocket.accept(ServerSocket.java:421)
                                at com.caucho.boot.WatchdogProcess.connectToChild(WatchdogProcess.java:258)
                                at com.caucho.boot.WatchdogProcess.run(WatchdogProcess.java:130)
                                at com.caucho.boot.WatchdogTask.run(WatchdogTask.java:148)
                                at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
                                at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
root@opensolaris:~/appservers/resin-pro-4.0.3#
Steps To Reproduce
Additional Information $java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)

$java -d64 version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris
Attached Files

- Relationships

- Notes
(0004610)
alex
05-24-10 12:20

# uname -a
SunOS ibiasny6 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V440
# env
HOME=/export/home/ias
JAVA_HOME=/usr/jdk/jdk1.6.0_20
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LOGNAME=ias
ORACLE_HOME=/opt/oracleclient/app/oracle/oracle/product/10.2.0/client_1
PATH=/usr/sbin:/usr/bin
PS1=#
RESIN_HOME=/usr/local/resin
SHELL=/bin/sh
SSH_CLIENT=172.28.76.7 39792 22
SSH_TTY=/dev/pts/3
TERM=xterm
TZ=US/Eastern
USER=ias
# file /usr/lib/libthread.so
/usr/lib/libthread.so: ELF 32-bit MSB dynamic lib SPARC Version 1,
dynamically linked, not stripped
#
 
(0004634)
alex
06-07-10 08:46

also fixed in 3.1.11 (bug fixed in method setFdMax of boot.c)
 

- Issue History
Date Modified Username Field Change
02-17-10 20:23 alex New Issue
02-17-10 20:32 alex version 4.0.4 => 4.0.3
05-24-10 12:20 alex Note Added: 0004610
06-07-10 08:44 alex Status new => assigned
06-07-10 08:44 alex Assigned To  => alex
06-07-10 08:46 alex Status assigned => closed
06-07-10 08:46 alex Note Added: 0004634
06-07-10 08:46 alex Resolution open => fixed
06-07-10 08:46 alex Fixed in Version  => 4.0.8


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker