weblogic-10.x

WebLogic stuck thread protection

爷,独闯天下 提交于 2019-12-18 14:09:37
问题 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

WebLogic stuck thread protection

点点圈 提交于 2019-12-18 14:09:34
问题 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

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

随声附和 提交于 2019-12-18 11:47:34
问题 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

External properties file with Weblogic

好久不见. 提交于 2019-12-18 04:12:43
问题 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 回答1: Another alternative

Troubleshooting JMS on weblogic

人走茶凉 提交于 2019-12-13 18:16:33
问题 My application writes messages to the JMS queue. I checked with the debugger that everything is written properly. On the server console, in JMS Monitoring I can see Message Current increases in number (from my message). However, there is a component that is supposed to read messages from the queue and write a file on the server machine, and this is not occurring. I am not familiar with the JMS yet. What should I do to troubleshoot this? What should I look for in the configurations, before I

Weblogic server BASIC Authentication not prompting for username

一个人想着一个人 提交于 2019-12-13 16:15:22
问题 I created a very simple Weblogic 10.3.5 web application with BASIC Authentication that for some reason doesn't prompt for the username and password. I believe the web.xml and weblogic.xml are created properly. The entire application is below. It consists of two files: index.html -- that anyone should be able to load remoteuser.jsp -- that only people in 'group' should be able to load I added an <auth-constraint> for all JSPs (*.jsp), such that only users in 'group' should be able to load them

@XmlDiscriminatorNode/@XmlDescriminatorValue not working on WebLogic Server

若如初见. 提交于 2019-12-13 13:29:50
问题 Following are the classes I am using for create sub classes using MOXy JAXB conversion on WebLogic 10.3.2 version. I am using the EclipseLink 2.4.1 MOXy for generating the XML. I am unable to generate the type attribute in the following code. Let me know if I am doing anything wrong here. I am using EclipseLink MOXy 2.4.1 and WebLogic 10.3.2 and MOXy 2.4.1 is configured in the WebLogic import javax.xml.bind.annotation.*; import org.eclipse.persistence.oxm.annotations.XmlDiscriminatorNode;

weblogic jdbc Datasource error BEA-001131 Closed Connection

♀尐吖头ヾ 提交于 2019-12-13 07:28:51
问题 I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created GRIDLINK DataSource with XA DRIVERS. NAME: test JNDI: jdbc/testDS NOTE: I have used SCAN IP for this DataSource configuration. FAN ENABLED checked. ONS HOST : scan-ip:6200 Not using "ONS Wallet". DataSource was created successfully. Testing is done. Now when I start

How to configure & package a simple Java app to use JPA

三世轮回 提交于 2019-12-13 04:18:45
问题 I'm trying to learn JPA and I want create a simple Java command line app that will use JPA to query and update a database table. I mapped out the the simple code needed to do this. But I don't know how to configure the directory structure, where to place the persistence.xml file, packaging and so on. This is just a quick and dirty learning exercise so I want to keep this as simple as possible. Can someone spell out the steps in order to do this? I'm using Weblogic 10.3. 回答1: persistence.xml

How to invoke metro web services in weblogic 10.3.5?

二次信任 提交于 2019-12-13 03:17:09
问题 I have two web applications (bot of them ear files) deployed on the weblogic server. One of them is a web service application and the other is a web service client. METRO is used for the web services. The web service application is running properly. When I try to deploy the web service client application, I am getting the following error. <Dec 14, 2011 9:51:25 AM GMT+05:30> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP related logic, because error occurs when parsing sip related annotatio ns of