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 jvm-classpath is a
 valid attribute or child of server. 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:
 jvm-classpath is an unexpected tag (parent server 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: server id=1 address=127.0.0.1 port=53009
 76:   watchdog-port6700/watchdog-port
 77:   jvm-classpath/lsurf/xoom/conf/jvm-classpath
 78: /server


 Along with a printout of the server schema, of which there is no
 jvm-classpath 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] 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:

  watchdog-arg-Dcom.sun.management.jmxremote/watchdog-arg
  watchdog-port6700/watchdog-port

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 simple-loader 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:

  watchdog-arg-Dcom.sun.management.jmxremote/watchdog-arg
  watchdog-port6700/watchdog-port

 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


[Resin-interest] jvm-classpath element

2008-06-06 Thread Ryan
The current documentation on caucho.com says that jvm-classpath is a
valid attribute or child of server. 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:
jvm-classpath is an unexpected tag (parent server starts at 75).

75: server id=1 address=127.0.0.1 port=53009
76:   watchdog-port6700/watchdog-port
77:   jvm-classpath/lsurf/xoom/conf/jvm-classpath
78: /server


Along with a printout of the server schema, of which there is no
jvm-classpath 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