weblogic sample

http://geronimo.apache.org/GMOxSAMPLES/5-minute-tutorial-on-enterprise-application-development-with-eclipse-and-geronimo.html

 

一、使用javarebel配置weblogic热部署
在setDomainEnv.cmd文件中增加下面一行代码,分别指定javarebel的路径与应用的classes路径:
set JAVA_OPTIONS=-noverify -javaagent:E:/javarebel-2.0.1/javarebel.jar -Drebel.dirs=D:\project\WebContent\WEB-INF\classes %JAVA_OPTIONS%

javarebel的下载地址:http://www.zeroturnaround.com/javarebel/download/

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">

<weblogic-web-app>

<container-descriptor>

<servlet-reload-check-secs>-1</servlet-reload-check-secs>

<prefer-web-inf-classes>true</prefer-web-inf-classes>

</container-descriptor>

<context-root>managerWeb</context-root>

</weblogic-web-app>

 

你可能感兴趣的:(weblogic)