weblogic

java slow : entropy related issue

你说的曾经没有我的故事 提交于 2019-12-02 02:46:53
问题 I am running into an issue where java is slow when used over SSL. The solution is to add -Djava.security.egd=file:/dev/./urandom to java at the command line. Since I have multiple JVM's, I dont want to modify every single JVM to contain this string and hence would like to add it to the file $JAVA_HOME/jre/lib/security/java.security Now, the java.security file already contains securerandom.source=file:/dev/urandom Two questions on this : Why and how is "/dev/urandom" different from "/dev/.

How to get the list of jms queues from Summary of Resources table of jms module in weblogic?

不打扰是莪最后的温柔 提交于 2019-12-02 02:04:19
I need to print the list of jms queues of the jms module. I use this code to look up the needed queue and get parameters but how to get the names of all queues and print them? Properties env = new Properties(); env.put(Context.PROVIDER_URL, "host:port"); env.put(Context.SECURITY_PRINCIPAL, "username"); env.put(Context.SECURITY_CREDENTIALS, "password"); env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); InitialContext ctx = new InitialContext(env); Destination queue = (Destination) ctx.lookup("jms_queue"); JMSDestinationRuntimeMBean destMBean = JMSRuntimeHelper

How to get the list of jms queues from Summary of Resources table of jms module in weblogic?

橙三吉。 提交于 2019-12-02 01:50:59
问题 I need to print the list of jms queues of the jms module. I use this code to look up the needed queue and get parameters but how to get the names of all queues and print them? Properties env = new Properties(); env.put(Context.PROVIDER_URL, "host:port"); env.put(Context.SECURITY_PRINCIPAL, "username"); env.put(Context.SECURITY_CREDENTIALS, "password"); env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); InitialContext ctx = new InitialContext(env); Destination

How to set up X-POWERED-BY in weblogic.xml?

最后都变了- 提交于 2019-12-02 01:27:23
Here stated that it is possible to set X-POWERED-BY header appearance. But I don't see any way how to define this property through weblogic.xml . Anyone know how to do this? In general, these properties can be overridden at the cluster level (in ClusterMBean, if the same property is present there), the server level (in ServerMBean, if the same property is present there) or for a specific Web application (in weblogic.xml) http://docs.oracle.com/cd/E11035_01/wls100/wlsmbeanref/core/index.html The first thing you should try is editing your domain setting through the admin console: <domain name> -

Eclipse WTP: “The import ___ cannot be resolved for” error in a JSP file for a class defined in project

廉价感情. 提交于 2019-12-02 01:12:37
A Visual Studio user struggling w/ Eclipse... I imported a set of servlets/JSPs into a project in Oracle Workshop for Weblogic. /page.jsp has the following import statement: import="com.foo.bar.*" Eclipse is displaying an error: The import com cannot be resolved. The class that implements the above import is in /WEB-INF/src but I don't know how to build the class in Eclipse to resolve that error. I assumed Eclipse would automagically build the .java file and place the output in /WEB-INF/classes , but it's not doing that. It could be that I haven't structured my project directories correctly so

weblogic 安装及配置

北慕城南 提交于 2019-12-02 00:15:28
修改AdminServer为不需要输入密码的方式开启 : 安装使用的是production模式,不是开发模式,如果要后台启动Weblogic, 需要在如下DOMAIN_HOME/servers/AdminServer/下面新建security目录,并在这个目录下建立boot.properties文件,在文件中填写(注意用户名及密码后不能有空格,否则会启动报错): username=weblogic password=password 到DOMAIN_HOME/bin 下 开启nohup ./startWeblogic.sh > osb_admin_server.log & 。 通过 ps -ef | grep AdminServer_name 查看是否起来。 #weblogic #创建组 groupadd -g 400 bea 删除组:groupdel -g 400 bea useradd -u 400 -g bea weblogic passwd weblogic chown weblogic:bea -R /data su weblogic #weblogic 安装路径 mkdir -p /data/weblogic/Oracle/Middleware #安装包路径 mkdir -p /data/source_program/zgsw #日志存放 mkdir -p /data

应用安全 - 中间件安全 - Weblogic漏洞汇总

倖福魔咒の 提交于 2019-12-02 00:12:19
weblogic Java反序列化 CVE-2016-0638 CVE-2016-3510 CVE-2017-3248 CVE-2018-2628 CVE-2018-2893 CVE-2019-2725 JAVA rmi 反序列化漏洞 CVE-2014-4210 weblogic SSRF CVE-2018-2894 weblogic任意文件上传 CVE-2017-10271 weblogic XMLDecoder 反序列化 CVE-2017-3506 weblogic XMLDecoder 反序列化 /Console weblogic控制台路径泄露 CVE-2015-4852 WebLogic Commons Collections组件反序列化漏洞 CVE-2019-2618 CVE-2019-2615 CVE-2015-9251 影响范围: 12.1.3.0.0, 12.2.1.3.0 CVE-2019-11358 Date: 影响范围: 10.3.6.0.0, 12.1.3.0.0, 12.2.1.3.0 CVE-2019-17091 影响范围: 12.2.1.3.0 CVE-2019-2889 影响范围: 12.2.1.3.0 CVE-2019-2891 10.3.6.0.0, 12.1.3.0.0, 12.2.1.3.0 CVE-2019-2887 影响版本: 10.3

java slow : entropy related issue

你说的曾经没有我的故事 提交于 2019-12-02 00:10:11
I am running into an issue where java is slow when used over SSL. The solution is to add -Djava.security.egd=file:/dev/./urandom to java at the command line. Since I have multiple JVM's, I dont want to modify every single JVM to contain this string and hence would like to add it to the file $JAVA_HOME/jre/lib/security/java.security Now, the java.security file already contains securerandom.source=file:/dev/urandom Two questions on this : Why and how is "/dev/urandom" different from "/dev/./urandom". Why doesnt java accept "/dev/urandom" For the JVM's that I have running, how can I tell whether

JavaEE API for WebLogic

好久不见. 提交于 2019-12-01 23:15:33
There are different server specific JavaEE API implementations like: glassfish-javaee or jboss-javaee. They are distributed as a separate .jar file and could be attached to some project using Maven dependencies. Is there something like this desinged specifically for WebLogic AS? I expected weblogic.jar file contains requered artifacts, but it doesn't look like this. Any ideas? Jeff West Ideally you would want to use the javaee-api dependency, not something that is server specific. For the things that are server-specific (not core EE API) then you could include weblogic.jar or use the utilities

java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory

守給你的承諾、 提交于 2019-12-01 22:00:41
I have upgraded application to use javax.faces-2.2.4 and primefaces-4.0 jars.After deploying my application to weblogic from myeclipse I am getting below error: Jan 10, 2014 2:37:13 PM javax.faces.FactoryFinder$FactoryManager getFactory SEVERE: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup. Jan 10, 2014 2:37:13 PM com.sun.faces.config.ConfigureListener contextDestroyed SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime java.lang.IllegalStateException: Could not find