Hi,
glassfish_at_javadesktop.org wrote:
> I am also tasked with load-balancing glassfish through apache (to gradually replace tomcat)
Cool :-)
>
> I tried adding to domain.xml:
> <jvm-options>jvmRoute=glassfish1</jvm-options>
> But I get the following error when starting the domain:
> Exception in thread "main" java.lang.NoClassDefFoundError: jvmRoute=glassfish1
>
> I also tried the following in domain.xml:
> <jvm-options>-jvmRoute=glassfish1</jvm-options>
> But I get an error with that as well:
> Unrecognized option: -jvmRoute=glassfish1
I've made a typo:
<jvm-options>-DjvmRoute=glassfish1</jvm-options>
(add -D )
Thanks
-- Jeanfrancois
>
> Do you have any other suggestions?
> [Message sent by forum member 'jakemann' (jakemann)]
>
> http://forums.java.net/jive/thread.jspa?messageID=241748
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>