hi xindicees,

first of all my system:
win xp
j2ee sdk 1.4.2
cocoon-2.1.4
xml-xindice-1.0
ant-1.6.1
jakarta-tomcat-5.0.19


i tried to install xindice v1.0 on my
computer the last two days. i followed
the installation instructions in the INSTALL.windows
file. here an online version:

http://web.dadanini.com:7980/archiv/Server/database/xindice/zip/INSTALL_wind
ows.htm .

but now i cling to the 7th instruction which is
excuting the "startup.bat" file in the command prompt.
and there java is throwing the java.lang.ExceptionInInitializerError
and i have no idea why! here is the complete
reaction:


----------------------------------
D:\server\xml-xindice-1.0>startup
java -classpath ".;
    E:\Program Files\Common Files\Software AG\xts.jar;
    D:\server\xml-xindice-1.0\java\lib\Xindice.jar;
    E:\Program Files\Common Files\Software AG\sagxds.jar;
    E:\Program Files\Common Files\Software AG\saglic.jar;
    E:\Program Files\Common Files\Software AG\sagxds.jar;
    D:\server\ant-1.6.1\lib;
    D:\server\xml-xindice-1.0\java\lib\xindice.jar;
    D:\server\ant-1.6.1\config;
    D:\server\xml-xindice-1.0\java\lib\ant-1.4.1.jar;
    D:\server\xml-xindice-1.0\java\lib\examples.jar;
    D:\server\xml-xindice-1.0\java\lib\infozone-tools.jar;
    D:\server\xml-xindice-1.0\java\lib\openorb-1.2.0.jar;
    D:\server\xml-xindice-1.0\java\lib\openorb_tools-1.2.0.jar;
    D:\server\xml-xindice-1.0\java\lib\xalan-2.0.1.jar;
    D:\server\xml-xindice-1.0\java\lib\xerces-1.4.3.jar;
    D:\server\xml-xindice-1.0\java\lib\xindice.jar;
    D:\server\xml-xindice-1.0\java\lib\xml-apis-1.0.jar;
    D:\server\xml-xindice-1.0\java\lib\xmldb-sdk.jar;
    D:\server\xml-xindice-1.0\java\lib\xmldb-xupdate.jar;
    D:\server\xml-xindice-1.0\java\lib\xmldb.jar"
    -noverify org.apache.xindice.core.server.Xindice
    D:\server\xml-xindice-1.0\config\system.xml

Xindice 1.0 (Birthday)

Database: 'db' initializing
Script: 'GET' added to script storage
Service: 'db' started
Service: 'HTTPServer' started @ http://SIGI:4080/
Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
org.openorb.iiop.CodeSetDatabase.<clinit>(CodeSetDatabase.java:77)
        at
org.openorb.iiop.IIOPProtocolInitializer.init(IIOPProtocolInitializer
.java:118)
        at
org.openorb.PI.OpenORBInitInfo.post_init(OpenORBInitInfo.java:166)
        at
org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLoader.java:152)
        at org.openorb.CORBA.ORB.set_parameters(ORB.java:646)
        at org.omg.CORBA.ORB.init(ORB.java:337)
        at
org.apache.xindice.server.services.APIService.start(APIService.java:1
87)
        at
org.apache.xindice.server.standard.StdServiceManager.startServices(St
dServiceManager.java:131)
        at org.apache.xindice.server.Kernel.startServices(Kernel.java:464)
        at org.apache.xindice.server.Kernel.<init>(Kernel.java:158)
        at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
        at org.apache.xindice.server.Xindice.main(Xindice.java:96)
Caused by: java.lang.IllegalArgumentException: Illegal replacement
        at
java.nio.charset.CharsetEncoder.replaceWith(CharsetEncoder.java:262)
        at java.nio.charset.CharsetEncoder.<init>(CharsetEncoder.java:180)
        at java.nio.charset.CharsetEncoder.<init>(CharsetEncoder.java:203)
        at
sun.nio.cs.ext.DoubleByteEncoder.<init>(DoubleByteEncoder.java:31)
        at sun.nio.cs.ext.JIS_X_0208$Encoder.<init>(JIS_X_0208.java:74)
        at sun.nio.cs.ext.JIS_X_0208.newEncoder(JIS_X_0208.java:35)
        at sun.nio.cs.StreamEncoder$CharsetSE.<init>(StreamEncoder.java:290)
        at sun.nio.cs.StreamEncoder$CharsetSE.<init>(StreamEncoder.java:274)
        at
sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:69)

        at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:82)
        at
org.openorb.iiop.CodeSetDatabase.canonicalize(CodeSetDatabase.java:13
2)
        at
org.openorb.iiop.CodeSetDatabase.addEntry(CodeSetDatabase.java:95)
        at
org.openorb.iiop.CodeSetDatabaseInit.<clinit>(CodeSetDatabaseInit.jav
a:74)
        ... 14 more



... still here? thanks!
i have checked my environment variables and they seam
to be ok. but look for your self:



------------------------------
D:\server\xml-xindice-1.0>set
ANT_HOME=D:\server\ant-1.6.1
CATALINA_HOME=D:\server\jakarta-tomcat-5.0.19
CLASSPATH=.;
    E:\Program Files\Common Files\Software AG\xts.jar;
    D:\server\xml-xindice-1.0\java\lib\Xindice.jar;
    E:\Program Files\Common Files\Software AG\sagxds.jar;
    E:\Program Files\Common Files\Software AG\saglic.jar;
    E:\Program Files\Common Files\Software AG\sagxds.jar;
    D:\server\ant-1.6.1\lib;
    D:\server\xml-xindice-1.0\java\lib\xindice.jar
COCOON_HOME=D:\server\cocoon-2.1.4-src\cocoon-2.1.4
JAVA_HOME=E:\Program Files\Sun\AppServer\jdk
LOCALCLASSPATH=.;
    E:\Program Files\Common Files\Software AG\xts.jar;
    D:\server\xml-xindice-1.0\java\lib\Xindice.jar;
    E:\Program Files\Common Files\Software AG\sagxds.jar;
    E:\Program Files\Common Files\Software AG\saglic.jar;
    E:\Program Files\Common Files\Software AG\sagxds.jar;
    D:\server\ant-1.6.1\lib;
    D:\server\xml-xindice-1.0\java\lib\xindice.jar;
    D:\server\ant-1.6.1\config;
    D:\server\xml-xindice-1.0\java\lib\ant-1.4.1.jar;
    D:\server\xml-xindice-1.0\java\lib\examples.jar;
    D:\server\xml-xindice-1.0\java\lib\infozone-tools.jar;
    D:\server\xml-xindice-1.0\java\lib\openorb-1.2.0.jar;
    D:\server\xml-xindice-1.0\java\lib\openorb_tools-1.2.0.jar;
    D:\server\xml-xindice-1.0\java\lib\xalan-2.0.1.jar;
    D:\server\xml-xindice-1.0\java\lib\xerces-1.4.3.jar;
    D:\server\xml-xindice-1.0\java\lib\xindice.jar;
    D:\server\xml-xindice-1.0\java\lib\xml-apis-1.0.jar;
    D:\server\xml-xindice-1.0\java\lib\xmldb-sdk.jar;
    D:\server\xml-xindice-1.0\java\lib\xmldb-xupdate.jar;
    D:\server\xml-xindice-1.0\java\lib\xmldb.jar
Path=.;
    E:\Program Files\Common Files\Software AG;
    E:\WINDOWS;
    E:\WINDOWS\system32;
    E:\WINDOWS\System32\Wbem;
    E:\Program Files\texmf\miktex\bin;
    E:\Program Files\Symantec\Norton Ghost 2003;
    E:\Program Files\Sun\AppServer\jdk\bin;
    D:\server\xml-xindice-1.0\bin;
    D:\server\ant-1.6.1\bin;
    E:\Program Files\Sun\AppServer\bin;
    n                                     <--- no clue where this comes from
XINDICE_HOME=D:\server\xml-xindice-1.0



so do you have an idea?
how can i get this lovely machine to its god given work?



thanks for helping

sebastian mohr






Reply via email to