>> I have a situation where different servers should have different >> jvm-args, but I would like to have a single resin.xml. >> > > > You should be able to achieve this by using <jvm-arg> inside the <server> > > <server id="a" address="127.0.0.1" port="6800"> > <jvm-arg>-Dserver=A</jvm-arg> > </server> > > <server id="b" address="127.0.0.1" port="6801"> > <jvm-arg>-Dserver=B</jvm-arg> > </server> > > Regards, > Alex > Hmm, that's exactly what I tried first, as mentioned below. Can you have jvm-arg inside a resin:import'ed file?
Aaron > >> I tried doing a resin:import on a jvm.xml file that has just jvm-args in >> it, but I haven't found a combination that works. I have tried >> surrounding the <jvm-arg> tags like this: >> >> Try1: >> >> <server> >> ...jvm-args.. >> </server> >> >> Try 2: >> >> <server-default>...jvm-args..</server-default> >> >> Try 3: >> >> <server> >> <server-default>...jvm-args..</server-default> >> </server> >> >> Try 4: >> >> <cluster> >> <server-default>...jvm-args..</server-default> >> </cluster> >> >> None of these are working. Any thoughts? >> >> Thanks, >> >> Aaron >> _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
