Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 58987 invoked from network); 16 Aug 2006 21:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2006 21:18:11 -0000 Received: (qmail 63954 invoked by uid 500); 16 Aug 2006 21:18:03 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 63927 invoked by uid 500); 16 Aug 2006 21:18:03 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 63916 invoked by uid 99); 16 Aug 2006 21:18:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 14:18:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.233.182.131] (HELO nf-out-f131.google.com) (64.233.182.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 14:17:59 -0700 Received: by nf-out-f131.google.com with SMTP id l6so4301nfa for ; Wed, 16 Aug 2006 14:17:37 -0700 (PDT) Received: by 10.35.41.12 with SMTP id t12mr2160142pyj; Wed, 16 Aug 2006 14:17:36 -0700 (PDT) Received: by 10.35.119.9 with HTTP; Wed, 16 Aug 2006 14:17:36 -0700 (PDT) Message-ID: <1d4d9d540608161417l5b300ab8y6b5669d1601688b0@mail.gmail.com> Date: Wed, 16 Aug 2006 17:17:36 -0400 From: "Kristopher Huggins" To: axis-user@ws.apache.org, dims@apache.org Subject: Re: Internal Server Error Accessing Version Service's WSDL In-Reply-To: <19e0530f0608150653i67b8e091udca0247f22e16ae4@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_262288_4067557.1155763056223" References: <1d4d9d540608141346r631f493el290fdb962a401e31@mail.gmail.com> <1d4d9d540608150649u7556d74dm357ebfda3cff30df@mail.gmail.com> <19e0530f0608150653i67b8e091udca0247f22e16ae4@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_262288_4067557.1155763056223 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you, I fetched the source and generated the axis2.war from the source and the problem no longer exists. On 8/15/06, Davanum Srinivas wrote: > > Kris, > > Please use the nightly build and open a bug report with the stack > trace if you still face the problem. (Also check the email archives, > there was traffic on a releated problem in weblogic) > > thanks, > dims > > On 8/15/06, Kristopher Huggins wrote: > > I'm getting an internal server error when accessing the version services > > WSDL. > > > > I've downloaded the 1.0 axis2.war ( > > http://ws.apache.org/axis2/download/1_0/download.cgi ) and > > deployed it in Weblogic 8.1 after making the following modifications: > > > > 1. Added weblogic.xml to axis2.war's WEB-INF as described here ( > > http://ws.apache.org/axis/java/install.html ) > > 2. Tweaked HappyAxis.jsp to help debug classpath issues. > > > > According to the HappyAxis.jsp page, it can access the version web > service, > > however, when I click the link in the web console to view the services > wsdl > > file, I get an "Internal Server Error" and the following is in the > weblogic > > console: > > > > > > <[ServletContext(id=28303739 > > ,name=axis2,context-path=/axis2)] > > Root cause of ServletException. > > org.apache.axis2.AxisFault : null; nested exception is: > > java.lang.ClassCastException > > at > > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558) > > at > > org.apache.axis2.description.AxisService.printWSDL(AxisService.java:533) > > at > > org.apache.axis2.transport.http.ListingAgent.processListService( > ListingAgent.java:144) > > at > > org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java > :89) > > at > > org.apache.axis2.transport.http.AxisServlet.doGet > > (AxisServlet.java:109) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run > > (ServletStubImpl.java:1006) > > 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:6718) > > at > > weblogic.security.acl.internal.AuthenticatedSubject.doAs( > AuthenticatedSubject.java:321) > > at > > weblogic.security.service.SecurityManager.runAs(SecurityManager.java > :121) > > at > > weblogic.servlet.internal.WebAppServletContext.invokeServlet( > WebAppServletContext.java:3764) > > at > > weblogic.servlet.internal.ServletRequestImpl.execute > > (ServletRequestImpl.java:2644) > > at > > weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) > > at > > weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) > > Caused by: java.lang.ClassCastException > > at > > javax.xml.transform.TransformerFactory.newInstance(Unknown > > Source) > > at > > org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.java > :214) > > at org.apache.ws.commons.schema.XmlSchema.write > > (XmlSchema.java:200) > > at > > org.apache.axis2.description.AxisService2OM.generateOM( > AxisService2OM.java:147) > > at > > org.apache.axis2.description.AxisService.getWSDL(AxisService.java:553) > > ... 16 more > > > > > > > Here is some potentially pertinent info: > > > > Found TransformerFactory > > (javax.xml.transform.TransformerFactory) at > > > C:\bea81\weblogic81\samples\domains\examples\examplesServer\.wlnotdelete\extract\examplesServer__appsdir_axis2_war_axis2\jarfiles\WEB-INF\lib\xml- > > apis-1.3.02.jar > > > > Servlet version2.3 PlatformWebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 > PST > > 2004 471647 > > > > sun.boot.class.path=c:\bea81\jdk142_05\jre\lib\rt.jar > ;c:\bea81\jdk142_05\jre\lib\i18n.jar;c:\bea81\jdk142_05\jre\lib\sunrsasign.jar;c:\bea81\jdk142_05\jre\lib\jsse.jar;c:\bea81\jdk142_05\jre > > > \lib\jce.jar;c:\bea81\jdk142_05\jre\lib\charsets.jar;c:\bea81\jdk142_05\jre\classes > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > ------=_Part_262288_4067557.1155763056223 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you,

I fetched the source and generated the axis2.war from the source and the problem no longer exists.

On 8/15/06, Davanum Srinivas < davanum@gmail.com> wrote:
Kris,

Please use the nightly build and open a bug report with the stack
trace if you still face the problem. (Also check the email archives,
there was traffic on a releated problem in weblogic)

thanks,
dims

On 8/15/06, Kristopher Huggins < kris@krishuggins.com> wrote:
> I'm getting an internal server error when accessing the version services
> WSDL.
>
> I've downloaded the 1.0 axis2.war (
> http://ws.apache.org/axis2/download/1_0/download.cgi ) and
> deployed it in Weblogic 8.1 after making the following modifications:
>
> 1.  Added weblogic.xml to axis2.war's WEB-INF as described here (
> http://ws.apache.org/axis/java/install.html )
> 2.  Tweaked HappyAxis.jsp to help debug classpath issues.
>
> According to the HappyAxis.jsp page, it can access the version web service,
> however, when I click the link in the web console to view the services wsdl
> file, I get an "Internal Server Error" and the following is in the weblogic
> console:
>
> <Aug 14, 2006 3:52:21 PM EDT> <Error> <HTTP> <BEA-101017>
> <[ServletContext(id=28303739
> ,name=axis2,context-path=/axis2)]
> Root cause of ServletException.
> org.apache.axis2.AxisFault : null; nested exception is:
>         java.lang.ClassCastException
>         at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558)
>         at
> org.apache.axis2.description.AxisService.printWSDL(AxisService.java:533)
>         at
> org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:144)
>         at
> org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:89)
>         at
> org.apache.axis2.transport.http.AxisServlet.doGet
> (AxisServlet.java:109)
>         at
> javax.servlet.http.HttpServlet.service (HttpServlet.java:740)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
> (ServletStubImpl.java :1006)
>         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:6718)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java :321)
>          at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java :3764)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute
> (ServletRequestImpl.java:2644)
>         at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> Caused by: java.lang.ClassCastException
>         at
> javax.xml.transform.TransformerFactory.newInstance(Unknown
> Source)
>         at
> org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.java:214)
>         at org.apache.ws.commons.schema.XmlSchema.write
> (XmlSchema.java:200)
>         at
> org.apache.axis2.description.AxisService2OM.generateOM (AxisService2OM.java:147)
>         at
> org.apache.axis2.description.AxisService.getWSDL(AxisService.java:553)
>         ... 16 more
> >
>
> Here is some potentially pertinent info:
>
> Found TransformerFactory
> (javax.xml.transform.TransformerFactory) at
> C:\bea81\weblogic81\samples\domains\examples\examplesServer\.wlnotdelete\extract\examplesServer__appsdir_axis2_war_axis2\jarfiles\WEB-INF\lib\xml-
> apis-1.3.02.jar
>
> Servlet version2.3 PlatformWebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST
> 2004 471647
>
> sun.boot.class.path=c:\bea81\jdk142_05\jre\lib\rt.jar;c:\bea81\jdk142_05\jre\lib\i18n.jar;c:\bea81\jdk142_05\jre\lib\sunrsasign.jar;c:\bea81\jdk142_05\jre\lib\jsse.jar;c:\bea81\jdk142_05\jre
> \lib\jce.jar;c:\bea81\jdk142_05\jre\lib\charsets.jar;c:\bea81\jdk142_05\jre\classes


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


------=_Part_262288_4067557.1155763056223--