[GUMP@brutus]: jakarta-slide/jakarta-slide failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact folk at [EMAIL PROTECTED] Project jakarta-slide has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 3 runs. Project State : 'Failed', Reason 'Build Failed' The following are affected: - jakarta-slide : Content Management System based on WebDAV technology Full details are available at: http://brutus.apache.org/gump/public/jakarta-slide/jakarta-slide/index.html That said, some snippets follow: The following annotations were provided: -WARNING- Unnamed property for [jakarta-slide] in depend on: jakarta-lucene -WARNING- Unnamed property for [jakarta-slide] in depend on: jaxen -DEBUG- Dependency on xml-xerces exists, no need to add for property xmlparser.jar. -DEBUG- Dependency on antlr exists, no need to add for property antlr-tools.jar. -DEBUG- Dependency on dist-ant exists, no need to add for property ant.jar. -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar. -DEBUG- Dependency on jakarta-struts exists, no need to add for property struts.lib. -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for property jstl.jar. -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for property taglibs-standard.jar. -DEBUG- Dependency on jakarta-tomcat-4.0 exists, no need to add for property catalina.dist. -INFO- Enable verbose output, due to 3 previous error(s). -INFO- Failed with reason build failed -INFO- Enable debug output, due to build failure. The following work was performed: http://brutus.apache.org/gump/public/jakarta-slide/jakarta-slide/gump_work/build_jakarta-slide_jakarta-slide.html Work Name: build_jakarta-slide_jakarta-slide (Type: Build) State: Failed Elapsed: 6 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -verbose -Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djakarta-lucene=/usr/local/gump/public/workspace/jakarta-lucene/build/lucene-20040808.jar -Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar -Dantlr-tools.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar -Djaxp.jar=/usr/local/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar -Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar -Djstl.jar=/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar -Djunit.jar=/usr/local/gump/public/workspace/dist/junit/junit.jar -Dcommons-httpclient.jar=/usr/local/gump/public/workspace/commons-httpclient-20-branch/dist/commons-httpclient-2.0-20040808.jar -Dxmlparser.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar -Djmx.jar=/usr/local/gump/packages/jmx-1_2-ri/lib/jmxri.jar -Dstruts.lib=/usr/local/gump/public/workspace/jakarta-struts/dist/lib -Dantlr.jar=/usr/local/gump/packages/antlr-2.7.3/antlr.jar -Dversion=20040808 -Djaxen=/usr/local/gump/public/workspace/jaxen/target/jaxen-20040808.jar -Dxmlapi.jar=/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar -Dtaglibs-standard.jar=/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/standard.jar -Dlog4j.jar=/usr/local/gump/public/workspace/logging-log4j/log4j-20040808.jar -Djdom.jar=/usr/local/gump/public/workspace/jdom/build/jdom.jar -Djndi.jar=/usr/local/gump/packages/jndi1_2_1/lib/jndi.jar -Dcatalina.dist=/usr/local/gump/public/workspace/jakarta-tomcat-4.0/dist -Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-20040808.jar -Dant.jar=/usr/local/gump/public/workspace/ant/build/lib/ant.jar -Djta.jar=/usr/local/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar full-dist [Working Directory: /usr/local/gump/public/workspace/jakarta-slide] CLASSPATH : /usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-slide/build/classes:/usr/local/gump/public/workspace/jakarta-slide/webdavclient/build/clientlib/classes:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-20040808.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace
cvs commit: jakarta-slide/src/stores/org/apache/slide/store/txfile TxXMLFileDescriptorsStore.java
luetzkendorf2004/08/08 05:24:04 Modified:src/stores/org/apache/slide/store/txfile TxXMLFileDescriptorsStore.java Log: attempt to fix problems with files which differ only in case of letters Revision ChangesPath 1.18 +8 -3 jakarta-slide/src/stores/org/apache/slide/store/txfile/TxXMLFileDescriptorsStore.java Index: TxXMLFileDescriptorsStore.java === RCS file: /home/cvs/jakarta-slide/src/stores/org/apache/slide/store/txfile/TxXMLFileDescriptorsStore.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- TxXMLFileDescriptorsStore.java28 Jul 2004 09:33:56 - 1.17 +++ TxXMLFileDescriptorsStore.java8 Aug 2004 12:24:03 - 1.18 @@ -585,6 +585,11 @@ xfd = new XMLResourceDescriptor(uri, this, rm, null, characterEncoding); xfd.load(); } +if (!xfd.getUri().equals(uri.toString())) { + // this may happen with files systems that don't operate case sensitive + // e.g. requested uri /files/test.doc but found /files/TEST.DOC + throw new ObjectNotFoundException(uri); +} return xfd; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/webdavclient/ant/src/java/org/apache/webdav/ant/taskdefs WebdavTask.java
luetzkendorf2004/08/08 06:28:07 Modified:webdavclient/ant/src/java/org/apache/webdav/ant/taskdefs WebdavTask.java Log: replacment for usage of StringBuffer.indexOf to make the tasks JDK1.3 compatible Revision ChangesPath 1.4 +20 -8 jakarta-slide/webdavclient/ant/src/java/org/apache/webdav/ant/taskdefs/WebdavTask.java Index: WebdavTask.java === RCS file: /home/cvs/jakarta-slide/webdavclient/ant/src/java/org/apache/webdav/ant/taskdefs/WebdavTask.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- WebdavTask.java 28 Jul 2004 09:31:47 - 1.3 +++ WebdavTask.java 8 Aug 2004 13:28:07 - 1.4 @@ -95,11 +95,7 @@ try { this.url = new HttpURL(url); // remove double slashes in url like /DAV/files//document.txt - StringBuffer path = new StringBuffer(this.url.getPath()); - for(int pos = path.indexOf(//); pos != -1; pos = path.indexOf(//, pos+2)) { - path.replace(pos, pos+2, /); - } - this.url.setPath(path.toString()); + this.url.setPath(removeDoubleShashes(this.url.getPath())); } catch (URIException e) { throw new BuildException(Invalid uri!, e); } @@ -133,5 +129,21 @@ coll.setPath(url.getPath() + /); return coll; } + } + + static String removeDoubleShashes(String path) { + if (path.indexOf(//) == -1) return path; + + StringBuffer r = new StringBuffer(path.length()); + for(int i = 0, l = path.length(); i l; i++) { + if (path.charAt(i) == '/') { +if (!(i 0 path.charAt(i-1) == '/')) { + r.append('/'); +} + } else { +r.append(path.charAt(i)); + } + } + return r.toString(); } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30513] - Ant tasks not supported on JDK1.3
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=30513. 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=30513 Ant tasks not supported on JDK1.3 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments From [EMAIL PROTECTED] 2004-08-08 13:34 --- I fixed this, but I'm not sure that the whole client library is currently JDK1.3 complient. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bug report for Slide [2004/08/08]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 3922|New|Nor|2001-10-02|client acl href principal should be decoded | | 6618|New|Nor|2002-02-21|proppatch and rfc2518 | |10115|New|Nor|2002-06-21|WebDAV Exception when filename contains % | |10301|New|Min|2002-06-27|500 Error doing propfind with null namespace | |10869|New|Nor|2002-07-16|'run.bat' error in the client/bin subdirectory| |11430|New|Enh|2002-08-02|Mac OSx 'hide-dot-files' filter for WebDAV servlet| |11527|New|Nor|2002-08-07|Modify DIGEST support for IIS server | |11658|New|Maj|2002-08-13|Locking a non-existing resource | |12042|New|Maj|2002-08-26|NodeRevisionContent stream not reuseable | |12992|New|Nor|2002-09-25|JNDI Wrapper cannot handle workspaces | |12995|New|Nor|2002-09-25|SlideServerListener omits DAV parameters when init| |14298|New|Maj|2002-11-06|Tried to log into slide-admiin got this exception | |14836|New|Nor|2002-11-25|Run.sh Exits Unexpectedly | |16642|New|Nor|2003-01-31|Check for 207 (Multistatus) breaks webdavResource.| |18813|New|Min|2003-04-08|SAXException in XMLResponseMethodBase.parseXMLResp| |19411|New|Nor|2003-04-29|AccessDeniedException is thrown instead of ObjectN| |19419|New|Nor|2003-04-29|WebdavResource.java does not release connections | |19669|New|Nor|2003-05-05|setWebdavProperties cannot deal with relative HREF| |19791|New|Nor|2003-05-09|AccessDeniedException is thrown in structure.creat| |21158|New|Maj|2003-06-28|ContentImpl does not follow link to retrieve descr| |21598|New|Nor|2003-07-15|FileContentStore.retrieveRevisionContent() shouldn| |21604|New|Nor|2003-07-15|the subscription hyperlink for the slide-dev maili| |21850|New|Nor|2003-07-24|Nightly Builds Failing| |22409|New|Nor|2003-08-14|There is problem in Slide security system.| |22585|New|Nor|2003-08-20|WebdavResource listWebdavResources reports not exi| |23282|New|Nor|2003-09-19|testsuite/build.xml does not contain required jars| |23493|New|Nor|2003-09-29|Live properties are undefined for non-existent res| |23494|New|Nor|2003-09-29|Support for If-None-Match in PUT method missing | |23497|New|Nor|2003-09-29|GET, Cache-Control, and Microsoft | |24357|New|Nor|2003-11-03|PATCH: Fine granular access rights improvement. | |24491|New|Maj|2003-11-07|PATCH: Fixes problem in Oracle with properties lon| |24912|New|Maj|2003-11-22|Seeing only version 1.0 | |26059|New|Nor|2004-01-12|Interceptor not called, if slide not default-servl| |26085|New|Nor|2004-01-13|Patch for client build and readme | |26248|New|Nor|2004-01-19|Slide brakes on initialization when caching is tur| |27483|New|Enh|2004-03-05|Request for aclfindMethod() convenience method| |27485|New|Min|2004-03-05|Client.g STRING limitations | |27952|Opn|Enh|2004-03-25|No support for BIND, UNBIND and REBIND| |28132|New|Nor|2004-04-01|Error while using slide in weblogic, works fine in| |28139|New|Nor|2004-04-01|auto-create-user broken | |28140|Ass|Nor|2004-04-01|Problems when WebDAV servlet is not the default se| |28578|New|Nor|2004-04-25|deleting of the latest revision does not change th| |28625|New|Nor|2004-04-27|getMethod does not support files larger than 65535| |28787|Unc|Maj|2004-05-05|WebdavFile.isDirectory fails with exception when t| |28894|Opn|Blk|2004-05-11|OutOfMemoryError posting large file | |28919|New|Cri|2004-05-12|Incorrect encoding assumption | |28980|New|Cri|2004-05-14|WebdavResource List | |29081|New|Min|2004-05-19|WebdavResource.getIsHidden() is never true| |29146|New|Nor|2004-05-21|JDOM b10 has removed Element.addContent(Element) | |29150|New|Min|2004-05-21|Deadlock while initializing when using two jdbc st| |29176|New|Enh|2004-05-24|please upload of 2.0 release to ibiblio |
cvs commit: jakarta-slide/src/share/org/apache/slide/security NodePermission.java
masonjm 2004/08/08 15:15:20 Modified:src/share/org/apache/slide/security NodePermission.java Log: Fixed to use SubjectNode's new API. Revision ChangesPath 1.18 +5 -5 jakarta-slide/src/share/org/apache/slide/security/NodePermission.java Index: NodePermission.java === RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/security/NodePermission.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- NodePermission.java 5 Aug 2004 15:44:56 - 1.17 +++ NodePermission.java 8 Aug 2004 22:15:20 - 1.18 @@ -407,7 +407,7 @@ * @param subjectUri New subject Uri */ void setSubject(String subjectUri) { -this.subjectUri = SubjectNode.getSubjectUri(subjectUri); +this.subjectUri = SubjectNode.getSubjectNode(subjectUri).getUri(); } SubjectNode getSubjectNode() { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30527] New: - Client cannot subscribe to events with infinite depth
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=30527. 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=30527 Client cannot subscribe to events with infinite depth Summary: Client cannot subscribe to events with infinite depth Product: Slide Version: 2.1 Platform: All OS/Version: Other Status: NEW Severity: Blocker Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] NotificationListener.subscribe() requires an integer for the depth parameter. AbstractWebdavMethod expects one of 0, 1 or infinity for the depth header. It is impossible to pass infinity to the subscribe() method. Either subscribe() needs to special-case DepthSupport.DEPTH_INFINITY and convert it to infinity, or the signature of the method needs to be changed to accept a String. This is blocking cluster cache notifications. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30528] New: - NotificationListener.subscribe() needs a timeout.
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=30528. 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=30528 NotificationListener.subscribe() needs a timeout. Summary: NotificationListener.subscribe() needs a timeout. Product: Slide Version: 2.1 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] NotificationListener.subscribe() hangs if the server it's subscribing to isn't running. For instance if a server tries to subscribe to itself it hangs and never starts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30529] New: - NotificationListener.subscribe() fails silently
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=30529. 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=30529 NotificationListener.subscribe() fails silently Summary: NotificationListener.subscribe() fails silently Product: Slide Version: 2.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] NotificationListener.subscribe() gives no indication of failure to the caller. This is needed to retry failed subscriptions. Either an exception or a returned boolean would be nice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30530] New: - NotificationListener.subscribe() assumes udp when creating callback url
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=30530. 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=30530 NotificationListener.subscribe() assumes udp when creating callback url Summary: NotificationListener.subscribe() assumes udp when creating callback url Product: Slide Version: 2.1 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The protocol is always httpu:// regardless of the value of udp passed to the NotificationListener constructor. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib NotificationListener.java
masonjm 2004/08/08 21:53:25 Modified:webdavclient/clientlib/src/java/org/apache/webdav/lib NotificationListener.java Log: Added some documentation Revision ChangesPath 1.5 +21 -3 jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/NotificationListener.java Index: NotificationListener.java === RCS file: /home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/NotificationListener.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- NotificationListener.java 6 Aug 2004 14:24:57 - 1.4 +++ NotificationListener.java 9 Aug 2004 04:53:24 - 1.5 @@ -145,6 +145,24 @@ timer.schedule(poll, pollInterval, pollInterval); } +/** + * Registers a Subscriber with the remote server. + * + * @param method the notification type, determines for what events do you + * want do subscribe. one of Update, Update/newmember, + * Delete, Move. + * @param uri the resource for that you subscribe + * @param depth the depth of the collection tree that you want to observe + * @param lifetime the duration for that you want to observe (in seconds) + * @param notificationDelay the time the server waits before it sends a notify + * message to the host provided in the constructor + * (in seconds) + * @param listener the Subscriber that is called on incomming notifications + * @param credentials credentials for authentication on the server observed + * + * @see WebdavResource#subscribeMethod + * @see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_webdav_subscribe.asp + */ public void subscribe(String method, String uri, int depth, int lifetime, int notificationDelay, Subscriber listener, Credentials credentials) { SubscribeMethod subscribeMethod = new SubscribeMethod(repositoryDomain+uri); subscribeMethod.addRequestHeader(SubscribeMethod.H_NOTIFICATION_TYPE, method); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/lib ehcache-0.8.jar.license.txt
masonjm 2004/08/08 21:58:48 Added: lib ehcache-0.8.jar.license.txt Log: Added license file for ehcache. Revision ChangesPath 1.1 jakarta-slide/lib/ehcache-0.8.jar.license.txt Index: ehcache-0.8.jar.license.txt === /* * $Id: ehcache-0.8.jar.license.txt,v 1.1 2004/08/09 04:58:47 masonjm Exp $ * * * * The Apache Software License, Version 1.1 * * Copyright (c) 2003 - 2004 Greg Luck. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowlegement: * This product includes software developed by Greg Luck * (http://sourceforge.net/users/gregluck) and contributors. * See http://sourceforge.net/project/memberlist.php?group_id=93232 * for a list of contributors *Alternately, this acknowledgement may appear in the software itself, *if and wherever such third-party acknowlegements normally appear. * * 4. The names EHCache must not be used to endorse or promote products *derived from this software without prior written permission. For written *permission, please contact Greg Luck (gregluck at users.sourceforge.net). * * 5. Products derived from this software may not be called EHCache *nor may EHCache appear in their names without prior written *permission of Greg Luck. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL GREG LUCK OR OTHER * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by contributors * individuals on behalf of the EHCache project. For more * information on EHCache, please see http://ehcache.sourceforge.net/. * */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide/src/share/org/apache/slide/cluster - New directory
masonjm 2004/08/08 21:59:02 jakarta-slide/src/share/org/apache/slide/cluster - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-slide build.xml
masonjm 2004/08/08 22:03:09 Modified:src/conf/webapp Domain.xml .build.xml Added: src/share/org/apache/slide/cluster ClusterCacheRefresher.java lib jakarta-slide-webdavlib-2.1b1.jar Log: (Semi)working cluster notification support. Revision ChangesPath 1.66 +17 -0 jakarta-slide/src/conf/webapp/Domain.xml Index: Domain.xml === RCS file: /home/cvs/jakarta-slide/src/conf/webapp/Domain.xml,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- Domain.xml5 Aug 2004 14:47:24 - 1.65 +++ Domain.xml9 Aug 2004 05:03:09 - 1.66 @@ -344,6 +344,23 @@ indexer classname=org.apache.slide.search.LoggingIndexer synchronous=false uri=/files/articles / /configuration /listener + + !-- Uncomment for cluster support. Be sure to local-host and repository-host -- + !-- + listener classname=org.apache.slide.cluster.ClusterCacheRefresher + configuration + node local-host=local.host.domain + local-port= + repository-host=remote.host.domain + repository-port=8080 + repository-protocol=http + username=root + password=root + base-uri=/files/ + / + /configuration + /listener + -- listener classname=org.apache.slide.macro.MacroPropertyUpdater !-- Listener that updates some properties if resources are 1.1 jakarta-slide/src/share/org/apache/slide/cluster/ClusterCacheRefresher.java Index: ClusterCacheRefresher.java === /* * Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package org.apache.slide.cluster; import java.util.Enumeration; import java.util.EventListener; import java.util.Iterator; import java.util.Map; import org.apache.commons.httpclient.Credentials; import org.apache.commons.httpclient.UsernamePasswordCredentials; import org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory; import org.apache.commons.httpclient.protocol.Protocol; import org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory; import org.apache.slide.authenticate.CredentialsToken; import org.apache.slide.common.Domain; import org.apache.slide.common.NamespaceAccessToken; import org.apache.slide.common.SlideToken; import org.apache.slide.common.SlideTokenImpl; import org.apache.slide.common.Uri; import org.apache.slide.store.ExtendedStore; import org.apache.slide.store.Store; import org.apache.slide.util.conf.Configurable; import org.apache.slide.util.conf.Configuration; import org.apache.slide.util.conf.ConfigurationException; import org.apache.slide.util.logger.Logger; import org.apache.webdav.lib.NotificationListener; import org.apache.webdav.lib.Subscriber; import org.apache.webdav.lib.methods.DepthSupport; /** * h3Description/h3 * p * When configured properly this class will register with one or more external * Slide instances and listen for changes. Upon notification of a change this * class will cause the cache of the local Slide instance to be refreshed for * the changed object. * /p * h3Usage/h3 * p * Add the following to your Domain.xml inside the lt;eventsgt; node. * /p * pre *lt;listener classname=org.apache.slide.cluster.ClusterCacheRefreshergt; *lt;configurationgt; *lt;node local-host=local.host.domain * local-port= * repository-host=remote.host.domain * repository-port=8080 * repository-protocol=http * username=root * password=root
Cluster support
Cluster support is *almost* finished, but there are still two big outstanding issues. 1) Bug 30527. Without this fixed clustering will be limited to one directory, and one directory only, please. 2) I need help getting the cache keys right in ExtendedStore. I've added a method removeObjectFromCache() which takes a key as a parameter. Right now I'm passing the Uri of the object, but most of the caches use the uri plus a revision number. Currently I know of no way to get the revision number of the modified uri from the remote Slide instance, so I need a way to guess when clearing the cache. I'm also not sure how this will play with history uris. Can someone with experience here help me out? Other than that I think everything is working. You'll need to enable a listener in your Domain.xml. The Domain.xml in CVS has an example that's commented out. The listener subscribes to the node(s) you've configured and waits for notifications that things have changed. When something has changed it tries to clear the cache for that uri. Another issue I've got is a good way to determine the namespace a uri is part of. In order to get a Store for a uri I need a NamespaceAccessToken, but I'm unclear on the relationship between a uri and a namespace (if any). If someone can explain this I would appreciate it. Currently the namespace is hardcoded to slide, which should work in most cases. -James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27952] - No support for BIND, UNBIND and REBIND
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=27952. 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=27952 No support for BIND, UNBIND and REBIND --- Additional Comments From [EMAIL PROTECTED] 2004-08-09 05:28 --- The latest code from CVS Head, does have the correct Bind/Unbind/Rebind methods, as well as support for them in WebdavResource (though not in commandline). For Ref: There was a 'cvs commit' mail from Ingo Brunberg dated 07/02/04. Robert Are you referring to a different branch? I am assuming that release 2.1 will be built from the main branch. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Patch for Bug# 30317
Davide, This patch does not seem to have been checked in CVS main line. I would really appreciate if you could check this in for 2.1. Regards, Ritu -Original Message- From: Ritu Kedia [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 6:04 PM To: 'Slide Developers Mailing List' Subject: RE: Patch for Bug# 30317 Thanks Davide for this patch. It worked. Would you be applying this patch to 2.1? Also a similar fix would be required for other RDBMS stores and File store. It would be great if the RDBMS store fix would be available in 2.1. Thanks again, Regards, Ritu -Original Message- From: Davide Savazzi [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 5:29 AM To: Slide Developers Mailing List Subject: Re: Patch for Bug# 30317 On Wednesday 28 July 2004 14:57, Ritu Kedia wrote: I did try the solution proposed by you i.e. count the bytes copied to Oracle Blob, but that did not return the correct length. I basically executed the select stmt of the storeContent method of the OracleRDBMSStore, after the copy method and then retrieved the blob and queried for blob.length(). No I mean count the bytes as they are written to Oracle in the copy(...) method in CommonRDBMSAdapter, so you don't have to write a tmp file. I think there's a problem in your patch when you use compression and contentLength is -1. ziputil.getContentLength() returns the _compressed_ file size, that is good for: statement.setBinaryStream(1, is, (int) contentLength); but bad for: revisionDescriptor.setContentLength(contentLength); I've attached patches for Oracle adapter and StoreContentZip, tell me if they works to you... Cheers, -- Davide Savazzi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]