Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic