xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter de Vaal" <wouter_de_v...@hotmail.com>
Subject Re: have you ever encountered this?
Date Sat, 11 Sep 2004 14:01:53 GMT
It's not a question of which versions you use for jboss or tomcat, but rather what versions
of EJB and Servlets are
used to develop the application you are talking about. Most of the time you can just go to
higher versions of tomcat and jboss without any impact. 
Unless the code used some proprietary features for tomcat 3 or jboss 2 of course (in which
case the design is very questionable).

Wouter

----- Original Message ----- 
  From: Thomas 
  To: xindice-users@xml.apache.org 
  Sent: Saturday, September 11, 2004 3:57 PM
  Subject: Re: have you ever encountered this?


  Two reasons: 
  first: xindice 1.0 is the only version declared as stable release and my tutor for my master
thesis recomended to use the stable release
  second: My master thesis is a persistency migration from file system to xml db. the application
itself was developped some time ago using jboss in a 2.x version and tomcat in a 3.x Version.
xindice 1.1 requires tomcat at least in 4.x version, so there is an additional migration to
undertake. Furthermore my tutor wrote me, that also Jboss is used in a 2.x version and it
might be possible, that the sole migration of tomcat may not be enough and it may be necessary
to migrate to jboss 3.x , that has tomcat in a 5.x version included. I´m quite new to the
application and have no idea how much additional work the migration will be.

  Since my first post, i tried to install xindice 1.0 and java 1.4.0 on the computer of my
neighbor, also an win2k machine and i got exactly the same result. Eighter I made the same
mistake twice, or there may be a problem with xindice.

  kind regards
  Thomas

  Vadim Gritsenko wrote:

    Thomas wrote: 


      I just wanted to install xindice 1.0 as described in install.windows 


    Why don't you try 1.1? 

    Vadim 



      Hi,
       
      I just wanted to install xindice 1.0 as described in install.windows
      I get the server running, but can not add any collection or do anything with xindice
and xindiceadmin.
      I am using win2k.
      here are the details, the output from my cmd windows:


        C:\>cd xindice

        C:\Xindice>startup
        java -classpath ".;C:\Xindice\java\lib\xindice.jar;C:\j2sdk1.4.0\lib\tools.jar;C
        :\Xindice\java\lib\xmldb.jar;C:\Xindice\java\lib\openorb-1.2.0.jar;C:\Xindice\ja
        va\lib\xalan-2.0.1.jar;C:\Xindice\java\lib\xerces-1.4.3.jar;C:\Programme\ANT\con
        fig;C:\Xindice\java\lib\ant-1.4.1.jar;C:\Xindice\java\lib\examples.jar;C:\Xindic
        e\java\lib\infozone-tools.jar;C:\Xindice\java\lib\openorb-1.2.0.jar;C:\Xindice\j
        ava\lib\openorb_tools-1.2.0.jar;C:\Xindice\java\lib\xalan-2.0.1.jar;C:\Xindice\j
        ava\lib\xerces-1.4.3.jar;C:\Xindice\java\lib\xindice.jar;C:\Xindice\java\lib\xml
        -apis-1.0.jar;C:\Xindice\java\lib\xmldb-sdk.jar;C:\Xindice\java\lib\xmldb-xupdat
        e.jar;C:\Xindice\java\lib\xmldb.jar;C:\j2sdk1.4.0\lib\tools.jar" -noverify org.a
        pache.xindice.core.server.Xindice C:\Xindice\config\system.xml

        Xindice 1.0 (Birthday)

        Database: 'db' initializing
        Script: 'GET' added to script storage
        Service: 'db' started
        Service: 'HTTPServer' started @ http://w-i1ixxsw842tpl:4080/
        Service: 'APIService' started

        Server Running

      starting a new cmd window,  i do the following (to countercheck everything is ok):

        C:\>echo %path%
        C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\j2sdk1.4.0\bin
        ;C:\Programme\ANT\bin;C:\Xindice\bin

        C:\>echo %classpath%
        ;C:\Xindice\java\lib\xindice.jar;C:\j2sdk1.4.0\lib\tools.jar;C:\Xindice\java\li
        b\xmldb.jar;C:\Xindice\java\lib\openorb-1.2.0.jar;C:\Xindice\java\lib\xalan-2.0.
        1.jar;C:\Xindice\java\lib\xerces-1.4.3.jar

        C:\>cd xindice

        C:\Xindice>echo %XINDICE_HOME%
        C:\Xindice

        C:\Xindice>echo %JAVA_HOME%
        C:\j2sdk1.4.0

        C:\Xindice>xindiceadmin ac -c /db -n test -v
        ERROR :
        DEBUG>
        org.xmldb.api.base.XMLDBException:
                at org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:247)
                at org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:226)
                at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194)
                at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
                at org.apache.xindice.tools.command.AddCollection.execute(AddCollection.java:101)
                at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)
                at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)
                at org.apache.xindice.tools.XMLAdminTools.main(XMLAdminTools.java:89)
        C:\Xindice>

      anyone got any idea? 

      Thomas Holzweber




Mime
View raw message