download free 30 days trial version buy Bucket Explorer

Java Exception when uploading

On-line support for Bucket Explorer for Amazon S3

Java Exception when uploading

Postby Medora » Thu Feb 04, 2010 7:52 pm

I am trying to set a cron job in Solaris to upload my files with BucketCommander.
I am using the command:
Code: Select all
BucketCommander.sh -action:upload


When the code runs i receive a large java exception, with which contains in the middle of the error somewhere:
"No X11 DISPLAY variable was set, but this program performed an operation which requires it."

Is there any workaround to get this to work with cron?
It seems to be trying to use some GUI, which doesn't make sense seeing that it isn't BucketExplorer. I just want to be able to run this upload process automatically.
Medora
 

Re: Java Exception when uploading

Postby sdani » Thu Feb 04, 2010 10:54 pm

Can you try this solution and let us know if it worked:

http://stackoverflow.com/questions/6624 ... 429#662429

If not, we can do some more research.

Saurabh
sdani
 

Re: Java Exception when uploading

Postby Medora » Mon Feb 08, 2010 6:25 pm

Thanks for your reply.

To do the upload I must sign in using "ssh -X 'hostname'" and that's the way I have been doing my uploads. Exporting the display should have the same result, although i haven't been able to do so. Plus if it is run as a cron job, there shouldn't be a problem of an exported display. I looked through cron's logs, and the same Java exception is being thrown when cron runs the upload.
Medora
 


Return to Bucket Explorer for Amazon S3 - Support Forum