Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2617 | minor | always | 04-22-08 10:40 | 04-22-08 15:14 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.6 | ||
|
|||||
Summary: | 0002617: jvm-arg inside resin:if | ||||
Description: |
(rep by Mattias Jiderhamn) 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> 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) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|