RMI Client Hang Please Help

hi all
i got a RMI server and client app, im trying to call remote method from server to client. the problem is wen client A already exist and client B call the login method and server check if ID is already exist, if ID is already exist ,server then reject client B returning message say ex: "ID already exist" then server should send call a remote method to client A and disconnect client A by bringing client A back to login window and remove client A from user list on server side. And the client get to the login window and got remove from userlist on the server while client B hang(crashed) at login window, wont be able to do anything unless client A is shutdown. then client B display the message "ID already exist".here is some of the code:
Server:
Iterator iter = operator.iterator();
          User user = null;
          while(iter.hasNext())
               user = (User)iter.next();
               String name = (String)user.getNameID();
               if(name.equals(userName)){
                    pass = "User already exist";
                    try{
                         user.getListener().disConnectUser(); <b>remote method call to client</b>
                         iter.remove();break;
                    catch(ConnectException e){
                         iter.remove();break;
                    catch(RemoteException ei){
                         iter.remove();break;
Client: //client call that interface and rewrite the method
DealerInterfaceListener remoteListener = new DealerInterfaceListener(){ 
          public void disConnectUser()
               JOptionPane.showMessageDialog(mainPan, "<html>You Have Been Disconnected By Server:<br>Someone Just Loged On With This ID</html>", "Caution", 1);
login.startLogin();     //back to login window
          }

I'm not sure that this is your whole problem, but note that you are calling Swing code from a remote method invocation. This isn't allowed, you can only call swing code from an event thread. So try, in your client, doing:
SwingUtilities.invokeLater(new Runnable() {
public void run() {
doGuiStuff();
This should always return immediately, which is what you want, and the GUI stuff will be done in a swing event thread, so you won't get any weird race conditions.

Similar Messages

  • I was trying to set Adobe Reader 11 as default PDF viewer on my client PCs, Please help me this. My server is windows 2012 R2 and client PCs are Windows 8.1

    I was trying to set Adobe Reader 11 as default PDF viewer on my client PCs, Please help me this. My server is windows 2012 R2 and client PCs are Windows 8.1

    Hi Krisis,
    I have found a forum where similar query was answered. Hope this helps.
    http://www.loginvsi.com/forum/support-v4/857-adobe-reader-xi-not-set-as-default-pdf-viewer -in-server-2012-r2-rds
    Regards,
    Anoop

  • Error while compile client! Please help

    Hi everybody,
    I am new to J2EE. I hav got application server and client in the same computer.
    While compile client application to test the server part followint error is shown:
    28-Feb-2007 10:36:05 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3122"
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:161)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at bank._CustomerFacadeRemote_DynamicStub.createAccount(_CustomerFacadeRemote_DynamicStub.java)
    at bankaccountclient.Main.insertInfo(Main.java:55)
    at bankaccountclient.Main.<init>(Main.java:38)
    at bankaccountclient.Main.main(Main.java:78)
    Caused by: java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:199)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:853)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:160)
    at $Proxy22.createAccount(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:469)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1258)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    BUILD SUCCESSFUL (total time: 4 seconds)
    Please let me know the solution of the error!
    And also if client and application server is in same mechine which interface must be used to talk client with session bean?
    Please help me!

    1) It looks like you have an error in JDBC configuration.
    The main string is "Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    Check out JDBC connection pools and resources.
    2) If your beans and client there are at the same JVM you can use local interface, else use remote interface.

  • How to implement XP Cisco VPN client. Please help!!!

    Hi,
    I am trying to configure remote access for XP desktops using CVPN client software and a Cisco 805 router with IOS IPSec capable( authentication should be local). The remote desktops are behind adsl router wich does nat translations but allow IPSes passthrough.
    I have configured it but does not working.
    Can you please help me?
    Thanks in advance
    David

    Hi guys, Solved.
    This very useful link:
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Virtual%20Private%20Networks&topic=General&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dd7d54c/0
    David

  • How to implement an independent static stub client ? Please, help

    Hi everybody!
    I'm using the jwsdp1.2 and i got the static stub tutorial client to test my webservice. It works fine! However, i tried to compile the client code separately and it didn't worked. The jvm can't find the webservice class. So, the questions are:
    - How to implement an independent static stub whithout the ant help?
    - How can the client get the endpoint to create the proxy?
    - Must I use any javax.xml.rpc interface (call or service maybe) to do the job?
    - Could anybody show me some sample code?
    Well, that's it. I'm waiting for some answer. Please, help me.
    Tks in advance,
    Rodrigo.

    Can you explain what you mean by "independent static stub" ?
    JWSDP Tutorial explains all the steps required to create a static stubs client and invoke the service. In addition, https://jax-rpc.dev.java.net/whitepaper/1.1/index-part2.html#Scenario2 explains the detailed steps to achieve the same from command line.
    Hope that helps.
    Post your JAX-RPC related questions to [email protected] for a quicker resolution.
    Send an email to [email protected] to subscribe to the alias.
    Send an mail to [email protected] for a complete list of help commands.
    -Arun

  • I need to install a font on clients machine  please help....

    Hi
    My requirement is that i want to install a font on clients machine iam using jsp and how do i check if the font is already installed.
    Please help me 2 meet the deadlines.
    Thanks

    hi,
    If you are using english language and need other font to display something special character you have to provide link to the font file.
    else you have to write applet to install font on client machine. then there are other issues like you should have the applet signed.
    If you have seen some multiligual sites like japanese. those site use html encoding for that. like Shift_JIS. Due to this the browser sets that perticular font and shows the page. If the font is not installed then it connects to the download center and download the font and install the font.
    Thanks
    vivek

  • Iphone hanged please help

    Hi, I have iphone 3G. Today's morning i found a mysterious problem. When i connected my iphone to computer thru itunes, it got hang. I am not able to do anything even restart. i tried every possible option with all available switches too. please help.

    Try a reset by pressing and holding the home and power buttons for about 15 seconds until the white Apple logo appears.

  • Database get hang  please help to resolved the issue.

    Hi,
    we are getting below error at that time db not allowed user to connect database.please help to resolved the issue.
    db version is 10.2.0.3
    Errors in file /oracle/oradata/bdump/pmspr_j002_1593486.trc:
    ORA-12012: error on auto execute of job 42597
    ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j003_1347686.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j004_1995004.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Process OS id : 2064550 alive after kill
    Errors in file /oracle/oradata/udump/pmspr_ora_1572972.trc
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j005_1617988.trc:
    ORA-12012: error on auto execute of job 42597
    ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j007_1523820.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j009_1933354.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j006_1536044.trc:
    ORA-12012: error on auto execute of job 42597
    ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
    Thanks

    I think the following Oracle two note looks interesting:
    Note: 330725.1 Scheduler Job has Been Locked For Days Ora-27468
    Note: 731678.1 Scheduled jobs do not run as expected after 10.2 upgrades
    HTH -- Mark D Powell --

  • LCDS error when using Producer/Consumer messaging to exchange objects between clients. Please help!!

    Hello,
    I decided to test this with the  publish/subscribe messaging. Something I thought would work is not. Here  is the simple example;
                     var btn:Button = new Button();
                     btn.label = "My Button ";
                     msg = new AsyncMessage();
                    msg.body = btn;
                     producer.send(msg);              
    Simple right? Well, this generates a fault;
    1/21/2011  10:37:55.462 [ERROR] mx.messaging.Producer  'D7094E2F-2CA1-39C0-1EC6-A9DE3171E836' producer fault for  'A11AE369-8349-8970-0C10-A9DE5113DA2E'.
    The LCDS log gets into more detail, AMF Deserialization ERROR....
    Please notice the use of Amf0 and Amf3 methods... I thought Amf0 was a thing of the past...
    Any ideas? Please help....
    [LCDS]01/21/2011 10:37:55.039 [ERROR] [Endpoint.RTMP] Deserialization failed for incoming data: Unknown AMF type '15'.
    flex.messaging.io.UnknownTypeException: Unknown AMF type '15'.
         at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:217)
         at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)
         at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:437)
         at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:152)
         at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)
         at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:437)
         at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:152)
         at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)
         at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:437)
         at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:152)
         at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)
         at flex.messaging.messages.AbstractMessage.readExternalBody(AbstractMessage.java:654)
         at flex.messaging.messages.AbstractMessage.readExternal(AbstractMessage.java:324)
         at flex.messaging.messages.AsyncMessage.readExternal(AsyncMessage.java:98)
         at flex.messaging.io.amf.Amf3Input.readExternalizable(Amf3Input.java:491)
         at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:420)
         at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:152)
         at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)
         at flex.messaging.io.amf.Amf0Input.readObjectValue(Amf0Input.java:123)
         at flex.messaging.io.amf.Amf0Input.readObject(Amf0Input.java:94)
         at flex.messaging.io.amf.AmfMessageDeserializer.readObject(AmfMessageDeserializer.java:227)
         at flex.messaging.io.tcchunk.TCCommand.readMessage(TCCommand.java:191)
         at flex.messaging.endpoints.RTMPConnection.serviceTCMessage(RTMPConnection.java:1024)
         at flex.messaging.endpoints.RTMPConnection.doRead(RTMPConnection.java:610)
         at flex.messaging.endpoints.RTMPProtocolHandler.doRead(RTMPProtocolHandler.java:125)
         at flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:864)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    Thanks,
    Oscar

    See my response in the other thread.

  • IE6 Preview Browser Hangs; Please HELP

    Dreamweaver 8 crashes when I try to preview an asp page with
    the IE6 browser, only when there are no other browsers currently
    open.
    For example if I have a browser already open with any other
    site, as long as the browser is open, I can preview the ASP pages
    fine but; If no browsers are currently opened, DW8 just freezes.
    Please help we have a deadline on a big project and would like to
    start as soon as possible.
    My settings are Win2K professional, IE6 Ver. 6.0.2800.1106
    SP1, DW8
    Thanks in advance

    Dreamweaver 8 crashes when I try to preview an asp page with
    the IE6 browser, only when there are no other browsers currently
    open.
    For example if I have a browser already open with any other
    site, as long as the browser is open, I can preview the ASP pages
    fine but; If no browsers are currently opened, DW8 just freezes.
    Please help we have a deadline on a big project and would like to
    start as soon as possible.
    My settings are Win2K professional, IE6 Ver. 6.0.2800.1106
    SP1, DW8
    Thanks in advance

  • SSL and RMI: Client hangs when trying to connect

    Hi all,
    Sorry for the cross-posting (I first posted to the RMI forum) but I thought someone here might be able to shed some light. The original message follows.
    I have a very simple client/server model implemented using RMI. Previously I used the default socket factories for creating sockets/connections and everything worked fine, but now I want to use SSL to encrypt all the traffic and I'm running into some trouble. The client is able to get the correct remote registry on the correct port, but when it tries to do registry.lookup("ServerName") to get a reference to the server object, it hangs indefinitely.
    Briefly, here are the changes from default RMI:
    As the docs suggested, I created a pair of custom socket factory classes (one for the client and one for the server) that create SSL sockets, and I put the following line in my server's constructor:
    super(0, new CustomClientSocketFactory(), new CustomServerSocketFactory());
    [my server extends UnicastRemoteObject].
    The custom factories are quite simple; the client consists of:
    public class CustomClientSocketFactory implements RMIClientSocketFactory, Serializable {
    public Socket createSocket(final String iHost, final int iPort) throws IOException {
    return SSLSocketFactory.getDefault().createSocket(iHost, iPort);
    and the server:
    public class CustomServerSocketFactory implements RMIServerSocketFactory {
    public ServerSocket createServerSocket(final int iPort) throws IOException {
    return SSLServerSocketFactory.getDefault().createServerSocket(iPort);
    Everything else is the same as before. I start the server on the remote machine, which starts its own registry on a certain port; then I start the client on the local machine. The client gets the registry and then ... nothing happens.
    I know this is somewhat vague, but the changes are small from the working code so I must be doing something wrong in creating SSL sockets. Is there something I can do to trace the process or figure out what's causing the hang? Am I missing some required authentication or other code in the server socket factory (my understanding from the docs is that authentication is optional)? Any other ideas about what's going on?
    Thanks,
    - Matt

    Matt, did you ever determine anything about your Strange Behavior #2. I'm running int the exact same issue. We've been using JSSE without problem for more than 2 years now. I'm currently trying to connect to a new SSL server and the connections setup is taking about 4 minutes (not the SecureRandom seeding) (see my comment in the trace: "this is where it sits for about 3 minutes")
    Trace:
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1005755098 bytes = { 7, 203, 184, 206, 249, 120, 35, 155, 160, 131, 72, 68, 12, 35, 64, 75, 63, 202, 161, 95, 42, 130, 74, 248, 145, 108, 49, 189 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3C F3 9B DA 07 CB B8 CE F9 78 ...7..<........x
    0010: 23 9B A0 83 48 44 0C 23 40 4B 3F CA A1 5F 2A 82 #...HD.#@K?.._*.
    0020: 4A F8 91 6C 31 BD 00 00 10 00 05 00 04 00 09 00 J..l1...........
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    SbATAOutAdapter, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C F3 9B .............<..
    0030: DA 07 CB B8 CE F9 78 23 9B A0 83 48 44 0C 23 40 ......x#...HD.#@
    0040: 4B 3F CA A1 5F 2A 82 4A F8 91 6C 31 BD K?.._*.J..l1.
    SbATAOutAdapter, WRITE: SSL v2, contentType = 22, translated length = 16310
    !!! This is where it sits for about 3 minutes !!!!
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1005755287 bytes = { 8, 151, 45, 75, 86, 164, 141, 52, 216, 145, 81, 24, 157, 215, 246, 206, 87, 83, 153, 41, 88, 38, 3, 119, 190, 13, 0, 28 }
    Session ID: {}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 59
    0000: 01 00 00 37 03 01 3C F3 9C 97 08 97 2D 4B 56 A4 ...7..<.....-KV.
    0010: 8D 34 D8 91 51 18 9D D7 F6 CE 57 53 99 29 58 26 .4..Q.....WS.)X&
    0020: 03 77 BE 0D 00 1C 00 00 10 00 05 00 04 00 09 00 .w..............
    0030: 0A 00 12 00 13 00 03 00 11 01 00 ...........
    SbATAOutAdapter, WRITE: SSL v3.1 Handshake, length = 59
    [write] MD5 and SHA1 hashes: len = 77
    0000: 01 03 01 00 24 00 00 00 20 00 00 05 00 00 04 01 ....$... .......
    0010: 00 80 00 00 09 06 00 40 00 00 0A 07 00 C0 00 00 .......@........
    0020: 12 00 00 13 00 00 03 02 00 80 00 00 11 3C F3 9C .............<..
    0030: 97 08 97 2D 4B 56 A4 8D 34 D8 91 51 18 9D D7 F6 ...-KV..4..Q....
    0040: CE 57 53 99 29 58 26 03 77 BE 0D 00 1C .WS.)X&.w....
    SbATAOutAdapter, WRITE: SSL v2, contentType = 22, translated length = 16310
    SbATAOutAdapter, READ: SSL v3.1 Handshake, length = 74
    *** ServerHello, v3.1
    RandomCookie: GMT: 1005755466 bytes = { 145, 7, 69, 98, 152, 52, 222, 159, 96, 162, 220, 85, 77, 107, 82, 203, 25, 94, 208, 124, 2, 245, 96, 208, 224, 254, 139, 206 }
    Session ID: {68, 7, 167, 168, 236, 202, 48, 147, 191, 204, 208, 122, 24, 43, 132, 50, 65, 220, 172, 189, 17, 18, 197, 11, 150, 59, 201, 103, 86, 176, 115, 68}
    Cipher Suite: { 0, 5 }
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    ** SSL_RSA_WITH_RC4_128_SHA
    Anybody have any ideas?
    Thanks,
    Marcel

  • Tabbing from Illustrator to Indesign causes Indesign to hang- please help!

    I can tab from Illustrator to Indesign instantaneously, but as soon as I want to tab back to Indesign the computer hangs for about three minutes.. looks like it has crashed, but then settles back into Indesign.
    Could any of you help me out with this infuriating predicament?
    I'm running on a 2gig, 2.8ghz Dell.
    Thanks in advance.

    Yes 7.5.2
    illustrator gradient above and id gradient below
    thank you
    (no transparency in the gradient)

  • Oracle 9i Release 2 - Installation hangs please help

    OS: SUSE 10
    I have to Install oracle 9i Release 2(9.2.0.4.0)
    I have java-1_4_2-sun installed, and the installation directory/path is /usr/lib/jvm.
    now my question is should I change the path of JRE_LOCATION, in the oraparam.ini from
    JRE_LOCATION=../../stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/linux
    to
    JRE_LOCATION=/usr/lib/jvm
    Second
    when as user oracle, i execute the installer, it goes smooth till the "Database Configuration" page, i select the
    General Purpose > Next > now here installation progress bar stuck/hangs at 87%
    following is the output of /opt/oracle/oraInventory/logs/oraInstall2007-04-26_04-37-20AM.err
    java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find bundle for base name resources/libRes.properties, locale en
    at java.util.ResourceBundle.throwMissingResourceExcep tion(ResourceBundle.java:712)
    at java.util.ResourceBundle.getBundleImpl(ResourceBun dle.java:683)
    at java.util.ResourceBundle.getBundle(ResourceBundle. java:546)
    at OiGeneralPortQueryRes.<clinit>(OiGeneralPortQueryRes.java:7)
    at getFreePort.performQuery(getFreePort.java:477)
    at oracle.sysman.oii.oiis.OiisCompContext.doQuery(Oii sCompContext.java:2330)
    at Components.oracle.sysman.webserver.v9_2_0_1_0.Comp Context.getCalculatedValueObject_PORT(CompContext. java:304)
    at Components.oracle.sysman.webserver.v9_2_0_1_0.Comp Context.getCalculatedValueObject(CompContext.java: 224)
    at oracle.sysman.oii.oiis.OiisCompContext.getCalculat edValue(OiisCompContext.java:612)
    at oracle.sysman.oii.oiis.OiisVariable.getCalculatedV alue(OiisVariable.java:733)
    at oracle.sysman.oii.oiis.OiisVariable.setVariable(Oi isVariable.java:1407)
    at oracle.sysman.oii.oiis.OiisCompContext.doOperation (OiisCompContext.java:991)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.doOperat ion(OiicCompsWizEngine.java:182)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
    at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelC ompsInstall.doOperation(OiicInstallSession.java:87 8)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.ite rate(OiifbCondIterator.java:140)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation (OiicPullSession.java:614)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperat ion(OiicSessionWrapper.java:177)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.i terate(OiifbLinearIterator.java:116)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInsta ller.java:358)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInst aller.java:637)
    Plz help me
    Regards

    Workaround consits of two steps:
    1. Use jre 1.3.1_n (where n>10) (1.4.n use only if your platform is x86_64)
    2. execute following commands before you execute runInstaller or dbca:
    unset LANG
    unset LC_TYPE

  • E72 EMail Client hanging :( Please helppp

    Following are the issues that I am facing since the upgrade of my E72-1 FW from 031 to 051:-
    I have configured Gmail IMAP on my mobile but now it often hangs the application after few hours and I cannot receive any emails. The only solution is to reboot the phone.
    I have Mail for Exchange also, it never faces any issues, But now I often face a delay of few minutes before I can access the latest EMail from my mailbox on the server.
    For some reason my Nokia Messaging Account has been cancelled, Not sure why... So I am unable to access Yahoo Email as well.
    So the major issue that I am facing is Hanging of the EMAIL application.
    Steps that I have performed till now:-
    Hard Formatted my phone when it was at FW 031.
    Then installed FW 051.
    Again formatted the phone.
    Restored Default Settings
    Formated the MMC card
    Then installed couple of apps and configured the EMAIL.
    Please let me know incase others are also facing this EMAIL hang issue.

    unfortunately the newest firmware release for the e72 and e71 was botched IMO.  that is why you are having email issues like that.
    you will have to deal with it until there is another update as you cannot go backwards in the firmware.
    regarding your NM account...i had mine "mysteriously" disappear too.  found out it had to be randomly deleted from thier server.  i had two yahoo email addresses attached to it too.
    now, after creating a new NM account, which isnt that big a deal, i cannot add the yahoo accounts even from my phone or the web.  i have spent hours with nokia on the phone working on this alone.

  • Rmi Database communication(Please help)

    sir
    i am trying to return a result set object to a client using rmi.but does not working properly it shows number of exception.but connection is established through it.
    here is the coding of Implementation class.plese give me asolution as early as posssible
    IMPLEMENTATION CLASS
    import java.rmi.*;
    import java.rmi.server.*;
    import java.io.*;
    import java.sql.*;
    public class scmimpl extends UnicastRemoteObject implements scmintf,Serializable
         private ResultSet rs=null;
    ResultSet rs1=null;
    ObjectOutputStream os;
    private Statement st=null;
    private Connection con=null;
    public scmimpl() throws RemoteException,IOException
    public boolean Connect() throws RemoteException
         try{
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con=DriverManager.getConnection("jdbc:odbc:mn1","scott","tiger");
                   con.setAutoCommit(false);
                   st=con.createStatement();
                   return true;
         }catch(Exception e)
              return false;
    public ResultSet Quest(String s) throws RemoteException,IOException,NotSerializableException,WriteAbortedException,MarshalException
    try{
    rs=st.executeQuery(s);
    return rs;
    catch(Exception e)
         System.out.println("error---->"+e);
         return rs=null;
    public boolean Close()
    try{
    rs1.close();
    }catch(Exception ex){}
    return(true);
    public int Update(String s)
    int bl=0;
    try{
    bl=st.executeUpdate(s);
    catch(Exception ex)
    {System.out.println(""+ex);}
    return bl;
    public boolean Cancel()
    try{
    con.rollback();
    return true;
    catch(Exception e){return false;}
    public boolean Submit()
    try{
    con.commit();
    return true;
    catch(Exception e){return false;}
    INTERFACE CLASS
    import java.rmi.*;
    import java.sql.*;
    import java.io.*;
    public interface scmintf extends Remote
         boolean Connect() throws RemoteException,IOException;
         ResultSet Quest(String s) throws RemoteException,IOException,WriteAbortedException,WriteAbortedException;
         int Update(String s1) throws RemoteException;
         boolean Close() throws RemoteException;
         boolean Cancel() throws RemoteException;
         boolean Submit() throws RemoteException;
    SERVER PROGRAM
    import java.rmi.*;
    import java.net.*;
    public class scmServer
         public static void main(String arg[])
              try
                   scmimpl SCMimpl=new scmimpl();
                   Naming.rebind("scmServer",SCMimpl);
              catch(Exception e)
    CLIENT PROGRAM
    import java.rmi.*;
    import java.sql.*;
    import java.io.*;
    public class client implements Serializable
         public static void main(String arg[])
              try
                   String URL="rmi://localhost/scmServer";
                        scmintf SCMintf=(scmintf)Naming.lookup(URL);
                        boolean f=SCMintf.Connect();
                        System.out.println(""+f);
                   //     int n=SCMintf.Update("insert into blogin values('naveen','naveen','a')");
                   //     System.out.println(""+n);
                        //boolean f1=SCMintf.Submit();
              ResultSet rs1=SCMintf.Quest("select username from blogin where username='naveen'");
                   //FileInputStream is =new FileInputStream("c:/Sale/Working/scmClient/t.tmp");
                   //ObjectInputStream p=new ObjectInputStream(is);
                   //rs1=(ResultSet)p.readObject();
                   //is.close();
                        //     os.readObject();
              }catch(Exception e){
              System.out.println(e);
              e.printStackTrace();
    sir these are the exception shown by the program
    EXCEPTION
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:      java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: sun.jdbc.odbc.JdbcOdbcResultSetjava.rmi.UnmarshalException: error unmarshalling return; nested exception is:      java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: sun.jdbc.odbc.JdbcOdbcResultSetjava.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: sun.jdbc.odbc.JdbcOdbcResultSet     at java.lang.Throwable.<init>(Throwable.java:96)     at java.lang.Exception.<init>(Exception.java:44)     at java.io.IOException.<init>(IOException.java:49)     at java.io.ObjectStreamException.<init>(ObjectStreamException.java:31)     at java.io.WriteAbortedException.<init>(WriteAbortedException.java:45)     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)     at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:304)     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)     at scmimpl_Stub.Quest(Unknown Source)     at client.main(client.java:15)Process Exit...
    thanking you

    I think the exception output held your answers:
    java.io.WriteAbortedException: Writing aborted by exception;
    ... and ...
    java.io.NotSerializableException: sun.jdbc.odbc.JdbcOdbcResultSet
    Anything passed accross the network through RMI must be serializable ..and a ResultSet is not.
    Try 'micro-managing' the results on the server side ...if that makes sense to you. Another alternative that I have tried (with ok results) is returning a two dimensional Object array ie: Object[][] that represents the ResultSet. Actually, I found that it works great.
      public static class MovieCapsule implements java.io.Serializable {
        public int mode;
        public Object[] data;
       /** MovieCapsule <I>default</I> Constructor */
        public MovieCapsule() {
          mode = -1;
          data = null;
       /** MovieCapsule <I>loaded</I> Constructor
        * @param md Sets the 'mode' integer.
        * @param dta Sets the Object[] data within the MovieCapsule.
        public MovieCapsule(int md, Object[] dta) {
          mode = md;
          data = dta;
      }This actually was used for a single row of results, but you get the idea. I've worked with a 2D array as well.

Maybe you are looking for

  • Combing rounding functions with other functions

    I am using hyperion reports. Is it possible to combine a rounding function with another function? Specifically, I am taking a variance of actual vs budget where actual and budget are % of total functions. The variance I am getting is off (see ex. bel

  • XI FILE SRVICE

    Hi i have problem in xi. i build scenario proxy to file. i want that the file will copy to other dictionary with time stamp, so i think to build two file service but i don't know how to insert the second file service to the scenario Maybe someone hav

  • How to encrypt text

    hello everyone, i created a client server ....Its a simple program. client must send the IP iddress to server by using getbyname().. I want the client IP address to be encryptd. Remember the IP addres is stored in a buffer and printed as a Out.printl

  • Dual case fans and cd line in

    I have a 648Max-L and would like to hook up two case fans (my AMS CF-2029 clear case has two fan brackets in rear and one 80/120mm in front). In reading the manual and examining the board there is only one pin header for the case fan (sysfa)... so ho

  • How can I find my lost pdfs in ibooks (ios7 and mavericks) after updating both?

    I have lost all 60-70 of my PDF files, which I have collected over the last 5 years. They are mainly surgical technique manuals for my job. THey disappeared after I updated to ios 7 and Mavericks. I don't know at which point they were lost. I restore