users@glassfish.java.net

Re: Glasfish v3 Webservice does not work after restart

From: <glassfish_at_javadesktop.org>
Date: Thu, 01 Jul 2010 03:29:03 PDT

I have the same problem with GFv3.0.1. Everytime I restart GF I need to manually restart all the applications in order to access their web services.

This simple web service is enough to reproduce the problem

package test;

import java.util.Date;
import javax.jws.WebService;
import javax.ejb.Stateless;
import javax.jws.WebMethod;

@WebService()
@Stateless()
public class NewWebService {

    @WebMethod(operationName = "getTime")
    public String getTime() {
        return new Date(System.currentTimeMillis()).toString();
    }
}
[Message sent by forum member 'paolo0720']

http://forums.java.net/jive/thread.jspa?messageID=476488