weblogic12c

Weblogic increase memory

萝らか妹 提交于 2019-12-04 22:58:35
问题 How do I increase the memory used by my Weblogic (Java). While starting the server from eclipse it shows a message that JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=256m . I couldn't understand from where is it taking that value from. After sometime the Weblogic server fails because of low permgen space. I added startup arguments from console but that doesn't have any effect. Can you help me from where is it taking the memory values from? 回答1: When you configure a "Server" in

Does Weblogic12c support jersey 2.x?

南楼画角 提交于 2019-12-04 15:58:23
I have upgraded my web application to JAX-RS 2.0. The web application seems to work fine on Apache Tomcat. However, it does not get deployed on Weblogic 12c (or even 10.3.6). I am not sure if there is a proper support by weblogic and I believe it requires some configuration and class loader filtering to override the default JAX-RS 1.1 implementation ? Any idea how to achieve this and make my web application run on WLS 12c ? WebLogic 12c is Java EE 6 certified and so, implements JAX-RS 1.1. WebLogic plans to offer support for JAX-RS 2.0 in its next version 12.1.3 (as well a few other Java EE 7

Eclipse Maven Weblogic hot code swap

China☆狼群 提交于 2019-12-04 13:38:30
问题 I have a basic question about running a Java EE application on Weblogic using maven in eclipse. I use OEPE (Oracle Enterprise pack for Eclipse) which comes with some plugins such as m2e and wtp. As far as I know this plugins read the pom file and based on them build the jar, war and ear files. What I do right now is like this: I check the build automatically option and let these plugins create my EAR file, then right click on the instance of weblogic server in Eclipse and add it to server

Upgrading jax-rs shared library on weblogic

笑着哭i 提交于 2019-12-04 10:59:01
Normally weblogic 12c doesnt support jax-rs 2.0 but by the help of jax-rs shared library which comes with weblogic itself it is possible to upgrade jax-rs version from 1.1 to 2.0. The problem is library implementation is jersey 2.5 which doesnt satisfy my needs. I found a link about upgrading jersey version on weblogic which looks a lil bit complex. Is it enough to replace jersey jars 2.5 with my jersey version 2.13? Do i need to do anything else? I have created a simple maven project to produce the war file with the 2.19 jersey shared library for weblogic. I have tested it with weblogic 12.1

Annotation/java config based application starts to look for xml config file when moved from weblogic12c(12.1.3) to weblogic12cR2 (12.2.1)

最后都变了- 提交于 2019-12-04 10:06:03
My spring java-config application packed as war runs wihout problem on weblogic 12.1.3 so I tried to deploy same war into weblogic 12.2.1 where it causes java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/DispatcherServlet-servlet.xml] . It seems like DispatcherServlet servlet is initialized with XmlWebApplicationContext (default one) instead of AnnotationConfigEmbeddedWebApplicationContext in 12.2.1 even when war is the same. Has someone any idea what was changed in weblogic implementation since previous version what is causing this problem? Using same war : in

NullPointerException while deploying project on Weblogic 12.2.1

我只是一个虾纸丫 提交于 2019-12-04 09:22:27
We have a JSF application that was on Weblogic 10.3.6 and that we try to deploy on Weblogic 12.2.1. For information, we succeeded in deploying on Weblogic 12.1.3 without any changes in the project. We are facing a NullPointerException while deploying on Weblogic 12.2.1 : . . JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 . CLASSPATH=C:\tools\java8\JDK18~1.0_1\lib\tools.jar;C:\BEA122~1.1\wlserver\server\lib\weblogic.jar;C:\BEA122~1.1\oracle_common\modules\net.sf.antcontrib_1.1.0.0_1-0b3\lib\ant-contrib.jar;C:\BEA122~1.1\wlserver\modules\features\oracle.wls.common.nodemanager

How to replace EclipseLink 2.3.2 with EclipseLink 2.5 in WebLogic Server 12c

梦想与她 提交于 2019-12-04 06:03:42
I currrently try to run Docx4j in WebLogic Server 12c. WebLogic Server 12c comes with EclipseLink 2.3.2. There is a similar Post describing the situation which unfortunately yield no answer. Docx4j does not work with the JAXB (MOXy) implementation which is part of EclipseLink 2.3.2. I got Docx4j running standalone with EclipseLink 2.5. So I am very confident that using EclipseLink 2.5 with Weblogic Server 12c will solve the issue with Docx4j. How can I replace the EclipseLink Vesion 2.3.2 the WebLogic Server 12c is running on with EclipseLink Version 2.5? You can created a shared library in

Can MyFaces + CDI be used on WebLogic 12c?

旧街凉风 提交于 2019-12-04 00:33:07
I've been trying to get this setup running for a couple of days now but still no luck. Here's the test application i've been using: @Named @RequestScoped public class Test { private String test = "test"; public String getTest() { return test; } public void setTest(String test) { this.test = test; } } And in the jsf page: <h:outputText value="#{test.test}"/> Running this sample without MyFaces works fine (renders "test" like it should), but when i deploy MyFaces in the WAR file and do the necessary configuration within weblogic.xml CDI seems to stop working (or at least, the integration bewteen

How to solve NoSuchMethodError for javax.validation when deploying a spring boot application in weblogic server?

拜拜、爱过 提交于 2019-12-03 21:14:20
I am trying to deploy a simple spring boot application that will expose some rest api and I use hibernate entity manager to manipulate entity objects. When I try to deploy this application to Oracle Weblogic 12c, I get the following exception: <Jan 11, 2016 6:20:14 PM BDT> <Error> <Console> <BEA-240003> <Administration Console encountered the following error: weblogic.application.ModuleException: java.lang.NoSuchMethodError: javax.validation.spi.ConfigurationState.getParameterNameProvider()Ljavax/validation/ParameterNameProvider; at weblogic.application.internal.ExtensibleModuleWrapper.start

java.util.ServiceConfigurationError: javax.xml.stream.XMLInputFactory: Provider com.ctc.wstx.stax.WstxInputFactory not a subtype

那年仲夏 提交于 2019-12-03 20:18:12
I am using Weblogic 12c. I m trying to deploy myApplication.war in Weblogic. While deploying i get bellow error. An error occurred during activation of changes, please see the log for details. Message icon - Error java.util.ServiceConfigurationError: javax.xml.stream.XMLInputFactory: Provider com.ctc.wstx.stax.WstxInputFactory not a subtype Message icon - Error javax.xml.stream.XMLInputFactory: Provider com.ctc.wstx.stax.WstxInputFactory not a subtype The same myApplication.war I am able to deploy in weblogic-10,Jboss and Tomcat. But not in weblgic-12c. I googled and found that i need to