Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error while deploying rest web service

 
onisha jain
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to rest web service.

I am trying the example from http://www.mkyong.com/webservices/jax-rs/jersey-hello-world-example/

While hitting the URL I am getting this strange error :

I get a pop saying that :



And the details are :



For exact pop please visit :
http://stackoverflow.com/questions/25863005/error-while-deploying-rest-web-service
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2535
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to use Eclipse with a Glassfish server: JAX-RS (Jersey implementation) is included and it helpes you to prepare for the certification. (the exam expects you to know how to create a Jersey client)
 
Sweetesh Hindlekar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also getting the same error popup while deploying the Jersey based Rest web services on JBoss AS 7.1.1 / JDK 1.6.

It used to work fine when I was working on another machine with JDK 1.7.

Service is deployed on JBoss AS but the client or invocation on the Explorer throws this popup

@Frits : Cant change to any other server like Glassfish
 
Sameer C Naik
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had same issue with call of RESTful service, which is

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://localhost:8080/restproj/v1/r6/form resulted in exception. Following failure messages were detected:
+ Downloading http://localhost:8080/restproj/v1/r6/form did not succeed.
+ The remote server returned an error: (529).

==> This is Resolved by adding following line of annotation on top of method call
@GET
@Produces("text/html")
public String hello() {
return "Hello World!";
}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic