weblogic

Want to enable GZip compression in Weblogic

馋奶兔 提交于 2019-12-18 16:54:52
问题 I want to enable GZIP compression for my static file like css styles, javascript which is serving from weblogic server. Can anyone help to how to configure this feature in weblogic server. 回答1: Go to http://sourceforge.net/projects/pjl-comp-filter/ to download it and update your web.xml file with the following config: <filter> <filter-name>CompressingFilter</filter-name> <filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class> <init-param><param-name

cannot send message to weblogic queues

风格不统一 提交于 2019-12-18 15:53:36
问题 Iam trying to send a string message into a JMS queue created in weblogic server. Iam using Eclipse ide and when i run my web application i get the following error and the tomcat server gets shutdown.The error is javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is: java.io.StreamCorruptedException: invalid type code: 31] at weblogic.jndi.internal.ExceptionTranslator

How do I have weblogic reload cached JSPs on restart

北慕城南 提交于 2019-12-18 15:29:49
问题 Our method of deploying a new version of an app for weblogic (11g) is to copy over top of the existing ear file and then stop and restart the weblogic server. We do a start/stop of weblogic rather than a redeployment, because of the known permgen issue (where eventually we will run out of perm gen and have to bounce the weblogic server). However, this method of deploying has a drawback-- new JSP versions are not seen by weblogic. In order to fix this we have had to wipe out the contents of

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

File metro-default.xml not found on Weblogic 12.1.3

霸气de小男生 提交于 2019-12-18 12:26:46
问题 We're currently running on WebLogic 12.1.2. And in this environment our application runs fine. What we want now is to homologate our applications to WebLogic 12.1.3 environments. But we are facing a problem with the Web Services we use. In the new version the server throws a exception saying that the "Default configuration file [ metro-default.xml ] was not found". I'm trying to find something on this file but there is nothing. PS: We do not use Metro, we use the WebLogic default JAX-WS stack

Weblogic Error 403--Forbidden

我的未来我决定 提交于 2019-12-18 11:28:39
问题 I am trying to run a Java EE application on weblogic. The application works fine on Tomcat. I have customized the war file to include weblogic.xml. This file includes the following code:- <container-descriptor> <show-archived-real-path-enabled>true</show-archived-real-path-enabled> </container-descriptor> I have also changed the configuration in properties file of the application to reflect the port on which container is listening. server.port=7001 server.modjk.enabled=false My web.xml file

Weblogic Error 403--Forbidden

泄露秘密 提交于 2019-12-18 11:28:07
问题 I am trying to run a Java EE application on weblogic. The application works fine on Tomcat. I have customized the war file to include weblogic.xml. This file includes the following code:- <container-descriptor> <show-archived-real-path-enabled>true</show-archived-real-path-enabled> </container-descriptor> I have also changed the configuration in properties file of the application to reflect the port on which container is listening. server.port=7001 server.modjk.enabled=false My web.xml file

How can I use Weblogic (12 C) without the application context in the URL?

安稳与你 提交于 2019-12-18 08:48:34
问题 I am working on a web project that requires Weblogic server and the only way I can view the site after deploying (on my Macbook Pro) is by specifying the application name as a prefix to the entire site. E.g. http://localhost:7001/myapp-weblogic/ This breaks a ton of styling and JavaScript code that access resources with root URLs (e.g. /images/example.png) While I can programmatically add "/my-app" to content in a .jsp, I can't do that in my .css files. I tried setting the "Default WebApp