ESB Implementation in Java to connect various services

Hi,
I am looking to use ESB to integrate various webservices running in differenr platforms like one in Java,PHP and .NET.
I am using Oracle SOA Suite. Is there any examples in the internet how to do this? I am not able to find any? It will be really great if some can provide some light into this for the below points:-
1) Setting up the ESB infrastructure
2) ESB implementation in java
3) To implement ESB we need to use only the JMS?
Please do provide some helping hand which will help me to understand it and complete the process.
Thanks in advance.

I decompiled HttpClient and ConsoleClientImpl and this is what I found --- The following URL is what is constructed,
http://localhost:80/esb/j_security_check and these parameters are passed as POST - j_username=oc4jadmin&j_password=welcome1
I tried
http://localhost:80/esb/j_security_check?j_username=oc4jadmin&j_password=welcome1
and got 404 error.
However, this exercise confirmed that hostname=localhost and port=80 is just fine.. the problem seems to lie somewhere else

Similar Messages

  • Java HTTP Connection Filed - It's a DNS problem

    Hello all,
    my first post is for talking about this infamuos error of java.
    When i try to view a page that use Java for one of it's applet, the applet doesn't work and Java console report among other errors:
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    But if i nslookup the ip of the address and i try to download the applet by this way... all go fine.
    I tryed also Java Web Start -> same errors, but referred to URL Resource downloading.
    I's clearly that something in java or outside java is avoiding the NS resolution.
    I disabled all the firewalls, all the antyspyware... ALL...
    I try also Safe Mode with networking... eheh...
    nothing... java doesn't do NS.
    It's a big bug... i use the latest java 1.05_05.
    I'm not behind a proxy, i use firfox 1.0.7 and ie 6.0 sp2.. and windows xp... All give the same errors.
    If someone managed the error please could help me? I read the other posts but it seems to me this is a open bug.
    Goodbye,
    eTomm

    It's not difficult understand the topic.
    The actual DNS resolution implementation of Java is faulty.
    It's the ONLY service in my Windows machine that couldn't do a correct DNS resolution, stand alone application, Internet Explorer and Mozzilla web pages with applet-
    If i use IPs all go fine... when i use domain java fail.
    ALL java... non only applet. Also Java Web Start fail.
    I controlled proxy, there isn't. i say to java to do a direct connect.
    The only thing in my net configuration of strange is the router, a zyxel 660hw... nothing else... my pc work fine with all the rest of the programs that use IPs. Only java is faulty.

  • BEA / Wily:  Financial Webinar - Achieving Availability, Performance and Control of Java Applications in Financial Services

    Event Date: October 1, 2002 at 11:00 AM Pacific (US), 02:00 PM Eastern (US)
    To register: http://regsvc.placeware.com/?wily-bea1001
    Title: Achieving Availability, Performance and Control of Java Applications
    in Financial Services
    Abstract:
    In today's competitive environment, financial institutions must focus on
    three key business goals:
    a.. Creating a customer-centric enterprise to maximize value to customers
    and increase share of wallet
    b.. Improving transactional efficiency for rapid delivery of the right
    products, services and information to customers and to employees
    c.. Accelerating the decision making process to mitigate risk and improve
    returns.
    BEA and Wily Technology have helped a number of financial services firms
    meet these objectives by delivering high-performance business solutions that
    meet rigorous demands for performance, reliability and scalability.
    On October 1, 2002, Wily Technology and BEA will present a joint Web seminar
    titled "Achieving Availability, Performance and Control of Java Applications
    in Financial Services" with Eric Gudgion, Principal System Architect,
    Technical Solutions Group at BEA and Chris Farrell, Director of Technical
    Marketing at Wily. This Webinar will showcase the many advantages that the
    WebLogic® Enterprise PlatformT and Wily's Introscope® offer financial
    services firms.
    Attendees will learn how WebLogic Server, BEA's unified, simplified and
    extensible solution, provides a robust platform for the development and
    deployment of enterprise Java applications. Some examples of what financial
    institutions can achieve with BEA include Multi-channel Services Delivery,
    Straight-Through Processing, Wealth Management and Cash Management.
    Wily Technology will highlight Introscope's ability to manage financial
    services Java applications by pinpointing component-level performance issues
    in real-time, whether in the application, application server or
    Java-connected back-end systems. Wily's suite of Java application management
    solutions offers a comprehensive platform for achieving 24x7 application
    availability, enhanced performance and better control of IT resources.

    First of all you should check out which products are supported on 64bit :- http://www.oracle.com/technology/products/bi/hyperion-supported-platforms.html
    If you are planning on using windows 64bit EAS then you will have to manually deploy the web application, it cannot be automatically deployed.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Difference between various Service Packs in GRC 10.0?

    Hi,
    Can anyone please let me know that what are the various Service pack available for GRC 10.0 (only for AC) , we are currently on SP 10 and no idea about the higher versions.
    Please let me know the higher versions and the differences , pros and cons for the same.
    Please share is someone have Any URL or  Document with the required information.

    You can check the sap notes and support packages.
    Each support package includes corrections, new functions, developments, etc.
    It depends on your requirement if it makes sense to update or not. I am on SP13 and at the moment it does fullfil all my needs. So whether I update or not depends on the requirements I have from business. It is always possible to implement notes if you have errors.
    Personally I recommend not to be first with a new support package as it always contains errors.
    You can check the latest support package in PAM: http://service.sap.com/pam
    Here an overview of the latest SP's for Access Control 10.0:
    Regards,
    Alessandro

  • Java Application connectivity to Coherence cluster

    I am looking around the options for Java application connecting to Coherence cluster..
    These are the options I seem to have
    1. Coherence Extend -
    2. Make Java application as a cluster member with no storage
    what are the pros/cons?
    Thanks

    Hi,
    Here are my thought off the top of my head
    *1. Use Extend if...*
    <li> Your application is short lived - i.e. does not run for very long (minutes)
    <li> Your application is not located close (in network terms) to the rest of the cluster
    <li> Your client uses a different version of Coherence to the cluster (there are caveats around this)
    <li> The client application is being developed by another team and its release cycle is not under your control
    Pros:
    Good for short lived applications
    Good for remotely located clients
    Can be written in other languages than Java
    Cons:
    Extend will perform slower than a cluster member as every request goes via the proxy server and then to the rest of the cluster.
    If using an invocation service where you want to run invocables across the cluster it needs a two step process.
    A badly written Extend client can perform requests which could take out the proxy server
    *2. Use a cluster member if...*
    <li> Your application runs for a long time - i.e. it is something like a web or application server
    <li> Your application is well behaved - i.e. does not have big GC pauses. A very badly behaved cluster member can destabilize the rest of the cluster
    <li> Your application is located close (in network terms) to the rest of the cluster
    Pros:
    Faster than an Extend client
    Cons:
    Needs to be stable
    Needs to be located close to the rest of the cluster
    Hope that helps as a start
    JK

  • What the mechanism of the Java Proxy for Web Services in WLS 8.1

    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

    Hi Shannon,
    The type of proxy I'm familiar with is at the http connection level and
    associated with the networking properties in the JDK, See:
    http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
    Your question may be related to JWS proxies, See:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
    You may want to ask this question in the workshop newsgroup.
    Hope this helps,
    Bruce
    shannon lee wrote:
    >
    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

  • BT and Java - Btl2Cap Connection (Mobile phone and Digital Pen)

    Hi!
    First a short Introduction:
    For a project I have to stream data from Maxell Penit DP201(4.1) to a mobile device (over a midlet). Data Connection is built up over Bluetooth.
    My Questions are: Is btl2cap the right method for connecting digital pen and mobile phone?
    If yes, is the btl2cap string correct?
    The pens device adress is 00-07-CF-56-05-5D
    Does anyone know a sample application like this I want to program?
    Structure;
    package /
    Midlet
    Class extending thread
    Here's the code:
    public void run() {
        //Bluetooth
        //String connString = "btspp://0007808303AA:1;master=false";
        String connString = "btl2cap://localhost:0007cf56055d;ReceiveMTU=512;TransmitMTU=512";
        System.out.println(connString);
        try {
                LocalDevice local = LocalDevice.getLocalDevice( ) ;
    // build ServiceRecord
                local.setDiscoverable(DiscoveryAgent.GIAC);
    L2CAPConnectionNotifier service = (L2CAPConnectionNotifier)
    Connector.open(connString);
    ServiceRecord sr = local.getRecord(service);
    // accept Connection
    L2CAPConnection connection = (L2CAPConnection ) service.acceptAndOpen( );
            } catch (Exception e) {
                e.printStackTrace();
            }Thanks to all who can help me to reach the next step in my project.
    Best regards

    Hi,
    The reason for the compilation error is that the IDE is not able to find the jar file where bluetooth api is packed. try to put the jar file in lib directory of the project. Some IDE generates class files even though there are some compilation errors in java file.
    So it is better to resolve compilation errors before putting it in the device.
    The reason why the app freezes in the device is that you have not used a seperate thread to do the inquiry, try to use a thread where the inquiry will be done so that the apps main thread will respond to the user input.
    Hope this help you.

  • JavaService - can install java program into win2k service, but cannot run

    i have a JavaService problem: i can install java program into win2k service, but cannot run
    the version of javaservice is 2.0.7.0
    the following is the message:
    C:\DailyUpdate\dist>JavaService.exe -install DailyUpdate C:\Program Files\Java\j
    dk1.5.0_05\jre\bin\client\jvm.dll -Djava.class.path=C:\DailyUpdate\dist\ftpbean.
    jar;C:\DailyUpdate\dist\mysql-connector-java-3.0.10-stable-bin.jar;C:\DailyUpdat
    e\dist\DailyUpdater.jar -Xms16M -Xmx64M -start DailyUpdateHandler -params C:\Dai
    lyUpdate\dist -out C:\DailyUpdate\dist\logs\out.log -err C:\DailyUpdate\dist\lo
    gs\err.log
    The DailyUpdate automatic service was successfully installed
    The DailyUpdate service is starting.
    The DailyUpdate service could not be started.
    The service did not report an error.
    More help is available by typing NET HELPMSG 3534.

    I might be doing some programming for my company soon
    which will require a program to monitor a database
    and whenever there is a change to certain fields, it
    must copy certain fields into another database. When I see "whenever thiere is a change to certain fields" I tend to think "triggers" - but maybe this won't work for you 'cause of the "another database" part. And the fact that triggers are inherently evil.
    [snip]
    Is it possible to run a Java program as a windows
    service? And if so then how would you go about it? I'd hit Google - there're a couple ways to do this.
    [snip]
    Also,...if I were to use one of those programs which
    can make an .exe of a Java program, then do you still
    require the JRE to be on the machine? It depends on how you did the conversion. If you compile to native then no, if you just wrap up a JRE then yes.
    Why I ask is
    that I occasionally get asked to do small development
    projects for my company, but we are a microsoft
    partner and therefore do all the development in C#
    and the like. So I would like to just implement as
    many things in Java as I can, just to show everyone
    that Java can do exactly what C# can do. But its
    difficult to convince people of this since I always
    require the JRE and they dont. Of course, they require the .NET framework and you don't. And last I looked that thing was around 23 Meg.

  • Implementing a java connector

    Has anyone tried implementing a JCA Resource Manager the would integrate into a J2EE server for communication with a remote server?
    I'm thinking about implementing one for connectivity with an Http server....
    Has anyone tried something of this sort?

    mkx wrote:
    Hi,
    we are currently implementing a Java connector for the X11 windowing system and we're running into trouble with event handling.
    What we are doing is to fork a thread from the main application that will then invoke a native event handling loop that will listen for X11 events. Whenever such an event occurs, it will call back to a Java object to report that event.
    While receiving and reporting events works fine, any successive calls from the main thread to the native windowing functions will block the program.
    Let me outline the call order again:
    1. Java application is started, main thread created
    2. New Java thread is started that invokes a native method that itself runs in a while loop
    3. Normal program flow continues in the main Java thread
    4. Main Java thread now calls some native method, and locks up
    Any idea why this is happening? Is it not possible to invoke the same native code within two distinct Java threads? I have looked into the JNI functions AttachCurrentThread and DetachCurrentThread, but they only seem to handle the problem that two native threads share the same JVM, but that's not what we need. We have two Java threads that need to share the same native code.Are you sure its not a problem with the something in the X11 code being non-reentrant?
    http://www.gnu.org/software/libc/manual/html_node/Nonreentrancy.html#Nonreentrancy
    Jim S.

  • Trying to get my java program connected to MySQL

    This works perfectly in the Eclipse IDE area that I have but when I run the same program on the Net Beans 3.6 IDE area it gives me a 'not suitable driver' error. To note these are both on the same computer. I would really like to get the Net Beans 3.6 IDE working because that is what I am most familiar with using. If you know of the problem why one IDE area recognizes the driver where the next does not I would sure like to know. Somebody passed the idea that when the 3.6 area is executed there are multiple instances running and it resets the ClassPath(I think they where shooting in the dark but it is a lead none the less). Anyway if anybody has had this problem please enlighten me, Thank-You.
    The ClassPath is set to the following:
    ClassPath = C:\Program Files\Java\jdk1.5.0_02\lib;C:\unzipped\mysql-connector- java-3.1.7\mysql-connector-java-3.1.7;C:\Program Files
    \Java\jdk1.5.0_02\jre\lib\ext;
    This is the code:
    import java.sql.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class Connect2 {
         public static void main(String[] args) {
              try {
                   // The newInstance() call is a work around for some
                   // broken Java implementations
                   Class.forName("com.mysql.jdbc.Driver");
              } catch (Exception ex) {
                   System.out.println("HERE");
              try {
                   String url = "jdbc:mysql://localhost/test";
                   String username = "root";
                   String password = "password";
                   Connection conn = DriverManager.getConnection(
                             "jdbc:mysql://localhost/test", "root", "password");
                   Statement c = conn.createStatement();
                   c.execute("insert into green values('richmond')");
                   c.execute("select * from green");
                   ResultSet rs = c.getResultSet();
                   while (rs.next()) {
                        System.out.println(rs.getString(1));
                   // Do something with the Connection
              } catch (SQLException ex) {
                   // handle any errors
                   System.out.println("SQLException: " + ex.getMessage());
                   System.out.println("SQLState: " + ex.getSQLState());
                   System.out.println("VendorError: " + ex.getErrorCode());
    }

    There are some oddities with the DriverManager when it comes to registering drivers taken from a different ClassLoader, though I don't see how that would apply here, unless the IDE itself is loading one of the classes.
    There's a facility in DriverManager to enumerate the registered drivers. It might be worth doing that and seeing their class names.

  • Implementing a BPMN Process - Defining a Service

    Hello,
    I've just installed SOA and BPM 11.1.1.7.
    in Oracle Doc, 3.5 Implementing a BPMN Process - Defining a Service -  http://docs.oracle.com/cd/E28280_01/user.1111/e15177/design_bus_proc_bpmcu.htm#CHDJIDCG
    it is referred to a SaveRequest service: /soa-infra/services/default/SaveRequest/saverequestsync_client_ep?WSDL
    Where can we find it?
    Also, would you have equivalent alternatives for the "http://localhost:7001/LOVHelper/jersey/listvalues/countries" which is not installed with soa either?
    Thanks in advance,
    Vince

    Hi Vince,
    Brian Leonard from Oracle has a blog post that shows how to access his RESTful service that does what I think you're looking for:  https://weblogs.java.net/blog/bleonard/archive/2013/05/03/dynamically-populating-bpm-web-form-dropdowns
    He's exposed it outside his firewall and you might be able to hit it directly.  He also included his project on the blog post if you want to try deploying it in your environment. 
    Even if you're a SOA developer you might struggle trying to get his REST web service working in your environment.  I use a similar service for our training and I can give you a few tips if you run into issues deploying and running it.
    Dan

  • Publish ESB without username/password of connection using Jdeveloper

    Hi,
    I have used jdeveloper10.1.3.3 to developer BPEL Process and ESB services.
    I have created a Application Server Connection in jdeveloper with hostname, url path and RMI Port right, but without username and password.
    I have created a Integration Server Connection mapping the connection above. I tested this Integration Server and the result was:
    Application Server: FAILED
    BPEL Process Manager Server: OK
    ESB Server: OK
    After the test of Integration Serve Connection , I tried register my ESB project using the action "Register witn ESB" from Jdeveloper and the result was the error:
    "Reload services from ESB Server failed while trying to query service definitions from server."
    After the registry, I saw in the ESB Crontol that the ESB Service was publish.
    Question:
    Is possible resgistry a ESB service with URL connection correct, but without username and password of Application Server Conncetion from Jdeveloper?
    Is there any configuration for validat of username and password of Application Server Connection in the publish of ESB service?
    Is a bug of jdeveloper?
    Thanks,
    Fabrício.

    Hello. I'm pretty sure you cannot register an ESB with no username/password - it uses the username/password information in the integration server connection properties to login and deploy. We were surprised that BPEL uses ant build properties so you can specify the name/password, ESB does not - it only uses the integration server connection info.
    In 10.1.3.4 (which we don't have yet) the ability to use ant for ESB deploys has been added.
    Daren
    Edited by: djcasey on Jan 30, 2009 11:12 AM

  • Cannot connect to service: sess_iiop://server:2481:orcl

    Hello everybody,
    I am trying to run Sample code HelloWorld to deploy session beans but getting this error Cannot connect to service: sess_iiop://server:2481:orcl.
    Even sess_sh command giving the same error,how to configure iiop on client side.
    I am doing everything acorrding to http://technet.oracle.com/sample_code/tech/java/ejb_corba/files/orderentry/EJBDirections.PDF
    Using JDeveloper is also giving the same error UNKNOWN_SERVICE
    Pls Can Any from u help me to solve this problem any version 815,816,817,9i,9ias.
    Mangesh

    for usability, performance reasons, as of 9i DB R2 we are discontinuing J2EE and CORBA stack support from within the database
    EJBs should be deployed rather in iAS/OC4J - I won't get cycles from dev team to debug EJB in Database - unless it is a high priority/production system then customer should file a bug
    Kuassi
    Hi folks,
    we have the same problem! We can connect with sess_sh to the Oracle9i system but we get the exception
    javax.naming.CommunicationException: Unbekannter Dienst: 192.168.2.150:2481:rdrsl
    while looking for the EJB from a java client.
    We really need help!
    Thx.

  • How to implement a persistent HTTP connection on client side...

    Sorry for the inconvenience everyone, but I could really use some help here since I am a total newbie to Java programming
    I am trying to implement a persistent HTTP connection on the client side with request pipelining. The way I understand it is that client requests will be sent to the server, which will reply to them back to back, and then the client will read them accordingly. But when I read the server responses, I get only the reply for the first request, and nothing further, when I actually expect it to give me as many responses as the number of requests I ussued. Here is a sample code illustrating what I am trying to do.
    ====================
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class HttpClient {
    public static String host = "www.somehost.com";
    public static int port = 80;
    public static String pathname = "/download.asp";
    public static String protocol = "http";
    public static ArrayList list;
    public static void main(String[] args) {
    Parser parser = new Parser();
    list = parser.getIDs();
    try {
    Socket socket = new Socket(host, port);
    InputStream from_server = socket.getInputStream();
    PrintWriter to_server = new PrintWriter(socket.getOutputStream());
    OutputStream to_file;
    to_file = new FileOutputStream("HTTP_response.txt", true);
    for(int i = 0; i < 3; i++)
    String s = (String)parser.getIDs().get(i);
    String filename = "/download.asp?id=" + s;
    to_server.print("GET " + filename + "\n\n");
    to_server.flush(); // Send it right now!
    //This response gives only  only the response to the first
    //request,....
    byte[] buffer = new byte[4096];
    int bytes_read;
    while((bytes_read = from_server.read(buffer)) != -1)
    to_file.write(buffer, 0, bytes_read);
    to_file.close();
    socket.close();
    catch (Exception e) {
    System.err.println(e);
    System.err.println("Usage: java HttpClient <URL> [<filename>]");
    }

    There are many things wrong with your code. Learn the HTTP protocol and you'll know what I mean.
    Here's a hint - you'r missing headers in your code.
    Some servers do not support keep-alive connections, nor do you request a keep-alive connection.
    Connection: keep-alive
    Use that header field and see what happends. Also, in your while-loop, you actually close the output file and the socket. Don't you think it may be hard for the server to respond to a client that closed the connection on it?
    1. You don't know HTTP
    2. You don't seem to know Java
    3. You don't seem to understand basic programming logic

  • Unable to connect to service InfoStore from server CRSLinux via CMS

    Hi all,
    I am getting this exception while trying to logon at Crystal report server from my application at line no 11.
    10 .ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
    11. IEnterpriseSession     enterpriseSession = sessionMgr.logon("administrator", "mypasswd", "CRSLinux", "serEnterprise");
    12. IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
    Here is a detail about environment and server.
    I have my application deployed at a linux machine ip 127.1.2.28 and crystal server is installed at an other machine ip 127.1.2.43.
    I am able to login to central management console with the same authentication details i.e.("administrator", "mypasswd", "CRSLinux", "serEnterprise");
    Exception in details is pasted here as followu2026...
    javax.servlet.ServletException: java.lang.Exception: Unable to connect to service InfoStore from server CRSLinux via CMS CRSLinux
         org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.emerald.et.security.ETLoginFilter.doFilter(ETLoginFilter.java:76)
         com.emerald.et.security.ETAuthorizationFilter.doFilter(ETAuthorizationFilter.java:111)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    Any help to it will be appreciated.
    Regards
    A. Joseph

    Hi,
    Few things to note:
    1. Are you using Java Admin launchpad or the .NET one and if its Java then is it deployed on the same machine as this custom java application?
    2. Looks like this app is running off JBOSS and JBOSS is unsupported for Enterprise Web application Deployments.
    3. You can trace on the CMS and see if its actually getting the request from the application.
    Thanks
    Aasavari

Maybe you are looking for