[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-1103) Creating simple Axis Web Service fails running

Rob Stryker (JIRA) jira-events at lists.jboss.org
Wed Apr 14 06:08:26 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBDS-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12525598#action_12525598 ] 

Rob Stryker commented on JBDS-1103:
-----------------------------------

It seems the wizard does a full publish first, before the wizard has generated all the artifacts. This causes the incomplete module to be published. 

Later, it adds some files such as the jsp's and more importantly the webserviceutils.jar library to the deployment via an incremental publish. One of the files that remains unchanged during the incremental publish is the web.xml. Touching the web.xml, via command line, or republishing via a full or clean republish, fixes the problem. 

Basically, despite the jar being in the right place when the jsp's are accessed, the container did *not* pick up the jar because the web.xml remained unchanged. The JSP's get auto-compiled when first accessed, and without the webserviceutils.jar on the classpath, it can't compile that jsp. 

Possible fixes include keeping track of whether files or extensions should trigger automatic module restarts or not. I suppose this could be up for discussion, but at least now the nature of the problem is understood. 

> Creating simple Axis Web Service fails running
> ----------------------------------------------
>
>                 Key: JBDS-1103
>                 URL: https://jira.jboss.org/jira/browse/JBDS-1103
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>    Affects Versions: 3.0.0.CR2
>         Environment: Sun JDK 1.6.0_17, x86_64, JBDS-H7-CR3, Jboss-AS 5.1-GA
>            Reporter: Libor Zoubek
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 3.0.1.GA, LATER
>
>         Attachments: axis_ws_run_error.log, workspace.zip
>
>
> It seems like JDBS wrongly creates axis-based web service. In comparsion to Eclipse 3.5 WTP, where everything goes OK as well as deploying and running od jboss-as 5.1
> Can be reproduced by following this tutorial http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html 
> Notes:
> Eclipse 3.5 WTP creating, deploying, running - OK
> Opening workspace created by Eclipse 3.5 WTP by JBDS and deploying+running Axis WS  - OK
> See attached log and workspace

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list