Andrew, Txs for the help. The war I bumped into this issue only with the recent versions of jspwiki - the war deployment and side-by-side with v2.8 has been working perfectly the past months.
I had no time yet to digg deeper - and will be out for a couple of days. More 'digging' next wk I assume ;-) dirk On Fri, Feb 12, 2010 at 3:31 PM, Andrew Jaquith <[email protected]>wrote: > Dirk, any luck? > > FYI, I also regularly run 2.8 and 3.0 in the same Tomcat instance. I'm > using 5.5. JSPWiki also runs fine in Tomcat 6 (although I haven't > tested it running alongside 2.8). The Java version installed on my Mac > is 1.6.0_17. > > The best strategy would be to download Tomcat 5.5 or 6, set your > CATALINA_HOME environment variable, and then just drop the WAR into > the webapps directory. If that doesn't work, then you have some more > serious issues, I think. > > See these articles for some tips, which suggest version-clashes in > JDOM and/or Xerces: > > http://www.jguru.com/forums/view.jsp?EID=1279049 > > http://www.velocityreviews.com/forums/t144510-problems-with-jboss-an-xerces.html > http://forums.sun.com/thread.jspa?threadID=699041 > > > Andrew > > On Mon, Feb 8, 2010 at 12:32 PM, Harry Metske <[email protected]> > wrote: > > running 2 wiki's in the same tomcat (2.8 and 3.0) should not be a problem > (I > > just did, and they both initialize nicely) > > > > /Harry > > > > > > 2010/2/8 Dirk Frederickx <[email protected]> > > > >> Txs Harry, > >> > >> I will do some more investigation. > >> > >> Note: I am running also a v2.8.x JSPWiki in the same TOMCAT instance. > Could > >> this cause any problem ? > >> > >> > >> dirk > >> > >> On Mon, Feb 8, 2010 at 7:55 AM, Harry Metske <[email protected]> > >> wrote: > >> > >> > Dirk, > >> > > >> > I can't think of anything else than that you are loading a version of > >> > org.w3c.dom.Node that does not have the getTextContent() method. > >> > Can you add the java parameter " -verbose:class" to see from which jar > it > >> > is > >> > loaded, maybe that gives a clue. > >> > > >> > regards, > >> > Harry > >> > > >> > 2010/2/7 Dirk Frederickx <[email protected]> > >> > > >> > > Guys, > >> > > > >> > > The latest check-ins on v3.0.0 seem to have broken the deployability > >> from > >> > > WAR. > >> > > I'm kind a blocked to check in several pending fixes (mainly > javascript > >> ) > >> > > to align with the latest template changes of Andrew. > >> > > > >> > > It seems the Content-Manager doesn't initialize properly. > >> > > > >> > > Any suggestions ? > >> > > > >> > > > >> > > 2010-01-23 19:29:15,648 [main] INFO org.priha.core.RepositoryImpl - > >> > > Initializing SessionManager... > >> > > 2010-01-23 19:29:15,841 [main] INFO org.apache.wiki.util.ClassUtil > - > >> > > Failed > >> > > to invoke class org.apache.wiki.content.ContentManager > >> > > java.lang.NoSuchMethodError: > >> > > org.w3c.dom.Node.getTextContent()Ljava/lang/String; > >> > > 2010-01-23 19:29:15,843 [main] ERROR org.apache.wiki.WikiEngine - > >> > JSPWiki > >> > > could not start, due to an unknown exception while starting, > stacktrace > >> > > follows: > >> > > org.apache.wiki.api.WikiException: Failed to invoke class > >> > > org.apache.wiki.content.ContentManager, reason: > >> > > java.lang.NoSuchMethodError: > >> > > org.w3c.dom.Node.getTextContent()Ljava/lang/String; > >> > > at > org.apache.wiki.util.ClassUtil.getMappedObject(ClassUtil.java:311) > >> > > at > org.apache.wiki.util.ClassUtil.getMappedObject(ClassUtil.java:204) > >> > > at org.apache.wiki.WikiEngine.initialize(WikiEngine.java:565) > >> > > at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:429) > >> > > > >> > > > >> > > dirk > >> > > > >> > > > >> > > On Sun, Jan 24, 2010 at 12:06 PM, Harry Metske < > [email protected] > >> > > >wrote: > >> > > > >> > > > could it be that there is an old version of org.w3c.dom.Node > >> somewhere > >> > > > else in your classpath ? > >> > > > > >> > > > /Harry > >> > > > > >> > > > 2010/1/23 Dirk Frederickx <[email protected]> > >> > > > > >> > > > > Harry, > >> > > > > > >> > > > > Txs for the quick reply. > >> > > > > But that's not the problem -- I have v3.0.0. runing quite some > >> time. > >> > > > > I just did a clean install from the war. > >> > > > > > >> > > > > I'm running java 1.5 > >> > > > > > >> > > > > java version "1.5.0_19" > >> > > > > Java(TM) 2 Runtime Environment, Standard Edition (build > >> > > 1.5.0_19-b02-306) > >> > > > > Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, > >> sharing) > >> > > > > > >> > > > > > >> > > > > > >> > > > > dirk > >> > > > > > >> > > > > > >> > > > > On Sat, Jan 23, 2010 at 8:53 PM, Dirk Frederickx > >> > > > > <[email protected]>wrote: > >> > > > > > >> > > > > > Harry, > >> > > > > > > >> > > > > > Txs for the quick reply. > >> > > > > > But that's not the problem -- I have v3.0.0. runing quite some > >> > time. > >> > > > > > I just tried a > >> > > > > > > >> > > > > > > >> > > > > > On Sat, Jan 23, 2010 at 8:28 PM, Harry Metske < > >> > > [email protected] > >> > > > > >wrote: > >> > > > > > > >> > > > > >> it looks like you are running with a JDK 1.4, while JDK5 is > the > >> > > > minimum > >> > > > > >> requirement. > >> > > > > >> > >> > > > > >> regards, > >> > > > > >> Harry > >> > > > > >> > >> > > > > >> 2010/1/23 Dirk Frederickx <[email protected]> > >> > > > > >> > >> > > > > >> > I have difficulties in deploying a recent v3.0.0 version. > >> > > > > >> > The startup op JSPWiki fails with the below > error/stack-trace. > >> > > > > >> > > >> > > > > >> > Any hint what could be wrong ? > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > 2010-01-23 19:29:15,648 [main] INFO > >> > org.priha.core.RepositoryImpl > >> > > - > >> > > > > >> > Initializing SessionManager... > >> > > > > >> > 2010-01-23 19:29:15,841 [main] INFO > >> > org.apache.wiki.util.ClassUtil > >> > > > - > >> > > > > >> > Failed > >> > > > > >> > to invoke class org.apache.wiki.content.ContentManager > >> > > > > >> > java.lang.NoSuchMethodError: > >> > > > > >> > org.w3c.dom.Node.getTextContent()Ljava/lang/String; > >> > > > > >> > 2010-01-23 19:29:15,843 [main] ERROR > >> org.apache.wiki.WikiEngine > >> > - > >> > > > > >> JSPWiki > >> > > > > >> > could not start, due to an unknown exception while > starting, > >> > > > > stacktrace > >> > > > > >> > follows: > >> > > > > >> > org.apache.wiki.api.WikiException: Failed to invoke class > >> > > > > >> > org.apache.wiki.content.ContentManager, reason: > >> > > > > >> > java.lang.NoSuchMethodError: > >> > > > > >> > org.w3c.dom.Node.getTextContent()Ljava/lang/String; > >> > > > > >> > at > >> > > > org.apache.wiki.util.ClassUtil.getMappedObject(ClassUtil.java:311) > >> > > > > >> > at > >> > > > org.apache.wiki.util.ClassUtil.getMappedObject(ClassUtil.java:204) > >> > > > > >> > at > org.apache.wiki.WikiEngine.initialize(WikiEngine.java:565) > >> > > > > >> > at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:429) > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > dirk > >> > > > > >> > > >> > > > > >> > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > > >
