Josh - have you read this doc ?

http://ws.apache.org/axis2/1_1_1/app_server.html

HTH,
Robert

On 3/29/07, Josh <[EMAIL PROTECTED]> wrote:
Ok,

Granted I demonstrated that there is an issue deploying the axis2.war on
weblogic when it is not exploded, I think my problem may not be related.
That issue appears to be nothing new.  Trouble is, I am deploying my
application according to this article ( http://wso2.org/library/90) .  As a
result, I do not have any archived modules or services which leads to the
nesting of archives problem.

Still, when I deploy in an exploded format, the example application on that
page works fine.  When in an archived format though, I receive the following
error (which I mentioned earlier):

<Error> <HTTP> <BEA-101214> <Included resource or file
"/axis2/axis2-web/listSingleService.jsp" not found from
requested

This is much different than the DeploymentException I was receiving with the
axis2.war file.  Funny thing is, this file,
"/axis2/axis2-web/listSingleService.jsp" is not even
contained in this example app.  Why then would it work in an archived format
and not an exploded format?  Is there other nested archives in the Axis2
distro which I am unaware of?

Regards,

Joshua




On 3/29/07, Josh <[EMAIL PROTECTED]> wrote:
>
> On further inspection, it looks like this is a JDK 1.4 bug/feature (
http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=9ddeb681fad5ecffffffffe37be8215fe0660:YfiG?bug_id=4648386
).  It also appears that the only reason this works in Tomcat is because
tomcat implements its own war class loader.  Interesting.
>
> So does that mean people who are using JDK 1.4 and are not using Tomcat
all have this problem?
>
> -Josh
>
>
>
> On 3/29/07, Josh <[EMAIL PROTECTED]> wrote:
> >
> > I exploded the services and the modules.  Trouble is, the application is
still looking for addressing-1.1.1.mar.  Is there a way to configure the
application to look for addressing-1.1.1 instead?
> >
> >
> > Josh
> >
> >
> > On 3/29/07, Josh <[EMAIL PROTECTED]> wrote:
> > >
> > > Geez,
> > >
> > > It looks like it is a weblogic limitation.  I found the answer on the
mailing list archives...
> > >
> > >
http://www.mail-archive.com/[email protected]/msg25079.html
> > >
> > > I will try and explode the archives within the war and see what
happens...
> > >
> > > Josh
> > >
> > >
> > >
> > >
> > >
> > > On 3/29/07, Josh <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Charitha,
> > > >
> > > > Interesting.  I added the weblogic.xml file to the distro with the
"prefer-web-inf-classes" option set to true.  When deployed in an exploded
format, it works fine.  When deployed in a war format, I receive the
following error:
> > > >
> > > > Mar 29, 2007 8:32:24 AM
org.apache.axis2.deployment.WarBasedAxisConfigurator
getAxisConfiguration
> > > > SEVERE:
org.apache.axis2.deployment.DeploymentException: module.xml
not found  for the module :
zip:C:/lib/axis2.war!/WEB-INF/modules/addressing-
1.1.1.mar; nested exception is:
> > > >
org.apache.axis2.deployment.DeploymentException: module.xml
not found  for the module :
zip:C:/lib/axis2.war!/WEB-INF/modules/addressing-1.1.1.mar;
nested exception is:
> > > >
org.apache.axis2.deployment.DeploymentException: module.xml
not found  for the module :
zip:C:/lib/axis2.war!/WEB-INF/modules/addressing-1.1.1.mar;
nested exception is:
> > > >
org.apache.axis2.deployment.DeploymentException :
module.xml not found  for the module :
zip:C:/lib/axis2.war!/WEB-INF/modules/addressing-1.1.1.mar:
loading repository from classpath
> > > > Mar 29, 2007 8:32:24 AM
org.apache.axis2.deployment.DeploymentEngine
loadFromClassPath
> > > > INFO: Module validation failed  Trying to engage a module which is
not available : addressing
> > > > <Mar 29, 2007 8:32:24 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
"AxisServlet" failed to preload on startup in Web application: "axis2".
> > > > javax.servlet.ServletException: Trying to engage a module which is
not available : addressing; nested exception is:
> > > >         org.apache.axis2.AxisFault: Trying to engage a module which
is not available : addressing
> > > >         at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:348)
> > > >         at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1094)
> > > >         at
weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
> > > >         at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> > > >         at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:970)
> > > >         at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:949)
> > > >         at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:888)
> > > >         at
weblogic.servlet.internal.WebAppServletContext.preloadServlet
(WebAppServletContext.java:3430)
> > > >         at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3375)
> > > >         at
weblogic.servlet.internal.WebAppServletContext.preloadResources(
WebAppServletContext.java :3356)
> > > >         at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
> > > >         at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
> > > >         at
weblogic.j2ee.J2EEApplicationContainer.start
(J2EEApplicationContainer.java:2134)
> > > >         at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
> > > >         at
weblogic.j2ee.J2EEApplicationContainer.activate
(J2EEApplicationContainer.java :2122)
> > > >         at
weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
> > > >         at
weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications
(SlaveDeployer.java :1768)
> > > >         at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
> > > >         at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java
:229)
> > > >         at
weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
> > > >         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
> > > >         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
> > > >         at weblogic.Server.main(Server.java:32)
> > > > Caused by: javax.servlet.ServletException: Trying to engage a module
which is not available : addressing; nested exception is:
> > > >         org.apache.axis2.AxisFault: Trying to engage a module which
is not available : addressing
> > > >         at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:397)
> > > >         at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
> > > >         ... 22 more
> > > >
> > > >
> > > > What is happening here?
> > > >
> > > > Joshua
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 3/29/07, Charitha Kankanamge <[EMAIL PROTECTED] > wrote:
> > > > > Hi Josh,
> > > > > Please try to deploy axis2.war in exploded mode and check again.
> > > > >
> > > > > regards
> > > > > Charitha
> > > > >
> > > > > Josh wrote:
> > > > >
> > > > > > All,
> > > > > >
> > > > > > I read through the Article "How to Embed an Axis2 based Web
Service in
> > > > > > you Webapp?" ( http://wso2.org/library/90) and downloaded the
sample
> > > > > > code.  When I deploy this sample code on Tomcat 5.5.20, it works
> > > > > > fine.  If I visit
> > > > > >
http://localhost:8080/axis2/services/BookService?wsdl , I
am presented
> > > > > > with the WSDL for the service mentioned in the article.
> > > > > >
> > > > > > I deployed the same war file (I added a weblogic.xml file with
the
> > > > > > prefer-web-inf-classes option set to true) to weblogic 8.1 sp4.
When
> > > > > > I hit
http://localhost:7001/axis2/services/BookService?wsdl
> > > > > > <
http://localhost:7001/axis2/services/BookService?wsdl > , I
receive
> > > > > > the following error:
> > > > > >
> > > > > >   <Error> <HTTP> <BEA-101214> <Included resource or file
> > > > > > "/axis2/axis2-web/listSingleService.jsp" not
found from requested
> > > > > > resource "/axis2/services/BookService".>
> > > > > >
> > > > > > Why would axis be looking for this file when deploying on
Weblogic and
> > > > > > not Tomcat?  Any ideas?
> > > > > >
> > > > > > Joshua
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
---------------------------------------------------------------------
> > > > > 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]

Reply via email to