hi,
I have an apache web server running on a system with two IP Addresses (A & B). The same server has 2 jboss instances with AJP connectors running on ports 15009 & 16009. apache would need to act as a proxy to these app servers.
My requirement is to invoke JBoss AS Instance 1 if apache is accessed through IP Address A & JBoss AS Instance 2 if apache is accessed through IP Address B.
Is this technically feasible?. If yes, please suggest the configuration to be done.
TIA, Murali
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113142#4113142
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113142
OK we found the issue.
In the first case (pure Groovy), the annotations are placed on the fields (always the case for Groovy) and metaClass is indeed a transient field thus ignored.
In the second case I suspect your java class has it's annotations on getters. So JPA expect to find annotations on getters and process getters of the Groovy class. Hence it picks getMetaClass, and incidentally does not read your annotations in Groovy (field instead of property).
The solution is to use field annotations for your superclass in Java.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113140#4113140
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113140