Distributed architecture using JAVA RMI

Hi!
I want to implement a distributed architecture, in which clients invoke any of several servers, depending on their availability. The clients are not browsers, so web-server (e.g. Tomcat) clustering is not relevant here. It's a cluster of servers, each capable of providing the same functionality, but clients should be able to "find" the less loaded one and invoke it. Now, with EJB's I believe this is provided out-of-the-box, but what about using RMI? How do two processes find each other via RMI, and is it possible to put a load-balancer in the middle?
Is it possible to setup a load-balancer IP as RMI host endpoint?
Thanks a lot
A.

They find one another using the rmiregistry tool from the JDK bin, which servers register with and clients use as a lookup. AFAIK this doesn't provide provision for anything resembling load balancing. Java RMI is a fairly basic facility.
You should probably take a look at a framework like osgi.

Similar Messages

  • Remotely control your PC from ANYWHERE in the world using JAVA/RMI!

    I have just developed a project named XtremePC.
    This well commented Java project involved RMI technology, can be used to control the server from anywhere in the world including features of listing running processes, file transfer, shutdown/logoff/lock/restart server PC, execute programs, browsing in DOS/Linux fashion. The server is protected by encrypted password. I bet my time and energy on this project most for increase the strength instead of designing GUI. In response to huge request from AIUB, Bangladesh teachers and students for uploading my project of Object Oriented Programming-1 course, I have decided to come up with this Java RMI project with source code!! (Tested on jdk1.3, 1.4)
    Get it from the MyDownload section of my homepage: www.tanzim.tk
    Thanks!
    -- Tanzim Saqib
    [ www.tanzimsaqib.tk ]

    and how many backdoors did you build into it so you can take over all those
    machines and turn them into zombies? lol

  • Implementing n-tier Architecture using java

    Hi !!
    I wish to know how I can proceed to implement n-tier application using java
    or how to implement n-tier application with JBuilder.
    Thanks!

    Easypublic class nTier {
      public static void main(String[] args) {
        int n =5;
        for (int i=0; i<n; i++) {
          System.out.println(i + " tier");
    }Ted.

  • Help for Smpp protocol handeler integration in URL  architecture using java

    Hi
    im student of BS.SE final year and im working on a research project by extending the URL framework
    by developing a component
    using smpp protocol implementation java smpp Api 3.4
    by writing a smpp protocol handler using smpp implementation 3.4 by java
    plz help me doing this project
    how this can be implemented
    and how the design of this procect will be
    by developing this component any application can be sms powered application
    using our custom protocol handler for smpp
    using smpp java Api
    how the coding of this project will be done
    how the smpp listeners will be integrated in url framework
    Plz help me developing this project
    i need ur full help
    thanks in advance
    plz reply me any material
    and developement ideas
    and any sample coding for this project

    System.setProperty("proxySet", "true");Does nothing. Remove.
    System.setProperty("proxyHost", proxyHost.trim());
    System.setProperty("proxyPort", proxyPort.stringValue());Those are for HTTP and they are obsolete, should be http.proxyHost/proxyPort. But as you are using FTP:
    System.setProperty("ftp.proxyHost", proxyHost.trim());
    System.setProperty("ftp.proxyPort", proxyPort.stringValue());

  • Java RMI & XML parsing.

    I'm new to Java so any help is greatly appreciated.
    I trying to develop a distributed application using Java RMI that allows a user to enter a users name and be returned their email address and telephone number.
    The details of users will be stored in an XML file. What the best way of developing this application? Should the XML file stay on the server side at all times and parse it from the server side, or is it best to send the whole XML document to the client and then parse the XML document for the information required at the client side?
    Sorry if this seems a little bit of a lame question but as I say, I'm a newbie to Java and any help would be much appreciated!!!

    I would suggest the data (the XML file in your case) should live on the server, and the client should send messages to the server saying "Here's the user's name, give me the e-mail address and phone number". Sending the entire data set to the client for every request would be very expensive in terms of network bandwidth; if you had 10,000 users, you would only want to send the information for the one user the client was interested in, not the information for all 10,000.

  • Java rmi

    hi
    i am trying to develop a distributed computing environment using java rmi for scentific computation. client (applet) log on to my server and register. the server invocates the methods on client (call back) and gets back the solution.
    my client applet is not able to log on to the server and i have no idea why. here is the code..
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.net.URL;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.Naming;
    import java.rmi.RemoteException;
    import java.net.MalformedURLException;
    import java.rmi.NotBoundException;
    public class ClientImpl extends Applet implements Calculator{
    public Callback s = null;
    public void init(){
    super.init();
    try{
    UnicastRemoteObject.exportObject(this);
    catch(Exception e){
    System.out.println("Could not export client remote object");
    System.out.println(e);
    try{
    s = (Callback)Naming.lookup("rmi:///servername");
    //Naming.lookup("rmi:///servername");
    s.addClient(this);
    System.out.println("Client registered");
    catch(Exception e){
    System.out.println("Could not set client interface at server");
    System.out.println(e.toString());
    System.err.println("Failed to setup for RMI"+ e.getMessage());
    public double summ(double a,double b)throws
    java.rmi.RemoteException {
    double sum = 0,i;
    for(i = a; i <=b; i++)
    sum = sum + 1/(i*i*i);
    return sum;
    and also i have been read that there is a lot of problems associated with rmi when used thru client applet. so i am wondering wether this approach is right.?
    any help will be appreciated.
    lucifer

    Can't quite figure out what you are doing. You seem to have a client that is trying to register with rmi.
    What I EXPECTED to see was
    o a server which is a UnicastRemote object, which registers with rmi on the server.
    o A client which tries to access the server by doing a naming.lookup.
    o The client then calling the server, passing a reference to itself so that the server can do the callback.
    There are some subtleties about interfaces that I have ignored (and which I don't see in your code).
    There are some good examples of this kind of code in books. Try java Exmples in a Nutsell, Java in a Nutshell, or the O'reilly book on network communications.

  • Weblogic.rmi and java.rmi

    Hi,
    I would like to use weblogic to access a java object on another machine that
    is using java.rmi. I am using the java "rmiregistry" on the non weblogic box.>
    How can I write a java program that maintains state to that object at weblogic
    startup and call it with a weblogic client?
    Thanks
    Desmond Anderson

    "Pyung Yoon" <[email protected]> writes:
    MediatorInterface mediator = (MediatorInterface) java.rmi.Naming.lookup("rmi://localhost:7001/TestMediator);This implies JRMP which the server does not support. You need to use t3 or iiop.
    andy

  • Java RMI and P2P

    Hello everybody...
    I'm planing a school project regarding Peer-to-Peer networking using Java RMI technology. The general idea is to use a Java Applets (using a special security manager) which acts as a P2P client and uses RMI to communicate with other Clients. I think security would be no problem if I use signed Applets...
    With this foundation I will be able to programm a chat or a multiplayer chess or whatever.
    Do you think this concept is possible and realistic or are there any better solutions?
    Thank you for your advice.
    Best regards
    Adrian Rabenseifner

    check out jxta

  • Help urgently needed with Java RMI task.

    Hello All. Please I need help urgently with this task. I cant seem to be able to do this. Here is the task:
    There are m squares with side lengths a1, a2, ..., am and a rectangle with the height and width equal to h and w respectively. Find a subset of the squares, which must be placed within the rectangle in such a way that they do not overlap, and cover the maximum area of a rectangle.*
    Please all help me solve this task using Java RMI. I would be very grateful for your help. Thanks in advance.

    Here is my client.java.
    import compute.;*
    import java.lang.Math.;*
    import java.lang.Long;
    *public class Hypothesis implements Task {*
    private long start;
    private long end;
    private int number;
    private int count;
    public Hypothesis(long start, long end, int number,int
    *count) {*
    this.start = start;
    this.end = end;
    this.number = number;
    this.count = count;
    *public Object execute() {*
    return findSolution();
    *public String findSolution() {*
    long i,j,k,l,m=1,i_max,j_max,k_max,l_max,l_start;
    System.out.println(start);
    System.out.println(end);
    System.out.println(number);
    System.out.println(count);
    for(m=start+number;m<end;m+=count)
    i_max=(long)java.lang.Math.pow((double)(min(p5(m)-3)),0.2d)+1;
    for(i=i_max;i>0;i--)
    j_max=(long)java.lang.Math.pow((double)(min(p5(m)-p5(i)-2)),0.2d)+1;
    if (j_max>i) j_max=i;
    for(j=j_max;j>0;j--)
    k_max=(long)java.lang.Math.pow((double)(min(p5(m)-p5(i)-p5(j)-1)),0.2d)+1;
    if (k_max>j) k_max=j;
    for(k=k_max;k>0;k--)
    l_max=(long)java.lang.Math.pow((double)(min(p5(m)-p5(i)-p5(j)-p5k))),0.2d)+1;
    if (l_max>k) l_max=k;
    if (l_max>2) l_start=l_max-2;
    else l_start=1;
    for(l=l_max;l>l_start-1;l--)
    if(p5(i)+p5(j)+p5(k)+p5(l)==p5(m))
    Long[] solution=new Long[5];
    solution[0]=i;
    solution[1]=j;
    solution[2]=k;
    solution[3]=l;
    solution[4]=m;
    *return "" solution[0]"^5+"*
    solution[1]"^5+"*
    solution[2]"^5+"*
    solution[3]"^5="*
    solution[4]"^5";*
    return null;
    *private long p5(long n){*
    return nn*n*n*n;*
    *private long min(long n){*
    return n>0?n:0;
    I just can't seem to get the whole thing work correctly on the server side. I need it to run from 1 client on atleast 3 servers. Please any explanations will be appreciated.

  • Java rmi more than two machines connectivity

    i want to communicate more than two machines using java rmi.
    Scenario:
    i want a client to invoke a method on the server using rmi, and then this invoked method transfers/copies a small file from the server to some other destination machine. the destination machine's address will be provided using client's command line arguments.

    Go for it!

  • Java RMI GRID Project

    HI all,
    Hope you are doing well,
    I am a Masters Student of Server Side Development, and Looking for a project in Java and GRID. I have decided to build a computational GRID using Java RMI but can't think of any interesting real world application. Ideally I want to develop a 2D/3D visualization tool that utilize the computational GRID setup and keep me up on my toes for three months...feel free to express any other interesting topics in java and grid...
    Thanx in Advance..
    Tanvir

    HI! though i have no project for you but i think you can help me with my porblem, as i will be very thankful to u as it is realted to grid computing and i m new in rmi , since i have just done the hello world example.. below is the scenario:
    the problem is that a client comes and right like this for e.g; sqr(log(sin(n)))
    then this n value will first go to sqr server , then to log and at the end to the sin server which means that sin server will first return the value of the n to log and after the log is computed on the value which was return by the sin server, it will go to the log server and in the end the log server returns the log of that value to the client, as this phenomenon is called grid computing. this is the what i want...
    now, where i m stuck is that i know how to make a server and a client .. but i dont know how will i interact one server to the other and returning back the value ... pls help me with some coding of this or any tutorial if u have .. i will be vary glad if u help me in this i will really appreciate your corporation!
    thank you! waiting for ur reply u can also mail me on [email protected]
    yours sincerely
    Danish

  • Java.rmi.ConnectException using webstart Swing client with WL 8.1 SP2 in a

    Hi all,
    I'm receiving the following exception when invoking a remote method on
    a cached remote stub. This only happens if there are at least two
    nodes running in a cluster. It happens more often the more nodes are
    running.
    It seems that the exception occurs if for a call to a remote method a
    cached stub is used, and if that call is referred to a different node
    in the cluster by the load balancer than the one that the stub
    originally came from. But I'm not completely sure about that...
    Client side config:
    Webstart
    JDK 1.4.2_05
    weblogic.jar (we're experiencing other problems already discussed in
    this group when using wlclient.jar)
    Server side config:
    Weblogic 8.1 SP2
    cluster on Sun Solaris machines (two nodes, one manager)
    Here is the exception stacktrace:
    java.rmi.ConnectException: Could not establish a connection with
    2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
    java.security.AccessControlException: access denied
    (java.net.SocketPermission shebea219 resolve)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
    at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
    at
    weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
    at
    de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
    Source)
    at
    de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
    at
    de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
    at
    de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
    at
    de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
    at
    de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
    at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at javax.swing.JFrame.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    Has anyone ever come across the same problem and possibly found a
    solution?
    Any help would be greatly appreciated.
    Thanks in advance
    Rolf

    Hi all,
    I'm receiving the following exception when invoking a remote method on
    a cached remote stub. This only happens if there are at least two
    nodes running in a cluster. It happens more often the more nodes are
    running.
    It seems that the exception occurs if for a call to a remote method a
    cached stub is used, and if that call is referred to a different node
    in the cluster by the load balancer than the one that the stub
    originally came from. But I'm not completely sure about that...
    Client side config:
    Webstart
    JDK 1.4.2_05
    weblogic.jar (we're experiencing other problems already discussed in
    this group when using wlclient.jar)
    Server side config:
    Weblogic 8.1 SP2
    cluster on Sun Solaris machines (two nodes, one manager)
    Here is the exception stacktrace:
    java.rmi.ConnectException: Could not establish a connection with
    2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
    java.security.AccessControlException: access denied
    (java.net.SocketPermission shebea219 resolve)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
    at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
    at
    weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
    at
    de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
    Source)
    at
    de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
    at
    de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
    at
    de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
    at
    de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
    at
    de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
    at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at javax.swing.JFrame.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    Has anyone ever come across the same problem and possibly found a
    solution?
    Any help would be greatly appreciated.
    Thanks in advance
    Rolf

  • UnmarshalException while using prop  java.rmi.server.ignoreStubClasses=true

    I have created a test program to check the behaviour of setting the java.rmi.server.ignoreStubClasses property to true on the server side and not setting this flag on the client side.
    This requirement is due to updation of an already running system, with stubs to a new version without stubs, without shutting down the system.
    The files used by me are given below.
    File Hello.java
    package example.hello;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface Hello extends Remote {
    String sayHello() throws RemoteException;
    File Server.java
    package example.hello;
    import java.rmi.registry.LocateRegistry;
    import java.rmi.registry.Registry;
    import java.rmi.server.UnicastRemoteObject;
    public class Server implements Hello {
    public Server() {}
    public String sayHello() {
    return "Hello, world!";
    public static void main(String args[]) {
    try {
    LocateRegistry.createRegistry(1099);
    Server obj = new Server();
    Hello stub = (Hello) UnicastRemoteObject.exportObject(obj, 0);
    // Bind the remote object's stub in the registry
    Registry registry = LocateRegistry.getRegistry();
    registry.bind("Hello", stub);
    System.err.println("Server ready");
    catch (Exception e)
    System.err.println("Server exception: " + e.toString());
    e.printStackTrace();
    File Client.java
    package example.hello;
    import java.rmi.registry.LocateRegistry;
    import java.rmi.registry.Registry;
    public class Client {
    private Client() {}
    public static void main(String[] args) {
    String host = (args.length < 1) ? null : args[0];
    try {
    Registry registry = LocateRegistry.getRegistry(host);
    Hello stub = (Hello) registry.lookup("Hello");
    String response = stub.sayHello();
    System.out.println("response: " + response);
    } catch (Exception e) {
    System.err.println("Client exception: " + e.toString());
    e.printStackTrace();
    First I run file Server.java using the following script (server.bat)
    java -Djava.rmi.server.ignoreStubClasses=true -classpath .; example.hello.Server
    pause
    Then the client is run using the following script (client.bat)
    java -classpath .; example.hello.Client 132.186.96.210
    pause
    While running the client, the following exception is obtained.
    Client exception: java.rmi.ServerException: RemoteException occurred in server thread; nested except
    java.rmi.UnmarshalException: error unmarshalling call header; nested exception is:
    java.rmi.UnmarshalException: skeleton class not found but required for client version
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling call header; nested exception is:
    java.rmi.UnmarshalException: skeleton class not found but required for client version
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at example.hello.Client.main(Client.java:52)
    Caused by: java.rmi.UnmarshalException: error unmarshalling call header; nested exception is:
    java.rmi.UnmarshalException: skeleton class not found but required for client version
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.rmi.UnmarshalException: skeleton class not found but required for client version
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:243)
    ... 6 more
    I am not able to figure out why this thing is happening, If i also set the property java.rmi.server.ignoreStubClasses=true on the client side everything goes fine. But this I can't do. I can't set the property on the client side as the system is up and already running.
    I am using JDK version 1.5.0_06. Same exception comes under JDK 6.0
    Any help will be highly appreciated.

    I think this is a bug. When you exported the Registry from your server JVM it was also exported with java.rmi.server.ignoreStubClasses=true, but the Registry bootstrap at the client requires the 1.1 stub protocol for compatiblity reasons so you got this error. I would report this on the Bug Parade.
    You could get around it by setting java.rmi.server.ignoreStubClasses after exporting the Registry.
    BTW java.rmi.server.ignoreStubClasses isn't supposed to do anything at the client whether true or false so you can cut your testing space in half.

  • Use Java Web Start to distribute Java 3D!

    I try to use Java Web Start to distribute Java 3D Application, I do successfuly tested some simple examples of Java 3D, and the result is as expected as I thought, But when I try to test an Objfile loader example, I failed.
    I simply use like this below:
    BranchGroup b = new objLoad("galleon.obj");
    objTrans.addChild(b);     
    and put the class file and the obj file into a jar file, but seems the objload can not find the model file in path! and if I put the obj file in my server directory and delete it form the jar file, I can run this function in local(double click jnlp file) but still can not run it in web.
    So I think the main problem is the path of the obj file, can anyone give me some advices about this?? thanks!!

    thanx! in fact the objload is a class wrote myself, just as below:
    public class objLoad extends BranchGroup{
    public objLoad(String filename) {
    BranchGroup obj = new BranchGroup( );
    int flags = ObjectFile.RESIZE;
              ObjectFile f = new ObjectFile(flags);
         Scene s = null;
         try {
         s = f.load(filename);
         catch (FileNotFoundException e) {
         System.err.println(e);
         System.exit(1);
         catch (ParsingErrorException e) {
         System.err.println(e);
         System.exit(1);
         catch (IncorrectFormatException e) {
         System.err.println(e);
         System.exit(1);
         obj.addChild(s.getSceneGroup());
    this.addChild(obj);
    actually, i still use ObjectFile as my loader, I wonder if I add obj file in jar, can I load this file through java web start? I read some examples about read some image file to build image icons, and these files are all in jar file.
    Thanks your help!! Can you reply my email [email protected]??

  • FR error java.rmi.UnmarshalException using grid

    Hello,
    I started using Hyperion Financial Reporting on remote machine and now i installed it on my machine.
    Everything was ok during the installation process. Then i tryed to create a new report with a new grid. When i click on button, FR gives me the following error:
    ; nested exception is:
      java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.io.InvalidClassException: com.hyperion.reporting.graphics.GridObject; local class incompatible: stream classdesc serialVersionUID = -1288366423950156093, local class serialVersionUID = -5245705824007679661
    Can someone explains to me what can i do you to resolve this error?
    During my experiences, it gives me this error only when a report have a grid or when i try to create one.

    I have seen this before where there was a mismatch of versions of FR between server and client, what version/patch are you running?
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Apple TV audio skips

    Starting two days ago my Apple TV started skipping audio while playing. I have had the device for about two years and have never experienced this.  I have a time capsule that I've been using since '07. This problem occurs in all apps.  Netflix, iTune

  • How can i see previous sent mail and junk mail on my new iMac?

    Hi guys. I'm new imac user.I use Mavericks 10.9.When i install my mail accounts one of them which is Hotmail my imac downloaded whole incoming box.this is ok.But didnt download previous sent outgoing mail.So my outgoing folder empty.And how can i see

  • How to give pernr in range using LDB PNPCE

    I am using LDB PNPCE and in report category i want to give select option for pernr that will accept pernr in ranges also.So Please tell me how to give ranges of pernr. Thanx in advance.

  • Shuffle Doesn't Update! Help!

    All it says is "The iPod cannot be synced. The required disk cannot be found" And it never updates. Now I'm Confused and need help. Please???

  • Learner Result Access/Reports??

    Hello All, Here is what I am looking for. I have various quizzes and curriculums in play. My stakeholders need results, and I generally use the reports tab to pull the reports. However I would like to be able to allow the stakeholders a way to sign i