Forgot to answer your other question.
I don't know if you can change the class of a current named bean. Dain
or David Jencks may be able to answer that.
But I *think*, you can shut off the gbean as I explained in my last
email, then redeclare it in the config.xml.
Here is an example of a new ConnectorGBean that is declared in the
Tomcat configuration section of the config.xml:
<gbean
name="geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebConnector-HTTP-MyNewHTTPListener"
gbeanInfo="org.apache.geronimo.tomcat.ConnectorGBean">
<attribute name="protocol">HTTP</attribute>
<attribute name="host">0.0.0.0</attribute>
<attribute name="port">9090</attribute>
<attribute name="name">MyNewHTTPListener</attribute>
<reference name="TomcatContainer">
<pattern><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebContainer</gbean-name></pattern>
</reference>
</gbean>
I am sure the others may be able to tweak this, but this should be in
the right general direction.
Jeff
Conrad O'Dea wrote:
> Hi there,
>
> Right now I've got to the stage where I can, with a bit of tweaking of
> the config.xml, deploy Celtix to Geronimo and have it handle Web Service
> deployments. This is on 1.2 where the deployers for wars, ejb jars and
> webservices are all separate so it's pretty straightforward to change
> configuration so that a Celtix deployer is used. Thanks for the help in
> making that work.
>
> 1.0/1.1 is another story, though. Here, the j2ee-deployer directly
> configures the GBeans it uses for deploying web services etc. I've
> tried overriding the class for the WebServiceBuilder in the config.xml
> but it is ignored. In fact as the server is starting the config.xml is
> overwritten and my change is erased.
>
> In the config.xml, should be possible to change the name of the class
> that implements a particular GBean? Can I prevent a GBean from being
> loaded?
>
> thanks
> Conrad