users@glassfish.java.net

Re: WebappClassLoader not yet started or already stopped

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Wed, 07 Oct 2009 18:47:02 -0700

On 10/07/09 01:32, glassfish_at_javadesktop.org wrote:
> Hello,
> I get the following error:
> java.lang.Error: WebappClassLoader WebappClassLoader
> delegate: true
> repositories:
> not yet started or already stopped
>

See if this FAQ entry helps:

  
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqWebAppStoppedIllegalAccessError

Thanks,

Jan

> when invoking a JAX-RS Web Service on my deployment glassfish v3 Prelude server.
> The stack trace in the server logs shows that the http request returned a response but immediately afterwards I get this error.
> However it works on my development machine.
>
> The service implementation just uses Apache HttpClient to make a simple HTTP GET request:
> This are the relevant lines of code:
>
> HttpGet httpget = new HttpGet(uri);
> System.out.println(httpget.getURI());
> HttpClient httpclient = new DefaultHttpClient();
> HttpResponse response = httpclient.execute(httpget);
> HttpEntity entity = response.getEntity();
> String result = new String();
> if (entity != null) {
> result = EntityUtils.toString(entity);
> System.out.println(result);
> }
>
> return result;
>
> Thanks.
> [Message sent by forum member 'dabd' (dario.rehman_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=367087
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>