T3 protocol and clusters

Hi,
          I'm porting a Java application running against WLS6.0 to use a clustered
          server solution. This means I connect via t3 protocol. Any views on the best
          way to get failover and loadbalancing from this approach, for example is
          there anyway I can get the weblogic proxy functionality of
          HttpClusterServlet without using http protocol?
          Thanks
          Sioux
          

Your web.xml looks OK to me.
          All you need to do is, create a .war file and copy it into applications
          directory of proxy server.
          Then register this webapp as default webapp. So whenever you hit proxy server ,
          those requests
          will be handled by this default webapp, in turn the requests will be routed to
          one of the clustered servers.
          Hope it helps
          Kumar
          Sioux France wrote:
          > Hi,
          > I understand this solution, can I ask about the possibility of using a
          > proxy?
          > Is it possible if my URL is t3://localhost:7001 and I now want to use a
          > proxy on this server to redirect to the cluster to use HttpClusterServlet
          > rather than a DNS based solution? If so what do I call to get the proxy to
          > redirect me to the cluster?
          > I've set up a servlet for HttpClusterServlet with my cluster members in the
          > parameters. How can I test from a browser that this is proxying correctly?
          > For the t3 protocol is it possible to get redirection to the cluster members
          > using HttpClusterServlet from a command line client, or is this route only
          > available for web-based queries as that is the only way the
          > HttpClusterServlet can intercept the call? i.e. Must I use my own failover
          > implementation in a DNS-based solution as discussed below?
          >
          > Here's the web.xml for my HttpClusterServlet which I've set as my default
          > webserver on the admin server. Any help understanding this appreciated!
          > Sioux
          >
          > <web-app>
          > <servlet>
          > <servlet-name>HttpClusterServlet</servlet-name>
          > <servlet-class>
          > weblogic.servlet.internal.HttpClusterServlet
          > </servlet-class>
          >
          > <init-param>
          > <param-name>defaultServers</param-name>
          > <param-value>
          > managedserver1:7003:7004|managedserver2:7003:7004
          > </param-value>
          > </init-param>
          >
          > <init-param>
          > <param-name>DebugConfigInfo</param-name>
          > <param-value>ON</param-value>
          > </init-param>
          >
          > </servlet>
          > <servlet-mapping>
          > <servlet-name>HttpClusterServlet</servlet-name>
          > <url-pattern>/</url-pattern>
          > </servlet-mapping>
          >
          > <!-- This bit is just to show it's deployed, and sure enough, it can't find
          > index.html when I call http://localhost:7001 now -->
          > <servlet-mapping>
          > <servlet-name>HttpClusterServlet</servlet-name>
          > <url-pattern>*.html</url-pattern>
          > </servlet-mapping>
          >
          > </web-app>
          >
          > "Robert Patrick" <[email protected]> wrote in message
          > news:[email protected]...
          > > The connection to the cluster is done via the JNDI lookup. The
          > PROVIDER_URL
          > > should be the "cluster name" which is either a DNS name that is mapped to
          > the
          > > list of IP addresses of the clustered servers or a hardware load-balancer.
          > Once
          > > that connection has been made, you will be looking up EJB Home objects --
          > the
          > > objects downloaded to your client are "smart stubs" that understand
          > clustering.
          > > Multiple invocations on that EJBHome reference will be load-balanced
          > across the
          > > cluster of available servers (meaning that it will handle fail-over).
          > This is
          > > easy to do since the EJBHome object is always stateless. If you use
          > stateless
          > > session beans, you can get the same behavior at the bean instance level.
          > > Stateful session beans can be replicated in-memory across a pair of server
          > > instances (much like the HttpSession replication).
          > >
          > > I suggest that you read our clustering documentation at
          > > http://e-docs.bea.com/wls/docs60/
          > >
          > > Hope this helps,
          > > Robert
          > >
          > > Sioux France wrote:
          > >
          > > > I think my point is missed, I have a lovely running cluster, with
          > clustered
          > > > EJBs, clustered JMS and now I want to call it via the t3 protocol or
          > > > something similar from a Java Application. As I understand this, it
          > means I
          > > > can't use HTTP or a proxy. I order to utilise the failover/loadbalancing
          > of
          > > > the cluster that exists, how should I connect to it from the client, can
          > I
          > > > use DNS, RMI, is there any documentation for running a cluster with Java
          > > > Application clients rather than a web front end?
          > > >
          > > > "Robert Patrick" <[email protected]> wrote in message
          > > > news:[email protected]...
          > > > > Use clustered EJBs.
          > > > >
          > > > > Sioux France wrote:
          > > > >
          > > > > > Hi,
          > > > > > I'm porting a Java application running against WLS6.0 to use a
          > clustered
          > > > > > server solution. This means I connect via t3 protocol. Any views on
          > the
          > > > best
          > > > > > way to get failover and loadbalancing from this approach, for
          > example is
          > > > > > there anyway I can get the weblogic proxy functionality of
          > > > > > HttpClusterServlet without using http protocol?
          > > > > > Thanks
          > > > > > Sioux
          > > > >
          > >
          

Similar Messages

  • What is difference between transport protocol and message protocol

    what is difference between transport protocol and message protocol
    please give definition and small explanation

    Hi,
    Transport protocol gives information about outside of message details, kind of system, security details.
    A transport protocol is a network protocol that has the capability of transferring some payload from one node to another, thus providing some level of transparency from the underlying network.
    Transport protocols are used as a mechanism to move payloads around a network. Typically, a payload will have a transport binding associated with it. For example, SOAP (acting as a payload) has a predetermined binding for HTTP (a transport protocol).
    Some common transport protocols include: HTTP, HTTP-R, SMTP and BEEP.
    Message protocol gives you an idea of message type XI payload
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm

  • Looking for a client/server that supports multiple protocol and delivery

    Hi all, I don't know if this the right place to ask my question,here it goes.
    I am looking to develop a client-server that supports multiple protocols such as HTTP, HTTPS etc. I am looking for a framework( i don't know if that is correct or I need some kind of web-service (soap etc)) that would manage connection, security etc. I would like to like to devote most of my time in developing business objects with multiple delivery mechanism such as sending serilized java objects, xml message or soap message, or in some case JMS message as well. So I need a client server that can come in via TCP/IP or HTTP or anyother industry standard protocol and I should be able to service him with pub/sub model and also request/response model as well.
    I don't know if I had explained what I need, I would like to know what technologies I should be evaluating and which direction I should be heading... Also the server I'm developing should be free of Java constraints if needed...
    Also this service is not webbased service as now but if need arises I should have a flexibilty to make them web enabled in future. Also I would like to work with open source webservers or appservers if I need

    Inxsible wrote:I installed i3 - along with the i3status - which I still have to figure out. I am liking what I see as of now. It reminds me of wmii -- when I used it way back when. However I do not like the title bar. I would much rather prefer a 1 px border around the focused window.
    "i3 was created because wmii, our favorite window manager at the time, didn't provide some features we wanted (multi-monitor done right, for example), had some bugs, didn't progress since quite some time and wasn't easy to hack at all (source code comments/documentation completely lacking). Still, we think the wmii developers and contributors did a great job. Thank you for inspiring us to create i3. "
    To change the border of the current client, you can use bn to use the normal border (including window title), bp to use a 1-pixel border (no window title) and bb to make the client borderless. There is also bt  which will toggle the different border styles.
    Examples:
    bindsym Mod1+t bn
    bindsym Mod1+y bp
    bindsym Mod1+u bb
    or put in your config file
    new_window bb
    from: http://i3.zekjur.net/docs/userguide.html (you probably already found that by now )

  • Hello I am not able to published to the web using an FTP the test has a negative response  I do not know what is required in Directory/path Protocol and port

    Hello I am not able to published to the web using an FTP the test has a negative response  I do not know what is required in Directory/path Protocol and port

    If you use FTP then ftp is the protocol and 21 is the port.
    Your webhoster will tell you what path to use.
    You probably can read it in the FAQ/Help/Support pages where you host your website.
    All difficult words are explained in manuals, dictionaries or wikis.

  • AS2  as transport protocol and AS2xml as message protocol

    Dear All
    AS2 adapter has been installed in our landscape ,when I am trying to select the transport protocol and message protocol  ,I can only see AS2 as transport protocol and AS2xml as the message protocol instead of the normal HTTP/ HTTPs for the Transport protocol and AS2 as message protocol.COuld anyone tell me if there is a problem.We need to send xml messages over the AS2 adapter and receive MDN's.

    Hi Arjun,
    Refer below forum threads which was replied which talks about the configuration which need to be done for AS2 adapter. It will be helpful:
    Re: Pls.. Help Needed.. Seeburger Mapping Names..!!
    Re: Seeburger AS2 adapter...
    Re: AS2 Module tab.. Mapping Names for modified Standard Msg types ? ? BIC ??
    AS2 adpater-- Configuration details for both SND and RCV.
    Re: Regarding Seeburger AS2 Adapter
    Regards,
    Vinod.

  • Transport protocol and authentication method

    Hi gurus,
    i am trying to configure EBP-SUS, i am not having access to solution manager .
    I am working on SRM_SERVER 5.5.
    can somebody who has configured EBP-SUS give me more information about the transport protocol and the authenticaton method.

    solved by self

  • Session Failover and Clustering

              Let's say that we have two WebServers (NES) with the weblogic plugin (say WS1 and WS2) and a cluster with two WebLogicCommerce AppServers (say AS1 and AS2). Let's assume that each WebServer and AppServer runs on its own machine (total: 4 machines). Now, let's assume that the WebServer "obj.conf" files (on both WS1 and WS2) are setup so that they point to the servers in the cluster (WebLogicCluster="AS1:7601,AS2:7601").
              When a new request comes in to one of the WebServers (say WS1), the plugin will route it to one of the AppServers using Round-Robin (say AS1). A session will now be initiated in AS1 and it sends a response back to the client.
              Question 1: How does the other proxy in WS2 know that all future requests for this client need to be forwarded to AS1?
              Question 2: For failover, does the cluster automatically replicate the session state existing in AS1 onto AS2 before sending the response (does AS2 automatically become the secondary)?
              Now let's assume that AS1 crashes/dies. When the next request from the client comes to WS1 or WS2, they will forward it to AS1 (assuming that WS2 knows about the client session in AS1) . Since AS1 has crashed, will the client eventually get a timeout error message?
              Question 3: To ensure that the session failover happens so that AS2 gets the request instead (becomes the primary), do we need to setup a WebLogic Proxy Server? If so, why can't the plugins for NES provide the failover themselves?
              Thank you very much for your help!
              Giri
              

              Thank you very much for your responses. It has been very helpful and I am clear on the session/clustering stuff. I have new questions on EJB and clustering which I will post as a separate thread.
              Giri
              "Jason Rosenberg" <[email protected]> wrote:
              >And also, if the browser has cookies disabled, it is important for
              >the app server to embed the WebLogicSession info via url rewriting,
              >otherwise the proxy or NES will not be able to route the session
              >properly.
              >
              >So, in all http responses, be sure to pass the url string through
              >response.encodeURL(). This will do the right thing depending
              >on whether cookies are enabled or not.
              >
              >I've just only recently figured this out. Haven't actually tried it
              >all out yet, so forgive me if it is not quite this simple, but this
              >seems to be the gist of it...
              >
              >Jason
              >
              >
              >"Justin James" <[email protected]> wrote in message news:[email protected]...
              >>
              >> Giri,
              >>
              >> I'm not a weblogic representative, but I tried to replicate this proxing service inside a load balancing switch(BigIP) and I
              >discovered a few things. The weblogic server sets a cookie (WebLogicSession)that the webserver plugin uses to manage the proxying.
              >The cookie (found in the HTTP header information) contains encoded information about the primary and secondary application servers
              >that the session is bound too. Any web server can read the cookie to determine how to dispatch the request to the primary server.
              >If the primary server does not respond, the request is forwarded to the secondary server by the plugin. Regardless of cluster size,
              >the session is replicated to only one other server.
              >>
              >> <[email protected]> wrote:
              >> >Giri Alwar wrote:
              >> >
              >> >> I need a couple of clarifications. First with regard to Question 1, I understand that plugins provide load balancing and
              >failover but what I really was asking is how the plugin in WS2 knows that a session for the client has been initiated in AS1 as a
              >result of WS1 sending the initial request to AS1. If WS2 gets a future request from the client, it needs to know this to send the
              >request to AS1. Does the plugin talk to the cluster to find out if there is a primary and who it is?
              >> >>
              >> >
              >> >> I should have clarified that my other questions pertain to in-memory replication. If I do not persist the session in a database
              >then does the client get an error message (timeout) when AS1 goes down (assuming we use NES with the WebLogic plugin)?
              >> >
              >> >Plugins' know how to route requests based on cookies. If it can't reach the primary server it will automatically try secondary.
              >In your case it doesn't matter if it reaches to proxy 1 or proxy 2, it is still the same.
              >> >
              >> >- Prasad
              >> >
              >> >> To prevent this error message and achieve failover, do I need to use WebLogic as the proxy server? If so, why isn't the NES
              >plugin doing this?
              >> >
              >> >> Thanks.
              >> >> Giri
              >> >>
              >> >> Prasad Peddada <[email protected]> wrote:
              >> >> >Giri Alwar wrote:
              >> >> >
              >> >> >> Let's say that we have two WebServers (NES) with the weblogic plugin (say WS1 and WS2) and a cluster with two
              >WebLogicCommerce AppServers (say AS1 and AS2). Let's assume that each WebServer and AppServer runs on its own machine (total: 4
              >machines). Now, let's assume that the WebServer "obj.conf" files (on both WS1 and WS2) are setup so that they point to the servers
              >in the cluster (WebLogicCluster="AS1:7601,AS2:7601").
              >> >> >>
              >> >> >> When a new request comes in to one of the WebServers (say WS1), the plugin will route it to one of the AppServers using
              >Round-Robin (say AS1). A session will now be initiated in AS1 and it sends a response back to the client.
              >> >> >>
              >> >> >> Question 1: How does the other proxy in WS2 know that all future requests for this client need to be forwarded to AS1?
              >> >> >
              >> >> > Plugin takes care of load balancing and failover, it is all transparent to the client.
              >> >> >
              >> >> >
              >> >> >> Question 2: For failover, does the cluster automatically replicate the session state existing in AS1 onto AS2 before sending
              >the response (does AS2 automatically become the secondary)?
              >> >> >
              >> >> > If you have only two yes it is automatically your secondary. Yes, replication is synchronous.
              >> >> >
              >> >> >>
              >> >> >> Now let's assume that AS1 crashes/dies. When the next request from the client comes to WS1 or WS2, they will forward it to
              >AS1 (assuming that WS2 knows about the client session in AS1) . Since AS1 has crashed, will the client eventually get a timeout
              >error message?
              >> >> >
              >> >> > If you are using some kind of persistence then you will be able to retrieve the session information and since the server
              >is not available the request will automatically failover.
              >> >> >
              >> >> >> Question 3: To ensure that the session failover happens so that AS2 gets the request instead (becomes the primary), do we
              >need to setup a WebLogic Proxy Server? If so, why can't the plugins for NES provide the failover themselves?
              >> >> >
              >> >> > No, you need only one. Either NES or weblogic proxy.
              >> >> >
              >> >> >
              >> >> >> Thank you very much for your help!
              >> >> >> Giri
              >> >> >
              >> >> >- Prasad
              >> >> >
              >> >
              >>
              >
              >
              

  • Retrieving protocol and connection address in runtime

    Hi,
    Im trying to Debug p2p video application in browser and I noticed some problems when using different rooms in my application.
    I need to figure out the actual protocol and node connection in order to identify the problem, the thing is that its only available in trace
    while testing in IDE.
    Is there additional way to know the fms node name and protocol after actual connection.
    Best Regards,
    Gadi Srebnik

    With the latest SDK you can override the debug trace function and have the messages go, for example, in a textarea in your app.
    Look at com.adobe.rtc.util.DebugUtil.traceFunction.
    Otherwise you can dig in the ConnectSession object and get the underlying NetConnection object.

  • Muse protocol and port

    Hi
    I would like to know which PROTOCOL and Which PORT do i need to use uploading a Lightroom gallery in my muse site .
    Thanks

    It is hosted with business Catalyst .
    Date: Tue, 23 Apr 2013 08:39:31 -0700
    From: [email protected]
    To: [email protected]
    Subject: Muse protocol and port
        Re: Muse protocol and port
        created by Abhishek Maurya in Help with using Adobe Muse - View the full discussion
    Where is your Muse site hosted on Business Catalyst or a third party host? - Abhishek Maurya
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5261003#5261003
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5261003#5261003
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5261003#5261003. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Help with using Adobe Muse by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Some internet radio stations with http protocol and mp3 format not working in AIR 2.0

    First, i am sorry for my bad english. When I publish swf for Flash 10 player all stations in my list works. If I publish them for AIR 2.0 stations with adress end ":XXXX", where XXXX is port number, they cannot work. What is problem? Thanks in advance.

    Perhaps,  in the previous post I wasn't clear enough, so I'll try to make it better: I am using the Adobe Flash CS5 and AS3. I wrote the script for listening internet radio stations. In the station list I named only those that use HTTP protocol and mp3 format, cause I know the limits of Flash in audio streamings. If I publish FLA file in SWF for Flash 10 player all the stations can be listened.. If swf file is made for AIR 2.0 there's a problem: the stations with adress  http://xxx.xxx:xxx/<something> can be listened, and those without extension behind the port number (:xxx) can not. Main parts of the script are:
    startButton.addEventListener(MouseEvent.CLICK, listen);
    req.url= "<adress>";
    snd = new Sound();
    snd.load(req);
    private function listen(event:MouseEvent):void {
    req = snd.play();
    Example:
    adress=http://scfire-ntc-aa08.stream.aol.com:80/stream/1010 - working
    adress=http://www.radionovosti.rs:443/radionovosti56s.mp3 - working
    adress=http://sh1.beotel.net:8002 - not working
    adress=http://77.105.36.58:8881 - not working
    It would be great if someone of Adobe employers explain to me what is the problem. Thanks.

  • Rac and clustering setup

    Hi all,
    I want to know abt RAC and clustering.Can any one describe me abt these two things.
    I got two instances running in 2 AIX machines of size 25 gb each. im zero in this. can any one help me regarding this
    first of all i do no what is RAC and Clustering
    Regards
    Elamaran

    2 instances (or more) will indeed be reading and writing to the same database files. When one instance fails, the other one takes over. Therefore availability is ensured.
    look here fore info on RAC:
    http://download-uk.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm

  • What protocol and port number(s) does BEx Analyzer use?

    I'm trying to find out if it's possible to packet shape BEx traffic to give it a higher priority. Is BEx using the same protocol and ports as the SAP GUI?

    Hi,
    Download Tcpview from the following link and see processes and  ports used by SAP GUI and Bex
    http://download.sysinternals.com/Files/TcpView.zip
    In addition to tcpview you may install sniffer software to your computer to capture and analysis network packets.
    Regards.

  • Configuring Servers and Clusters

    Hi All,
    Whenever I am creatin HFM application,it is asking server,I have tried to "Configuring Servers and Clusters" ,but I am unable to coniger,please assist me.
    Regards,
    Prabhu

    For your second question I think it is E. Coherence Web Edition
    Because Coherence provides the ability to scale your application and also offers high availability by replicating the session objects to coherence nodes/caches.
    Thanks,
    Vijaya

  • What is the differences between T=0 protocol and T=1 protocol?..

    Hi friends..
    Sorry, i want to know what is the differences between T=0 protocol and T=1 protocol?..
    Which one is the best, Java Card that support for T=0 protocol and Java Card that support for T=1 protocol?..
    Thanks in advance..

    Sebastien_Lorquet wrote:
    Such protocols have NOTHING TO DO with javacard. They have been existing for YEARS before javacard was invented.
    It's just a mean to exchange data with any card. It happens to be a standard, so javacards among others use it to communicate with the host.
    the Javacard spec by itself does not know anything about how the APDUs are exchanged . It can be T=0, T=1, T=14, RS-232, GPIB, USB, ISO14443, Felica, Ethernet, Firewire, a satellite link, a deep space link, or anything you want. The comm part is the responsibility of the card operating system, which is out of scope for the javacard machine that lies onto it.
    Just because you have a convenience method in the APDU class does not mean this is real. It's up to the card / os manufacturer to define these things, it's reasonable to think they are accurate, but I can create a javacard that claims to be contactless and still will use T=0. That's arbitrary.This is not exactly true. For APDU response chaining to work on some T=0 cards (when using smartcardio that handles response chaining for the developer) we had to use some special tricks. It can also be handy to only allow certain actions on the contact interface (such as admin actions etc) to prevent unauthorised access. The [PLAID Applet|https://www.govdex.gov.au/confluence/display/PLAID/Home;jsessionid=9B9EC664A01EC13B098DDF4EE5760A0A] (developed by the Australian fegral government agency Centerlink) only allows the card to be initiliased through the contact interface.
    - T=0 requires a GET RESPONSE additional exchange only for case 4 commands or when the command provides more bytes than requested for an outgoing command. It can also require more than two exchanges if the terminal requests the outgoing data per-block.Don't forget case 2. The GET RESPONSE is at TAPDU layer and is handled internally by smartcardio/PCSC etc and is also handled by the smartcard OS.
    Leonardo, if you want to know the differences between the two, I recommend reading ISO7816-3.
    Cheers,
    Shane

  • Multiple call managers and clusters sharing one application server

    Hi
    I need to program my application such that it can be shared by multiple call managers and clusters. That is, I can only have one application server, and as a result I need to tell my application from which call manager / cluster this "request" is coming from.
    My question is how do we do that? do we have access to some parameters / variables, similar to "#DEVICENAME#", which can be used to pass the call manager identity to the application?
    TIA

    Use multiple instances of your application with different URIs (assuming the instances will not have to talk to each other), then, when configuring the service on each cluster, simply reference the specific URI of the application instance for that cluster. eg: Using Tomcat to host the PhoneMessenger application for Cluster1 and Cluster2, Deploy the same application twice: PhoneMessengerForCluster1 and PhoneMessengerForCluster2. The service URL on Cluster1 might be: http://app_server/PhoneMessengerForCluster1/servlet/PhoneMessenger , and for Cluster2 it could be http://app_server/PhoneMessengerForCluster2/servlet/PhoneMessenger

Maybe you are looking for