[JBoss JIRA] (JBIDE-19946) running webservice test gives errors
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19946?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick commented on JBIDE-19946:
-------------------------------------------
Looks like according to this (https://access.redhat.com/articles/111663) that EAP didn't support Java 8 until just recently. So I'm guessing this may be a problem.
> running webservice test gives errors
> ------------------------------------
>
> Key: JBIDE-19946
> URL: https://issues.jboss.org/browse/JBIDE-19946
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Reporter: Max Rydahl Andersen
> Assignee: Brian Fitzpatrick
> Fix For: 4.3.0.Beta2
>
>
> running 4.3.0.Beta1x with jdk's defined I get this error:
> {code}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
> Retrieving document at 'file:/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
> null
> null
> Retrieving document at '/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 272.543 sec <<< FAILURE! - in org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
> testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSTopDownCommandTest) Time elapsed: 82.428 sec
> testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest) Time elapsed: 127.267 sec <<< FAILURE!
> junit.framework.AssertionFailedError: ***********************
> Create Web Service Client...
> Create Web Service...
> Create Web Service Operation...
> Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
> at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
> at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
> at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
> at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
> at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
> at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
> at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
> ... 4 more
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.checkText(JBossWSJavaFirstCommandTest.java:163)
> at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.testDeployResult(JBossWSJavaFirstCommandTest.java:116)
> testInitialClientCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest) Time elapsed: 15.26 sec
> testClientCodeGenerationCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest) Time elapsed: 17.628 sec
> testRemoveClientJarsCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest) Time elapsed: 14.25 sec
> testMergeWebXMLCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSMergeWebXMLCommandTest) Time elapsed: 9.174 sec
> testJBIDE6175(org.jboss.tools.ws.creation.core.test.command.JBossWSClientSampleCreationCommandTest) Time elapsed: 6.416 sec
> Results :
> Failed tests:
> JBossWSJavaFirstCommandTest.testDeployResult:116->checkText:163 ***********************
> Create Web Service Client...
> Create Web Service...
> Create Web Service Operation...
> Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
> at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
> at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
> at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
> at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
> at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
> at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
> at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-19946) running webservice test gives errors
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19946?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick commented on JBIDE-19946:
-------------------------------------------
Ok [~maxandersen] & [~asoldano], I believe I've found the problem.
Under the covers of course we re-use the wsconsume and wsprovide utilities from whatever runtime the user is running against. If I take the hello_world.wsdl and the JBoss 4.2.3.GA runtime running on Java 1.8.0_45 locally with this command line:
{code}wsconsume -k -v -p org.foo hello_world.wsdl{code}
I see this:
{code}
JBossWS-Native stack deployed
parsing WSDL...
generating code...
org\foo\FaultDetail.java
org\foo\GreetMe.java
org\foo\GreetMeOneWay.java
org\foo\GreetMeResponse.java
org\foo\Greeter.java
org\foo\ObjectFactory.java
org\foo\PingMe.java
org\foo\PingMeFault.java
org\foo\PingMeResponse.java
org\foo\SOAPService.java
org\foo\SayHi.java
org\foo\SayHiResponse.java
org\foo\package-info.java
[ERROR] com.sun.tools.javac.Main is not available in the classpath, requires Suns JDK version 5.0 or latter.
unknown location
compilation failed, errors should have been reported
Failed to invoke WsImport
java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information
at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:220)
at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:223)
at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:81)
{code}
But if I run it with Java 7 (jdk1.7.0_71) it runs fine.
So after all of that, this issue is an incompatibility with Java 8. We're testing against a really old version of AS - but by requiring Java 8 we most likely will need to move up to a newer version of the AS runtime to test against...
Alessio - are any versions of JBossWS Java 8 compatible? And if so, what's the earliest version of that JBossWS that has found its way into a version of JBoss AS or Wildfly?
> running webservice test gives errors
> ------------------------------------
>
> Key: JBIDE-19946
> URL: https://issues.jboss.org/browse/JBIDE-19946
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Reporter: Max Rydahl Andersen
> Assignee: Brian Fitzpatrick
> Fix For: 4.3.0.Beta2
>
>
> running 4.3.0.Beta1x with jdk's defined I get this error:
> {code}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
> Retrieving document at 'file:/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
> null
> null
> Retrieving document at '/Users/max/code/jbosstools/jbosstools-webservices/tests/org.jboss.tools.ws.creation.core.test/target/work/data/JBossWSTestProject/hello_world.wsdl'.
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 272.543 sec <<< FAILURE! - in org.jboss.tools.ws.creation.core.test.JBossWSCreationCoreTestSuite
> testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSTopDownCommandTest) Time elapsed: 82.428 sec
> testDeployResult(org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest) Time elapsed: 127.267 sec <<< FAILURE!
> junit.framework.AssertionFailedError: ***********************
> Create Web Service Client...
> Create Web Service...
> Create Web Service Operation...
> Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
> at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
> at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
> at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
> at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
> at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
> at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
> at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
> ... 4 more
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.checkText(JBossWSJavaFirstCommandTest.java:163)
> at org.jboss.tools.ws.creation.core.test.command.JBossWSJavaFirstCommandTest.testDeployResult(JBossWSJavaFirstCommandTest.java:116)
> testInitialClientCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest) Time elapsed: 15.26 sec
> testClientCodeGenerationCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest) Time elapsed: 17.628 sec
> testRemoveClientJarsCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSClientCommandTest) Time elapsed: 14.25 sec
> testMergeWebXMLCommand(org.jboss.tools.ws.creation.core.test.command.JBossWSMergeWebXMLCommandTest) Time elapsed: 9.174 sec
> testJBIDE6175(org.jboss.tools.ws.creation.core.test.command.JBossWSClientSampleCreationCommandTest) Time elapsed: 6.416 sec
> Results :
> Failed tests:
> JBossWSJavaFirstCommandTest.testDeployResult:116->checkText:163 ***********************
> Create Web Service Client...
> Create Web Service...
> Create Web Service Operation...
> Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
> at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
> at com.sun.proxy.$Proxy14.sayHello(Unknown Source)
> at org.example.www.helloworld.clientsample.ClientSample.main(ClientSample.java:14)
> Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
> at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:439)
> at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:83)
> at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
> at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
> at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158)
> at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:291)
> at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBDS-3440) Consider using TestNG 6.9.5.201506120235 in JBDS 9
by Burr Sutter (JIRA)
[ https://issues.jboss.org/browse/JBDS-3440?page=com.atlassian.jira.plugin.... ]
Burr Sutter updated JBDS-3440:
------------------------------
CDW pm_ack: + (was: ?)
> Consider using TestNG 6.9.5.201506120235 in JBDS 9
> --------------------------------------------------
>
> Key: JBDS-3440
> URL: https://issues.jboss.org/browse/JBDS-3440
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: 3rd-party-certification, 3rd-party-dependencies, central, discovery, installer, upstream
> Affects Versions: 9.0.0.Beta1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 9.0.0.Beta2
>
>
> We currently include TestNG 6.8.6.20141201_2240.
> But the latest available is 6.9.5.201506120235.
> Do we want something newer?
> You can try the latest from here:
> http://beust.com/eclipse/
> If we decide we want something newer, I can pull a mirror and add it to the Beta1 target platform (JBIDE-19776) already in progress.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBDS-3440) Consider using TestNG 6.9.5.201506120235 in JBDS 9
by CDW Engine (JIRA)
[ https://issues.jboss.org/browse/JBDS-3440?page=com.atlassian.jira.plugin.... ]
CDW Engine updated JBDS-3440:
-----------------------------
CDW docs_ack: ?
CDW release: + (was: ?)
> Consider using TestNG 6.9.5.201506120235 in JBDS 9
> --------------------------------------------------
>
> Key: JBDS-3440
> URL: https://issues.jboss.org/browse/JBDS-3440
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: 3rd-party-certification, 3rd-party-dependencies, central, discovery, installer, upstream
> Affects Versions: 9.0.0.Beta1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 9.0.0.Beta2
>
>
> We currently include TestNG 6.8.6.20141201_2240.
> But the latest available is 6.9.5.201506120235.
> Do we want something newer?
> You can try the latest from here:
> http://beust.com/eclipse/
> If we decide we want something newer, I can pull a mirror and add it to the Beta1 target platform (JBIDE-19776) already in progress.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBDS-3440) Consider using TestNG 6.9.5.201506120235 in JBDS 9
by CDW Engine (JIRA)
[ https://issues.jboss.org/browse/JBDS-3440?page=com.atlassian.jira.plugin.... ]
CDW Engine reassigned JBDS-3440:
--------------------------------
> Consider using TestNG 6.9.5.201506120235 in JBDS 9
> --------------------------------------------------
>
> Key: JBDS-3440
> URL: https://issues.jboss.org/browse/JBDS-3440
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: 3rd-party-certification, 3rd-party-dependencies, central, discovery, installer, upstream
> Affects Versions: 9.0.0.Beta1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 9.0.0.Beta2
>
>
> We currently include TestNG 6.8.6.20141201_2240.
> But the latest available is 6.9.5.201506120235.
> Do we want something newer?
> You can try the latest from here:
> http://beust.com/eclipse/
> If we decide we want something newer, I can pull a mirror and add it to the Beta1 target platform (JBIDE-19776) already in progress.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-20082) Application wizard: it's not userfriendly
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20082?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-20082 at 6/19/15 12:34 PM:
--------------------------------------------------------------------
{quote}
* dont show just long list of variables with no particular order.
{quote}
For this to happen we need enhancements in the templates. [~jcantrill] will have a chat with the people in #openshift about it.
{quote}
* warn/error about required fields (or at least make templates that works out of the box - i.e. have git refs filled out)
{quote}
Right now the eap templates should already have the needed enahncements in place so that everything should work out of the box.
{quote}
* label page has no information/context on what its needed for
{quote}
We currently have explanations in the title area:
!explanation-for-labels.png!
Maybe we should add explanations in a more prominent place like. ex. above the table?
{quote}
* let me see what is going to be created before creation happens
{quote}
We have the "Details" button in the first page where you select the template. The details shown tell you about all resources that will get created.
!template-resource-details.png!
What's lacking?
{quote}
* let me delete/undo the creation (i.e. if parts of it fails its tedious to cleanup after it)
{quote}
The non-transactional character that there for now is by design.
* We could add an "Undo" button where we would help the user to remove what was created.
* We also plan to have the ability to delete multiple items in ...
* We could also implement a delete by label
* ...
WDYT?
{quote}
* let me edit fields by double clicking - now i need to edit
{quote}
filed to JBIDE-20129
{quote}
* find a way to only show the important fields and put rest under "advanced" or something similar to avoid the "wall-of-variables"
{quote}
So here again we dont have any criteria/metadata to indicate what is basic while others are advanced. We need enhancements in the templates to happen so that we can provide that.
was (Author: adietish):
{quote}
* dont show just long list of variables with no particular order.
{quote}
For this to happen we need enhancements in the templates. @jeff Cantrill will have a chat with the people in #openshift about it.
{quote}
* warn/error about required fields (or at least make templates that works out of the box - i.e. have git refs filled out)
{quote}
Right now the eap templates should already have the needed enahncements in place so that everything should work out of the box.
{quote}
* label page has no information/context on what its needed for
{quote}
We currently have explanations in the title area:
!explanation-for-labels.png!
Maybe we should add explanations in a more prominent place like. ex. above the table?
{quote}
* let me see what is going to be created before creation happens
{quote}
We have the "Details" button in the first page where you select the template. The details shown tell you about all resources that will get created.
!template-resource-details.png!
What's lacking?
{quote}
* let me delete/undo the creation (i.e. if parts of it fails its tedious to cleanup after it)
{quote}
The non-transactional character that there for now is by design.
* We could add an "Undo" button where we would help the user to remove what was created.
* We also plan to have the ability to delete multiple items in ...
* We could also implement a delete by label
* ...
WDYT?
{quote}
* let me edit fields by double clicking - now i need to edit
{quote}
filed to JBIDE-20129
{quote}
* find a way to only show the important fields and put rest under "advanced" or something similar to avoid the "wall-of-variables"
{quote}
So here again we dont have any criteria/metadata to indicate what is basic while others are advanced. We need enhancements in the templates to happen so that we can provide that.
> Application wizard: it's not userfriendly
> -----------------------------------------
>
> Key: JBIDE-20082
> URL: https://issues.jboss.org/browse/JBIDE-20082
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.3.0.Beta1
> Reporter: Andre Dietisheim
> Assignee: Max Rydahl Andersen
> Labels: application_wizard, openshift_v3
> Fix For: 4.3.0.Beta2
>
> Attachments: explanation-for-labels.png, template-resource-details.png
>
>
> The feedback from various sources says that the current implementation of the application wizard that creates an application on OpenShift v3 via templates is not userfriendly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (JBIDE-20082) Application wizard: it's not userfriendly
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20082?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-20082:
-------------------------------------
Attachment: template-resource-details.png
explanation-for-labels.png
> Application wizard: it's not userfriendly
> -----------------------------------------
>
> Key: JBIDE-20082
> URL: https://issues.jboss.org/browse/JBIDE-20082
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.3.0.Beta1
> Reporter: Andre Dietisheim
> Assignee: Max Rydahl Andersen
> Labels: application_wizard, openshift_v3
> Fix For: 4.3.0.Beta2
>
> Attachments: explanation-for-labels.png, template-resource-details.png
>
>
> The feedback from various sources says that the current implementation of the application wizard that creates an application on OpenShift v3 via templates is not userfriendly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months