Exception Signal 11 while running JAVA code in UNIX
Hi,
when i compile my java code in UNIX using javac, the class file is getting created. But when i try to run the code using java - classpath command, i get the following error.
----------------------------------------
/u/up11/sample/request:>java -classpath /u/up11/sample/request Inbound
JVMDG217: Dump Handler is Processing Signal 11 - Please Wait.
JVMHP002: JVM requesting System Transaction Dump
JVMHP012: System Transaction Dump written to UP11.JVM.TDUMP.UP11.D080811.T074931
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /u/up11/sample/request/JAVADUMP.20080811.074
939.16908532.txt
JVMDG215: Dump Handler has Processed Exception Signal 11.
[1] + Done(139) java -classpath /u/up11/sample/request Inbound
16908532 Segmentation violation /usr/lpp/java/J1.4/bin/java
----------------------------------------
i have attached the JAVADUMP.20080811.080105.33685759.txt for reference..
what is causing this problem ? please help me with some solutions. thanks.
I am trying to imitate a system call available on Win32
(spit). The functionality is to catch a system exception (i.e. signal)
such as divide-by-zero, and convert it to a catchable c++
exception. Can this be done on Unix ?
Can i use "throw new <ExcpetionClass>" inside a
signal-handling... (3 Replies)
I ask this question since sometimes i run a time-consuming ftp in foreground and forget to use nohup ftp.sh & to put this work background and can still running after i log off.
Assume this ftp task have run 1 hour, and still 1 hour time to end,
i don't want to abort the ftp, first, i use ctrl+Z... (3 Replies)
I have a java classpath running inside of a unix shell script. During my testing it will error with lines that show an example like this below.
java.io.FileNotFoundException error
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129),
... (2 Replies)
Hi all,
I am trying to write a script for an application server log file where i want to put this script as a cron tab entry and it will check the server log file last 1000/500 line for every fifteen minute.
i am using the script like this.
count=`tail -n 1000 Trace.log | grep -c... (1 Reply)
I am developing a JAVA application that must encrypt its data. On my development machine, I can use a 256 bit key with no problem. A test machine throws an exception complaining about an illegal key length. The test machine is using JRE 1.6u21. Does anyone know where I can get a version of the JRE... (1 Reply)
Hi,
I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory.
finally {
if (null != hibernateSession && hibernateSession.isOpen()) {
//hibernateSession.close();
}
}
It would be great if the script has... (2 Replies)
Hi, I would like to ask, if is it possible to quit running loop in the script any other way than catching the trap signal. Ctrl-C ends only current running instance of process but not whole script. Any clues? (3 Replies)
Hi All,
I have been struggling for a week trying to run a unix command from my java program.
the unix command is = ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt'
when i try to run this command directly on my unix console, it works perfectly.
but when i try it form my... (0 Replies)
Hi All,
I have been struggling for a week trying to run a unix command from my java program.
the unix command is:
ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt'
when i try to run this command directly on my unix console, it works perfectly.
but when i try it form... (12 Replies)
Discussion started by: madhu_sharan
12 Replies
LEARN ABOUT CENTOS
jsvc
JSVC(1) Apache Commons Daemon project JSVC(1)NAME
jsvc - application to launch java daemon
SYNOPSIS
jsvc [-jvm JVM name] [-client client JVM] [-server server JVM] [-classpath path] [-cp path] [-java-home directory] [-version] [-help] [-?]
[-nodetach] [-debug] [-check] [-user user] [-wait waittime] [-umask mask] [-stop] [-verbose:class|gc|jni]
[-outfile /full/path/to/file] [-errfile /full/path/to/file] [-pidfile /full/path/to/file] [-Dproperty=value] [-Xoption]
DESCRIPTION
jsvc executes classfile that implements a Daemon interface.
OPTIONS -jvm JVM name
use a specific Java Virtual Machine.
-client client JVM
use a client Java Virtual Machine.
-server server JVM
use a server Java Virtual Machine.
-cp/ -classpath directory and zip/jar files
set search path for service classes and resouces
-java-home directory
set the path of your JDK or JRE installation (or set the JAVA_HOME environment variable)
-version
show the current Java environment version (to check correctness of -home and -jvm. Implies -nodetach)
-help
show this help page (implies -nodetach)
-nodetach
don't detach from parent process and become a daemon
-debug
verbosely print debugging information
-check
only check service (implies -nodetach)
-stop
stop the service using the file given in the -pidfile option
-wait waittime
wait up to waittime seconds for the service to start waittime should multiple of 10 (min=10)
-umask mask
sets the file mode creation mask
-user user
user used to run the daemon (defaults to current user)
-verbose[:class|gc|jni]
enable verbose output
-outfile /full/path/to/file
Location for output from stdout (defaults to /dev/null). Use the value '&2' to simulate '1>&2', or 'SYSLOG' to send output to the
system log.
-errfile /full/path/to/file
Location for output from stderr (defaults to /dev/null). Use the value '&1' to simulate '2>&1', or 'SYSLOG' to send output to the
system log.
-pidfile /full/path/to/file
Location for output from the file containing the pid of jsvc (defaults to /var/run/jsvc.pid)
-D<name>=<value>
set a Java system property
-X<option>
set Virtual Machine specific option
AUTHOR
JSVC is part of the Apache Commons Daemon project. Authors are Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen Turk.
JSVC is released under the Apache License Version 2.0.
Jsvc version 1.0.6 06/10/2014 JSVC(1)