Issue Details (XML | Word | Printable)

Key: GLASSFISH-19233
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Bhavanishankar
Reporter: sakshi.jain
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

Failure while deploying webservices on embedded glassfish

Created: 25/Oct/12 05:17 PM   Updated: 26/Oct/12 09:59 AM   Resolved: 26/Oct/12 09:53 AM
Component/s: embedded
Affects Version/s: None
Fix Version/s: 4.0_b61

Time Tracking:
Not Specified

File Attachments: 1. Java Source File egf.java (1 kB) 25/Oct/12 05:17 PM - sakshi.jain
2. File webservice.war (98 kB) 25/Oct/12 05:17 PM - sakshi.jain


Tags:
Participants: Bhavanishankar and sakshi.jain


 Description  « Hide

When a war of a webservices application is deployed using embedded glassfish it fails with the following error:
Running org.glassfish.tests.ejbwar.WebTest
java.io.FileNotFoundException: http://localhost:8080/webservice/SimpleWebServiceService?wsdl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
at org.glassfish.tests.ejbwar.WebTest.goGet(WebTest.java:80)
at org.glassfish.tests.ejbwar.WebTest.testWeb(WebTest.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)




Bhavanishankar added a comment - 26/Oct/12 09:59 AM

This is the check-in (by mtuabe@java.net) that has caused this issue:

http://java.net/projects/glassfish/lists/commits/archive/2012-06/message/10

(keeping this comment for future reference)