Re: Problem upgrading to forrest 6
Kola Oyedeji wrote: > David Crossley wrote: > > Kola Oyedeji wrote: > > > I've just attempted to upgrade to Forrest 6 > > > > > > I've set my new Forrest_Home environment variable. The Path environment > > > variable references %Forrest_home% so I'm assuming this does not need > > > changing. Everytime I attempt to run forrest I get the following error: > > > > > > === > > > C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > > > Parser or > > > g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > > > http://apache.or > > > g/xml/features/validation/dynamic > > > === > > > > > > I am at a loss as to what can be the problem - a quick google turned up > > a > > > thread which suggested running forrest.bat (I'm on windows XP) but this > > made > > > no difference. > > > > > > I am running JVM 1.4.2_05 > > > > Forrest doesn't use crismon but Xerces by default, so somehow the wrong > > parser is being used. Searching the archives finds this thread, where > > someone else had a similar issue. Perhaps that will help you: > > > > http://marc.theaimsgroup.com/?t=11019435011 > > Thanks for the suggestion, according to the thread you posted I could try > explicitly setting the class for the Parser - not sure what to set it to? No. Definitely not. You must have something wrong with your Java setup. That thread might have provided some clues about classpath. --David
RE: Problem upgrading to forrest 6
> -Original Message- > From: David Crossley [mailto:[EMAIL PROTECTED] > Sent: 18 March 2005 11:11 > To: user@forrest.apache.org > Subject: Re: Problem upgrading to forrest 6 > > Kola Oyedeji wrote: > > I've just attempted to upgrade to Forrest 6 > > > > I've set my new Forrest_Home environment variable. The Path environment > > variable references %Forrest_home% so I'm assuming this does not need > > changing. Everytime I attempt to run forrest I get the following error: > > > > === > > C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > > Parser or > > g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > > http://apache.or > > g/xml/features/validation/dynamic > > === > > > > I am at a loss as to what can be the problem - a quick google turned up > a > > thread which suggested running forrest.bat (I'm on windows XP) but this > made > > no difference. > > > > I am running JVM 1.4.2_05 > > Forrest doesn't use crismon but Xerces by default, so somehow the wrong > parser is being used. Searching the archives finds this thread, where > someone else had a similar issue. Perhaps that will help you: > > http://marc.theaimsgroup.com/?t=11019435011 > > --David [Kola Oyedeji] David Thanks for the suggestion, according to the thread you posted I could try explicitly setting the class for the Parser - not sure what to set it to? Kola
Re: Problem upgrading to forrest 6
Kola Oyedeji wrote: > I've just attempted to upgrade to Forrest 6 > > I've set my new Forrest_Home environment variable. The Path environment > variable references %Forrest_home% so I'm assuming this does not need > changing. Everytime I attempt to run forrest I get the following error: > > === > C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > Parser or > g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > http://apache.or > g/xml/features/validation/dynamic > === > > I am at a loss as to what can be the problem - a quick google turned up a > thread which suggested running forrest.bat (I'm on windows XP) but this made > no difference. > > I am running JVM 1.4.2_05 Forrest doesn't use crismon but Xerces by default, so somehow the wrong parser is being used. Searching the archives finds this thread, where someone else had a similar issue. Perhaps that will help you: http://marc.theaimsgroup.com/?t=11019435011 --David
RE: Problem upgrading to forrest 6
Ross You're right - its really treating the symptoms and not the solution - over the weekend I will investigate and report back, thanks to everyone for their help and suggestions K > -Original Message- > From: Ross Gardler [mailto:[EMAIL PROTECTED] > Sent: 17 March 2005 13:37 > To: user@forrest.apache.org > Subject: Re: Problem upgrading to forrest 6 > > Kola Oyedeji wrote: > > Hi > > > > The jars are MS$ JDBC drivers. I managed to get it working by removing > the > > attribute element from the validate.xml document. The remaining errors > where > > caused by my old documents not strictly conforming to the newer dtds - I > > tweaked them till the validated and it now works. > > > > Glad you got it working, but you should not need to remove that > attribute, it works fine for eveyone else. When you have time you should > dig for the real problem (I'm afraid I can't give you any hints) > otherwise it will come back to haunt you again and again. > > Ross > > >>-Original Message- > >>From: Dave Brondsema [mailto:[EMAIL PROTECTED] > >>Sent: 17 March 2005 04:26 > >>To: user@forrest.apache.org > >>Subject: Re: Problem upgrading to forrest 6 > >> > >>[EMAIL PROTECTED] wrote: > >> > >>>Ross > >>> > >>>Hi, yes before I posted I tried every single thing in the thread, I > also > >>>posted my classpath in an earlier mail, but just incase you missed it: > >>> > >>>=== > >>>C:\Program Files\Microsoft SQL Server 2000 Driver for > >>>JDBC\lib\mssqlserver.jar;C > >>>:\Program Files\Microsoft SQL Server 2000 Driver for > >>>JDBC\lib\msbase.jar;C:\Prog > >>>ram Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar > >>>= > >>>I've commented out the following line in validate.xml > >>> > >>> > >>> > >>>Which was the cause of the error and I can now build new sites - > >>> > >>>But my site which was okay on 5 fails to build with "... is not a valid > >> > >>xml > >> > >>>document" which is surprising as they haven't changed but I will > >>>investigate further... > >>> > >>>Thanks > >>> > >>> > >> > >>I don't know what is in those jars (and it seems unlikely that an apache > >> xml parser would), but just to make sure... Have you tried forrest > >>with an empty classpath? > >> > >>-- > >>Dave Brondsema : [EMAIL PROTECTED] > >>http://www.splike.com : programming > >>http://csx.calvin.edu : student org > >>http://www.brondsema.net : personal > > > > > > > > > > > >
Re: Problem upgrading to forrest 6
Kola Oyedeji wrote: Hi The jars are MS$ JDBC drivers. I managed to get it working by removing the attribute element from the validate.xml document. The remaining errors where caused by my old documents not strictly conforming to the newer dtds - I tweaked them till the validated and it now works. Glad you got it working, but you should not need to remove that attribute, it works fine for eveyone else. When you have time you should dig for the real problem (I'm afraid I can't give you any hints) otherwise it will come back to haunt you again and again. Ross -Original Message- From: Dave Brondsema [mailto:[EMAIL PROTECTED] Sent: 17 March 2005 04:26 To: user@forrest.apache.org Subject: Re: Problem upgrading to forrest 6 [EMAIL PROTECTED] wrote: Ross Hi, yes before I posted I tried every single thing in the thread, I also posted my classpath in an earlier mail, but just incase you missed it: === C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C :\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;C:\Prog ram Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar = I've commented out the following line in validate.xml Which was the cause of the error and I can now build new sites - But my site which was okay on 5 fails to build with "... is not a valid xml document" which is surprising as they haven't changed but I will investigate further... Thanks I don't know what is in those jars (and it seems unlikely that an apache xml parser would), but just to make sure... Have you tried forrest with an empty classpath? -- Dave Brondsema : [EMAIL PROTECTED] http://www.splike.com : programming http://csx.calvin.edu : student org http://www.brondsema.net : personal
RE: Problem upgrading to forrest 6
Hi The jars are MS$ JDBC drivers. I managed to get it working by removing the attribute element from the validate.xml document. The remaining errors where caused by my old documents not strictly conforming to the newer dtds - I tweaked them till the validated and it now works. Thanks > -Original Message- > From: Dave Brondsema [mailto:[EMAIL PROTECTED] > Sent: 17 March 2005 04:26 > To: user@forrest.apache.org > Subject: Re: Problem upgrading to forrest 6 > > [EMAIL PROTECTED] wrote: > > Ross > > > > Hi, yes before I posted I tried every single thing in the thread, I also > > posted my classpath in an earlier mail, but just incase you missed it: > > > > === > > C:\Program Files\Microsoft SQL Server 2000 Driver for > > JDBC\lib\mssqlserver.jar;C > > :\Program Files\Microsoft SQL Server 2000 Driver for > > JDBC\lib\msbase.jar;C:\Prog > > ram Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar > > = > > I've commented out the following line in validate.xml > > > > > > > > Which was the cause of the error and I can now build new sites - > > > > But my site which was okay on 5 fails to build with "... is not a valid > xml > > document" which is surprising as they haven't changed but I will > > investigate further... > > > > Thanks > > > > > > I don't know what is in those jars (and it seems unlikely that an apache > xml parser would), but just to make sure... Have you tried forrest > with an empty classpath? > > -- > Dave Brondsema : [EMAIL PROTECTED] > http://www.splike.com : programming > http://csx.calvin.edu : student org > http://www.brondsema.net : personal
Re: Problem upgrading to forrest 6
[EMAIL PROTECTED] wrote: Ross Hi, yes before I posted I tried every single thing in the thread, I also posted my classpath in an earlier mail, but just incase you missed it: === C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C :\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;C:\Prog ram Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar = I've commented out the following line in validate.xml Which was the cause of the error and I can now build new sites - But my site which was okay on 5 fails to build with "... is not a valid xml document" which is surprising as they haven't changed but I will investigate further... Thanks I don't know what is in those jars (and it seems unlikely that an apache xml parser would), but just to make sure... Have you tried forrest with an empty classpath? -- Dave Brondsema : [EMAIL PROTECTED] http://www.splike.com : programming http://csx.calvin.edu : student org http://www.brondsema.net : personal signature.asc Description: OpenPGP digital signature
RE: Problem upgrading to forrest 6
Ross Hi, yes before I posted I tried every single thing in the thread, I also posted my classpath in an earlier mail, but just incase you missed it: === C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C :\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;C:\Prog ram Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar = I've commented out the following line in validate.xml Which was the cause of the error and I can now build new sites - But my site which was okay on 5 fails to build with "... is not a valid xml document" which is surprising as they haven't changed but I will investigate further... Thanks > -Original Message- > From: Ross Gardler [mailto:[EMAIL PROTECTED] > Sent: 16 March 2005 22:26 > To: user@forrest.apache.org > Subject: Re: Problem upgrading to forrest 6 > > [EMAIL PROTECTED] wrote: > > I thought I had this working as it did work once but now I get the same > > error again. No matter what I try :( > > Did you read the thread linked to earlier in this thread? It had a few > other hints about what your problem is. > > If all else fails tell us what is in your classpath (as the thread > suggests). > > Ross > > > > > > >>-Original Message- > >>From: Kola Oyedeji [mailto:[EMAIL PROTECTED] On Behalf Of > >>[EMAIL PROTECTED] > >>Sent: 16 March 2005 19:50 > >>To: user@forrest.apache.org > >>Subject: RE: Problem upgrading to forrest 6 > >> > >>I managed to create a new copy which works by gradually copying across > >>portions of the existing site to a new site which I seeded using version > >>6. > >> > >>The last item to copy across was the following line in my site.xml > >> > >> > >> > >>And bang! It threw the same error... > >> > >> > >> > >> > >>>-Original Message- > >>>From: Dave Brondsema [mailto:[EMAIL PROTECTED] > >>>Sent: 16 March 2005 19:26 > >>>To: user@forrest.apache.org > >>>Subject: Re: Problem upgrading to forrest 6 > >>> > >>>Kola Oyedeji wrote: > >>> > >>>>Hi > >>>> > >>>> > >>>>I've just attempted to upgrade to Forrest 6 > >>>> > >>>>I've set my new Forrest_Home environment variable. The Path > >> > >>environment > >> > >>>>variable references %Forrest_home% so I'm assuming this does not need > >>>>changing. Everytime I attempt to run forrest I get the following > >> > >>error: > >> > >>>> > >>=== > >> > >>>>C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > >>>>Parser or > >>>>g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > >>>>http://apache.or > >>>>g/xml/features/validation/dynamic > >>>> > >> > >>=== > >> > >>>>I am at a loss as to what can be the problem - a quick google turned > >> > >>up > >> > >>>a > >>> > >>>>thread which suggested running forrest.bat (I'm on windows XP) but > >> > >>this > >> > >>>made > >>> > >>>>no difference. > >>>> > >>>>I am running JVM 1.4.2_05 > >>>> > >>>>Thanks > >>>> > >>> > >>>See the thread (and this message in particular): > >>>http://www.mail-archive.com/user@forrest.apache.org/msg00164.html > >>> > >>>-- > >>>Dave Brondsema : [EMAIL PROTECTED] > >>>http://www.splike.com : programming > >>>http://csx.calvin.edu : student org > >>>http://www.brondsema.net : personal > >> > >> > > > > > > > > > > > > >
Re: Problem upgrading to forrest 6
[EMAIL PROTECTED] wrote: I thought I had this working as it did work once but now I get the same error again. No matter what I try :( Did you read the thread linked to earlier in this thread? It had a few other hints about what your problem is. If all else fails tell us what is in your classpath (as the thread suggests). Ross -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 16 March 2005 19:50 To: user@forrest.apache.org Subject: RE: Problem upgrading to forrest 6 I managed to create a new copy which works by gradually copying across portions of the existing site to a new site which I seeded using version 6. The last item to copy across was the following line in my site.xml And bang! It threw the same error... -Original Message- From: Dave Brondsema [mailto:[EMAIL PROTECTED] Sent: 16 March 2005 19:26 To: user@forrest.apache.org Subject: Re: Problem upgrading to forrest 6 Kola Oyedeji wrote: Hi I've just attempted to upgrade to Forrest 6 I've set my new Forrest_Home environment variable. The Path environment variable references %Forrest_home% so I'm assuming this does not need changing. Everytime I attempt to run forrest I get the following error: === C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: Parser or g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature http://apache.or g/xml/features/validation/dynamic === I am at a loss as to what can be the problem - a quick google turned up a thread which suggested running forrest.bat (I'm on windows XP) but this made no difference. I am running JVM 1.4.2_05 Thanks See the thread (and this message in particular): http://www.mail-archive.com/user@forrest.apache.org/msg00164.html -- Dave Brondsema : [EMAIL PROTECTED] http://www.splike.com : programming http://csx.calvin.edu : student org http://www.brondsema.net : personal
RE: Problem upgrading to forrest 6
I thought I had this working as it did work once but now I get the same error again. No matter what I try :( > -Original Message- > From: Kola Oyedeji [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: 16 March 2005 19:50 > To: user@forrest.apache.org > Subject: RE: Problem upgrading to forrest 6 > > I managed to create a new copy which works by gradually copying across > portions of the existing site to a new site which I seeded using version > 6. > > The last item to copy across was the following line in my site.xml > > > > And bang! It threw the same error... > > > > > -Original Message- > > From: Dave Brondsema [mailto:[EMAIL PROTECTED] > > Sent: 16 March 2005 19:26 > > To: user@forrest.apache.org > > Subject: Re: Problem upgrading to forrest 6 > > > > Kola Oyedeji wrote: > > > Hi > > > > > > > > > I've just attempted to upgrade to Forrest 6 > > > > > > I've set my new Forrest_Home environment variable. The Path > environment > > > variable references %Forrest_home% so I'm assuming this does not need > > > changing. Everytime I attempt to run forrest I get the following > error: > > > > > > > === > > > C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > > > Parser or > > > g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > > > http://apache.or > > > g/xml/features/validation/dynamic > > > > === > > > > > > I am at a loss as to what can be the problem - a quick google turned > up > > a > > > thread which suggested running forrest.bat (I'm on windows XP) but > this > > made > > > no difference. > > > > > > I am running JVM 1.4.2_05 > > > > > > Thanks > > > > > > > See the thread (and this message in particular): > > http://www.mail-archive.com/user@forrest.apache.org/msg00164.html > > > > -- > > Dave Brondsema : [EMAIL PROTECTED] > > http://www.splike.com : programming > > http://csx.calvin.edu : student org > > http://www.brondsema.net : personal > >
RE: Problem upgrading to forrest 6
I managed to create a new copy which works by gradually copying across portions of the existing site to a new site which I seeded using version 6. The last item to copy across was the following line in my site.xml And bang! It threw the same error... > -Original Message- > From: Dave Brondsema [mailto:[EMAIL PROTECTED] > Sent: 16 March 2005 19:26 > To: user@forrest.apache.org > Subject: Re: Problem upgrading to forrest 6 > > Kola Oyedeji wrote: > > Hi > > > > > > I've just attempted to upgrade to Forrest 6 > > > > I've set my new Forrest_Home environment variable. The Path environment > > variable references %Forrest_home% so I'm assuming this does not need > > changing. Everytime I attempt to run forrest I get the following error: > > > > === > > C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > > Parser or > > g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > > http://apache.or > > g/xml/features/validation/dynamic > > === > > > > I am at a loss as to what can be the problem - a quick google turned up > a > > thread which suggested running forrest.bat (I'm on windows XP) but this > made > > no difference. > > > > I am running JVM 1.4.2_05 > > > > Thanks > > > > See the thread (and this message in particular): > http://www.mail-archive.com/user@forrest.apache.org/msg00164.html > > -- > Dave Brondsema : [EMAIL PROTECTED] > http://www.splike.com : programming > http://csx.calvin.edu : student org > http://www.brondsema.net : personal
RE: Problem upgrading to forrest 6
Thanks But that was the thread was referring to, I do not have Xerces on my classpath - I checked: C:\Inetpub\wwwroot\hips\docs>echo %classpath% C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;C :\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;C:\Prog ram Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar Thanks > -Original Message- > From: Dave Brondsema [mailto:[EMAIL PROTECTED] > Sent: 16 March 2005 19:26 > To: user@forrest.apache.org > Subject: Re: Problem upgrading to forrest 6 > > Kola Oyedeji wrote: > > Hi > > > > > > I've just attempted to upgrade to Forrest 6 > > > > I've set my new Forrest_Home environment variable. The Path environment > > variable references %Forrest_home% so I'm assuming this does not need > > changing. Everytime I attempt to run forrest I get the following error: > > > > === > > C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: > > Parser or > > g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > > http://apache.or > > g/xml/features/validation/dynamic > > === > > > > I am at a loss as to what can be the problem - a quick google turned up > a > > thread which suggested running forrest.bat (I'm on windows XP) but this > made > > no difference. > > > > I am running JVM 1.4.2_05 > > > > Thanks > > > > See the thread (and this message in particular): > http://www.mail-archive.com/user@forrest.apache.org/msg00164.html > > -- > Dave Brondsema : [EMAIL PROTECTED] > http://www.splike.com : programming > http://csx.calvin.edu : student org > http://www.brondsema.net : personal
Re: Problem upgrading to forrest 6
Kola Oyedeji wrote: Hi I've just attempted to upgrade to Forrest 6 I've set my new Forrest_Home environment variable. The Path environment variable references %Forrest_home% so I'm assuming this does not need changing. Everytime I attempt to run forrest I get the following error: === C:\Program Files\apache-forrest-0.6\src\core\targets\validate.xml:143: Parser or g.apache.crimson.parser.XMLReaderImpl doesn't recognize feature http://apache.or g/xml/features/validation/dynamic === I am at a loss as to what can be the problem - a quick google turned up a thread which suggested running forrest.bat (I'm on windows XP) but this made no difference. I am running JVM 1.4.2_05 Thanks See the thread (and this message in particular): http://www.mail-archive.com/user@forrest.apache.org/msg00164.html -- Dave Brondsema : [EMAIL PROTECTED] http://www.splike.com : programming http://csx.calvin.edu : student org http://www.brondsema.net : personal signature.asc Description: OpenPGP digital signature