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 Brian Sands <br...@ittoolbox.com> on 2002/09/03 17:42:41 UTC

Startup Error Message

Hello, I am new to using Xindice.  I am running Linux w/ the java sdk 1.4 and having a problem running the server.  I get the error message below when I start.  I believe I followed the instructions as written, yet sometimes it says XINDICE_HOME not set.  Any ideas as to what I'm doing wrong?  This is my first experiece having to set the home variable when installing a program.  Any info, or a link to anything that would help would be highly appreciated.  In addition I installed the sdk minutes before installing Xindice.  I checked a archives but could not locate a similar problem.

Thank you




Environment 
----------- 
XINDICE_HOME =  . 
CLASSPATH =  ./java/lib/xmldb-xupdate.jar:./java/lib/xmldb-sdk.jar:./java/lib/xmldb.jar:./    java/lib/xml-apis-1.0.jar:./java/lib/xindice.jar:./java/lib/xerces-1.4.3.jar:./java/lib/xa    lan-2.0.1.jar:./java/lib/openorb_tools-1.2.0.jar:./java/lib/openorb-1.2.0.jar:./java/lib/i    nfozone-tools.jar:./java/lib/examples.jar:./java/lib/ant-1.4.1.jar:./classgen:./config: 

Starting Xindice 
---------------- 
./start: ./config/xindice.pid: No such file or directory 
./start: java: command not found 
rm: cannot remove `./config/xindice.pid': No such file or directory 
 
 


Thread usage in xmldb-apis

Posted by Mark Miller <mm...@moondance.com>.
I've noticed that threads are being created (in the tomcat process) for 
every access of Xindice via XMLDBSource in cocoon-2.0.2, and never 
going away. Eventually I start getting exceptions. I downloaded 
CocoBlog, and I have the same problem.

Anyone know what this is?

Thanks
Mark Miller
moondance


Re: Startup Error Message

Posted by Jacob Atzen / Interflow <ja...@interflow.dk>.
> Environment 
> ----------- 
> XINDICE_HOME =  . 
> CLASSPATH =  ./java/lib/xmldb-xupdate.jar:./java/lib/xmldb-sdk.jar:./java/lib/xmldb.jar:./    java/lib/xml-apis-1.0.jar:./java/lib/xindice.jar:./java/lib/xerces-1.4.3.jar:./java/lib/xa    lan-2.0.1.jar:./java/lib/openorb_tools-1.2.0.jar:./java/lib/openorb-1.2.0.jar:./java/lib/i    nfozone-tools.jar:./java/lib/examples.jar:./java/lib/ant-1.4.1.jar:./classgen:./config: 

AFAIK this is wrong. Try setting your paths to absolute paths instead
of relative -- something like

XINDICE_HOME = /usr/local/xindice
JAVA_HOME = /usr/local/java

Or wherever you installed the software. How to set these depends on the
shell you're using. If you're running bash you could put

export XINDICE_HOME=/usr/local/xindice

Into your ~/.bashrc og ~/.bash_profile

If you're using another shell look in the documentation.
-- 
Med venlig hilsen / kind regards

Jacob Atzen

Re: Startup Error Message

Posted by Terry Rosenbaum <Te...@amicas.com>.
Brian Sands wrote:

>Hello, I am new to using Xindice.  I am running Linux w/ the java sdk 1.4 and having a problem running the server.  I get the error message below when I start.  
>
...

>./start: java: command not found 

 

The above error message is a clue that the shell you are running
the ./start script with is unable to locate the JVM executable (i.e. 
"java").
Ensure that you have java installed, and that the path to the JVM executable
("java") is in the PATH of the shell you use.

-Terry

>
>Thank you
>
>
>
>
>Environment 
>----------- 
>XINDICE_HOME =  . 
>CLASSPATH =  ./java/lib/xmldb-xupdate.jar:./java/lib/xmldb-sdk.jar:./java/lib/xmldb.jar:./    java/lib/xml-apis-1.0.jar:./java/lib/xindice.jar:./java/lib/xerces-1.4.3.jar:./java/lib/xa    lan-2.0.1.jar:./java/lib/openorb_tools-1.2.0.jar:./java/lib/openorb-1.2.0.jar:./java/lib/i    nfozone-tools.jar:./java/lib/examples.jar:./java/lib/ant-1.4.1.jar:./classgen:./config: 
>
>Starting Xindice 
>---------------- 
>./start: ./config/xindice.pid: No such file or directory 
>./start: java: command not found 
>rm: cannot remove `./config/xindice.pid': No such file or directory 
> 
> 
>
>  
>