cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20723] - incorrect resolving of xmldb: (others?) pseudo-protocol URI
Date Sun, 15 Jun 2003 16:47:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20723>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20723

incorrect resolving of xmldb: (others?) pseudo-protocol URI





------- Additional Comments From bruno@outerthought.org  2003-06-15 16:47 -------
I think the cause of this problem is that you're missing xindice/xmldb classes
in your classpath. This will in return cause an exception when trying to look up
the xmldb protocol handler, from which the sourceresolver will (rather wrongly
if you ask me) derive that it couldn't find a handler for the xmldb protocol,
and fall back to the default handler (the URLSourceFactory). When that one fails
to create an URL, it will finally conclude that it must be a file, and it is the
FileSource that will create the funny
"xmldb:/C:/Development/cocoon-2.1-cvs-120603/cocoon-
2.1/xindice:/localhost:4080/db/realty/users" string from it.

So to conclude: check that you have the required xindice/xmldb classes in your
classpath (usually WEB-INF/lib directory).

If this was indeed the cause of this problem, please mark this bug as invalid
and close it.

Mime
View raw message