1. SSL Connection works in Console App but not Glassfish stackoverflow.comI am having trouble connecting to an LDAP server in my JSP application. I am running the application on GlassFish v2. The following code works well in a console ... |
2. Connection to remote Glassfish server coderanch.comHello, I am new in EJB technology and I need help. I created simple sesion bean. Here is the listing of source files : Bean interface: package beans; import javax.ejb.Remote; @Remote public interface SimpleSession { public String getEchoString(String arg); } Implementation of the interface: package beans; import javax.ejb.Stateless; @Stateless public class SimpleSessionBean implements SimpleSession{ public String getEchoString(String arg) { return arg ... |
4. Comet servlet can not work through a mod_jk connection java.netHello, I have configured my glassfish with Apache httpd following the instruction by Jean-Francois Arcand's Blog http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.... after that I can access my servlet through Apache, but comet servlet can not work, it throw exception : java.lang.IllegalStateException: Grizzly Comet hasn't been registered at com.sun.enterprise.web.connector.grizzly.comet.CometContext.addCometHandler(CometContext.java:220) at com.sun.enterprise.web.connector.grizzly.comet.CometContext.addCometHandler(CometContext.java:266) at comet.CometServlet.doPost(CometServlet.java:104) at comet.CometServlet.doGet(CometServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) ...... I enabled the AJP connector by ... |
5. how to make a servlet detect if a connection is aborted java.netI need to figure out a way, if the POST terminates unexpectedly (the user clicks the abort button) the servlet detects this so it can delete resized files and original files, etc. (the user may click even after the file upload is finished, the servlet will return the response only after the images are resized) |
6. Connection pool in glassfish with jsp java.net |