[
https://jira.jboss.org/jira/browse/JBIDE-6175?page=com.atlassian.jira.plu...
]
Brian Fitzpatrick commented on JBIDE-6175:
------------------------------------------
Grid, even with changing the path and the jvm arguments, your test doesn't run on my
machine. It hangs as it tries to import the project.
Couple of things...
1) I'm not a fan of hardcoding server locations in JUnit tests. I think it's a
dangerous practice.
2) Talking to Nick Boldt, he suggested providing an external JVM argument to specify the
path... Something like -DJBOSSWS_HOME_DEFAULT=D:/softinstall/jboss-4.2.3GA/jboss-4.2.3.GA
You could then check to see if that argument is specified and override the internal
variable...
// if command-line argument is specified, it should take
// precedence over the hard-coded value here.
// -DJBOSSWS_HOME_DEFAULT=D:/softinstall/jboss-4.2.3GA/jboss-4.2.3.GA
// then get the argument with
// System.getProperty("JBOSSWS_HOME_DEFAULT");
String cmdlineHomeDefault = System.getProperty("JBOSSWS_HOME_DEFAULT");
if (cmdlineHomeDefault != null && cmdlineHomeDefault.trim().length() > 0) {
AbstractJBossWSCommandTest.JBOSSWS_HOME_DEFAULT = cmdlineHomeDefault;
System.setProperty(JBOSSWS_42_HOME, JBOSSWS_HOME_DEFAULT);
AbstractJBossWSCommandTest.JBOSS_AS_42_HOME = System.getProperty(
JBOSSWS_42_HOME, JBOSSWS_HOME_DEFAULT);
}
That said, this is still failing on RHEL for me.
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