Session not replicated in a different machine

Hi Everybody,
          I have an interesting problem related to session replication on a different machine. We have two managed servers in two different machines. When we stop the managed server in the machine where we have admin server, request goes to the second managed server. However the existing session is not replicated, instead a new session is created.
          We have used in-memory replication. Any pointer to the problem will be appreciated.
          Thanks in advance,
          Dev.

Also check if the session replication is indeed on. You can see if this is on by looking at cookies (either javascript like alert(Document.cookie) or through browser like navigator; format for replication should be <session id>!<primary server hash>!<secondart server hash>
          S

Similar Messages

  • Session not replicated in WL6.1

              We are having session-not-replicated problem in WL6.1 Clustering.
              We have 3 servers on different machines running WL6.1 sp1, 1 is running the admin
              server and the
              other 2 are running as managed weblogic server.
              We have a web application that has been deployed to the cluster and is set
              for PersistantStoreType equal to replicated.
              We are using a Cisco Local Redirector with "sticky load balancing" infront of
              the servers.
              In our applications, most of JSP pages can modify the session data using session.setAttribute().
              And we use session.removeAttribute() to clean a session data.
              session.setAttribute("mysession1", data1);
              ....some codes......
              if (session.getAttribute("mysession") != null)
                   session.removeAttribute("mysession");
              session.setAttribute("mysession", data2);
              With session.removeAttibute() in our codes, some session data is not replicated
              to secondary server.
              We checked all session data in secondary server after shutting down the primary
              server.
              But if we comment out all session.removeAttribute() methods, failovers tested
              successfully.
              All our session data is serializable. Some are String and Some are Objects.
              Is this a known problems in WL6.1? Anyone has any idea?
              thanks,
              Hong
              

              We are having session-not-replicated problem in WL6.1 Clustering.
              We have 3 servers on different machines running WL6.1 sp1, 1 is running the admin
              server and the
              other 2 are running as managed weblogic server.
              We have a web application that has been deployed to the cluster and is set
              for PersistantStoreType equal to replicated.
              We are using a Cisco Local Redirector with "sticky load balancing" infront of
              the servers.
              In our applications, most of JSP pages can modify the session data using session.setAttribute().
              And we use session.removeAttribute() to clean a session data.
              session.setAttribute("mysession1", data1);
              ....some codes......
              if (session.getAttribute("mysession") != null)
                   session.removeAttribute("mysession");
              session.setAttribute("mysession", data2);
              With session.removeAttibute() in our codes, some session data is not replicated
              to secondary server.
              We checked all session data in secondary server after shutting down the primary
              server.
              But if we comment out all session.removeAttribute() methods, failovers tested
              successfully.
              All our session data is serializable. Some are String and Some are Objects.
              Is this a known problems in WL6.1? Anyone has any idea?
              thanks,
              Hong
              

  • My trial ended, now my premier pro file will not open on a different machine (it has opened on this machine before). It is saying the "file is damaged" I don't want to loss my edit, how can I access it?

    My trial ended, now my premier pro file will not open on a different machine (it has opened on this machine before). It is saying the "file is damaged" I don't want to loss my edit, how can I access it?

    Steven is correct, you never can go back to an earlier version with Adobe Premiere with the project file.  If your preceding version was CC you might try the trial version of CC 2014, but remember that once you enter the trial version cycle you never can go back.
    There was a way to hack the project file on the CS versions but that disappeared with CC.

  • Objects bound to session not replicating properly.

    hi,
              i have two weblogic 5.1 sp3 clustered in sun boxes, using apache as
              proxy server.
              I use Inmemory replication for replicating http sessions.
              Both weblogic server says joined the cluster and it seems ok.
              i start navigating my application, halfway i bring down one server, the
              one the requests are going to. secondary server takes over, but when i
              print the objects that are bound to the session it doesnot give me all
              the values, which when printed in the primary server prints all values.
              The objects that are bound to the session are heavy.
              i am using the property weblogic.httpd.session.cacheEntries=1024, the
              default one.
              could someone help me.
              my cluster and session properties.
              weblogic.cluster.enable=true
              weblogic.cluster.name=rtcluster
              weblogic.system.bindAddr=10.11.21.20
              weblogic.cluster.multicastAddress=237.0.0.1
              weblogic.cluster.multicastTTL=1
              weblogic.cluster.defaultLoadAlgorithm=random
              # Httpd Cluster properties.
              weblogic.httpd.clustering.enable=true
              weblogic.httpd.session.persistence=true
              weblogic.httpd.session.persistentStoreType=replicated
              

    You have not described your environment or what you application is doing, so
              it will be difficult to help answer your question.
              > > i have two weblogic 5.1 sp3 clustered in sun boxes, using apache as
              > > proxy server.
              > > I use Inmemory replication for replicating http sessions.
              > There was a small problem in our application we debugged it, session
              > replication is now fine.
              Good.
              > but now we are facing a new problem.
              Bad.
              > SecurityException
              Please post (or attach) the stack trace.
              > The page doesnot come in the first click, at the first
              > click weblogic gives a SecurityException.
              We do not know what page you mean. Do you mean that every page is broken,
              or pages served by a certain servlet or jsp?
              > Moreover the image is not properly displayed.
              > The image is painted when mouse is over that otherwise
              > its not. Its like image in java without double buffering.
              I assume this is a .jpg or .gif that your page references? Is the image
              created dynamically or just served statically by IIS? Or statically by
              WebLogic?
              The double-buffering look could be caused by a corrupted image file or more
              likely by being served dynamically by a JSP that accidently has some
              linefeeds due to page directives at the top, but you'll have to provide
              additional information.
              Peace.
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "arunbabu" <[email protected]> wrote in message
              news:[email protected]...
              > hi,
              > Thanks for the debug information.
              > There was a small problem in our application we debugged it, session
              > replication is now fine. but now we are facing a new problem.
              > SecurityException, The page doesnot come in the first click, at the first
              > click weblogic gives a SecurityException. Moreover the image is not
              > properly displayed. The image is painted when mouse is over that otherwise
              > its not. Its like image in java without double buffering.
              > could somebody throw some light to these.
              > arunbabu.
              >
              > arunbabu wrote:
              >
              > > hi,
              > > i have two weblogic 5.1 sp3 clustered in sun boxes, using apache as
              > > proxy server.
              > > I use Inmemory replication for replicating http sessions.
              > > Both weblogic server says joined the cluster and it seems ok.
              > > i start navigating my application, halfway i bring down one server, the
              > > one the requests are going to. secondary server takes over, but when i
              > > print the objects that are bound to the session it doesnot give me all
              > > the values, which when printed in the primary server prints all values.
              > > The objects that are bound to the session are heavy.
              > > i am using the property weblogic.httpd.session.cacheEntries=1024, the
              > > default one.
              > > could someone help me.
              > >
              > > my cluster and session properties.
              > >
              > > weblogic.cluster.enable=true
              > > weblogic.cluster.name=rtcluster
              > > weblogic.system.bindAddr=10.11.21.20
              > > weblogic.cluster.multicastAddress=237.0.0.1
              > > weblogic.cluster.multicastTTL=1
              > > weblogic.cluster.defaultLoadAlgorithm=random
              > >
              > > # Httpd Cluster properties.
              > > weblogic.httpd.clustering.enable=true
              > > weblogic.httpd.session.persistence=true
              > > weblogic.httpd.session.persistentStoreType=replicated
              >
              

  • Session not replicated in clustered oc4j instances

    The application is deployed to two clustered oc4j instances(A and B) and is configured to use PEER replication protocol. After logging into the application(say A handled the request, created and stored a user object in http session), we shutdown A, and click on application link, the request is routed to B, but B shows no user object in http session is found, this happens in a servlet filter. Could somebody provide some suggestions why?

    Hmm, OK. Then we need to dig in a little further.
    Can you post what the orion-application.xml file looks like for these applications?
    It has the <cluster> tag set in it.
    You can find it in $ORACLE_HOME/j2ee/home/application-deployments/<app-name>
    Are these clustered OC4J instances on the same server -- if so, did you set allow-colocation="false", which would prevent the replica from being stored on the same physical host, and thus not be avaialble when you need it?
    You can enable logging for the clsuter session manager -- you can acess the logging propeties page in ASC and then set the "oracle.j2ee.cluster" to the FINEST level to start pumping some log messages into the log file.
    Note: in 10.1.3.0 the settings are not persisted when made via ASC -- you have to enter them manually in the j2ee/<instance-name>/config/j2ee-logging.xml file. In 10.1.3.1 the settings are persisted automatically into this file.
    The easiest way to see the log messages in the file is using the Log Viewer function in ASC as well. Look for the "Diagnostics" log in the particular Oc4J instance where the app is deployed.
    cheers
    -steve-

  • Web Report not working on a different machine

    Dear Experts,
    I published my bex reports in Web. Url's works fine on my machine, but if I check the same Url on any other machine it gives a message 'page cannot be displayed'.
    How can all the users view the reports on web? How sould I publish them?
    Thanks,
    Gnana

    Hi Sarah,
    If I understand you correctly,
    Case1:
    this is my url(http://itctest01:8020/sap/bw/bex?SAP-LANGUAGE=E&PAGENO=1&CMD=PROCESS_VARIABLES&VARIABLE_SCREEN=X&REQUEST_NO=1&dummy=#variables).
    You want me to paste this url in C:\WINDOWS\system32\drivers\etc
    Is it sufficient if I do this on my machine or I have to copy this url in other users.
    Case2:
    this url will be saved in C:\WINDOWS\system32\drivers\etc
    in my machine, I need copy this url and send them to all users??
    I searched for this, I don't find this url in C:\WINDOWS\system32\drivers\etc.
    Is this url stored in a different format in C:\WINDOWS\system32\drivers\etc?
    Thanks Sarah!!

  • Weblogic Clustering Replica Session not Recovering

    Dear All,
    Have One domains with WLS 10.3.4 on two physical machines, each machine hosting one managed server, cluster of the two servers, node manager on both servers and admin server on one of the servers. Using unicast and in-memory replication with replicate if clustered set in the weblogic.xml.
    Apache balancing between the two and selected options to allow proxy plugin in the domain.
    Question is I bring both servers up,
    Log the user into test application.
    In the console I can see from Cluster Monitoring that a single user connects on Managed Server 1 and that the session is correctly replicated onto Managed Server 2.
    I then fail Managed Server 1 which is hosting the primary session, on manual page refresh the users request goes to the Managed Server 2 with the user staying logged in (as expected).
    However when I return the failed Managed Server 1 to service I expected the current session now on Managed Server 2 to be replicated back to the Managed Server 1 (in case Managed Server 2 that is now hosting the primary session fails).
    No matter how long I wait this replication does not take place, HOWEVER if after the Managed Server 1 is returned to service I manually refresh the Web Page which connects to Managed Server 2 this kicks the replication into action and creates a session replica back on Managed Server 1.
    I don't think this is exected behaviour so any idea what is going wrong?
    In the oracle docs it says
    "In a two-server cluster, the client would transparently fail over to the server hosting the secondary session state. However, replication of the client’s session state would not continue unless another WebLogic Server became available and joined the cluster. For example, if the original primary server was restarted or reconnected to the network, it would be used to host the secondary session state. "
    but in this case the second bit does not seem to host the secondary state unless the web page is actually used again (at which point you see the replica state created, it's almost like it will replicate going forwards but ignores the current state and does not re-sync between the managed servers, leading to a user being logging out if a flip-flop server failure test is carried out.
    Thanks
    Edited by: user10645195 on 18-Feb-2011 08:46
    Edited by: user10645195 on 18-Feb-2011 08:52

    HI,
    The HttpSession replication happens Only when WebLogic creates a New HttpSession or Container encounters "session.setAttribute(obj,obj)" method...It means the Data is replicated to the Secondary JVM HttpSession only when application calls the setAttribute method of HttpSession. And in this case only the modified part of data is replicated NOT the complete HttpSession data.
    So i think u can try adding a Simple temporary attribute in the HttpSession like
    session.setAttribute("dummyData",""+new java.util.Date());
    Now make sure that the above code is placed in each and every page of your application...sothat whenever a client will request the because of setAttribute() the Session modified data (dummyData) will be replicated...and if there are more setAttribute() on that page then all the those also will be replicated...
    Example:
    Map map = new HashMap();
    session.setAttribute("map", map); <font color=maroon><b> -------> Here Session data Will be replicated to Node-2 (bcoz of setAttribute()) </b></font>
    map.put("one", "aaa"); <font color=red>No Replication (Means No Session data Refresh...bcoz setAttribute is not called...)</font>
    then from page1.jsp I go to page2.jsp and I do this:
    Map map = (Map)session.getAttribute("map");
    map.put("two", "bbb"); <font color=red>No Replication (Means No Session data Refresh...bcoz setAttribute is not called...)</font>
    and then from page2.jsp I go to page3.jsp and I do this:
    Map map = (Map)session.getAttribute("map");
    map.put("three", "ccc"); <font color=red>No Replication (Means No Session data Refresh...bcoz setAttribute is not called...)</font>
    Now you will see On The node2 the sessioncontains an EMPTY map ! <font color=maroon><b> (That is Correct) because when you executed </b></font><br>
    Map map = new HashMap();
    session.setAttribute("map", map);
    <font color=maroon><b>
    At that time The Map was not containing any data in it.
    </b></font>
    You need to try this:
    Map map = new HashMap();
    session.setAttribute("map", map);
    map.put("one", "aaa"); <font color=green>----><b> Now session.setAttribute("map", map);</b></font> here session data will be refreshed in Node-2
    then from page1.jsp I go to page2.jsp and I do this:
    Map map = (Map)session.getAttribute("map");
    map.put("two", "bbb"); <font color=green>----><b> Now session.setAttribute("map", map);</b></font> here session data will be refreshed in Node-2
    and then from page2.jsp I go to page3.jsp and I do this:
    Map map = (Map)session.getAttribute("map");
    map.put("three", "ccc"); <font color=green>----><b> Now session.setAttribute("map", map);</b></font> here session data will be refreshed in Node-2
    It means until u don't call session.setAttribute(---, ---)...The Session Data is not replicated (refreshed) to the Second Node(Secondary JVM).
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/ (Middleware magic Is Here)

  • Tomcat  5.5.26 Sessions getting replicated but not working via browser

    Hi,
    I have configured Tomcat 5.5.26 to be clustered across 2 machines with one instance on each. These two machines are behing a BIG-IP loadbalancer which is setup for sticky sessions.
    The catalina.out states that the member can see each other:
    Jul 3, 2008 6:33:50 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
    INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://10.17.21.125:9001,catalina,10.17.21.125,9001, alive=38753]
    Jul 3, 2008 6:33:51 PM org.apache.catalina.cluster.mcast.McastService registerMBean
    The localhost.2008-07-03.log states that the sessions are being replicated for the jsp-examples app - book example. I have an app of our own that does not even state that the session is replicated but I though I would start here with getting the example one working.
    Jul 3, 2008 6:34:31 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: sessionDestroyed('E7E9E54600927A4826AFEDB59D7EF6E7.tomcatDargle')
    However, when I take down the instance which created the session and attempt to refresh the page or navigate to another page I get page cannot be displayed. This shows that the sessions are not completely replicated. What am I missing?
    I have added my server.xml file contents:
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="false"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="239.192.17.20"
    mcastPort="9002"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="9001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"
    waitForAck="true"/>
    <ClusterListener className="org.apache.catalina.cluster.session.ClusterSessionListener" />
    <ClusterListener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderListener" />
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"
    primaryIndicator="true" />
    <Valve className="org.apache.catalina.cluster.session.JvmRouteBinderValve"
    enabled="true" />
    </Cluster>
    Any help at all would be greatly appreciated.
    Martin

    Hi Ganeshmb,
    The app I am using is the jsp-examples/book example.
    The load balancer is sending requests to both servers.
    When the dargle instance is sent a request I can see in the logs of both servers:
    INFO: SessionListener: sessionCreated('730F4AD5A21CA06639BF956B9F5418CB.tomcatDargle')
    When the tolka instance is sent a request I can see in the logs of both servers:
    INFO: SessionListener: sessionCreated('E7E9E54600927A4826AFEDB59D7EF6E7.tomcatTolka')
    When the server starts up the relevant info is in the logs:
    Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager start
    INFO: Starting clustering manager at /jsp-examples
    Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
    WARNING: Manager [jsp-examples], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://10.17.21.125:9001,catalina
    ,10.17.21.125,9001, alive=44363]. This operation will timeout if no session state has been received within 60 seconds.
    Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager waitForSendAllSessions
    INFO: Manager [jsp-examples]; session state send at 7/3/08 6:33 PM received in 123 ms.
    The jsp-examples book example is supposed to have serilizable object and was recommended on some sites are the way to test out the replication. Is there any other way to test this?
    Also, the main purpose of the cluster is to replicate an application from an external vendor which they say is compatible with session replication. However, this app does not even output the sessionCreated message so I am unsure if it truly is compatible.
    If I could prove that the cluster is setup correctly then I would have more to go on when contacting the vendor. At the moment I am unsure if the cluster is setup correctly for session replication.
    Thanks,
    Martin

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Data not populated when run from a different machine

    I have a stored procedure which populates a table
    The stored procedure when it is run on my machine using SQL Plus populates data correctly in a table.
    I select using SQL PLUS and it shows that the data is there
    But when I run the SAME procedure ( SAME schema, SAME parameters, same everything ) from a
    different machine using SQL PLUS , it shows that "PL/SQL procedure completed successfully", BUT does not populate
    the table.
    SAme thing is happening for all other procedures too.
    Why is this happening
    Please help
    Ashwin

    I checked using this
    SELECT * FROM V$PARAMETER WHERE LOWER(NAME) ='nls_language'
    AND I get same results on both machines
    NUM NAME TYPE
    VALUE
    ISDEFAULT ISSES ISSYS_MOD ISMODIFIED ISADJ DESCRIPTION
    UPDATE_COMMENT
    96 nls_language 2
    AMERICAN
    TRUE TRUE FALSE FALSE FALSE NLS language name
    Thanks
    Ashwin N.

  • Reporting Services will not automatically use a different replica for the report server databases when a failover occurs. How to overcome this issue

    Reporting Services offers limited support for using AlwaysOn Availability Groups with report server databases. The report server databases can be configured in AG to be part of a replica; however Reporting Services will not automatically use a different
    replica for the report server databases when a failover occurs. How to overcome this issue? is there any workaround for that..
    Rahul

    Hi.
    With the AlwaysOn listener you should have a single DNS name to connect to regardless of which cluster node is active. Are you using the listener service? If not, please refer to the link below.
    http://msdn.microsoft.com/en-us/library/hh213417.aspx#AGlisteners

  • Firefox is rendering a page in quirks mode on one machine, but not on a different machine.

    I have two machines that are going to the same website. One machine renders the page correctly, the other enters quirks mode and nothing appears on the screen.
    The machine that is not working is running OS X 10.6.4. The one that is working is running 10.4.11.
    I tried deleting the preferences, and reinstalling Firefox.
    This is a brand new install of the OS and was the first time we tried access this website.

    The problem is due to a call to getVolumeInformation. It works on my desktop but not on a different machine which has different drives and partitions etc. I'm returning the file system type of the fixed drives, however on certain fixed drives it fails. At first I thought it was failing on logical drives but that does not seem to be the case.This is nonsense in terms of your original post.
    Perhaps you meant to say that some of your native methods work and others dont? And the one and only way that they don't work is because you get the link error? If yes then I already told you what the reason is.
    Conversely there is some other failure, which has nothing to do with a link error. And thus it is pointless to continue to discuss this unless you actually explain what is happening.

  • Jnlp does not load on  different machine: Please help

    Hi
    I have a machine x where I've installed and am running tomcat 4.1.24 server. I installed my war file with the jnlp in the right directory and my jnlp loads and works fine on machine x.
    However when I try to lanch jnlp from different machine say Y ( I have webstart installed here too) .. via my broswer ...it launches webstart but gives a
    download error - connection refused error. cannot download jnlp.
    I tried adding the mime type to the web.xml of my application too.
    Here is my jnlp
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/fileviewer" href="index.jnlp">
    <information>
    <title>File Viewer</title>
    <vendor>IBM developerWorks</vendor>
    <homepage href="index.html"/>
    <description>File Viewer</description>
    <description kind="short">File Viewer</description>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4"/>
    <jar href="fileviewer.jar"/>
    <nativelib href="swt-lib.jar"/>
    </resources>
    <resources os="Windows">
         <jar href="swt-win32.jar"/>
    </resources>
    <resources os="Linux">
         <jar href="swt-linux.jar"/>
         <jar href="swt-pi.jar"/>      
    </resources>
    <application-desc main-class="org.eclipse.swt.examples.fileviewer.FileViewer"/>
    </jnlp>

    People...dont bother I fixed the problem
    I just had to change the localhost to point to my host name instead in the jnlp.

  • How can i look up a EJB residing in different machine from client side?

    hai ,
    How can i look up a EJB residing in different machine from client side?
    this is my code...........i don't know what should i use as Initial Context Factory...................i am using a sun appserver 8............
    package com.parx.lms.lmsdelegate;
    import com.parx.lms.exception.LMSException;
    import javax.naming.Context;
    import javax .ejb.CreateException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import java.rmi.RemoteException;
    import com.parx.lms.controller.*;
    import com.parx.lms.vo.UserVo;
    import com.parx.lms.exception.BusinessException;
    import java.util.Hashtable;
    import java.lang.*;
    public class LmsDelegate{
    private final static String JNDI_NAME="LmsBean";
    private static String url="http://localhost:4848";
    public static Lms lms = null;
    public void getController() throws CreateException,
    NamingException,RemoteException{
    if(lms == null){
    Hashtable h=new Hashtable();
    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************");
    h.put(Context.PROVIDER_URL,url);
    System.out.println("Before Loading Context in Delegate");
    Context ctx=new InitialContext(h);
    System.out.println("Loaded Context in Delegate");
    Object obj=ctx.lookup(JNDI_NAME);
    System.out.println("Loaded Object in Delegate");
    System.out.println("Before Loading Home in Delegate");
    LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
    System.out.println("Loaded Home in Delegate");
    lms = home.create();
    System.out.println("Loaded remote in Delegate");
    public void addUserDelegate(UserVo vo) throws BusinessException{
    try{
    getController();
    System.out.println("Before calling the addUser of Session");
    lms.addUser(vo);
    }catch(CreateException e){
    System.out.println("Create Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(NamingException e){
    System.out.println("Naming Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    catch(RemoteException e){
    System.out.println("Remote Exception in Delegate due to--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    }catch(LMSException e){
    System.out.println("duplicate user name--->"+e);
    e.printStackTrace();
    throw new BusinessException(e);
    pls help me..........

    h.put(Context.INITIAL_CONTEXT_FACTORY," ********what should i use here???????*************************")
    Each app server provides their own jndi factory class. For ex for weblogic it is weblogic.jndi.WLInitialContextFactory. SInce you are using sun app server, check if there are any examples to find out or the docs.
    private static String url="http://localhost:4848
    Since the client is in a different machine the localhost is not going to work here. provide the url or the machine name of the system in which ur sunapp server is running. In addition u will need to have the stubs of the remote interfaces in ur client machine.

  • Standalone oc4j in 3 different machine with clustering enabled

    Hello,
    I just want to know if clustering is possible in my situation.
    I have 3 different machine/server with a load balancer, I've installed a standalone oc4j in each machine, I deploy my application to each of the standalone oc4j, I have enable the clustering of each oc4j using peer to peer configuration.
    Machine 1 pointing to node of Machine 2
    Machine 2 pointing to node of Machine 3
    Machine 3 pointing to node of Machine 1
    Then I test my application, for my first try I was pointed to machine 1 by my load balancer, created a session, etc..etc.., after that I stop my application to oc4j machine 1, then after I refresh my page, the load balancer pointed me to machine 2, and there I see that my session is lost. Clustering is not working.
    Can anyone guide my if clustering is possible using oc4j's only. Thanks.

    I have solved this issue.
    It turns out that wls 10.3 does not always delete an application cleanly.
    I found 3 copies of the application remaining in the server.
    I deleted and reinstalled the wls and the problem was solved.

Maybe you are looking for

  • Looking for HP Basic Driver only for hp 2610 all-in-one printer

    I have windows 7( Just recently installed) and a HP 2610 all-in-one printer. I just wanted to download the printer driver only and not the HP Photosmart and office software Suite. This webside say the printer driver only is availble as a separate dow

  • 2lis_02_scl or 2lis_02_itm - goods receipt/invoice receipt number

    Hi Gurus, there is a field: BUDAT - Posting date of goods receipt/invoice receipt for purchase order;  Table: EKKO/EKBE in 2lis_02_scl and 2lis_02_itm Data Sources. As I can see, for every Purchase Order Item I get three records: - one record for the

  • N97 problem with latest version

    Hello everyone,   I„m very disappointed because after upgrading to the latest version of Ovi maps it seems I can„t use it anymore.The software keep tries to get my position with no results.The red spot keep blinking but I can„t get localized.   My ph

  • HT204291 i cant mirror my i pad 1 to apple tv, works for air playing music though

    i cant mirror my i pad 1 to apple tv, works for air playing music though, i can play videos,  and mirror from i phone 4 s

  • Oracle support

    HI guys , i have bug in my system oracle 11g.2.2 ASM RAC under OL 5.6 2 nodes the bug is appear in FEB and then after 2 days is disappear so i open a ticket in MOS just to make sure this bug is not happen again and if happen again in one node or both