09-13-2006
Facing an issue related to cronjob
Dear All,
I am facing an issue related to cronjob and explained below is the case study:
1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"
2. When I am using the command
"/usr/openv/java/jre/bin/java -cp .:/cpc/documentum/shared/dfc/dfc.jar:/cpc/documentum/shared/config/ DmCheckRenditionQueue"
the result is as expected.
3. Now when I edit my crontab using "crontab -e" and modify the file with
"43 * * * * /cpc/documentum/product/5.2.5/tomcat/webapps/rendition/dm_startcheckingrenditionqueue.sh>/cpc/documentum/product/5.2.5/tomcat/webapps/rendition/cronlog.log 2>&1"
I get the error message which says:
"Exception in thread "main" java.lang.NoClassDefFoundError:
DmCheckRenditionQueue"
Can someone help me in sorting out this issue?
Thanks
Paul
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
i have a shell script. it is running fine when i manually run at command prompt using following command
./script_file
but while running shell script from crontab, it is giving error in each line. (2 Replies)
Discussion started by: mabrar
2 Replies
2. Shell Programming and Scripting
I have written a bash script which opens a folder, reads all the *.xml files in it, and pulls the required data that i need from XML tags.
I am using xsltproc (my xsl name) (my xml folder location/*.xml) and running this in a for each loop
The problem is that some XML files are having special... (3 Replies)
Discussion started by: shivashankar.g
3 Replies
3. Shell Programming and Scripting
Hi,
I am able to run a.sh script manually but they are not getting invoked from the crontab
here is cronjob entry
15 03 * * * /Feed/bin/a.sh >/Feed/logs/log.txt
logs.txt is empty
Please Advice (7 Replies)
Discussion started by: mad_man12
7 Replies
4. Shell Programming and Scripting
Hi,
I have a logrotate configuration which rotates a log every night 1 min before midnight, but somehow its not working and unfortunately not showing any error message as well. Sharing the code for the cron job as well as the conf file, I am using, if some one coule help me..whats wrong with... (2 Replies)
Discussion started by: Neeryan
2 Replies
5. Infrastructure Monitoring
Hi,
I have installed Nagios on Redhat Linux,
I have installed Nagios+Plugins+NRPE on Server A (Host Server) and Nagios Plugins + nrpe on remote linux server (red hat linux)
run the command on remote linux host, it returns nrpe version
usr/local/nagios/libexec/check_nrpe -H localhost
... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am trying to run a cronjob. But while doing so I am getting the following error message :-
can't open yourfile in /var/spool/cron/crontabs directory.
No such file or directory
How can I resolve this issue ?
Please help.
Thanks
Please view this code tag video for... (14 Replies)
Discussion started by: acidburn_007
14 Replies
7. IP Networking
Hi,
Please help me on issue described below,
I have 4 machine setup, M1 -> M2 -> M3 | M4. And A laptop that can be reachable through both M3 and M4.
M2 has 2 NIC conected to M3 and M4. Now I want to divide the flow coming from M1 for laptop.
At M2, I have done following,... (1 Reply)
Discussion started by: rahulbhansali24
1 Replies
8. Solaris
Hi,
i am facing issue while installing weblogic on solaris..its giving me invalid argument error. solaris is intstalled on my VM.
uname -a
SunOS Vishal 5.10 Generic_137138-09 i86pc i386 i86pc
screenshot attached. (5 Replies)
Discussion started by: Vishal Baghla
5 Replies
9. Shell Programming and Scripting
Hello ,
I have three files :
sampleoutput1.txt has columns (in the following order) : hostname ; available patches , available packages
sampleoutput2.txt has columns (in the following order) : hostname ; patchwave ; BSID ; Application
sampleoutput3.txt has columns (in the following... (10 Replies)
Discussion started by: rahul2662
10 Replies
10. SuSE
Please let me know how to configure network in suse Linux, I have configured the network using ifup and network manager, it is not giving any error but not working,
using suse Linux 11.0 sp3
I have checked network connectivity is working. (0 Replies)
Discussion started by: manoj.solaris
0 Replies
LEARN ABOUT MOJAVE
rmiregistry
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)