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 Steven Cummings <cu...@netscape.net> on 2002/06/11 22:35:20 UTC

Startup script bombs out silently

Hey all,

I've got a situation where the start-script craps out with no error message. I did check the mailing list archives, but I couldn't find a conclusive solution to my problem. I'd appreciate any help anyone could provide. And yes I am using a clean JDK 1.3.0 installation on RedHat 7.2. Thanks.

/S

The following session shows where it dies, just after the "Starting Xindice" message.

<console-session>
[steven@ideal steven]$ xml-xindice-1.0/start
Xindice Loader
==============

Environment
-----------
XINDICE_HOME =  /home/steven/xml-xindice-1.0
CLASSPATH =  /home/steven/xml-xindice-1.0/java/lib/xmldb.jar:/home/steven/xml-xindice-1.0/java/lib/xmldb-xupdate.jar:/home/steven/xml-xindice-1.0/java/lib/xmldb-sdk.jar:/home/steven/xml-xindice-1.0/java/lib/xml-apis-1.0.jar:/home/steven/xml-xindice-1.0/java/lib/xindice.jar:/home/steven/xml-xindice-1.0/java/lib/xerces-1.4.3.jar:/home/steven/xml-xindice-1.0/java/lib/xalan-2.0.1.jar:/home/steven/xml-xindice-1.0/java/lib/openorb_tools-1.2.0.jar:/home/steven/xml-xindice-1.0/java/lib/openorb-1.2.0.jar:/home/steven/xml-xindice-1.0/java/lib/infozone-tools.jar:/home/steven/xml-xindice-1.0/java/lib/examples.jar:/home/steven/xml-xindice-1.0/java/lib/ant-1.4.1.jar:/home/steven/xml-xindice-1.0/classgen:/home/steven/xml-xindice-1.0/config:/usr/java/jdk1.3/jre/lib/rt.jar:/usr/java/jdk1.3/jre/lib/i18n.jar:/usr/java/jdk1.3/jre/lib/sunrsasign.jar:/usr/java/jdk1.3/lib/dt.jar:/usr/java/jdk1.3/lib/tools.jar

Starting Xindice
----------------
[steven@ideal steven]$
</console-session>

-- 
Steven Cummings <cu...@netscape.net>
Columbia, MO



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


[Newbie-RT] Enforcing document structure within collections

Posted by Tony Collen <tc...@hist.umn.edu>.
Hi all-

I haven't been able to find anything on the web or on the mailing list 
archives, so here goes:

I've been thinking about some cool uses for Xindice, and I was wondering 
how one would go about enforcing a DTD for data inserted into Xindice. 
 What if one could associate a DTD with a given collection? Xindice 
could then allow or deny documents to be inserted into the collection if 
it fails validation against that DTD.  Likewise, you could also trigger 
errors when an XUpdate query is made that would violate the DTD that is 
associated with the collection.

There are a few questions that this raises (along with ones I probably 
haven't thought of):

- Is this worth it?
- Is there a lot of overhead associated with validating a document upon 
insert/modify?
- What happens if a collection does not have an associated DTD, but a 
parent collection does?  Should that child collection enforce it's 
parent DTD if there is not one associated with it?
- What happens when a child collection has a DTD, and then it's parent 
has a different DTD associated with it?  Would the child's one "merge" 
with the parent's, or would it totally override it?

Perhaps associating a DTD with a collection, and enforcing documents to 
validate against it is not the best way of handling this idea.  What 
happens when a document internally references a DTD, and it is then 
inserted into a collection with a DTD attached to it?

So there's my RT.. I'm no expert in XML or Xindice (yet ;) ), so any 
ideas or thoughts or other mentorism are much appreciated :)


Tony


Re: Startup script bombs out silently

Posted by Stijn Van Vreckem <st...@pandora.be>.
Steven ,

Maybe this will help.

If there is a xindice.pid file in your $XINDICE_HOME/config directory ?
You should remove it before startup.

Stijn

 
On Tue, 11 Jun 2002, Steven Cummings wrote:

> Hey all,
> 
> I've got a situation where the start-script craps out with no error message. I did check the mailing list archives, but I couldn't find a conclusive solution to my problem. I'd appreciate any help anyone could provide. And yes I am using a clean JDK 1.3.0 installation on RedHat 7.2. Thanks.
> 
> /S
> 
> The following session shows where it dies, just after the "Starting Xindice" message.
> 
> <console-session>
> [steven@ideal steven]$ xml-xindice-1.0/start
> Xindice Loader
> ==============
> 
> Environment
> -----------
> XINDICE_HOME =  /home/steven/xml-xindice-1.0
> CLASSPATH =  /home/steven/xml-xindice-1.0/java/lib/xmldb.jar:/home/steven/xml-xindice-1.0/java/lib/xmldb-xupdate.jar:/home/steven/xml-xindice-1.0/java/lib/xmldb-sdk.jar:/home/steven/xml-xindice-1.0/java/lib/xml-apis-1.0.jar:/home/steven/xml-xindice-1.0/java/lib/xindice.jar:/home/steven/xml-xindice-1.0/java/lib/xerces-1.4.3.jar:/home/steven/xml-xindice-1.0/java/lib/xalan-2.0.1.jar:/home/steven/xml-xindice-1.0/java/lib/openorb_tools-1.2.0.jar:/home/steven/xml-xindice-1.0/java/lib/openorb-1.2.0.jar:/home/steven/xml-xindice-1.0/java/lib/infozone-tools.jar:/home/steven/xml-xindice-1.0/java/lib/examples.jar:/home/steven/xml-xindice-1.0/java/lib/ant-1.4.1.jar:/home/steven/xml-xindice-1.0/classgen:/home/steven/xml-xindice-1.0/config:/usr/java/jdk1.3/jre/lib/rt.jar:/usr/java/jdk1.3/jre/lib/i18n.jar:/usr/java/jdk1.3/jre/lib/sunrsasign.jar:/usr/java/jdk1.3/lib/dt.jar:/usr/java/jdk1.3/lib/tools.jar
> 
> Starting Xindice
> ----------------
> [steven@ideal steven]$
> </console-session>
> 
> 

-- 

Stijn Van Vreckem