Re: [Resin-interest] [Q] Why isn't resin binding to 6800 when it's started with "start"?

2008-05-06 Thread Maurice Volaski
Here's strace output from 3.1.6.

without start,  which works
25237 gettimeofday({1210100134, 550704}, NULL) = 0
25237 
access("/opt/sun-jdk-1.6.0.06/jre/lib/ext/meta-index/com/caucho/vfs/JniServerSocketImpl.class",
 
R_OK) = -1 ENOTDIR (Not a directory)
25237 access("/opt/resin/com/caucho/vfs/JniServerSocketImpl.class", 
R_OK) = -1 ENOENT (No such file or directory)
25237 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 90
25237 setsockopt(90, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
25237 bind(90, {sa_family=AF_INET, sin_port=htons(6800), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
25237 listen(90, 100)   = 0

with start, which doesn't work
25338 gettimeofday({1210100243, 760493}, NULL) = 0
25338 
stat("/usr/share/resin/com/caucho/vfs/JniServerSocketImpl.class", 
0x40fb2870) = -1 ENOENT (No such file or directory)
25338 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 49  
25338 setsockopt(49, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
25338 bind(49, {sa_family=AF_INET, sin_port=htons(6600), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
25338 listen(49, 100)

It seem to be getting confused between ports 6600 and 6800.


>  > Filed as bug http://bugs.caucho.com/view.php?id=2646.
>>
>>>  I just upgraded to resin 3.1.5 with a default configuration on Linux
>>>  x64 and it works only when I start it manually.
>>>
>
>I just checked with 3.1.6 and it's working fine for me.
>
>-- Scott

-- 

Maurice Volaski, [EMAIL PROTECTED]
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] [Q] Why isn't resin binding to 6800 when it's started with "start"?

2008-05-05 Thread Scott Ferguson

On May 5, 2008, at 12:39 PM, Maurice Volaski wrote:

> Filed as bug http://bugs.caucho.com/view.php?id=2646.
>
>> I just upgraded to resin 3.1.5 with a default configuration on Linux
>> x64 and it works only when I start it manually.
>>

I just checked with 3.1.6 and it's working fine for me.

-- Scott

>> As the resin user, I start resin on the command line as follows:
>>
>> /opt/sun-jdk-1.6.0.06/bin/java -jar /usr/share/resin/lib/resin.jar
>> -conf /etc/resin/resin.conf -resin-home /usr/lib/resin -verbose
>>
>> I see that it's listening on port 6800, but there is nothing on the
>> watchdog port 6600, so I am assuming that the watchdog runs only when
>> it's "started". Anyway, here it talks fine with apache in this state.
>>
>> But if I start with the "start" option to run it in the background,
>>
>> /opt/sun-jdk-1.6.0.06/bin/java -jar /usr/share/resin/lib/resin.jar
>> -conf /etc/resin/resin.conf -resin-home /usr/lib/resin -verbose start
>>
>> then it doesn't bind to 6800, but only to 6600.
>>
>> I set debugging to all, but I don't see any reference to its binding
>> on any port.
>
> -- 
>
> Maurice Volaski, [EMAIL PROTECTED]
> Computing Support, Rose F. Kennedy Center
> Albert Einstein College of Medicine of Yeshiva University
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] [Q] Why isn't resin binding to 6800 when it's started with "start"?

2008-05-05 Thread Maurice Volaski
Filed as bug http://bugs.caucho.com/view.php?id=2646.

>I just upgraded to resin 3.1.5 with a default configuration on Linux
>x64 and it works only when I start it manually.
>
>As the resin user, I start resin on the command line as follows:
>
>/opt/sun-jdk-1.6.0.06/bin/java -jar /usr/share/resin/lib/resin.jar
>-conf /etc/resin/resin.conf -resin-home /usr/lib/resin -verbose
>
>I see that it's listening on port 6800, but there is nothing on the
>watchdog port 6600, so I am assuming that the watchdog runs only when
>it's "started". Anyway, here it talks fine with apache in this state.
>
>But if I start with the "start" option to run it in the background,
>
>/opt/sun-jdk-1.6.0.06/bin/java -jar /usr/share/resin/lib/resin.jar
>-conf /etc/resin/resin.conf -resin-home /usr/lib/resin -verbose start
>
>then it doesn't bind to 6800, but only to 6600.
>
>I set debugging to all, but I don't see any reference to its binding
>on any port.

-- 

Maurice Volaski, [EMAIL PROTECTED]
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest