weblogic升级之ddconverter
2014-02-19 16:55
85 查看
1. weblogic8.x 升到weblogic10时,需要升级ejb响应的描述符,否则会报错。
BEA-011114 - Error: For EJB modules, deployment plan overrides are not supported with DTD based deployment descriptors. The EJB module 'module' is attempting to apply a deployment plan to DTD based descriptors. Please update your EJB deployment descriptors to be schema based before attempting to apply the deployment plan override to this module. The weblogic.DDConverter utility can be used to automatically update your descriptors.
2. 使用ddconvert的方法Upgrading our applications from one WebLogic Version to another WebLogic Version is a very common thing which we all do. Many times it happens that code wise there is no changes pushed to the Application but we want to upgrade the Deployment descriptors of our Applications.
Using the Latest deployment descriptors inside our Application helps us to use many new features added by the container vendor. Example: If we are porting the Same Application from WLS8.1 to WLS10.1 . If without upgrading the deployment descriptors in our Application if we will directly deploy the same old application to WLS10.1 then you wont get benefited by the new features added by the Container … like Using “plan.xml” feature of WebLogic which allows us to Dynamically change the Deployment descriptors values in the Run time. We will not be able to use the WorkManagers in our Application which uses DTDs …because in WLS8.1 DTDs WorkManager Concept was not introduced….
So always Update your Deployment Descriptors … while moving to a newer version of WebLogic.
In WLS9.x onwards also if your Application is using the Old DTD based Descriptors and If you want to upgrade them to the Current Version of WLS which u are using then Please follow the below steps:
Step-1). Open a command prompt and the run “setWLSEnv.cmd” (which is available inside %WL_HOME%\server\bin)
If you are using Unix based operating System then please run
“. ./setWLSEnv.sh”
Note: There are 2 DOTs in above command…… the first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory. After this Verify that the Classpath is Set properly or not by running following command:
echo $CLASSPATH
Step-2). In the same command prompt move Just beside your Application Directory. and run the following command
java weblogic.DDConverter -d . <Your Application Name>
Example:
java weblogic.DDConverter -d . TestWelcomePage.ear
java weblogic.DDConverter -d . TestEJB.jar
java weblogic.DDConverter -d . TestWebApp.war
In the current directory you will find that the Latest DDs are generated ….
- See more at: http://middlewaremagic.com/weblogic/?tag=weblogic-ddconverte#sthash.djpfrYXy.dpuf
相关文章推荐
- weblogic升级之ddconverter
- 升级到Weblogic10时,启动报错java.lang.NoSuchMethodError
- 向vSphere迁移虚拟机,Converter需要升级至4.0.1
- 向vSphere迁移虚拟机,Converter需要升级至4.0.1 推荐
- Weblogic补丁升级操作手冊
- 升级到WebLogic 9的十大理由
- WebLogic Server反序列化升级操作【转】【补】
- Weblogic 升级更新补丁
- Weblogic升级安装
- weblogic9升级至weblogic10.3 spring+hibernate 应用问题
- 升级到WebLogic 9的十大理由
- weblogic 9.2 AIX安装全过程![ 字符] 含ESB安装和 AIX JDK升级
- Weblogic补丁升级操作手册
- 升级TOMATO从DD-WRT固件刷到Tomato(番茄)的详细过程介绍--转
- rockit 升级导致weblogic启动不了的问题
- Spring3升级到Spring4时, 运行时出现找不到MappingJacksonHttpMessageConverter的情况
- 关于weblogic 从jdk6升级到jdk7所遇到的问题-FATAL Alert:PROTOCOL_VERSION error
- Spring3.x升级到Spring.x4时, 找不到MappingJacksonHttpMessageConverter的异常
- NO.93 WebLogic1213升级常见问题总结
- WebLogic 10.3.6.0 升级反序列化漏洞补丁