Vic,
I'm not too familiar with tomcat. You need to compile the java file,
create a jar file, and then, I expect, copy the jar file to the xwiki
lib directory (I think you will find a xwiki directory under the tomcat
"webapps" directory - look under there for the xwiki lib dir). I
imagine that the class loader will then be able to find it. String2 has
some dependencies (see the "import" statements) - you'll need to make
sure that the dependencies are on your class path when you do the
compile.
I understand that the Oracle 10g JDBC driver behaves differently from
the 9i driver. If you are working in a 10g environment I would
recommend that you test without the String2 custom type before you go to
a lot of trouble with it. I think that some others have been able to
use the 10g JDBC driver without the custom type. Please also note that
version control on attachments doesn't work properly with my solution.
Also, be aware that my Oracle stuff is based on the version 0.9.840
XWiki software and schema. If you are using a later version you may
find that there have been schema changes. Someone else on the list may
be able to advise on whether there have been any schema changes since
0.9.840.
Regards, John
-----Original Message-----
From: v_orgos(a)yahoo.com.au [mailto:v_orgos@yahoo.com.au]
Sent: Thursday, 23 November 2006 10:58 AM
To: xwiki-users(a)objectweb.org
Subject: Re: RE: [xwiki-users] New XWiki installation with Oracle
John,
I am a complete newbie as far as java/tomcat is concerned and was
wondering what do you do with the string2.java file? Does it need to be
copied to a specific location?
in xwiki.hbm.xml you made a note saying
20.02.2006; JTurner; com.nobody.xwiki.String2 renamed to
com.nobody.hibType.String2. (String2 is now in xwiki-hibType.jar
- was previously in string2.jar).
I don't have this jar file.
Thanks
Vic