Axis2 cannot load services from within EAR/WAR when deployed in WebLogic
------------------------------------------------------------------------
Key: AXIS2-822
URL: http://issues.apache.org/jira/browse/AXIS2-822
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: core, deployment
Versions: 1.0
Environment: Tried with latest nightly 15-Jun-06
Reporter: Junaid
Priority: Critical
Here's my scenario which I believe might be a common requirement for a lot of
enterprise applications. I'm trying to bundle Axis2 webapp as part of a bigger
EAR application and deploy in an application server such as WebLogic. I would
like to package up all of the Web Services inside of the webapp/EAR file. The
problem is that Axis2 cannot seem to load the services from within the EAR file
in WebLogic.
If you deploy the application in an exploded EAR format in WebLogic, it works
fine. However if you deploy as an unexploded EAR, Axis2 cannot find/load the
services/modules from the repository, which is inside of the EAR file.
I took a peek at the source code in WarBasedAxisConfigurator. I don't see any
code that handles the case when getServletContext().getRealPath("") == null.
So it looks like this is not yet implemented.
I worked previously with Axis 1.x and it did not have a problem loading
services from within the EAR file. Ofcourse any changes you make to the
configuration while it was running would be lost on a server re-start (since
server-config.wsdd was read-only). But it still worked.
I believe this is a critical change that is needed in order for Axis2 to work
in an enterprise situation within common application servers such as WebLogic.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]