RMI version problem

Hi,
I have a problem :D. In order to verify clients access to my application I have to use an RMI. The application server I'm running my app on has JVM 1.4 but the RMI is written in at least v5.0, it uses collection framework with abstract implementations ( List<String> and other features not avaliable in Java 1.4 ).
Is there an easy workaround to this problem or is there a trivial solution?
Should I write a web service to work as a fascade for the RMI?
Any help will be greately appreciated!
Thanks in advance, Martin.

5.0 is compatible with 1.4. So clients running 5.0 will not have any problem accessing your application which is running in 1.4.
When you say the RMI is 5.0, do you mean the client's RMI, or the RMI your application will use? Im kind of confused with the way you injected the application server into the mix.

Similar Messages

  • A solution for Secure Static Versioning problem in 1.5.0_10

    Hi,
    I have JRE 1.3.1_09 and 1.5.0_10 on my computer and I think I have solved static versioning problem.
    My test computer:
    - Windows XP sp2
    - Internet Explorer 7 (on another computer also IE 6)
    - Firefox 2.0.0.1
    - JRE 1.3.1_09
    - JRE 1.5.0_10
    I. Solution for Internet Explorer 6 and Internet Explorer 7
    1. Edit registry and add:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Deployment\Policy
    DWORD: EnableSecureStaticVersioning = 0 (Hex)
    2. Restart browser if started.
    3. Start web page with java applet.
    II. Solution for Firefox 2.0.0.1:
    1. Install 1.3 JRE in the same parent directory as 1.5 JRE.
    Because default default installation path for 1.5 JRE is C:\Program Files\Java\jre1.5.0_10 you need to modify
    1.3 installation path from default C:\Program Files\JavaSoft\JRE\1.3.1_09 to C:\Program Files\Java\jre1.3.1_09
    After installation check out that "bin" directory is in the following path:
    C:\Program Files\Java\jre1.3.1_09\bin
    2. Install 1.5 JRE in default installation directory: C:\Program Files\Java\jre1.5.0_10.
    After installation check out that "bin" directory is in the following path:
    C:\Program Files\Java\jre1.3.1_09\bin
    3. Restart browser if started.
    4. Start web page with java applet.
    Note: HTML page must use <object> tabs for Internet Explorer or <embed> tabs for any other browser (e.g. Firefox). You need to specify correct classid in object and/or embed tag.
    P.S. If anyone would like to discuss with me send me an e-mail to [email protected], but please post question to forum and just mail me a link to forum. I will write my answer to forum.
    Hope this helps,
    Grofaty

    I have been trying to find a solution for this issue at our organization for over 6 months. Finally, we have a work around to run multiple java versions for newer and aging java apps.
    Thanks,
    Adunlow

  • Version problem in DMS

    Hi All,
    In DMS
    When i create a document with bapi_document_create2 it is creating the document with what i have given the inputs
    documentnumber
    documenttype
    documentpart
    documentversion
    but version problem is there . Ex: if i give version as 03 but is creating the docuemnt with version from 01 . next if i give 10 as a version it is creating the document with version 02...like that..
    Please advice me .. i want to create the document with the version what iam giving.
    Regards,
    RSK

    Hi,
    Transaction Code: SE18
    Selecting the radio button "BADI name" and enter "DOCUMENT_NUMBER01" in the text box to right to see the definition.
    The method is: DOCVERSION_CHECK
    Hope this helps.
    Regards,
    Benu

  • Labview version problem?

    Hello guys,
    I have made a subVI that controls the rpm % of a wind tunnel vane. This consists in adquiring 2 values of data within 30 seconds and compare both to see the uniformity of the flux. I use a Labview 2011 version. The problem occurs when i use this subvi in a 2012 version. The 30 seconds turn to 1 minute... I want to ask if its possible for this to be a version problem.

    I'm concerned that you are reading a file and then reading it again 3 seconds later.  This tells me you are looking for when the other process stops writing data.  File IO is a terrible way to share data.  Use a Notifier or Queue instead.  Much more efficient.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • OCCI version problem

    Hi,
    I am having a version problem with 9i.
    How can i compile OCCI with 9i database installetion?
    Which library would i need?
    my server is a SOL-Sparc-64 machine
    and oracle database server is installed there versiion oracle 9i 32bit.
    I tried to compile but it gives me error like....
    Undefined first referenced
    symbol in file
    main /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crt1.o
    __1cG__CrunKpure_error6F_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdbC__RTTI__1nDstdMlength_error__ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMout_of_range2T6M_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mpkc_r1_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cG__CrunIex_alloc6FI_pv_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mrk1_r1_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6MpkcIrkn0C__v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cH__rwstdRexcept_msg_string2t6MIE_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    Please tell me how to do it.
    Edited by: user652233 on Oct 16, 2008 1:18 AM

    Hello,
    I am trying to compile my C++ code (using OCCI) on Sun Solaris 5.9 (SPARC64PLUS) environment.
    We have compiled and tested it on RHEL 5 Linux.
    The Oracle (10g R3) database is on RHEL 5 server while OCCI/C++ application would be running on Sun Solaris 5.9 server.
    Since we have no Oracle installation on the Sun Solaris 5.9 server, there are no OCCI related libraries on this server and hence we are not able to compile our C++ code on Sun Solaris 5.9
    Can someone help me on how/where to download OCCI libraries (compile time as well as run time) for Solaris 5.9 ? I could find only Windows and RHEL versions of OCCI libraries on the Oracle website.
    Also, how stable is OCCI on Solaris 5.9 ?
    Regards,

  • Trial version problem with the wrie Create with the trial version

    help me
    trial version problem with the write Create with the trial version
    i wanna delete the Create with the trail version

    Publication on businCata I am sorry I do not understand your inquiry.  Can you please restate your question?  What Adobe software or service is your inquiry in relation too?

  • RMI Marshalling Problem:  weblogic.Admin PING

    WebLogic 5.1.0 with service pack 8 has been installed on a HPUX server. I'm
    trying to ping the server from an NT box, but I'm getting some RMI
    marshalling problems.
    Here is the command that I run on NT:
    C:\weblogic\jre1_2\jre\bin\java -classpath
    c:weblogic/lib/weblogic510sp.jar;c:/weblogic/classes;c:/weblogic/lib/weblogi
    caux.jar weblogic.Admin t3://HPServer:7001 PING > MarshallingProblem.txt
    Here is what is in MarshallingProblem.txt (modified server name):
    Failed to connect to t3://HPServer:7001 due to:
    [weblogic.rmi.UnexpectedException: Marshalling:
    - with nested exception:
    [weblogic.rjvm.PeerGoneException:
    - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
    creating response stream ] - with nested exception:
    [java.io.InvalidClassException:
    weblogic.security.acl.internal.AuthenticatedUser; Local class not
    compatible: stream classdesc serialVersionUID=6699361079932480379 local
    class serialVersionUID=2825328378974757378]]]]
    I previously had similar problems pinging the server from the server itself
    until I included the servicepack in the classpath.
    Anyone have any idea what going on in this situation?
    Cameron Taggart

    Cameron
    Can you test with sp8 installed on your NT machine too ? And also make
    sure you set the classpath with the sp8 jar files on NT before you run
    weblogic.Admin PING
    Raj Alagumalai
    Cameron Taggart wrote:
    WebLogic 5.1.0 with service pack 8 has been installed on a HPUX server. I'm
    trying to ping the server from an NT box, but I'm getting some RMI
    marshalling problems.
    Here is the command that I run on NT:
    C:\weblogic\jre1_2\jre\bin\java -classpath
    c:weblogic/lib/weblogic510sp.jar;c:/weblogic/classes;c:/weblogic/lib/weblogi
    caux.jar weblogic.Admin t3://HPServer:7001 PING > MarshallingProblem.txt
    Here is what is in MarshallingProblem.txt (modified server name):
    Failed to connect to t3://HPServer:7001 due to:
    [weblogic.rmi.UnexpectedException: Marshalling:
    - with nested exception:
    [weblogic.rjvm.PeerGoneException:
    - with nested exception:
    [weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
    creating response stream ] - with nested exception:
    [java.io.InvalidClassException:
    weblogic.security.acl.internal.AuthenticatedUser; Local class not
    compatible: stream classdesc serialVersionUID=6699361079932480379 local
    class serialVersionUID=2825328378974757378]]]]
    I previously had similar problems pinging the server from the server itself
    until I included the servicepack in the classpath.
    Anyone have any idea what going on in this situation?
    Cameron Taggart

  • Service pack versioning problem

    Can anyone help me solve service pack versioning problem please. This
    problem may solve some of my other problems.
    I am trying to check if my service pack has been installed properly or not.
    I issue following command from command prompt:
    C:\>java weblogic.Admin t3://localhost:7001 VERSION
    I get the following error: "Failed to connect to t3://localhost:7001 due to:
    [java.net.ConnectException: No server found at T3://localhost:7001]"
    At this time, I have weblogic 5.1 installed with service pack 2 installed.
    If I run server seems to be running, and connecting to my
    database.Eventually I am planning to upgrade to SP6 and run with jdk1.3.
    2nd problem: When I make JAVA_HOME= JDK1.3, wls does not run.

    Thanks Mike, you are right. The server was not running while I was testing
    service pack test.
    And service pack is installed. Thanks
    WLAS5.1 does not run once I change JAVA_HOME TO "C:\jdk1.3.0_02", that
    where I have jdk1.3
    I get following error message:"wlserver.exe has generated error and will be
    closed by windows. You will need to restart the program."
    John
    "Mike Reiche" <[email protected]> wrote in message
    news:3ac8fe17$[email protected]..
    >
    1) You WLAS does not seem to be listening on port 7001 of your
    localhost. Is it listening on a different port? Running on a
    different machine?
    2) What error message do you get when trying to run WLAS with
    JDK 1.3? WLAS does definitely run with JDK 1.3
    Mike Reiche
    "John" <[email protected]> wrote:
    Can anyone help me solve service pack versioning problem please. This
    problem may solve some of my other problems.
    I am trying to check if my service pack has been installed properly or
    not.
    I issue following command from command prompt:
    C:\>java weblogic.Admin t3://localhost:7001 VERSION
    I get the following error: "Failed to connect to t3://localhost:7001
    due to:
    [java.net.ConnectException: No server found at T3://localhost:7001]"
    At this time, I have weblogic 5.1 installed with service pack 2
    installed.
    If I run server seems to be running, and connecting to my
    database.Eventually I am planning to upgrade to SP6 and run with jdk1.3.
    2nd problem: When I make JAVA_HOME= JDK1.3, wls does not run.

  • Rmi versions for Jdev 9.052 (1618) and Oc4j standalone  10.1.2.0.2

    I get a rmi version error when using these products. How do you get the versions in sync? or should I be using a prior version of Oc4j ????
    thanks

    I get a rmi version error when using these products. How do you get the versions in sync? or should I be using a prior version of Oc4j ????
    thanks

  • My first RMI server: problem

    Hi,
    I'm just trying to create my first RMI program, but I got already blocked immediately:
    It's just a stupid program with a function that returns "ok".
    So what I did is the following:
    1)I created a class OkServer.java
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface OkServer extends Remote {
    public String getOk() throws RemoteException;
    2)I created a class OkServerImpl.java
    import java.rmi.server.UnicastRemoteObject;
    import java.rmi.RMISecurityManager;
    import java.rmi.RemoteException;
    import java.rmi.Naming;
    public class OkServerImpl extends UnicastRemoteObject implements OkServer {
    public OkServerImpl() throws RemoteException {
    public String getOk() {
         return "ok";
    public static void main (String args[]) throws Exception {
              System.setSecurityManager(new RMISecurityManager());
              OkServerImpl OkSvr = new OkServerImpl();
              Naming.bind("OkServer", OkSvr);
    3) I compiled everything with javac *.java
    i use java version below:
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
    4)I opened a cmd window and started the registry with the command c:\rmiregistr
    (a cursor starts blinking, so I think it runs correctly)
    5)then I start the program with the command: C:\java OkServerImpl
    but I get the error below !!
    C:\Temp\rmitester>java OkServerImpl
    Exception in thread "main" java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
    at java.net.Socket.connect(Socket.java:513)
    at java.net.Socket.connect(Socket.java:469)
    at java.net.Socket.<init>(Socket.java:366)
    at java.net.Socket.<init>(Socket.java:179)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    at java.rmi.Naming.bind(Naming.java:111)
    at OkServerImpl.main(OkServerImpl.java:18)
    What's wrong???

    solved, but i don't understand why i encountered this particular issue (that isn't mentioned to happen or to configure in my book):
    i had to create a custom policy file:
    make a file "c:\temp\rmitester\policy.all" and past the text below in it:
    grant {
    permission java.security.AllPermission "", "";
    thereafter launch the server with this command:
    c:\temp\rmitester\java -Djava.security.policy=policy.all OkServerImpl
    and the client with this command:
    c:\temp\rmitester\java -Djava.security.policy=policy.all OkClient localhost
    Can anyone explain if it was normal that i encountered this problem or was it seldom behaviour that happens only to me?

  • RMI firewall problems

    We are having problems sending RMI calls across the network when going through a VPN connection.
    I suspect that the VPNs have embedded firewalls that are blocking the RMI calls.
    (Note that If these same calls go through the local network instead of the VPN, or if run with client on server on the same machine then there are no problems at all)
    When an RMI call is attempted, the following exception is thrown:
    public class NoRouteToHostException
    extends SocketException
    Exception description: Signals that an error occurred while attempting to connect a socket to a remote address and port.
    Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.
    The VM making the RMI call is a deployed server running on weblogic on a HP Unix server.
    JVM version 1.5_016 windows
    The VM receiving the call is a thick client code running on a windows PC.
    JVM version 1.5_014 unix
    We are using the spring RMI libraries to provide the RMI functionality.
    I also suspect the blocking is happening at the PC end and not the server,
    because whether the call is blocked or not depends on the PC rather than the server environment.
    I have found a couple of sources on the web below which I am going through, however it may take a while to try and test things and we need to fix this problem asap, so if anyone has experience or expertise in this area and can advise it would
    be really, really helpful.
    http://java.sun.com/j2se/1.4.2/docs/guide/rmi/faq.html
    http://java.sun.com/developer/onlineTraining/rmi/RMI.html
    Many thanks for your help
    Paul

    See item A.1 in the Javadoc/Guide to Features/Remote Method Invocation/RMI FAQ. You need to find an IP address for the server that you can ping from the client. Then you need to set java.rmi.server.hostname to that address at the server before it exports any remote objects.
    If you can't find such an IP address you are hosed. But that'w not an RMI issue, it's a network connectivity issue.

  • Oracle IDS Version problem (IDS is not compatible )

    Please address my technical query mentioned below.
    We are facing problems while porting/deploying our application on the Oracle 10g application server.
    The application server version is 10g R-2 (64bit)(10.1.2.0.2), the IDS version is 10g (9.0.4) and OS is HP-UX 11.23.
    Earlier when I tried doing the IDS installation, the pre-installation check failed saying that the OS is not supported, the supported OS version for IDS 10g-9.0.4 was HP-UX 11.00 & 11.11. I then bypassed the pre-installation check using the -sysPreRequisite option of the runInstaller same and the installation succeeded.
    The forms even got compiled but when I tried to execute the forms from the browser, it throws the error message number FRM-40011, which says that the form was created by an older version of the form builder.
    This was the problem we have been facing since the start even when we have done installtion on other site, and even though we had installed the application server and the IDS afresh, the same problem persists. The only thing I can conclude from the above is that the IDS is not compatible with the current version of the OS/Application server and we need to upgrade to IDS 10g so that it works on HP-UX 11.23, with Oracle Application Server 10g R-2(10.1.2.0.2).
    Kindly provide your technical support in the above matter and supply us the correct version of the Oracle 10g IDS.

    I can't even understand this reply; unless I can do it with one single click, it's not good for me! I have always been Firefox user but right now I regret updating to 5.0!

  • XMl parser version problem for running struts project in jdeveloper 10.1.3

    Dear All.
    I am trying to run a struts (v 1.2.9) based project in Jdeveloper 10.1.3.1.0.The struts version in Jdeveloper is 1.1.
    when i am trying to run the index.jsp i get an error:
    org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic
    I think the XML parser version is a problem.Jdeveloper has OracleXMLParser v2 and i think the XML Parser apis used in building the project is different.I have placedcustiom xml parser apis and the xerces.jar in the jdevbin/jdev/lib folder and included these jar in the bootclasspath as follows:
    AddVMOption -Xbootclasspath/p:../lib/xml-apis.jar
    AddVMOption -Xbootclasspath/p:../lib/xerces-2.6.2.jar
    But even then the Exception persists.Is the syntax for Xbootclasspath wrong or i need to place these custom api's in some other location of jdev.
    I am not being able to figure out the XMl parser problem.
    Any help wud be great.
    Is it that i cant run the project in jdeveloper.Just to mention the application is deployed in OC4J on the server and runs fine..But its only that i kant run it locally through jdeveloper

    I am also facing the same issue on my laptop. I searched for forum but no luck.
    appreciate if anybody can throw some light on this.

  • SMP 2.3 Agentry update versions problem

    Hi,
    please I experienced issue when deploying new version of Agentry application to SMP 2.3. On devices we have stable old version. When we deploy new version through SCC on SMP and then we try to transmit device , it freezes on "Sending client info" . But in SCC it is running normally (e.g. when we reinstall client on device or reset ATE, it downloads new version with no problems).
    Our steps are::
    Deploy version 1
    Make initial sync.
    Deploy version 2
    Make delta sync.
    Expected result: new ersion is downloaded with delta sync correctly (currently we get freeze on “sending client info”).
    Thank you for any help
    Martin

    Hi Steve,
    we use Agentry_6.0.30 and I am talking about Application Logic release.
    Thank you

  • Java.rmi.ServerException Problem

    The exception that has occured is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: Process00Impl_Stub
    I have the interface, Client, Server and the Implementation java files
    in the same machine.
    11/29/2002 08:52p 282 Process00.class
    11/29/2002 08:25p 221 Process00.java
    11/29/2002 07:40p 215 Process00.java.bak
    11/29/2002 08:56p 1,008 Process00Client.java
    11/29/2002 08:55p 1,010 Process00Client.java.bak
    11/29/2002 08:57p 451 Process00Impl.class
    11/29/2002 08:57p 936 Process00Impl.java
    11/29/2002 08:52p 934 Process00Impl.java.bak
    11/29/2002 08:57p 2,153 Process00Impl_Skel.class
    11/29/2002 08:57p 3,938 Process00Impl_Stub.class
    11/29/2002 08:56p 995 Process00Server.class
    11/29/2002 08:57p 645 Process00Server.java
    11/29/2002 08:56p 643 Process00Server.java.bak
    I also have the _Stub.class. I do not know why I get this error. If any
    one have an idea, kindly share with me.
    Thanks.

    Hi,
    I had the same problem. In my machine, path was having jre1.1.7 before my jdk 1.4. So it was picking up from jre1.1.7.
    Java was happy when I moved my jdk1.4 path to the beginning of the path variable.
    Hope this helps you.

Maybe you are looking for

  • Unknown Error 13019 After Latest Upgrade

    After performing the latest upgrade to my 3GS yesterday, whenever I synch it, it appears to finish but then gives the message at the end "... iPhone cannot be synched. An unknown error occurred (13019)." Everything seems to work afterwards. Any ideas

  • How do I start/restart SCEP install manually ?

    I have a workstation that failed SCEP install because it could not uninstall the previous AV software. I manually uninstalled the old Av software and now waiting for SCEP to install again. Is there a way for us impatient folks to manually start the r

  • Why do my pictures come out pink when I take a picture with the flash

    Why do my pictures come out pink when I take a picture with the flash

  • IPod won't do anything at all

    Whenever I try to turn on the iPod, absolutely nothing happens. Nothing even pops up - no sad face, folder, battery, or apple logo... When I tried to connect to my Mac, it didn't recognize it all. Nothing in iTunes as well. When I try to plug it into

  • Dynamic LOV only Mondays.

    Does anybody know of a way to use dynamic LOV's to build a select list of dates that only lists mondays?