axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4464) Axis2 1.5 not compatible with Eclipse JST Web Services
Date Sun, 16 Aug 2009 22:14:14 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743917#action_12743917
] 

Andreas Veithen commented on AXIS2-4464:
----------------------------------------

Issue 3: Startup of the Web application fails with:

java.lang.NoClassDefFoundError: org/apache/http/HttpResponseFactory
    at org.apache.axis2.transport.http.SimpleHTTPServer.init(SimpleHTTPServer.java:113)
    at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:74)
    at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:450)
    at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:60)

This is caused by the fact that axis2.xml refers to org.apache.axis2.transport.http.SimpleHTTPServer,
which is obviously nonsense because we are using the servlet transport. Removing the transportReceiver
from axis2.xml (and letting AxisServlet add its own TransportInDescription) doesn't work either
because of AXIS2-4141.

> Axis2 1.5 not compatible with Eclipse JST Web Services
> ------------------------------------------------------
>
>                 Key: AXIS2-4464
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4464
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>
> As pointed out by Alexander Bruch, Axis2 1.5 doesn't work well together with the Web
Service tooling in Eclipse JST. There is an open issue [1] for this in the JST bug tracker,
but if we can implement some workarounds to make it work with the current version of JST,
we should do so.
> Steps to reproduce:
> 0. Open Eclipse
> 1. Configure Axis2
> - Goto Menu Windows -> Preferences -> Web Services -> Axis2 Preferences
> - Choose the Axis2 installation Path i.e. on Windows c:\Program Files\axis2-1.5
> - Apply
> 3. Create new Dynamic WbProject
> - Goto Menu File -> New -> Dynamic Web Project
> - Project name: TestAxis2-1.5
> - Target Runtime i.e. "Apache Tomcat 6.0"
> - Dynamic Web module version: 2.5
> - Configuration: Default Configuration for Apache Tomcat v6.0
> - Configuration: Click Button "Modify"
> - Activate Root Checkbox of Axis2 Webservices
> (This should install axis2 Project Facets (axis2-web, libs etc.)
> - Click Next / Finish until the Project setup is completed
> 4. Create POJO
> - Create New Java Class : Package com.test.axis2, Class Name SimplePOJO
> - Add two Private properties (String name, int age) and let eclipse generate public getters
and setters.
> - Save The niew Class
> 5. Create WebService
> - Right click on the new SimplePOJO.java
> - chosse WebService -> Create WebService
> - At the configuration Section choose:
> Server: Tomcat v6.0 Server
> Webservice runtime: Apache Axis2
> Service projectz: TestAxis1.5
> Move the Slider to the top -> "Test Service"
> Move the Client Slider to the bottom -> "No client"
> - click Next
> - In the next Dialog select " Generate a default service.xml file
> - Click Next
> - In the Next Dialog select "Start Server" if not already startes
> - Click next / finish
> Issue no. 1: The generated web.xml refers to org.apache.axis2.transport.http.AxisAdminServlet,
but this class has been moved to org.apache.axis2.webapp.
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=282466

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message