App won't load if remote app server isn't there

I have an application that is using a connection factory to subscribe to a topic on a remote host. If that remote host is not up when i deploy my application, the application will not load. If the app is already running and the remote server goes down, it will just retry to connect to the remote server. My app can still run with out it. So how do I get my app to come up when the remote server is not up and running?? Thanks!

Hi! Thanks for replying back! Here is some more info:
Please provide more information, such as
The type of application, a mdb, servlet, session
bean, appclient .. ?For sake of keeping it simple, it is a MDB on one application server and a publisher on another app server.
How the connection factory is used in the application
?The connection factory is being used from the descriptor files. here is my descriptor file for the MDB (ejb-jar):
<message-driven>
            <ejb-name>ReplySubscriber</ejb-name>
            <ejb-class>com.mycompany.common.framework.ejb.mdb.ReplySubscriber</ejb-class>
            <transaction-type>Container</transaction-type>
            <message-driven-destination>
                <destination-type>javax.jms.Topic</destination-type>
                <subscription-durability>Durable</subscription-durability>
            </message-driven-destination>
            <env-entry>
                <env-entry-name>factoryLookup</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>java:comp/env/jms/remoteTCF</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>queryReplyTopic</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>java:comp/env/jms/statusTopic</env-entry-value>
            </env-entry>
            <resource-ref>
                <res-ref-name>jms/remoteTCF</res-ref-name>
                <res-type>javax.jms.TopicConnectionFactory</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
            <resource-env-ref>
                <resource-env-ref-name>jms/statusTopic</resource-env-ref-name>
                <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
            </resource-env-ref>
        </message-driven>-------end ejb-jar
here is the bean in the sun-ejb-jar:
<ejb>
            <ejb-name>ReplySubscriber</ejb-name>
            <jndi-name>jms/statusTopic</jndi-name>
            <resource-ref>
                <res-ref-name>jms/remoteTCF</res-ref-name>
                <jndi-name>jms/remoteTCF</jndi-name>
                <default-resource-principal>
                    <name>admin</name>
                    <password>admin</password>
                </default-resource-principal>
            </resource-ref>
            <resource-env-ref>
                <resource-env-ref-name>jms/statusTopic</resource-env-ref-name>
                <jndi-name>jms/statusTopic</jndi-name>
            </resource-env-ref>
            <mdb-connection-factory>
                <jndi-name>jms/remoteTCF</jndi-name>
                <default-resource-principal>
                    <name>admin</name>
                    <password>admin</password>
                </default-resource-principal>
            </mdb-connection-factory>
            <jms-durable-subscription-name>jms/durableSub</jms-durable-subscription-name>
        </ejb>------------------end sun-ejb-jar
so the container automatically sets up the subscription to the topic statusTopic. The TopicConnectionFactory remoteTCF has a imqBrokerHostName set to a remote host, not localhost. So it is subscribing to a topic using a remote broker through that connection factory.
What does the application do ?Again for simplicity sake, all it does is listen for a message to be published to the statusTopic on a remote machine (appserver). There is a publisher on the remote machine that publishes to that topic using a localTCF.
The application server version ?SunOne Application Server 7.0 platform edition (and Messaging Queue 3.01 platform)
Please elaborate on "subscribe to a topic on a remote
host"I think i did this above.
So when i deploy this application, the container sets up the durable subscription for me. Then the app waits for a message to be published.
Now, if the app server that contains the publisher is not running and i try to bring up the app server with the MDB (say after a restart), the MDB application will not load because it cannot connect to the remote host named by the connection factory.
How do I get around this? Thanks for the reply!
Andrew

Similar Messages

  • FireFox isn't working right on my Mac. Sometimes it won't load at all( says server not found) and sometimes pics and video won't load. If I switch to IE or safari it works fine.

    I just got a Mac ( I have always had a pc) and I loaded the most update version of Firefox on it. Many times during the day I will go to a website and it will get a "Server not found" message. I can't refresh the page and fix it, but if I go to IE or Safari the webpage shows up fine. It's not just the webpage cause it is never the same one and it can happen to any site. Also when using Firefox there are many times when I go to a page and not all the pics load or if there is a video on the page the video doesn't load. Again if I then go to IE or safari everything is there and works fine. I have uninstalled and reinstalled FireFox and nothing changed. I cleared my cache, cookie, history and still nothing. I love firefox so this is really frustrating. Any help please.

    Did you ever fix this, because I am having the same problem

  • Adobe Presenter presentation won't load from Adobe Connect server.

    I created a slideshow using Adobe Presenter 8. It was successfully published to our Adobe Connect server. However, when accessing it via the URL on Connect, the presentation never loads. The status wheel just spins and spins. Can you please assist us in troubleshooting this issue? Thanks.

    If you extract the zip, then launch the index.htm file it should play in your browser. The viewer.swf file can work as well, but you may have needed to associate it to your browser to get it to work.
    If you expereince the same behavior when playing locally, I'd suspect that Connect is not the issue.
    It may be something as simple as an image on the first slide (possibly within the first three slides) that is causing the issue. You might try right clicking on the images in PPT and doing a Save Image As... and saving it as a JPG (even if it already is) and then re-inserting the image.
    You can also try breaking the presentation into smaller groups of slides and publishing them untill you find the offending slide(s) and then modifying the slides to resolve the issues.

  • FLV skin won't load after upload to server

    I've imported my video, made the .flv, .swf and I uploaded
    the skin file to my server. When I preview the files on my local
    computer they work fine. After I uploaded them,(Yes all of the
    files) the video would play, but the the playback controler was no
    longer there.
    How do I fix this?
    Snakeyes.

    The skin is in the wrong location, regardless of the path you
    gave it in the swf file. Put it in the same level as the html file
    calling on the swf. I bet it shows up then.
    Please give url of page if that doesn't work.

  • I've got a iPad mini I've reset all settings and now my App Store isn't there how can I retrieve it back again

    Need to retrieve my app store back onto my ipad mini after I've lost when I reset all my setting  need help please

    Check: Settings - General - Restrictions - Installing Apps = ???

  • HT3209 I have downloaded a Video on my iPhone 5 & I can watch it. But I am unable to watch on my ipad 3 it won't load & keeps saying it hasn't downloaded & there is a problem. Please can anyone help?

    I have downloaded a video on my iPhone 5 &amp; can play it. But it won't play on my iPad it says it can't download it &amp; there is an error.  Please can anyone help?

    As it says on the page that you posted from :
    If you download a rented movie on your iPhone 4 or later, iPad, iPod touch (4th generation or later), or Apple TV: It is not transferable to any other device or computer.
    Why it's like that I don't think that Apple have said (these are user-to-user forums). If you haven't downloaded it on your iPad then have you checked to see if you can download it on your computer's iTunes (Store > Check For Available Downloads menu option) or Apple TV ?
    If it doesn't show on either of them then you can try contacting iTunes Support and see if they will let you download it on a different computer/device or refund or credit you : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • After downloading new version of firefox, i didn't like it and attempted to restore my system to a previous time and version of firefox. Now firefox won't open, even the old version isn't there anymore.

    I want to get firefox back, keeping all of the bookmarks.

    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 8.0.x: http://www.mozilla.com/en-US/firefox/all.html
    Uninstall your current Firefox version.
    *Do not remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup

  • CC app home screen won't load

    When I start the CC app on my PC (Windows 7, 64 bit), the home screen won't load.  The activity indicator just sits there and spins.  It worked before, but not for the last few days.  The other screens work just fine.  Any ideas?
    Thanks,
    Mitch
    Mountain Storm Fine Arts

    Hi Mitch,
    Welcome to the Community!
    If internet is fine then this might be becase of Creative cloud files, please try the steps metioned in http://helpx.adobe.com/creative-cloud/kb/unknown-server-error-launchin g-cc.html and see if it works.
    Thanks!
    Ankit

  • Does moving SP code from DB to App Server help scale an application?

    We have an application developed using Oracle 10g Forms / 10g DB? All our processing is done using SPs. So they all run in the DB server. Even our Inserts/updates/deletes to a table are handled by SPs.
    The site with the maximum simultaneous users (i.e. concurrent users) is one with 100 concurrent users.
    We have prospective customer whose requirement is 300 concurrent users. Our application won't be able to handle it since the DB server is a single processor server with limited memory.
    One suggestion was move the SPs to the App Server by moving them to the Form. Since OAS has a PL engine they will run in the App Server and hence remove the workload of the DB.
    I don't buy this. My point is, even if SPs are moved to the app. server still the SQLs will run in the DB server, right?
    So what is the advantage?

    christian, I just modified the original post thinking nobody will reply since it's very long. Thanks a lot for the reply. For others and myself also here is my original question.
    I have a problem like this: Take this scenario. We have a TELCO app. It is an E-Business Web Application (i.e. Dynamic Web Site) developed using ASP.Net/C#. App. Server is IAS and DB is Oracle 10g. IAS and the DB reside in 2 servers. Both are single processor servers.
    The maximum simultaneous user load is 500. i.e. 500 users can be working in the system at one time.
    Now suppose 500 users login at the same time and perform 500 different operations (i.e. querying, inserts, updates, deletes). Now all 500 operations will go to the App Server. From there the C# code will perform everything using Oracle stored procedures (SP). I.e. we first make a connection to the DB, SP is invoked by passing parameters, it will perform the operation in the DB, send the output to the App. Server C# code and we will close the Oracle connection (in App Server. C# code).
    Now, the 500 operations will obviously have to wait in a queue and the SQLs will be processed in the DB server.
    Now, question is how does CONNECTION POOLING help in this situation?
    I have been told that the above method of using DB SP to perform processing will make the whole system very slow since all the load of the processing has to borne by the DB Server and since DB Operations involve disk I/O it will be very slow. They say you cannot SCALE the application with this DB Processing mode and you have to move to App. Server processing mode in order to scale your application. I.e. If the number of users increases to 1000 our application won’t be able to handle it and will get very slow.
    What they suggest is to move all the processing to the App. Server (i.e. App. Svr. Memory). They also say that CONNECTION POOLING can help even further to improve the performance.
    I have some issues with this. First of all to get all the data to the App server memory for each user process from the DB will not only require disk I/O, it will also involve a network trip. That will obviously take time. Again the DB requests to fetch the data will have to wait in the DB queue. Then we do the processing in the App. Server memory and then we have to again write to the DB server which again will require a network trip and disk I/O. According to my thinking won’t this take MORE TIME than doing it in the DB server??
    Also how can CONNECTION POOLING help. In C# we OPEN a connection ONLY just before run the SP or get the data and we close the connection just after the operation is over.
    I don’t’ see how CONNECTION POOLING can improve anything?
    I also don’t see how moving data into the App. Server from the DB Server can improve the performance. I think that will only decrease performance.
    Am I right or have I missed something?
    Edited by: user12240205 on Nov 17, 2010 2:04 AM

  • Office web apps server (2013) certificate issue

    If the name of the farm is different from the name of the individual office web apps server machine is there any way to deploy office web apps server with a single domain SSL certificate? 
    My office web apps server is working, but reporting itself unhealthy, apparently due to the fact that the SSL cert is for the name of the farm and that is different from the name of the machine. 
    Errors are 2004, 1004, 2156, 1156, "could not establish trust relationship for the SSL/TLS secure channel"
    Going to the farm's discovery URL in the browser works fine, but going to the machine name (plus /hosting/discovery) gives an SSL error because the name of the farm is not the same as the name of the machine. 
    Is there any way to make it use the farm's URL instead of the machine's URL in its own internal watchdog operations? Or any way to make it use a self signed certificate on the machine's URL for it's own health checks and still use the legitimate purchased
    SSL cert for user access? Or any other way you can think of to use a $5.99/yr single domain certificate instead of a $89.99/yr multiple domain certificate? 
    Bill Coulter

    I am experiencing this same issue.  The OWA server has sp1 installed.  In the OWA event logs I am getting health fails for 2 events and as best I can tell it seems to be related to this issue.
    We are also using a single godaddy certificate with a non machine name FQDN.  Both internal and external url's of the OWA farm are set to this same name.
    The problem only seems to occur with the 'Proofing Watchdog' (See events below).
    Has anyone got any update on whether this is supposed to be fixed ?
    <?xml version="1.0" encoding="utf-16"?>
    <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <HealthMessage>ProofingWatchdog reported status for Proofing in category 'PositiveWeb'. Reported status: Spelling attempt exception for "good": System.Net.WebException: The underlying connection was closed: Could not establish
    trust relationship for the SSL/TLS secure channel. ---&gt; System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
    <?xml version="1.0" encoding="utf-16"?>
    <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <HealthMessage>ProofingWatchdog reported status for Proofing in category 'NegativeWeb'. Reported status: Spelling attempt exception for "baad": System.Net.WebException: The underlying connection was closed: Could not establish
    trust relationship for the SSL/TLS secure channel. ---&gt; System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception 

  • How to displays the standard open file dialog box in Oracle Apps Server

    Hi,
    I am having a form, where i am opening a file and putting that file content in a text box.
    This is my code written in WHEN-BUTTON-PRESSED trigger:
    declare
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(8000);
    filename VARCHAR2(30);
    BEGIN
    filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
    in_file := Text_IO.Fopen(filename, 'r');
    LOOP
    Text_IO.Get_Line(in_file, linebuf);
    :text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
    END LOOP;
    EXCEPTION
    WHEN no_data_found THEN
    Text_IO.Put_Line('Closing the file...');
    Text_IO.Fclose(in_file);
    END;
    I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
    "FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
    I think the GET_FILE_NAME function is not supported in the Apps Server.
    Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
    Pls let me know.

    Hi!
    waldemar.hersacher wrote:
    "It seems that the VIs called by the clients are running in the user interface thread.
    A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
    Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
    2 linus:
    I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
    cle, which responsible for visualization will run continuosly at the same time...
    Attachments:
    no_block_with_file_open_dialog.zip ‏42 KB

  • Can't log out of App Server

    Sun Java System Application Server Enterprise Edition 9.1 (build b13)
    We have several EARs running against Sun App server and using Container Form based authentication.
    In the applications, we have a Logout link. The Logout link triggers an action in the application, and that action invalidates the user session. It then forwards them to our "index.jsp" which is controlled by the servlet security settings.
    But the problem is that the user is not "logged out". When they hit the index.jsp, it does not prompt them for a login, not does it prevent them from going anyplace in the application.
    Any ideas as to why the container does not log them out? We do have SSO enabled in the app server. Is there a better technique for logging a user out?

    I have fixed it...The solution was to reboot the iPhone.  Shut it down, turned it back on, and then the problem apps went away.  I had to resynch them from iTunes.

  • Does JSF 1.1_01 works on Sun App Server 7/Portal 6.2 ?

    Hi,
    i'm get an error (NullPointerException) while submitting form on this configuration. Same example using JSF 1.1 works fine. I know 1.1_01 requires App Server 8 but there is no windows version of Portal Server working with App Server 8...

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Process Modelling in Aris, generating BPEL & deployment to Oracle App Serve

    Hi
    We are considering using Aris to model some business process and using its functionality to generate BPEL for its deployment onto a Service Oriented Architecture i.e. Oracle App Server with BPEL Process Manager. Has anyone had any specific exposure to Aris and its BPEL deployment onto the Oracle App Server.
    - Is there an approach (methodology) from previous experience that someone can recommend.
    - How seamless/complex is the generation and deployment of the BPEL onto the Oracle BPEL Process Manager.
    - Are there any issues or lessons learnt from people using Aris to generate BPEL to the Oracle BPEL Process Manager?
    thanks

    Hi,
    I am dealing with the same problems. I did already some testings using the EPCs of ARIS and tried to establish the link with the BPEL Process Manager. Still it doesn't work seamlessly, maybe with the new realease of ARIS the link will be possible. I am not aware of any methodology in that context, it means we need to develop one.
    Looking forward to hearing from you.
    Best regards,
    TMT

  • How do I clear the Disco cache on App Server 9.0.4

    Can anyone tell me how I can clear the Discoverer cache installed on 9.0.4 Oracle App Server? Can it be done using App Server Control, is there command line syntax I can use?
    Thanks
    Andy

    Hi Andy
    I think the only way to get the memory back is to bounce the server. Sorry.
    Best wishes
    Michael

Maybe you are looking for

  • Days and months not showing up in English

    I just got a new ipad and the days of the week and the names of the months show up in Dutch not English in my calendar and e-mail.  How do I fix this?

  • Can't open Sample Music folder or see track in Library

    iPhoto 6.0.6 1. Selected a slideshow from the Source pane. 2. Clicked on the Music icon, on the right side, on lower tool bar. 3. A menu drops down with a Sample Music folder first on the list. Followed by Garage Band and iTunes. Play music during sl

  • Sql "ALTER DATABASE DATAFILE x OFFLINE" not working??(solved)

    Hi all, I'm playing around with RMAN on a test instance, and am trying to just restore and recover a datafile. I can't see what I'm doing wrong. I've renamed the users01.dbf file like it is lost... I get RMAN going...I do a startup mount; When I try:

  • Bapi for Mass change of Purchasing Lead Time

    Hi All, Could you please suggest whether is there any BAPI to perform mass change of purchasing Lead Time within the material master. The field is Planned delivery time(marc-plifz) in MRP2. The changed value should reflect to all the Material numbers

  • Messages from Email

    My phone yesterday just started sending my imessages from my email. I went to settings, messages, and it comes us as my telephone number and then my email. But it says error next to my number. How do i get my phone to senf from my number instead of m