RMI through ProxyServer URGENT!!!

Hi,
Now the RMI Client-Server works fine through Internet. When I try to connect via Proxy Server, it fails with the following message
"java.net.NoRouteToHostException".
I have set the following properties in client machine.
http.proxySet=true
http.proxyHost=xxx.xxx.x.x
http.proxyPort=yyyy
Thanking you in advance.

Maybe the RMI port must be changed, or given permission to pass through the proxy. Something innocent like "80" would be an interesting attempt.

Similar Messages

  • Date & time in sql through jdbc URGENT!!!

    hi,
    How do I enter date & time in this format "16 MAR 2002 12:54:23 pm" in the database of oracle through jdbc-sql?
    Please help me out.
    Its urgent.
    Regards
    Deepa Datar

    If you are familiar with Oracle, you can use PL/SQL to do the work for you. I didn't test this, but it's probably pretty close.
    String sql = "INSERT INTO TBLA
    VALUES(TO_DATE('16 MAR 2002 12:54:23 P.M.','DD MON YYYY HH24:MI:SS P.M.'))";
    I'm assuming that you know how to insert data, you are only wondering about the specifics of dates?
    This can also be done using a prepared statement. You would code the insert statement something like this:
    String sql = "INSERT INTO TBLA
    VALUES(TO_DATE(?,'DD MON YYYY HH24:MI:SS P.M.'))";
    I would suggest that if you can convert the time military (24 hour) time, it is easier to handle. The data format model for this is HH24. Otherwise you will need two prepared statements, one for A.M. and one for P.M.
    Good luck.

  • When-tree-node-selected not fire while navigating through keyboard(Urgent)

    i am using treeview for displaying chart of account and fires the above said trigger in the form, but the trigger has no effect whilt navigating tree view with keybpard arrow keys until user explicitly select the node through mouse help me out plzz
    i want that trigger also fires when user navigate and select node through keyboard or through mouse thanks
    its urgent

    Stop duplicating your threads!!!
    when-tree-node-selected (Urgent)
    You posted the same question 2 days ago and I've answered you, you didn't even provide an exact version of your forms.
    Posting again will not change your problem.
    Do not waste space on the forum.

  • RMI : Need Help Urgently

    Hi,
    I am very new to this RMI. I am going through http://java.sun.com/j2se/1.4.2/docs/guide/rmi/getstart.doc.html this documentation. and I have created all the Class file including stub and skeleton. but now I am confused with the directory structure. I dont understand where I have to place server classe, interface and where to place client too. suppose I have 2 computers connected in a network. computer1 ip is 9.182.65.85 which i am using as a server and computer2 ip is 9.182.65.90. Now my question what to do to successfully get the output from client side. can anyone please tell me what file should be changed and should I change with proper directory structure. If any one is having any simple code then please post it. I am really confused....... Please Help me out...
    Abhradeep Kundu
    [email protected]

    First of all, this is a bad tutorial. It still uses applets...
    You should look at
    http://java.sun.com/j2se/1.5.0/docs/guide/rmi/hello/hello-world.html
    or at
    http://java.sun.com/docs/books/tutorial/rmi/
    As to your question for this specific example (but for 1.5.0):
    On the server's classpath you should have both the server classes and the common interfaces. On the client classpath you should have the common interfaces and the client classes. You can create the interface sources on in the server's directory structure and copy them to the client.
    Genady

  • RMI through JDeveloper

    I was wondering if there was a way of running rmic through the menu in JDeveloper . Similarly, is it possible to run rmiregistry through JDeveloper.
    Regards,
    Paul.

    Here is the build.xml (relevant areas only) after editing. I added the "rmi" target. Note that your implementation files need to be named xxxImpl.java for this approach to work. I run rmiregistry outside of JDeveloper and can then run the server and client inside JDeveloper.
    Best,
    Joe
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper 10g-->
    <!--Generated Nov 30, 2005 2:37:05 PM-->
    <project name="jGuru" default="all" basedir=".">
    <property file="build.properties"/>
    <target name="init">
    <tstamp/>
    <mkdir dir="${output.dir}"/>
    </target>
    <target name="all" description="Build the project" depends="compile,rmi,copy"/>
    <target name="rmi" description="Compile Java RMI Interfaces" depends="init,compile">
    <rmic base="${output.dir}" includes="**/*Impl.class"/>
    </target>
    <target name="compile" description="Compile Java source files" depends="init">
    <javac destdir="${output.dir}" debug="${javac.debug}"
    nowarn="${javac.nowarn}" deprecation="${javac.deprecation}"
    encoding="Cp1252">
    <src path="src"/>
    </javac>
    </target>
    </project>

  • RMI Through Firewalls

    Its possible make RMI calls Through Firewall if the ports 1099 and 1098 are open???
    or its necessary applies the tunneling solution to pass through the firewall??

    well well... rmi is really bad for this. But this can be achieved...
    problem is, i think, that this server behind the firewall has private IP. So, when You register your server object, then registry knows, that it locates on private IP... and registry tells this information also to clients from outside networks (who connected originally to public ip).
    I did a nasty hack, using custom client socket factory. I ignore ip address, that is passed to the createSocket method. There I just use my preferred IP. Being more exact: cause this createSocket method is invoked on client side, I ask this IP from client's static method (and this method returns me IP, where client originally connected). So, now my server is available from everywhere, cause createSocket uses that IP, which was used looking up registri at the beginning.
    I am not happy with this, but... what else can I do? Most servers are behind firewall and does not have public IP... unfortunately, RMI developers don't get it :(

  • Error while loading data from PSA to Infoobject through DTP(URGENT)

    Hi-
    I am running into an issue while loading the data from PSA to Infoobject.
    It says
    Data Package 1 : error during processing.
    Updating Attributes for Infoobject
    Error in substep
    Process Terminated
    Please let me know ur solution as this is very urgent....

    Data Package 1 : error during processing.
    This is the error when your flat file is opened at the time of scheduling. Pls close your flat file, will upload correctly.
    Let me know if you have any further query.

  • RMI through a firewall

    Has anybody been able to do this. I have an RMI server that will attach on a non-firewalled machine but won't on the machine I really need it on. Can anyone tell me what needs to be done admistratively or programmactically?
    Steve

    I looked into RMI over a firewall once.
    The port 80 solution, called Http Tunnelling, at the time ( 2 years ago ) required a custom servlet intercepting all the RMI calls, then it forwarded the call on to the actual RMI server..... messy.
    In the end I recommened writing an RMI Custom Socket Factory.
    Not as hard as it looks, and source is available.
    It meant that you could have your own properties file which dictated the ports the RMI used. So you might have something like
    rmi_ports=1900-2000
    You parse the properties file, and only attempt to open ports in that range.
    The firewall will off course have to open that range of ports too.
    I never implemented this, but did research it a few years back.
    Maybe there's a more up-to-date solution.... maybe not.
    But that's my 2 cents ( in Euro not dollars ! )
    regards,
    Owen
    http://java.sun.com/j2se/1.5.0/docs/guide/rmi/socketfactory/index.html

  • EIS 6.5.1 Drill through Reports - Urgent

    Hi all, Is there any limitaion on number of fields in the EIS drill through reports. It seems it accepts only 10 columns, rest of the column data is not properly displayed. Please update me on this.thanksSels

    We ran into this problem a while ago. It seems that after 10 columns, formatting get really odd. We submited it as a bug a number of months ago.Glenn S.Narratus [email protected]

  • RMI and Threading: Urgent, pls help!

    Hi everyone,
    I read the previous topics in multithreading but i'm still confused about how RMI works in this case.
    I have a client server application with RMI where client runs some time-consuming executables on the server.
    (i use Process proc = Runtime.getRuntime().exec(cmd...)...)
    Basically I want to make sure that simultaneous requests from different clients execute concurrently, instead of waiting for each other to finish. So my questions are:
    1) When mutiple clients are making remote calls, does RMI map each client request to separate thread and execute them simultaneously (if yes, does it have some limit on number of threads that can be created?);
    Or will I have to take care of creating threads on the server side for each request myself? if the later is the case, how could I go about doing that?
    2) What if all (or some of) the clients are connected from the same VM? How can I ensure that they get executed in different threads, concurrently. Could you pls direct me to ways of implementing it.
    any help is greatly appreciated,
    yulduz

    1) When mutiple clients are making remote calls, does RMI map each client request to separate
    thread and execute them simultaneously (if yes, does it have some limit on number of threads
    that can be created?); Yes, RMI takes care of launching a thread on each remote call. It actually maintains a pool of threads from which, a free thread is assigned a new request. From then on, you have different threads running in server VM (one per each client call).
    Or will I have to take care of creating threads on the server side for each request myself? if the
    later is the case, how could I go about doing that?No, you dont have to create any thread just for the purpose of handling a remote call.
    2) What if all (or some of) the clients are connected from the same VM? How can I ensure that
    they get executed in different threads, concurrently. Could you pls direct me to ways of
    implementing it.You dont have to do anything extra for achieving this. It doesnt matter whether you are running clients in the same VM or different VMs. If you want concurrency on the client side, you have to make remote calls from different threads. The following code outlines the difference between concurrency and non-concurrency in client VM (and NOT server VM).
    class CallerThread extends Thread {
         public void run() {
              remoteRef.callMethod();
    public class Client {
        ... main() {
            // these are not concurrent in client VM bcos the second call happens only after first one       returns
            remoteRef.callMethod1();        
            remoteRef.callMethod2();
            CallerThread t1, t2;
            // these two calls are concurrent on the client side as they're called from two different threads
            t1.start();        
            t2.start();
    }regds,
    CA

  • RMI Through Apache-Weblogic Bridge

    Hi,
    How to use RMI in apache-weblogic bridge
    Thanks,
    Siva E.

    [email protected] (srinivasa reddy) wrote in
    <39bb039e$[email protected]>:
    >
    hi,
    I have a basic question, does webloigc support apache-weblogic
    bridge with mod_ssl/any ssl installed on apache.
    thanks & regards
    [email protected]
    There is a mod_wl_ssl.so in sp4 (i believe). mod_ssl extends Apaches API
    and thereby breaks the WebLogic bridge. For raven installations you need
    mod_wl_ssl_rave.so because raven extends the API even further.
    Joel
    E-Mail: (jbf (at) proceedo dot com)

  • RMI through firewall

    I want to know if RMI http tunniling works fine, or if it is hard to do.
    Before I start to testing, I need to clarify some doubts.
    Why JDK windows distribution doesn't have java-rmi.cgi file for http tunneling?
    The bin directory has a file java-rmi.exe that I don't know what it does. I couldn't find many information about this.

    Because you should use the RMI servlet that comes in the samples.

  • Files creatd in Unix through java, URGENT

    Hi,
    While creating files in unix through Java, by default created files have only permission:
    -rw-r--r--, actually I need full permissions(-rwxrwxrwx ) for the files created through java in unix. Any idea how can we do this?
    Your help would be greately appriciated.
    Thanks,
    Anand

    I doubt that you will be able to get execute permissions set on normal files by setting the umask. You may have to use Runtime.exec() to invoke chmod, or call chmod via JNI if it is something you do often.

  • IMac Stuck at Boot Logo w/ White Bar through Logo URGENT!!!

    Hello, I have an iMac Model: A1225. At first, my problem was that on start-up, the iMac would not get past the boot/logo screen, and then all of a sudden it would go to a gray screen with three thick, white, jagged bars running through the screen. I tried to boot from a recovery USB and DVD, but it was no luck. It would not boot from anything. I ran a disk check on the hard drive from single-user mode, and it said that the hard-drive was okay, but I decided to change the hard drive and the memory anyway. I put a brand-new, fully-funtional, formatted hard drive with Snow Leopard that booted fine on another computer and brand-new memory. Now, when the computer gets to the boot/logo screen it gets stuck here with a thinck wite bar running through the apple logo. Please Help! I will also post a picture. Thanks Guys!

    2.3 GHz Intel Core i7 w/ 16 GB of ram.  I believe the year is Late 2012.  I could be wrong.
    I restore from a Time Machine backup.  It seems to have done the trick.  This is only temporary.  I do plan on restoring the machine completely and then migrating only the files I absolutely need.
    Thanks for the help :).

  • Accounting docs created through Workflow ---- Urgent pls

    Can anyone please let me know how do we know if any particular document has been created through workflow?
    Eg.
    1. Lets say one clerk posts a document and number 1000001 is generated.
    2. Clerk parks a document - Supervisor gets email thru workflow and he posts the document. 1000002 is generated.
    So in the above case, is there any identifier(Field) from any table using which we can findout how many documents were created through work flow - Case 2.
    Thanks
    Bala

    First instinct would be to check BKPF to see if there is anything obvious at you site that shows this e.g. Tcode.  Otherwise I'd suggest (a) see if change history reflects this (BSTAT changes from V to space when posted), or (b) look for the workflow container data in tables sww_contob & swwwihead.
    Jonathan

Maybe you are looking for

  • So Can My Mac Be Made To Work With iChatAV ?  Version three

    < to be be removed later. This is a Update to an Existing FAQ <a class="jive-link-external-small" href="http://">http://discussions.apple.com/thread.jspa?threadID=121851 The expectation is that it will be editted into that item, less the header > So

  • Looking for javascript code to validate decimals

    I have a dollar input field, like 1.99. I need script to edit for blank entries, numeric, and most importantly, 2 place decimal. I have searched and found numerous scripts on the web but they do not seem to work for me, maybe I am applying it wrong.

  • Server Certificates

    I am trying to set up one-way authentication. I have seen examples on how to set up two-way authentication. Could someone tell me how to set up one-way authentication using certificates. Kim

  • Is there a program on my laptop where I can see if there is any deeply imbedded malware?

    I remember seeing it before and it wasn't too long ago, so I'm sure it exists. Can somebody tell me what application I might be thinking of?

  • ATV stopped working with my Sanyo after update

    I just updated my AppleTV. It is no longer showing picture to my Sanyo Z2 video projector. No matter what I try, the picture is not appearing. ATV sounds are normal. Have there been and update to e.g HDCP driver in ATV or something... which would cau