Classpath/Classloader issue with packaging
------------------------------------------
Key: AXIS2-975
URL: http://issues.apache.org/jira/browse/AXIS2-975
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: deployment
Affects Versions: 1.0
Environment: Tomcat 5.0, Axis2 1.0, Eclipse, iBATIS
Reporter: Debasish Duttaroy
Priority: Blocker
Attachments: PhoenixWebServices.aar
I have one single java project in eclipse environment. It is called
PhoenixWebServices.
1. There is a file folder called "lib" that contains all the required jar files.
2. There is a folder called "xml" which contains all the iBATIS related xml
files.
3. There is a folder called "META-INF" which contains all the wsdl files and
the services.xml
There are separate packages for delegate, dao, dto etc.
I prepare the wsdl files by my own and then use WSDL2Java with eclipse to
generate all the code. Till now all is fine (apparently).
1. Now I export my only java project from eclipse as a .jar file.
2. Then I rename it to .aar file.
3. Deploy it in Axis2
All is still fine. I have test servlet which calls the service.
1. Inside the client Skeleton code in server side, I call the delegate to do
all the task and return a dto.
2. The delegate and dao needs the iBATIS xml files which I have packaged inside
the .aar, as described above.
Problem is delegate does not find the xml/*.xml files.
Please find the .aar attached. It contains all the files.
--
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]