12-08-2011
Are you logging the error output of the java application? it may have thrown an exception which wasn't caught or got caught by something which didn't handle it properly.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I just want to ask regarding the meaning of the error that we got using sftp:
Connecting to <TARGET SERVER IP>...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @... (3 Replies)
Discussion started by: james_falco
3 Replies
2. UNIX for Dummies Questions & Answers
Having problem in connecting my gui java program to postgreaql database. I first used setenv classpath /home/share/postgresql/java/postgresql.jar:proj1, where proj1 is my folder conatining all java and class file, to set classpath. Then javac *.java. Then java proj1.Login. It gives me... (2 Replies)
Discussion started by: uci
2 Replies
3. UNIX for Dummies Questions & Answers
Not sure if that's the best thread title... anyway, working remotely on a HP-UX machine I often need a GUI window when executing remote software installs, and for this I use Cygwin/X on my Windows laptop which works perfectly. Connect via telnet, set DISPLAY, run installer, GUI appears locally -... (3 Replies)
Discussion started by: stefcha
3 Replies
4. Solaris
How can i invoke java program from MC1, when I connect remotely to execute can I set classpath etc.
____________ <-------------->____________________
|..................|<-------------->|...............................|
|..................|<-------------->|...............................|... (2 Replies)
Discussion started by: vishnu559
2 Replies
5. Shell Programming and Scripting
Hi,
I want to specify multiple remote directories but want to transfer them in a single command with one connection with remote server.
e.g.
rsync -vrt --size-only --delete user@host:/home/user1/dir1 user@host:/home/user1/dir2 user@host:/home/user1/dir3 .... local_dir/
I want to... (0 Replies)
Discussion started by: sardare
0 Replies
6. Shell Programming and Scripting
Hi all,
I am new to this forum and want an urgent help from you experts. I am currently using SunOs 5.10.
I have a .cfi file which contains some commands to be executed in a node(MSC node in telecom) To connect to a node (for eg node name is MSC1) we have a shell script that has the... (5 Replies)
Discussion started by: interceptor16
5 Replies
7. Solaris
Hi ,
We have installed rsync in two Solaris boxes, when we try to sync files from one machine to another.. it is giving the following error.
ld.so.1: rsync: fatal: libiconv.so.2: open failed: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far)
rsync... (1 Reply)
Discussion started by: MVEERA
1 Replies
8. Shell Programming and Scripting
dear all,
i have script rsync like this :
#!/bin/sh
RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
RUSER=root
RHOST=123.123.123.1
INTRPATH=/home/jargo/log/internasional/
INTHPATH=/var/www/international/
IIXRPATH=/home/jargo/log/iix/
IIXHPATH=/var/www/iix/
TTLRPATH=/home/jargo/log/total/... (2 Replies)
Discussion started by: indracyd
2 Replies
9. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
10. UNIX and Linux Applications
Hi I am running several syncs from different servers to our data centre.
I am getting some issues with the rsyncs that i am running.
The OS are all red hat enterprise
The rsync command is as follows
#!/bin/bash
if
then
rsync -aWv --stats progress --delete --ignore-errors --exclude... (0 Replies)
Discussion started by: treds
0 Replies
LEARN ABOUT PHP
set_exception_handler
SET_EXCEPTION_HANDLER(3) 1 SET_EXCEPTION_HANDLER(3)
set_exception_handler - Sets a user-defined exception handler function
SYNOPSIS
callable set_exception_handler (callable $exception_handler)
DESCRIPTION
Sets the default exception handler if an exception is not caught within a try/catch block. Execution will stop after the $exception_han-
dler is called.
PARAMETERS
o $exception_handler
- Name of the function to be called when an uncaught exception occurs. This handler function needs to accept one parameter, which
will be the exception object that was thrown. This is the handler signature:
void handler (Exception $ex) NULL may be passed instead, to reset this handler to its default state.
Caution
Note that providing an explicit Exception type hint for the $ex parameter in your callback will cause issues with the
changed exception hierarchy in PHP 7.
RETURN VALUES
Returns the name of the previously defined exception handler, or NULL on error. If no previous handler was defined, NULL is also returned.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.5.0 | |
| | |
| | Previously, if NULL was passed then this func- |
| | tion returned TRUE. It returns the previous han- |
| | dler since PHP 5.5.0. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
set_exception_handler(3) example
<?php
function exception_handler($exception) {
echo "Uncaught exception: " , $exception->getMessage(), "
";
}
set_exception_handler('exception_handler');
throw new Exception('Uncaught Exception');
echo "Not Executed
";
?>
SEE ALSO
restore_exception_handler(3), restore_error_handler(3), error_reporting(3), information about the callback type, PHP 5 Exceptions.
PHP Documentation Group SET_EXCEPTION_HANDLER(3)