users@glassfish.java.net

Webapplication fails after switch from 3.0.1 to 3.1

From: <forums_at_java.net>
Date: Wed, 9 Mar 2011 05:34:54 -0600 (CST)

Hello,
our webapplication (Java EE 6) works under GF 3.0.1 on our Ubuntu System
(Linux se05.us.researchgate.net 2.6.32-26-server #47-Ubuntu SMP Wed Nov 17
17:05:29 UTC 2010 x86_64 GNU/Linux).
With version 3.1 we have strange problems.
We setup a clean GF 3.1 zip install. Changed http-listener ports to
38080,38181 and started the default domain1. Copy postgresql driver
(postgresql-9.0-801.jdbc4.jar) to glassfish/lib/ and created a jdbc
connection pool and a jdbc resource. Database connections to Postgresql
works.
Then we deployed our war file as Enterprise Application with default settings
and checked precompile JSP. The webapplication starts but some resources
can't be found (images or css) by Felix Webserver. So far no errors in the
log. We recognized that under Applications: engines shows for our application
just ejb and web. Under Version 3.0.1 there is also jpa listed. Maybe the
cause of our errors.
If we want to access a method of our webapplication we receive one of this
two errors:
Exception in thread "main"
com.sun.jersey.api.client.UniformInterfaceException: POST
http://127.0.0.1:38080/Refind/resources/authors/searchAuthorByAuthorUid/
returned a response status of 404
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:563)
    at
com.sun.jersey.api.client.WebResource.access$300(WebResource.java:69)
    at
com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:499)
    at
net.researchgate.refind.rest.client.RestClientAuthors.searchAuthorByAuthorUid(RestClientAuthors.java:35)
    at
net.researchgate.refind.rest.client.RestClientAuthors.main(RestClientAuthors.java:75)
Exception in thread "main"
com.sun.jersey.api.client.UniformInterfaceException: POST
http://127.0.0.1:38080/Refind/resources/authors/searchAuthorByAuthorUid/
returned a response status of 500
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:563)
    at
com.sun.jersey.api.client.WebResource.access$300(WebResource.java:69)
    at
com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:499)
    at
net.researchgate.refind.rest.client.RestClientAuthors.searchAuthorByAuthorUid(RestClientAuthors.java:35)
    at
net.researchgate.refind.rest.client.RestClientAuthors.main(RestClientAuthors.java:75)
Any hint is usefull.
Regards


--
[Message sent by forum member 'stevie']
View Post: http://forums.java.net/node/779770