aspose file tools*
The moose likes JForum and the fly likes Illegal UTF8 string in constant pool in class file net/jforum/JForumCommonServlet$1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Illegal UTF8 string in constant pool in class file net/jforum/JForumCommonServlet$1" Watch "Illegal UTF8 string in constant pool in class file net/jforum/JForumCommonServlet$1" New topic
Author

Illegal UTF8 string in constant pool in class file net/jforum/JForumCommonServlet$1

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi there !

When I try to run the jforum for the first time I get:
Illegal UTF8 string in constant pool in class file net/jforum/JForumCommonServlet$1

System is:
Apache Tomcat/5.0.30
SUN-JVM:1.5.0_03-b07
OS:Linux:2.6.9-x1:i386
JForum:2.1.4

Attached is the error message.

Any sugestion/idea are more then wellcome !

Greetings from BE ...
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hhm... can you please try it with the VM version 1.4.2?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I've tried with JVM 1.4.2_08 and "UTF-8 exception" is gone and forum now works OK.

Fyi, I do run the forum on XPSP2/Java1.5/Tomcat5.5.9 as well and it works perfectly - It might be that Sun's Class Loaders for Linux and Windows have slightly different implementations ? ....

Also, when I tried to run the forum on JVM1.4.2 at the beginning I was receiving ClassFormatException ... Truncated class file. After some investigation I found the problem to be with "unzip" of my Linux system (it was simply damaging the file(s) during the inflation). I solved the problem by copying the distribution from my XP machine. Which zipper is used to make the distribution ?

Greetings from BE
[originally posted on jforum.net by teolein]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Thanks teolein, this is valuable piece of information. I use WinZIP to make the .zip files.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Illegal UTF8 string in constant pool in class file net/jforum/JForumCommonServlet$1