weblogic-10.x

EclipseLink + JPA Guice Persist and Redeployments

跟風遠走 提交于 2020-01-24 01:10:08
问题 I have an infrastructure based on EclipseLink + JPA Guice Persist When I redeploy the application always I have caching problems with caching Entitys and I have to reboot the server (Oracle Weblogic 11g) .This problem is treated in a this post: https://bugs.eclipse.org/bugs/show_bug.cgi?id=326552 But, maybe is not a bug ¿?¿? ... I managed to solve the problem as follows : Originally I have centralized everything in a GuiceModule: 1.Create the module JPAPersist 2.Binding of a Initializer class

Weblogic Deployment Exception : PaddingException: Could not perform unpadding: invalid pad byte

落花浮王杯 提交于 2020-01-12 03:26:00
问题 This question is asked (and answered) just to share some knowledge with the SO Community. I have recently came up with a deployment Exception of my web application (after receiving some changes from the SVN Repository) that said: < Error > < Deployer > with ID '1350377960779' for task '1'. Error is: 'com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.' com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte. at com.rsa.jsafe.c.a

Weblogic 10.3.3 trying to load org.eclipse.persistence.jpa.PersistenceProvider instead of configured Hibernate Provider

允我心安 提交于 2020-01-10 20:06:34
问题 Good Day all , I am having this problem since many days now , I was able to successfully deploy JPA2.0 appliaction on weblogic 10.3.3 , the application can run select queries using JPA. But when I try to run a create or update information on the same table I get below exception [code] java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider [/code] This is very strange because in my persistence.xml I have

Weblogic 10.3.3 trying to load org.eclipse.persistence.jpa.PersistenceProvider instead of configured Hibernate Provider

[亡魂溺海] 提交于 2020-01-10 20:06:28
问题 Good Day all , I am having this problem since many days now , I was able to successfully deploy JPA2.0 appliaction on weblogic 10.3.3 , the application can run select queries using JPA. But when I try to run a create or update information on the same table I get below exception [code] java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider [/code] This is very strange because in my persistence.xml I have

EJB 3.0 Timer Cluster Info

我的梦境 提交于 2020-01-05 07:25:11
问题 I was able to get some hands on EJB3.0 Timer Service.I was able to get the timeout working and I was able to invoke the timer using servlet Context listener.I have deployed a simple app which sends alerts at a specific interval.I am using WL 10.3.1(does not support EJB3.1,to use Scheduler). I get alerts twice at the same time.(I have a cluster with 2 managed Servers).I looked at few examples of using a timer in WL cluster,for eg: http://shaoxiongyang.blogspot.com/2010/10/how-to-use-ejb-3

Application not working on a Clustered Environment?

丶灬走出姿态 提交于 2020-01-03 00:54:14
问题 I am working on a Java Application that is responsible for getting data from the request from a service. The request is in the form of an xml. My Java class takes the value from the xml and stores them in the database. The Java class is also responsible for logging the data into simple text(.txt) files. I have acheived that using String Builder. Another info is that the class recieves requests in the form of messages. I have used JMS to achieve that. Ok, that being said, my class is working

javax.faces.FacesException: Could not resolve NavigationCase for outcome

谁都会走 提交于 2019-12-30 17:26:29
问题 I have one template.xhtml file at /template/template.xhtml <h:head> </h:head> <h:body> <p:layout fullPage="true"> <p:layoutUnit position="north" size="100"> <h:outputText value="header"></h:outputText> </p:layoutUnit> <p:layoutUnit position="center"> <p:layout> <p:layoutUnit position="north"> <h:outputText value="tabs"/> <ui:include src="/tabs/tabs.xhtml"/> </p:layoutUnit> <p:layoutUnit position="west"> <h:outputText value="left menu"></h:outputText> </p:layoutUnit> <p:layoutUnit position=

weblogic.socket.UnrecoverableConnectException

醉酒当歌 提交于 2019-12-24 14:24:27
问题 I have an ejb deployed on weblogic. I am able to successfully get the remote reference via a simple java client. However when I hit the ejb via my web application it throws the below exception: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.1 404 Not Found]] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40) at weblogic.jndi

EJB 3.0 JNDI lookup (Weblogic 10.x)

青春壹個敷衍的年華 提交于 2019-12-24 03:23:38
问题 I use weblogic 10.3.6 and so EJB 3.0. I have EJB and local interface. Both packaged in ejb-jar inside ear. @Local public interface TestLocal { ... } @Stateless public class TestEJB implements TestLocal { ... } To access this EJB from war I have in my web.xml <ejb-local-ref> <ejb-ref-name>ejb/TestLocal</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local>testpackage.TestLocal</local> </ejb-local-ref> And lookup looks like test = (TestLocal) new InitialContext().lookup("java:comp/env/ejb

EJB 3.0 JNDI lookup (Weblogic 10.x)

三世轮回 提交于 2019-12-24 03:23:06
问题 I use weblogic 10.3.6 and so EJB 3.0. I have EJB and local interface. Both packaged in ejb-jar inside ear. @Local public interface TestLocal { ... } @Stateless public class TestEJB implements TestLocal { ... } To access this EJB from war I have in my web.xml <ejb-local-ref> <ejb-ref-name>ejb/TestLocal</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local>testpackage.TestLocal</local> </ejb-local-ref> And lookup looks like test = (TestLocal) new InitialContext().lookup("java:comp/env/ejb