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 Sebastian Ssmoller <se...@web.de> on 2002/02/08 13:07:40 UTC

XIndice as Servlet

Hi,
is there a possibility to run the whole xindice as servlet in tomcat engine? the idea is to host a wepapp using tomcat and xindice but all providers i found only let me install some servlets to their server. so an own java process seems to be impossible.
when i could convince xindice to run as servlet my problems would be solved.

thanx
seb

Re: Xindice Remote access

Posted by Kimbro Staken <ks...@dbxmlgroup.com>.
Yes it does work. Here's what you need to do. Find a utility that will 
print out the contents of an IOR. JacORB has one so you can download that 
to get it. In JacORB, I think the program is org.jacorb.orb.util.PrintIOR.
  Use that utility to print out the contents of the file docs/db_bootstrap.
ior. Look at the host that is getting written to the IOR. If the name that 
is written there is not resolvable from the remote machine then you won't 
be able to connect.

I just tested this on my home network and had exactly this problem. This 
is just one of the many really terrible features of CORBA  and one of  the 
many reasons that the first version of Xindice after 1.0 will no longer 
use CORBA at all.

To resolve it I just made sure the name resolved and then I was able to 
connect fine.

On Friday, February 8, 2002, at 05:31 AM, ramesh wrote:

>
> Hai,
>
> 	Please tell me wether dbxml will works remotely.  I tried with three
> versions. but i cant getting to communicate remotely.  versions b2, 
> xinidice
> cvs version is able to connect with localhost uri. but with remote system
> uri it is not working. i tried for many days in different situation. But
> failed every time. Please tell me is xinidice or dbxml can work remotely(
> in
> different systems.
>
> Thanks.
> Ramesh
>
> -----Original Message-----
> From: Kimbro Staken [mailto:kstaken@dbxmlgroup.com]
> Sent: Friday, February 08, 2002 5:53 PM
> To: xindice-users@xml.apache.org
> Subject: Re: XIndice as Servlet
>
>
> There isn't anything ready made to do this, but it certainly is possible.
> In fact in the future that's probably the way we'll run all the time. Take
> a look at org.apache.xindice.server.Xindice.java to see how the server
> bootstraps.
>
> On Friday, February 8, 2002, at 05:07 AM, Sebastian Ssmoller wrote:
>
>> Hi,
>> is there a possibility to run the whole xindice as servlet in tomcat
>> engine? the idea is to host a wepapp using tomcat and xindice but all
>> providers i found only let me install some servlets to their server. so
>> an own java process seems to be impossible.
>> when i could convince xindice to run as servlet my problems would be
>> solved.
>>  
>> thanx
>> seb
>>
Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/
>
>


Xindice Remote access

Posted by ramesh <ra...@pinnacleinfo-sys.com>.
Hai,

	Please tell me wether dbxml will works remotely.  I tried with three
versions. but i cant getting to communicate remotely.  versions b2, xinidice
cvs version is able to connect with localhost uri. but with remote system
uri it is not working. i tried for many days in different situation. But
failed every time. Please tell me is xinidice or dbxml can work remotely(in
different systems.

Thanks.
Ramesh

-----Original Message-----
From: Kimbro Staken [mailto:kstaken@dbxmlgroup.com]
Sent: Friday, February 08, 2002 5:53 PM
To: xindice-users@xml.apache.org
Subject: Re: XIndice as Servlet


There isn't anything ready made to do this, but it certainly is possible.
In fact in the future that's probably the way we'll run all the time. Take
a look at org.apache.xindice.server.Xindice.java to see how the server
bootstraps.

On Friday, February 8, 2002, at 05:07 AM, Sebastian Ssmoller wrote:

> Hi,
> is there a possibility to run the whole xindice as servlet in tomcat
> engine? the idea is to host a wepapp using tomcat and xindice but all
> providers i found only let me install some servlets to their server. so
> an own java process seems to be impossible.
> when i could convince xindice to run as servlet my problems would be
> solved.
>  
> thanx
> seb
>
Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/


Re: XIndice as Servlet

Posted by Kimbro Staken <ks...@dbxmlgroup.com>.
There isn't anything ready made to do this, but it certainly is possible. 
In fact in the future that's probably the way we'll run all the time. Take 
a look at org.apache.xindice.server.Xindice.java to see how the server 
bootstraps.

On Friday, February 8, 2002, at 05:07 AM, Sebastian Ssmoller wrote:

> Hi,
> is there a possibility to run the whole xindice as servlet in tomcat 
> engine? the idea is to host a wepapp using tomcat and xindice but all 
> providers i found only let me install some servlets to their server. so 
> an own java process seems to be impossible.
> when i could convince xindice to run as servlet my problems would be 
> solved.
>  
> thanx
> seb
>
Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/