Vassal not launching

Thus spake ronljacobsen:

To elaborate, I typed the javaw command while in the C:\Program
Files\VASSAL directory with is where vassal.exe resides. Nothing
happened. :frowning:

Do you have a directory called VASSAL in your home directory? In Windows
7, you’ll find the home directories under C:\Users. Is there a file
called errorLog there? If so, what’s in it?


J.

Here are the contents of the error log. I would not be surprised if the date on all this items is the date I switched to this computer.

12 Feb 2011 03:30:04.475 0 – Starting
12 Feb 2011 03:30:04.475 0 – OS Windows 7
12 Feb 2011 03:30:04.475 0 – Java version 1.6.0_20
12 Feb 2011 03:30:04.475 0 – VASSAL version 3.1.14
12 Feb 2011 03:30:04.490 0 – Manager
12 Feb 2011 03:30:07.829 0 – Loading module file C:\Users\ronjacobsen\Desktop\Vassal\MMWv5c.vmod
12 Feb 2011 03:30:07.829 0 – Loading module Mr. Madison’s war
12 Feb 2011 03:30:07.829 0 C:\Program Files\Java\jre6\bin\java -Xms256M -Xmx512M -DVASSAL.id=1 -Duser.home=C:\Users\ronjacobsen -cp lib\Vengine.jar VASSAL.launch.Player
12 Feb 2011 03:30:11.167 1 – Mr. Madison’s war version 05c
12 Feb 2011 03:30:11.167 1

12 Feb 2011 03:53:11.710 1 – Exiting
12 Feb 2011 03:53:13.800 0 – Exiting

By the way, Mr. Madison’s War is the last thing I successfully ran on Vassal, though I may or may not have succeeded with in on this computer.

Thus spake ronljacobsen:

Here are the contents of the error log. I would not be surprised if the
date on all this items is the date I switched to this computer.

12 Feb 2011 03:30:04.475 0 – Starting
12 Feb 2011 03:30:04.475 0 – OS Windows 7
12 Feb 2011 03:30:04.475 0 – Java version 1.6.0_20
12 Feb 2011 03:30:04.475 0 – VASSAL version 3.1.14
12 Feb 2011 03:30:04.490 0 – Manager
12 Feb 2011 03:30:07.829 0 – Loading module file
C:\Users\ronjacobsen\Desktop\Vassal\MMWv5c.vmod
12 Feb 2011 03:30:07.829 0 – Loading module Mr. Madison’s war
12 Feb 2011 03:30:07.829 0 C:\Program Files\Java\jre6\bin\java -Xms256M
-Xmx512M -DVASSAL.id=1 -Duser.home=C:\Users\ronjacobsen -cp
lib\Vengine.jar VASSAL.launch.Player
12 Feb 2011 03:30:11.167 1 – Mr. Madison’s war version 05c
12 Feb 2011 03:30:11.167 1

12 Feb 2011 03:53:11.710 1 – Exiting
12 Feb 2011 03:53:13.800 0 – Exiting

That’s not a fresh errorLog.

What happens if you try running VASSAL with an administrative account?


J.

Thus spake ronljacobsen:

Here are the contents of the error log. I would not be surprised if the
date on all this items is the date I switched to this computer.

Also, what else is in that directory?


J.

I have to step away from my computer now, but I’ll check back in tomorrow and follow any advice you have. Thanks for taking the time.

Ron

Just noticed your last post. Besides the error log, there are files called:
key
lock
preferences

also folders called:
ext
plugins
and 27 temp.zip files.

Thus spake ronljacobsen:

Just noticed your last post. Besides the error log, there are files
called:
key
lock
preferences

also folders called:
ext
plugins
and 27 temp.zip files.

Delete lock, and then try running VASSAL.


J.

Lock deleted. Vassal still does not launch. But I will try reloading it tomorrow and seeing if that makes a difference.

Thus spake ronljacobsen:

Lock deleted. Vassal still does not launch. But I will try reloading
it tomorrow and seeing if that makes a difference.

Check the errorLog again. Is it different now?

Try deleting the key file also.


J.

Checked error log, deleted Key, tried launching Vassal (nothing again), then checked error log again. The error log never changed. Still the same set of entries dated Feb 12, 2011. Sigh.

Thus spake ronljacobsen:

Checked error log, deleted Key, tried launching Vassal (nothing again),
then checked error log again. The error log never changed. Still the
same set of entries dated Feb 12, 2011. Sigh.

Rename the directory where you found the errorLog. Then try running
VASSAL. Does that directory get recreated?


J.

No, it does not. I renamed the directory containing the errorlog to notVASSAL. Then I tried to launch Vassal. Nothing happened and no new or recreated directory appeared.

I also restarted my computer this morning and the first thing I did was try to launch Vassal. It did not launch, but for what it is worth, the computer thought for about 3 seconds rather than less than a second before not launching.

Thus spake ronljacobsen:

No, it does not. I renamed the directory containing the errorlog to
notVASSAL. Then I tried to launch Vassal. Nothing happened and no new
or recreated directory appeared.

Are you willing to install and run a diagnostic build if I supply one?


J.

Possibly, but what does that entail? This is a laptop that I use for work, so I am less willing to take risks with it than my personal desktop at home.

Thus spake ronljacobsen:

Possibly, but what does that entail? This is a laptop that I use for
work, so I am less willing to take risks with it than my personal
desktop at home.

It means installing a special build of VASSAL which will print some
diagnostic output to a terminal window, so we can see how far it’s
getting when you start it.


J.

Yeah, that sounds fine. Thanks.

Thus spake ronljacobsen:

Yeah, that sounds fine. Thanks.

Try installing this build:

vassalengine.org/~uckelman/b … indows.exe

Go to the directory where you installed it:

cd C:\Program Files\VASSAL-3.1.19-svn8026

(I’m not sure if this wil be the exact directory name, just have a look
to verify that it is.)

Then, from that directory:

java -cp lib/Vengine.jar VASSAL.launch.ModuleManager

A series of numbers should be printed in your terminal. These are line
numbers in ModuleManager.java, one of our source files. We’ll be able to
use these to see how far execution gets when you try running the
diagnostic build.


J.

The output of the program;
88
104
127
144
VASSAL: IO error
java.io.IOException
at VASSAL.launch.ModuleManager.main(ModuleManager.java:155)
Caused by: java.nio.channels.OverlappingFileLockException
at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(Unknown Source)
at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(Unknown Source)
at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
at java.nio.channels.FileChannel.trylock(Unkown Source)
at VASSAL.launch.ModuleManager.main(ModuleManger.java:152)

That’s all of it. Hope I did not make any typos.

Thus spake ronljacobsen:

The output of the program;
88
104
127
144
VASSAL: IO error
java.io.IOException
at VASSAL.launch.ModuleManager.main(ModuleManager.java:155)
Caused by: java.nio.channels.OverlappingFileLockException
at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(Unknown
Source)
at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(Unknown
Source)
at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
at java.nio.channels.FileChannel.trylock(Unkown Source)
at VASSAL.launch.ModuleManager.main(ModuleManger.java:152)

That’s helpful. This shows us exactly where VASSAL is getting hung up.
Now we need to find the path of the file which it’s failling to get a
lock on.

Do the same thing as before, but with this build:

vassalengine.org/~uckelman/b … indows.exe


J.