weblogic-10.x

Weblogic wrap application exception in javax.ejb.EJBException

▼魔方 西西 提交于 2019-12-05 23:52:37
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 interfaces are in a separate jar file which is deployed as a shared library in the weblogic. I would like to

Where is WebLogic Jar containing javax.servlet in 10.3?

左心房为你撑大大i 提交于 2019-12-05 21:58:38
问题 I am trying to configure my path to include javax.servlet with WebLogic. WebLogic has split out the Jar files, so which one contains javax.servlet? 回答1: Starting with WebLogic 10, BEA externalized the implementation of API specs from weblogic.jar into various "modules". They now bundle a new api.jar in {BEA_HOME}/wlsever_10.3/server/lib/ that contains just a MANIFEST.MF which points to {BEA_HOME}/modules/*.jar . These modules include all API specifications as well as features provided BEA

User (session) count in cluster

喜夏-厌秋 提交于 2019-12-05 15:59:15
Is there a good way to get the logged in user count in a Java web application that is running in a cluster? I wrote a simple HttpSessionListener with a static field, but I suppose this doesn't work in cluster. I can see there is a Spring Security solution, but I read in some forums that this is still not ok in cluster. The product in which I have to implement this user count is trying to be application server independent, currently we support Tomcat, Weblogic and JBoss. At the moment I need a solution for Weblogic 10.3 clusters. You can maintain the counter in database which will work in

Force release the connection in weblogic 10.3.4

吃可爱长大的小学妹 提交于 2019-12-05 11:30:17
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.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:344) at weblogic.common.resourcepool.ResourcePoolImpl

Deploy to weblogic using maven and jenkins

十年热恋 提交于 2019-12-05 04:13:52
We are using Jenkins in our project for build and deployment on dev environments. I have sucessfullly created a war file using maven in jenkins and now I have to create another job to deploy that war file into the weblogic server. However, I am not aware of the required steps for configuring this job in jenkins. Will it be a matter of just invoking a maven deploy command? Can some one please tell me what will be the required steps to deploy a war file into weblogic 10.3.5 using jenkins? edit : The approach we are following is after creating the war file we are cheking the war file created into

How to remote deploy an application in weblogic?

我与影子孤独终老i 提交于 2019-12-04 20:31:57
问题 I have two computers , I don't want to install weblogic and oracle in my development computer, they consume too much memory, the problem is how can I deploy my application on development computer to another free computer which has oracle and weblogic installed ? I am using weblogic 10.3. 回答1: I don't want to install weblogic and oracle in my development computer , they consume too much memory Even when not running? how can I deploy my application from my development machine to another machine

Accessing File Over A Network Using Service Account in Java

安稳与你 提交于 2019-12-04 18:24:17
I am trying to read a file from a network location using Java.The problem is that the access to that network location requires specific credentials. Is there any way to specify these credentials in Java and then access teh file over the network. I am trying to do this from my web application which is running on Weblogic Thanks, Abhishek Here is a sample code. try { URL url = new URL("https://www.visruthcv.appspot.com"); URLConnection con = url.openConnection(); HttpURLConnection httpUrlConnection = (HttpURLConnection) con; httpUrlConnection.setReadTimeout(10000); httpUrlConnection

StartSSL class 1 certificate not accepted by browser (Weblogic 10.0.1)

非 Y 不嫁゛ 提交于 2019-12-04 11:35:24
问题 I have requested a class 1 certificate from StartSSL and installed it in Weblogic 10.0.1 (see screenshots). The browsers (Chrome & IE9 on Windows 7, IE8 on XPSP3) still give a certificate error (see screenshots). I think the StartSSL root certificate is available in several browsers (see here). Please advise. 回答1: StartSSL Class 1 certificates are signed by a intermediate CA, which is signed by the StartCom Root CA. For your browser to trust this certificate, it needs to know the trust chain

Where is WebLogic Jar containing javax.servlet in 10.3?

时光怂恿深爱的人放手 提交于 2019-12-04 03:39:29
I am trying to configure my path to include javax.servlet with WebLogic. WebLogic has split out the Jar files, so which one contains javax.servlet? Starting with WebLogic 10, BEA externalized the implementation of API specs from weblogic.jar into various "modules". They now bundle a new api.jar in {BEA_HOME}/wlsever_10.3/server/lib/ that contains just a MANIFEST.MF which points to {BEA_HOME}/modules/*.jar . These modules include all API specifications as well as features provided BEA/ORACLE. So, for Servlet API 2.5, indeed include {BEA_HOME}/modules/javax.servlet_1.0.0.0_2-5.jar . I found them

Weblogic 10.3 issues with spring 3.1.0 jsp compilation

时光毁灭记忆、已成空白 提交于 2019-12-03 21:43:12
I have spring-webmvc 3.1.0.release version in my web-inf/lib folder of my warfile, but when the app is deployed to weblogic i am getting compilation errors. weblogic is using spring 2.x version which comes bundled with weblogic 10.3.x to compile the jsps. because of which i am getting compile time errors like setDynamicAttribute(null, String, String) is undefined for the type ErrorsTag I tried using prefer-application-packages tag in weblogic.xml but it didn't work. How do i resolve this? Thanks in advance for the help!! This is a bug - Weblogic 10.3.x doesn't consider prefer-application