glassfish « J2EE « JSP-Servlet Q&A





1. Multiple EAR in Glassfish    coderanch.com

3. Need messge to be consumed once by MDB deployed in a glassfish cluster?    coderanch.com

I have a situation that we have a web app/the JMS publisher, and a MDB the subscriber, both deployed into a glassfish cluster. The MDB should consume the JMS message only ONCE. But with the current deployment configuration, which is with JMS resources running in EMBEDDED mode, we observe the JMS messages are consumed multiple times. - My question is how ...

4. problem when calling webservice deployed on another glassfish instance    coderanch.com

hey guys, i'm calling a webservice deployed on glassfish on another machine , i call the webservice from session bean and i got this exception javax.xml.ws.soap.SOAPFaultException: WSTX-AT-0022: Registration with durable parent failed: ' coordId=uuid:WSCOOR-SUN-a610d20b-7177-4214-a594-69b2d8d02544 partId:1 ' at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:116) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) at $Proxy175.login(Unknown Source) at net.netsignature.MySessionBean.myMethod(MySessionBean.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ...

5. Problem in persisting in web service servlet    java.net

I have problem persisting - I get the following NPE. I seem to be connecting to the correct database, could this be because I haven't set up my entities correctly (There are two, AlarmT "HAS-A" EventInformationT relationship, there are other associations but they are simple classes of String, int and String Lists)

7. newb setting up servlet via a war file...    java.net

new to java and glassfish - I switched to glassfish from tomcat on my linux box - it looks good i just cant deploy to it... Read a few posts and it looks like i have to use a war file to load up my servlets - i found a tutorial on creating a war file on suns site - does ...

9. Sun Application Server Web Services And Servlets    java.net

When I WAR my web service and servlets and have a web.xml in WEB-INF, Sun Application Server assumes that I don't have any web services even though I do have web services as well as servlets that are specified in the web.xml. Is there any way to have a WAR file that I can deploy that can have a combination of ...





12. StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet    java.net

Hi: I have created a very basic EJB + JSF application and tried to deploy it to Glassfish v2 (update 1) when I get the following exception [#|2008-02-11T14:55:05.687+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=2f2fff7e-05ef-4077-8eb9-89cfa056ad1c;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception javax.servlet.ServletException: PWC1232: Exceeded maximum depth for nested request dispatches: 20 at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:842) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) ...

13. Accessing Web Service from JSP fails    java.net

I am trying to run in GlassFishv3 (glassfish-v3-ea-b44) an example from the "Java Web Services - Up and Running" book and it does not work. Here is the structure of the example. I have two applications deployed as war, one containing just the Web Service and the second one containing the html and jsp files for displaying and accessing the web ...

14. PWC1406: Servlet.service() for servlet ThemeServlet threw exception    java.net

[#|2009-10-19T17:57:51.878+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=3383e1bf-4a9c-4446-8aa0-4c510cb887e2;|StandardWrapperValve[ThemeServlet]: PWC1406: Servlet.service() for servlet ThemeServlet threw exception java.lang.NumberFormatException: For input string: "E572" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:403) at java.lang.Long.parseLong(Long.java:461) at java.text.DigitList.getLong(DigitList.java:177) at java.text.DecimalFormat.parse(DecimalFormat.java:1298) at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1874) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1263) at java.text.DateFormat.parse(DateFormat.java:335) at org.apache.tomcat.util.http.FastHttpDateFormat.internalParseDate(FastHttpDateFormat.java:216) at org.apache.tomcat.util.http.FastHttpDateFormat.parseDate(FastHttpDateFormat.java:191) at org.apache.coyote.tomcat5.CoyoteRequest.getDateHeader(CoyoteRequest.java:2230) at org.apache.coyote.tomcat5.CoyoteRequestFacade.getDateHeader(CoyoteRequestFacade.java:670) at javax.servlet.http.HttpServlet.service(HttpServlet.java:720) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:309) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:192) ...

16. JAX-WS web services - servlet 2.4?    java.net

Is there any way that I can get the 2.4 app to auto-deploy in the same was as the 2.5 app? My reasons for wanting to do this are that the ultimate production target for the app is WebSphere 6.1 + feature pack for web services but I use GF as my development environment.