Showing posts with label OSB 12C. Show all posts
Showing posts with label OSB 12C. Show all posts

Friday, 10 June 2016

blogger

Failed to initialize the application "SB_JMS_Proxy_N7de264e1.N2efb99d.2.1553951a327.N7ffe" due to error weblogic.management.DeploymentException: Exception occured while downloading files

Hello Viewer,

Today i faced one issue while bringing up the OSB servers.Servers were not coming up. After reaching to Admin state it again went to force shutting down mode.

After seeing the logs i got the below error:

 <Error> <Deployer> <BEA-149205> <Failed to initialize the application "SB_JMS_Proxy_N7de264e1.N2efb99d.2.1553951a327.N7ffe" due to error weblogic.management.DeploymentException: Exception occured while downloading files
weblogic.management.DeploymentException: Exception occured while downloading files
        at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:50)
        at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:59)
        at w
        Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from Administration Server for deployment request "0". Underlying error is: "null"


Solution: Login to Admin console and goto deployments, search the ear for which you are facing the error, it should be in failed state.
It will not allow you to untarget this ear.just delete it from deployments and try to restart the server. This time servers should come up.

Thanks a lot for your patience!!!

Regards
-Ashish




Thursday, 26 May 2016

blogger

[OSB 12c] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionManagementMBean

Hello viewer,

I was trying to create the scripts for performing different operation on OSB like deployment , enabling/disabling of proxy, list out the deployed OSB service etc..
Although i have already created these scripts for 11g version of OSB but the jars which i used in shell script are not working in 12c.

In 12c below jar are not available: [snippet from .sh file]
--------------------------------------------------------------------------------------------------------
export CLASSPATH=$CLASSPATH:$OSB_HOME/Oracle_OSB/lib/sb-kernel-api.jar
export CLASSPATH=$CLASSPATH:$OSB_HOME/modules/com.bea.common.configfwk_1.2.1.0.jar
export CLASSPATH=$CLASSPATH:$OSB_HOME/Oracle_OSB/lib/alsb.jar
export CLASSPATH=$CLASSPATH:$OSB_HOME/Oracle_OSB/lib/sb-kernel-impl.jar
---------------------------------------------------------------------------------------------------------
when i tried to run the same script in 12c it was giving the error:

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionManagementMBean


 Solution:

write below command in your shell script(.sh file)

a) MW_HOME="middleware home where osb is installed"
    export MW_HOME

b). $MW_HOME/osb/tools/configjar/setenv.sh

DON'T miss the dot(.) in above command

c) ${MW_HOME}/osb/tools/configjar/wlst.sh  ${DIR_EXECUTION}/proxytask.py

use wlst.sh from this location   ${MW_HOME}/osb/tools/configjar



Thanks a lot for your patience!!!

Regards
-Ashish