Uninstall policy agent not working

I am attempting to uninstall the policy agent for SJS Web Server 6.1 on Solaris. (logged on as root, using a telnet session)
When I execute the ./uninstall_agent -nodisplay command I am getting a java exception (see below).
Any ideas on how I can work around this issue; I need to do the uninstall so I can install a new vrsion with a patch.
Thanks
Exception in thread "Thread-0" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.ScrollPane.<init>(ScrollPane.java:183)
at java.awt.ScrollPane.<init>(ScrollPane.java:170)
at com.iplanet.install.panels.common.VerifyPanel.run(VerifyPanel.java:283)
at com.iplanet.install.panels.common.VerifyPanel.beginDisplay(VerifyPanel.java:235)
at com.sun.wizards.core.IteratorLayout.setCurrentLeaf(IteratorLayout.java:580)
at com.sun.wizards.core.IteratorLayout.next(IteratorLayout.java:783)
at com.sun.wizards.core.WizardTreeManager.nextButtonPressed(WizardTreeManager.java:1198)
at com.sun.wizards.core.CommandLineConsole.run(CommandLineConsole.java:148)
at java.lang.Thread.run(Thread.java:595)

You can use non-GUI based unintallation option, or setup X-Windows (export DISPLAY=1pAddress:0.0) if you prefer GUI.

Similar Messages

  • Fault policy does not work when throwing remoteFault in bpel

    Hi
    I have a BPEL-proces in which I throw a remoteFault.
    In the fault-policy there is a condition for this fault
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-java"/>
    </condition>
    </faultName>
    But the fault-policy does not work if I throw this remoteFault in de bpel. But when I invoke another service (which is shutdown), then I get a remoteFault and for this remoteFault the fault-policy works well.
    Any idea why the fault-policy does not work when I throw the remoteFault?
    Regards

    BPEL fault works only on invocation failures.
    Fault management will work based on the remote fault from the remote service, you cannot throw remote fault from bpel and capture that in fault management and process.
    The following are the actions that we can take on faults.
    1. Human Intervention
    2. Rethrow [rethrowFault]
    3. Termination [abort]
    4. Replay Fault [replayScope]
    5. Custom Java Action [javaAction]
    6. Retry [retry]
    Hope this helps !!!
    Thanks,
    Vijay

  • EFS Recovery Agent not working on Windows 8.1

    I know EFS data recovery has been discussed so many times in the forums but I could not find anything useful in the other threads as I believe I have followed all the required steps but still cannot get EFS recovery agent to work.
    I have a Client1 (Win 8.1) and a DC1 (Windows Server 2012 R2) under beta.com domain.
    DC1 is a CA server as well as a domain controller.
    I logged into DC1 as beta.com\Administrator
    which is the Domain Administrator account.
    I duplicated the EFS Recovery Agent template on the
    DC1 and published it into Active Directory.
    Then I edited the Default Domain Policy GPO and under
    Computer Settings\Policies\Windows Settings\Security Settings\Public Key Policies
    I right clicked Encrypting File System and selected Create a Data Recovery Agent
    and a new file recovery certificate was generated for the Administrator account.
    I exported the newly-created Recovery Agent certificate and then logged into
    Client1 as beta.com\Administrator and imported
    it.
    I then logged off from Client1 and logged back in using a different account beta.com\johns
    and encrypted a folder (with a text file inside) using EFS. (The folder address on local disk is
    C:\Reports)
    Then I logged back into Client1 again using beta.com\Administrator
    but I am unable to open the file inside the folder and I get an
    Access is denied message.
    It is very strange to get an "Access is denied" message because on the text file when I right click and click Properties -> Advanced -> Details, under the Recovery Certificates, the Administrator account's certificate is listed
    and its thumbprint corresponds to the same recovery certificate which I created in step 3. But I am still unable to access the file.
    Do you have any idea why? Am I missing something?
    Thanks in advance.
    MCT, MCSA/MCSE Security
    http://esitech.spaces.live.com/

    Hi
    The Client1 user needs to enrol via GPO to get the recovery certificate normally via automatic enrolment
    Check the Personal Certificate store for Client1
    I think the policy needs to be applied before you encrypt any data
    To manually recover
    Did you export the Private key when you did the export ?
    Did you export to a .cer file

  • VPD context_sentisitive policy does not works as expected

    Hi,
    I'm trying to implement CONTEXT_SENSITIVE RLS policies:
    http://docs.oracle.com/database/121/ARPLS/d_rls.htm#ARPLS67721
    Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor. For session pooling where multiple clients share a database session, the middle tier must reset context during client switches. Note that the server does not cache the value returned by the function for this policy type; it always executes the policy function on statement parsing. Applies to only one object.
    What I have discovered so far:
    1. policy function executed each time when query executed from SQL*Plus. Independently of context changes.
    2. policy function executed only once when query executed from PL/SQL.
    3.  When we have a PL/SQL procedure like this:
    begin
    <query>
    <change context>
    <query>
    end;
    Additionally, query (cursor) is not present in PL/SQL cursor cache, then
    policy functions executed only once when first query executed.
    So wrong results are possible when application context changed in a way that policy function returned predicate also changed.
    4. JDBC: policy function executed each time when query is executed. Policy function executed only once when I enabled statement caching:
    OracleDataSource ods =  new OracleDataSource();
    // skip
    ods.setConnectionCachingEnabled( true );
    ods.setImplicitCachingEnabled( true );
    Properties cacheProps = new Properties();
    cacheProps.put( "InitialLimit", "1" );
    cacheProps.put( "MinLimit", "1" );
    cacheProps.put( "MaxLimit", "5" );
    cacheProps.put( "MaxStatementsLimit", "50" );
    ods.setConnectionCacheProperties( cacheProps );
    5. Queries with RLS policies are not cached in the session cursor cache. For example, if we executed same query multiple times in SQL*Plus - then this query will be not cached.
    2 and 3 (PLSQL) relates to PL/SQL cursor cache.
    As a result, when we disable PL/SQL cursor cache (setting session_cached_cursors=0), then policy function executed each time in PL/SQL.
    What I have observed, it is not agreed with documentation on context_sensitive policies (I provided a link above):
    Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
    Signature of DBMS_RLS.ADD_POLICY procedure was changed in 12c with additional arguments: NAMESPACE, ATTRIBUTE.
    I tried to use them with no luck, results are the same.
    In my opinion statements below are contradict to each other:
    1. Server re-evaluates the policy function at statement execution time if it detects context changes since the last use of the cursor.
    2. it always executes the policy function on statement parsing.
    First, documentation says that the policy function evaluates at statement execution time.
    Second, documentation says that the policy function executes on statement parsing.
    I have used Oracle Database 12.1.0.2 for testing.
    I provided a script that I have used in my tests:
    rls_policy.txt - creates test schema and policy
    rls_sqlplus.txt - runs simple select against query with RLS policy
    rls_plsql.txt - more complex example, runs some anonymous blocks with queries against table with RLS policy.
    In my opinion, context_sensitive policies does not works as described in the documentation.
    Is it a bug or I'm missing something?
    Please advice.
    Best regards,
    Mikhail.

    Thanks Scott. May i know why i should never use user policies for denying access?
    From my readings on some articles, there is no way to deny users permission in sharepoint after granting domain users with read access other than the web application user policy in our case (with certain reason, we need this group to be granted with
    read access but we would like to restrict small amount of users from seeing the page)

  • Sql server agent not work

    hi every one ,
    i use sql server agent to make a job which delete some rows from my table at 12:00 AM
    this job works on (Mydatabase1) but when i make another job to another database(Mydatabase2)
    i get this error from ViewJob HIstory :
    Myjob2,Error,1,FATMA\MSSQLSERVER2008,Myjob2,step2,,Executed as user: NT AUTHORITY\SYSTEM. DELETE
    failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are
    correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query
    notifications and/or XML data type methods and/or spatial index operations. [SQLSTATE 42000] (Error 1934).  The step
    failed
    please inform me what is that error means?and how can i fix it?and why this job work to database and not work for another!!!
    best wishes
    fatma
    fatma mohamed

    Hi Miloslav Peterka,
    i set Quoted Identifiers to true it was false,it woorked in first time after that i get this error(but in my worked job on myDatabase1 the Quoted Identifiers was false.)
    Date  24-05-2010 10:44:28 ص
    Log  Job History (AttendanceJob)
    Step ID  0
    Server  FATMA\MSSQLSERVER2008
    Job Name  AttendanceJob
    Step Name  (Job outcome)
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  0
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    The job failed.  The Job was invoked by User sa.  The last step to run was step 1 (attStep).
    wat is the reason of that error?
    best wishes
    fatma mohamed

  • ACE Policy is not working

    Hi,
    I have ACE 4710 in context mode. I am doing internet browsing (Port 80) redirection to two proxy servers (Transparent Proxy) as well as I am using this ACE box for multiple other servers load balancing.
    I have multiple policies applied on my LAN interface (VLAN 300) where all the users and servers are connected.
    Now I am facing problem with one application (PLATTS) which is oil company related application. This application is working fine while directly connected with Internet (extrenal internet connection) or by giving explicit proxy in the user browser.
    But In transparent proxy This application is not working and my company policy only allow the transparent proxy not explicit proxy.
    Now if on my interface vlan 300 i will remove the service-policy input PM_MAIN_BCPROXY my application will start working but i cant redirect the port 80 traffic to my proxy servers which is also my requirement.
    interface vlan 300
      description ACE-INSIDE CONTEXT RACK1
      ip address 192.168.0.65 255.255.255.224
      alias 192.168.0.73 255.255.255.224
      peer ip address 192.168.0.66 255.255.255.224
      no normalization
      mac-address autogenerate
      no icmp-guard
      access-group input acl-in
      nat-pool 5 172.23.16.5 172.23.16.5 netmask 255.255.255.255 pat
      nat-pool 4 172.23.16.4 172.23.16.4 netmask 255.255.255.255 pat
      nat-pool 3 172.23.16.3 172.23.16.3 netmask 255.255.255.255 pat
      nat-pool 1 172.23.16.2 172.23.16.2 netmask 255.255.255.255 pat
      service-policy input PM_BYPASS_PLATTS
      service-policy input PM_ENOC_Servers
      service-policy input PM_RT_FAX
      service-policy input PM_ITSM_Web_Server
      service-policy input PM_ITSM_MAPP_Server
      service-policy input PM_BYPASS_FOR_LAN_HTTP
      service-policy input PM_BYPASS_HTTP
    service-policy input PM_MAIN_BCPROXY
    =============================================================================================
    This application use multiple destinations for connectivity and I have even tried by passing the destination IP addresses by making bypass policy but still no luck.
    I want this application to work as well as redirection of port 80. I even try re-ordering the policy sequence but no luck. Can you please help me out how to achieve this application to work as well as redirectino of port 80 for Internet.
    I have attached the full configuration as welll.
    I will be very thankful if someone can help me on this.

    Hi,
    This application has no VIP and serverform.
    My traffic is passing through the ACE and when traffic passing ACE policy for redirection of port 80 is droping traffic. If i remove my last service policy on the interface this application will start working
    Sent from Cisco Technical Support iPhone App

  • Retry in Fault Policy is not Working..

    Hi,
    - I have created sync BPEL Process and invoking JDE BSSV in the same.
    - I want to retry invoking BSSV in case of remote and binding fault.
    - I am using Fault Policy to achieve the same but RETRY is not Working._
    I am using below Fault Binding / Fault Policy for the same..
    ........................Fault BINDING.........................................
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="3.0"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="BPELFaults"/>
    </faultPolicyBindings>
    .......................Fault Policy...............................................
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="3.0" id="BPELFaults"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName>
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>10</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    <exponentialBackoff/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
         <rethrowFault/>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    I tried using "humanIntervention" instead of Retry and it worked
    but Retry dont work..
    I am stuck on this error from 2 days but unable to achieve it :(
    I will appreciate if someone can provide any Solution on the same..
    Thanks in Advance :)

    Hi Vijay,
    Thanks for your response..
    Please find below Path For policy Files, fault policy Content and Exception*:*
    path for your policy files
    <service name="XXXXXXXImpl"
    ui:wsdlLocation="XXXXXXXXProcess.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/XXXXXXXXXToJDEE1App/XXXXXXXXXImpl/XXXXXXXXXProcess#wsdl.interface(CustomerSearchPIPS0238Process)"/>
    <binding.ws port="http://xmlns.oracle.com/XXXXXXXXXXToJDEE1App/XXXXXXXXXXImpl/XXXXXXXXProcess#wsdl.endpoint(XXXXXXXXImpl/XXXXXXXProcess_pt)">
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">NEVER</property>
    </binding.ws>
    </service>
    *<property name="oracle.composite.faultPolicyFile">fault-policies.xml</property>*
    *<property name="oracle.composite.faultBindingFile">fault-bindings.xml</property>* <
    component name="XXXXXXXXXProcess" version="1.1">
    <implementation.bpel src="XXXXXXXXProcess.bpel"/>
    <property name="bpel.config.transaction" type="xs:string" many="false">required</property>
    </component>
    fault-policy.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <faultPolicy version="3.0" id="CustomerSearchPIPPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Conditions>
         <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:remoteFault">
         <condition>
              <action ref="ora-action-retry"/>
         </condition>
         </faultName>
         </Conditions>
         <Actions>
    <Action id="ora-action-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>10</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    <exponentialBackoff/>
    </retry>
    </Action>
         <Action id="ora-rethrow-fault">
         <rethrowFault/>
         </Action>
    <Action id="ora-human-intervention">
         <humanIntervention/>
         </Action>
         <Action id="ora-terminate">
         <abort/>
         </Action>
         </Actions>
    </faultPolicy>
    </faultPolicies>
    Fault-binding.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicyBindings version="3.0"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!--composite faultPolicy="CustomerSearchPIPPolicy"/-->
    <component faultPolicy="CustomerSearchPIPPolicy">
    <name>XXXXXXXXXXProcess</name>
    </component>
    </faultPolicyBindings>
    Exception
    Message     javax.xml.rpc.soap.SOAPFaultException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    Supplemental Detail     at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1193)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:971)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:194)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:528)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Please suggest me, what else i can do.. this is heppening only in case of retryAction. except this every thing workin but as per requirement i have to use retry Action.

  • Simple ws-policy demo not working

    Hi Gurus,
    It's been quite awhile, I could not work it out though. I guess your help would be the last change to stop it from driving me crazy~
    The goal is to implement a simple ws-seurity enabled webservice demo using only username/password token as the policy. username/password in the ones listed in "myrealm" (might have SQL Authentication provider as well),and X509 is not the thing to be considered in this simple test.
    Env:
    WebLogic Server Version: 10.3.0.0
    JVM: Sun one installed with weblogic
    WebLogic Eclipse plugin: 1.0.0.2008.0808135653
    Windows XP sp3
    After reading that much docs, it came to below procedure and code:
    1. Eclipse -> new Dynamic web project "WSTest3"
    2. create file: example.ws.HelloW1.java
    package example.ws;
    import javax.jws.WebService;
    import weblogic.jws.Policy;
    import weblogic.jws.Policies;
    @WebService(serviceName="HelloW1")
    @Policies( { @Policy(uri = "policy:usernametoken.xml") } )
    public class HelloW1 {
         public String sayHi(String hi){
              System.out.println("Already here: " + hi);
              return "Welcome, you said: " + hi;
    3. add "weblogic.jar" to build path
    4. create WEB-INF/policies/usernametoken.xml
    <?xml version="1.0"?>
    <wsp:Policy
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512"
    >
    <sp:SupportingTokens>
    <wsp:Policy>
    <sp:UsernameToken
    sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:WssUsernameToken10/>
    </wsp:Policy>
    </sp:UsernameToken>
    </wsp:Policy>
    </sp:SupportingTokens>
    </wsp:Policy>
    5. Publish the project WSTest3 to weblogic server
    6. Test the webservice within weblobic admin console, get below response which is expected since there is no input for user/pass in the simple test web page:
    ~~~~~~~~~~~~~~~~~~~
    <faultcode>wsse:InvalidSecurity</faultcode>
    <faultstring>Error on verifying message against security policy Error code:1000</faultstring>
    ~~~~~~~~~~~~~~~~~~~
    7. create the WSTest3Client project
    8. new "web service client"
    9. input the WSDL "http://127.0.0.1:7001/WSTest3/HelloW1?WSDL" and have the webservice related stub files created.
    10. create java file: example.ws.client.Main.java
    package example.ws.client;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.security.cert.X509Certificate;
    import javax.xml.rpc.ServiceException;
    import org.apache.axis.client.Stub;
    import example.ws.HelloW1_PortType;
    import example.ws.HelloW1_Service;
    import example.ws.HelloW1_ServiceLocator;
    import weblogic.jws.jaxws.ClientPolicyFeature;
    import weblogic.jws.jaxws.policy.InputStreamPolicySource;
    import weblogic.security.SSL.TrustManager;
    import weblogic.wsee.security.unt.ClientUNTCredentialProvider;
    import weblogic.xml.crypto.wss.WSSecurityContext;
    import weblogic.xml.crypto.wss.provider.CredentialProvider;
    public class Main {
         public static void main(String[] args)
         throws ServiceException, RemoteException{
              String username = "weblogic";
              String password = "weblogic";
              CredentialProvider cp = new ClientUNTCredentialProvider(username.getBytes(), password.getBytes());
              List credProviders = new ArrayList();
              credProviders.add(cp);
              HelloW1_Service service = new HelloW1_ServiceLocator();
              HelloW1_PortType port = service.getHelloW1Port();
         Stub stub = (Stub)port;
         stub._setProperty(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
    //Map rc = ((BindingProvider)port).getRequestContext();
    //rc.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
         System.out.println(port.sayHi("nihao"));
    11. add weblogic.jar to build path and let it go.
    The expected output string was not coming, but still the exception there:
    ~~~~~~~~~~~~~~~
    Exception in thread "main" AxisFault
    faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurity
    faultSubcode:
    faultString: Error on verifying message against security policy Error code:1000
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:Error on verifying message against security policy Error code:1000
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    {WITH MANY OTHER LINES BELOW}
    ~~~~~~~~~~~~~~~~~~
    use below code suggested from reference link (2)
    Map rc = ((BindingProvider)port).getRequestContext();
    rc.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
    to replace stub._setProperty, but I was told can not make the CAST from stub to BindingProvide, seems it's something in Jdeveloper11, not for my env.
    if I comment "@Policies( { @Policy(uri = "policy:usernametoken.xml") } ) " off and republish the webservcie, the test would be running good, but defniately there is no anthentication, which is not what I want.
    reference link (1): http://e-docs.bea.com/wls/docs103/webserv_sec/message.html
    reference link (2): http://kingsfleet.blogspot.com/2008/12/simple-custom-policy-example-using-jax.html
    I am grateful to have your input, thanks in advance and wish you a good day!
    Regards,

    Hi, it comes to episode2.
    Now the WS client's very smoothly working in my Jdev10.1.3, the code is very alike, but it uses
    stub._setProperty(Stub.USERNAME_PROPERTY, "weblogic");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "weblogic");
    // This source file is generated by Oracle tools and is subject to change
    // It is a utility client for invoking the operations of the Web service port.
    // For reporting problems, use the following
    // Version = Oracle WebServices (10.1.3.1.1, build 070111.22769)
    package proj2.proxy;
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    public class HelloW1PortClient {
    private proj2.proxy.HelloW1_PortType _port;
    public HelloW1PortClient() throws Exception {
    ServiceFactory factory = ServiceFactory.newInstance();
    port = ((proj2.proxy.HelloW1Service)factory.loadService(proj2.proxy.HelloW1_Service.class)).getHelloW1Port();
    * @param args
    public static void main(String[] args) {
    try {
    proj2.proxy.HelloW1PortClient myPort = new proj2.proxy.HelloW1PortClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    myPort.setUsername("weblogic");
    myPort.setPassword("weblogic");
    System.out.println( myPort.sayHi("Hello") );
    } catch (Exception ex) {
    ex.printStackTrace();
    * delegate all operations to the underlying implementation class.
    public String sayHi(String arg0) throws java.rmi.RemoteException {
    return _port.sayHi(arg0);
    * used to access the JAX-RPC level APIs
    * returns the interface of the port instance
    public proj2.proxy.HelloW1_PortType getPort() {
    return _port;
    public String getEndpoint() {
    return (String) ((Stub) port).getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY);
    public void setEndpoint(String endpoint) {
    ((Stub) port).setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint);
    public String getPassword() {
    return (String) ((Stub) port).getProperty(Stub.PASSWORD_PROPERTY);
    public void setPassword(String password) {
    ((Stub) port).setProperty(Stub.PASSWORD_PROPERTY, password);
    public String getUsername() {
    return (String) ((Stub) port).getProperty(Stub.USERNAME_PROPERTY);
    public void setUsername(String username) {
    ((Stub) port).setProperty(Stub.USERNAME_PROPERTY, username);
    public void setMaintainSession(boolean maintainSession) {
    ((Stub) port).setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession));
    public boolean getMaintainSession() {
    return ((Boolean) ((Stub) port).getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue();
    * returns the transport context
    public ClientTransport getClientTransport() {
    return ((OracleStub) _port).getClientTransport();
    the weird thing is when I moved "
    stub._setProperty(Stub.USERNAME_PROPERTY, "weblogic");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "weblogic");
    into Eclipse, it still complains the same error: "Error on verifying message against security policy Error code:1000", meanwhile the server outputs:
    <WSEE:18>Trying to validate identity assertion token http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken<SecurityMessageInspector.inspectIdentity:629>
    Thanks,

  • Need assistance getting policy agent to work.

    Hi,
    We have the following setup
    Windows 2003 Server 64-bit OS
    IIS6.0 installed and working on this server.
    We just Installed a Policy agent for windows
    Policy agent 2.2 for IIS6.0 on Windows 2003
    When we try to access the website, we receive the following error pop-up on the server machine.
    "IIS Worker process has encountered a problem and needed to close."
    "IIS worker process
    Error Signature:
    szAppName: w3wp.exe   szAppVer: 6.0.3790.1830
    szModName: amiis6.dll 
    szModVer : 0.0.0.0     offset : 000550aa"We have made sure that the web application is running on its own application pool.
    Could this be a problem because of the fact that this is a 64-bit platform we are dealing with?
    During installation we had to put the msvcp70.dll and msvcr70.dll files into the windows/SysWOW64 folder instead of the windows/system32 folder this ensured flawless installation.
    We could use any help on resolving this issue.
    Anyone else face this problem before?

    I dont think so but the thing is that if you put any 32 bit DLL's in the
    windows/SysWOW32
    folder windows 2003 x64 will use them as 32 bit DLL's thats the emulator folder.
    Anyways we kind of got the feeling that the problem would be with the
    amiis6.dll
    which was mentioned in the error.
    Have you faced this kind of situatioon before? Or could you suggest any possible solutions.

  • Fault policy is not working in BPEL Process

    Hi All,
    I am handling A Fault (remoteFault) thrown by Throw Activity in BPEL process using Fault policies. For this I have Created two xml file called fault-policies.xml and fault-bindings.xml and kept them in the same directory as in Composite.xml file. But policies are not getting applied . Is there any configiration or setting is required for this. I have followed the same syntax as given in Soa developer guide which is available in JDeveloper Help.
    Thanks & Regards
    Yogendra Rishishwar
    9867927087

    Hi ,
    I am sending code for both file .
    These files are available in same directory in which composite.xml present. I am throwing Fault using Throw activity. It is also not working in case of web service invocation. I would like to know whether any configuration or setting is required in any other file in addition to fault-policies.xml anf fault-bindings.xml.
    Thanks & Regards
    Yogendra Rishishwar
    <?xml version="1.0" encoding="UTF-8" ?>
    - <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <faultPolicy version="0.0.1" id="FusionMidFaults" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <Conditions>
    - <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:remoteFault">
    - <condition>
    - <!-- <test>$fault.code="WSDLReadingError"</test>
    -->
    <action ref="ora-terminate" />
    </condition>
    </faultName>
    - <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:FaultVar">
    - <condition>
    - <!-- <test>$fault.code="WSDLReadingError"</test>
    -->
    <action ref="ora-terminate" />
    </condition>
    </faultName>
    </Conditions>
    - <Actions>
    - <!-- Generics
    -->
    - <Action id="ora-terminate">
    <humanIntervention />
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    2.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <faultPolicyBindings version="0.0.1" xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="FusionMidFaults" />
    </faultPolicyBindings>

  • Database Upgrade Agent not working for upgrading Oracle 9i DB to Oracle 10i

    Hi All,
    Presently I have completed my Oracle 10i installation on Solaris Server but I am facing an issue during the upgrade process of Oracle 9i to 10g. Whenever I try to upgrade the 9i databases to 10g using DBUA(Database Upgrade assistant) I am facing an issue that Data base not running from oracle home or pfile not found. The exact error message says:-
    The upgrade assistant failed in bringing up the database XIPCOTS. Oracle Home /opt/apps/home/oracle9i/product/releases/92/92 obtained from file /var/opt/oracle/oratab was used to connect to the database. Either the database is not running from Oracle Home /opt/apps/home/oracle9i/product/releases/92/92 or the correct Initialisation parameter file (pfile) was not found. To start the database , Oracle needs the pfile. Provide the full path name of the init file for the database XIPCOTS.
    In reality the XIPCOTS database is running fine in Oracle 9i and we can connect it using PL/SQL developer in windows.I have also provided the path of pfile but it is still not accepting the same.
    Path of pfile I provided :- /XIP/ofaroot/XIPCOTS/pfile/initXIPCOTS.ora
    Any help or suggestions would be greately appreciated.
    Our both Oracle 9i and 10g are installed on same Solaris server where solaris version is 9
    Installation path for 9i :- /opt/apps/home/oracle9i/product/releases/92/92
    Installation path for 10g :- /opt/apps/home/oracle/product/releases/10201
    Oracle 9i version :- 9.2.0.7
    Oracle 10g version :- 10.2.01
    Thanks in advance.
    Best Regards,
    Gourav Banerjee

    Can you please mention the specific folder name under oracle home where we need to put this pfile because there are two folder dbs and ds I have allready tried putting it inside dbs its not working. And my home path is correct I hope and is set for oracle 9i directories in the .oraenv file do we need to set it for oracle 10g before the DBUA upgrade.

  • HT4827 After Server uninstall things do not work

    I have done this:
    1) Stopped all Server services
    2) Dragged Server app to Trash
    3) Cleaned Trash
    4) Rebooted
    Many things still work differently or not work at all:  SMB, Screensharing (server). I get messages in logs such as
    mkey_file: /var/db/krb5kdc/m_key.SERVER.LOCAL
    or
    -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    which I never got before ...
    So, I then reinstalled Mountain Lion from freshly downloaded Install. This has not caused any improvements (or damage).
    How can I return to the pre Server install state without having to wipe the disk, install Mountain Lion, and then recover my Applications, documents, etc from TimeMachine.

    I am replying to myself because I found the problem: LDAP services were left behind. After destroying them with
    <code>
    slapconfig  -destroyldapserver
    </code>
    I no longe have problems.

  • Service policy counters not working..

    I have a service policy on a 6509 interface so I can see what the packets per second of a video stream coming out of a DVR (digital video recorder) is. This DVR has 16 security cameras attached and I'm concerned that when someone views all 16 cameras the video stream is going to be huge.
    So I create a service policy to match an access list for all IP from the DVR. But no counters increment unless I add in some other match statement. I added in a match protocol telnet and the service policy counters started to work. I removed the match on telnet and the counters stopped. Telnet has nothing to do with the DVR. Here is the config of the class map, policy map and show commands: (By the way video is streaming through this interface continually during this excercise)
    MATCHING ACCESS LIST ONLY:
    class-map match-any DVR
    match access-group 130
    policy-map DVR-test
    class DVR
    ROC-6509-DU-A#sh access-list 130
    Extended IP access list 130
    10 permit ip host 164.72.2.125 any
    ROC-6509-DU-A#sh policy-map int
    GigabitEthernet2/5
    Service-policy output: DVR-test
    Class-map: DVR (match-any)
    0 packets, 0 bytes
    30 second offered rate 0 bps
    Match: access-group 130
    0 packets, 0 bytes
    30 second rate 0 bps
    Class-map: class-default (match-any)
    0 packets, 0 bytes
    30 second offered rate 0 bps, drop rate 0 bps
    Match: any
    ADDING IN TELNET:
    class-map match-any DVR
    match access-group 130
    match protocol telnet
    policy-map DVR-test
    class DVR
    ROC-6509-DU-A#sh policy-map int
    GigabitEthernet2/5
    Service-policy output: DVR-test
    Class-map: DVR (match-any)
    524025 packets, 70724866 bytes
    30 second offered rate 3991000 bps
    Match: access-group 130
    523896 packets, 70689220 bytes
    30 second rate 3991000 bps
    Match: protocol telnet
    129 packets, 35646 bytes
    30 second rate 0 bps
    Class-map: class-default (match-any)
    18696 packets, 11180265 bytes
    30 second offered rate 129000 bps, drop rate 0 bps
    Match: any
    If I remove the 'match protocol telnet' and clear the counters, no longer do the counters for the access-list 130 increment - put back in match telnet and they start to increment.
    This is a Sup720 with IOS 12.2(18)SXE3
    Is this a bug or do I not have my class map or policy map correct?

    The hardware ASICs do not support collecting the individual policer information.
    Try:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1216ea1/3550scg/swqos.htm#xtocid1990743

  • New Folder Redirection Group Policy is not working

    Recently installed a new server on an older network:
    Old network server: SBS 2003
    New network server: Server 2012 STD
    The network is working well and all computers are able to communicate with each other. I have already mapped a few network drives to folders that are located on the server. The owner wants to implement the same Folder Redirection of their Documents folder
    (Mixture of WIN7 PCs and WINXP) that their old server provided. I used the following Document to create the Folder Redirection:
    http://technet.microsoft.com/en-us/library/jj649078.aspx
    I then went to each computer and performed a gpupdate /force on each computer than logged off the profile. When I logged off, the sync window (folder redirection?) popped up and still showed that it was trying to transfer/sync with the old server that is
    no longer on the network. I also logged into the server and the shared folder that I selected for Folder Redirection does not have any data in it.
    Is there something else that I am missing. Is there some sort of configuration on the clients themselves that I need to look for such as some Target Path?
    I can provide more information upon request.

    Hi,
    Based on your description, have we redirected the folders back before we removed the older server?
     Besides, were there some error events in the Event Viewer?
    To configure folder redirection, we need to assign users proper share and NTFS permissions.
    Regarding this point, the following article can be referred to as reference.
    Security Recommendations for Folder Redirection
    http://technet.microsoft.com/library/cc736916.aspx
    Besides, regarding how to configure folder redirection, the following article can also be referred to for more information.
    Configuring Folder Redirection
    http://technet.microsoft.com/library/cc786749.aspx
    In addition, for folder redirection to work, we need to log off clients twice, or we can enable the following policy.
    Computer Configuration > Policies > Administrative Templates > System/Logon > Always wait for the network at computer startup
    and logon
    Hope it helps.
    Best regards,
    Frank Shen

  • Installed Acrobat Pro and uninstall Reader does not work defaults back to Reader

    I've installed Acrobat Pro, after installing Acrobat Reader.  After I uninstall Reader and click on a PDF file, it automatically opens it in Reader.  I've clicked Acrobat 9 as my preferred software, but next time, it reverts back to opening in Reader.  I'm using a lenovo Yoga laptop with Windows 8.1.

    Thank you very much for your reply.  This didn't work.  As you can tell, this is not a high priority for me, just annoying that I have to uninstall Reader every time I open a PDF.  It will open in Acrobat after that, 'til I shut down my laptop.
    Here's the order:  I installed Acrobat Reader.  Then I installed Acrobat Pro.  Then I uninstalled Acrobat Reader.  But when I click on a PDF file, it reopens in Acrobat Reader (I don't use Microsoft Reader - at least on purpose!)  Somehow Acrobat Reader is not completely uninstalling and reactivates.  Our computer consultant tried to fix it, but couldn't.   He said he thot some of his research showed this was a problem in Windows 8 and 8.1?
    I just tried going into Programs in the Control Panel and Acrobat Pro 9 only shows Uninstall/Change, not Repair.  However, I clicked through and got to Repair.  Tried that (which I've actually done before) and still didn't work.

Maybe you are looking for