weblogic12c

How can I use Weblogic (12 C) without the application context in the URL?

安稳与你 提交于 2019-12-18 08:48:34
问题 I am working on a web project that requires Weblogic server and the only way I can view the site after deploying (on my Macbook Pro) is by specifying the application name as a prefix to the entire site. E.g. http://localhost:7001/myapp-weblogic/ This breaks a ton of styling and JavaScript code that access resources with root URLs (e.g. /images/example.png) While I can programmatically add "/my-app" to content in a .jsp, I can't do that in my .css files. I tried setting the "Default WebApp

Guava 15.0 jar conflict in WebLogic 12c

偶尔善良 提交于 2019-12-18 05:09:13
问题 I updated from guava 14.0.1 to 15.0 in an application that deploys on WebLogic 12c, and I get a java.lang.NoSuchMethodException during deployment that I've been unable to resolve: Caused By: java.lang.NoSuchMethodException: com.google.common.base.internal.Finalizer.startFinalizer(java.lang.Class, java.lang.ref.ReferenceQueue, java.lang.ref.PhantomReference) at java.lang.Class.getMethod(Class.java:1624) at com.google.common.base.FinalizableReferenceQueue.getStartFinalizer

“The Struts dispatcher cannot be found” error while deploying application on WebLogic 12.1.3

丶灬走出姿态 提交于 2019-12-17 06:54:51
问题 I have the following error while trying to run my application on WebLogic 12.1.3. The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. This is my web.xml file : <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:web="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation=

Why does the log4j2's ${web:rootDir} web lookup cause issues at the deployment in weblogic 12c?

醉酒当歌 提交于 2019-12-14 03:58:22
问题 The log4j2's web lookup - ${web:rootDir} seems to cause problems on weblogic 12c deployment. I suspect that the log4j2 web-lookup plugin is not initialized when weblogic requests the logger at the start of deployment and is unable to create the file. What I've done - Added slf4j in weblogic preferred packages of weblogic.xml. log4j-web dependency is present in classpath. 3.web.xml contains following:- <context-param> <param-name>isLog4jAutoInitializationDisabled</param-name> <param-value>true

RunTime Retention policy java annotations doesn't work in Weblogic 12C

南笙酒味 提交于 2019-12-13 19:25:25
问题 We are planning to upgrade our product to Web-logic 12.C and WebSphere 8 stack ( Earlier it was WLC 10.3.5 and WAS 7). But issue in one of the web service component causing entire application failed to deploy in web logic. It works perfectly fine with WebSphere 8. When deploying the EAR, Application sever throws 'Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException' . After more analysis, I found below code

weblogic jdbc Datasource error BEA-001131 Closed Connection

♀尐吖头ヾ 提交于 2019-12-13 07:28:51
问题 I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created GRIDLINK DataSource with XA DRIVERS. NAME: test JNDI: jdbc/testDS NOTE: I have used SCAN IP for this DataSource configuration. FAN ENABLED checked. ONS HOST : scan-ip:6200 Not using "ONS Wallet". DataSource was created successfully. Testing is done. Now when I start

Failed to deploy Rails app to WebLogic

与世无争的帅哥 提交于 2019-12-13 06:24:32
问题 I'm trying to deploy very simple Rails application to Oracle WebLogic server. It's just a default application created by a command like " jruby -S rails new myapp ". It works fine if I run a development server (" jruby -S rails server "). But when I deploy it to WebLogic, I receive an exception: org.jruby.rack.RackInitializationException: no method 'getInstance' for arguments (org.joda.time.tz.CachedDateTimeZone) on Java::OrgJodaTimeChrono::GJChronology My environment: OS: Windows 8.1 Java:

Apache Camel LRUCacheFactory deadlocks in Weblogic 12.2

旧巷老猫 提交于 2019-12-13 04:07:29
问题 I'm trying to create a (Weblogic) WAR deployment for a Apache Camel based project which runs fine on tomcat embedded. However when I start the server, I'm noticing a deadlock in LRUCacheFactory. The reported error is shown below: Found one Java-level deadlock: ============================= "Camel Thread #0 - LRUCacheFactory": waiting to lock monitor 0x85ec85a8 (object 0xb30c5c28, a weblogic.utils.classloaders.ChangeAwareClassLoader), which is held by "[STANDBY] ExecuteThread: '43' for queue:

java.lang.StackOverflowError Running JSF 2 example on Weblogic 12c

偶尔善良 提交于 2019-12-12 16:02:05
问题 I followed the very basic tutorial found here example and cannot seem to get past the following error: Error 500--Internal Server Error java.lang.StackOverflowError at weblogic.servlet.internal.ServletResponseImpl.addHeader(ServletResponseImpl.java:567) at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200) at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200) at javax.servlet.http.HttpServletResponseWrapper

java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor

依然范特西╮ 提交于 2019-12-12 13:08:51
问题 I am getting the following exception when trying to deploy the :mancenter-3.1.3.war in to my Weblogic 12. The fullstacktrace is : org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'managementCenterContext' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'centralManager' while setting bean property 'centralManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error