Re: Could not load default SAX parser

2008-07-27 Thread Erling Wegger Linde
5.5

Thanks to a colleague I think it should be possible to get this
working. He just told me, that if you remove all xerces jars from the
plugin's classpath, then it uses the one shipped with confluence, and
actually works.

Thanks,
- Erling

On Sun, Jul 27, 2008 at 2:46 AM, Mark Thomas [EMAIL PROTECTED] wrote:
 Erling Wegger Linde wrote:

 Hi,

 I'm writing a Macro Plugin for Confluence.

 I'm using Rome to fetch an entry from an AtomPub service. Rome depends on
 JDOM.

 I get the following exception:
 org.jdom.JDOMException: Could not load default SAX parser:
 org.apache.xerces.parsers.SAXParser: SAX2 driver class
 org.apache.xerces.parsers.SAXParser does not implement XMLReader:

 I'm running Confluence 2.8.2 - Standalone on Ubuntu 8.04

 Tomcat version?

 Mark




 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
Med vennlig hilsen
Erling Wegger Linde

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Could not load default SAX parser

2008-07-26 Thread Mark Thomas

Erling Wegger Linde wrote:

Hi,

I'm writing a Macro Plugin for Confluence.

I'm using Rome to fetch an entry from an AtomPub service. Rome depends on JDOM.

I get the following exception:
org.jdom.JDOMException: Could not load default SAX parser:
org.apache.xerces.parsers.SAXParser: SAX2 driver class
org.apache.xerces.parsers.SAXParser does not implement XMLReader:

I'm running Confluence 2.8.2 - Standalone on Ubuntu 8.04


Tomcat version?

Mark




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Could not load default SAX parser

2008-07-23 Thread Erling Wegger Linde
Does anyone now which .jar file I should use? I've tried different
xerces, xercesImpl etc. but I haven't got it working yet..

Thanks again,
Erling

On Wed, Jul 23, 2008 at 2:10 PM, Erling Wegger Linde [EMAIL PROTECTED] wrote:
 Hi,

 I'm writing a Macro Plugin for Confluence.

 I'm using Rome to fetch an entry from an AtomPub service. Rome depends on 
 JDOM.

 I get the following exception:
 org.jdom.JDOMException: Could not load default SAX parser:
 org.apache.xerces.parsers.SAXParser: SAX2 driver class
 org.apache.xerces.parsers.SAXParser does not implement XMLReader:

 I'm running Confluence 2.8.2 - Standalone on Ubuntu 8.04

 The funny thing is that everything works fine in Eclipse (run as -
 JUnit Test) or on a mvn install ... So I guess this has something to
 do with the Tomcat being shipped with the Standalone edition..

 I've tried to replace a lot of jars in the ../tomcat/common/endorsed folder.

 I also tried /startup.sh
 -Djava.endorsed.dirs=../confluence-2.8.2-std/common/endorsed/ without
 success..

 Tomcat is running on Java 1.6.0_06

 Any ideas? I would be very grateful!

 Thanks,
 Erling




-- 
Med vennlig hilsen
Erling Wegger Linde

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]