Urgent: Exception raised on Https Access
I got the WebdavException when I am trying to authenticate to the MS Exchange 2003 Server which is configured on Https with OWS. while accessing the following URL https://192.12.0.38/Exchnage, it should redirect to https://192.12.0.38/exchweb/bin/auth/owalogon.asp?url=https://192.12.0.38/Exchangereason=0 for further authentication. But it is not happening. Please Help me Here is the Exception Stack Trace Exception raised at processMailboxFolders org.apache.webdav.lib.WebdavException at org.apache.webdav.lib.WebdavFile.listFiles(WebdavFile.java:379) at org.apache.webdav.lib.WebdavFile.listFiles(WebdavFile.java:358) at wefTest.processMailboxFolders(wefTest.java:143) at wefTest.init(wefTest.java:112) at wefTest.main(wefTest.java:234) And here is the Sample Code import javax.xml.parsers.*; //PRITHVI import org.apache.webdav.lib.*; import java.net.*; import java.io.*; import org.apache.commons.httpclient.HttpClient; import org.apache.util.WebdavStatus; import org.apache.webdav.lib.methods.*; import org.apache.webdav.lib.properties.*; import org.apache.commons.httpclient.HttpsURL; import org.apache.webdav.lib.WebdavFile; public class wefTest { protected org.apache.commons.httpclient.HttpsURL url; protected org.apache.commons.httpclient.HttpsURL url99; protected org.apache.webdav.lib.WebdavResource wdfr; protected org.apache.webdav.lib.WebdavFile wdfile; //protected WebdavFile wdfile; protected String username; protected String password; protected String hostname; protected int port; protected String path; protected String mailbox; protected String targetPath; // Constructor public wefTest(String username, String password, String hostname, int port, String path, String targetPath) throws Exception { this.username=username; this.password=password; this.hostname=hostname; this.port=port; this.path=path; this.mailbox=null; this.targetPath=targetPath; java.io.File targetFolder= new java.io.File(targetPath); if (!targetFolder.exists()) { targetFolder.mkdir(); } java.util.Vector names=new java.util.Vector(); names.add(Administrator); System.setProperty(java.protocol.handler.pkgs,com.sun.net.ssl.internal.www.protocol); System.setProperty(javax.net.ssl.trustStore,comp38.jks); //System.setProperty(javax.net.ssl.trustStorePassword, irah); for(java.util.Enumeration enum=names.elements();enum.hasMoreElements();) { this.mailbox=(String)enum.nextElement(); // Initializing target parameters url = new org.apache.commons.httpclient.HttpsURL(username,password,hostname, port, path+/+mailbox); // Initializing webdave file object wdfile= new org.apache.webdav.lib.WebdavFile(url); processMailboxFolders(); } } protected void processMailboxFolders() throws Exception { System.out.println(Processing MailBox : +mailbox+ ... \n); java.io.File mailFolder= new java.io.File(targetPath+/+mailbox); if (!mailFolder.exists()) { mailFolder.mkdir(); } // Fetch all folder list try { java.io.File folders[] = wdfile.listFiles(); for (int i=0;ifolders.length;i++ ) { // process all objects present in this folder System.out.println(Processing Folder : +folders[i].getName()+ ... \n); //if(folders[i].getName().indexOf(Inbox)==-1) // continue; processFolder(folders[i].getName()); } } catch(Exception ee) // mailbox not created { System.out.println(Exception raised at processMailboxFolders ); ee.printStackTrace(); //throw ee; } } protected void processFolder(String folder) throws Exception { //System.out.println(\r\n\r\n-- Folder : +folder+--); System.err.println(username+ +password+ +hostname+ +port+ +path+/+mailbox+/+
Re: putting a file in repository for first time
Hi Ingo, I took a look at the link. My problem is I do not want to do put(url,file). I want to do put(url,data). Is it possible? Yes, where should be the difference? Or do I have to create an empty file first and then put content? Thanks, Rd. Ingo Brunberg [EMAIL PROTECTED] wrote: Have a look at this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=1701920 Hi, I am using wevdavresource class. When I want to first create the file say t2.txt in slide, how do I do it? When I try to use a Webdavresource constructor with non existing file, it returns null. so how can put method be called? Thanks, rd. - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! --0-884658690-1088773589=:771-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! --0-1594791330-1088999186=:69871-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to open word document in read-only mode using network place
Hi all, I am using slide 2.0 and separate binary version of tomcat 4.1.30 I have created a network place in my windows XP and I have uploaded One MS word document in the files folder. Now can anybody please tell me how I can open the same MS word document in the read-only mode in Word from the network place (please provide me steps if any configuration is required) Thanks Mihir Imaginations... its limits are only those of the mind itself - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBCStore with MySQL problem
Did you ever find a solution to this? I am running into the same problem with MySQL 4.1.3 beta and mysql-connector 3.1.2-alpha. Looks more like a bug in MySQL though. -- Unico Arnis Ziedins wrote: I am trying to run SLIDE 2.0 and MySQL with the following configuration: MySQL version: 4.1.2-alpha-debug Driver version: mysql-connector-java-3.0.14-production SQL script: http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-slide/src/conf/schema/M ySql-4.1-Schema.sql?rev=1.2 The database seems to be set-up and running normally (the tables are created and I can get a connection to db). Nevertheless I got the exception listed below. What setting have been used to test MySql-4.1-Schema.sql?rev=1.2? What could possibly be wrong? 14 Jun 2004 16:32:09 - org.apache.slide.common.Namespace - INFO - Registering Store tx (class org.apache.slide.store.ExtendedStore) with parameters {} on scope / 14 Jun 2004 16:32:09 - org.apache.slide.common.Namespace - INFO - Initialising Store tx(org.apache.slide.store.ExtendedStore) 14 Jun 2004 16:32:10 - org.apache.slide.common.Namespace - INFO - Loading namespace slide base data 14 Jun 2004 16:32:10 - org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter - ERROR - SQL error 1109 on /: Base table or view not found, message from server: Unknown table 'binding' in MULTI DELETE org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] access error : Base table or view not found, message from server: Unknown table 'binding' in MULTI DELETE at org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter.createException(MySqlRDB MSAdapter.java:60) at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.storeObject(StandardR DBMSAdapter.java:197) at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.createObject(Standard RDBMSAdapter.java:89) at org.apache.slide.store.impl.rdbms.AbstractRDBMSStore.createObject(AbstractRD BMSStore.java:476) at org.apache.slide.store.AbstractStore.createObject(AbstractStore.java:557) at org.apache.slide.store.ExtendedStore.createObject(ExtendedStore.java:436) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:752) The store configuration: definition store name=tx nodestore classname=org.apache.slide.store.impl.rdbms.JDBCStore parameter name=adapterorg.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter/paramete r parameter name=drivercom.mysql.jdbc.Driver/parameter parameter name=urljdbc:mysql://localhost:3306/slidestructure/parameter parameter name=userroot/parameter parameter name=passwordarnis/parameter parameter name=isolationSERIALIZABLE/parameter parameter name=compressfalse/parameter parameter name=dbcpPoolingtrue/parameter parameter name=maxPooledConnections10/parameter /nodestore securitystore reference store=nodestore/ /securitystore lockstore reference store=nodestore/ /lockstore revisiondescriptorsstore reference store=nodestore/ /revisiondescriptorsstore revisiondescriptorstore reference store=nodestore/ /revisiondescriptorstore contentstore reference store=nodestore/ /contentstore /store scope match=/ store=tx/ /definition --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.706 / Virus Database: 462 - Release Date: 14.06.2004 - 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]
RE: JDBCStore with MySQL problem
Most probably it is a problem with the Schema? I tried it only for testing purposes and have not continued to work on this issue. Arnis Ziedins -Original Message- From: Unico Hommes [mailto:[EMAIL PROTECTED] Sent: lundi, 5. juillet 2004 14:26 To: Slide Users Mailing List Subject: Re: JDBCStore with MySQL problem Did you ever find a solution to this? I am running into the same problem with MySQL 4.1.3 beta and mysql-connector 3.1.2-alpha. Looks more like a bug in MySQL though. -- Unico Arnis Ziedins wrote: I am trying to run SLIDE 2.0 and MySQL with the following configuration: MySQL version: 4.1.2-alpha-debug Driver version: mysql-connector-java-3.0.14-production SQL script: http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-slide/src/conf/schema/ M ySql-4.1-Schema.sql?rev=1.2 The database seems to be set-up and running normally (the tables are created and I can get a connection to db). Nevertheless I got the exception listed below. What setting have been used to test MySql-4.1-Schema.sql?rev=1.2? What could possibly be wrong? 14 Jun 2004 16:32:09 - org.apache.slide.common.Namespace - INFO - Registering Store tx (class org.apache.slide.store.ExtendedStore) with parameters {} on scope / 14 Jun 2004 16:32:09 - org.apache.slide.common.Namespace - INFO - Initialising Store tx(org.apache.slide.store.ExtendedStore) 14 Jun 2004 16:32:10 - org.apache.slide.common.Namespace - INFO - Loading namespace slide base data 14 Jun 2004 16:32:10 - org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter - ERROR - SQL error 1109 on /: Base table or view not found, message from server: Unknown table 'binding' in MULTI DELETE org.apache.slide.common.ServiceAccessException: Service [EMAIL PROTECTED] access error : Base table or view not found, message from server: Unknown table 'binding' in MULTI DELETE at org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter.createException(MySqlRD B MSAdapter.java:60) at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.storeObject(Standard R DBMSAdapter.java:197) at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.createObject(Standar d RDBMSAdapter.java:89) at org.apache.slide.store.impl.rdbms.AbstractRDBMSStore.createObject(AbstractR D BMSStore.java:476) at org.apache.slide.store.AbstractStore.createObject(AbstractStore.java:557) at org.apache.slide.store.ExtendedStore.createObject(ExtendedStore.java:436) at org.apache.slide.common.Namespace.loadBaseData(Namespace.java:752) The store configuration: definition store name=tx nodestore classname=org.apache.slide.store.impl.rdbms.JDBCStore parameter name=adapterorg.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter/paramet e r parameter name=drivercom.mysql.jdbc.Driver/parameter parameter name=urljdbc:mysql://localhost:3306/slidestructure/parameter parameter name=userroot/parameter parameter name=passwordarnis/parameter parameter name=isolationSERIALIZABLE/parameter parameter name=compressfalse/parameter parameter name=dbcpPoolingtrue/parameter parameter name=maxPooledConnections10/parameter /nodestore securitystore reference store=nodestore/ /securitystore lockstore reference store=nodestore/ /lockstore revisiondescriptorsstore reference store=nodestore/ /revisiondescriptorsstore revisiondescriptorstore reference store=nodestore/ /revisiondescriptorstore contentstore reference store=nodestore/ /contentstore /store scope match=/ store=tx/ /definition --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.706 / Virus Database: 462 - Release Date: 14.06.2004 - 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.713 / Virus Database: 469 - Release Date: 30.06.2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.713 / Virus Database: 469 - Release Date: 30.06.2004
Re: JDBCStore with MySQL problem
Arnis Ziedins wrote: Most probably it is a problem with the Schema? I tried it only for testing purposes and have not continued to work on this issue. You think so? The error description says it does not know a table named 'binding' yet when I inspect the database after creation that table most certainly does exist. So much for descriptive error messages. I tried using the script for 4.0 which I can succesfully execute but then get the same error when starting up Slide. I've tried an alternative name for the binding table (perhaps its a reserved word in 4.1) but that didn't help either. -- Unico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Search responses %20 character
Hi all, When I do a search request, all response who has a blank character on server, appear with %20 character PUT Method server log: 13:45:25,800 INFO [STDOUT] Thread-48, 05-jul-2004 13:45:25, nico, PUT, 201 Created, 344 ms, /archivos/Destinos/home/nico/To the base provided by HTTP and WebDAV.doc my Search method log: setClient(); SearchMethod sm = new SearchMethod(httpURL.getEscapedPath(), consultaXML); super.client.executeMethod(sm); Enumeration responsesUrls = sm.getAllResponseURLs(); return: /slide/archivos/Destinos/home/nico/To%20the%20base%20provided%20by%20HTTP%20 and%20WebDAV.doc XML query: D:searchRequest xmlns:D=DAV: D:basicSearch D:select D:allprop / /D:select D:from D:scope D:href/slide/archivos/Destinos/home/nico/D:href D:depthinfinity/D:depth /D:scope /D:from /D:basicSearch /D:searchRequest Is it posible to fix that ? or may be it is OK I have problems with encodings, I need to use ISO-8859-1 for characters like: á é í ó ú ñ # URL Encoding # Default: platform default encoding=ISO-8859-1 This is server log when I put Integración de Slide a Jboss.doc file. 14:01:16,466 INFO [STDOUT] 05 Jul 2004 14:01:16 - org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - INFO - /archivos/Destinos/home/nico/Integraci�n de Slide a Jboss.doc1.0 14:01:16,512 INFO [STDOUT] 05 Jul 2004 14:01:16 - org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - INFO - /archivos/Destinos/home/nico/Integraci�n de Slide a Jboss.doc1.0 14:01:16,528 INFO [STDOUT] Thread-7, 05-jul-2004 14:01:16, nico, PUT, 201 Created, 281 ms, /archivos/Destinos/home/nico/Integraci�n de Slide a Jboss.doc In table URI ( Postgres DB ): /archivos/Destinos/home/nico/Integraci�n de Slide a Jboss.doc Any Help would be appreciated !!! thanks, Juan Andrés. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to make file read-only
Hi, I am again putting the same question in different way In the slide repository say a doc file is saved. Now I want to open that doc file in MS word in the read-only mode (through n/w place). If anybody knows please let me know the answer or any configuration that is required for the same Thanks Mihir Sr. Software Engineer SBU: eBiz, Gandhinagar Imaginations... its limits are only those of the mind itself - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to make file read-only
If you set an acl that denies the write permission to all, that will make the file read only. deny write on /slide/path/to/file.doc to all If anyone needs write access to the file, be sure to grant them the write permission before denying it to all -James [EMAIL PROTECTED] 07/05/04 9:35 PM Hi, I am again putting the same question in different way. In the slide repository say a doc file is saved. Now I want to open that doc file in MS word in the read-only mode (through n/w place). If anybody knows please let me know the answer or any configuration that is required for the same. Thanks Mihir Sr. Software Engineer SBU: eBiz, Gandhinagar Imaginations... its limits are only those of the mind itself - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]