glassfish « Load « JPA Q&A





1. Hibernate load balancing and remote integration with EJB on Glassfish 3.1    stackoverflow.com

this is the first time I do a question and I ask this as I'm projecting my own architecture. What I've in mind is to do an integration between Stateful/Stateless EJB3 ...

2. How to write a persistence provider for Glassfish    stackoverflow.com

I have a special data storage (Empire RDF) I would like to use in my application with CMT enabled. For that, I imagine I have to write a ...

3. JPA class loading issue in web container - NB 6.7.1, Glassfish V3    forums.netbeans.org

lupestro Joined: 21 Aug 2009 Posts: 8 Posted: Tue Dec 01, 2009 4:08 pm Post subject: JPA class loading issue in web container - NB 6.7.1, Glassfish V3 ...

4. Classloading issue when accessing class for the first time during JPA shutdown (Glassfish 3.1)    java.net

Using the -XX:+TraceClassLoading flag shows that the XARequestProcessor class isn't loaded prior to being referenced from CacheManager#shutdown, meaning that the shutdown method is making a request for the class to be loaded. However, the WebappClassLoader instance is already stopped when that request is made, leading to this exception. It just so happens that this also prevents the WebappClassLoader instance from being ...

5. Classloading Error for JPA Implementation    java.net

15:46:48,763 FATAL MyEntityManagerFactory: Failed to create EntityManagerFactory for persistence-unit=MyService java.lang.NullPointerException at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:120) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60) at test.common.service.MyEntityManagerFactory.(MyEntityManagerFactory.java:28) at test.common.service.ServiceFactory.close(ServiceFactory.java:40) at test.common.web.filter.MyServiceExtendedPersistenceContextFilter.doFilter(MyServiceExtendedPersistenceContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) at test.common.web.filter.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at ...

7. JPA ClassLoader issue when upgrading to GlassFish 2.1    java.net

1) Deploying to GlassFish that is configured to have two virtual servers, so it gets started twice. Even if I pick a virtual server for the application, when I redeploy from NetBeans it gets deployed to both virtual servers then I hvae to use the admin program and do a restart before being able to use my application.