followed a WebSphere Enterprise Service Bus

All,

I'm watching a cluster (2 knots) WebSphere Enterprise Service Bus (IBM), but I get mixed results.  I have two groups of modules that are very well monitored, however, there are two others who are not. the error I get is 'one or more modules of the SoaEndpointLookupModIID3758 application that is running on the server application.l12276 of cell BSE are not started.' but I see on the administration console that they actually work.  So, my questions are:

  1. Has anyone encountered a similar problem before?
  2. I looked at the document that told me the properties page for javaee surveillance (https://support.quest.com/SolutionDetail.aspx?id=SOL62266) and can these settings be filter the other two groups?  the groups similar supplychain. , application. , support. , and

The model only the problem is that both groups have massive amounts of alarms and the others are golden color.

Thanks for the help in advance,

Kaleb

A new script was necessary to solve the problem.  We had to use the following to find out what the problem was.

===

com.quest.common.log import. *;

CAT = LogCategory.getInstance ("JavaEECartridge");

AVAILABLE = "available";

PRESUMED_UNAVAILABLE = "PresumedStopped";

PRESUMED_AVAILABLE = "PresumedStarted";

Not AVAILABLE = "not available";

MODULES_STARTED = "modulesStarted";

MODULES_TARGETED = "modulesTargeted";

Check for blackout agent

try {}

agentID = scope.monitoringAgent?. agentID;

If (agentID! = 0)

{

If (server ['AgentService'] .findById (agentID.toString ()) .getIsBlackedOut ())

Returns a null value.

}

}

catch (System.Exception e)

{

CAT.ignoreException ("WebSphereApplicationInstance.RuntimeState: could not check for agent blackout.", e);

}

try {}

msObs = server.get("DataService").retrieveLatestValue (range, MODULES_STARTED);

long freshnessTestInMin is registry ("WebSphere_ApplicationState_Freshness_Minutes");.

No current value for 5 minutes, don't assume demand is declining.

If ((msObs == null) |) ((currentEvalTime - () .getTime ()) msObs.getEndTime > freshnessTestInMin * 60000) {}

Return PRESUMED_UNAVAILABLE;

}

If (msObs.getValue () .getMin ()! = scope.get (MODULES_TARGETED)) {}

Return UNAVAILABLE + ":Target:"+scope.get(MODULES_TARGETED)+":Started:"+msObs.getValue().getMin();

} else {}

Return AVAILABLE + ":Target:"+scope.get(MODULES_TARGETED)+":Started:"+msObs.getValue().getMin();

}

} catch (Exception ex1) {}

CAT.errorUnexpected ("Derived metric 'WebSphereApplicationInstance.RuntimeState' encountered an error during the evaluation." + ex1.toString ());

Return PRESUMED_AVAILABLE;

}

===

the final solution was to adapt the script parameters derived by the following:

===

Thank you for the information.  To correct the problem.  Please make the following change to the metric calculation derived.

Of

If (msObs.getValue () .getMin ()! = scope.get (MODULES_TARGETED)) {}

TO

If (msObs.getValue () .getMin)< scope.get(modules_targeted))="">

Please save (2 save the keys to hit).  And once which is recorded, in the collection intervals then 1 or 2 (less than 5 minutes) you should start to see the State properly.  Please let me know if that solves the problem.

===

After that we had to remove all java legecy objects by using the following script

===

topSvc = server.get ("TopologyService");

OBJS = #! WebSphereCell # .getTopologyObjects ();

msg = new StringBuilder();

CELLINPUT = "Cellnames";

APPINPUT = "ApplicationName";

for (obj in objs) {}

Count = 0;

Cellnames = obj.getName ();

Msg. Append ("\nWebSphere Cell Name is"). Append (Cellnames);

println ("name of the WebSphere cell is" + Cellnames);

If (cellName.equals (CELLINPUT)) {}

applications = obj.get("applications");

{(app in the applications)

appName = app.getName ();

If (appName.equals (APPINPUT)) {}

Count ++;

Msg. Append("\nFound application to delete"). Append (AppName);

println ("found application to remove" + appName);

try {}

instances = app.get("instances");

for (instance in instances) {}

topSvc.deleteObject (instance);

}

topSvc.deleteObject (app);

Msg. Append ("\nSuccessfully deleted application instance.");

println ("instance successfully removed application.");

} catch (Exception ex1) {}

Msg. Append("\nException while Deleting application instance:"). Append (EX1);

println ("Exception when deleting application instance:" + ex1);

}

}

}

If (County<>

Msg. Append("\nNo applications with name:"). Append (APPINPUT).append("found_to_be_deleted_in_Cell:").append (CELLINPUT);

println ("no application with the name:" + APPINPUT + "found in the cell to remove:" + CELLINPUT);

}

} else {}

Msg. Append("...not desired Cell, skipping.:"). Append ("\n");

println ("... not desired cell, jump");

}

}

Return msg.toString ();

===

I really hope this helps someone out there

Tags: Dell Tech

Similar Questions

  • Service Bus (OSB) does not collect point endpoint Repository (OER) Enterprise

    Hello

    I harvest a based on WSDL HTTP Proxy Service of Oracle Service Bus (OSB) to Oracle Enterprise Repository (RJO), but the end point is not harvested. Other objects are harvested with success.

    Can someone please

    Thank you
    Umar

    (4) using the Administration System-> export resources, I exported the project OSB containing my resources (service WSDL, XSD, business & proxy). The result is a jar file.
    (5) I used the command moved in with OSB line Harvester to harvest the jar of the OSB in OER project.

    Here you make the mistake. You have to harvest metadata (deployed) run configuration and not the exported jar (which is design time). Modify the $MW_Home\Oracle_OSB1\harvester\HarvesterSettings.xml and remove the remoteQuery. Specify the Project Server and connectivity in subitem ProjectName name, URIs, and the credentials of the remoteQuery element.

    Now, run the harvester ($MW_Home\Oracle_OSB1\harvester\osb11g-harvest.bat or $MW_Home\Oracle_OSB1\harvester\osb11g-harvest.sh) and you will see end points created in REL.

    Kind regards
    Anuj

  • Oracle Service Bus 10 gR 3 - only omitted could get WLS lock change

    My question is, how to release this block?

    Details follow...

    Oracle Service Bus 10 g 3 on Windows 2003 Enterprise Edition.

    I'm following 1 tutorial. (Sheesh, I can't even this right!)
    Around page 3 - 28-"to test the ManagerLoanReviewService of loan application routing.
    Point 1 says to start the server. Without thinking, I did exactly that.
    The problem is, it was already running, otherwise, I would not use the sbconsole to do the editing.
    Of course, he found he was already running and not started again.
    Problem is, after stopping the server, PointBase command files closed.
    So, after a false start, I'm done with a server without database under it.
    Very well, I restarted.

    Now, by using the activate session ("" sbconsole/sbconsole.portal? _nfpb = true & _windowLabel = ViewChangesPortlet & ViewChangesPortlet_actionOverride = % 2Fchangemgmt % 2FSessionActivate & _pageLabel = ChangeManagement & ViewChangesPortletactivate = activate ' ")

    I can't activate my session, as it says the following: -.

    Cannot get WLS Edit lock; It is currently owned by user weblogic. This indicates that you either started a WLS change and forgot to turn it on, or another user performs WLS changes that still need to be activated. The WLS Edit lock can be released by opening a session on the WLS console and either by undoing the locking or activate the WLS changes pending.

    I show exceptional sessions, there is only one.
    I turn to this session.
    I can not activate this session.
    I tried to restart the AdminServer.
    He speaks by unlocking the console Admin WLS. Where? How?

    Thanks in advance.

    ... Lyall

    PS. I gave up on that and simply amazed the entire lot and started (returned to validate the installation and restarted the full tutorial). However, it would be useful to know how to solve this problem properly, if I ever find myself in the same scenario again.

    Connect to the user weblogic admin console:

    http://yourhost:port / console (Note: this is different from console SB which is /sbconsole)

    It should show pending changes on the left side of the screen, just click Cancel all.

  • Business Services to companies and Oracle Service Bus

    Hello
    We use the AIA, and we have developed a number of EBS. These are composite applications containing a mediator and are deployed on the server of the SOA.
    Do I have reason to say that another option is to use the Oracle Service Bus and replace the composite application of BSE by BSE in the Bus of Service Oracle?
    Robert

    Robert,
    what you describe is technically possible, however, I see hardly any advantage that would compensate the compromise (additional infrastructure, followed through 2 more difficult instance tracking tools, etc.) of such an approach.

    What advantage you try to achieve during the replacement of composites of Ombudsman with services of the OSB?

    Gerhard

  • Oracle Service Bus - Unix permissions on telnet

    Hi all

    I am completely new to Oracle Service Bus. The problem I'm facing is that OSB 11g should be used in a sense rather specific environment - OSB must send messages CSV format via telnet to a legacy system. Until the connection must be authorized by a Unix login and a password. As login/pass authorization is quite simple with these FTP or HTTP transport, I came up with two solutions:

    development of a new transport of socket with an appropriate authorization (ie. using http://sadun-util.sourceforge.net/) based on sample-transport procedure provided with the installation of OSB
    JMS using taken JCA adapter and the legend of Java with a method of authorization in the request pipeline - is that valid?
    My question is what is the best way to solve the problem? Is there a better way to solve these problems?

    Thanks in advance for your answers.
    Kind regards
    P.

    OK, I understand. Another pain of existing service. :-)

    Well, the information you need also a response (and the file transport not only one-way) are new to me and it changes a lot. I agree that in this case, ftp is not a good choice.

    I have recommended the legend of java because I followed the otherwise obscure idea solutions must be processed quickly and easily if we can focus on clean the solution later and rather expensive and still incorrect solution now. However, if you think that your old system will live with you for years, you can try the transport custom instead. It will be more comfortable to work with and it's important for long term solutions.

    If you decide to try the legend of java option, you do not have worry about the implementation of transportation custom at all. You can create the custom Java class by using for example the http://sadun-util.sourceforge.net/ telnet client (as you suggest) and that's all. A simple POT with your client (static java method) called from your proxy stream. You can even use the service account with your java through fn - bea Locator: lookupBasicCredentials:
    http://download.Oracle.com/docs/CD/E13171_01/ALSB/docs30/Userguide/XQuery.html#wp1101438
    I've never tried, but I think that, with the custom transport provider, you can have better support for the use of service (without this xpath function) account.

    Moreover, it is quite an interesting source for design considerations:
    http://download.Oracle.com/docs/CD/E13171_01/ALSB/docs25/transportsdk/architecture.html#wp1046994
    You must also give a try looking for the forum. Some similar topics have been discussed here in the past.

  • Query about the tutorial for Oracle Service Bus (OSB 10 g 3)

    Hello

    I'm working on a tutorial for Oracle Service Bus (OSB 10 g 3).
    I created the service proxy and the Sales Department, using the Oracle Service Bus console.
    The details are the following:
    Proxy service: LoanGateway
    Service1 business: a value of 4.9 or less causes the message to be routed to ManagerLoanReview business.
    Business service2: a value equal to or greater than 5.0 causes the message to be routed to NormalLoan business.
    When I send the request message, so that it gets routed to the proxy service to one of the business service it gives following error.

    ---------------------------------------------------------------------

    Document request

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    < xmlns:soap soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" >
    < / soap: Header >
    < soapenv:Body >
    < xmlns:exam review: processLoanApp = "http://example.org" >
    < loanRequest xsi: type = "java: LoanStruct" xmlns:java = "" java: normal nbsp "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance">"
    <!-in option: - >
    < name: java > Smith < / java: name >
    <!-in option: - >
    < java: SSN 1234567 > < / java: SSN >
    <!-in option: - >
    < java: > 4.1 rate < / java: rates >
    <!-in option: - >
    < java: Amount > 9000000 < / java: Amount >
    <!-in option: - >
    < java: NumOfYear > 10 < / java: NumOfYear >
    <!-in option: - >
    < java: Notes > loan application examination Service Manager < / java: Notes >
    < / loanRequest >
    < / review: processLoanApp >
    < / soapenv:Body >
    < / soapenv:Envelope >



    Response document

    The invocation was an error:.

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    < soapenv:Body >
    < soapenv:Fault >
    soapenv:Server < faultcode > < / faultcode >
    < faultstring >
    BEA-380002: tried them all: '1' address, but not able to connect via HTTP to the server: 'localhost', port: "7021 '
    < / faultstring >
    < detail >
    < con xmlns:con: fault = "http://www.bea.com/wli/sb/context" >
    < con: errorCode > BEA-380002 < / con: errorCode >
    < con: reason >
    Tried everything: '1' address, but not able to connect via HTTP to the server: 'localhost', port: "7021 '
    < / con: reason >
    < con: location >
    < con: node > RouteNode1 < / con: node >
    request pipeline - < con: path > < / con: path >
    < / con: location >
    < / con: fault >
    < / details >
    < / soapenv:Fault >
    < / soapenv:Body >
    < / soapenv:Envelope >



    Response metadata

    < con xmlns:con: metadata = "http://www.bea.com/wli/sb/test/config" >
    < tran:headers xsi: type = "http:HttpResponseHeaders" xmlns:http = "http://www.bea.com/wli/sb/transports/http" xmlns:tran = "http://www.bea.com/wli/sb/transports" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
    < http:Content-Type > text/xml; charset = utf-8 < / http:Content-Type >
    < / tran:headers >
    < tran:response - code xmlns:tran = "http://www.bea.com/wli/sb/transports" > 1 < / code tran:response - >
    < tran: encoding xmlns:tran = "http://www.bea.com/wli/sb/transports" > utf-8 < / tran: encoding >
    < / con: metadata >

    Tried them all: '1' address, but not able to connect via HTTP to the server: 'localhost', port: "7021 ' - indicates that BS is trying to connect to port 7021 on the local host;
    Are you able to telnet localhost 7021 machine running the BSO?
    Please check the file config.xml for the 7021 server port

  • B2B integration Oracle Service Bus

    We strive to reach B2B & Oracle Service Bus integration. We want to generate HL7 binary message with the entry as HL7 xml. B2B is configured to do this. As I use the batch command line utility to generate the message.

    Oracle.tip.adapter.B2B.data.IPEnqueue Java E:\oracle\OraAS\ip\tutorial\HL7\runtime\enq_a01.properties


    We must achieve this goal of OSB. OSB provides functionality to invoke a java class methods. So to place the message of waiting I actually invoke IPEnqueue main method of b2b jar file:

    String args [] = {"enq_a01.properties"};
    IPEnqueue.main (args);

    It works perfectly well for the prompt command, but when I try to do it error OSB...

    Java: 42).
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationActio
    n.Run(WebAppServletContext.Java:3496)
    to weblogic.security.acl.internal.AuthenticatedSubject.doAs (Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    to weblogic.servlet.internal.WebAppServletContext.securedExecute (WebAppS
    ervletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute (WebAppServletC
    ontext. Java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run (ServletRequestImpl.j
    AVA: 1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.NullPointerException
    at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:212)
    at PublishData.Invoke (PublishData.java:13)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.
    Java: 39).
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces
    sorImpl.java:25)


    Can you please comment on the exception stack trace that occurs at the very top of the exception. Also please let me know if the approach that I'm following to survey the message is good.
    Or is there a way to survey the message since we offer OSB & B2B. Is there a B2B features outside that would pick up the file in the folder?

    This isn't the way to do it. Using the ESB or BPEL normal, you can put a message on AQ using the standard QA adapter or the JMS adapter (also standard). I don't know if the OSB has a QA-adapter, but I guess so. If so, use it. It must surely have a JMS adapter, and then you can set a custom B2B internal delivery channel that uses a JMS queue.

    For BPEL/ESB, there is also a specific adapter in B2B, but there use AQ internal and previously has not been certified for the latest version of the SOA Suite. QA should be your best bet.

    There is a tech note describing how to set up the things of BSE and another for BPEL. You should be able to use them as a starting point, it should be the same in OSB.

    Good luck!

    Edit: also, you can define a delivery channel internal using a B2B file system folder, but I would recommend the above.

  • Can I use other databases such as Storage Service Bus for Windows Server 1.0 beta?

    I tried the Service Bus for Windows Server 1.0 beta, everything works fine, but I want to know:

    Can I use a custom database provider to store messages and settings?
    or the windows server team plans on providing this functionality?
    Thank you.

    Hi zhengwb,

    I would suggest to repost your question among our professional audience of COMPUTING in Windows Server TechNet forums:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    Thank you!

  • Oracle Service Bus rest cross

    Hello

    I work with Oracle Service Bus with the REST Web Services. My REST web services have operations defined by the URL like any other service of REST:

    /Operation1

    /operation2

    /operation3

    I need to call this Service REST through Oracle Service Bus via a transmission. Now the problem is that endpoint changes for each operation. Can I create a Service of Proxy REST that can work with all 3 operations, or, do I have to create a service proxy by operation?

    Kind regards

    Nestor

    Hi Nestor,.

    If I understand your question correctly, you want to create the REST service with various resources (I meant different relative URLS). I did not understand your question "Do I need to call the REST through Oracle Service Bus Service via a pass-through".

    Ideally REST because you might be knowing, services work on the HTTP verbs for operations CRUD and you talk about the different relative URLS for features different business. As has said, you can have a unique proxy service, and then in the pipeline, you could get the "parent-url" of the REST service, and then subject to manipulations of strings (i.e. for ex /operation1; /operation2; /operation3 servlet context) you could dynamically invoke the various points of endpoint (endpoint uri property).

    It will be useful.

  • Java Native Interface (JNI) for connectivity Oracle Service Bus

    Hi all

    We have a legacy database and its functionality exposed by some of the C/C++ API programs. Our requirement is to make the use of these APIs and integrate the Oracle Service Bus (ESB of Oracle Fusion Middleware)/BPEL

    From now on, the C/C++ API have been compiled into a library and called from a JAVA JNI class. So according to the concepts of the JNI, java class simply calls the native methods that are implemented in C/C++, by calling to this library.

    Here is an example of an implementation:

    public class DatabaseConnector {

    public native String establishConnection(  String ServerName, String UserName, String Password );

    static {
      
    System.loadLibrary(LIBRARRY_NAME);
    }

    public static void main(String[] args) {

      
    DatabaseConnector dbconn = new DatabaseConnector();  
      
    String result = dbconn.establishConnection(args[0], args[1], args[2]);
      
    System.out.println("Result of Connection Establishment: " + result);

    }
    }

    Autochanger_name (libLIBRARY_NAME.so) contains the implementation of the native method for creating the connection, refreshing connection, sending message, etc.

    Now, what is the best way to integrate this feature of JNI in an Oracle Service Bus/BPEL?

    Legacy-> Db-> C/C++-> JAVA JNI API? -> OSB/BPEL

    1. Is it really possible to write a based on this JNI EJB session bean? I understand, EJB standards are against loading native libraries directly in the Java class, as a result of NYI.
    2. Is it possible to write any custom JCA adapter for this? What are the possible areas that I need to answer then?
    3. All other possible ways that you think would be appropriate?

    There is a requirement of the settlement planning. As a connection method refresh should be called every X minutes to keep the connection open. Topology wise there are no restrictions to run native code and the Weblogic container on the same machine.

    Any suggestions much appreciated. Let me know if you need more information.

    Kind regards

    Billon

    Hi Bhaskar,

    Both JAX - RS and adapter resources must be built on top of the NYI... With the help of Tuxedo allows to eliminate the use of the NYI...

    If you need/want to eliminate JNI, the solution is to make the native libraries behave as a provider of services, exhibition services via a network protocol... You can do this with or without smoking, but I like the Tuxedo approach...

    However, if you're ok with JNI, build a resource adapter...

    See you soon,.

    Vlad

  • Custom preferences or properties in Oracle Service Bus?

    Hello

    Can we have custom properties or preferences as in BPEL (bpel.preference) in Oracle Service Bus?

    We want to store a static string value that changes for every Dev/Test/Prod env

    Thank you.

    Hello

    Many use a xml/xquery file with a fixed xml and retrieve content as a transformation in your proxy service. It is quite easy and you can change the settings of the console of the OSB...

    See you soon,.

    Vlad

  • Could create us some accounts connection service bus Web console?

    Hi all

    When we create a weblogic for OSB domain, we must provide an account (username and password) to access the service bus and weblogic Web console (example: username weblogic). And if we have three developers use this connection bus service account Web console, they can use Create/Active Session in the center of change to work. And they may encounter some conflicts when it is active a task, then could create us three account for these developers to access the bus service Web console?

    Kind regards

    Going to happen because of the cache of the browser. Try to connect with a user in a browser (let's say firefox) and with another user with a browser (IE) different or better yet, try to connect to different machines using different users. You shouldn't face this question then.

  • Extention of service Bus for JDeveloper

    Hello

    How can I add an extension to my JDeveloper to create and modify projects of the BSO in Jdeveloper? now there is nothing to define BSE OSB projects...

    TNX,

    BSE is the 'old' Oracle service bus. The design for the environment is JDeveloper
    OSB is the new bus service. The design for the environment is Eclipse with the plugin from the OSB.

  • Oracle 11G of OSB. Unable to find the Page of Configuration Oracle Service Bus.

    Hi all

    Sorry for the silly question apparent but I am a student and learning product.

    I OSB demand to 11G installed and running with a service proxy and routing work. The Oracle ESB documentation http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15866/ui_ref.htm#i1327746 to Chapter 4.4.2 Oracle Service Bus Configuration Wizard new project of
    Use this wizard to create a configuration Oracle Service Bus project. For the configuration options, see Section 4.4.3 "Page of Configuration of Oracle Service Bus.
    4.4.3 oracle Service Bus Page of Configuration.

    I don't see the configuration page from anywhere in the left pane of the console. Am I missing something? The project creation works well but I do not see the Wizard configuration.
    Thank you.
    Concerning
    Salvatore Ilardo

    you will see that the wizard project in your eclipse ide tool configuration.

    When you are in the perspective of the Oracle Service Bus, create new project > Oracle Service Bus. and there you have this option.

  • Getting the error "URI index 0 is not valid" in Oracle Service Bus

    Dear friends,

    I get an error "URI index 0 is invalid" during the execution of customization files in Oracle Service Bus. I am not able to understand why it's happening. Help, please.

    Thank you.

    Kind regards
    Palak Mathur

    Change the:

    
    
    http://app-1ip-alsb-01.corp.intranet/ServiceAddressV1Proxy
    1
    
    
    

    Section of:

    
     
              http://app-1ip-alsb-01.corp.intranet/ServiceAddressV1Proxy
              1
            
    
    

    in your customization file and try again.

Maybe you are looking for