Hi
i'm trying change the 'admin thread' port (4200) for OpenJEB.
The EJBContainerGBean provides an attribute 'properties' (type
java.util.Properties) by which I may change the port. But how to set
these properties via config.xml?
I've tried:
--- 8< (start) ---
...
<gbean name="DefaultStatelessContainer">
<attribute name="id">Default Stateless Container</attribute>
<attribute name="type">STATELESS</attribute>
<attribute name="properties">
admin_port=4211
</attribute>
<reference name="OpenEjbSystem">
<pattern>
<name>OpenEjbSystem</name>
</pattern>
</reference>
</gbean>
...
--- 8< (end) ---
But getting:
--- 8< (start )---
Module 5/29 org.apache.geronimo.configs/openejb/2.0-M4/car
15:12:08,470 ERROR [GBeanInstanceState] Error while starting;
GBean is n
ow in the FAILED state:
abstractName="org.apache.geronimo.configs/openejb/2.0-M4/car?ServiceModule=org.apache.geronimo.configs/openejb/2.0-M4/car,j2ee
Type=GBean,name=DefaultStatelessContainer"
org.apache.xbean.recipe.MissingAccessorException: Unable to find a valid
setter method: public void
org.apache.openejb.core.stateless.StatelessContain
er.setAdmin_port(java.lang.String)
at
org.apache.xbean.recipe.ObjectRecipe.findSetter(ObjectRecipe.java:692)
at
...
--- 8< (end) ---
How can I achieve this?
Thanks!
Kristian