weblogic

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

Weblogic datasource disappears from JNDI tree

人盡茶涼 提交于 2019-11-28 08:19:37
We are using weblogic version 12C. Steps to reproduce the issue: - Create the datasource. Deploy the application to weblogic. Application works fine. Update the deployed ear with the new one. Application is not able to connect the datasource. Datasource not available in the JNDI tree. We need to create either a new datasource everytime or save the datasource setting again. Can someone please check and let me know if you know some solution for this? I had the same problem. Adding destroyMethod="" fixed it for me. Apparently if there is no destroyMethod, Spring tries to determine what the

linux安装weblogic 12

一笑奈何 提交于 2019-11-28 07:44:52
准备weblogic安装包:https://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html 准备JDK1.8: java 1.8 linux 64位版本 创建weblogic组 [root@localhost ~]# groupadd weblogic 创建weblogic用户 [root@loaclhost ~]# useradd -g weblogic weblogic 为用户创建密码 [ root@localhost ~]# passwd weblogic 拷贝weblogic安装包、JDK到/home/weblogic下 修改文件的权限 [root@localhost ~]# chown -R weblogic:weblogic /home/weblogic/ 切换到weblogic用户  [root@localhost weblogic]# su - weblogic [wweblogic@localhost ~]$ ll 总用量 1006584 -rw-r--r--. 1 weblogic weblogic 838986083 8月 23 13:10 fmw_12.2.1.3.0_wls_Disk1_1of1.zip drwxr-xr-x. 7 weblogic weblogic

Weblogic Guava issue when deploying application

南笙酒味 提交于 2019-11-28 06:04:36
问题 I'm trying to deploy an application to a weblogic server, and I get the following error. I have guava.jar in my classpath, I tried with all the latest versions I tried from 10 and up. Can somebody help me out with this? <Error> <Console> <BEA-240003> <Administration Console encountered the following error: weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "...". java.lang.NoSuchMethodError: com.google.common.util.concurrent

Weblogic(CVE-2017-10271)漏洞复现

回眸只為那壹抹淺笑 提交于 2019-11-28 04:51:23
WebLogic XMLDecoder反序列化漏洞(CVE-2017-10271) 漏洞编号 :CVE-2017-10271 漏洞描述 :WebLogic WLS组件中存在CVE-2017-10271远程代码执行漏洞,可以构造请求对运行WebLogic中间件的主机进行攻击,近期发现此漏洞的利用方式为传播挖矿程序。 受影响WebLogic版本 :10.3.6.0.0,12.1.3.0.0,12.2.1.1.0,12.2.1.2.0。 A、环境搭建    不解释 B、漏洞利用: 1、初步判断:访问 http://192.168.8.148:7001/wls-wsat/CoordinatorPortType11,存在下图则说明可能存在漏洞 2、构造POST包进行测试,写入test.txt POST /wls-wsat/CoordinatorPortType HTTP/1.1 Host: 192.168.8.148:7001 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Upgrade-Insecure-Requests:

Prevent Weblogic 12c from using system's slf4j binding

孤者浪人 提交于 2019-11-28 04:25:21
We're building new systen using slf4j as logging facade. When deploying on newly Weblogic 12c, we found this error on console log: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/Oracle/Middleware2/modules/org.slf4j.jdk14_1.6.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [zip:/opt/Oracle/Middleware2/user_projects/domains/m3/servers/AdminServer/tmp/_WL_user/test/t030q4/war/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class] after googling, we found that this is just a warning, slf4j will bind first

web.xml validation in Weblogic throws error because of cookie-config

六眼飞鱼酱① 提交于 2019-11-28 03:44:55
问题 I have the follwing web.xml for an application. <?xml version="1.0"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>..</display-name> <description>..</description> <session-config> <cookie-config> <name>SESSIONDEBUG_JSESSIONID</name> </cookie-config> </session-config> </web-app> I get the following

Unable to access weblogic datasource from java with prefix jdbc/

筅森魡賤 提交于 2019-11-28 03:34:24
问题 I have created two datasource in weblogic with below jndi names jdbc/testDatasource testDatasource1 I am able to access datasource testDatasource1 using java but while access dataource jdbc/testDatasource i am getting below mention error javax.naming.NameNotFoundException: While trying to lookup 'jdbc.testDatasource' didn't find subcontext 'jdbc'. Resolved '' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'jdbc.testDatasource' didn't find subcontext 'jdbc'.

【weblogic配置jvm文件&Oracle慢查询】

倾然丶 夕夏残阳落幕 提交于 2019-11-28 03:11:06
Weblogic远程监控 1.首先需要在远程的weblogic的域下面,找到/bin/ setDomainEnv.sh ,(例如:/app/webapp/domain/bin/ setDomainEnv.sh)需要在此文件下加入如下内容: -Dcom.sun.management.jmxremote.port=1090 ##端口号可以自己指定 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder 如图找到export JAVA_PROPERTIES这个位置,输入截图中的内容。当然端口可以自己定义,本文定义8999。 注意图中的位置!!! oracle打印慢查询语句 from (selcet sa.SQL_TEXT, sa.SQL_FULLTEXT, sa.EXECUTIONS as "执行次数", round(sa.ELAPSED_TIME/1000000,2) as "总执行时间", round(sa.ELAPSED_TIME/1000000/sa.EXECUTIONS

Weblogic remote debugging using eclipse

空扰寡人 提交于 2019-11-28 01:54:01
My Weblogic is installed in a Red hat OS machine. In the startWebLogic.sh i have added this line JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n %JAVA_OPTIONS%" When I try to connect from my Eclipse I get a "Failed to connect to remote VM. Connection refused. Connection refused: connect" message. Can you please tell me where I may be going wrong? mujeeb In the startWebLogic.sh file in the bin folder, in the RHEL add this line -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n at the place where you find this string: $