How to determine if extend TCP proxy isn't running?

I've setup a Coherence cluster using nodes Coh-A and Coh-B.  I have a TCP proxy running on both the nodes on port 9098.
My application is able to the talk (i.e., both get and set) to the cluster through the TCP proxies.   All is fine when the coherence servers are up and running.  I was curious to see the behavior of the system when coherence servers are down.  My requirement is such that, it should have no impact on the system if coherence is down.  The application should instead bypass Coherence and go the database.  But this isn't happening (logs below).  Is there any way to check if the coherence server is reachable (up and running) before trying to access the cache from the application code?
2013-11-13 16:30:12.060/1660.501 Oracle Coherence GE 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Connecting Socket to 10.246.28.18:9098
2013-11-13 16:30:12.062/1660.502 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Error connecting Socket to 10.246.28.18:9098: java.net.ConnectException: Connection refused
2013-11-13 16:30:12.062/1660.502 Oracle Coherence GE 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Connecting Socket to 10.246.28.3:9098
2013-11-13 16:30:12.063/1660.503 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Error connecting Socket to 10.246.28.3:9098: java.net.ConnectException: Connection refused
2013-11-13 16:30:12,117 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR errors.GrailsExceptionResolver  - Exception occurred when processing request: [GET] /api/cafe/601272
Stacktrace follows:
com.tangosol.net.messaging.ConnectionException: could not establish a connection to one of the following addresses: [10.246.28.18:9098, 10.246.28.3:9098]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator.openConnection(TcpInitiator.CDB:120)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.Initiator.ensureConnection(Initiator.CDB:11)
        at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.openChannel(RemoteCacheService.CDB:5)
        at com.tangosol.coherence.component.net.extend.RemoteService.ensureChannel(RemoteService.CDB:6)
        at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.createRemoteNamedCache(RemoteCacheService.CDB:12)
        at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.ensureCache(RemoteCacheService.CDB:27)
        at com.tangosol.coherence.component.util.SafeNamedCache$CacheAction.run(SafeNamedCache.CDB:3)
        at java.security.AccessController.doPrivileged(Native Method)
Thanks,
Anand

Cant we catch the mentioned exception and if that appears we can redirect the query to database

Similar Messages

  • How to determine from PL/SQL which processes are running

    Hi,
    I would like to find out which processes are runing. Is there any way how to determine this directly from PL/SQL? I know I can run external C libraries, but if there is another way, that would be great.
    Thanks for help, Dan

    Rahul India wrote:
    YOu might want to check these
    http://www.dba-oracle.com/plsql/t_plsql_v$.htm
    http://www.dba-oracle.com/t_plsql_monitoring.htm
    Please DO NOT post links to commercial websites. It is a breach of the Terms of Use of the forums.
    Such websites tend to provide snippits or excerpts of information in order to try and get people to purchase their products (books or whatever) or services.
    There are plenty of good resources out there, including the Oracle documentation, other threads on these forums with similar questions and solutions, or expert's blogs or websites that are not trying to sell something.

  • Extend TCP Proxy vs. Client load balancing

    I am unclear how proxy and client load balancing interact with respect to custom address providers. If I define my own address provider, and I do NOT set the load-balancer parameter to client in the client configuration, will the proxy still do load balancing of connections as described in http://docs.oracle.com/cd/E24290_01/coh.371/e22839/gs_configextend.htm#BEBCICDA ?
    Edited by: user5179040 on Mar 23, 2012 9:43 AM

    Hi,
    The <load-balancer> element is only configured in the <proxy-scheme> and not at the client side. This parameter "proxy" dictates the proxy to use the specified strategy for load balancing client connections across proxies. The parameter "client" offloads the responsibility of load balancing to client across proxies or randomly select proxies.
    I am unclear how proxy and client load balancing interact with respect to custom address providers. If I define my own address provider, and I do NOT set the load-balancer parameter to client in the client configuration, will the proxy still do load balancing of connections as described in http://docs.oracle.com/cd/E24290_01/coh.371/e22839/gs_configextend.htm#BEBCICDA ?
    Hope this helps!
    Cheers,
    NJ

  • How to know tcp/ip listener is running?

    my oracle server need to remote access, how can i know the
    tcp/ip listener is running. any command can doing this?
    Kelvin.
    null

    Did (lsnrctl status) return anything else?
    The subagent is (or was) Oracle lingo for the intelligent agent.
    I wouldn't worry about the subagent unless you want to use some
    of the advanced features of OEM.
    simon (guest) wrote:
    : Bill Anglea (guest) wrote:
    : : Kelvin Liu (guest) wrote:
    : : : my oracle server need to remote access, how can i know
    the
    : : : tcp/ip listener is running. any command can doing this?
    : : : Kelvin.
    : : lsnrctl status
    : Hi all,
    : I got the same problem, when I type lsnrctl status showed :
    : The db subagent is not started.
    : I don't know what the meaning?
    : Please e-mail to me for help!
    : Thank You !
    : Best of Regards,
    : Simon Ma
    null

  • How to ensure a Coherence Extend TCP service

    Hi,
    We have defined an Extend TCP service within our <caching-schemes> element as follows:
    <proxy-scheme>
    <service-name>ExtendTcpProxyService</service-name>
    <thread-count>5</thread-count>
    <acceptor-config>
    <tcp-acceptor>
    <local-address>
    <address>localhost</address>
    <port system-property="tangosol.coherence.tcpproxy.port">6090</port>
    <reusable>true</reusable>
    </local-address>
    <keep-alive-enabled>true</keep-alive-enabled>
    <tcp-delay-enabled>true</tcp-delay-enabled>
    </tcp-acceptor>
    </acceptor-config>
    <autostart>true</autostart>
    </proxy-scheme>
    However, we are not using com.tangosol.net.DefaultCacheServer as the entry point for our application and would prefer to continue to use our own main() method, ensuring caches as required.
    Given this, I understand that the autostart element has no effect. Clients are unable to connect and no TCP listener appears to have been started.
    Can you give a demonstration of how to call ensureService(.., ...) to start the proxy service? Is there any reason that you would advise us against this, e.g. instead starting DefaultCacheServer inside a separate process?
    Many thanks,
    James

    Hi James,
    In your main you can invoke DefaultCacheServer.startDaemon() method.
    Regards,
    Dimitri

  • How do you configure the RTC as an Extend/TCP client vs Compute Client?

    How do you choose between the Real Time Client acting as an Extend/TCP Client or a Compute Client?
    Thanks,
    Andrew

    Hi Andrew,
    I believe RT client as a Compute client means storage-disabled normal TCMP cluster node in a Grid Edition cluster, but I may be wrong.
    Best regards,
    Robert

  • Generic TCP proxy: how to create Access rule ?

    Hi,
    I have configured a Generic TCP proxy on the public address, port 6300 of our bordermanager server that points to an internal server 192.168.10.148 on port 80. I have configured the filter exceptions for port 6300.
    I have also tried to create an ACL rule to give everyone on the internet access to the Generic TCP in different ways, but I'm unable to succeed. I can see in the proxy statistics, number of ACL denials increasing each time I try to connect so the problem is in the ACL rule.
    The rule I think should be right but isn't working is the following:
    Allow:
    source: host Ip Addresses:
    IP: equals any (the Internet)
    Destination: Host IP addresses:
    192.168.10.148 (the internal server)
    Origin server port:
    6300 (the port on the public interface on which the Generic TCP proxy is listening).
    What am I doing wrong ?

    hennys,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • In OLS, how to determine the list of labels a user is allowed to use?

    subject says it all; we have determined how to determine ALL labels available, but how do we filter it via existing lbac tables to show the labels the current user (either direct or via proxy) can use?
    thanks, alan

    Hi there,
    maybe these views do help:
    http://st-doc.us.oracle.com/10/102/network.102/b14267/admpriv.htm#i1012870
    Thanks, Peter

  • EEWB :  how to determine the business object and the extension type ?

    Hi,
    I ask myself how to determine the business object and the extension type to use to add new fields in a new tab of a specific transaction ? what means each business object, does that correspond to a specific transaction ?
    I need to add a new tab in the ‘BaMI’ business activity in transaction CRMD_ORDER just after the tab 'Actions' at header level.
    Could you help me please to determine which business object and extension type I have to select during creation of the project and which business object category I have to select during creation of the extension (wizard) ?
    Thanks for your help,
    Marie

    Marie,
    In order to determine what type of transaction you are extending, you will need to look at the customizing for the transaction.
    In the IMG:
    Goto:
    Customer Relationship Management->Transactions->Basic Settings->Define Transaction Types.
    You will then choose the transaction defined that you want to extend.  If you display the details of the transaction you will find an attribute called:
    "Leading Transaction Category".  This tells you the general context in which the transaction is used.  The other item to view is the assignment of business transaction categories found in the maintenance screen.
    This information general corresponds to one of the options that the EEWB will give you on the transaction type.
    As far as extensions go, my recommendation is the following:
    - Use CUSTOMER_H Customer Header Extensions for any new fields at the header level.
    - Use CUSTOMER_I Customer Item Extensions for any new fields at the item level.
    Unless you have a specific requirement to extend a segment of the transaction, I recommend placing all new fields in these segments.  The CUSTOMER_H & CUSTOMER_I segments are considered "standard" segments, that are already built into all the necessary API structures. 
    Let me know if you have any further questions.
    Good luck,
    Stephen

  • Coherence *Extend-TCP configuration not working

    Hi,
         I was trying to setup the Coherence *Extend-TCP configuration on my solaris box.
         To start with, i'm trying to start a Cache server instance by using the cluster-side configuration XML (given at URL below)
         http://wiki.tangosol.com/display/COH32UG/Configuring+and+Using+Coherence*Extend
         But while starting its throwing me the below error. The Coherence version that i'm using is 3.2/353. Please advise.
         Exception in thread "main" java.lang.IllegalArgumentException: The "Proxy" element is missing a required acceptor configuration element
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ProxyService.configure(ProxyService.CDB:30)
         at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:5)
         at com.tangosol.coherence.component.util.SafeService.getRunningService(SafeService.CDB:26)
         at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:1)
         at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:9)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:775)
         at com.tangosol.net.DefaultCacheServer.start(DefaultCacheServer.java:138)
         at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:60)
         regards
         Mike

    Sorry,
         I noticed that the above error occurs for version 3.1.1 (& not for 3.2) as previously
         specified in previous message (above). My apologies.
         As a follow-up, i've now installed 3.2 jars on my environment & i noticed that the
         above error doesnt occur for this version. The cache server seems to be coming
         up fine now (with the appropriate TCP/IP configuration tag in the xml).
         But when i try to run my client application (which attempts to connect to this
         remote cache server), it throws an InvocationTargetException error (full exception
         below).
         The error indicates that i'm missing some elements in the XML configuration.
         Exception
         (Wrapped) java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.tangosol.net.extend.AdapterFactory.ensureCacheServiceAdapter(AdapterFactory.java:69)
              at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:729)
              at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:650)
              at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:831)
              at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:284)
              at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:622)
              at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:600)
              at com.tangosol.examples.explore.SimpleCacheClient.main(SimpleCacheClient.java:25)
         Caused by: java.lang.IllegalArgumentException: Missing required initiator child configuration element: <extend-cache-scheme tier='front'>
         <scheme-name>extend-direct</scheme-name>
         <service-name>ExtendTcpCacheService</service-name>
         <initiator-config tier='front'>
         <tcp-initiator>
         <remote-addresses>
         <socket-address>
         <address>gpblnx1d.nam.nsroot.net</address>
         <port>32000</port>
         </socket-address>
         </remote-addresses>
         <connect-timeout>10s</connect-timeout>
         <request-timeout>5s</request-timeout>
         </tcp-initiator>
         </initiator-config>
         </extend-cache-scheme>
              at com.tangosol.coherence.extend.component.comm.Adapter.getInitiatorElement(Adapter.CDB:13)
              at com.tangosol.coherence.extend.component.comm.adapter.CacheServiceStub.configure(CacheServiceStub.CDB:5)
              at com.tangosol.coherence.extend.component.application.library.generic.CoherenceExtend.createCacheServiceStub(CoherenceExtend.CDB:4)
              at com.tangosol.coherence.extend.component.application.library.generic.CoherenceExtend.ensureCacheServiceStub(CoherenceExtend.CDB:15)

  • How to determine max netstreams before failure

    Hi
    Everything on Adobe's website is listed as "unlimited" and scalable but I would like to know approximate actual numbers to estimate server hardware required
    I can't find out how to determine how many live audio/video netstreams per instance, specifically
    1) How many broadcasters per instance?
    2) How many subscribers/viewers per  broadcast?
    3) Does seperate application/instance provide better performance?
    I understand the exact number is based on the publish settings so everyone's setup is different, but is it just bandwidth consideration?
    Is there any server side functions and/or metrics besides general OS cpu/ram stats?

    • How do I determine how many songs will fit on a CD?
    Already answered by others.
    • I heard that the LAME encoder is the best out there, is there an easy way to use that encoder to convert AAC files?
    I don't think LAME is part of itunes. You need to find a different encoder. I think Max CDripper uses LAME. It's pretty common in other encoding tools so you need to search for one that you like and at a price you like.
    • Can I use the LAME encoder to convert the files and then use those files in iTunes instead of using iTunes to convert them?
    Yes. Understand though that nothing will convert iTunes AAC format DRM protected files except iTunes and then only to audio CD.
    • I have a play list I want to burn to an MP3 CD for the car. The playlist is composed of songs with both AAC and MP3 formats. Is there an easy way to convert an then use the AAC files for this playlist?
    iTunes will do this, or other audio encoders. The DRM limitation still applies, even to iTunes.
    Is there a high quality way of recording streamed songs along with the title/artist info?
    It depends upon the source. Different sources stream different ways, so what works with one will not always work with another. The one exception is something that captures any audio output from your computer. That doesn't capture with artist and song information, just any sound that happens to be coming from your computer. If it isn't easy to do it is probably because the people streaming the music really don't want to you do it, probably because of licensing, in which case the Terms of Use of this website don't let us discuss how to do it.

  • New parameter "timeout tcp-proxy-reassembly" in ASA 8.2

    I couldn't find much in the config guide or web site for this. Can someone tell me which situations this would come into play? Here is the CLI help:
    "Configure idle timeout after which buffered packets waiting for reassembly in tcp-proxy are dropped"

    Hi.
    I've had a very interesting discussion with a TAC engineer about this command.
    The engineer mentions that, with this command, ASA behaves in the following way:
    When the ASA receive a fragmented data, it puts the fragments in the buffer to be able to reassemble it and then sent it. When the buffer exceed the limit, the ASA start dropping the reassemble packets so the reason for the packet drop is always the buffer limit exceed . by using the command “tcp-proxy-reassembly”, the ASA wait for an idle time which is determined by this command, the reason why we need this idle time is that the ASA after dropping the fragmented packet still keeps the connection in the conn table open waiting to reassemble the fragments and send it , but this will not happen as the fragment was dropped , so this will keep the connection in the conn table and exhaust the ASA memory by a lot of connections that are not really used.   After dropping the fragment the ASA waits for the timeout specified by the tcp-proxy-reassembly to delete the connection from the connection table.
    So in summary the ASA uses this command not to delete the fragment after the timeout , it uses this command to delete the connection after the drop of the fragment (which is caused by the buffer limit) with the time.
    So keep in mind when you use it.
    Best regards,
    Ernesto.

  • How to determine one class is a dynamic one or not?

    hello,i got a simple question,like the title says.
    how to determine one class is a dynamic one or not?
    finally,i got an indirect solution.
    package {
    public dynamic class MyClass extends MySuperClass
    public function MyClass()
    super();
    this.isDynamic=true;
    this is a simple dynamic class,i defined a varible
    directly,it is ok with dynamic class though i didn't declare it.
    then in another class(parent class of this dynamic
    class),where i try to determine the instance of this dynamic class
    is a dynamic one or not.
    i will use one function "checkIsDynamic" to check that
    varible is exsit or not.then it will help me to determine what i
    want know.
    protected function checkIsDynamic():Boolean
    try{this["isDynamic"]}
    catch(er)
    return false;
    return true;
    if another child class of MySuperClass didn't defined this
    property,i can affirm it is not a dynamic class,or vice versa
    this function also can be expanded to another one:
    protected function checkProperty(prop:String):Boolean
    try{this[prop]}
    catch(er)
    return false;
    return true;
    it is an useful solution,defined in parent class,and to check
    the property is exist or not in child class.

    try adding a property to a class instance.

  • How to determine logical database in a program?

    Hello guys!
    How to determine logical database in a program on Eclipse?
    I have not found any options:
    Thanks!

    Welcome to SDN
    Check the table RSOSFIELDMAP
    Assign points if useful
    Regards
    N Ganesh

  • Anyone know how to determine Macbook Air screen tech? Causing migraines

    Hi There,
    Last year, I expereinced a lot of mild migraines which I've traced back to a new Macbook Air.
    At first I had no idea of the cause (diet, stress etc) but have noticed that my eyes feel uncomfortable looking at the screen of my Macbook Air (I don't have this issue with my Dell monitor).
    My eyes don't hurt per se, but I can detect a sublte jittering with the screen - which can turn into a migraine.
    After doing a bit of research, it seems like most (but not all) LCD and LED LCD displays use something called pulse-width modulation to control brightness but after calling Apple support, they told me my MBA doesn't use this technology.
    Does anyone know how to determine the underlaying technology in Apple displays so I can research the cauase of my headaches? I found a good Ukranian website (in english) that explained pulse-width modulation but it didn't really talk about other technologies.
    Any pointers in the right direction would be much appreciated.
    Cheers
    Ben

    What version of OS X are you using? If Yosemite, you need to update to 10.10.1 or higher.
    In any case, start by going to the editor preferences>general, clicking this button and restarting the editor:

Maybe you are looking for

  • Worst customer support experience!

    I bought a brand new Toshiba 40" (40FT2U) in January 2012.  On April 4, it died.  Toshiba reports that it is a failed Mainboard and would arrange for someone to replace the bad part.  As of April 16, the part is still on back order and there is no et

  • How do I get to the powersupply on my iMac G5?

    I have successfully changed my hard drive on my iMac G5 isight 20" computer.... it lasted over a year but now the computer doesn't turn on and has the loud fan noise and black screen.... so trying to replace the power supply but when I open the compu

  • Photo lost

    I put in the scan disk and an error msft message comes upon the computer. i cannot save any photos on my computer either via computer or from the machine.

  • Photos do not appear in editing window: iPhoto 5.0.4

    I have a Powerbook G4 with iPhoto 5.0.4. None of my photos--from the library, last 25 rolls, last 18 months, the slide shows, various folderes and all the books--open in the editing window. Just a black screen. I haven't a clue--the last time I opene

  • Passing arguments to script

    Hi, I created a dialog which load folder files and when i click the button i run another script by StartScript(...) command How could i pass my arguments to the script (the files paths)? Thanks Solved! Go to Solution.