weblogic内存设置在什么地方设置热布署

weblogic热部署_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
15页免费4页免费21页免费28页免费16页免费10页免费32页2下载券4页免费2页免费4页2下载券
喜欢此文档的还喜欢14页免费32页1下载券2页免费34页7下载券26页7下载券
weblogic热部署|关​于​在​不​重​启​w​e​b​l​o​g​i​c​服​务​的​情​况​下​更​新​c​l​a​s​s​文​件​,​只​需​要​重​启​某​个​应​用​即​可​!
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
你可能喜欢Weblogic部署手册配置部署,手册,设置,部署配置,配置部署,部署手册,配置手册
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
Weblogic部署手册配置
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer-4.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口weblogic中的热部署对于生产环境适用吗?如何配置?_百度知道
weblogic中的热部署对于生产环境适用吗?如何配置?
我有更好的答案
按默认排序
可以使用redeploy命令进行重部署。对生产环境几乎零影像,而且回滚容易。
其他类似问题
weblogic的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁weblogic布署时,出现错误代码对应的错误信息14
上亿文档资料,等你来发现
weblogic布署时,出现错误代码对应的错误信息14
J2EEDeploymentSPISubsyst;TheJ2EEDeploymentSPI1.0c;BEA-260000Info:WebLogicL;DescriptionDisplayname;CauseNone;ActionNone;BEA-260001Error:'uri'doe;Manager.TheURImustbeofth;deployer:We
J2EE Deployment SPI Subsystem MessagesThe J2EE Deployment SPI1.0 catalog contains messages in the range BEA260000 - BEA260999. Messages in this catalog are part of the weblogic.deploy.api.internal Internationalization package and the weblogic.deploy.api.internal Localization package.BEA-260000
Info: WebLogic Local Deployment ManagerDescription
Display nameCause
NoneAction
NoneBEA-260001
Error: 'uri' does not identify a known DeploymentManager. The URI must be of the form:deployer:WebLogic:host:port. The host and port are required if attempting to acquire a connecteddeployment manager.Description
The URI must be of the form:deployer:WebLogic:host:port. The hostand port are required if attempting toacquire a connected deploymentmanager.Cause
Invalid URI provided when allocating adeployment managerAction
None requiredBEA-260002
Error: 'uri' is not a valid uri. The URI must be ofthe form:&deployer:WebLogic:protocol://host:port&. The host and port are required if attempting to acquire a connected deployment manager. The protocol should be a well-known IP protocol.DescriptiThe URI must be of the form:on
&deployer:WebLogic:protocol://host:port&. The host and port are required ifattempting to acquire a connecteddeployment manager.Cause
Incorrect host/port used whenattempting to allocate a deploymentmanager.Action
NoneBEA-260003
Error: Feature not available when in disconnectedmode.Description
Certain deployment operation require aconnected deployment managerCause
Deployment tool allocated adisconnected deployment manager orreleased it.Action
Allocate a connected deploymentmanager.BEA-260004
Error: Locale, 'locale', is not supported.Description
The specified locale is not supportedby this JVMCause
Locale is incorrectly specifiedAction
NoneBEA-260005(retirInfo: WebLogic Servered)Description
Display nameCause
NoneAction
NoneBEA-260006(retirInfo: WebLogic Clustered)Description
Display nameCause
NoneAction
NoneBEA-260007(retirInfo: WebLogic Virtual Hosted)Description
Display nameCause
NoneAction
NoneBEA-260008
Error: J2EE version v not supported by thisdeployment manager.Description
Only J2EE 1.4 and later versions aresupported.Cause
Invalid argumentAction
NoneBEA-260009
Error: Exception caught for class 'cls' whileattempting to create DeploymentManager: errDescription
Internal errorCause
Internal errorAction
NoneBEA-260010
Error: Unable to connect to 'url' as user, 'user'.Error received: msgDescription
Unable to create connect deploymentmanagerCause
Failed authorizationAction
NoneBEA-260011(retirError: Unable to create unique id for module [ domain: ed)
'domain',name: 'name',type: 'type',target:'target',target type: 'targetType', parentapplication: 'app' ]. Reported err was: msgDescription
Internal errorCause
Internal errorAction
NoneBEA-260012
Error: No configured targets match provided targetwith name, 'target', and type, 'type'Description
Attempt to deploy to unknown targetCause
Invalid argumentAction
NoneBEA-260013
Error: Target array passed to DeploymentManager wasnull or empty.Description
Invalid argumentCause
Invalid argumentAction
NoneBEA-260014(retirError: Client applications not supported ed)Description
Operation not supported for clientapplicationsCause
Invalid requestAction
NoneBEA-260015
Error: The 'op' operation is not supportedDescription
Unsupported operationCause
Invalid requestAction
NoneBEA-260016
Error: 'file' does not exist.Description
Attempted to create deployable objectwith invalid module pathCause
Invalid argumentAction
NoneBEA-260017
Error: Unable to locate deployment task, 'task'Description
A deployment task cannot be found. Nofurther updates will be provided to theassociated ProgressObjectCause
Task was removed from the systemAction
NoneBEA-260018(retirError: Failed to create cmd task using object. ed)Description
A management error occurred whilecreating a deployment taskCause
Check log for further detailsAction
NoneBEA-260019(retirInfo: Module mod of application app is transitioning ed)
from start to target on server server.Description
State transitionBEA-260020
Info: Module mod of application app successfullytransitioned from start to target on server server.Description
State transitionBEA-260021
Info: Module mod of application app failed totransition from start to target on server server.Description
State transitionBEA-260022
Info: phase application app on server server.Description
State transitionBEA-260023
Warning: Deployment task does not exist forProgressObjectDescription
No further updates will be made toProgressObjectCause
Deployment task was removed fromsystemAction
NoneBEA-260024
Info: Connection errors occurred while reporting aprogress event. The event was from application, app,module, mod, on server server. The event was msg. The包含各类专业文献、高等教育、生活休闲娱乐、行业资料、文学作品欣赏、应用写作文书、中学教育、各类资格考试、weblogic布署时,出现错误代码对应的错误信息14等内容。 
  weblogic部署SSH项目错误总结_计算机软件及应用_IT/计算机_专业资料。Weblogic ...true 时,将向浏览器、 命令提示和 WebLogic Server 日 志文件中输出调试信息。...   64位weblogic安装部署以及常见问题解决_计算机软件及应用_IT/计算机_专业资料。...现在创建域并启动服务器, 或许会发现如下提示的错误信息: &Error& &Socket& &...   在Weblogic+9上部署Cognos+8.3_IT/计算机_专业...脚本添加位置可以根据前后代码片段 寻找,具体解释如下...四、相关错误信息说明 1、PATH 变量问题 启动后报 ...  是我们的 配置才会生效,如果你没有激活的话可能会出现 503 的无权访问的错误...weblogic 中部署 web 项目就这几个错误,只要大家记好了,以后应该不会出 现...   Weblogic部署Web项目_互联网_IT/计算机_专业资料。...web.xml 代码如下: &?xml version=&1.0& ...web.xml 的版本为 3.0 可能会出现如下错误: 2....  如下: &!-- 注意:tomcat 和 weblogic811 以上部署请使用 listener,weblogic811...files\pay) 即如果放开的子系统的信息 , 与程序不能对应启动服务会报错。...   上面的页面显示的是刚才选定的归档文件的基本信息,然后点“Deploy”进行部署,...weblogic.xml 2.部署展开的归档目录 .将应用程序的源代码拷贝到 /app 的文件...  特别是在 Web 应用的管理 方面,Weblogic 比 Tomcat 要强不少,也体现出商业软件...第二:仔细查看,在重新部署的时候,发现一个问题所在的错误: & 下午 ...  显示“连接成功” 点击“创建和部署” 在新页面的...连接池的错误, 是用户操作过程中改了数据库用户的... 在 然后 “apply” ,然后重启 webLogic 问题得到...weblogic10.3&如何实现热部署
在J2EE的项目中,容器给我们提供的热部署功能使得我们不用重启动容器而修改我们的代码。比如使用Weblogic,我们可以在Weblogic-application.xml中配置是否支持热部署Servlet。查阅Weblogc
文档,其实在Weblogic中,EJB组件也是可以热部署的,但如何要热部署EJB组件,Weblogc要求必须自定义ClassLoder。
JVM规范中没有指定JVM支持动态加载修改过的类。类的加载,卸载对于程序员是透明的。如果我们要实现类的动态加载我们就要理解JVM本身类的加载与卸载的原理,实现热部署。对于JVM加载类方面的资料在网上很多的,在这里我做简单概述:
(1)JVM加载时通过ClassLoader加载的。
(2)JVM有3层继承关系的ClassLoder 分别是:
-----BootStrap类加载器 加载JRE/lib
-----------------ExtClassLoader 加载 JRE/lib/ext
----------AppClassLoader 加载ClassPath/
(3)为了安全性,JVM加载采用了双亲委派机制,如何理解呢,就是当需要加载一个类时,当前的ClassLoader先请求父ClassLoader,依次
类推,直到父类的ClassLoader无法加载时,才通过当前的ClassLoser加载,这就保证了像String这样的类型必须使用JRE里面的,
JRE lib 下类不会被修改。同时避免了ClassCaseException。
(4)在JVM中,一个实例是通过本身的类名+加载它的ClassLoader识别的,也就是说 不同的ClassLoader
加载同一个类在JVM是不同的。
(5)同一个ClassLoader是不允许多次加载一个类的,否则会报java.lang.LinkageError。attempted
duplicate class definition for
name XXX,在下面的例子中会指出。
既然JVM不支持热部署,那么要实现热部署,就必须自定义ClassLoader,当类被修改过后,加载该类。下面通过代码说明:
// 自定义一个类加载器
public class DynamicClassLoader extends ClassLoader {
public Class&?& findClass(byte[] b)
throws ClassNotFoundException {
return defineClass(null, b, 0, b.length);
import java.io.F
import java.io.FileInputS
import java.io.IOE
public class ManageClassLoader {
DynamicClassLoader dc =
Long lastModified = 0l;
//加载类, 如果类文件修改过加载,如果没有修改,返回当前的
public Class loadClass(String name) throws ClassNotFoundException,
IOException{
if (isClassModified(name)){
dc = new DynamicClassLoader();
return c = dc.findClass(getBytes(name));
//判断是否被修改过
private boolean isClassModified(String filename) {
boolean returnValue =
File file = new File(filename);
if (file.lastModified() & lastModified) {
returnValue =
return returnV
// 从本地读取文件
private byte[] getBytes(String filename) throws IOException {
File file = new File(filename);
long len = file.length();
lastModified = file.lastModified();
byte raw[] = new byte[(int) len];
FileInputStream fin = new FileInputStream(file);
int r = fin.read(raw);
if (r != len) {
throw new IOException("Can't read all, " + r + " != " + len);
fin.close();
测试类;Main 每隔 5s 加载一次
import java.io.IOE
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.M
public class Main {
public static void main(String[] args) throws
ClassNotFoundException, IOException, NoSuchMethodException,
IllegalAccessException, IllegalArgumentException,
InvocationTargetException, InstantiationException,
InterruptedException {
String path =
"D:\\deploy\\JDBC\\ClassLoader\\build\\classes\\classloader\\LocalClass.class";
ManageClassLoader mc = new ManageClassLoader();
while(true){
Class c = mc.loadClass(path);
Object o = c.newInstance();
Method m = c.getMethod("getName");
m.invoke(o);
System.out.println(c.getClassLoader());
Thread.sleep(5000);
被加载的类
public class LocalClass {
public void getName() {
System.out.println("hahaha ");
运行时,每隔5s 输出:
classloader.DynamicClassLoader@61de33
当我们修改 System.out.println("hahaha "); ---&
System.out.println("changed "); 编译LocalClass后
输出变为:
classloader.DynamicClassLoader@173a10f
在loadClass中,
我们必须重新初始化一个ClassLoader,负责就会违背同一个ClassLoader是不允许多次加载一个类的。
public Class loadClass(String name) throws ClassNotFoundException,
IOException{
if (isClassModified(name)){
dc = new DynamicClassLoader();
return c = dc.findClass(getBytes(name));
当然,容器的实现机制肯定及其完善,不可能周期性的加载,可能回通过监听机制,动态加载修改过的类。但它的实现机制肯定也是重新
实例化一个ClassLoder,加载需要加载的类
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。}

我要回帖

更多关于 weblogic编码设置 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信