Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: [Ethereal-users] Ethereal hangs with spawned from JVM

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Sholund, Mark D, GVSOL" <sholund@xxxxxxx>
Date: Thu, 28 Jul 2005 14:21:29 -0400
I have a java application that retrieves a capture file and then launches Ethereal to view the file (on Windows).  The file itself is fine, I can start Ethereal and load the file manually without errors.  When an Ethereal process is spawned by Runtime.getRunTime().exec("ethereal -n <filename>") the splashscreen gets to "loading configuration files..." and then hangs until I shut down my JVM at which point Ethereal finishes loading.  I wrote a small Java program that launches Ethereal and it works fine so my applcation seems to have something to do with it.
 
This procedure works with version 0.10.10 and earlier but 0.10.11 and onward do not.
 
Additionally, this works
 
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler <url to file>")
 
but I'd rather not do that as it will tie me to Windows.
 
Could somebody give me a pointer of where I can look to diagnose this problem and/or what changed after 0.10.10 to make this problem occurs?