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 11:42:15 GMT

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

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

Issue 2: Startup of the Web application fails with:

java.lang.NoClassDefFoundError: javax/jws/WebService
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
    at java.lang.Class.getConstructor0(Class.java:2671)
    at java.lang.Class.newInstance0(Class.java:321)
    at java.lang.Class.newInstance(Class.java:303)
    at org.apache.axis2.deployment.AxisConfigBuilder.processDeployers(AxisConfigBuilder.java:413)
    at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:276)
    at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:843)
    at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:157)
    at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:528)
    at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:444)
    at org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:60)

It seems that JST excludes geronimo-ws-metadata_2.0.spec from the JARs copied to the Web app.

> 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