You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by JC Tchitchiama <jc...@panonet.net> on 2003/07/16 15:59:32 UTC

Exception when createCollection

Greetings all,

I am hitting a heap of exceptions when trying to create a document. I wonder 
if anybody else has come accross then. The culprit in the example below is 
TextWriter.toString();

Thanks and Regards


     [java] Exception in thread "main" java.lang.ExceptionInInitializerError
     [java]     at 
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.createCollection(CollectionImpl.java:667)
     [java]     at 
org.apache.xindice.client.xmldb.services.CollectionManagementServiceImpl.createCollection(CollectionManagementServiceImpl.java:201)

     [java]     at java.util.Hashtable.get(Hashtable.java:329)
     [java]     at 
org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:502)
     [java]     at 
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:264)
     [java]     at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
     [java]     at 
org.apache.xindice.xml.TextWriter.<clinit>(TextWriter.java:81)
     [java]     ... 4 more

Env:
===
J2se 1.4.1_03
Xindice-1.1b

JC.
==================================================================
jct@panonet.net
=================================================================


Re: Exception when createCollection

Posted by JC Tchitchiama <jc...@panonet.net>.
Greetings All,

I will never learn from past mistake; basically the reason I was being 
tripped-over by xerces was because I had on my m/c old xerces-xxx.jar in 
under $JAVA_HOME/jre/lib/endorsed that being picked instead of jars in the 
xindice-1.1/libs.

All merry now !!! 


On Wednesday 16 Jul 2003 4:14 pm, Kevin Ross wrote:
> First things first, either get the source from cvs and do a build, or at
> least try:
>
> http://cvs.apache.org/dist/xindice/b2/
>
> Then check again.  It looks like you are running something with Ant?
>
> -Kevin Ross
>
> -----Original Message-----
> From: JC Tchitchiama [mailto:jct@panonet.net]
> Sent: Wednesday, July 16, 2003 8:00 AM
> To: xindice-users@xml.apache.org
> Subject: Exception when createCollection
>
> Greetings all,
>
> I am hitting a heap of exceptions when trying to create a document. I
> wonder
> if anybody else has come accross then. The culprit in the example below
> is
> TextWriter.toString();
>
> Thanks and Regards
>
>
>      [java] Exception in thread "main"
> java.lang.ExceptionInInitializerError
>      [java]     at
> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.createCollection(C
> ollectionImpl.java:667)
>      [java]     at
> org.apache.xindice.client.xmldb.services.CollectionManagementServiceImpl
> .createCollection(CollectionManagementServiceImpl.java:201)
>
>      [java]     at java.util.Hashtable.get(Hashtable.java:329)
>      [java]     at
> org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:5
> 02)
>      [java]     at
> org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:264)
>      [java]     at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
>      [java]     at
> org.apache.xindice.xml.TextWriter.<clinit>(TextWriter.java:81)
>      [java]     ... 4 more
>
> Env:
> ===
> J2se 1.4.1_03
> Xindice-1.1b

Best Regards.

JC.
==================================================================
jct@panonet.net
=================================================================


RE: Exception when createCollection

Posted by Kevin Ross <Ke...@iVerticalLeap.com>.
First things first, either get the source from cvs and do a build, or at
least try:

http://cvs.apache.org/dist/xindice/b2/

Then check again.  It looks like you are running something with Ant?

-Kevin Ross

-----Original Message-----
From: JC Tchitchiama [mailto:jct@panonet.net] 
Sent: Wednesday, July 16, 2003 8:00 AM
To: xindice-users@xml.apache.org
Subject: Exception when createCollection

Greetings all,

I am hitting a heap of exceptions when trying to create a document. I
wonder 
if anybody else has come accross then. The culprit in the example below
is 
TextWriter.toString();

Thanks and Regards


     [java] Exception in thread "main"
java.lang.ExceptionInInitializerError
     [java]     at 
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.createCollection(C
ollectionImpl.java:667)
     [java]     at 
org.apache.xindice.client.xmldb.services.CollectionManagementServiceImpl
.createCollection(CollectionManagementServiceImpl.java:201)

     [java]     at java.util.Hashtable.get(Hashtable.java:329)
     [java]     at 
org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:5
02)
     [java]     at 
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:264)
     [java]     at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
     [java]     at 
org.apache.xindice.xml.TextWriter.<clinit>(TextWriter.java:81)
     [java]     ... 4 more

Env:
===
J2se 1.4.1_03
Xindice-1.1b

JC.
==================================================================
jct@panonet.net
=================================================================