weblogic-10.x

Weblogic - java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.JCEMac$DES9797Alg3

爷,独闯天下 提交于 2019-12-24 01:55:16
问题 I am working with a Java Web application and I need to generate a MAC using 3DES algorithm. Code is working without problems on a Weblogic 10.3 but the problem came when I tried to run the application in a different Weblogic, similar version (10.3.1). This is my code: public String getMac(String inkey, String data) throws Exception { byte[] out = new byte[8]; try { // if I commend this line, the result is the same Security.addProvider(new BouncyCastleProvider()); // this loop proves the BC

Weblogic - java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.JCEMac$DES9797Alg3

六眼飞鱼酱① 提交于 2019-12-24 01:55:12
问题 I am working with a Java Web application and I need to generate a MAC using 3DES algorithm. Code is working without problems on a Weblogic 10.3 but the problem came when I tried to run the application in a different Weblogic, similar version (10.3.1). This is my code: public String getMac(String inkey, String data) throws Exception { byte[] out = new byte[8]; try { // if I commend this line, the result is the same Security.addProvider(new BouncyCastleProvider()); // this loop proves the BC

Jar dependency - Application server classpath vs adding it to the application war itself

眉间皱痕 提交于 2019-12-23 18:08:49
问题 We have an installation of Weblogic 10.3.6. An application running on it needs the following jar com.oracle.ws.http_client_1.3.0.0.jar The above jar is located in the server bundle Oracle\Middleware\modules\com.oracle.ws.http_client_1.3.0.0.jar What's the right approach? Should this jar (appears to be a system library written by Oracle, not found on mvnrepository site) be added to the server classpath or should I add it to the application archive (war)?? Thanks. Update: Also the above jar

Invoke SAML IdP from Javascript

左心房为你撑大大i 提交于 2019-12-23 17:12:01
问题 Again I need the wise advise of the Community!!! I have to integrate several Web Applications in my SSO system. The IdP is Active Directory Federation Sevices (ADFS2) and the SP's are Weblogic Managed Servers. I am using HTTP-POST binding for the SP-initiated Use Case in the Web SSO profile. This setup is working and even I have implemented the SLO for WLS, great! but, there is always a but... I have an application that can be accessed for unauthenticated users, guest users . When the user is

Please change the deployment mode to exploded archive in Server Editor

為{幸葍}努か 提交于 2019-12-23 13:34:09
问题 I'm trying to deploy an EAR in weblogic10.3.6 application server. My ear module contains a web application module and and a jar module. When I'm deploying ear to weblogic server this is showing error - 'D:/Workspace/test-web/src/main/webapp/WEB-INF/web.xml'='/WEB-INF/web.xml' WebLogic split source deployment only supports resource folder mapping to EAR or web content root. Please change the deployment mode to exploded archive in Server Editor. How can I set the deployment mode of Weblogic

How to set max pool size in MDB on weblogic 10.3

断了今生、忘了曾经 提交于 2019-12-23 12:50:58
问题 I need to set the max pool size on a MDB on weblogic 10.3. I inserted this annotation on MDB directly @ActivationConfigProperty(propertyName="MaxPoolSize", propertyValue="1")}) but it seems not to work. Is there any other option to set? 回答1: Try using weblogic work manager settings to constrain the number of concurrent threads. The max-threads-constraint can be applied to a work manager set up for the specific MDB (or as part of a pool if you apply it to more than one bean) so, for instance

Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver weblogic 10g

你离开我真会死。 提交于 2019-12-23 09:59:14
问题 I'm trying to create a datasource from weblogic 10.3 to sqlserverexpress 2008 r2, but when I test the connection, the following message appears : Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver What should I do? 回答1: You need to add the sqlserver JDBC driver jar file to the weblogic classpath. 回答2: I add sqljdbc4.jar to %WLHome%/Server/Lib and i add the following line to the weblogic_classpath in %WLHome%\common\bin\commEnv.cmd: ";%WL_HOME%\server\lib\sqljdbc4.jar" 回答3: add

weblogic ejb ComplianceException

不打扰是莪最后的温柔 提交于 2019-12-22 17:59:32
问题 I try to deploy an application which uses EJB on weblogic 10.3. I use the framework seam 2.2.0 I created an EJB project and en EAR project with workshop. When I compile the project, I get this error: weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean Authenticator Here is the bean code: import javax.ejb.Local; import javax.ejb.Stateless; import javax.persistence.EntityManager; import org

Weblogic wrap application exception in javax.ejb.EJBException

爷,独闯天下 提交于 2019-12-22 10:45:38
问题 My ear application was working fine. But suddenly it started to throw javax.ejb.EJBException in some method calls, instead of returning the original Application Exception (annotated with @ApplicationException(rollback=true). Now the original application exception is wrapped in the EJBException. the Currently the other developer who was working in the project is on leave. Therefore I have no idea what he has done to the code for happening this. This application exception and ejb remote

Force release the connection in weblogic 10.3.4

孤街浪徒 提交于 2019-12-22 07:19:50
问题 I am getting following error in my managed server console on oracle soa server(11g). -------------------- <Apr 14, 2011 10:51:37 AM SGT> <Warning> <JDBC> <BEA-001153> <Forcibly releasing inactive connection "weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@14267" back into the connect ion pool "JDBC Data Source-0", currently reserved by: java.lang.Exception at weblogic.jdbc.common.internal.ConnectionEnv.setup(ConnectionEnv.java:318) at weblogic.common.resourcepool