I have been trying to build a configuration that can run as a child of the J2EE Server config that contains the deployer code - this is intended to allow someone to set up a server that can do its own deployments.

I have a problem in that the deployment classes are packaged in with the main runtime classes - for example, connector.deployment.* is in the connector jar. These get loaded by the Server config's classloader and hence can see deployment-only classes (e.g. xmlbeans) that are packaged in with the deployment config.

I think the real solution for this is to split the deployment-only classes out from the runtime jars into separate jars that can be bundled with deployment configurations.

For now, I'm going to bug this and expand the Server config to include all the dependencies needed to perform deployment.

Thoughts?
--
Jeremy



Reply via email to