Remote Deployment API
I need to dynamically register (and map to my EJBs) some services and (reading some old posts in the list) the only way to do that, is to create and deploy the "aar" files on the appserver. If there is another way (implementing some interface and registering as a listener or something else, please let me know). The question: ¿Where can I find some documentation to use the Remote Deployment API mentioned in some posts? Thanks in advance. Just a starting point would be good. J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Remote Deployment API
Thanks Angel. I'm sure your help will avoid a lot of head aches in the near future, but i need a starting point. I guess Remote Deployment API is implemented by packages under "org.apache.axis2.deployment", but classes in the java-doc are not very well documented. ¿Is there any other documentation? Thanxs J Angel Todorov wrote: Hi Jorge, You can take a look at: https://issues.apache.org/jira/browse/AXIS2-2212 Moreover, you must make sure that in the AxisServlet, the deployer instance is stored in the SERVLET_CONTEXT, so it can be used later on, and, most importantly, to have the repoListener synchronized (so that the scheduler and some remote deployer don't use two instances of a deployer + configurations). I haven't included that yet since I want to get any feedback from the guys about the JIRA-2212 above. Regards, Angel On 2/28/07, "Jorge Jiménez C." <[EMAIL PROTECTED]> wrote: I need to dynamically register (and map to my EJBs) some services and (reading some old posts in the list) the only way to do that, is to create and deploy the "aar" files on the appserver. If there is another way (implementing some interface and registering as a listener or something else, please let me know). The question: ¿Where can I find some documentation to use the Remote Deployment API mentioned in some posts? Thanks in advance. Just a starting point would be good. J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Accesing parameters in "services.xml"
The file "service.xml" supports arbitrary named parameters. Can I use the values of those parameters from inside a service class? (axiom based service) I would like to use the same service class (as shared library in Tomcat) and change only the parameter value (i.e. the ".aar" file only needs to carry the "services.xml" file, and point to a common class for all deployed services) Thanx in advance. J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5 / Axis2 / oc4j interop
From a service class (axiom based implementation) in Tomcat, i'm creating a OC4J remote EJB (stateless) and passing the axiom OMElement to the EJB. After EJB creation, when invoking the remote method, a have the following error: java.lang.LinkageError: loader constraints violated when linking org/apache/axiom/om/OMElement class. I have copied in Tomcat's shared/lib folder the files: axiom-api-1.2.2.jar ejb.jar jms.jar js.jar jta.jar my-ejb-client.jar oc4jclient.jar myframework.jar Any help would be appreciated. Thanks in advance. J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]