How to undo activated OSB session with WLST?

Does anybody know if there´s a chance to undo an activated OSB session with WLST?
There´s a way to undo an UNactivated session but not an activated one (like the undo session in /sbconsole).
Thanks in advance.
Edited by: 956378 on 31-ago-2012 12:48

"zone copy active-zoneset full-zoneset vsan 2" is the correct command.  It will overwrite the full zoneset (identical) and ready to edit.

Similar Messages

  • If user disable cookie how to set and use session with URL Rewritting

    if user disable cookie how to set and use session with URL Rewritting by append session ID in url

    If cookies are disabled, then app server will automatically try to use URL rewriting for session control. Programmer's responsibility is to encode any links or redirects using
    response.encodeURL("/yourPage.jsp")
    and
    response.encodeRedirectURL("/yourPage.jsp")
    See API for details
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String))

  • TS3694 How can I active iphone 3G WITH ERROR 1015

    How can i active iphone 3g with error 1015?

    A 1015 error usually indicates that the iPhone has been jailbroken. Has yours? If so, we can provide no help with jailbroken iPhone in these forums, so you will have to look elsewhere for assistance.
    Regards.

  • Rename OSB resource with WLST

    Hi!
    I need help, please... I would like to rename OSB resources (e.g. OSB project name, proxy service,...) with WLST.
    Could anyone help me ho to do this?
    I tried to navigate in WLST but I can't find the OSB resource (for example proxy service) which I wanted to rename. Where should I look for it?
    And which WLST command do I have to execute?
    As I know the commands in WLST are in session, so the changes activate at the same time, don't they?
    Thanks for help in advance!
    Regards,
    Viktor

    Could someone please help me?
    Thanks!

  • How do I create a session with the datasource set in code not sessions.xml

    I want to create a session where I specify the J2EE datasource name dynamically in code. Normally, I would hard-code a J2EE datasource name in sessions.xml e.g.
    <login>
    <datasource>jdbc/MyApplicationDS</datasource>
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    </login>
    However, we don't want to use a hard-coded string "jdbc/MyApplicationDS". We want to be able to set this at runtime.
    I found this in the App Developer's Guide:
    Configuring an External Connection Pool in Java
    To configure the use of an external connection pool in Java:
    1. Configure the DataSource on the server.
    2. Configure the Login to specify a DataSource and the use of an external connection pool:
    login.setConnector(
    new JNDIConnector(new InitialContext(), "jdbc/MyApplicationDS"));
    login.setUsesExternalConnectionPooling(true);
    and this:
    Configuring Sessions with the sessions.xml File
    OracleAS TopLink provides two ways to preconfigure your sessions: you can export and compile Java source code from the OracleAS TopLink Mapping Workbench, or use the OracleAS TopLink Sessions Editor to build a session configuration file, the sessions.xml file.
    It seems like I should export and compile Java code that calls login.setConnector(), but I can't find out any information on how to do this. I looked at the MW user guide and I didn't see anything on this.
    I also found this by searching this discussion forum:
    To create a server session completely from code given a project you can use,
    project.getLogin().setConnector(new JNDIConnector(new InitialContext(), "your-datasource-url"));
    project.getLogin().setUserName("");
    project.getLogin().setPassword("");
    Server server = project.createServerSession();
    server.login();
    However, I don't know how to get the project.
    Thanks,
    Vicki

    If you are using a sessions.xml file, you can get your project from your session. Ensure that when you access your session from the SessionManager, that you do not have it login.
    Session session = SessionManager.getManager().getSession("my-session", false);
    session.getProject().setConnector(...);
    session.login();
    If not using a sessions.xml, you can either read your Project from the XMLProjectReader, or instantiate your Project class directly.

  • Create Customization File in OSB 10g with WLST script

    Is it possible to create a customization file the same as created from the OSB console with a WLST script?
    Can someone show me the syntax to do this? I need to turn this request around quickly and don't have time for a lot of trial and error.
    Edited by: DoubleT on Sep 29, 2009 6:44 PM

    I resolved my problem. The solution is follow (Java language):
    Set<Ref> domainRefs = alsbConfMB.getRefs(businessServiceQuery);
         EnvValueQuery evquery = new EnvValueQuery(null, // search across all
                   // resource types
                   envValueTypesToSearch, domainRefs, // search only in found refs.
                   false, // Search all resources
                   null, // the string we want to replace
                   false // not a complete match of URI.
    Collection<QualifiedEnvValue> founds = alsbConfMB.findEnvValues(evquery);
         List<QualifiedEnvValue> qualifiedEnvValueList = new ArrayList<QualifiedEnvValue>();
         for (QualifiedEnvValue qev : founds) {
              if (qev.getEnvValueType().equals(EnvValueTypes.SERVICE_URI)) {
                   qualifiedEnvValueList.add(qev);
         EnvValueCustomization projectEnvValsCustomization = new EnvValueCustomization("Customizations File for businss services ", qualifiedEnvValueList);
         List<Customization> customizationList = new ArrayList<Customization>();
         customizationList.add(projectEnvValsCustomization);
         OutputStream fileOutputStream = new FileOutputStream("testCustomization.xml");
         Customization.toXML(customizationList, fileOutputStream);
         fileOutputStream.close();

  • How to assign Activity to Participant with less assigned Instances??

    Hi!
    I'm trying to automatically assign the next Interactive Activity to the participant who has less assigned instances.
    I already know how to get a list of the participants who have the corresponding role, but I don't know how to get the number of assigned instances of a determined process that each participant has.
    Any ideas?? Thanks in advance!

    OK, I finally managed to do it :^O
    I get all participants with the Role "Iniciador", then get how many instances of the process they have assigned. And finally I send this instance to the participant with less work.
    logMessage("AutoAssign - Entering...");
    DirectorySession dirSession = DirectorySession.currentEngineSession;
    DirOrganizationalRole role = DirOrganizationalRole.fetch(session : dirSession, id : "Iniciador");
    Fuego.Fdi.DirHumanParticipant[] participants = role.fetchAssignedParticipants();
    BusinessProcess.connectTo(url : Fuego.Server.directoryURL, user : "redscare", password : "redscare", process : activity.process.name);
    String nombre="";
    int c=0;
    logMessage("AutoAssign - Entering foreach");
    foreach (element in participants) {
         filtro = InstanceFilter();
         filtro.create(processService : BusinessProcess.processService);
         filtro.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS);
         filtro.addAttributeTo(variable : VarDefinition.PARTICIPANT_ID, comparator : Comparison.IS, value : element.id);
         instances = BusinessProcess.getInstancesByFilter(filter : filtro);
         if(nombre=="" || instances.length()<c){
              nombre=element.id;
              c=instances.length();
    logMessage("AutoAssign - Exiting foreach");
    participant.next = Participant.find(name : nombre);
    participant.sticky = true;
    logMessage("AutoAssign - Exit. Participant.next= "+participant.next.name);

  • How to create a global role with WLST in WL 10

    Hi All:
    The approach in the protect_resources.py found in dev2dev, doesn't work. I've managed to convert the user and group creation to work with WL 10, but I can't for the life of me figure out how to create the role. There doesn't seem to be a createRole() on what I would think are the appropriate MBeans in poking around.
    Anyone know how to do this, or will I have to come up with a screen scraping solution that does this via the weblogic console, where it's so easy to do so?
    TIA
    Forrest

    Not having X's programing background I think of an action reference as something that tells Photoshop what to do. And yes it is like a little action that you write instead of record. For example the code that I and X posted could also be written like this
    var ref = new ActionReference();
    ref.putProperty( charIDToTypeID( "Prpr" ), stringIDToTypeID('tool') );// what key to get
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );// where to get it from
    var cTool = executeActionGet(ref);// in this case returns a one key descriptor
    var cToolTypeID =  cTool.getEnumerationType( stringIDToTypeID('tool') );// get the value of that key
    alert( typeIDToStringID( cToolTypeID ) );// make that value readable
    Most of the ordinals you will see will be target as Photoshop likes whatever you are working on to be active. You sometimes see next or previous. I can't recall seeing a 'normal ordinal' like first or second.
    There is not much in the way of documentation. Most of what I know comes from looking at the scriptlistner log, xtools and X himself, and a little bit of code I put together for exploring action descriptors and action list. It's not as nice as X's getterdemo but works more the way I think. It sends it's output to the ESTK console window
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref)
    var c = desc.count ;
    //for(var i=0;i<c;i++){ // to enumerate list
    //  $.writeln('Key '+i+' = '+desc.getType(i))
    for(var i=0;i<c;i++){ //enumerate descriptor's keys
      $.writeln('Key '+i+' = '+typeIDToStringID(desc.getKey(i))+': '+desc.getType(desc.getKey(i)))

  • How to calculate how much undo space a session is consuming

    Hello,
    How do I calculate how much space a session is currently consuming undo tablespace? Thank you.

    Try this query...it's a start anyways:
    select n.name, s.value
    from v$statname n , v$sesstat s
    where s.sid = &sid
    and n.statistic# = s.statistic#
    and (n.name like '%undo%' or n.name like '%rollback%')
    order by n.class, n.name
    Enter the SID when prompted.

  • WLST: How to find 'active' messaging bridges using WLST

    I am a beginner in WLST. However has gone through the WLST reference of online and offline commands also have understood the MBean Data model to some extent. I want to get the runtime MBean of a messaging bridge to know its state whether it is active or inactive for weblogic 10.3.3. Please advice with right direction to go ahead on this. Early response would be appreciated.
    Requirement is to view the runtime status of bridges through a script and start/stop as needed.

    This will probably help you a little on the way
    servers = domainRuntimeService.getServerRuntimes();
    if (len(servers) > 0):
      for server in servers:
        jmsRuntime = server.getJMSRuntime();
          connections = jmsRuntime.getConnections();
          for connection in connections:
               print(connection.getHostAddress());
        jmsServers = jmsRuntime.getJMSServers();
        for jmsServer in jmsServers:
          destinations = jmsServer.getDestinations();The runtime mbeans are listed here: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13951/core/index.html
    In particular the MessagingBridgeRuntimeMBean would be of interest to you.

  • How to use "URLConnection" in sessions with more than one screen??

    Hi,
    Requests can be sent to http servers using "URLConnection" objects. The responses can be parsed via their InputStream; so far so good...
    Question is:
    What can I do when I want to send a request to a server where there is first a log-in screen and only then there is the desired screen where the real request should be sent?
    Since the REAL request cannot be directly sent without the authentication check first, I need some kind of "context" or session in which I may make some consequent actions... Sending an independent request using a diferent URLConnection just won't do since I'm unauthorized via the second connection!!
    Generally, I need a way to send consequent requests where the second request may be sent only if the first request authenticated me...
    How can I do that? (Hope my question is clear...)
    --Amir.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Well, you will have to deal with the cookies or however the server knows you are authenticated. Personally I prefer to use something like Apache HttpClient rather than dealing with icky details like that on my own.

  • Null Pointer Exception thrown while activating OSB Session

    Hi all,
    I have a proxy which dequeues payload from a JMS queue. I couldnt activate the session if I have dequeuing proxy. When I try to activate the session it shows
    java.lang.NullPointerException.
    Things I noticed:
    Normal WSDL based proxies can be created. Only proxy which contains dequeuing mechanism was not allowed.
    I have a business service which Enqueues payload into the JMS queue.
    Tried creating new queues, Default queues available in WL server(SOAJMSModule), created new proxy, nothing worked.
    My OSB server's version is 11.1.1.6
    Admin and SOA server is 11.1.1.5
    Will this difference in version play a role?
    Any thoughts appreciated.
    Thanks
    Karthick

    Actually yes, difference between the versions of OSB and Weblogic "might" be the problem. OSB 11.1.1.6 should be deployed on Oracle Weblogic Server 11gR1(10.3.6) and not on 10.3.5
    I dont have any list of incompatibilities available but Oracle strongly recommends using the correct version of Weblogic and OSB together.

  • How to configure Active Directory LADP with WLS 8.1

    Hi
    somebody help me configure LDAP Active Directory with BEA WebLogic 8.1
    I can't understand what i should do.
    ThanX

    WLS 8.1 sp1 has couple of issues with Active Directory. You need to get fixes from
    BEA. sp2 is supposed to have these fixes included.
    Anant
    "Neil" <Neil-reply-in-newsgroup> wrote:
    This seems strange. I would make sure your installation is correct
    (particularly the lib/mbeantypes directory). If that is correct, I would
    test it with a new domain created with the domain configuration wizard
    to
    rule out any strange configuration possibilities. If both of those fail,
    I'd
    file a support case.
    - Neil
    "Max" <[email protected]> wrote in message
    news:[email protected]...
    Jay Zimmett <[email protected]> wrote:
    Read this:
    http://edocs.bea.com/wls/docs81/secmanage/providers.html#1172008
    Max KUlinich wrote:
    Hi
    somebody help me configure LDAP Active Directory with BEA WebLogic8.1
    I can't understand what i should do.
    ThanX
    I try do this but no god results. I get this exeption :
    java.lang.reflect.InvocationTargetException
    atweblogic.security.providers.authentication.LDAPAtnDelegate$LDAPFactory.newIn
    stance(LDAPAtnDelegate.java:3129)
    at weblogic.security.utils.Pool.getInstance(Pool.java:57)
    atweblogic.security.providers.authentication.LDAPAtnDelegate.getConnection(LDA
    PAtnDelegate.java:2646)
    atweblogic.security.providers.authentication.LDAPAtnDelegate.listUsers(LDAPAtn
    Delegate.java:1814)
    atweblogic.security.providers.authentication.LDAPAuthenticatorImpl.listUsers(L
    DAPAuthenticatorImpl.java:167)
    at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
    atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    atjavax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.jav
    a:1304)
    atweblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:464)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
    mpl.java:765)
    atweblogic.management.console.utils.Security.getUserList(Security.java:1436)
    atweblogic.management.console.actions.security.ListUsersAction.updateContents(
    ListUsersAction.java:56)
    atweblogic.management.console.actions.security.ListLWSecurityAction.getContent
    s(ListLWSecurityAction.java:85)
    atweblogic.management.console.tags.security.LWTableTag.getRowData(LWTableTag.j
    ava:462)
    atweblogic.management.console.tags.security.LWTableTag.printTable(LWTableTag.j
    ava:141)
    atweblogic.management.console.tags.security.LWTableTag.doEndTag(LWTableTag.jav
    a:133)
    atweblogic.management.console.webapp._security.__usertable._jspService(__usert
    able.java:327)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
    patcherImpl.java:382)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:286)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:151)
    atweblogic.management.console.actions.ForwardAction.perform(ForwardAction.java
    :35)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:173)
    atweblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
    et.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6310)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3622)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: netscape.ldap.LDAPException: error result (49); 80090308:LdapErr:
    DSID-0C09030F, comment: AcceptSecurityContext error, data 525, vece;Invalid credentials
    at netscape.ldap.LDAPConnection.checkMsg(LDAPConnection.java:4852)
    at netscape.ldap.LDAPConnection.internalBind(LDAPConnection.java:1757)
    at netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1294)
    at netscape.ldap.LDAPConnection.authenticate(LDAPConnection.java:1303)
    at netscape.ldap.LDAPConnection.bind(LDAPConnection.java:1613)
    atweblogic.security.providers.authentication.LDAPAtnDelegate$LDAPFactory.newIn
    stance(LDAPAtnDelegate.java:3108)
    ... 43 more

  • How can i active my iphones with one app id and using find my iphone apps

    hi
    i want to register 2 iphones with one app id ,and using find my iphone apps in my iphones ,
    how can i do it ?
    please help me

    this will not work for "find my iPhone".  It is always a good idea to have two seperate Apple ID's anyway

  • How to keep alive a session with a timeout

    my session have a timeout of 20 minutes (it's a system setting i cannot change)
    i run a program that generates a file excel that need 60 minutes to  end.
    i cannot run the program in background because OLE and creating excel is not supported
    is there a way to avoid my session time out?
    is there a way to make the sistem don't close my session while it's creating my file excel?
    thanks,
    Giacomo

    Giacomo,
    Try it.
    REPORT  zz_keep_alive.
    CLASS lcl_trigger DEFINITION.
      PUBLIC SECTION.
        METHODS: fim_timer FOR EVENT finished OF cl_gui_timer.
    ENDCLASS.                    "lcl_event_handler DEFINITION
    CLASS lcl_trigger IMPLEMENTATION.
      METHOD fim_timer.
        cl_gui_cfw=>set_new_ok_code( new_code = 'ONLI' ). "ONLI = Executar
      ENDMETHOD.                    "fim_timer
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    DATA: r_timer   TYPE REF TO cl_gui_timer.
    DATA: r_trigger TYPE REF TO lcl_trigger.
    PARAMETERS: p_uzeit TYPE sy-uzeit.
    AT SELECTION-SCREEN OUTPUT.
      p_uzeit = sy-uzeit.
      CREATE OBJECT: r_timer, r_trigger.
      SET HANDLER r_trigger->fim_timer FOR r_timer.
      r_timer->interval = 60.
      r_timer->run( ).
    Hope it helps.
    Rgs
    Paulo Afonso Cordeiro

Maybe you are looking for

  • BAPI to change the Scheduling agreement Qty  in ME38

    Hello Sapiens, Is there a way by which I could change my scheduling agreement qty to my GR qty in t.code me38 . So that i make my open qty 0. this task has to be done to run the MRP. Is it possible using BAPI. Shanoj

  • Re-install Problem

    Problems with the Finder (no desktop or toolbar) inspired me to re-install 10.4. At the logon screen, I was stuck because it wouldn't take my name and gave no further options. I reinstalled, this time adding a new password to the System Administrator

  • Calculate sales tax based on all line items on the order

    My users have asked to determin tax on the sales order, based on all the line items on the order. For example, if all the items are for product only, or if all the line items are for labor only, or if there is a mix of product and labor, Order 1 line

  • Full Duplex Lost with Wave Files on SB Live! Value (W

    <SPAN>Following a clean install upgrade from WinME to WinXP SP2 on a Dell Dimension 400 with an OEM-installed SB Li've! Value (WDM) PCI card onboard, full duplex wave audio (recording one wave file while playing back one or more other wave files) ups

  • Can I combine two objects into one?

    Hi all: I got a problem here: I just wonder if anyone knows how to combine the informations which I grabed from a SQL database to an object I obtained from an OO database at runtime. I look forward to your reply and appreciate your concern! regards D