weblogic12c

Override Spring jar in Weblogic 12c

让人想犯罪 __ 提交于 2019-12-25 08:48:42
问题 We have been facing an issue while overriding the Spring jar in Weblogic 12c. Basically we need to write a bean based on some 3rd party API calling their interfaces. Now they use Spring 2.5 jar for their own implementation. Since Weblogic inherently supports Spring 3.0 jar. As a result when we write our bean wrapping their interfaces and deploy it, it doesn't work. We replicated the issue by replacing Spring 2.5 jar with Spring 3 in local environment. If we modify the server classpath to load

Lock and Edit Button is Weblogic 12C admin console is not responding ,

 ̄綄美尐妖づ 提交于 2019-12-25 05:35:07
问题 Lock and Edit Button is Weblogic 12C admin console is not responding , when I click it it just keeps loading and nothing happens , I have tried Different Browsers with different cache settings nothing works. I want to make changes to the console . Is there any resolution? This is a strange issue I could not find answers for this anywhere 回答1: Take a thread dump at the AdminServer JVM at the time it "hangs". To see what hangs exactly. If you are running inside an virtual Linux VM adding Java

Using same Jsession ID to login into other machine

别来无恙 提交于 2019-12-25 04:34:12
问题 In our project we are using weblogic server. If I try to login into our application i.e on machine A, a JsessionId is generated after I logged in. Now, if I use this same JsessionId on another machine i.e machine B the application will prompt me to home page instead of login page. Please provide a solution for my problem. 回答1: Unless otherwise configured, most servers will destroy any JSessionID it does not recognize and issue a new one. This is to prevent Session Fixation attacks. Java

adf tree selection listner not working getting error <oracle.adf.view> <RichRenderer> <decodeUnknownKey> <ATTEMPT_SYNC_UNKNOWN_KEY>

亡梦爱人 提交于 2019-12-25 02:33:19
问题 I have created a tree in adf programtically. It's showing correctly and I am also able to traverse but when I try clicking on any node, my selectionListner() function does not work instead it gives following error on console: <oracle.adf.view> <RichRenderer> <decodeUnknownKey> <ATTEMPT_SYNC_UNKNOWN_KEY>** Following is my code 1) I create an Employee class package view; import java.util.ArrayList; import java.util.List; public class Employee { private String name; private String location;

ClassCastException - org.slf4j.impl.JDK14LoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

邮差的信 提交于 2019-12-24 19:19:35
问题 Getting the above exception when I try this : import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.core.util.StatusPrinter; private static final Logger LOGGER = LoggerFactory.getLogger( ABC.class.getName() ); public String greet() { LOGGER.info("START1:: [ {} ] , [ {} ] , {}", ABC.class.getName(),"greet",123); LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); Have checked my maven dependencies - this is

How to enable JMX in Weblogic to set any attribute through WLST

邮差的信 提交于 2019-12-24 06:17:08
问题 I am getting following error. java.lang.RuntimeException: java.lang.RuntimeException: The requested attribute is not exposed through JMX: setEnabled How I can solve this issue. Here is the set of command which I had tried in WLST (Weblogic Scripting Tool). wls:/MiCommApp/serverConfig> cd('/Servers/' 'AdminServer' '/SSL/' 'AdminServer' ) wls:/MiCommApp/serverConfig/Servers/AdminServer/SSL/AdminServer> cmo.setEnabled(true) Traceback (innermost last): File "<console>", line 1, in ? at weblogic

Docx4J Bad [Content_Types].xml with WebLogic 12c

怎甘沉沦 提交于 2019-12-24 05:32:35
问题 I'm wondering if anyone has had the same problem with the setup: WebLogic 12c Docx4J 2.8.1 Java EE 6 I tried to get the content of a certain Microsoft Word 2007 Document with Docx4J but got an error like the following: When I try to do: WordprocessingMLPackage package = WordprocessingMLPackage.load(new File((path)); it will throw exception like: 2013-06-05 15:29:12.0283 ERROR Thread-18 org.docx4j.jaxb.NamespacePrefixMapperUtils – name: com.sun.xml.internal.bind.namespacePrefixMapper value:

How to prefer JARs from Weblogic domain over those from weblogic system

半世苍凉 提交于 2019-12-23 18:43:50
问题 I am using Weblogic Server 12.1.1 and copied some JARs to my domain's lib folder. One of the JARs is a org.apache.commons.io jar. Now I have the problem that Weblogic itself comes with a different version of commons-io in its system classpath and so I get NoSuchMethodErrors . Is there any way to configure Weblogic to prefer the libs from domain over those from Weblogic system? The Filtering Classloader works only on those JARs provided with the application ( WEB-INF/lib ). 回答1: If you need to

How to exclude a class from scanning with CDI 1.0

早过忘川 提交于 2019-12-23 07:26:24
问题 I would like to exclude a class from scanning in CDI 1.0. I'm using the default implementation of CDI in WebLogic 12.1.12 (Weld, CDI 1.0). I saw several web sites and docs with CDI 1.1 but not with the previous release . 回答1: With Weld, you can use a custom XML namespace in beans.xml to exclude classes from scanning: <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:weld="http://jboss.org/schema/weld/beans"> <weld:scan> <weld:exclude

WebLogic 12c - Error: ADRS_DOMAIN_PASSWORD environment variable not set

孤街醉人 提交于 2019-12-22 12:32:10
问题 I'm trying to implement push notification in Oracle MAF (2.3.1) application. I need to deploy Push Server application on WebLogic server. When i try to run Integrated WebLogic Server (WL-12c) from JDeveloper 12c IDE , I'm keep getting Error: ADRS_DOMAIN_PASSWORD environment variable not set. in console log. Seeems it is not creating domain at all. I have also attached complete Build log on below for your reference, Adding environment variable to WLST script USER_MEM_ARGS = -Xms32m -Xmx1024m