My understanding is that loading resources from nested jar files is really a
JDK issue.  See:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4735639<http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=9ddeb681fad5ecffffffffe37be8215fe0660:YfiG?bug_id=4648386>

My thinking is that this would be a limitation if I were using archived
module/service files (mar/aar files).  In this sample application though, I
am not though.  That is why I believe the issues I am experiencing and the
know jdk 1.4.x feature/bug to be unrelated.  Does that sound reasonable?

Joshua



On 3/30/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

Josh,

Did you see any workarounds for the "Weblogic, rather JDK 1.4.x, has a
known issue obtaining resources from nested jar files" issue? we could
try to incorporate them if we find any good ones.

-- dims

On 3/30/07, Josh <[EMAIL PROTECTED]> wrote:
> Robert,
>
> Taking your recomendation, I will explain what has been done so far.
>
> Looking to deploy an Axis2 based service into my existing web
application, I
> followed the directions in this article (http://wso2.org/library/90) to
> create a war file with only the Axis2 jars (Note: this does not make use
of
> the Axis2.war file in any way).  Using the sample application that could
be
> downloaded from this page, I loaded it into Tomcat 5.5.20 and had no
> problems with it deployed both in war and exploded formats.  I was able
to
> view the wsdl file for the sample BookService using the following url:
> http://localhost:port/axis2/services/BookService?wsdl
> Note: "axis2" in this URL is the name of this sample app, not to be
confused
> with the axis2.war that comes with the axis2 distro.
>
> I decided it was time to test this out on Weblogic 8.1.  Taking into
> consideration the well known class loading issue on Weblogic, I added a
> weblogic.xml file in the WEB-INF directory with the recommended
> prefer-web-inf-classes option set to true.  I deployed the application
as an
> exploded war file and it worked without a hitch.  When I packaged it as
a
> war file though, I received the following error:
>
> <Error> <HTTP> <BEA-101214> <Included resource or file
> "/axis2/axis2-web/listSingleService.jsp" not found from
> requested resource "/axis2/services/BookService".>
>
> The strange thing about this error is that the axis2-web folder was
never
> included in this war.  It was not required on Tomcat (archived and
> unarchived) and only causes an error when deploying on Weblogic in an
> archived format.
>
> Doing some research, I found that Weblogic, rather JDK 1.4.x, has a
known
> issue obtaining resources from nested jar files.  I believe that Tomcat
gets
> around this issue by having its own WAR classloader that works around
this
> issue.  Though similar, I don't think the two issues are related.  For
one,
> the error messages are totally different and two, the sample BookService
is
> not deployed in an archived aar file.  It is also deployed in an
"exploded"
> format.
>
> So, that brings us to where we are now.  How can I help further?
>
> Regards,
>
> Josh
>


--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to