weblogic

WS Download operation with MTOM

♀尐吖头ヾ 提交于 2019-12-10 11:05:42
问题 I want to stream directly from an Oracle database blobs files via WS with MTOM directly to the WS client. I thought I found a way which is described here: http://www.java.net/forum/topic/glassfish/metro-and-jaxb/mtom-best-practices but after i took a look on InputStreamDataSource and javax.mail.util.ByteArrayDataSource i realized that they acutal hava a byte[] of the 'document' in memory meaning the streaming ideea is in vain, cause what i try to avoid is to have multiple docs in the same

Auto commit transactions if not explicitly committed or rolledback

风格不统一 提交于 2019-12-10 10:53:58
问题 we use Weblogic server and always set autoCommit to 'false' when getting Connection to Oracle 10g. I want to know if there is a setting in Weblogic wherein it will automatically Commit transactions if a Commit or Rollback is not explicitly called from within application code. I heard similar setting exists in Websphere. 回答1: It looks like you are not using either Container-managed or Bean-managed transactions. Or, for that matter, you are merely retrieving a connection from a DataSource and

weblogic.webservice.core.soap.MessageFactoryImpl cannot be cast to javax.xml.soap.MessageFactory

我的梦境 提交于 2019-12-10 10:15:36
问题 I am stuck with the following error when I deploy my web-services client application in weblogic. [This application has been working without any issues in tomcat.] Cannot resolve reference to bean 'saajSoapMessageFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saajSoapMessageFactory' defined in class path resource [.../core/ws/ws-config.xml]: Invocation of init method failed; nested

multiple applications with multiple log4j.xml in weblogic

纵饮孤独 提交于 2019-12-10 10:14:31
问题 I deploy multiple applications (ear) in one domain on a Weblogic-Server. Each application uses log4j. My wish is to configure each applications with its own log4j.xml. Is this possible? The log4j.xml should be outside of the ear, so that I can edit it without rebuilding the ear. I'm used to put the log4j.xml in the serverclasspath, then it is read on server startup. But then I don't have the possibility to use different log4j.xml for each application. I think it is a classpath issue, because

WebLogic ERROR: No credential mapper entry found for password indirection user=db_user?

别说谁变了你拦得住时间么 提交于 2019-12-10 09:35:16
问题 Every time I try to deploy my EJB service app to Weblogic 10.3 server, I get following error: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=db_user for data source my_ds How to solve this?? 回答1: The Oracle forums have posted a solution for this, if you are deploying to another Weblogic server other than the Integrated one with

WebLogic and OSGi

久未见 提交于 2019-12-10 06:10:06
问题 Is there a way to run an OSGi container in the Weblogic Application Server? I know that it works with JBoss, Glassfish and there are possibilities to add an Equinox servlet bridge to your OSGi project (implementation of the bridge is too old). But I want something similar to JBoss/Glassfish functionality where it is very easy to deploy your OSGi environment, because there are already OSGi implementations. Most of the articels I found were very old and there are no more recent ones. Can

Weblogic安装SSL证书指南

萝らか妹 提交于 2019-12-10 02:01:34
一、 生成证书请求 1. 安装JDK(可选) Weblogic安装后自带JDK安装。如果您直接在服务器上生成证书请求,请进入Weblogic安装目录下JDK所在路径的bin目录,运行keytool命令。 如果您需要在其他环境下生成证书请求文件,则您可以选择安装JDK,并稍后上传生成的密钥库文件keystore.jks到服务器上进行配置。 Java SE Development Kit (JDK) 下载。下载地址: http://www.oracle.com/technetwork/java/javase/downloads/index.html 2. 生成keystore文件 生成密钥库文件keystore.jks需要使用JDK的keytool工具。命令行进入JDK或JRE下的bin目录,运行keytool命令(示例中粗体部分为可自定义部分,请根据实际配置情况作相应调整)。 keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore C:\keystore.jks -storepass password -keypass password 以上命令中,server为私钥别名(-alias),生成的keystore.jks文件默认放在命令行当前路径下。 3. 生成证书请求文件(CSR) SHA1请使用:

Grails: what are the main issues (and his solutions) when deploying in weblogic?

浪尽此生 提交于 2019-12-10 00:08:25
问题 I'm trying to deploy my grails application (*.war) in a weblogic server. But now I'm getting error: "/index.gsp" not found. While I run to solve this I'm think what more problems can happen when someone change deploy from Apache Tomcat to Oracle Weblogic. Anybody have a list of commons problems/solutions to share? Thanks 回答1: A list of common problems with different application servers and how to deal with these problems can already be found in the FAQ on the Grails community page. http://www

WebLogic 任意文件上传(CVE-2018-2894)漏洞复现

时光总嘲笑我的痴心妄想 提交于 2019-12-09 13:56:57
Weblogic任意文件两种上传漏洞(CVE-2018-2894) 漏洞介绍 WebLogic管理端未授权的两个页面存在任意上传getshell漏洞,可直接获取权限。两个页面分别为/ws_utc/begin.do,/ws_utc/config.do,利用该漏洞,可以上传任意jsp、php等文件,并获取服务器权限。 受影响版本 weblogic 10.3.6.0、weblogic 12.1.3.0、weblogic 12.2.1.2、weblogic 12.2.1.3。 漏洞环境:windowsserver2008安装有weblogic环境。IP地址:192.168.33.129 漏洞复现 启动漏洞环境 访问http://192.168.33.129:7001/ws_utc/config.do,修改当前工作目录为C:\Users\root\Desktop\fmw\wls12213\user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/com.oracle.webservices.wls.ws-testclient-app-wls/4mcj4y/war/css 点击“安全”、”添加”,然后上传jsp木马 审查元素,查看时间戳。 访问:http://192.168.33.129:7001/ws_utc

Run @Scheduled task only on one WebLogic cluster node?

淺唱寂寞╮ 提交于 2019-12-09 08:33:34
问题 We are running a Spring 3.0.x web application (.war) with a nightly @Scheduled job in a clustered WebLogic 10.3.4 environment. However, as the application is deployed to each node (using the deployment wizard in the AdminServer's web console), the job is started on each node every night thus running multiple times concurrently. How can we prevent this from happening? I know that libraries like Quartz allow coordinating jobs inside clustered environment by means of a database lock table or I