您的位置:首页 > 数据库 > Oracle

JDev Deploy Exception: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener

2009-12-03 16:32 1321 查看
Issue:



When deploy J2EE Application to Weblogic using JDevelper 11g, some exception may be showing.



[04:28:37 PM] >>>> Warning: Unable to determine the target platform from the Profile. Using default...
[04:28:37 PM] ---- Deployment started. ----
[04:28:37 PM] Target platform is (Weblogic 10.3).
[04:28:37 PM] Retrieving existing application information
[04:28:37 PM] Running dependency analysis...
[04:28:37 PM] Building...
[04:28:38 PM] Deploying 2 profiles...
[04:28:38 PM] Wrote EJB Module to F:/Java/JavaEE5WSDemo/Demo1/deploy/EJBModule.jar
[04:28:41 PM] Wrote Enterprise Application Module to F:/Java/JavaEE5WSDemo/deploy/EJBBookStore.ear
[04:28:41 PM] Deploying Application...
[04:29:09 PM] [Deployer:149193]Operation 'deploy' on application 'EJBBookStore' has failed on 'AdminServer'
[04:29:09 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EJBBookStore on AdminServer.: .
[04:29:09 PM] Weblogic Server Exception: weblogic.management.DeploymentException:
[04:29:09 PM] Caused by: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
[04:29:09 PM] See server logs or server console for more details.
[04:29:09 PM] weblogic.management.DeploymentException:
[04:29:09 PM] #### Deployment incomplete. ####
[04:29:09 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)





Solution:

check META-INF/weblogic-application.xml in your ear, and whether there is a snippet:

<listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
        <listener-class>oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener</listener-class>
</listener>


Delete it and , will be ok.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: