I am not sure if my problem is with JBoss or is with Window service. Please 
advise me.

Here is the problem:

In one servlet, we launch an executable (myTool.exe) using 
System.out.println(s);
where
s="cmd.exe /C myTool.exe some_options"

This myTool.exe uses some script to invoke Adobe Reader to do something with 
PDFs. 

When I start JBoss with run.bat from the command line, everything works. Each 
time a PDF is processed, Adobe Reader pops up on my desktop and the job is done 
nicely.

But, when I start JBoss as a Windows service, this tool doesn't work. When a 
PDF is to be processed, Adobe Reader doesn't pop up. 

We believe that being a Windows service, JBoss doesn't know how to interact 
with desktop or doesn't know how to invoke Adobe Reader.
Is this true? How do I make it work?

Any idea and help will be greatly appreciated!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883722#3883722

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883722


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to