Facing issues while executing LDAPBind command in Unix

Dear All,
We are trying to invoke a shell script from PeopleCode(which is having the ldapbind command) through exec command. We are able to invoke the shell script but the ldapbind command fails to execute. It throws the below error
+"/usr/bin/ldapbind: error while loading shared libraries: libclntsh.so.10.1: wrong ELF class: ELFCLASS32"+
Not sure whether this is an issue with the installation or configuration. Kindly help us to resolve this issue.
however when we executed this script in unix server directly, its running successfully.
When I have tried to invoke the shell script from PeopleCode using WinExec command, got the below error from PeopleSoft itself
+"Function '%1' cannot be run on the application server. (2,164)+
+A PeopleCode program that is running as part of a processing group on the application server is using a PeopleCode built-in function that is not allowed on the application server."+
Kindly help us to understand what is missing here.
Thanks,
Hari.A

Still no clue to fix this issue.
we are able to invoke the script from PeopleCode which has the LDAPBind command. We are writing the log files after invoking this script.
We are able to see those log files getting generated also. But it's not capturing the result of LDAPBind and looks like ldapbind command is skipped from execution.
Please help us to understand where we are missing?
Thanks,
Hari.A

Similar Messages

  • Facing Problem while executing a command through WLST

    Hi,
    Iam using Weblogic 11g(10.3.2).Whenever I execute the below command in WLST on windows it is working fine.
    reassociateSecurityStore(domain="base_domain",admin="cn=orcladmin",password="welcome1",ldapurl="ldap://<hostname>:389",servertype="OID",jpsroot="cn=jpsroot_idm_idmhost1")
    But whenever i execute the same in Linux,it is throwing the error as below:
    wls:/base_domain/serverConfig> reassociateSecurityStore(domain="base_domain",admin="cn=orcladmin",password="welcome1",ldapurl="ldap://<hoistname>:389",servertype="OID",jpsroot="cn=jpsroot_idm_idm1")
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: reassociateSecurityStore
    Please suggest....
    Regards
    Pavan

    Facing Problem while executing a command through WLST

  • Facing issue while deployment on 11.1.1.6 soa server

    Problem Summary
    Facing issue while deployment on 11.1.1.6 soa server
    Problem Description
    We are facing issue while deploying a bpm project over a newly built bps-soa server 11.1.1.6.
    While we are deploying a bpm project, first it is taking around 40mins to create .jar file and then while deploying, it is getting failed with transaction timed out error.
    "composite: Onboarding: javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 second".
    we have tried with changing all transaction parameters also like JTA,XA( as similar to our exiting running QA/PROD environment which is on 11.1.1.5) but even then facing the same issue.
    The code were originally build over 11.1.1.5 version, for the first time opening with jdev, code gets migrated and over the upgraded code we did some business specific changes and now trying to deploy over the new server.
    Code is getting successfully compiled and also .jar file is creating properly but while deployment facing error(As shared earlier).
    Also tried to deploy the same .jar file using em consle(to soa-infra) but facing similar issue.
    Error Codes
    Problem Category/Subcategory
    BPM 11g installation issues
    Uploaded Files
    Template Question Responses
    1) ### Product Versions Including Build Numbers ###
    BPM SOA suite 11.1.1.6
    2) ### Is the Issue Reproducible ###
    Yes, mentioned in issue detailes.
    3) ### OS Version ###
    SunOS xxxxx 5.10 Generic_144488-06 sun4v sparc SUNW,T5440
    More logs:
    Name
    === ODM Data Collection ===
    [2013-02-27T01:10:59.436-05:00] [soa_server1] [WARNING] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to obtain the audit metadta java.lang.IllegalStateException: The transaction associated with this transaction-scoped persistence context has been rolled back and as a result, the EntityManager has been closed. No further operations are allowed in this transaction context. Please see the server log for the cause of the rollback.
    [2013-02-27T01:11:17.402-05:00] [soa_server1] [WARNING] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to obtain the audit metadta java.lang.IllegalStateException: The transaction associated with this transaction-scoped persistence context has been rolled back and as a result, the EntityManager has been closed. No further operations are allowed in this transaction context. Please see the server log for the cause of the rollback.
    [2013-02-27T01:11:18.147-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] BPEL Component "default/Onboarding!2.0*soa_8130f118-f9b5-462a-8e75-5ec0f34b45bd/Remediation" successfully loaded.
    [2013-02-27T01:11:18.166-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to activate process Remediation[[
    javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:156)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:595)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)
    at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
    at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:842)
    at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:636)
    at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:151)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:243)
    Caused by: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    ... 2 more
    FileName
    soa_server1-diagnostic-2.log

    2 things must be noticed:
    First: ODI 11g is not supported by JDK 7, I always use the JDK1.6.0_27 and works fine. When you try to open the ODI Studio, this message appears, telling that ODI is supported only with JDK 6 versions, so don't try to use JDK 7.
    Second: I always install the JDK in a path without spaces, like "C:\JDK1.6.0_27\" and the excatly same thing to odi install files. So I call via Command Prompt:
    C:\ODI_INSTALL\Disk1\setup.exe -jreLoc C:\JDK1.6.0_27\
    I did over 20 windows installations using these settings, it'll work perfectly.
    Regards.
    Luiz Araujo

  • Issue with Executing OS commands from Stored Procedure

    I am trying to execute the scripts provided at :
    http://github.com/xtender/XT_SHELL
    provided by xtender user.
    As required, I have asked my DBAs to grant privileges by executing the following scripts:
    Begin
      --change to needed permissions and execute
      dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/factiva/ODS/bin/CVIM_Rpt_ExportCSVFile’, 'read,write,execute' );
    end;
    /where CVIM_Rpt_ExportCSVFile is my script residing in the Unix server where my Oracle is installed.
    The error I am facing when I try to execute the following command is:
    select * from table(xt_shell.shell_exec('/var/scripts/CVIM_Rpt_ExportCSVFile',100))
    Exception:the Permission (java.io.FilePermission /var/scripts/CVIM_Rpt_ExportCSVFile execute) has not been granted to ODS. The PL/SQL to grant this is dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )I have asked my DBA to also execute the following scripts: - But I still see the same error as above. I am not able to figure out whats going on. Can anyone pls help me out??
    EXEC Dbms_Java.Grant_Permission('ODS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC Dbms_Java.Grant_Permission(ODS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )

    DUPLICATE
    ===============================================================
    Issue with Executing OS commands from Stored Procedure
    ==============================================================

  • Issue while executing OS script from Oracle

    I am trying to execute the scripts provided at :
    http://github.com/xtender/XT_SHELL
    provided by xtender user.
    As required, I have asked my DBAs to grant privileges by executing the following scripts:
    Begin
      --change to needed permissions and execute
      dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/factiva/ODS/bin/CVIM_Rpt_ExportCSVFile’, 'read,write,execute' );
    end;
    /where CVIM_Rpt_ExportCSVFile is my script residing in the Unix server where my Oracle is installed.
    The error I am facing when I try to execute the following command is:
    select * from table(xt_shell.shell_exec('/var/scripts/CVIM_Rpt_ExportCSVFile',100))
    Exception:the Permission (java.io.FilePermission /var/scripts/CVIM_Rpt_ExportCSVFile execute) has not been granted to ODS. The PL/SQL to grant this is dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )I have asked my DBA to also execute the following scripts: - But I still see the same error as above. I am not able to figure out whats going on. Can anyone pls help me out??
    EXEC Dbms_Java.Grant_Permission('ODS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC Dbms_Java.Grant_Permission(ODS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )

    DUPLICATE
    =============================================================
    Issue with Executing OS commands from Stored Procedure
    ============================================================

  • Authorization issue while executing a Web Template in SAP BI

    Hello All,
    I am facing an issue while executing a webtemplate .
    I have a webtemplate which is being executed by end user, upon execution user must be able to fill in the value for data and submit. The query uses a characteristic KPI identifier ,SBU,BU,product, Region,Affiliate etc . All the mentioned charcaterisitics in Analysis authorization have * value except  KPI identifier and SBU. And Activity 02,03 is provided for the infoprovider.
    When a single value (Ex:KPI01) is provided in KPI identifier the webtemplate works fine in change mode. But when additonal value (Ex KPI02) is being added to the characterstic KPI identifier the webtemplate opens only in display mode. There is no authorization failure as well in the RSEC trace.
    Actually we created two separate roles for each KPI identifier earlier but when two roles provided to a user in combination it was behaving the way i mentioned above. So we tried to create a single role with two values of KPI Identifier in single analysis authorization and it is still the same.
    Please suggest what might be the reason for this behavior. Thank you
    Regards,
    Mohammed Ghouse

    Hi Brian,
    Thanks for your reply
    RSECADMIN does not show any missing authorizations when checked , but what is observed is that the check happens only on display
    These are the characteristics being checked by the query
    Characteristic      Content in SQL format
    OTCACTVT         GRI_IC005 IN ('KPI054','KPI055')
    GRI_IC005          AND GRI_IC007 = 'MFE'
                                AND 0TCAACTVT = '02'
    GRI_IC007
    Comparison with Following Authorized Set
    Characteristic      Content in SQL format
    0TCAACTVT      I CP *
    GRI_IC005        I EQ KPI054
                               I EQ KPI055
    GRI_IC007          I EQ MFE
    And it says its authorized. But still the screen is in display mode. What might be the reason for this behavior.

  • Facing issue while business service in weblogic Env

    Hi All,
    I am facing issue while creating a business service in the application. I have deployed my jar file which contain the XAI service under businessApp,Standalone folder of the app as well as i had placed the generated XML file of mine servicer under the xmlMetaInfo Folder of the app. After bouncing the server and when i am creating the business with the schema provided below i am getting an exception :
    Schema:
    <schema pageAction="read">
    <EMAILID mapField="EMAILID"/>
    <USER_FLG mapField="USER_FLG"/>
    <FIRST_NAME mapField="FIRST_NAME"/>
    <LAST_NAME mapField="LAST_NAME"/>
    <USER_ID mapField="USER_ID"/>
    <PASSWORD mapField="PASSWORD"/>
    <USER_GROUP_1 type="group">
    <userGroup mapField="USR_GRP_ID1"/>
    </USER_GROUP_1>
    <USER_GROUP_2 type="group">
    <userGroup mapField="USR_GRP_ID2"/>
    </USER_GROUP_2>
    <USER_GROUP_3 type="group">
    <userGroup mapField="USR_GRP_ID3"/>
    </USER_GROUP_3>
    <USER_GROUP_4 type="group">
    <userGroup mapField="USR_GRP_ID4"/>
    </USER_GROUP_4>
    <USER_GROUP_5 type="group">
    <userGroup mapField="USR_GRP_ID5"/>
    </USER_GROUP_5>
    <USER_GROUP_6 type="group">
    <userGroup mapField="USR_GRP_ID6"/>
    </USER_GROUP_6>
    <USER_GROUP_7 type="group">
    <userGroup mapField="USR_GRP_ID7"/>
    </USER_GROUP_7>
    <USER_GROUP_8 type="group">
    <userGroup mapField="USR_GRP_ID8"/>
    </USER_GROUP_8>
    <USER_GROUP_9 type="group">
    <userGroup mapField="USR_GRP_ID9"/>
    </USER_GROUP_9>
    <USER_GROUP_10 type="group">
    <userGroup mapField="USR_GRP_ID10"/>
    </USER_GROUP_10>
    <USER_GROUP_11 type="group">
    <userGroup mapField="USR_GRP_ID11"/>
    </USER_GROUP_11>
    <USER_GROUP_12 type="group">
    <userGroup mapField="USR_GRP_ID12"/>
    </USER_GROUP_12>
    <MESSAGE_TEXT mapField="MESSAGE_TEXT"/>
    </schema>
    Exception While creating the business Service :
    SYSUSER - 899645-93-1 2013-02-18 17:17:42,679 [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (service.metainfo.MetaInformationRepository) Service metainfo missing for 'CMUSER5'
    com.splwg.shared.common.LoggedException: Service metainfo missing for 'CMUSER5'
    at com.splwg.shared.common.LoggedException.raised(LoggedException.java:65)
    at com.splwg.base.support.service.metainfo.MetaInformationRepository.privateGetMetaInfoURL(MetaInformationRepository.java:171)
    at com.splwg.base.support.service.metainfo.MetaInformationRepository.buildMetaInfo(MetaInformationRepository.java:183)
    at com.splwg.base.support.service.metainfo.MetaInformationRepository.privateGetMetaInformation(MetaInformationRepository.java:105)
    at com.splwg.base.support.service.metainfo.MetaInformationRepository.getMetaInformation(MetaInformationRepository.java:98)
    at com.splwg.base.support.schema.validation.BusinessServiceSchemaValidator.initialize(BusinessServiceSchemaValidator.java:28)
    at com.splwg.base.support.schema.validation.SchemaValidator.validate(SchemaValidator.java:102)
    at com.splwg.base.domain.common.schema.Schema_CHandler.validateBusinessServiceSchema(Schema_CHandler.java:67)
    at com.splwg.base.domain.common.schema.Schema_CHandler.validateSchema(Schema_CHandler.java:55)
    at com.splwg.base.domain.common.schema.Schema_CHandler.access$000(Schema_CHandler.java:30)
    at com.splwg.base.domain.common.schema.Schema_CHandler$ValidateSchemaDefinitionAsValidXml.validateSave(Schema_CHandler.java:147)
    at com.splwg.base.domain.common.schema.Schema_CHandler$ValidateSchemaDefinitionAsValidXml.validateSave(Schema_CHandler.java:124)
    at com.splwg.base.api.changehandling.AbstractCustomRule.validateSave(AbstractCustomRule.java:86)
    at com.splwg.base.support.changehandlers.ChangeEventHandler.applyRule(ChangeEventHandler.java:300)
    at com.splwg.base.support.changehandlers.ChangeEventHandler.access$300(ChangeEventHandler.java:37)
    at com.splwg.base.support.changehandlers.ChangeEventHandler$2.run(ChangeEventHandler.java:225)
    at com.splwg.base.support.changehandlers.ChangeEventHandler$JumpToChangeHandlerRunner.run(ChangeEventHandler.java:339)
    at com.splwg.base.support.interception.SessionInterceptionManager.notifyGenericCallStackJump(SessionInterceptionManager.java:268)
    at com.splwg.base.support.context.FrameworkSession.notifyGenericCallStackJump(FrameworkSession.java:1473)
    at com.splwg.base.support.changehandlers.ChangeEventHandler.executeValidation(ChangeEventHandler.java:229)
    at com.splwg.base.support.changehandlers.SessionChangeManager.fireSaveValidations(SessionChangeManager.java:223)
    at com.splwg.base.support.changehandlers.SessionChangeManager.processSave(SessionChangeManager.java:204)
    at com.splwg.base.support.context.FrameworkSession.processSave(FrameworkSession.java:1102)
    at com.splwg.base.support.interception.SessionInterceptionManager.saveChangesCalled(SessionInterceptionManager.java:233)
    at com.splwg.base.support.context.FrameworkSession.saveChanges(FrameworkSession.java:1121)
    at com.splwg.base.api.GenericBusinessObject.saveChanges(GenericBusinessObject.java:149)
    at com.splwg.base.support.pagemaintenance.EntityPageMaintenance.add(EntityPageMaintenance.java:121)
    at com.splwg.base.support.pagemaintenance.AbstractPageMaintenance.addItem(AbstractPageMaintenance.java:169)
    at com.splwg.base.support.service.JavaPageAddService.add(JavaPageAddService.java:40)
    at com.splwg.base.support.service.PageAddService.privateAdd(PageAddService.java:95)
    at com.splwg.base.support.service.PageAddService.privateExecute(PageAddService.java:74)
    at com.splwg.base.support.service.PageAddService.execute(PageAddService.java:31)
    at com.splwg.base.api.service.ServiceDispatcher.addItemInSession(ServiceDispatcher.java:218)
    at com.splwg.base.api.service.ServiceDispatcher$2.execute(ServiceDispatcher.java:119)
    at com.splwg.base.api.service.ServiceDispatcher$2.execute(ServiceDispatcher.java:118)
    at com.splwg.base.support.context.SessionExecutable.doInNewSession(SessionExecutable.java:39)
    at com.splwg.base.api.service.ServiceDispatcher.addItem(ServiceDispatcher.java:123)
    at com.splwg.ejb.service.impl.ServiceBean$4.compute(ServiceBean.java:93)
    at com.splwg.ejb.service.impl.ServiceBean$4.compute(ServiceBean.java:92)
    at com.splwg.ejb.service.impl.AbstractServiceBeanInvocationHelper.computeWithTranslatedExceptions(AbstractServiceBeanInvocationHelper.java:25)
    at com.splwg.ejb.service.impl.ServiceBeanInvocationHelper.execute(ServiceBeanInvocationHelper.java:12)
    at com.splwg.ejb.service.impl.ServiceBean.add(ServiceBean.java:91)
    at com.splwg.ejb.service.impl.SPLServiceBean_8o7vtd_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.splwg.ejb.service.impl.SPLServiceBean_8o7vtd_EOImpl.add(Unknown Source)
    at com.splwg.ejb.service.impl.SPLServiceBean_8o7vtd_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at com.splwg.ejb.service.impl.SPLServiceBean_8o7vtd_EOImpl_1035_WLStub.add(Unknown Source)
    at com.splwg.serviceclient.RemoteServiceDispatcher$4.executeService(RemoteServiceDispatcher.java:79)
    at com.splwg.serviceclient.RemoteServiceDispatcher$4.executeService(RemoteServiceDispatcher.java:78)
    at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:19)
    at com.splwg.serviceclient.RemoteServiceDispatcher.add(RemoteServiceDispatcher.java:76)
    at com.splwg.base.web.dataservlet.PageAdd.privateDoPost(PageAdd.java:40)
    at com.splwg.base.web.dataservlet.MutatingPageServlet.doPost(MutatingPageServlet.java:26)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.splwg.base.web.services.RequestContextFilter.doFilter(RequestContextFilter.java:50)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SYSUSER - 899645-93-1 2013-02-18 17:17:42,688 [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.service.ServiceExecutionPolicy) Rollback: Add failed
    Please help me out with this issue as it is blocking mine development time.
    Thanks,

    By default, WLP stores policy data such as roles/users/groups in both weblogic server embedded ldap and db to support user entitlements.
    The WebLogic Server embedded LDAP server for a domain consists of a master LDAP server, maintained in the domain’s Administration Server, and a replicated LDAP server maintained in each Managed Server in the domain. I think in your case, the ldap data of admin server and all managed server are not in sync.
    Probably you have checked "Refresh Replica At Startup" - when enabled/checked the embedded LDAP server in a Managed Server will refresh all replicated data at boot time only. That is reason why when you restart the servers, the roles populated from all managed servers.
    For more details see the doc at http://docs.oracle.com/cd/E15051_01/wls/docs103/secmanage/ldap.html#wp1102162

  • Executing "at" command of UNIX through JSP

    Friends,
    1. "at" command in UNIX execute Unix command at a scheduled time. 2. For each user there will be a table maintained internally which can be accessed by "at" with "-l" argument.
    3. A mail will be sent to the owner with the output of the commands as a message.
    I tried to run the "at" command of Unix in JSP, which gets succesfully executed in Oracle 10g App Server container (Installed in Solaris machine). I have tested the successful execution of command with the log file. But I haven't got any mail for the output. If anyone had any idea, please help me.
    The code I have wtitten is
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(new String[] {"sh","-c","at 2115 Dec 7 < /export/home/usr1/abc.sh"});
    InputStream stderr = proc.getErrorStream();
    InputStreamReader isr = new InputStreamReader(stderr);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    logger.info("<ERROR>");
    while ( (line = br.readLine()) != null)
    logger.info(line);
    logger.info("</ERROR>");
    int exitVal = proc.waitFor();
    logger.info("Process exitValue: " + exitVal);
    My doubts are:
    1. Who is the owner of the output of "at"command, which gets executed under Oracle 10g App Server container?
    2. If no one is the owner, then where will the output of "at" command will go?
    3. Is there any other way to execute "at" command of UNIX in java program? If so, then please help me.
    Thanks in advance.
    regards
    Nandha Kumar.M

    I would imagine the process call out will be under the guise of the process owner of the OC4J instance which executing the call.
    Have you seen anything different.
    cheers
    -steve-

  • We are facing error while executing Bex report.

    Hi Gurus:
    We are facing error while executing Bex report.
    Messge :                                                                          
    u201CQuery 0: Runtime error program state check for conversation 05284411 / CP  with parallel processing via RFC
    Message no. DBMAN428u201D
    The query is based upon Multiprovider (based upon 2 basic cubes).
    Both cubes are partitioned by   info object 0CALMONTH, (valid range - 01.2005 - 012.2010).
    Those cubes are not containing any non-cumulative key figures and Service package level for  SAP NetWeaver BI 7.0 is  u2018SAPKW70012u2019.
    I have checked those cubes in RSRV and carry out following steps:
    "All Elementary Tests -> Transaction Data" and execute the repair "Consistency of the Time Dimension for an Info Cube"
    I have found system inconsistency like u201CRecord with the DIMID 2 contains non-fitting time characteristics u201C
    Detail ERROR:
    Record with the DIMID 2 contains non-fitting time characteristics
    Message no. RSCV053Diagnosis
    The data record of the time dimension table with the described DIMID contains values for time characteristics that do not fit together.
    I have found the u2018 Note 1130450 - Query displays error DBMAN 284; RSRV: Time dimension checku2019  for this but still not sure this will work or not .
    I tested this in dev server , didn't feel useful.
    Could you please let us know what to correct this error.
    Anwser will be rewared.
    Regards,

    >
    Surendra Pande wrote:
    > Anwser will be rewared.
    > Regards,
    Go read the RULES of these forums.

  • Problem while executing a command using exec()

    I'm trying to execute a command on Unix O/S with the help of java program. For this I have used Runtime class available in java.lang. It works fine for some of the basic unix commands like 'ls','cp' but when I tried to execute command "sqlldr userid=<user>/<pwd> control=/u01/dw/snb/log/sp_shd05721_ins_stg_sqlldr.ctl" , then it's not getting executed. Please advise.

    You may be having a problem with the command path, which I don't think Runtime.exec() uses. Try specifying the full path

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • Facing issue while provisioning to AD which is in multiple domain in single forest

    Hi All,
    I am facing issue while user provisioning to AD which is in multiple domain in single forest.I can Synchronize the OU and Groups from Global Catalog i.e. root domain,but unable to Synchronize OU and Groups from child domains.Following is depict of my domain.
    Root -------   example.com
             |_______doamin1.example.com
             |_______doamin2.example.com
             |_______domain3.example.com
    My global catalog is example.com where I have configure my connector.Following is the snippets of it.
    Parameter
    Value
    ADLDSPort
    BDCHostNames
    Configuration Lookup
    Lookup.Configuration.ActiveDirectory.Trusted
    Connector Server Name
    Active Directory Connector Server
    Container
    DC=example,DC=com
    DirectoryAdminName
    DWPTEST\adm
      DirectoryAdminPassword
    DomainName
    example.com
    IsADLDS
    no
    LDAPHostName
      GlobalCatalog server name  -> where my root domain is present
    SyncDomainController
    SyncGlobalCatalogServer
    GlobalCatalog server name  -> where my root domain is present
    UseSSL
    no
    Above configuration I am using to Synch my OU and Groups using scheduler Job.Following changes I have made in connector configuration.
    1. Set the value of the SearchChildDomains entry to yes in one of the following lookup definitions:
    For trusted source reconciliation: Lookup.Configuration.ActiveDirectory.Trusted
    For target resource reconciliation: Lookup.Configuration.ActiveDirectory
    2. Specify the name of the domain controller that is hosting the Global Catalog Server as the value of the SyncGlobalCatalogServer IT resource parameter.
    For provisioning purpose I am trying to find following configuration which is mentioned in connector document,but unable to locate it.
    In the connector, the referral chasing option is set to All, which means that all referrals are chased when any referral is provided by the domain controller
    Thanks in advance.
    Regards,
    Nitin Natekar

    Hi All,
    Thanks all for the reply.I was not getting an error,but once I changed the connector configuration,It started working. I Kept the LDAPHostName parameter blank  in connector configuration.
    Thanks all for reply
    Regards,
    Nitin Natekar

  • Executing amadmin command in Unix box.

    I tried to execute following command on Unix machine:
    ./amadmin -u uid=amAdmin,ou=People,o=ievesp.net -v -w "password"
    -s /etc/opt/SUNWam/config/xml/amUser.xml
    I am getting following error message:
    Info 112: Entering ldapAuthenticate method!
    Success 0: No Exceptions! LDAP Authentication success!
    Info 113: Calling SSO method!
    Error 9: Operation failed: null
    Please tell me why I am getting this Error?
    Where can I find log files?
    Can anyone please help me on this?

    Following is the error message that is recorded at LDAP logs:
    [27/Jun/2006:06:31:01 -0400] conn=145220 op=-1 msgId=-1 - fd=83 slot=83 LDAP connection from <<ip address>> to <<ip address>>
    [27/Jun/2006:06:31:01 -0400] conn=145220 op=0 msgId=1 - BIND dn="uid=amAdmin,ou=People,o=seccap.net" method=128 version=3
    [27/Jun/2006:06:31:01 -0400] conn=145220 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0
    dn="uid=amadmin,ou=people,o=seccap.net"
    [27/Jun/2006:06:31:01 -0400] conn=145220 op=1 msgId=2 - UNBIND
    [27/Jun/2006:06:31:01 -0400] conn=145220 op=1 msgId=-1 - closing - U1
    [27/Jun/2006:06:31:01 -0400] conn=145220 op=-1 msgId=-1 - closed.
    [27/Jun/2006:06:31:03 -0400] conn=145221 op=-1 msgId=-1 - fd=83 slot=83 LDAP connection from <<ip address>> to <<ip address>>
    [27/Jun/2006:06:31:03 -0400] conn=145222 op=-1 msgId=-1 - fd=88 slot=88 LDAP connection from <<ip address>> to <<ip address>>
    [27/Jun/2006:06:31:03 -0400] conn=145222 op=0 msgId=3 - BIND dn="" method=128 version=3
    [27/Jun/2006:06:31:03 -0400] conn=145222 op=0 msgId=3 - RESULT err=0 tag=97 nentries=0 etime=0 dn=""
    [27/Jun/2006:06:31:04 -0400] conn=145221 op=-1 msgId=-1 - closing - B1
    [27/Jun/2006:06:31:04 -0400] conn=145222 op=-1 msgId=-1 - closing - B1
    [27/Jun/2006:06:31:04 -0400] conn=145222 op=-1 msgId=-1 - closed.

  • Executing amadmin command in Unix box.  --*** Urgent*****

    I tried to execute following command on Unix machine:
    ./amadmin -u uid=amAdmin,ou=People,o=ievesp.net -v -w "password"
    -s /etc/opt/SUNWam/config/xml/amUser.xml
    I am getting following error message:
    Info 112: Entering ldapAuthenticate method!
    Success 0: No Exceptions! LDAP Authentication success!
    Info 113: Calling SSO method!
    Error 9: Operation failed: null
    Please tell me why I am getting this Error?
    Where can I find log files?
    Can anyone please help me on this?

    I suggest that you post this question to the Access Manager Forum...
    <http://swforum.sun.com/jive/forum.jspa?forumID=79>
    Regards,
    Ludovic.

  • Facing issue while trying to disable automatic discovery of devices through Apple Bonjour

    Hi All,
    I am facing issue while trying to disable automatic discovery of devices through Apple Bonjour.
    Background: Whenever our application is in running state, devices are automatically discovered if it connects to PC. We are using Apple Bonjour's auto discovery technology( mdnsresponder ).
    We are registering a particular service type by using DNS API "DNSServiceRegister". Service type is getting registered properly and we are able to discovered that particular type of device.
    Platform:  Windows 7.0 / MAC 10.8
    Issue:
    But we are facing issue while trying to disable auto discovery of a device programmatically. i.e, unregistered a service reference programmatically from our windows application.
    To unregistered a service we are using "DNSServiceRefDeallocate" DNS API. But looks like it is not working properly.
    Is this DNS API “DNSServiceRefDeallocate” is correct one to unregistered the service?
    Here is the step by step procedure that we are following to de-allocate a service reference:
    1.Browsing / Query a service by using service type to get service reference (DNSServiceRef). 
    2.Get reference socket FD by using DNS API "DNSServiceRefSockFD".  
    3.Select a socket by using "select" API.
    4.Close the socket that we got from step 2 by closesocket().
    5.Delete the service reference by using DNS API "DNSServiceRefDeallocate" and service reference from step 1.
    Are we missing any step to unregistered a service? 
    Regards,
    Goutam

    Original problem I noticed was that regular websites I go to (such as msn) were only partially downloading.  I could see the text on the site but no pictures or videos.  All web surfing was extremely slow.  When I would go to a site such as man I would see another address in the lower left corner for "ads1.msads.net" or "cdn.optimizely.com" that is was trying to connect to. I tried using all three of my browsers (firefox, safari, chrome) and got the same response on all browsers.  After I spent some time researching the issue I decided I probably had a adware/malware problem so I decided to try adwaremedic.com.  I could also not access that site along with thesafemac.com or apple.com.  I was also getting the same response on my other devices (iPhone, iPad, and a mac air).  I could not access any of these sites on any of my devices although I could get to almost any other site although it was very slow.  At that point I decided to unplug the router.  I also did a number of other things before then to try and manually get rid of any adware.  Eventually I got msn back working, apple.com, and the speed was much faster.  But, I still can not access adwaremedic and thesafemac.com.  I could access these on my phone with 3G but not on my wifi.  This is where the problem still stands.  I am sure I still have some adware on my computer and need to find a way to remove it.  I am no techie so the complicated manual fixes are difficult for me to do.

Maybe you are looking for