Re: [Resin-interest] Change TimeZone

2008-06-09 Thread Laurent MAGNIEZ
Thanks

But i just find an other method :

I have modified the wrapper.pl file :
the line
$JAVA_ARGS=""
is now
$JAVA_ARGS="-Duser.timezone=Europe/Paris"

and it works fine.

Laurent MAGNIEZ

Stargazer a écrit :
> Laurent MAGNIEZ wrote:
>   
>> Hello,
>>
>> I'm using Resin3.0.18 under Debian.
>>
>> All the dates in my application are staggered by one hour, since the 
>> transition to summer time.
>>
>>   
>> 
> Use this in resin.conf:
>   -Duser.timezone=Europe/London
>
>   
>> I explain : when i launch Resin, i can see in log :
>> Starting Resin on Fri, 16 May 2008 16:44:16 +0100 (GMT+01:00)
>>
>> For all my other servers, TimeZone is +0200 (CEST) and it works fine.
>>
>> How can i specify the TimeZone ?
>>
>> Thanks for any help
>>
>> Laurent MAGNIEZ
>>
>>
>>
>> ___
>> 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
>
>   


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


Re: [Resin-interest] jvm-classpath element

2008-06-09 Thread Scott Ferguson

On Jun 6, 2008, at 2:26 PM, Ryan wrote:

> The current documentation on caucho.com says that  is a
> valid attribute or child of . Yet, when I attempt to add a
> classpath entry in resin.conf, I get the following:
>
> com.caucho.xml.XmlParseException: /lsurf/xoom/conf/resin.conf:77:
>  is an unexpected tag (parent  starts at 75).

You'll need to upgrade to 3.1.6 for that feature.  It looks like the  
docs didn't specify the version that tag was added.

-- Scott
>
>
> 75: 
> 76:   6700
> 77:   /lsurf/xoom/conf
> 78: 
>
>
> Along with a printout of the  schema, of which there is no
>  entry allowed.
>
> I'm using Resin 3.1.2, upgrading from Resin 2. With Resin 2, I passed
> the classpath to resin with the "-classpath" command line option,
> which isnt supported in resin 3.
>
> How do I add classpath entries with Resin 3.1.2?
>
> Thank you,
> Ryan
>
>
> ___
> 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] j_use_cookie_auth

2008-06-09 Thread Scott Ferguson


On Jun 5, 2008, at 3:56 PM, Mktg. Incorporate Fast wrote:


Hello,

Is it possible to modify the expires date when using  
j_use_cookie_auth.  I would like to have the cookie expire in about  
3-7 days, and not only exist for a session. The docs say that the  
default expire is a session, but didn’t find how this is modifiable.


I've added this as a bug report at http://bugs.caucho.com/view.php?id=2726 
.  We'd need to add that as a configuration option.  I don't think  
it's possible currently.


-- Scott


Thanks,

Joey





___
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] jvm-classpath element

2008-06-09 Thread Ryan
> You'll need to upgrade to 3.1.6 for that feature.  It looks like the
> docs didn't specify the version that tag was added.
>
> -- Scott

So there is no way to add a directory to the jvm classpath in 3.1.2? I
see how to add jars using tree-loader, simple-loader, etc..., but no
way to add a directory.

So I tried using Resin 3.1.6 Pro, and on start I get this exception:

[17:50:06.498]java.net.ConnectException:
http://127.0.0.1:6700/watchdog: Connection refused
[17:50:06.498]  at
com.caucho.server.hmux.HmuxStream.createStream(HmuxStream.java:202)
[17:50:06.498]  at
com.caucho.server.hmux.HmuxStream.openReadWrite(HmuxStream.java:149)
[17:50:06.498]  at
com.caucho.server.hmux.HmuxPath.openReadWriteImpl(HmuxPath.java:462)
[17:50:06.498]  at com.caucho.vfs.Path.openReadWrite(Path.java:1089)
[17:50:06.498]  at
com.caucho.server.admin.HessianHmuxProxy.sendRequest(HessianHmuxProxy.java:140)
[17:50:06.498]  at
com.caucho.server.admin.HessianHmuxProxy.invoke(HessianHmuxProxy.java:110)
[17:50:06.498]  at $Proxy5.start(Unknown Source)
[17:50:06.498]  at
com.caucho.boot.WatchdogClient.startWatchdog(WatchdogClient.java:196)
[17:50:06.498]  at com.caucho.boot.ResinBoot.start(ResinBoot.java:172)
[17:50:06.498]  at com.caucho.boot.ResinBoot.main(ResinBoot.java:295)
[17:50:06.499]WatchdogClient[1] starting ResinWatchdogManager

In resin.conf, I have:

  -Dcom.sun.management.jmxremote
  6700

The documentation on resin watchdog weren't too explanatory for me...

Thank you,
Ryan


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


Re: [Resin-interest] jvm-classpath element

2008-06-09 Thread Scott Ferguson

On Jun 9, 2008, at 10:14 AM, Ryan wrote:

>> You'll need to upgrade to 3.1.6 for that feature.  It looks like the
>> docs didn't specify the version that tag was added.
>>
>> -- Scott
>
> So there is no way to add a directory to the jvm classpath in 3.1.2? I
> see how to add jars using tree-loader, simple-loader, etc..., but no
> way to add a directory.

The  is the WEB-INF/classes style of loader.

> So I tried using Resin 3.1.6 Pro, and on start I get this exception:
>
> [17:50:06.498]java.net.ConnectException:
> http://127.0.0.1:6700/watchdog: Connection refused
> [17:50:06.498]  at

Did it actually start?  The client tries to connect to an existing  
watchdog first before launching a new one.  So at finer logging  
levels, you'd always get a failed connection at first. It shouldn't  
show at normal logging.

-- Scott

>
> com.caucho.server.hmux.HmuxStream.createStream(HmuxStream.java:202)
> [17:50:06.498]  at
> com.caucho.server.hmux.HmuxStream.openReadWrite(HmuxStream.java:149)
> [17:50:06.498]  at
> com.caucho.server.hmux.HmuxPath.openReadWriteImpl(HmuxPath.java:462)
> [17:50:06.498]  at com.caucho.vfs.Path.openReadWrite(Path.java:1089)
> [17:50:06.498]  at
> com 
> .caucho 
> .server.admin.HessianHmuxProxy.sendRequest(HessianHmuxProxy.java:140)
> [17:50:06.498]  at
> com 
> .caucho.server.admin.HessianHmuxProxy.invoke(HessianHmuxProxy.java: 
> 110)
> [17:50:06.498]  at $Proxy5.start(Unknown Source)
> [17:50:06.498]  at
> com.caucho.boot.WatchdogClient.startWatchdog(WatchdogClient.java:196)
> [17:50:06.498]  at com.caucho.boot.ResinBoot.start(ResinBoot.java:172)
> [17:50:06.498]  at com.caucho.boot.ResinBoot.main(ResinBoot.java:295)
> [17:50:06.499]WatchdogClient[1] starting ResinWatchdogManager
>
> In resin.conf, I have:
>
>  -Dcom.sun.management.jmxremote
>  6700
>
> The documentation on resin watchdog weren't too explanatory for me...
>
> Thank you,
> Ryan
>
>
> ___
> 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