RMI Client on Linux issue.

I am facing Java RMI problem on Suse Linux.
RMI server running on solaris and RMI client running on Solaris ---> works fine
RMI server running on solaris and RMI client running on Linux ---> gives error
Pls note that RMI server running fine. When invoking remote method from RMI client on Suse Linux, I get following error.
Java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: RemoteVtskImpl_Stub
Any help/pointers will be useful.

Even we tried setting the CLASSPATH to point to those jar files. But still the problem persist.
At run time is there any way to see what all the _stub files are downloaded in the JVM at the client machine (linux machine in our case) from the server machine (solaris machine in our case).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Error running RMI program in Linux

    hi,
    hope can get some advices and help from you all..my problems is like this:
    There is no problem when i run my RMI client in Windows to send message to server. but when i run my RMI client in Linux to send message to server, exception occurs..here are the source codes...
    ****interface Task2*****
    public interface Task2 extends Serializable {
        Object getSender();
        Object getReceiver();
        Object getText();
    }****sdMssg.class********
    public class sdMssg implements Task2{
            Sring sender, receiver, text;
         public sdMssg(String s, String r, String t) {
                 sender = s;
              receiver = r;
              text = t;
         public Object getSender(){
              return sender;
         public Object getReceiver(){
              return receiver;
         public Object getText(){
              return text;
    }when i click "send" in my message box,
    public void actionPerformed(ActionEvent e){
         if(e.getActionCommand().equals("Send")){
         try{
         String input = lsd2.getText(0, lsd2.getLength());
         String mssg = new String(sender.getText()+": ");
         mssg = mssg.concat(input);
         try{
              sdMssg task = new sdMssg(sender.getText(), receiver.getText(), mssg);                    
              uL.sendMessage(task); //uL is the reference to the remote 
                                       //object.sendMessage is remote
                                       //method to send task object to
                                       //server
         }catch(Exception ex){
              ex.printStackTrace();
         lsd.insertString(lsd.getLength(), mssg + newline, attrs);
         lsd2.remove(0, lsd2.getLength());
         }catch(BadLocationException ex){}************************************************************************
    the exception : java.lang.NullPointerException() at line uL.sendMessage(task)..do you know what is the problem? it's running very well in Windows but not in Linux..what should i do? i really need yours help..
    Thanks a lot here..

    sorry, it's my mistake..it really Naming.lookup problem..i have solved it..anyway, thanks for your kindness..

  • RMI Client Code Issue

    Hello,
    Here is my client side RMI program:
    import java.rmi.*;
    public class MyRemoteClient {
    public static void main(String args[]) {
    MyRemoteClient mm = new MyRemoteClient();
    mm.go();
    public void go(){
    try{
    MyRemote service2 = (MyRemote) Naming.lookup("rmi://xxx.xxx.xx.xx/Hello");
    String s = service2.sayHello();
    System.out.println(s);
    } catch(Exception ex){ex.printStackTrace();}
    }Having started RMI Registry and Service Implementor code on the server, if I try to run the above code on the client it fire the following error:
    java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is:
    java.net.ConnectException: Connection refused: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at MyRemoteImpl_Stub.sayHello(Unknown Source)
    at MyRemoteClient.go(MyRemoteClient.java:11)
    at MyRemoteClient.main(MyRemoteClient.java:6)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
    ... 7 more
    I am wondering as to why is it trying to connect to a local host 127.0.1.1 instead of the IP Address specified at by"xxx.xx.xx.xx" in the program?
    I have the stub class and the service interface classes on my client-side.
    Thanks.

    I am wondering as to why is it trying to connect to a
    local host 127.0.1.1 instead of the IP Address
    specified at by"xxx.xx.xx.xx" in the program?Because that only specifies where the lookup should be done, i.e. where the Registry is. This lookup() returns a stub to your remote object which has its own IP address and port embedded into it, and that's where 127.0.0.1 is coming from - you're not doing Registry.lookup at this point, you're calling your remote method.
    This indicates a DNS or /etc/hosts misconfiguration - your primary IP address is coming up as 127.0.0.1 instead of whatever your public IP address is. Famous Linux issue. You should really fix it in your DNS or /etc/hosts, but you can work around it by setting -Djava.rmi.server.hostname=<public IP address> at the server JVM.

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • Essbase 9.3.1 client for linux

    I am unable to complete the install of Essbase 9.3.1 client for linux (i386 on Redhat).
    I export the display and as soon as i click on next on hte Select Hyperion Home Directory screen the install hangs.
    Source files are local, installed to a local directory
    Anyone have any ideas?

    Hi,
    I think you'll run into issues if Server & client versions aren't matching.
    We had run into this problem even when we were migrating just from 9.3.1.0 to 9.3.1.3.
    - Natesh

  • Novell Client for Linux causes Excel/Crossover to lock on file open

    When using Microsoft Office with Crossover, if I access a mounted NetWare
    drive using Novell Client for Linux it causes the office Open dialog to lock.
    The same action with an NCPFS mount works ok.
    Of course I understand if having Office/Crossover working is not exactly a
    priority but my company will need it if we are to migrate to NLD

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

  • Serlet acting as RMI client

    hi all
    i have a servlet acting as a RMI client, the container of choice is Oracle Application Server or Tomcat
    how to set the security / persmision settings ?

    * Withdrawer.java
    * This is a non-thread-safe subclass ofAccountHolder that implements the run method
    * in such a way as to iterate a fixed number of times, making
    * a fixed withdrawal on its (shared) Account object.
    * @author Chad Salinas
    * @version 12/15/03
    * sources credited: Chad Salinas
    * Chad Salinas Open issues:
    Chad Salinas package cscie160.hw6;
    public class Withdrawer extends AccountHolder
    public static final float AMOUNT = 200;
    // Chad Salinas default constructor that won't be used
    public Withdrawer()
    // Chad Salinas the one-arg constructor requiring taking an Account object
    Chad Salinas public Withdrawer(Account oneAccount)
    Chad Salinas {
    Chad Salinas theAccount = oneAccount;     
    Chad Salinas }     
    public void run()
         for(int i = 0; i < 10; i++)
         Chad Salinas boolean finished = false;
         Chad Salinas while(!finished)
              Chad Salinas if(theAccount.getBalance() >= AMOUNT)
         Chad Salinas theAccount.withdraw(AMOUNT);
         Chad Salinas finished = true;
              else
              try
              Chad Salinas Thread.sleep(100);
              Chad Salinas catch(Exception e)
    Chad Salinas sample source
    Chad Salinas factory design pattern

  • Using an RMI Client to connect to a Server.

    I am using an RMI Client on my PC (using Eclipse 3.2) to connect to a Server on a Linux System.
    The Server is up and running and from the client side,I am reading all the server configuration into a variable and passing this variable into Naming,lookup.
    String lookUp =     "//" + prop.getProperty("rmi.hostName") +
                          ":" +  prop.getProperty("rmi.appPort") +
                          "/" +  prop.getProperty("rmi.appName);
    System.out.println(lookUp)   // Value://17.10.222.80:40009/RMIAPP
    Application a =  (Application)Naming.lookup(lookUp)     It is unable to connect to the Server.
    Am I missing anything? Have I overlooked any point?
    Thanks

    http://java.sun.com/docs/books/tutorial/rmi/index.html

  • RMI Clients behind firewall

    When the RMI client behind firewall tries to access the server the following error is thrown up:
    java.rmi.ConnectIOException: Exception creating connection to: 10.130.12.128; ne
    sted exception is:
    java.net.NoRouteToHostException: Operation timed out: no further informa
    tion
    java.net.NoRouteToHostException: Operation timed out: no further information
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at RMIFaxServer_Stub.getResult(Unknown Source)
    at FaxTest.main(FaxTest.java:51)

    your client is behind the firewall but the server you're trying to access has an address 10.x.x.x which says that it too is behind a firewall and not on the Internet, or is the server in a DMZ. It sounds more like a networking issue than a java problem at this point. If the server is on some side of a firewall, you may need a some sort of "permit established" config setting added to the firewall. Just a thought.

  • Cisco Jabber Client for Linux

    Are there any plans to have a Cisco Jabber client on linux?

    Mike,
    The larger body of use case and development for Jabber has centered on Windows and mobile iOS and Android devices. That's not to say that there isn't a contingency of customers that want a Linux client but, as of today, there is no "Jabber" client for that platform. However, I've heard this question asked in a few different forums and the answer thus far has typically been one or both of the following:
    1) There is a Jabber SDK, which could potentially be used to custom develop an application.
    2) Use 3rd-party XMPP client (e.g. Pidgin)
    As for an official answer on "will there be in the future" with a yes/no/maybe and/or a possible timeframe, you would need to reach out to Cisco or your trusted partner as roadmap items cannot be discussed without having a non-disclosure agreement in place. That's what Jamie is getting at in his response.
    D. Hailey
    NetCraftsmen, LLC.

  • Sending email using system default mail client on linux and Mac

    Want to send e-mail using defalut mail client of Linux, Mac OSX, others.

    Your question may be about mail, and your question may be about Java,
    but the JavaMail library can't do what you're asking.
    I know of no platform-independent way to do what you're asking.
    You can write lots of platform-dependent code - to do it with Outlook
    on Windows, to do it with AppleMail on MacOS, to do it with Thunderbird
    on Linux - but I know of no way to do it with whatever mail client the
    user has configured on any system.
    Sorry.

  • Is there really a Cisco VPN client for Linux? _Really?_

    Hello folks,           
            I've finally after almost experiencing a brain aneurysm by trying to think too hard got my Cisco 881-SEC-K9 router properly configured for a multipoint IPSec VPN tunnel to my Amazon Virtual Private Cloud, so that hurdle is finally passed and I actually feel it was a very important milestone in my life somehow. I never thought I'd see the day I actually got my hands on a legitimate Cisco non-stink... erm.. I mean, non-linksys router. Now I just can't seem to find a 'client' VPN program for Linux. I'm currently running a Xen Hypervisor environment on openSUSE Linux because it's the only Linux distribution that completes all of my strenous requirements in a Linux server environment. It's also the most mature, and secure Linux on this planet, making it the most appreciable Linux distribution for my research needs.  Using NetworkManager is not really an option for a basic Linux server environment, and OpenVPN is just too confusing to comprehend for my tiny little head.  I've heard mention of some mysterious "Easy VPN" but after hours of digging online can't find any information about it, even the Cisco download link leads to a Page Not Found error.  I do see a Linux VPN API for the AnyConnect program, but is that an actual VPN client, or just an API?  It seems to want my money to download it but I don't have any money nor do I really know what it is because it's all secretive-like, closed source, and I can't even find a simple README file on it explaining what it is exactly.  I'm just an out-of-work software developer trying to connect to my home router for personal use and I can't really afford to fork over a million and a half dollars for a single program that I'm only going to need to download once in my lifetime that should have been included with the router in the first place. I more than likely won't even be able to figure out how to use the program anyways because I don't know anything about VPN connections which is why I bought this router so I can try to figure it all out as part of the not-for-profit open source, volunteer research I'm presently trying to conduct.  Is there some kind of evaluation or trial period for personal use? That would be really nice so I could at least figure out if I'm going to be able to figure it out or not.  I hate throwing money away when it's in such short supply these days. There's really no alternative to a Cisco router.  It's an absolute necessity for the things I'm trying to accomplish, so trying to settle for something else and going on with my life is not really an option. No, this is something I just need to face head on and get it over with.
    <Rant>
           Maybe I have a little too much crazy in me for my own good, but I don't see why it should take so much money just to learn how to do something for personal reference, it's not really a skill I would ever use otherwise.  Wouldn't it be great if Cisco made their VPN client open source and free to the public to use and modify, to improve on, to learn and to grow and bring the whole world closer together as a community? Even the source code to the old discontinued Cisco VPN client could be used as a valuable learning tool for some poor starving college student or Open Source Software developer somewhere trying to get by on Ramen Noodles and Ramen Noodle Sauce on Toast (don't tell me you never thought about it).  Through the ripple effect, It would drastically improve sales over the course of time, because it would open the door to a whole new market where those who previously could not afford to participate now could. That's the true power of Open Source. It creates a more skilled work force for the future by openly contributing and sharing knowledge together. What if the next big internet technology and the solution to world tyranny - the solution to end all wars forever - were locked in the mind of an unemployed software developer who couldn't afford to upgrade their cisco router software or access the software they needed because it was closed source and required committing to an expensive service contract to download?  That would be just terrible, wouldn't it?  I guess there's no way to ever know for sure. I suppose I'd be just as happy if some kind soul out there could point me to an easy to use alternative to an always on VPN connection that runs in the background which doesn't require NetworkManager or having to spend days upon days digging through and trying to comprehend either some really poor or extremely complex documentation?  I apologize for all the run on sentences posed as questions, but I've just got some serious mental burnout from all of this, being unemployed is some hard work folks. I could really use a vacation.  Perhaps a camping trip to the coast is in order after I get this working, that sounds nice, doesn't it? Nothing like a good summer thunder storm on the ocean beach - far away from technology - to refresh the mind.
    </Rant>

    I do tend to talk too much and I don't mince any words either.  What I am however, is really appreciative for the help. I know you hear that all the time, but you have no idea how much time and headache you just saved me.  I think vpnc might be just what I've been looking for, unless someone can think of a client for Linux that I might be able to throw a little further.  I'm very security minded now, after the backlash of Blackhat 2013, there's no telling which direction the internet might head next. Oh, you didn't hear? Well wether they realize it or not, DARPA basically declared war with other government agencies by releasing their own version of a spy program for civilians to use against the whoever -- possibly even the governmnet itself. They even went so far as to suggest it's private usage to blanket entire cities in information gathering. Civilians are a powerful foe, as they are not bound by the oath of office, any evidence they obtain is admissible in court, wether they know that or not. There's a very important reason for that. It's to prevent another civil war from ever happening, we shed enough blood the first time around less people forgot.  It's something that can and will be avoided because our civilization has advanced beyond the need for bloodshed. The courts have to obey the majority rule, no matter what. For the first time in history, cyberwarfare can reach into the physical world to cause serious damage to physical structures like the nuclear facility incident in Iran.  There's scarry bills trying to sneak through congress that are changing the landscape of technology forever for the entire world. We're at a pivotal point now where things can happen. It will be interesting to see how it all plays out over the next decade or so. No matter which way you look at it, just be preparerd to sell a whole lot of routers.

  • Install Essbase 11.1.2.2 Client on Linux/Aix

    Hi,
    I want to install Essbase 11.1.2.2 Client on Linux Redhat6_64/Aix7, I found a same problem on both of the platforms.
    Take Linux for example, I cannot found Essbase Client when I install it.
    The file I download is like this:
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 1 V31896-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 2 V31897-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 3 V31920-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 4 V31898-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 5 V32792-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 6 V31900-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Part 7 V31901-01
    EPM System Release 11.1.2.2.0 Client Installers for Microsoft Windows V32789-01
    EPM System Release 11.1.2.2.0 for Linux x86-64 Oracle HTTP Server V31902-01
    But when I run ./install.sh, it has no "Essbase Client ", could you tell me how to install client on linux/aix os?
    I already have my essbase server, i just want to install
    Thanks!!

    Hi John,
    Thanks a lot!
    Could you help me to figure out the following questions,please?
    1. Is Essbase 11.1.2.2 Client do not officially support installed alone on Linux/Unix platform?
    2. In the support file "How to Install the Essbase Client Tools MaxL and ESSCMD on a Planning Server Installed on Unix Server", I found that the Essbase server must be installed on a Linux platform first, if I install it on a Windows platform, there will be no such files:
    startMaxl.sh
    startEsscmd.sh
    setEssbaseEnv.sh
    so I cannot copy these to my created directory. So is that mean, if I want to install Essbase 11.1.2.2 client on a Linux Red hat6.0/Aix7.1, I must Firstly installed Essbase Server on another no-windows OS to get the above files?
    Thanks very much!
    BRs,
    Tracy

  • RMI client-side - how to encrypt,decrypt  in client-side

    I write javacard RMI style. My problem is...
    Source code below is work when it write in applet (card - side)
    but in client-side (reader -side) I copy it to client - side code and test to run, if fail --> throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    It seem to be "javacardx.crypto" and "javacard.security" is make for use in applet in card only. Did I misunderstand?
    if it make for use in applet only, how is possible to do like this " card use privatekey to sign message and send to reader , reader use card's publickey to verify that card sign this signature or not."
    or
    "card use reader's publickey to encrypt message and send to reader, then reader use privatekey to decrypt message (reader authencate itself) "
    because I can't do any of cipher , keybuilder in RMI-client side(reader)
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false);
    it will throw nullPointerException
    and if (change false to true)
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,true);
    throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    after that I swap this line with
    pri_key = (RSAPrivateKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PRIVATE,KeyBuilder.LENGTH_RSA_512, false);
    since it will do this first (i swap the line already) it also throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    also be the same result with swap
    kp = new KeyPair(KeyPair.ALG_RSA,(short)KeyBuilder.LENGTH_RSA_512 );
    to a first line
    it throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    Please help me
    RSAPrivateKey pri_key;
    RSAPublicKey pub_key;
    KeyPair kp;
    Cipher RSAcipher;
    RSAcipher = Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false);
    pri_key = (RSAPrivateKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PRIVATE,KeyBuilder.LENGTH_RSA_512, false);
    pub_key =(RSAPublicKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PUBLIC,KeyBuilder.LENGTH_RSA_512, false);
    kp = new KeyPair(KeyPair.ALG_RSA,(short)KeyBuilder.LENGTH_RSA_512 );
    kp.genKeyPair();
              pri_key = (RSAPrivateKey) kp.getPrivate();
              pub_key = (RSAPublicKey) kp.getPublic();
    //ENCRYPT
    RSAcipher.init(pri_key, Cipher.MODE_ENCRYPT);
    t_cipherLengthRSA = RSAcipher.doFinal(plaintxt,(short)0, (short)plaintxt.length, t_cipherText, (short)0);
    //DECRYPT
    RSAcipher.init(pub_key, Cipher.MODE_DECRYPT);
    RSAcipher.doFinal(ciphertxt,(short)0,(short) t_cipherLengthRSA, temp1, (short)0);

    I write javacard RMI style. My problem is...
    Source code below is work when it write in applet (card - side)
    but in client-side (reader -side) I copy it to client - side code and test to run, if fail --> throw
    exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHMYou can not share code between card and client. On the card use the classes of javacardx.crypto and on the client side those of javax.crypto and java.security.
    It seem to be "javacardx.crypto" and "javacard.security" is make for use in applet in card only. That is right.
    if it make for use in applet only, how is possible to
    do like this " card use privatekey to sign message
    and send to reader , reader use card's publickey to
    verify that card sign this signature or not." or
    "card use reader's publickey to encrypt message and
    send to reader, then reader use privatekey to decrypt
    message (reader authencate itself) "On each platform you have classes that provide the same cryptographic operations but the interface of these classes is different (because of the limitations of the java card platform).
    because I can't do any of cipher , keybuilder in
    RMI-client side(reader)Use the java.security.KeyFactory instead.
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false);
    it will throw nullPointerException
    and if (change false to true)
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,true);
    throw exception 0x3 -
    javacard.security.CryptoException.NO_SUCH_ALGORITHMCryptographic support on java cards is optional. Not every card supports every algorithm. Try to use another algo.
    Jan

  • How do I make a RMI client running in Bea find a remote, non Bea, RMI server?

    On my stand alone test system I run a RMI server in one JVM,
    registry.exe and a RMI client in its own JVM. The client uses
    java.rmi.Naming.lookup() to find the RMI server, and this works fine.
    If I run the same RMI client class within Bea the naming lookup fails! I
    guess this is due to Bea using it own RMI registry rather than the
    registry.exe I started separately(?)
    QUESTION: How do I make a RMI client running in Bea find a remote,
    non-Bea, RMI server?
    Of course, in the final environment the server will run on a system
    remote from Bea.
    The RMI client calls are done from a servlet, not from a EJB.
    The doumentation about using RMI with Bea is focused on running the RMI
    server within Bea. This might be the "normal" thing to do, but in our
    case Bea is the client, not the server. Do I still need to use
    weblogic.rmi.*....? If so, where?
    Grateful for any tip.
    Göran Hagnell

    On my stand alone test system I run a RMI server in one JVM,
    registry.exe and a RMI client in its own JVM. The client uses
    java.rmi.Naming.lookup() to find the RMI server, and this works fine.
    If I run the same RMI client class within Bea the naming lookup fails! I
    guess this is due to Bea using it own RMI registry rather than the
    registry.exe I started separately(?)
    QUESTION: How do I make a RMI client running in Bea find a remote,
    non-Bea, RMI server?
    Of course, in the final environment the server will run on a system
    remote from Bea.
    The RMI client calls are done from a servlet, not from a EJB.
    The doumentation about using RMI with Bea is focused on running the RMI
    server within Bea. This might be the "normal" thing to do, but in our
    case Bea is the client, not the server. Do I still need to use
    weblogic.rmi.*....? If so, where?
    Grateful for any tip.
    Göran Hagnell

Maybe you are looking for