[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6175) Cannot create JbossWS client on EAP 4.2

Feng Qian (JIRA) jira-events at lists.jboss.org
Wed Apr 14 22:56:26 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-6175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12525786#action_12525786 ] 

Feng Qian commented on JBIDE-6175:
----------------------------------

Hi Brian,

These codes for server location from AS tests, I think they have not big problem. 

protected static final String JBOSSWS_HOME_DEFAULT = "D:/softinstall/jboss-4.2.3GA/jboss-4.2.3.GA";
public static final String JBOSS_AS_42_HOME = System.getProperty(JBOSSWS_42_HOME, JBOSSWS_HOME_DEFAULT);

These codes will find the server location from JBOSSWS_HOME_DEFAULT, if not, then JBOSSWS_42_HOME that is a property in every build system.

Go back to your problem. When you import the project, the test hang. I think maybe in your eclipse, you have epp update plugins, they will run all time. The import method will add listener to the workspace threads. If there is a thread running, the import can't finish.
I have sent a mail for this problem in exadel mail list. You can check it. 

> Cannot create JbossWS client on EAP 4.2
> ---------------------------------------
>
>                 Key: JBIDE-6175
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-6175
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.1.0.GA
>            Reporter: Libor Zoubek
>            Assignee: Feng Qian
>             Fix For: 3.1.x, 3.2.next
>
>         Attachments: .log, AddNumbersService.wsdl, JBIDE-6175.patch, moz-screenshot-23.jpg, testforJBIDE-6175.patch
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> I am not able to generate web service client stubs on eap 4.2. btw there is no direct support for eap 4.2 runtime. One can add only eap 4.3 runtime or jboss-as 4.2.
> I am getting error with stacktrace:
> IWAB0014E Unexpected exception occurred.
>   
>       java.lang.NullPointerException
>       at org.jboss.tools.ws.creation.core.commands.ClientSampleCreationCommand.findJavaUnitsByAnnotation(ClientSampleCreationCommand.java:310)
>       at org.jboss.tools.ws.creation.core.commands.ClientSampleCreationCommand.execute(ClientSampleCreationCommand.java:80)
>       at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
> Steps to reporoduce:
> 1. Get eap-4.2 (e.g. from pokchop)
> 2. Add eap-4.2 as eap 4.3 runtime or jboss-as 4.2 runtime
> 3. Create dynamic web project
> 4. Create web service client (to enter valid wsdl url you might need to create some webservice)
> Reproducible : always

-- 
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