Closed glassfishrobot closed 12 years ago
@glassfishrobot Commented scatari said: Romain, please evaluate to see if a workaround can be documented.
@glassfishrobot Commented @romain-grecourt said: A possible workaround would be to provide "deployment.target" at comandline. For install ant -Ddeployment.target=server run.
@glassfishrobot Commented @romain-grecourt said: What is the impact on the customer of the bug?
User following instructions will not be able to run the sample. It is a regression.
What is the cost/risk of fixing the bug? The fix is very simple. Is there an impact on documentation or message strings? No. Which tests should QA (re)run to verify the fix did not destabilize GlassFish? Try to run the sample again. Which is the targeted build of 3.1.2 for this fix? b20.
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-18246
@glassfishrobot Commented Reported by ap2257
@glassfishrobot Commented Marked as fixed on Wednesday, February 1st 2012, 8:02:27 am
The WebServices samples worked and were functional with promoted build 16.
The problem is seen with promoted build 18, when "ant run" target is invoked. The sequence of steps are as follows (the following is for hello-jaxws2.2 sample), o machine$ cd $S1AS_HOME/sample/javaee/webservices/hello-jaxws2.2 o ant compile BUILD SUCCESSFUL o ant package BUILD SUCCESSFUL o ant run BUILD FAIL
The error message seen is
setup: [mkdir] Created dir: /home/test/workspace/glassfish3/glassfish/samples/javaee6/webservices/hello-jaxws2.2/hello-jaxws-client/build/classes
jaxws: [wsimport] Consider using/ so that wsimport won't do unnecessary compilation
[wsimport] parsing WSDL...
[wsimport]
[wsimport]
[wsimport] [ERROR] http://localhost:8080/hello-jaxws2.2/HelloService?WSDL is unreachable
[wsimport]
[wsimport]
[wsimport] Failed to parse the WSDL.
[wsimport] Command invoked: wsimport /usr/local/tools/jdk1.6.0_30/jre/bin/java -d /home/ap2257/workspace/glassfish3/glassfish/samples/javaee6/webservices/hello-jaxws2.2/hello-jaxws-client/build/classes -g -Xendorsed -keep http://localhost:8080/hello-jaxws2.2/HelloService?WSDL -p endpoint
[wsimport] classLoader = java.net.URLClassLoader@54c4ad
[wsimport] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@1568fb5
BUILD FAILED /home/test/workspace/glassfish3/glassfish/samples/javaee6/webservices/hello-jaxws2.2/build.xml:61: The following error occurred while executing this line: /home/test/workspace/glassfish3/glassfish/samples/javaee6/webservices/hello-jaxws2.2/hello-jaxws-client/build.xml:70: wsimport failed
The same error is seen on the other two samples (hello-singleton-ejb, hello-webserviceref)
Environment
Oracle Enterprise Linux 6, JDK1.6.0_30. Used java_ee_sdk-6u4-b18-unix.sh promoted build. Firefox Browser 3.6.25. Default "typical" installation with no password. CLASSPATH=$S1AS_HOME/lib/javaee.jar
Affected Versions
[3.1.2_dev]