Hi - I am totally new to UNIX so please bear with me...
I run a java program on Win NT server to do file ftp to UNIX server.
I log in, cd, create ftp file on UNIX and quit from my java progam - all works well.
Now I want to execute a script on UNIX.
At the UNIX 'console'/'shell' (!?) you... (1 Reply)
Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.
/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System
But when I run it on the command line it unzips the file fine.
Does anybody know why this... (2 Replies)
Is it possible for a Unix script to execute a .dll. If so, where would I find information/examples of how to do that?
Thanks, in advance, for any help. :rolleyes: (2 Replies)
Hi ALL,
I would like to execute one SQL query(ORACLE) in UNIX shell script. For this I used sqlplus in script and tested locally. It worked fine. But my requiremnt is to execute the script from Java. In this case the UNIX part is working but sqlplus is not returning anything
The JAVA code used... (0 Replies)
Hi,
I have to run my JAVA programs in UNIX server. The java program uses some external jar files for compiling. I have set the classpath to the folder where all the jar files are present using EXPORT classpath command.
But when i compile, it shows errors.. saying that the classes relating... (8 Replies)
I need to execute a shell script kept in unix machine from windows. User id, password area available.
For eg.
There's a shell script wich moves all the logs kept in my home directory to a directory named LOGS.
Now i need to get this done through windows; either using a batch file, or java... (4 Replies)
Hi Team,
Can you pls advise in java how can we call a shell script, actly I have a shell script at the following location
/opt/dd/ajh.sh
now I can execute this script by opening the session through putty by entering the servers details and password and then navigating to the following... (2 Replies)
I'm trying to use a shell script to compile and execute a java file. The java classes are using sockets, so there is a client.java file and a server.java file, each with their own shell script. I also want to handle the command line arguments within the shell script, not the java classes. The... (1 Reply)
Dear Unix Leads,
can you please let me know is it possible to execute a shell script in UNIX machine sending an email from outlook or gmail ? or is it possible to generate a token file in UNIX by sending email which we can indirectly use to trigger script
your response on this is highly... (5 Replies)
Discussion started by: mirwasim
5 Replies
LEARN ABOUT SUNOS
package-appclient
package-appclient(1M) Application Server Utility package-appclient(1M)NAME
package-appclient - packs the application client container libraries and jar files
SYNOPSIS
package-appclient
Use the package-appclient command to pack the application client container libraries and jar files into an appclient.jar file. The created
file is located at appserver_install_dir/lib/appclient/appclient.jar. The appclient.jar file provides an application client container
package targeted at remote hosts that do not contain a server installation.
The appclient.jar archive contains native code and can be used on a target machine that is of similar architecture as the machine where it
was produced. So, for example, an appclient.jar produced on a Solaris SPARC platform cannot be used on a Windows client machine.
After copying the appclient.jar file to a remote location, unjar it to get a set of libraries and jar files in the appclient directory
After unjarring on the client machine, modify appclient_install_dir/config/asenv.conf (asenv.bat for Windows) as follows:
o set AS_WEBSERVICES_LIB to appclient_install_dir/lib
o set AS_NSS to appclient_install_dir/lib (appclient_install_dirin for Windows)
o set AS_IMQ_LIB to appclient_install_dir/imq/lib
o set AS_INSTALL to appclient_install_dir
o set AS_JAVA to your JDK 1.4 home directory
o set AS_ACC_CONFIG to appclient_install_dir/config/sun-acc.xml
Modify appclient_install_dir/config/sun-acc.xml as follows:
o Ensure the DOCTYPE file references appclient_install_dir/lib/dtds
o Ensure that target-server address attribute refrences the server machine.
o Ensure that target-server port attribute refrences the ORB port on the remote machine.
o Ensure that log-service references a log file; if the user wants to put log messages to a log file.
Modify appclient_install_dir/bin/appclient (appclient.bat for Windows) as follows:
o change token %CONFIG_HOME% to appclient_install_dir/config
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
appclient(1M)Sun Java System Application Server March 2004 package-appclient(1M)