From: Vladimir G. <vla...@du...> - 2011-01-06 15:50:11
|
On Jan 5, 2011, at 11:52 AM, Shyket, Harry wrote: > From: "Shyket, Harry" <har...@ya...> > Date: January 5, 2011 11:52:30 AM EST > To: "vla...@du..." <vla...@du...> > Cc: William Halliday Piel <pi...@tr...> > Subject: Issues with Treebase Configuration > > Hi Vladimir, > > I am having issues with my Treebase setup. I followed the > instructions on the wiki. I built using Eclipse on my PC and then > deployed the WAR file to a virtual environment (Ubuntu). I worked > through a couple of errors, but the latest one seems to be the > webservice that’s causing the site not to work. I have attached > both the treebase.log file as well as the catalina.out file. > > Any help with this issue would be appreciated. > > Thanks, > > Harry Shyket > Digitial Media Specialist > Yale University Peabody Museum > ph. 203-436-9428 > har...@ya... > Hi Harry, The logs appear similar to the problem I ran into after Java updates over the summer (I run a Mac, with Java from Apple) -- see treebase- dev messages from Sep 9 2010. With people here who work with J2EE way more than I do, we tracked the problem to the xercesImpl-2.4.0.jar being on the way (as I recall it supplies outdated implementations that overwrite newer ones, now in the standard library). Somehow this problem does not rise at our linux server that runs treebase, perhaps for using OpenJDK instead of Sun/Apple. What is your environment? I currently work around the problem in a very clumsy way: Instead of dropping treebase-web.war into $CATALINA_HOME/webapps/ and letting tomcat unpack it, I unpack it myself, excluding xercesImpl, and move the result to $CATALINA_HOME/webapps/, i.e. unzip -q treebase/treebase-web/target/treebase-web.war -x WEB-INF/lib/ xercesImpl-2.4.0.jar -d $CATALINA_HOME/webapps/treebase -web Hopefully, this will work for you. The proper solution would be revising treebase build process and pruning out lots of outdated and unused jars that linger there. --VG |