|
From: Buntingster <bun...@gm...> - 2006-01-27 17:59:41
|
Just a thought here - what does your directory structure look like and
where are you running it from?
From what I recall in the wrapper documentation, the java executable is
launched from the directory that wrapper.exe exists in - meaning all of
your classpath files have to be relative to your bin directory. This has
been a source of confusion with me before - saw similiar results as you
are seeing. However, this wouldn't account for your Win2000 - WinXP
difference, but...it might be worth looking into.
-Jared
Volkar, John wrote:
>>It is not a command line length problem.
>>
>>
>Good; it didn't feel like it was and I'd be annoyed at windows if that
>were the case.
>
>
>
>>What Java version are you running on each of your systems?
>>Run on each system. Verify that is what is being run by the
>>Wrapper on your XP system:
>>C:\WINNT\system32\java.exe -version
>>
>>
>I'll just pull from the wrapper service logs...
>
>On the Win 2000 box (where it fails):
>----
>INFO | jvm 1 | 2006/01/27 06:11:23 | Java Executable:
>C:\WINNT\system32\java.exe
>INFO | jvm 1 | 2006/01/27 06:11:23 | Windows version: 5.0.2195
>INFO | jvm 1 | 2006/01/27 06:11:23 | Java Version : 1.5.0_06-b05
>Java HotSpot(TM) Client VM
>INFO | jvm 1 | 2006/01/27 06:11:23 | Java VM Vendor : Sun
>Microsystems Inc.
>----
>
>On my WinXP (where it all works):
>----
>INFO | jvm 1 | 2006/01/25 18:41:48 | Java Executable:
>C:\WINDOWS\system32\java.exe
>INFO | jvm 1 | 2006/01/25 18:41:48 | Windows version: 5.1.2600
>INFO | jvm 1 | 2006/01/25 18:41:48 | Java Version : 1.5.0_06-b05
>Java HotSpot(TM) Client VM
>INFO | jvm 1 | 2006/01/25 18:41:48 | Java VM Vendor : Sun
>Microsystems Inc.
>----
>
>
>
>>Are they the same?
>>
>>
>Looks like they are the exact same java version to me.
>
>
>
>>I have never tried running with a main class in inner
>>classes. There may be some problems with the way the
>>WrapperStartStopApp class is locating the main methods.
>>
>>
>I cannot for the life of me imagine why that would be a problem; the JVM
>is the same. If I had to I suppose I could pull the inners out and try
>again; but I like keeping them tucked in, they are all of like 5 lines
>of code each.
>
>
>
>>Can't think of why the platform would make a difference, but
>>there may be some differences if the Java version is
>>different. Once I have more info, I can try to reproduce it here.
>>
>>
>
>Lief, thanks for your help, I'm kind of at a loss to explain this
>myself. If I get a free moment I'll pull those inners clases out and
>see what happens.
>
>Regards,
>John Volkar
>
>Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
>
>N¬HY޵隊X¬²š'²ŠÞu¼’¦[§‰ÜŒ¨º
>Þ¦Øk¢è!–ˆŠW¬~Šé®†åzk¶ŠC£ å¡§m…éÞÀ@^ÇšÈ^ž§zØZ¶f¤zËj·!Šx2¢êå¢â•ë±æ¬É«,º·âža{›å,àHòÔ4¨m¶Ÿÿ±éZ²ëjY‚wþÇ¥rg–y$‰ÐÓ~7Ù¸mãÎjÐÛ^¸ÙjÚ¦—«ºÇ«™¨¥Šx%ŠËVªiz»¬z¹b²Û,¢êÜyú+éÞ¶m¦Ïÿ–+-²Ê.ÇŸ¢¸ë–+-³ùb²Ø§~ðªiz»¬er==
>
|