weblogic-10.x

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

和自甴很熟 提交于 2019-11-30 15:45:09
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 provided hibernate as JPA provider , the persistence unit defined is like below [code] <persistence-unit name=

WebLogic stuck thread protection

六眼飞鱼酱① 提交于 2019-11-30 11:01:47
By default WebLogic kills stuck threads after 15 min (600 s), this is controlled by StuckThreadMaxTime parameter. However, I cannot find more details on how exactly "stuckness" is defined. Specifically: What is the point at which 15 min countdown begins. Request processing start? Last wait() -like method? Something else? Does this apply only to request-processing threads or to all threads? I.e. can a request-processing thread "escape" this protection by spawning a worker thread for a long task? Especially, can it delegate response writing to such a worker without 15 min countdown? My usecase

java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator Seam weblogic 10.3

微笑、不失礼 提交于 2019-11-30 04:49:26
I have a big problem with Hibernate (use with seam) on weblogic 10.3. When I publish my application, I get this error: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager) I read on the web that this error can come from compatibily between hibernate jar. But, I read the matrix and I have the good jar with good version (hibernate-validator 3.1, hibernate-search 3.1, hibernate core 3.3.0) I haven't idea to

Weblogc BEA-000449 : Closing socket as no data read from it during the configured idle timeout of 5 secs

两盒软妹~` 提交于 2019-11-29 19:54:58
问题 I have started seeing this message in my weblogic 10 log files. I am running an app with around 40-350 concurrent users. My questions are What does this error really mean How will it affect the users (if it does) What could be causing this thanks 回答1: What does this error really mean Weblogic is closing a socket used to communicate with one of the server's clients because no data has been sent for more than five seconds, which is the value you have configured for Weblogic's idle timeout. What

External properties file with Weblogic

别来无恙 提交于 2019-11-29 04:32:10
I'm looking for the best way to use an external properties file with an application that is going to be deployed on Weblogic 10.3 server. I read a number of articles on the site but I don't want to hard-code the path to the properties file or put the file in the domains/mydomain folder. Is there a dynamic way of doing this so when the application is deployed the properties file is also installed for example under the deployments folder and read from there? Many thanks Another alternative that does not require putting the file in a place other applications will read it is to use the Generic

How to deploy the same web application twice on WebLogic 11g?

时间秒杀一切 提交于 2019-11-28 13:49:39
We have developed a JEE5 web application (WAR) and running it in production under WebLogic 11g (10.3.5). Now the same application should be deployed as separate applications for different customers (different URLs, different data) on the same WebLogic. I managed the first part by setting different context roots after deployment for each of them. But I have yet to make them use different datasources - and since I want to avoid customer specific builds, the persistence.xml is the same for all applications, thus also the persistence unit name. What is the best setup for this scenario? Am I forced

How do I refresh jsp's on weblogic

删除回忆录丶 提交于 2019-11-28 08:47:55
I'm running an exploded war on weblogic 10.0 in production mode. I want to modify a jsp without having to fully redeploy the application. I can't seem to achieve this using the weblogic.Deployer with a partial redployment - see: http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs100/deployment/redeploy.html#wp1025739 This must be a fairly standard problem - has anyone got a solution? Pascal Thivent According to the link you have provided, weblogic.Deployer is your friend: Updating Static Files in a Deployed Application In a production environment, you may occasionally need to refresh

jaxws 2.1.5 on weblogic 10.3.1 instead of pre-installed jaxws 2.1.1?

核能气质少年 提交于 2019-11-27 16:44:09
问题 Is it possible, and when yes, how? 回答1: Actually, the JAX-WS implementation bundled in WebLogic 10.3 is based on JAX-WS RI 2.1.4 as documented in the What's New in WebLogic Server: The WebLogic Server implementation of JAX-WS is based on the JAX-WS Reference Implementation (RI), Version 2.1.4, and includes enhancements to the tool layer to simplify the building and deployment of JAX-WS services and to ease the migration from JAX-RPC to JAX-WS. The following features and enhancements are

Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar… I want to use commons-net-2.0.jar from my code

≡放荡痞女 提交于 2019-11-27 14:28:06
Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar... I want to use commons-net-2.0.jar from my code. How can I force it to use the newer JAR in my code only? I want to use commons-net-2.0.jar from my code. WebLogic uses a parent class loader first strategy and you basically have two options to tweak this behavior: Use the prefer-web-inf-classes element in a weblogic.xml Web application deployment descriptor (that goes in WEB-INF next to the web.xml ) ~or~ Package your war insider an EAR and use WebLogic Filtering classloader that you configure in a weblogic

How to deploy the same web application twice on WebLogic 11g?

℡╲_俬逩灬. 提交于 2019-11-27 08:01:52
问题 We have developed a JEE5 web application (WAR) and running it in production under WebLogic 11g (10.3.5). Now the same application should be deployed as separate applications for different customers (different URLs, different data) on the same WebLogic. I managed the first part by setting different context roots after deployment for each of them. But I have yet to make them use different datasources - and since I want to avoid customer specific builds, the persistence.xml is the same for all