• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

error while deploying rest web service

 
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
 
Creator of Enthuware JWS+ V6
Posts: 3287
296
Android Eclipse IDE Chrome
  • 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)
 
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
 
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
Boost this thread!