Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 747 invoked from network); 6 May 2006 03:36:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 May 2006 03:36:13 -0000 Received: (qmail 70152 invoked by uid 500); 6 May 2006 03:36:08 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 69882 invoked by uid 500); 6 May 2006 03:36:07 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 69795 invoked by uid 99); 6 May 2006 03:36:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 20:36:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 20:36:06 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 985B57142BD for ; Sat, 6 May 2006 03:35:29 +0000 (GMT) Message-ID: <30056763.1146886529605.JavaMail.jira@brutus> Date: Sat, 6 May 2006 03:35:29 +0000 (GMT+00:00) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-682) Problems testing Axis2 1.0 with Oracle OC4J (9.0.4) In-Reply-To: <27852697.1146886407615.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-682?page=comments#action_12378181 ] Davanum Srinivas commented on AXIS2-682: ---------------------------------------- Original email: http://marc.theaimsgroup.com/?l=axis-user&m=114685843326596&w=2 > Problems testing Axis2 1.0 with Oracle OC4J (9.0.4) > --------------------------------------------------- > > Key: AXIS2-682 > URL: http://issues.apache.org/jira/browse/AXIS2-682 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Reporter: Davanum Srinivas > > Hello, > I copied the content of axis2.war into a web application and run it from > the OC4J container (9.0.4) from JDeveloper 9.0.5.2. > I noticed the following problems: > 1. Because we have an 'error.jsp' file and an 'Error' subdirectory in > the axis2-web directory, the jsp compiler reports an error: > Error: package and class have same name: _axis2_2d_web._error > Resolution: rename the directory 'Error' to 'Errors' and change the > error-page urls in the web.xml accordingly. > 2. When I click on the 'Services' link on the Welcome page, the > contenttype of the result page is text/plain instead of text/html, so I > get the page source in Firefox. The same behavior in all pages that are > generated using the request.getRequestDispatcher(jspname).include(). > Putting the following line before the dispatching in the renderView > method of the AbstractAgent class resolves the problem: > httpServletResponse.setContentType("text/html;charset=UTF-8"); > 3. Getting the wsdl of the 'version' service on the service list page > (url: context-root/services/version?wsdl) displays an error: > Requested resource not found! > This is because the line 87 in ListingAgent does not detect the wsdl > request parameter: > httpServletRequest.getParameter("wsdl") returns null in OC4J > (request.getParameterNames() returns an empty enumeration). > Calling with context-root/services/version?wsdl=x will return the wsdl. > I have never used jsp with OC4J before (we use Velocity), so I think the > OC4J gurus can comment these issues and hopefully can find better solutions. > One more strange code fragment in RPCMessageReceiver.java (around line 114): > // Handling the response > AxisMessage outaxisMessage = > op.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE); > if (inaxisMessage != null) { > messageNameSpace = > outaxisMessage.getElementQName().getNamespaceURI(); > } > instead of checking inaxisMessage != null probably we should check > outaxisMessage != null. I think the problem is the result of copy/pasting. > Regards, > Laszlo -- 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