On Apr 22, 2008, at 12:13 AM, Mattias Jiderhamn wrote:

> Right! That is a good tip.
> However, <jvm-arg> tags inside a <resin:if> causes the exception  
> below.
> Seems really strange to me!
>
> ....server-root\conf\resin.conf:57: 'jvm-arg' is an unknown property  
> of
> 'com.caucho.server.cluster.Server'.
>
> 55:       <jvm-arg>-Xdebug</jvm-arg>
> 56:       <resin:if test="${system['debug']}">
> 57:         <jvm-arg>-Xmn256M</jvm-arg>

Thanks.  I've just added this as http://bugs.caucho.com/view.php? 
id=2617.  The boot arguments are a little trickier to handle, because  
they're ignored by Resin and read by the watchdog, so there's an extra  
space for bugs.

-- Scott

>
>
> at com.caucho.config.ConfigContext.error(ConfigContext.java:1115)
> at
> com 
> .caucho.config.ConfigContext.configureChildNode(ConfigContext.java: 
> 443)
> at
> com 
> .caucho.config.ConfigContext.configureAttribute(ConfigContext.java: 
> 322)
> at
> com 
> .caucho 
> .config 
> .program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java: 
> 55)
> at
> com 
> .caucho.config.program.ContainerProgram.inject(ContainerProgram.java: 
> 80)
> at  
> com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java: 
> 60)
> at com.caucho.config.core.ResinIf.init(ResinIf.java:71)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> com 
> .caucho 
> .config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:60)
> at com.caucho.config.type.BeanType.init(BeanType.java:226)
> at
> com 
> .caucho.config.ConfigContext.configureChildNode(ConfigContext.java: 
> 505)
> at
> com 
> .caucho.config.ConfigContext.configureAttribute(ConfigContext.java: 
> 322)
> at
> com 
> .caucho 
> .config 
> .program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java: 
> 55)
> at
> com 
> .caucho.config.program.ContainerProgram.inject(ContainerProgram.java: 
> 80)
> at  
> com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java: 
> 60)
> at com.caucho.server.cluster.Server.<init>(Server.java:199)
> at com.caucho.server.cluster.Cluster.startServer(Cluster.java:706)
> at
> com 
> .caucho.server.cluster.ClusterServer.startServer(ClusterServer.java: 
> 528)
> at com.caucho.server.resin.Resin.start(Resin.java:695)
> at com.caucho.server.resin.Resin.initMain(Resin.java:1139)
> at com.caucho.server.resin.Resin.main(Resin.java:1341)



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

Reply via email to