10 More Discussions You Might Find Interesting
1. Linux
Viewers Please help me to get out of the below issue.. Thanks in advance
Required shell script for Monitoring status of the objects and it should update the child objects status as well.
Requirements:-
1. We are working on IIB (IBM Integration Bus v10) and trying to implement the broker ('... (0 Replies)
Discussion started by: dsreddy447
0 Replies
2. Shell Programming and Scripting
Hello,
I am trying to write a perl script to access Solid LDAP database using JDBC.
The script connects to the database but gives below error while running sql prepare command :
try.pl
connecting
preparing................
DBD::JDBC::db prepare failed: java.io.IOException:... (0 Replies)
Discussion started by: PerlMonkey
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I try to run a script shell from a java program:
but it runs only if i do :chmod 777 myShellScript in the terminal
Please how can i insert chmod 777 in my java code without going through the terminal?
Thank you (1 Reply)
Discussion started by: chercheur857
1 Replies
4. Programming
Hello,
Please i want to insert this code in a java program because i need to call a java function inside the while:
Please how can i do?
thank you so much (9 Replies)
Discussion started by: chercheur857
9 Replies
5. Shell Programming and Scripting
Hello;
Is it possible to insert Java code in a shell script, if so how please?
Thank you (0 Replies)
Discussion started by: chercheur857
0 Replies
6. Programming
Hello,
This is my script shell:
echo Mon premier script
echo Liste des fichiers :
ls -la
exit 0
This is my code java:
public class test {
public static void main(String args) {
try {
Process process = Runtime.getRuntime().exec("sh script1.sh");
} catch... (2 Replies)
Discussion started by: chercheur857
2 Replies
7. UNIX for Advanced & Expert Users
hi,
how to run shell script in java?
i have script a.sh which takes 1 argument as input and returns exit code integer.
how to handle it in java.
should i have to invoke process to execute it and then wait til it completes ?
please explain with code
thanks (1 Reply)
Discussion started by: crackthehit007
1 Replies
8. Shell Programming and Scripting
Members,
I been faced with an issue where i have to sale my project against JAVA.would like to know more on the strong point of shell script (bash shell) over java.I have a very limited knowledge on java.is there anyone who has worked on java and shell scripting in both and really been able to... (13 Replies)
Discussion started by: navojit dutta
13 Replies
9. Shell Programming and Scripting
Hi
How can I call a .sh (shell script) from a java procedure? Is this possible at all?
Please tell me.
Thanks.
Asty (3 Replies)
Discussion started by: Asty
3 Replies
10. UNIX for Dummies Questions & Answers
I have written a java file which runs fine when I compile and run it from the command prompt manually.
i.e, >javac z.java
>java z
I have put these two lines in a executable file. But when I run the executable file, it throws an error 'Thread Exception'. Any thoughts?
#executable file... (1 Reply)
Discussion started by: inpavan
1 Replies
rmiregistry(1) General Commands Manual rmiregistry(1)
NAME
rmiregistry - Java remote object registry
SYNOPSIS
rmiregistry [ port ]
DESCRIPTION
The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If port number is omitted,
the registry is started on port 1099. The rmiregistry command produces no output and is typically run in the background. For example:
example% rmiregistry &
A remote object registry is a bootstrap naming service that is used by RMI servers on a host to bind remote objects to names. Clients can
then look up remote objects and make remote method invocations.
The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn pro-
vides application-specific support for finding other objects.
The methods of the java.rmi.registry.LocateRegistry class are used to get a registry operating on a particular host or host and port.
The URL-based methods of the java.rmi.Naming class operate on a registry and can be used to look up a remote object, bind a simple (string)
name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound
in the registry.
OPTIONS
The following option is supported:
-Joption Used in conjunction with any java option, this option passes option (no spaces between -J and option) on to the java inter-
preter.
SEE ALSO
See (or search java.sun.com) for the following:
java.rmi.Naming @
http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html
java.rmi.registry.LocateRegistry @
http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateRegistry.html
23 Apr 2001 rmiregistry(1)