weblogic

Weblogic is slow to start (11mins) under VM (VirtualBox and VMware)

你离开我真会死。 提交于 2019-12-03 03:52:53
问题 (SOLVED! BY FAKING SYSTEM RANDOM GENERATOR, SEE BELOW) I'm setting up a VM image for my dev/build team. Inside that VM a Weblogic domain should be running. I use Ububtu server distro, WLS 9.2MP3 + ALSB. Everything works OK, quite fast, but at the start time the WLS stops twice for a measurable amounts of time. Two stops in total amount to about 10 minutes delay. For tasks where deployment requires server restart it's very annoying. :-( Sleeping time is not constant, sometimes the server

NameNotFoundException when calling a EJB in Weblogic 10.3

时光怂恿深爱的人放手 提交于 2019-12-03 03:24:29
I have a EJB defined as this: package com.foo; @Stateless (mappedName="HelloWorld") public class HelloWorldBean implements HelloWorld, HelloWorldLocal .... When it's deployed to Weblogic (WL), it gets the name myBean. I'm not sure if this is important. I try to call the bean with this code: Hashtable ht = new Hashtable(); ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory"); ht.put(Context.PROVIDER_URL, "t3://localhost:7001"); ic = new InitialContext(ht); tp = (HelloWorld) ic.lookup("HelloWorld#com.foo.HelloWorldBean"); Anyone know why I get the following error?

Weblogic Deployment Exception : PaddingException: Could not perform unpadding: invalid pad byte

删除回忆录丶 提交于 2019-12-03 03:24:18
This question is asked (and answered) just to share some knowledge with the SO Community. I have recently came up with a deployment Exception of my web application (after receiving some changes from the SVN Repository) that said: < Error > < Deployer > with ID '1350377960779' for task '1'. Error is: 'com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.' com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte. at com.rsa.jsafe.c.a(Unknown Source) at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source) at weblogic.security

Hot deploy with Weblogic server?

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an Enterprise Application in Weblogic server. When I modify any java class I have to build the .ear file and deploy in server every time, for a small modification also I need to build the whole application and deploy in server. Server is taking around 10 minutes time to do this. Is there any other way to do this? When I was working with Tomcat we used to update the .class directly in webapps project folder so that we don't need to re-build the entire application. 回答1: Yes - there is a feature called FastSwap. Using FastSwap to speed

Java argument to specify Java.Security file for JVM

非 Y 不嫁゛ 提交于 2019-12-03 02:08:52
I'm looking for a java argument (or perhaps some different method) to allow me to specify a file to be used by the JVM as the java.security file, rather than using the one found in the JDK (in the JRE lib). To give you a little more context, I am working with a WebLogic server that was set up by someone else and is running two (or more) different JVMs off the same JDK. We have run into an issue now where the work I'm doing on one JVM requires a different java.security file than the one that is currently being used by the other JVM. I am hoping there will be a way for me to just point my JVM at

Weblogic Error: Caused by: weblogic.transaction.internal.AppSetRollbackOnlyException: setRollbackOnly called on transaction

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am porting an application from Jboss 7as to Weblogic 12c. So far, I am able to run the application and create new records in the database. However, I get the below error only when trying to update existing records; Error committing transaction: javax.ejb.TransactionRolledbackLocalException: Error committing transaction: at weblogic.ejb.container.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal(EJBRuntimeUtils.java:231) at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:134) at weblogic.ejb

WebLogic 10gR3 - UnsupportedEncodingException parsing Content-Type header for multipart/form-data

匿名 (未验证) 提交于 2019-12-03 01:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My application is receiving multi-part content through an HTTP POST, on WebLogic 10gR3. Whenever clients specify the charset attribute before other attributes on the Content-Type header (e.g. Content-Type: multipart/form-data; charset=utf-8; boundary=a_random_boundary ), WebLogic is throwing the following exception (caught in my managed server's log): Unsupported encoding: "utf-8; boundary=a_random_boundary" specified. java.io.UnsupportedEncodingException: Unsupported Encoding utf-8; boundary=a_random_boundary at weblogic.servlet.internal

Weblogic上部署项目

匿名 (未验证) 提交于 2019-12-03 00:37:01
其实也可以不用上传的,这里就不描述这种方式了 ) 1.进入主页面,可以看到左边栏上有个“部署” 2.找到war包并按照步骤操作。( 还是说一下不上传war包的操作吧:点击“上载”,在Windows里找到war包并点击“下一步”,这里可能会有延时,因为把war包上传到服务器上需要一段时间 ) 3.一直点击“下一步” 4.一定要记得点击“激活更改” 5.选中项目,启动 6.等待一段时间,状态会从start running转到“活动”( 服务器性能越好,等待的时间越短 ) 好了,一个web应用就这样在weblogic里启动了 =======================================华丽的分割线======================================= 删除weblogic上部署的项目: 按照步骤来 1. 如果只是停止项目,做完这个步骤就可以了 2.删除项目 好了,项目删除成功。下面没有分割线 文章来源: Weblogic上部署项目

Ignoring SSL validation in Java

限于喜欢 提交于 2019-12-02 23:43:21
I have to call an HTTP service hosted on web server with an invalid SSL certificate. In dev, I'm importing the certificate with keytool but the certificate will be different on each client install, so I can't just bundle it. Foreword: I DO know that skipping SSL validation is really ugly. In this specific case, I would not even need SSL and all other communications in the system are over simple HTTP. So I really don't care about MITM attacks or such. An attacker would not need to go as far as to break SSL because there is no SSL for the data. This is support for a legacy system over which I

WebLogic 反序列化0day漏洞(CVE-2019-2725补丁绕过)预警

匿名 (未验证) 提交于 2019-12-02 23:43:01
0x00 事件背景 2019年06月15日,360CERT监测到在野的Oracle Weblogic远程反序列化命令执行漏洞,该漏洞绕过了最新的Weblogic补丁(CVE-2019-2725),攻击者可以发送精心构造的恶意HTTP请求,在未授权的情况下远程执行命令。目前官方补丁未发布,漏洞细节未公开。360CERT经研判后判定该漏洞综合评级为“高危”,强烈建议受影响的用户尽快根据临时修补建议进行临时处置,防止收到攻击者攻击。 PHP大马 0x01 漏洞细节 该漏洞是针对2019年4月Weblogic补丁的绕过,主要是由于支持Weblogic的JDK版本存在缺陷而导致攻击者可以绕过补丁在远程执行任意命令。 0x02 影响范围 影响产品: Oracle WebLogic Server10.3.6.0.0 Oracle WebLogic Server12.1.3.0.0 影响组件: wls9_async_response.war wls-wsat.war 0x03 修复建议 删除wls9_async_response.war和wls-wsat.war文件及相关文件夹并重启Weblogic服务。具体路径为: 10.3.*版本: 奇热影视 \Middleware\wlserver_10.3\server\lib\ %DOMAIN_HOME%\servers\AdminServer\tmp\