arun3083 / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

run some script which just run java applcation, it faied with /dev/poll permission denied 13 #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I used OsCommandJob to run some batch.sh script
2. This script run java application
3. My environment is oracle and weblogc 11g,
I met DP_POLL failed for /dev/poll - [Permission denied (13)].

What is the expected output? What do you see instead?
sometimes it worked, but sometimes it doesn't work.

Please use labels and text to provide additional information.
FYI, this is the log when I run my job with OsCommandJob class
[15:05:00][DEBUG](OsCommandJob.java:88) - CommandOutput:  java.io.IOException: 
DP_POLL failed for /dev/poll - [Permissio
n denied (13)].
[15:05:00][DEBUG](OsCommandJob.java:88) - CommandOutput:  java.io.IOException: 
DP_POLL failed for /dev/poll - [Permissio
n denied (13)].
[15:05:00][DEBUG](OsCommandJob.java:88) - CommandOutput: java.io.IOException: 
DP_POLL failed for /dev/poll - [Permission
 denied (13)]
[15:05:00][DEBUG](OsCommandJob.java:88) - CommandOutput: java.io.IOException: 
DP_POLL failed for /dev/poll - [Permission
ncaught Throwable in processSockets

Original issue reported on code.google.com by james.yo...@gmail.com on 29 Mar 2012 at 1:19

GoogleCodeExporter commented 9 years ago
The log output seems to indicate you don't have permission on whatever you are 
doing in that OS command you've given. Ensure you can run it as it without 
scheduler, and then try it again. Also ensure you use the same OS userid to run 
the same command to ensure it does work without problem first. 

Turn logging level lower would also help you detect more on the situation.

Original comment by saltnlight5 on 6 Apr 2012 at 1:20

GoogleCodeExporter commented 9 years ago
Closing b/c non project related.

Original comment by saltnlight5 on 1 Jun 2012 at 2:42

GoogleCodeExporter commented 9 years ago

Original comment by saltnlight5 on 3 Jun 2012 at 1:34