You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/01/26 00:00:43 UTC

DO NOT REPLY [Bug 30928] - [Patch] XMLDBSource should accept scheme://user:pass@host:port/path URIs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30928>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30928





------- Additional Comments From arno.venner@informatik.uni-ulm.de  2005-01-26 00:00 -------
(In reply to comment #0)
> It should be possible to have the following in the sitemap:
> 
> <map:generate
> src="xmldb:db://{session-attr:user}:{session-attr:pass}@host:port/db/etc.xml" />

I got trouble to connect to xindice under THIS procedure on a winXP machine,
but I think, that this is a machine independent unavailable feature / problem.

Create this problem:
--------------------
- install tomcat
- dropped xindice-1.1b4.war into tomcats webapps directory
- xindice is available as webapp (ugly debug tool)
- prepare for commandline tool
- access to local database through commandline not possible via:
  xindice ... -c xmldb:xindice://localhost:%myPort%/db/ ...

reason:
-------
directory mapping not sufficient

solution:
---------
connection works when xindice is located at
%CATALINA_HOME%/webapps/xindice

Well ... you maybe can maybe fix this by adding a mapping to 
xindice's webapp config, but that's not the way it SHOULD behave.

Xindice should use an port to comunicate with console-client so that
connection allways succeds, when a correct machine and port ist given.
Port obviously will be not the one on which tomcat can be accessed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.