weblogic

multiple applications with multiple log4j.xml in weblogic

99封情书 提交于 2019-12-06 03:20:24
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 log4j search for the log4j.xml in the classpath. But I don't know, how to uses different classpath for

Weblogic could not find resource adapter with “correct” JNDI name for binding

十年热恋 提交于 2019-12-06 03:11:08
问题 I am trying to bind my message driven bean with Oracle JCA file adapter (which is included in the SOA suite) on Weblogic 10.3.5. So that my MDB can get notified when there is any .txt file is moved to specific directory. After launching a Weblogic domain with SOA features supported, the file adapter is automatically deployed. On Weblogic console I can see the file adapter is deployed as a "Resource Adapter", health is "OK", state is "Active", as shown below: Also I run the tests of the file

EJB weblogic.ejb20.cache.CacheFullException

自闭症网瘾萝莉.ら 提交于 2019-12-06 03:10:33
问题 I am working on one application using EJB1.2. previously running fine but from past few days I am getting following exception Exception in ejbLoad:: weblogic.ejb20.cache.CacheFullException: size=85783, target=5000, incr=1 at weblogic.ejb20.cache.EntityCache$SizeTracker.shrinkNext(JI)Lweblogic.ejb20.cache.EntityCache$MRUElement;(EntityCache.java:438) at weblogic.ejb20.cache.EntityCache.put (Ljavax.transaction.Transaction;Lweblogic.ejb20.cache.CacheKey;Ljavax.ejb.EntityBean;Lweblogic.ejb20

NullPointerException while deploying project on Weblogic 12.2.1

吃可爱长大的小学妹 提交于 2019-12-06 00:43:58
问题 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

weblogic添加项目

放肆的年华 提交于 2019-12-06 00:01:29
登陆weblogic控制台。点击部署。 在部署界面点击安装。 点击 upload your file(s) 添加项目 war包 点击next,默认的会将选中的war包放到当前域下面的管理服务器的upload文件夹中。 点击next,开始部署项目。这一步比较慢,等着就好了。 默认选中将此部署安装为应用程序,点击next. 勾选要部署的服务器, 设置应用的一些配置。 点击finish。等待一会就完成部署了。 来源: https://www.cnblogs.com/anningkang/p/11951844.html

weblogic server 后台命令启动

北战南征 提交于 2019-12-05 23:37:17
创建用户名密码文件 服务器下的security目录下创建文件boot.properties,输入weblogic控制台的用户名和密码 password=weblogic username=weblogic123 创建启动脚本 weblogic用户的home目录下创建启动脚本start-xx.sh #!/bin/sh if [ `whoami` != 'weblogic' ]; then echo 'Login User error!' exit 9 fi export srvName=epbd-master export adminUrl=http://192.168.70.21:8001/ export startDate=`date +%m%d%H%M` export domainDir=/opt/weblogic/Oracle/Middleware/user_projects/domains/base_domain export logDir=/opt/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/epbd-master/logs export procCount=`ps -ef|grep "weblogic.Name=${srvName}"|grep -v "grep"|wc -l`

is weblogic-maven-plugin available from maven center repository?

六眼飞鱼酱① 提交于 2019-12-05 23:34:24
问题 When i run my maven build script i get Plugin com.oracle.weblogic:weblogic-maven-plugin:2.9.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.oracle.weblogic:weblogic-maven-plugin:jar:2.9.1: Could not find artifact com.oracle.weblogic:weblogic-maven-plugin:pom:2.9.1 in central (http://repo1.maven.org/maven2) But when i search in repository i can see it there http://search.maven.org/#search|ga|1|weblogic-maven-plugin Why this plugin is not available

Where is WebLogic Jar containing javax.servlet in 10.3?

左心房为你撑大大i 提交于 2019-12-05 21:58:38
问题 I am trying to configure my path to include javax.servlet with WebLogic. WebLogic has split out the Jar files, so which one contains javax.servlet? 回答1: Starting with WebLogic 10, BEA externalized the implementation of API specs from weblogic.jar into various "modules". They now bundle a new api.jar in {BEA_HOME}/wlsever_10.3/server/lib/ that contains just a MANIFEST.MF which points to {BEA_HOME}/modules/*.jar . These modules include all API specifications as well as features provided BEA

Changing HttpURLConnection in running jvm

霸气de小男生 提交于 2019-12-05 21:04:44
Is it possible to change the http handler in jax-ws? For example: from weblogic.net.http.HttpURLConnection to sun.net.www.protocol.http.HttpURLConnection. you can try to using -DUseSunHttpHandler=true in the weblogic. manage weblogic by using WLST (non-clustered) add jvm arguments in the managered server env script under $WLS_DOMAIN_HOME/bin/setDomainEnv.sh JAVA_OPTIONS=-DUseSunHttpHandler=true export JAVA_OPTIONS manage weblogic by using Weblogic console (Clustered) Add -DUseSunHttpHandler=true to Arguments in a or b. In Admin Console navigate to Home > Summary of Servers > <managed server

why is a .lck file created and not deleted by java logging

。_饼干妹妹 提交于 2019-12-05 20:42:53
I am trying to implement an application level logger (webapps deployed in weblogic) - using java.util.logging . I took the ClassLoaderLogManager from apache JULI logging system since it already implements application level logging. So this is how my servlet code ( SimpleServlet .java) looks like : ClassLoaderLogManager ClassLoaderLogManager = new ClassLoaderLogManager () ; String nameoflogger = SimpleServlet.class.getName() ; boolean status = ClassLoaderLogManager .addLogger(nameoflogger); if(status) { Logger logger = ClassLoaderLogManager .getLogger(nameoflogger); logger.log(Level.FINEST,