Exception while performing Target Reconciliation

My target is a CSV file which contains fields for empid (mapped as key field),firstname,lastname,emailid and status (mapped to OIM_OBJECT_STATUS)
I can see the reconciliation data in Reconciliation event window in Design console but I am getting the following exception with Reconciiation Event status set to "Event Received":
Data AccessException:com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select rpc.rpc_key, rpc.rcm_key, rcm.rcm_delete  from rcm rcm, rpc rpc where rpc.rcm_key=rcm.rcm_key and rcm.rcm_delete='1'  and rpc.rpc_parent_rpc_key is null and rcm.RCM_PARENT_RCM_KEY is null and rpc.rce_key= 166 and rpc.orc_key=710Description: O
RA-00904: "RCM"."RCM_DELETE": invalid identifier
SQL State: 42000Vendor Code: 904Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
Please help me resolve this issue.

Click on Reapply matching rules , what is the error it throws when you click on re apply matching rules in Recon Manager
Thanks
Suren

Similar Messages

  • How to Handle the exception while perform multiple insert in a procedure?

    CREATE OR REPLACE PROCEDURE MUL_INS_EXCE AS
    CURSOR C IS SELECT EMP_NO,EMP_NAME,EMP_AGE FROM EMP;
    EMP_RECORD EMP %ROWTYPE;
    BEGIN
    OPEN C;
    LOOP
    FETCH C INTO EMP_RECORD;
    EXIT WHEN C%NOTFOUND;
    INSERT INTO (SELECT NO,NAME,AGE FROM E1 WHERE AGE >=23 WITH CHECK OPTION VALUE(EMP_RECORD.EMP_NO,EMP_RECORD.EMP_NAME,EMP_RECORD.EMP_AGE);
    END LOOP;
    CLOSE C;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    I try to insert the record from emp into e1 table with some condition using the procedure. If run this procedure it insert record with check the age > =23. The conditions is not satisfied, exception is thrown procedure will terminate. Again i run this procedure, it will insert the from first. but i want, insert rest of the records. pls help me.

    >
    CHange your insert code like below....it should work
    If emp_record.age > 23 Then
    Insert into table name (fileld......) values(values)...............
    End If;;
    >
    CREATE OR REPLACE PROCEDURE MUL_INS_EXCE AS
    CURSOR C IS SELECT EMP_NO,EMP_NAME,EMP_AGE FROM EMP;
    EMP_RECORD EMP %ROWTYPE;
    BEGIN
    OPEN C;
    LOOP
    FETCH C INTO EMP_RECORD;
    EXIT WHEN C%NOTFOUND;
    INSERT INTO (SELECT NO,NAME,AGE FROM E1 WHERE AGE >=23 WITH CHECK OPTION VALUE(EMP_RECORD.EMP_NO,EMP_RECORD.EMP_NAME,EMP_RECORD.EMP_AGE);
    END LOOP;
    CLOSE C;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    I try to insert the record from emp into e1 table with some condition using the procedure. If run this procedure it insert record with check the age > =23. The conditions is not satisfied, exception is thrown procedure will terminate. Again i run this procedure, it will insert the from first. but i want, insert rest of the records. pls help me.

  • Exception while reconciliation with child table attributes

    I developed scheduler task that take information about users and create reconciliation event with multi valued field "Roles" that consist of "Role" field and "App" fields. Primary reconciliation work fine and resource added to user, but when i update user in target system and run my scheduler task - exception occured:
    oracle.iam.reconciliation.exception.ModifyAccountException: java.lang.Exception: Error occurred in XL_SP_RECONCHILDMATCH While processing Event No 3523 One or more input parameter passed as null at oracle.iam.reconciliation.impl.AccountHandler.modify(AccountHandler.java:361) at oracle.iam.reconciliation.impl.AccountHandler.applyRule(AccountHandler.java:243) at oracle.iam.reconciliation.impl.AccountHandler.process(AccountHandler.java:205) at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:197) at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982) at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source) at sun.reflect.GeneratedMethodAccessor707.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at
    Here is code from scheduler task:
    try{ if(!reconOperations.ignoreEvent(objectName, attrs))
    long eventId = reconOperations.createReconciliationEvent(objectName, attrs, eventAttributes);
    List<HashMapWrapper> childList = port.getRolesForUser((String)attrs.get("Identity"),resourceProperties.get(LOGIN_RESOURCE_PROPERTY),
    resourceProperties.get(PASSWORD_RESOURCE_PROPERTY));
    if(childList!=null && !childList.isEmpty())
    for(int k=0;k<childList.size();k++)
    HashMap<String,String> child = new HashMap<String, String>();
    HashMapWrapper childWrapper = childList.get(k);
    HashMapWrapper.Map childMap = childWrapper.getMap();
    List<HashMapWrapper.Map.Entry> childEntry = childMap.getEntry();
    for(int f=0;f<childEntry.size();f++)
    HashMapWrapper.Map.Entry childParam = childEntry.get(f);
    child.put(childParam.getKey(),childParam.getValue());
    reconOperations.addMultiAttributeData(eventId,"Roles",child);
    reconOperations.providingAllMultiAttributeData(eventId,"Roles",true);
    reconOperations.finishReconciliationEvent(eventId);
    reconOperations.processReconciliationEvent(eventId);
    LOG.fine("created : " + eventId);
    Help to solve this issue!

    First make one of the child form fields as Key Field!!!
    List<HashMapWrapper> childList = port.getRolesForUser((String) attrs.get("Identity"), resourceProperties.get(LOGIN_RESOURCE_PROPERTY),
    resourceProperties.get(PASSWORD_RESOURCE_PROPERTY));
    HashMap[] childs = null;
    if (childList != null && !childList.isEmpty()) {
    childs = new HashMap[childList.size()];
    for (int k = 0; k < childList.size(); k++) {
    HashMap<String, String> child = new HashMap<String, String>();
    HashMapWrapper childWrapper = childList.get(k);
    HashMapWrapper.Map childMap = childWrapper.getMap();
    List<HashMapWrapper.Map.Entry> childEntry = childMap.getEntry();
    for (int f = 0; f < childEntry.size(); f++) {
    HashMapWrapper.Map.Entry childParam = childEntry.get(f);
    child.put(childParam.getKey(), childParam.getValue());
    childs[k] = child;
    if (!reconOperations.ignoreEventAttributeData(objectName, attrs, "Roles", childs)) {
    long eventId = reconOperations.createReconciliationEvent(objectName, attrs, eventAttributes);
    if (childs != null && childs.length != 0) {
    for (int f = 0; f < childs.length; f++) {
    reconOperations.providingAllMultiAttributeData(eventId, "Roles", true);
    reconOperations.addDirectMultiAttributeData(eventId, "Roles", childs[f]);
    reconOperations.finishReconciliationEvent(eventId);
    LOG.debug("created: " + eventId);
    } else {
    LOG.debug("ignored: " + attrs.get("LoginName"));
    }

  • Invocation Target Exception while Migrating application to weblogic 10.3

    Hi All,
    We are currently migrating our application from weblogic 8.1 to weblogic 10.3.
    The deployment in wls 10.3 is successful, but while performing some operations(User Registration.. etc)
    we are getting SQLIntegrityConstraintViolationException.
    =================================================================================================
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.services.ConnPoolService - Param 0: java.util.Hashtable
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.services.ConnPoolService - Param 1: java.lang.String
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.services.ConnPoolService - Param 2: weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.dbsource.AuthorisationDBSource - [addRolesToDB] rows: 0, sql: delete from tana_role where userid = 'odcwls104'
    2010-10-27 17:03:51,030 ERROR com.sns.ana.services.ConnPoolService - [getRestrictedService] InvocationTargetException:
    java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (ESIUSER.FK_TANAROLE_UID) violated - parent key not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at com.sns.ana.dbsource.AuthorisationDBSource.addRolesToDB(AuthorisationDBSource.java:684)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sns.ana.services.ConnPoolService.getRestrictedDataService(ConnPoolService.java:39)
         at com.sns.ana.services.DataServiceProvider.getRestrictedDataService(DataServiceProvider.java:45)
         at com.sns.ana.user.SNSUser.updateRoles(SNSUser.java:303)
         at com.sns.ana.utils.RoleUtility.processNewRequest(RoleUtility.java:114)
         at com.sns.ana.ui.servlet.ManageUserServlet.doPost(ManageUserServlet.java:395)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
         at com.sns.ana.ui.servlet.ANAADMMainServlet.doPost(ANAADMMainServlet.java:741)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    =================================================================================================
    Upon weblogic server shut down below NameNotFoundException is thrown.
    =================================================================================================
    BaseException: ClassName=null,MethodName=null,MajorCode=-1,MajorMsg=Message Not Available,MinorCode=null,ExceptionObjMsg=[DBConnection][getConnec
    tion]Unable to init database connection due to unresolved DataSource Name com.fortressit.ejb.PortableContextException: javax.naming.NameNotFoundE
    xception: While trying to look up comp/env/jdbc/ap2esiDSLocal in /app/webapp/webadminesi/26700672. [Root exception is java.rmi.ConnectIOException
    : Server is being shut down]; remaining name 'comp/env/jdbc/ap2esiDSLocal'
    While trying to look up comp/env/jdbc/ap2esiDSLocal in /app/webapp/webadminesi/26700672.
    at com.sns.base.util.DBConnection.getConnection(Unknown Source)
    at com.sns.ana.services.ConnPoolService.getParamsWithDBConnection(ConnPoolService.java:93)
    at com.sns.ana.services.ConnPoolService.getRestrictedDataService(ConnPoolService.java:35)
    at com.sns.ana.services.DataServiceProvider.getRestrictedDataService(DataServiceProvider.java:45)
    at com.sns.ana.ui.servlet.listener.CleanupAppSessionListener.sessionDestroyed(CleanupAppSessionListener.java:43)
    at weblogic.servlet.internal.EventsManager.notifySessionLifetimeEvent(EventsManager.java:265)
    at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:873)
    at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:69)
    at weblogic.servlet.internal.session.MemorySessionContext$SessionCleanupAction.run(MemorySessionContext.java:114)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.session.MemorySessionContext.destroy(MemorySessionContext.java:90)
    at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3062)
    at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:240)
    at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:457)
    at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1398)
    at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:492)
    at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:188)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
    at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:71)
    at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
    at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:417)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:91)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:83)
    at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:641)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
    at weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:234)
    at weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:199)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
    at weblogic.deploy.internal.targetserver.BasicDeployment.deactivate(BasicDeployment.java:263)
    at weblogic.deploy.internal.targetserver.BasicDeployment.deactivateFromServerLifecycle(BasicDeployment.java:458)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doDeactivate(DeploymentAdapter.java:73)
    at weblogic.management.deploy.internal.DeploymentAdapter.deactivate(DeploymentAdapter.java:211)
    at weblogic.management.deploy.internal.AppTransition$6.transitionApp(AppTransition.java:66)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deactivate(ConfiguredDeployments.java:198)
    at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:191)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:188)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:120)
    at weblogic.application.ApplicationShutdownService.halt(ApplicationShutdownService.java:142)
    at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:502)
    at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:334)
    at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:948)
    at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:854)
    at weblogic.t3.srvr.T3Srvr$2.run(T3Srvr.java:867)
    ##### proxy instance has been created !!!
    =================================================================================================
    From the above exceptions i can infer that, the database connection failed due to unresolved datasource name.
    However we have configured all the Datasources, application seems to be having problem in wls 10.3.
    Waiting in anticipation for replies.
    Regards
    Avinash

    Hi Avinash,
    It seems that the application is not able to get the DataSource JNDI name which you have given that the reason you are getting the NameNotFoundException exception.
    Try to give the same JNDI name in the datasource which your application is trying to lookup, once you have created the datasource make sure you test the connection using Test Connection option by which you can be sure that if the test connection can get a connection from the DB everything is fine also check the JNDI tree if you can see the datasource JNDI name in there.
    Hope this helps you.
    Regards,
    Ravish Mody

  • Unexpected exception while copying binary to target

    1st time i run linux app under SDK, it copy the .elf fine to the board, but when i try run the 2nd time it give me "
    Unexpected exception while copying binary to target"
    doesn't matter i reset/cycyle the power for the board.

    Have you verified the timeout workaround , if not try the details in the AR http://www.xilinx.com/support/answers/53086.html
    Also check the post by @doug.rhodes
    http://forums.xilinx.com/t5/Embedded-Development-Tools/SDK-for-Zync702-board-giving-download-errors-and-no-ps7-init/td-p/329031
    Hope this helps.
    Regards,
    Achutha

  • Exception occured while performing payment instruction creation

    Hi gurus
    While creating a payment in payables workbench, we are getting a exception stating that "Exception occured while performing payment instruction creation"
    We ae not able to make any payment due to this exception..
    so can anyone help me in this regard..or any workaround so that we can make payments..
    Regards
    Gaurav

    Hi Guru,
    Iam not sure the version which you are using.
    But if it is Release 12 ,this seems to known issue in R12,Can you please check OracleMetaLink for the most current version of Known Issues document (Note 406012.1) for more information.
    I hope this piece of information will help you.
    Thanks
    Praveen Kannayyagari
    Edited by: user12000607 on Jan 13, 2010 8:40 PM

  • WLST Exception while Creating JMS Resources

    Hi,
    I am using Weblogic version 10 MP!, Below is the WLST online script, You willl see a lot of variables in the script, the value which i am calling from another file, This is beacuse everytime instead of modifying the script i will modify the template. There is a lot of p.MS1, p.MS2, the information is called from a different file.
    Please provide some kind of suggestion to fix this issue.
    Thanks in Advance..
    ********************************************************************************************SCRIPT********************************************************************************
    from weblogic.descriptor import BeanAlreadyExistsException
    from java.lang.reflect import UndeclaredThrowableException
    from java.lang import System
    import javax
    from java.util import *
    from javax.management import *
    import javax.management.Attribute
    from javax import management
    from javax.management import MBeanException
    from javax.management import RuntimeMBeanException
    import javax.management.MBeanException
    from java.lang import UnsupportedOperationException
    import Domain_info as p
    import Cluster_info as q
    domName = p.Domain_Name
    adminServerName = p.Admin_Name
    adminServerListenPort = p.AdminPort
    adminServerListenAddress = p.AdminListen
    userName = p.username
    passWord = p.password
    domainDir = p.domainDir
    URL = "t3://143.192.44.41:7301"
    ManagedServer1 = q.MS1
    ManagedServer2 = q.MS2
    ManagedServer3 = q.MS3
    ManagedServer4 = q.MS4
    JMSServer1 = q.JMS1
    JMSServer2 = q.JMS2
    JMSServer3 = q.JMS3
    JMSServer4 = q.JMS4
    Queue1 = q.Q1
    Queue2 = q.Q2
    Queue3 = q.Q3
    Queue4 = q.Q4
    Queue5 = q.Q5
    JMS_resource = q.JMS_resource
    connect(userName, passWord, URL)
    clustHM = HashMap()
    edit()
    startEdit()
    cd('/')
    print JMS_resource
    print JmsSystemResource
    #create(JMS_resource,'JMSSystemResource')
    cd('JMSSystemResource/'+JMS_resource+'JmsResource/')
    #cd('/')
    #create(Queue1,'Queue')
    #setJNDIName('jms/'+Queue1)
    #setSubDeploymentName(JMSServer1,JMSServer2)
    #cd('/')
    #cd('JMSSystemResource/'+JMS_resource)
    #create(JMSServer1,JMSServer2, 'SubDeployment')
    save()
    activate(block="true")
    disconnect()
    print 'End of script ...'
    exit()
    ****************************************************END OF SCRIPT ***********************************************************************************************************
    Exception:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    This Exception occurred at Sat Oct 18 18:13:50 GMT 2008.
    javax.management.AttributeNotFoundException: com.bea:Name=Sample_1,Type=Domain:JMSSystemResource
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:221)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at javax.management.remote.rmi.RMIConnectionImpl_1001_WLStub.getAttribute(Unknown Source)
    at weblogic.management.remote.common.RMIConnectionWrapper$11.run(ClientProviderBase.java:531)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:61)
    at weblogic.management.remote.common.RMIConnectionWrapper.getAttribute(ClientProviderBase.java:529)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:857)
    at weblogic.management.scripting.BrowseHandler.regularPush(BrowseHandler.java:420)
    at weblogic.management.scripting.BrowseHandler.splitPush(BrowseHandler.java:145)
    at weblogic.management.scripting.BrowseHandler.cd(BrowseHandler.java:640)
    at weblogic.management.scripting.WLScriptContext.cd(WLScriptContext.java:195)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    at org.python.core.PyObject.__call__(PyObject.java:270)
    at org.python.core.PyObject.invoke(PyObject.java:2041)
    at org.python.pycode._pyx19.cd$5(<iostream>:161)
    at org.python.pycode._pyx19.call_function(<iostream>)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyTableCode.call(PyTableCode.java:267)
    at org.python.core.PyFunction.__call__(PyFunction.java:172)
    at org.python.pycode._pyx18.f$0(/opt/SCRIPTS/Domain_Creation/Create_JMS.py:52)
    at org.python.pycode._pyx18.call_function(/opt/SCRIPTS/Domain_Creation/Create_JMS.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
    at weblogic.management.scripting.WLST.main(WLST.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: javax.management.AttributeNotFoundException: com.bea:Name=Sample_1,Type=Domain:JMSSystemResource
    at weblogic.management.jmx.modelmbean.WLSModelMBean.getPropertyDescriptorForAttribute(WLSModelMBean.java:1419)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.getPropertyDescriptor(SecurityInterceptor.java:842)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.checkGetSecurity(SecurityInterceptor.java:580)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:297)
    at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$5.run(AuthenticatedSubjectInterceptor.java:192)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.getAttribute(AuthenticatedSubjectInterceptor.java:190)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:269)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1385)
    at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
    at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:597)
    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Problem invoking WLST - Traceback (innermost last):
    File "/opt/SCRIPTS/Domain_Creation/Create_JMS.py", line 52, in ?
    File "<iostream>", line 170, in cd
    WLSTException: 'Error cding to the MBean'

    Hi David,
    Thanks for replying...
    Here i am trying to create connection Factory
    i made some small changes to script and run ls() command...
    ****************************************************SCRIPT******************************************************************************
    from weblogic.descriptor import BeanAlreadyExistsException
    from java.lang.reflect import UndeclaredThrowableException
    from java.lang import System
    import javax
    from java.util import *
    from javax.management import *
    import javax.management.Attribute
    from javax import management
    from javax.management import MBeanException
    from javax.management import RuntimeMBeanException
    import javax.management.MBeanException
    from java.lang import UnsupportedOperationException
    import Domain_info as p
    import Cluster_info as q
    import sys
    from java.lang import System
    domName = p.Domain_Name
    adminServerName = p.Admin_Name
    adminServerListenPort = p.AdminPort
    adminServerListenAddress = p.AdminListen
    userName = p.username
    passWord = p.password
    domainDir = p.domainDir
    URL = "t3://143.192.44.41:7301"
    ManagedServer1 = q.MS1
    ManagedServer2 = q.MS2
    ManagedServer3 = q.MS3
    ManagedServer4 = q.MS4
    JMSServer1 = q.JMS1
    JMSServer2 = q.JMS2
    JMSServer3 = q.JMS3
    JMSServer4 = q.JMS4
    Queue1 = q.Q1
    Queue2 = q.Q2
    Queue3 = q.Q3
    Queue4 = q.Q4
    Queue5 = q.Q5
    JMS_resource = q.JMS_resource
    Connection_Factory1 = q.CF1
    connect(userName, passWord, URL)
    clustHM = HashMap()
    edit()
    startEdit()
    # Creating a JMS Connection
    ls()
    create(Connection_Factory1,"JMSConnectionFactory")
    ls()
    cd("JMSConnectionFactory/"+Connection_Factory1)
    print("Created the JMS Connection Factory ...."+Connection_Factory1)
    cmo.setJNDIName(jms/Connection_Factory1)
    #cd('/')
    #create(Queue1,'Queue')
    #setJNDIName('jms/'+Queue1)
    #setSubDeploymentName(JMSServer1,JMSServer2)
    #cd('/')
    #cd('JMSSystemResource/'+JMS_resource)
    #create(JMSServer1,JMSServer2, 'SubDeployment')
    save()
    activate(block="true")
    disconnect()
    print 'End of script ...'
    exit()
    ****************************************************************END********************************************************************************
    ls() OUTPUT
    dr-- AppDeployments
    dr-- BridgeDestinations
    dr-- Clusters
    dr-- CustomResources
    dr-- DeploymentConfiguration
    dr-- Deployments
    dr-- EmbeddedLDAP
    dr-- ErrorHandlings
    dr-- FileStores
    dr-- InternalAppDeployments
    dr-- InternalLibraries
    dr-- JDBCDataSourceFactories
    dr-- JDBCStores
    dr-- JDBCSystemResources
    dr-- JMSBridgeDestinations
    dr-- JMSInteropModules
    dr-- JMSServers
    dr-- JMSSystemResources
    dr-- JMX
    dr-- JTA
    dr-- JoltConnectionPools
    dr-- Libraries
    dr-- Log
    dr-- LogFilters
    dr-- Machines
    dr-- MailSessions
    dr-- MessagingBridges
    dr-- MigratableTargets
    dr-- RemoteSAFContexts
    dr-- SAFAgents
    dr-- SNMPAgent
    dr-- SNMPAgentDeployments
    dr-- Security
    dr-- SecurityConfiguration
    dr-- SelfTuning
    dr-- Servers
    dr-- ShutdownClasses
    dr-- SingletonServices
    dr-- StartupClasses
    dr-- SystemResources
    dr-- Targets
    dr-- VirtualHosts
    dr-- WLDFSystemResources
    dr-- WLECConnectionPools
    dr-- WSReliableDeliveryPolicies
    dr-- WTCServers
    dr-- WebAppContainer
    dr-- WebserviceSecurities
    dr-- XMLEntityCaches
    dr-- XMLRegistries
    -rw- AdminServerName Sample_AdminServer
    -rw- AdministrationMBeanAuditingEnabled false
    -rw- AdministrationPort 9002
    -rw- AdministrationPortEnabled false
    -rw- AdministrationProtocol t3s
    -rw- ArchiveConfigurationCount 0
    -rw- ClusterConstraintsEnabled false
    -rw- ConfigBackupEnabled false
    -rw- ConfigurationAuditType none
    -rw- ConfigurationVersion 10.0.1.0
    -rw- ConsoleContextPath console
    -rw- ConsoleEnabled true
    -rw- ConsoleExtensionDirectory console-ext
    -rw- DomainVersion 10.0.1.0
    -r-- LastModificationTime 0
    -rw- Name Sample_1
    -rw- Notes null
    -rw- Parent null
    -rw- ProductionModeEnabled false
    -r-- RootDirectory /opt/Dev/Sample_1
    -r-- Type Domain
    -r-x freezeCurrentValue Void : String(attributeName)
    -r-x isSet Boolean : String(propertyName)
    -r-x restoreDefaultValue Void : String(attributeName)
    -r-x unSet Void : String(propertyName)
    No stack trace available.
    Problem invoking WLST - Traceback (innermost last):
    File "/opt/SCRIPTS/Domain_Creation/Create_JMS.py", line 60, in ?
    File "<iostream>", line 511, in create
    WLSTException: 'Error occured while performing create : Cannot create MBean of type JMSConnectionFactory. You can only create MBeans children to the current cmo. \nTo view the children types that you can create, use listChildTypes().'

  • Error while updating Targets-Server : java.lang.reflect.InvocationTargetException

    Hi,
    I got this error below when i try to deploy my ejb.It's happen when i select the
    targets-server in weblogic console. Can anyone help me please?
    Thank you in advance.
    Sukanya
    java.lang.reflect.InvocationTargetException: javax.management.RuntimeOperationsException:
    RuntimeException thrown by the invoke method of the Dynamic MBean
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy10.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy76.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Targets-Server on Proxy for mydomain:Application=Wallet,Name=wallet-ejb,Type=EJBComponent
    - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
    method of the Dynamic MBean]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi Sukanya,
    Could you please tell me how u solved this error?
    I am also getting the same error!!!
    Sherry.

  • Java.rmi.RemoteException: EJB Exception: while calling an EJB method,

    Hi
    I am getting below error while calling a stateless EJB method. There is some validation checks while performing ejb's modify() method and a RuntimeException is thrown in case of validation failure.The modify() method internally calls other stateless ejb as well.
    The problem I'm facing is, instead of getting the expected RuntimeException in the Servlet, i am getting RemoteException. I am using WLS 9 MP1, all participating ejbs are stateless and i am using default transaction attributes(Supports) for these ejbs.
    The interesting part is, at the ejb layer RuntimeException is thrown as expected, but this exception changed to RemoteException at the servlet's end where i am catching the ejb call exceptions.
    I am new to WLS, please suggest/help me out of this exception.
    Any help is truly appreciated.
    java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.RuntimeException:
         at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
         at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:713)
         at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:681)
         at weblogic.ejb.container.internal.BaseEJBObject.postInvoke1(BaseEJBObject.java:447)
         at weblogic.ejb.container.internal.StatelessEJBObject.postInvoke1(StatelessEJBObject.java:72)
         at weblogic.ejb.container.internal.BaseEJBObject.postInvokeTxRetry(BaseEJBObject.java:374)
         at com.mycomp.base.BaseController_8x2e52_EOImpl.modify(BaseController_8x2e52_EOImpl.java:149)
         at com.mycomp.webgui.servlet.FrontComponent.service(FrontComponent.java:207)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Thanks!
    Edited by: user10721298 on Feb 23, 2009 4:16 AM

    Hi,
    If i don't misunderstand, you are using the RuntimeException as an application exception, right?
    Have you annotated it or denoted it in deployment descriptor?
    Thanks,
    Amy

  • JDBC Exception while calling a web-service

    Hi all,
    We are getting the following JDBC Driver Timeout Exception while calling an external web-service..
    An exception occurred while executing a transaction. Details: An error occurred while accesing the database. Detail:SQL statement: ' SELECT INSTANCEDATA, PROCESSID, INSTID, THREADID, NAME, PARENTTHREAD, PRIORITY, CREATIONTIME, AUTHOR, PARTICIPANT, NEXTPARTICIPANT, PROCESSDEADLINE, ACTIVITYDEADLINE, RECEIVETIME, ACTIVITYNAME, NTHREADS, CTHREADS, FCTHREAD, TOTALTHREADS, STATE, SOURCEACTIVITYNAME, ROLEIN, PENDINGITEMID, LASTRESULT, ITEMDEADLINE, NCHANGES , NREMARKS, NATTACHMENTS, HASPARTFORROLE,MICROACTIVITYNAME FROM PPROCINSTANCE WHERE PROCESSID = 11AND INSTID = 10 AND THREADID = 0 FOR UPDATE' Caused by: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock fuego.transaction.DatabaseException:
    How do we resolve this exception?
    We have increased the JTA timeout to 120 seconds.. in the engine..
    Our process is deployed on Weblogic Server

    Looks like specific record for the Instance id 10 is locked in the Engine table. I am not quite sure, what kind of Business scenraio you executed to end up in this issue.
    But you can try restarting the BPM engine or check with the Oracle DBA to see any lock on the rows in Engine database and perform required unlocking operations.
    -Lovin.V

  • Getting An Exception while deploying .ear file

    Hi,
    I'm getting the following exception while manual deploying the ear file. Can you please reply the cause.
    java.lang.Exception: Delta :12 ErrorMessage :null
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:524)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    No Exception Messages
    Regards
    Suneel

    java.lang.Exception: Delta :55 ErrorMessage :[Deployer:149233]An unexpected error was encountered during the deployment process.
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:524)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at java.lang.Thread.startThreadFromVM(Unknown Source)
    No Exception Messages
    Description: [Deployer:149026]Deploy application appname....... on cluster1.
    A description of this task.
    Status: Deploy Failed
    The status of this task.
    Begin Time: Fri Feb 17 10:24:56 EST 2006
    The time this task was started.
    End Time: Fri Feb 17 10:24:59 EST 2006
    The time this task was completed.
    Exception: Delta :55 ErrorMessage :[Deployer:149233]An unexpected error was encountered during the deployment process.
    The exception that occurred while performing this task.
    Log:
    A log of the task's activities.
    [Deployer:149033]preparing application Appname on server1
    [Deployer:149033]preparing application APPName on server2
    [Deployer:149033]failed application Appname on server1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application AppName on cluster1.: Delta :55 ErrorMessage :[Deployer:149233]An unexpected error was encountered during the deployment process..

  • Error while performing Risk Analysis at user level for a cross system user

    Dear All,
    I am getting the below error, while performing the risk analysis at user level for a cross system (Oracle) user.
    The error is as follows:
    "ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection for 120 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "SAPJ2EDB" is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.RC:1
    Can anyone please help.
    Regards,
    Gurugobinda

    Hi..
    Check the note # SAP Note 1121978
    SAP Note 1121978 - Recommended settings to improve peformance risk analysis.
    Check for the following...
    CONFIGTOOL>SERVER>MANAGERS>THREADMANAGER
    ChangeThreadCountStep =50
    InitialThreadCount= 100
    MaxThreadCount =200
    MinThreadCount =50
    Regards
    Gangadhar

  • Getting exception while running es.getService("", "InfoStore" )

    Not sure if this is the correct forum to place this question.
    We are connecting to a BOE XI Rel 3.1 server that has Crystal Reports templates.  We are trying to get the report number by performing the folowing query:
    "Select SI_ID, SI_DESCRIPTION From CI_INFOOBJECTS Where SI_NAME ='"report_name"'"
    We are getting an erro message while performing the following code:
    iStore = (IInfoStore) es.getService("", "InfoStore" );
    We get the exception below about 10 to 15 times but then it is able to work and it gets the report id correctly.
    We get the following exception:
    2009-03-30 08:59:34,222 OFA_ERROR com.crystaldecisions.celib.trace.d.a(Unknown Source)[initialize(): invalid xrl,3&U=5,03&.1={3&1=NoAccess,0P&2=1,03&9i={},2z},2z&.2={3&1=View,0P&2=2,03&9i={3&U=14,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z&.2={3&1=62022,03&2=4,03},2z&.3={3&1=62025,03&2=7,03},2z&.4={3&1=62026,03&2=8,03},2z&.5={3&1=62027,03&2=9,03},2z&.6={3&1=62031,03&2=13,03},2z&.7={3&1=62032,03&2=14,03},2z&.8={3&1=62033,03&2=15,03},2z&.9={3&1=62034,03&2=16,03},2z&.?={3&1=62036,03&2=18,03},2z&.@={3&1=62041,03&2=23,03},2z&.A={3&1=62042,03&2=24,03},2z&.B={3&1=62043,03&2=25,03},2z&.C={3&1=62062,03&2=44,03},2z},2z},2z&.3={3&1=Schedule,0P&2=3,03&9i={3&U=1,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z},2z},2z&.4={3&1=ViewOnDemand,0P&2=4,03&9i={3&U=1,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z},2z},2z&.5={3&1=FullControl,0P&2=5,03&9i={3&U=48,03&.1={3&1=62018,03&2=3,03&?7=1,08},2z&.2={3&1=60431,03&2=6,03&?7=1,08},2z&.3={3&1=60432,03&2=8,03&?7=1,08},2z&.4={3&1=60437,03&2=73,03&?7=1,08},2z&.5={3&1=62019,03&2=1,03},2z&.6={3&1=62020,03&2=2,03},2z&.7={3&1=62021,03&2=3,03},2z&.8={3&1=62022,03&2=4,03},2z&.9={3&1=62023,03&2=5,03},2z&.?={3&1=62024,03&2=6,03},2z&.@={3&1=62025,03&2=7,03},2z&.A={3&1=62026,03&2=8,03},2z&.B={3&1=62027,03&2=9,03},2z&.C={3&1=62028,03&2=10,03},2z&.D={3&1=62029,03&2=11,03},2z&.E={3&1=62030,03&2=12,03},2z&.F={3&1=62031,03&2=13,03},2z&.G={3&1=62032,03&2=14,03},2z&.H={3&1=62033,03&2=15,03},2z&.I={3&1=62034,03&2=16,03},2z&.J={3&1=62035,03&2=17,03},2z&.K={3&1=62036,03&2=18,03},2z&.L={3&1=62037,03&2=19,03},2z&.M={3&1=62038,03&2=20,03},2z&.N={3&1=62039,03&2=21,03},2z&.O={3&1=62040,03&2=22,03},2z&.P={3&1=62041,03&2=23,03},2z&.Q={3&1=62042,03&2=24,03},2z&.R={3&1=62043,03&2=25,03},2z&.S={3&1=62044,03&2=26,03},2z&.T={3&1=62045,03&2=27,03},2z&.U={3&1=62046,03&2=28,03},2z&.V={3&1=62047,03&2=29,03},2z&.W={3&1=62048,03&2=30,03},2z&.X={3&1=62049,03&2=31,03},2z&.Y={3&1=62050,03&2=32,03},2z&.Z={3&1=62051,03&2=33,03},2z&.a={3&1=62052,03&2=34,03},2z&.b={3&1=62053,03&2=35,03},2z&.c={3&1=62054,03&2=36,03},2z&.d={3&1=62055,03&2=37,03},2z&.e={3&1=62056,03&2=38,03},2z&.f={3&1=62057,03&2=39,03},2z&.g={3&1=62058,03&2=40,03},2z&.h={3&1=62059,03&2=41,03},2z&.i={3&1=62060,03&2=42,03},2z&.j={3&1=62061,03&2=43,03},2z&.k={3&1=62062,03&2=44,03},2z},2z},2z]
    com.crystaldecisions.celib.exception.c: ASSERTION FAILED
          at com.crystaldecisions.celib.trace.d.a(Unknown Source)
          at com.crystaldecisions.enterprise.ocaframework.k.a(Unknown Source)
          at com.crystaldecisions.celib.properties.Property.a(Unknown Source)
          at com.crystaldecisions.celib.properties.Property.getPropertyBag(Unknown Source)
          at com.crystaldecisions.celib.properties.PropertyBag.getPropertyBag(Unknown Source)
          at com.crystaldecisions.sdk.occa.pluginmgr.internal.a.getSecurityInfo(Unknown Source)
          at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.a(Unknown Source)
          at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.<init>(Unknown Source)
          at com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreFactory.makeOCCA(Unknown Source)
          at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source)
          at us.tx.state.dads.ofa.web.core.BaseAction.getToken(BaseAction.java:294)
    If you have experianced this problem or know of a workaround it would be greatly appreciated.
    Thanks,

    I've seen similar stack trace before, but the issue is usually consistent.
    You're getting exception when it's reading the Security Info property bag.
    Does this happen with all Users, even the Administrator account?
    Sincerely,
    Ted Ueda
    ps.  this should be posted on the Java, and not .Net, side.
    Moved to Java...
    Edited by: Don Williams on Apr 17, 2009 11:24 AM

  • Exception while sync event

    I'm trying to write a simple program that performs a generic sync and I keep getting the following error.
    The backend method I'm trying to call requires no parameters and returns and outbound container with a few DESCRIPTION registers.
    Exception while sync event processing: null (java.lang.RuntimeException)
    The code that fires up the sync is:
    ClassLoader cl = getClass().getClassLoader();
    OpportunitySourceDAL ip = new OpportunitySourceDAL(); InboundProcessorRegistry.getInstance().register(ip);
    OutboundContainerFactory outfactory = OutboundContainerFactory.getInstance();
    outfactory = OutboundContainerFactory.getInstance();
    OutboundContainer out = outfactory.createOutboundContainer(VisibilityType.SEPARATED, "ZLISTA_SOURCES_ALIAS" , OutboundContainer.TYPE_REQUEST);
    out.close();
    SyncManager.getInstance().synchronizeWithBackend(VisibilityType.SEPARATED);
    And the class OpportunitySourceDAL has a process method like this
    public void process(InboundContainer inbound) {
    try {
      OpportunitySource op = OpportunitySource.getInstance();
      InboundContainerElement[] sources= inbound.getElementsWithFieldName("DESCRIPTION");
      for (int i = 0; i < sources.length; i++)
      op.add( sources.getFieldValue() );
    } catch (Exception e) {
    I've already created the wrapper for the backend function using ME_WIZARD and checked that it works with ABAP debugger.
    The backend function is in the same machine as was so I don't have to map an RFC destination.
    Am I missing some steps?
    Thanks in advance.

    Hi ,
      Please check the following
    1. The MI forms the outbound container and when you fire event synchronizeWithBackend these containers are serialized and sent to middleware and then to backend.
    Please check that OutboundContainer out is not null.
    2. Also see whether ht emapping b/w the backend table and the frontend tabkle is correct.
    3. In case you are not able to crack error. attach the complete trace file.
    regards
    anubhav

  • Exception while trying to deploy to portal

    Dear all,
    I have a serious deploy problem with the SAPNWCE71TrialSP1Preview_DevStudio in combination with SAP WAS...
    This is the error message
    Reason: Clusterwide exception: server ID 23000550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/Calendar cannot be started. Reason: it has hard reference to resource tc~wd~api with type application, which is not active on the server.
    I can not find the resource tcwdapi in my file system... do I need an additional external jar file! I added the com.sap.security.api.jar as external lib
    as info: before, I worked with the NWDS 7.0.9 and had no time a deploy problem!?
    I have already looked throw related problems, but nor workaround solved my problem...
    may be my application-j2ee-engine.xml file is not configured in the right way;
    I hope someone can fix my problem
    enclosed please find the entire error message:
    1.10.2007 08:32:07 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[1.5.3.7185 - 630]/-->
    <!--NAME[D:usrsapJ4SJC02SDMprogramlogsdmcl20071031073143.log]/-->
    <!--PATTERN[sdmcl20071031073143.log]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/-->
    <!--ENCODING[Cp1252]/-->
    <!--LOGHEADER[END]/-->
    Oct 31, 2007 8:31:44 AM  Info: -------------------------- Starting deployment ------------------------
    Oct 31, 2007 8:31:44 AM  Info: Error handling strategy: OnErrorStop
    Oct 31, 2007 8:31:44 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Oct 31, 2007 8:31:44 AM  Info: Update strategy: UpdateAllVersions
    Oct 31, 2007 8:31:44 AM  Info: Starting deployment prerequisites:
    Oct 31, 2007 8:31:46 AM  Info: Loading selected archives...
    Oct 31, 2007 8:31:46 AM  Info: Loading archive 'D:usrsapJ4SJC02SDMprogramtemptemp16414Calendar.ear'
    Oct 31, 2007 8:31:49 AM  Info: Selected archives successfully loaded.
    Oct 31, 2007 8:31:49 AM  Info: Actions per selected component:
    Oct 31, 2007 8:31:49 AM  Info: Update: Selected development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0' updates currently deployed development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.30.18.27.26'/'0'.
    Oct 31, 2007 8:31:50 AM  Info: Ending deployment prerequisites. All items are correct.
    Oct 31, 2007 8:31:50 AM  Info: Saved current Engine state.
    Oct 31, 2007 8:31:50 AM  Info: Starting: Update: Selected development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0' updates currently deployed development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.30.18.27.26'/'0'.
    Oct 31, 2007 8:31:50 AM  Info: SDA to be deployed: D:usrsapJ4SJC02SDMrootoriginlocalCalendarLOKAL00.2007.10.31.08.31.30temp16414Calendar.ear
    Oct 31, 2007 8:31:50 AM  Info: Software type of SDA: J2EE
    Oct 31, 2007 8:31:50 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 31, 2007 8:32:02 AM  Info: Begin of log messages of the target system:
    07/10/31 08:31:50 -  ***********************************************************
    07/10/31 08:31:54 -  Start updating EAR file...
    07/10/31 08:31:54 -  start-up mode is lazy
    07/10/31 08:31:54 -  EAR file updated successfully for 453ms.
    07/10/31 08:31:54 -  Start updating...
    07/10/31 08:31:55 -  EAR file uploaded to server for 500ms.
    07/10/31 08:32:01 -  Successfully updated. Update took 5813ms.
    07/10/31 08:32:01 -  Deploy Service status:
    07/10/31 08:32:01 -    Application : local/Calendar
    07/10/31 08:32:01 -   
    07/10/31 08:32:01 -    webdynpro/resources/local/Calendar  - WEB
    07/10/31 08:32:01 -  ***********************************************************
    Oct 31, 2007 8:32:02 AM  Info: End of log messages of the target system.
    Oct 31, 2007 8:32:02 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 31, 2007 8:32:02 AM  Warning: Finished with warnings: development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/Calendar and wait.
    Reason: Clusterwide exception: server ID 23000550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/Calendar cannot be started. Reason: it has hard reference to resource tc~wd~api with type application, which is not active on the server.
         at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:597)
         at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399)
         at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328)
         at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162)
         at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:136)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4761)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4666)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4639)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: sap.com/tc~wd~api', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: sap.com/tc~wd~api
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:527)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4415)
         at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:589)
         ... 21 more
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: SAPJ2EE::local/NEW', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: SAPJ2EE::local/NEW
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:886)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:511)
         ... 23 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [ExternalApplicationItem.prepare]: SAPJ2EE::local/NEW
         at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:188)
         at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:232)
         at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.start(SAPJ2EEApplicationItem.java:192)
         at com.sapportals.portal.prt.service.sapj2ee.Mediator.getAndStartExternalApplication(Mediator.java:132)
         at com.sap.portal.prt.sapj2ee.StartPortalApplication.coreRun(StartPortalApplication.java:59)
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:882)
         ... 24 more
    Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application tc~wd~api
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:415)
         at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:180)
         ... 29 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Oct 31, 2007 8:32:02 AM  Info: Starting to save the repository
    Oct 31, 2007 8:32:04 AM  Info: Finished saving the repository
    Oct 31, 2007 8:32:04 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Oct 31, 2007 8:32:04 AM  Warning: ------ At least one of the Deployments finished with warning(s) -------

    Hi,
    May be of use
    1. Open the visual admin at <installdrive>:\usr\sap\J2E\JC00\j2ee\admin\go.bat
    2. Login is Administrator + admin-password you defined during installation.
    3. Under the Server 0... node select Services->Deploy
    4. Select the "Application" radio button at the bottom.
    5. Check if there exists an application sap.com/tcwdtools
    And the following applications are running
    sap.com/tcwdcorecomp
    sap.com/tcwddispwda
    sap.com/tcwdtools.
    Last thing was their any errors in the installation.
    Regards
    Ayyapparaj

Maybe you are looking for

  • Why does airport express force me 2go wired with my laptop-to-netgear setup

    This is what I had and wanted to do: My laptop was connected wirelessly to my netgear router. i wanted to have airport express join my wireless network. after many many hours of trial and error, I've succeeded getting airport express to work with net

  • Customer and vendor bank details

    hello,   what goes in feilds bank key and bank account in customer and vendor bank details in the master data. is it required to have those. please let me know.

  • PC won't detect 6680 over bluetooth

    I had a PC with WinXP SP2 where i used to connect my 6680 with an MSI bluetooth dongle and it worked fine. Last week i got a laptop with Vista Home Premium. I've installed Nokia PC suite, and got my dongle working. I've turned the phone bluetooth con

  • Wildcards in URLs?

    Can you use wildcards in URLs in PHP?  For instance: <?php $MyUrl= 'http://mysite.com/'; ?> Are there wildcards or something I can throw at the end of that so all subdirectories and files are included in that? Thanks!

  • RFC of GTS(/SAPSLL/API_6800_SYNCH)

    Hi Experts,     If I transfer a SO from ECC to GTS, I can get the correct result, But when I call the RFC /SAPSLL/API_6800_SYNCH, It does not work. For example,I have set the material "HS20140617" need Export Licenses, when I transfer a SO from ECC t