Need Help Urgently......!
Hi Friends,
I'm working on RMI...I have a Client in UK and here i'm working in india. UK machine has Linux OS and here i have windows OS....now i want to connect my OS to Linux....mean to say if here in india if i click on start button so the commond should be execute on UK Linux system. i have made a Shell Script file in linux in india n working fine...but i'm not able to invoke this file through windows.....
quick answer would be apperciate......
Thanks in advance
[498 byte] By [
Ravijia] at [2007-10-3 4:01:17]

> Hi Friends,
> I'm working on RMI...I have a Client in UK and here
> i'm working in india. UK machine has Linux OS and
> here i have windows OS....now i want to connect my OS
> to Linux....mean to say if here in india if i click
> on start button so the commond should be execute on
> UK Linux system. i have made a Shell Script file in
> linux in india n working fine...but i'm not able to
> invoke this file through windows.....
>
> quick answer would be apperciate......
>
> Thanks in advance
How is that related to Java except for that you have written something in RMI.
Well, Shell Script file works in linux, and as you say you are trying to invoke the file through windows, how are you doing that?
I am not even sure what you mean by invoke this file through windows?
Can't you just connect to linux via X window or something and run the file?
actually my client is working on linux n i'm working on java....my application is in JAVA so this application .bat file i want to invoke in linux....but it is not possible to make batch file in linux so i did it through shell....now this shell file iwant to invoke so that my application can run....
> actually my client is working on linux n i'm working
> on java....
Makes no sense. One's an OS, one's a programming language. They're not exclusive or anything.
> my application is in JAVA so this
> application .bat file i want to invoke in
> linux....but it is not possible to make batch file in
> linux so i did it through shell....now this shell
> file iwant to invoke so that my application can
> run....
Still not a question in anyway related to Java.
Not that I still care to find an answer, this is obviously urgent, so I must be too late already.
> actually my client is working on linux n i'm working
> on java....my application is in JAVA so this
> application .bat file i want to invoke in
> linux....but it is not possible to make batch file in
> linux so i did it through shell....now this shell
> file iwant to invoke so that my application can
> run....
Still your problem has got nothing to do with java.
If you have a schell script in linux, just run it then.
Suppose you have shell script with name 'runApp', then
go to the shell and type runApp. It will execute if you dont have any problem.
And make sure you have the permission to execute that script.
Hello All My Dears,Actually in RMI i made a Applet consists of a Button called Start button.....when i click on this button from my windows OS the file which is in linux system should invoke?got the point?
> Hello All My Dears,
> Actually in RMI i made a Applet consists of a Button
> called Start button.....when i click on this button
> from my windows OS the file which is in linux system
> should invoke?
>
> got the point?
So what you are trying to do is start the RMI server on the server from an Applet running on the client. Can't be done without the use of some agent on the server.
> got the point?No. You should get the point.You should have stated that in your first post.
ok..........now u have the point....don't blame me and ple give me the solution that how i can do it..thanks in advance
> ok..........now u have the point....don't blame me> and ple give me the solution that how i can do it..Why should there be any 'blame'? What do WE loose when "ple give me the solution that how i can do it."?