axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Error after deploying Axis2.war in Weblogic
Date Fri, 17 Oct 2008 18:21:02 GMT

Good Afternoon Peter-

you'll need to build and deploy axis2.war
Also you'll need to configure your classloader to find all the necessary jars (here is an
example called portalApp)
I will be able to locate and find from %WEBLOGIC_HOME%/samples/portal/portalApp

  <!DOCTYPE weblogic-application PUBLIC '-//BEA Systems, Inc.//DTD WebLogic Application
8.1.0//EN' 
'http://www.bea.com/servers/wls810/dtd/weblogic-application_2_0.dtd'>
  <weblogic-application>
    <application-param>
      <param-name>webapp.encoding.default</param-name>
      <param-value>UTF-8</param-value>
    </application-param>
    <classloader-structure>
      <classloader-structure>
        <module-ref>
          <module-uri>sampleportal</module-uri>
        </module-ref>
      </classloader-structure>
      <classloader-structure>
        <module-ref>
          <module-uri>tutorial</module-uri>
        </module-ref>
      </classloader-structure>
      <classloader-structure>
        <module-ref>
          <module-uri>defaultWebApp</module-uri>
        </module-ref>
      </classloader-structure>
    </classloader-structure>
  </weblogic-application>

to deploy axis2.war I copy axis2.war to

recycle WEBLOGIC and weblogic will build
%WEBLOGIC_HOME%/samples/portal/portalApp/axis2 folder

also MAKE SURE META-INF/weblogic.xml contains the classloader specification
      <classloader-structure>

        <module-ref>

          <module-uri>axis2</module-uri>

        </module-ref>

      </classloader-structure>

HTH
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 


Subject: Error after deploying Axis2.war in Weblogic
Date: Fri, 17 Oct 2008 14:00:48 -0400
From: Peter.Rajesh@TheHartford.com
To: axis-dev@ws.apache.org








Error after deploying Axis2.war in Weblogic




Hi,


After deploying the Axis2.war in weblogic, I logged into the axis administration page and
clicked the 'Validate' link.  Instead of Axis2 Happiness page below error was displayed in
the weblogic console.

Please help if any solution is there to resolve this.




Please find the error below.




####<Oct 17, 2008 10:07:40 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '23' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-101017> <[ServletContext(id=22512144,name=axis2,context-path=/axis2)]
Root cause of ServletException.

java.lang.NoClassDefFoundError


        at sun.reflect.GeneratedConstructorAccessor39.newInstance(Unknown Source)


        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)


        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)


        at java.lang.Class.newInstance0(Class.java:308)


        at java.lang.Class.newInstance(Class.java:261)


        at org.apache.axis2.deployment.AxisConfigBuilder.getPhase(AxisConfigBuilder.java:638)


        at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:390)


        at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:433)


        at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:133)


        at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:615)


        at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:115)


        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)

        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)

        at jsp_servlet._axis2_45_web.__happyaxis.invokeTheService(__happyaxis.java:363)


        at jsp_servlet._axis2_45_web.__happyaxis._jspService(__happyaxis.java:619)


        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)


        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)


        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)


        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)


        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)


        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)


        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)


        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)


        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)


        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)


        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)


>


####<Oct 17, 2008 10:07:40 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '23' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-101214> <Included resource or file "/axis2/include/httpbase.jsp" not
found from requested resource "/axis2/axis2-web/HappyAxis.jsp".>

####<Oct 17, 2008 10:07:40 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '23' for queue: 'weblogic.kernel.Default'> <<anonymous>>
<> <BEA-101214> <Included resource or file "/axis2/axis2-web/axis2-web/include/httpbase.jsp"
not found from requested resource "/axis2/axis2-web/axis2-web/css/axis-style.css".>

####<Oct 17, 2008 10:07:40 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<anonymous>>
<> <BEA-101214> <Included resource or file "/axis2/axis2-web/axis2-web/include/httpbase.jsp"
not found from requested resource "/axis2/axis2-web/axis2-web/images/asf-logo.gif".>

####<Oct 17, 2008 10:07:40 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<anonymous>>
<> <BEA-101214> <Included resource or file "/axis2/axis2-web/axis2-web/include/httpbase.jsp"
not found from requested resource "/axis2/axis2-web/axis2-web/images/axis_l.jpg".>

####<Oct 17, 2008 10:07:57 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-101017> <[ServletContext(id=22512144,name=axis2,context-path=/axis2)]
Root cause of ServletException.

java.lang.NoClassDefFoundError


        at sun.reflect.GeneratedConstructorAccessor39.newInstance(Unknown Source)


        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)


        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)


        at java.lang.Class.newInstance0(Class.java:308)


        at java.lang.Class.newInstance(Class.java:261)


        at org.apache.axis2.deployment.AxisConfigBuilder.getPhase(AxisConfigBuilder.java:638)


        at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:390)


        at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:433)


        at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:133)


        at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:615)


        at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:115)


        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)

        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)

        at jsp_servlet._axis2_45_web.__happyaxis.invokeTheService(__happyaxis.java:363)


        at jsp_servlet._axis2_45_web.__happyaxis._jspService(__happyaxis.java:619)


        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)


        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)


        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)


        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)


        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)


        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)


        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)


        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)


        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)


        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)


        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)


>


####<Oct 17, 2008 10:07:57 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
<> <BEA-101214> <Included resource or file "/axis2/include/httpbase.jsp" not
found from requested resource "/axis2/axis2-web/HappyAxis.jsp".>

####<Oct 17, 2008 10:07:57 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<anonymous>>
<> <BEA-101214> <Included resource or file "/axis2/axis2-web/axis2-web/include/httpbase.jsp"
not found from requested resource "/axis2/axis2-web/axis2-web/css/axis-style.css".>

####<Oct 17, 2008 10:07:57 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '23' for queue: 'weblogic.kernel.Default'> <<anonymous>>
<> <BEA-101214> <Included resource or file "/axis2/axis2-web/axis2-web/include/httpbase.jsp"
not found from requested resource "/axis2/axis2-web/axis2-web/images/asf-logo.gif".>

####<Oct 17, 2008 10:07:57 AM EDT> <Error> <HTTP> <isdwlqa17> <qa_savi_m01>
<ExecuteThread: '23' for queue: 'weblogic.kernel.Default'> <<anonymous>>
<> <BEA-101214> <Included resource or file "/axis2/axis2-web/axis2-web/include/httpbase.jsp"
not found from requested resource "/axis2/axis2-web/axis2-web/images/axis_l.jpg".>







*************************************************************************

This communication, including attachments, is

for the exclusive use of addressee and may contain proprietary,

confidential and/or privileged information.  If you are not the intended

recipient, any use, copying, disclosure, dissemination or distribution is

strictly prohibited.  If you are not the intended recipient, please notify

the sender immediately by return e-mail, delete this communication and

destroy all copies.

*************************************************************************




_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
Mime
View raw message