OK, I just spent the last few days going bananas as to why lots of stuff in my Java env went bananas :(
Even a plain vanilla tomcat wouldn't start and most errors where mostly misleading ... although I could tell it was classpath related (classpath sucks ass)
Long story short I finally realized/remembered had copied a bunch of jars into JAVA_HOME/lib/ext (as requested in tales installation) and this was causing the issues.
Anyway It's never good to copy anything there (asking fro trouble)
Doesn't fan provide a place for those jars (I think it was fantom_home/lib/java/ext), although I think it is/was not working correctly ?
This should work if the Fantom URLClassloader is set correctly, does it ?
kaushikTue 21 Dec 2010
Well yeah. After a short while I had changed the install page to put jars into FAN_HOME/lib/java/ext and not JAVA_HOME/lib/ext. Sorry for that trouble.
tcolarTue 21 Dec 2010
Ha didn't see the new doc.
FAN_HOME/lib/java/ext will be much better (even though some day that could be limiting, it really should be per project).
It's amazing what damage a servlet.jar in the wrong place can do :)
tcolar Mon 20 Dec 2010
OK, I just spent the last few days going bananas as to why lots of stuff in my Java env went bananas :(
Even a plain vanilla tomcat wouldn't start and most errors where mostly misleading ... although I could tell it was classpath related (classpath sucks ass)
Long story short I finally realized/remembered had copied a bunch of jars into JAVA_HOME/lib/ext (as requested in tales installation) and this was causing the issues.
Anyway It's never good to copy anything there (asking fro trouble)
Doesn't fan provide a place for those jars (I think it was fantom_home/lib/java/ext), although I think it is/was not working correctly ?
This should work if the Fantom URLClassloader is set correctly, does it ?
kaushik Tue 21 Dec 2010
Well yeah. After a short while I had changed the install page to put jars into FAN_HOME/lib/java/ext and not JAVA_HOME/lib/ext. Sorry for that trouble.
tcolar Tue 21 Dec 2010
Ha didn't see the new doc.
FAN_HOME/lib/java/ext will be much better (even though some day that could be limiting, it really should be per project).
It's amazing what damage a servlet.jar in the wrong place can do :)