[jira] [Commented] (CONNECTORS-336) If there's a Japanese localization, we should also have some Japanese documentation

2011-12-26 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176025#comment-13176025
 ] 

Karl Wright commented on CONNECTORS-336:


I can perhaps email you directly with materials needed to build each of the 
proprietary connectors, but I cannot broadly distribute them because of 
licensing reasons.

However, I'd suggest having a look at some missing i18n/localization work 
before getting screen shots.  I'm compiling a list of what seems missing and 
will include it in CONNECTORS-335 when I'm done.


 If there's a Japanese localization, we should also have some Japanese 
 documentation
 ---

 Key: CONNECTORS-336
 URL: https://issues.apache.org/jira/browse/CONNECTORS-336
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Documentation
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We should provide some Japanese documentation if we have a Japanese 
 localization.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-26 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176027#comment-13176027
 ] 

Karl Wright commented on CONNECTORS-335:


While working on this code, I've noticed that there are quite a number of 
connectors/authorities whose internationalization is incomplete.  In some cases 
the connector seems to have been completely overlooked.  For example:

- The CMIS authority connector
- The Documentum authority connector
- The Meridio authority connector

In other cases it looks like the tabs only were internationalized.  For 
instance:

- The Meridio Connector
- The FileNet Connector

I think we'd be well served by going through each connector a second time to 
insure completeness before going further.  This should not block commit of the 
work done so far, but probably it will block screen shots from being made for 
CONNECTORS-336.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-26 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176028#comment-13176028
 ] 

Karl Wright commented on CONNECTORS-335:


The only outstanding problem now that blocks this branch from being merged is 
the Maven build is broken, because it does not contain the proper native2ascii 
conversion for the properties files.  I've asked Piergiorgio for help on this 
and we'll see if he has any luck getting the appropriate Maven plugin working.



 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-26 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13176030#comment-13176030
 ] 

Karl Wright commented on CONNECTORS-314:


Hi Hitoshi,

I apologize - I was away for the last couple of days, and could not respond 
immediately to your questions.

I'd like to work with you to finish the i18n and Japanese l10n work as soon as 
possible.  The outstanding issues, as far as I see it, are the following:

- The i18n work is not complete for all connectors.  This, I think, can be 
addressed over time; there's no need for it to be all complete right way.  But 
we should definitely work to complete it.  I think the best approach would be 
to first commit the infrastructure changes (as contained in 
branches/CONNECTORS-335), and then work on individual tickets for completion of 
individual connectors and authorities.
- There's some question in my mind as to whether it is best to just use 
language or use the full locale for localization.  For example, ja_JP and 
en_US vs. ja and en.  It would be good to hear your opinion as to which 
would be the most appropriate for ManifoldCF.  Right now I'm using the full 
locale, but we should switch over to just language if you think that that is 
appropriate.

Comments?


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-20111225.patch, 
 CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-23 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175343#comment-13175343
 ] 

Karl Wright commented on CONNECTORS-335:


r1222613 for armoring the i18n message provider so that it doesn't care what 
context it is called in, it will send messages to an appropriate place.  Also 
stop it from overgenerating error messages, so people without a translation can 
still function.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-23 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175347#comment-13175347
 ] 

Karl Wright commented on CONNECTORS-314:


bq. I've not looked into build.xml, but if .properties.utf8 is source file of 
.properties (and I expect so), .properties files shouldn't be registered in svn.

Koji - that is what I concluded.  I've corrected the problem in 
branches/CONNECTORS-335.

 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
 CONNECTORS-314.patch, connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-23 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175427#comment-13175427
 ] 

Karl Wright commented on CONNECTORS-335:


r1222678 pretty much finishes up the split of resources into individual 
connectors, and fixes a bunch of bugs too.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-23 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175459#comment-13175459
 ] 

Karl Wright commented on CONNECTORS-335:


r1222698 modifies the connector interfaces to allow the requested locale to be 
passed in.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13174752#comment-13174752
 ] 

Karl Wright commented on CONNECTORS-334:


Checked in a number of changes across the board.  Most notable is that the 
MySQL JDBC driver's maxCharLength field is completely bogus and returns values 
that are essentially random.  We *were* using this field generally to insure 
that returned values did not exceed their schema length, but I'm going to have 
to discontinue use (or conditionalize it) in order to support MySQL.

Once all that was done, the tests are still failing because the crawl still 
hangs.  Reason is unclear.  The basic problem now is that when a document is in 
the pending state and the job is active we still don't get any processing 
activity.  There are no exceptions - just no documents.  The stuffer query must 
therefore be acting differently on MySQL than on every other database.

This has been the hardest database port we've yet attempted for ManifoldCF.  
MySQL is incredibly idiosyncratic and appears to do many things in a manner 
wholly its own.  It may therefore be quite some time before this all works.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13174771#comment-13174771
 ] 

Karl Wright commented on CONNECTORS-334:


r1222195 for column mapping.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13174776#comment-13174776
 ] 

Karl Wright commented on CONNECTORS-334:


Tests now pass.

Max activity and max bandwidth reports fail, though, with exceptions such as 
these:

2011-12-22 07:27:55.318:WARN::Nested in javax.servlet.ServletException: 
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: 
Exception doing query: You have an error in your SQL syntax; check the manual 
that corresponds to your MySQL server version for the right syntax to use near 
'DOUBLE PRECISION) / CAST((t1.endtime-t1.starttime) AS DOUBLE PRECISION) AS 
activ' at line 1:org.apache.manifoldcf.core.interfaces.ManifoldCFException: 
Database exception: Exception doing query: You have an error in your SQL 
syntax; check the manual that corresponds to your MySQL server version for the 
right syntax to use near 'DOUBLE PRECISION) / CAST((t1.endtime-t1.starttime) AS 
DOUBLE PRECISION) AS activ' at line 1

Obviously doesn't like the cast.  Will have to abstract that as well.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-22 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-334.


Resolution: Fixed

 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13174843#comment-13174843
 ] 

Karl Wright commented on CONNECTORS-314:


I've pulled up the database changes, and completed them, as covered in ticket 
CONNECTORS-334.  We should therefore NOT attempt to merge anything other i18n 
changes from the branches/CONNECTORS-314 branch.

In order to make the final merge tolerable, I'm considering transferring all of 
the current i18n changes to a new branch based on trunk.  It will be much 
easier in the end to merge if this is taken care of now.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
 CONNECTORS-314.patch, connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-22 Thread Karl Wright (Created) (JIRA)
Internationalize ManifoldCF and add a Japanese translation
--

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


We need to internationalize the ManifoldCF screens so that multiple language 
support is possible.  While we're at it, let's provide localizations for 
English and Japanese.

(This ticket is meant to include contributions contained in CONNECTORS-314.)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-336) If there's a Japanese localization, we should also have some Japanese documentation

2011-12-22 Thread Karl Wright (Created) (JIRA)
If there's a Japanese localization, we should also have some Japanese 
documentation
---

 Key: CONNECTORS-336
 URL: https://issues.apache.org/jira/browse/CONNECTORS-336
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Documentation
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


We should provide some Japanese documentation if we have a Japanese 
localization.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175034#comment-13175034
 ] 

Karl Wright commented on CONNECTORS-335:


I added classloader support to Message.java, in preparation for having each 
connector have its own version of Message.java that hooks back to the main one, 
but which looks up resources in the current classloader context.

r1222426.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175071#comment-13175071
 ] 

Karl Wright commented on CONNECTORS-335:


Added a Messages.java class for every connector, so that (a) the right 
classloader is used, and (b) a useful default bundle is present.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175148#comment-13175148
 ] 

Karl Wright commented on CONNECTORS-314:


Question for Hitoshi: What are the .utf8 files for?  The framework build.xml 
seems to process them right in place (which is, by the way, a bad idea because 
the source gets overwritten by the output).  But then the output seems to be 
unused in any case?  Can you explain how this works?


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
 CONNECTORS-314.patch, connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175195#comment-13175195
 ] 

Karl Wright commented on CONNECTORS-335:


r1222520 adds appropriate resource directories and build.xml inclusion for all 
connectors.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-335) Internationalize ManifoldCF and add a Japanese translation

2011-12-22 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13175248#comment-13175248
 ] 

Karl Wright commented on CONNECTORS-335:


I've now checked in native2ascii converters for all connectors.  The convention 
is to check in only .utf8 files; these will be converted to ascii form during 
building, and the .utf8 files will not be included in the resource part of the 
jar.  I've therefore renamed all plain ascii .properties files to 
.properties.utf8, because .properties files will always be treated as if they 
are generated during compilation.


 Internationalize ManifoldCF and add a Japanese translation
 --

 Key: CONNECTORS-335
 URL: https://issues.apache.org/jira/browse/CONNECTORS-335
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build, Framework agents process, Framework core, 
 Framework crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 We need to internationalize the ManifoldCF screens so that multiple language 
 support is possible.  While we're at it, let's provide localizations for 
 English and Japanese.
 (This ticket is meant to include contributions contained in CONNECTORS-314.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-21 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13174013#comment-13174013
 ] 

Karl Wright commented on CONNECTORS-334:


r1221678 for a bunch of fixes; now tests fail in a different way.

 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-21 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13174125#comment-13174125
 ] 

Karl Wright commented on CONNECTORS-334:


r1221745 to remove performLocks() abstraction, since it has been subsumed by 
the appropriate unique constraints and deadlock retries anyway.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

2011-12-20 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-333:
---

Priority: Critical  (was: Major)

 Solr 3.x and 4.x plugins should use best practices in setting up http 
 connections
 -

 Key: CONNECTORS-333
 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
 Project: ManifoldCF
  Issue Type: Bug
  Components: Solr-3.x-component, Solr-4.x-component
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Critical
 Fix For: ManifoldCF 0.4


 The Solr components need to use keep-alive in order to not accumulate handles 
 in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

2011-12-20 Thread Karl Wright (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright reassigned CONNECTORS-333:
--

Assignee: Karl Wright

 Solr 3.x and 4.x plugins should use best practices in setting up http 
 connections
 -

 Key: CONNECTORS-333
 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
 Project: ManifoldCF
  Issue Type: Bug
  Components: Solr-3.x-component, Solr-4.x-component
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.4


 The Solr components need to use keep-alive in order to not accumulate handles 
 in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

2011-12-20 Thread Karl Wright (Created) (JIRA)
Solr 3.x and 4.x plugins should use best practices in setting up http 
connections
-

 Key: CONNECTORS-333
 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
 Project: ManifoldCF
  Issue Type: Bug
  Components: Solr-3.x-component, Solr-4.x-component
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
 Fix For: ManifoldCF 0.4


The Solr components need to use keep-alive in order to not accumulate handles 
in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

2011-12-20 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-333:
---

Fix Version/s: (was: ManifoldCF 0.4)
   ManifoldCF 0.5

 Solr 3.x and 4.x plugins should use best practices in setting up http 
 connections
 -

 Key: CONNECTORS-333
 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
 Project: ManifoldCF
  Issue Type: Bug
  Components: Solr-3.x-component, Solr-4.x-component
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Critical
 Fix For: ManifoldCF 0.5


 The Solr components need to use keep-alive in order to not accumulate handles 
 in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

2011-12-20 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173126#comment-13173126
 ] 

Karl Wright commented on CONNECTORS-333:


I'm going to commit this, even though the cleanup of the 
MultiThreadedHttpConnectionManager must happen in a finalizer under Solr at the 
moment.  (This leads to a leaked resource warning when you run the tests.)


 Solr 3.x and 4.x plugins should use best practices in setting up http 
 connections
 -

 Key: CONNECTORS-333
 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
 Project: ManifoldCF
  Issue Type: Bug
  Components: Solr-3.x-component, Solr-4.x-component
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Critical
 Fix For: ManifoldCF 0.5


 The Solr components need to use keep-alive in order to not accumulate handles 
 in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

2011-12-20 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173129#comment-13173129
 ] 

Karl Wright commented on CONNECTORS-333:


r1221215 (Solr 3.x)
r1221217 (Solr 4.x)


 Solr 3.x and 4.x plugins should use best practices in setting up http 
 connections
 -

 Key: CONNECTORS-333
 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
 Project: ManifoldCF
  Issue Type: Bug
  Components: Solr-3.x-component, Solr-4.x-component
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Critical
 Fix For: ManifoldCF 0.5


 The Solr components need to use keep-alive in order to not accumulate handles 
 in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-20 Thread Karl Wright (Created) (JIRA)
Make ManifoldCF fully run on MySQL
--

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as a 
combination of the MySQL contributions from CONNECTORS-314, plus tests and 
other changes needed to make MySQL be a viable option for crawling.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-20 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173686#comment-13173686
 ] 

Karl Wright commented on CONNECTORS-334:


r1221538 for the basic mods to the ant build and the database 
drivers/interfaces.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-20 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173713#comment-13173713
 ] 

Karl Wright commented on CONNECTORS-334:


r1221547 for maven pom.xml changes.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-20 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173729#comment-13173729
 ] 

Karl Wright commented on CONNECTORS-334:


r1221549 for documentation changes.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-334) Make ManifoldCF fully run on MySQL

2011-12-20 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13173805#comment-13173805
 ] 

Karl Wright commented on CONNECTORS-334:


r1221585 for tests.


 Make ManifoldCF fully run on MySQL
 --

 Key: CONNECTORS-334
 URL: https://issues.apache.org/jira/browse/CONNECTORS-334
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Make ManifoldCF run properly on top of MySQL.  The ticket should be viewed as 
 a combination of the MySQL contributions from CONNECTORS-314, plus tests and 
 other changes needed to make MySQL be a viable option for crawling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172080#comment-13172080
 ] 

Karl Wright commented on CONNECTORS-314:


Another quick comment:
The i18n work looks fine except for one problem, which we'll need to solve 
somehow.  That problem is that each individual connector is essentially 
compiled and delivered completely separately, and must therefore carry its own 
i18n and localization with it.  I'll therefore be trying to come up with a way 
of generalizing your contribution so that this separation can be readily done.  
Any ideas you might have are very welcome.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-332) Multiprocess example might benefit from a multiprocess jetty runner, started by a script

2011-12-19 Thread Karl Wright (Created) (JIRA)
Multiprocess example might benefit from a multiprocess jetty runner, started by 
a script


 Key: CONNECTORS-332
 URL: https://issues.apache.org/jira/browse/CONNECTORS-332
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Examples
Affects Versions: ManifoldCF 0.4, ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


Currently the multiprocess example presumes you will start your web 
applications on Tomcat.  It would be convenient and demonstrative, though, to 
have a Jetty-based way of running those web applications within the confines of 
the example.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172193#comment-13172193
 ] 

Karl Wright commented on CONNECTORS-314:


bq. Is it necessary to include Message.java in each connector or is it possible 
to just leave it as a common utility class?

A common utility class is fine.  I'd move it to 
org.apache.manifoldcf.uicore.i18n though, I think, in the project 
framework/uicore.

bq. There's information schema in MySQL. Just didn't have time this time to 
use it because it'll require more work. I wanted to show that it was possible 
to use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.

As long as that is the case, I can lift the code from the hsqldb driver for the 
missing DBInterfaceMySQL methods.  I will do that and check everything in when 
I've also coded the conditional download of the mysql driver in the build 
process.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172193#comment-13172193
 ] 

Karl Wright edited comment on CONNECTORS-314 at 12/19/11 11:14 AM:
---

bq. Is it necessary to include Message.java in each connector or is it possible 
to just leave it as a common utility class?

A common utility class is fine.

bq. There's information schema in MySQL. Just didn't have time this time to 
use it because it'll require more work. I wanted to show that it was possible 
to use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.

As long as that is the case, I can lift the code from the hsqldb driver for the 
missing DBInterfaceMySQL methods.  I will do that and check everything in when 
I've also coded the conditional download of the mysql driver in the build 
process.


  was (Author: kwri...@metacarta.com):
bq. Is it necessary to include Message.java in each connector or is it 
possible to just leave it as a common utility class?

A common utility class is fine.  I'd move it to 
org.apache.manifoldcf.uicore.i18n though, I think, in the project 
framework/uicore.

bq. There's information schema in MySQL. Just didn't have time this time to 
use it because it'll require more work. I wanted to show that it was possible 
to use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.

As long as that is the case, I can lift the code from the hsqldb driver for the 
missing DBInterfaceMySQL methods.  I will do that and check everything in when 
I've also coded the conditional download of the mysql driver in the build 
process.

  
 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172271#comment-13172271
 ] 

Karl Wright commented on CONNECTORS-314:


Committed what I think are most of the missing methods from the 
DBInterfaceMySQL class, and restored index inspection in all the places it 
happens.  I haven't tried it (mostly because I don't have a readily available 
MySQL instance), but either you can try it or you can wait for me to install 
MySQL somewhere.  Also:

bq. I've also changed the default properties.xml to use mysql. Needs mysql user 
and password to run properly.

I'm afraid I'm going to need to revert this change, since it basically means 
you have to have MySQL running in order to use ManifoldCF under Maven.  Hope 
that's okay with you.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172342#comment-13172342
 ] 

Karl Wright commented on CONNECTORS-314:


Added abstraction for the COUNT() construct, so that all the tests now pass in 
the CONNECTORS-314 branch.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-332) Multiprocess example might benefit from a multiprocess jetty runner, started by a script

2011-12-19 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-332.


Resolution: Fixed

 Multiprocess example might benefit from a multiprocess jetty runner, started 
 by a script
 

 Key: CONNECTORS-332
 URL: https://issues.apache.org/jira/browse/CONNECTORS-332
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Examples
Affects Versions: ManifoldCF 0.4, ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Currently the multiprocess example presumes you will start your web 
 applications on Tomcat.  It would be convenient and demonstrative, though, to 
 have a Jetty-based way of running those web applications within the confines 
 of the example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-332) Multiprocess example might benefit from a multiprocess jetty runner, started by a script

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172558#comment-13172558
 ] 

Karl Wright commented on CONNECTORS-332:


r1220925


 Multiprocess example might benefit from a multiprocess jetty runner, started 
 by a script
 

 Key: CONNECTORS-332
 URL: https://issues.apache.org/jira/browse/CONNECTORS-332
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Examples
Affects Versions: ManifoldCF 0.4, ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Currently the multiprocess example presumes you will start your web 
 applications on Tomcat.  It would be convenient and demonstrative, though, to 
 have a Jetty-based way of running those web applications within the confines 
 of the example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172809#comment-13172809
 ] 

Karl Wright commented on CONNECTORS-314:


I got the database driver working, in the single-process example.  I had to 
clean up quite a bit of stuff having to do with database naming etc.  To use:

ant build-dev
cd dist\example
[edit properties.xml to replace the database class as follows:
  property name=org.apache.manifoldcf.databaseimplementationclass 
value=org.apache.manifoldcf.core.database.DBInterfaceMySQL/
  property name=org.apache.manifoldcf.dbsuperusername value=root/
  property name=org.apache.manifoldcf.dbsuperuserpassword value=mysql/
... or whatever the superuser password is on your mysql installation]
java -jar start.jar

... and everything pretty much works, except for the reports.




 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
 CONNECTORS-314.patch, connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172812#comment-13172812
 ] 

Karl Wright commented on CONNECTORS-314:


bq. I've deleted jstl.jar and standards.jar under crawler-ui directory and 
replaced it with jstl-api-1.2.jar and jstl-impl-1.2.jar from the page below: 
http://jstl.java.net/download.html

Ok, this has been checked in.

Also, you can automatically download a mysql driver by doing this BEFORE your 
first ant build-dev:

ant download-dependencies




 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
 CONNECTORS-314.patch, connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172831#comment-13172831
 ] 

Karl Wright commented on CONNECTORS-314:


bq. As for the forrest documentation structure, how about the creating a 
Japanese tab and just creating a japanese subdirectory under xdocs? I've 
attached a tabs.xml and site.xml patch.

I'll commit the patch shortly.  If you can get forrest to work with a 
subdirectory, great - in general, though, we've found it better to keep all the 
xml files in one directory.  So that's what I'd recommend, and just give their 
names all an _ja suffix or something.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
 CONNECTORS-314.patch, connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [VOTE] Release Apache ManifoldCF 0.4-incubating, RC0

2011-12-19 Thread Karl Wright
Piergiorgio wants to include a section in the how to build and
deploy documentation for the Alfresco connector.  To me this is not
really an important enough change to spin another RC, but since we're
still waiting for Tommaso to review our releases there may be time to
do it.

But, right now, I vote +1 for RC0.  We'll see if Piergiorgio withdraws his vote.

Karl

On Mon, Dec 19, 2011 at 7:04 PM, Shinichiro Abe
shinichiro.ab...@gmail.com wrote:
 Thank you. I understand.

 +1 for me.

 Shinichiro Abe

 On 2011/12/19, at 16:25, Karl Wright wrote:

 The hsqldb configuration used by multiprocess-example is an external
 hsqldb database.  It does not require the
 org.apache.manifoldcf.hsqldbdatabasepath property.  If you want to try
 out the multiprocess example, take the following steps:

 (1) In one shell prompt, start the database: start-database.bat/.sh
 (2) In another shell prompt, initialize the database: initialize.bat/.sh
 (3) When that is done, start the agents proces: start-agents.bat/.sh

 Thanks,
 Karl


 On Mon, Dec 19, 2011 at 2:05 AM, Shinichiro Abe
 shinichiro.ab...@gmail.com wrote:
 Hi.

 I checked 0.4 by running ant test, okay but one problem.

 In multiprocess-example, at default properties.xml, HSQLDB database requires
 'org.apache.manifoldcf.hsqldbdatabasepath' property, containing a relative 
 path:

 property name=org.apache.manifoldcf.hsqldbdatabasepath value=./

 Now exception is thrown, so we need to add this property.
 Should I send a patch? Next?

 Regards,
 Shinichiro Abe

 On 2011/12/18, at 2:27, Karl Wright wrote:

 I've again uploaded an apache-manifoldcf-0.4-incubating package which you
 can download from http://people.apache.org/~kwright.  If you agree
 this should be released please vote +1.

 [Note that the release of this artifact is dependent on the release of
 the three plugin packages upon which it depends.  If we need to change
 those packages we'll need to spin a new RC of this one.  Also please
 note that I've include SHA1 signatures for the first time, as per
 Jukka's suggestion.]

 I apologize again for the earlier hiccup.  This one is the real thing,
 though, and passes all tests.

 Thanks!
 Karl




Re: Is ManifoldCF OSI certified?

2011-12-18 Thread Karl Wright
How big is the patch if you simply do not include the jars?  I can
download these myself from a URL.
Karl

On Sun, Dec 18, 2011 at 10:31 AM, Karl Wright daddy...@gmail.com wrote:
 167MB is the entire size of our current binary deliverable.  As a zip
 that is huge.

 Can't this be broken up?  If it can't your only real choice is to
 create a project in googlecode and then I'd need to incorporate the
 changes piecemeal.  But now I'm really very curious as to why this
 patch is so large.  Perhaps you can do a bit of analysis to determine
 why?

 Karl

 On Sun, Dec 18, 2011 at 10:20 AM, Hitoshi Ozawa htshoz...@gmail.com wrote:
 Hi,
 Just tried to upload the modified version but the max file size is
 10MB, which would mean I won't be able to add the jar files I've
 added.
 Any option to upload the modified zip file which is about 167MB?

 Regards,
 H.Ozawa

 2011/12/13 Karl Wright daddy...@gmail.com:
 You can go to the ticket here:

 https://issues.apache.org/jira/browse/CONNECTORS-314

 As I am sure you know, please make sure when attaching any files that
 you click the Grant license to ASF radio button.

 Thanks!
 Karl

 On Tue, Dec 13, 2011 at 8:57 AM, Karl Wright daddy...@gmail.com wrote:
 Glad to have your help!

 I'm going to go ahead then and create a combined ticket that you can
 attach your combined patch to.  Then one of us will have the fun of
 trying to figure out exactly how to commit it. :-)

 Karl

 On Tue, Dec 13, 2011 at 8:45 AM, Hitoshi Ozawa htshoz...@gmail.com wrote:
The i18n issues, as I said before, are not trivial, and may well
require several iterations to get right.  Tab names are just one
aspect of it.  This is one reason I wanted to separate any i18n
contribution from the database contribution.

 Too late. Almost finished. It's seems to be working alright.

 Forgot to introduce myself. I'm the one who I18N and L10N ESB Mule
 and is currently active in Liferay.

 I'm the one of the top on this page:
 http://www.liferay.com/community/forums/-/message_boards/statistics

 Japanese Wiki pages I've written:
 http://www.liferay.com/community/wiki/-/wiki/Main/%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88

 Mule Japanese page:
 http://www.mulesoft.org/documentation/display/JPNDOC/Mule+Guides

 Regards,
 H.Ozawa


[jira] [Created] (CONNECTORS-331) How-to-build-and-deploy page is missing section for Alfresco connector

2011-12-18 Thread Karl Wright (Created) (JIRA)
How-to-build-and-deploy page is missing section for Alfresco connector
--

 Key: CONNECTORS-331
 URL: https://issues.apache.org/jira/browse/CONNECTORS-331
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Documentation
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Priority: Critical
 Fix For: ManifoldCF 0.4


We need a section in how-to-build-and-deploy that covers the Alfresco connector.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171980#comment-13171980
 ] 

Karl Wright commented on CONNECTORS-314:


I've looked at the patches and tried to apply them, but they are not easily 
applied even against the manifoldcf-0.3-incubating release.  It looks like they 
are all made with diff rather than svn diff, and then stuck together.  Could 
you therefore do the following:

(1) svn co 
https://svn.apache.org/repos/asf/incubator/lcf/branches/CONNECTORS-314
(2) Apply your patches in the way you intended
(3) From the CONNECTORS-314 directory, do: svn diff CONNECTORS-314.patch
(4) Attach CONNECTORS-314.patch to this ticket

I created branches/CONNECTORS-314 based on the manifoldcf-0.3-incubating 
release, so if what you said before is correct it should look very familiar to 
you.  Once that is done I will commit your patch to the CONNECTORS-314 branch 
and we can iterate as needed based on that.

Thanks!


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171983#comment-13171983
 ] 

Karl Wright commented on CONNECTORS-314:


Hmm, it also looks like many of your changes are basically changes that are 
already in trunk code.  Would you rather I rebuild the CONNECTORS-314 branch to 
be based on trunk as of the date 2011/11/29?  I believe that should be 
straightforward to do, if that helps.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171984#comment-13171984
 ] 

Karl Wright commented on CONNECTORS-314:


bq. Where can I obtain the xml file? I'm still at early stage and it won't be 
too much of a problem.

Obtain it like this:

svn co https://svn.apache.org/repos/asf/incubator/lcf/CONNECTORS-314
cd CONNECTORS-314\site\src\documentation\content\xdocs

In this directory you will see many .xml files.  They should give you an idea 
about how the site is rendered.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171985#comment-13171985
 ] 

Karl Wright commented on CONNECTORS-314:


bq. Will do the svn tonight because I only have Windows here. (sigh)

There is a Windows svn client; that's what I use a lot of the time too.  You 
can download from here: http://www.sliksvn.com/en/download


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171990#comment-13171990
 ] 

Karl Wright commented on CONNECTORS-314:


bq. Used GnuWin32 diff command
bq. diff -rupN original modified  original.patch

In general, when working with svn, it is better to have a single patch file 
produced with a single svn diff command, against a working directory that 
contains a checked-out version of the tree (from an appropriate branch or 
time), plus your changes.  svn diff annotates the diff with revision numbers 
which makes it possible to apply the patch in a sensible way.  So the usual 
procedure is:

- check out the project
- modify the checked out code through whatever means
- do a svn diff XXX.patch command to capture the changes

Bear in mind that for added files you will need to do svn add filename in 
order for svn diff to pick it up later.  But other than that it's a very 
straightforward process.

Hope this helps.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171993#comment-13171993
 ] 

Karl Wright commented on CONNECTORS-314:


bq. Please upgrade the svn. Sorry for the trouble.

Done.  branches/CONNECTORS-314 is now what trunk looked like at the end of the 
day on 11/29/2011.  Please let me know if you find any problems.


 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [VOTE] Release Apache ManifoldCF 0.4-incubating, RC0

2011-12-18 Thread Karl Wright
The hsqldb configuration used by multiprocess-example is an external
hsqldb database.  It does not require the
org.apache.manifoldcf.hsqldbdatabasepath property.  If you want to try
out the multiprocess example, take the following steps:

(1) In one shell prompt, start the database: start-database.bat/.sh
(2) In another shell prompt, initialize the database: initialize.bat/.sh
(3) When that is done, start the agents proces: start-agents.bat/.sh

Thanks,
Karl


On Mon, Dec 19, 2011 at 2:05 AM, Shinichiro Abe
shinichiro.ab...@gmail.com wrote:
 Hi.

 I checked 0.4 by running ant test, okay but one problem.

 In multiprocess-example, at default properties.xml, HSQLDB database requires
 'org.apache.manifoldcf.hsqldbdatabasepath' property, containing a relative 
 path:

 property name=org.apache.manifoldcf.hsqldbdatabasepath value=./

 Now exception is thrown, so we need to add this property.
 Should I send a patch? Next?

 Regards,
 Shinichiro Abe

 On 2011/12/18, at 2:27, Karl Wright wrote:

 I've again uploaded an apache-manifoldcf-0.4-incubating package which you
 can download from http://people.apache.org/~kwright.  If you agree
 this should be released please vote +1.

 [Note that the release of this artifact is dependent on the release of
 the three plugin packages upon which it depends.  If we need to change
 those packages we'll need to spin a new RC of this one.  Also please
 note that I've include SHA1 signatures for the first time, as per
 Jukka's suggestion.]

 I apologize again for the earlier hiccup.  This one is the real thing,
 though, and passes all tests.

 Thanks!
 Karl



[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-18 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13172070#comment-13172070
 ] 

Karl Wright commented on CONNECTORS-314:


I committed your patch to the branch (r1220632).  You might want to check it 
out in a new workarea to be sure we have everything now.  Also, if there are 
mysql JDBC jars required, can you provide a URL for them, so I am sure to make 
sure I get the right ones?

Once I'm sure everything is checked in appropriately, I'll spend some time 
looking at it and figuring out how to integrate your changes into trunk in a 
way that keeps support for all other databases intact.  That may take a little 
while, but luckily I can work on this a bit over the upcoming holidays.

Thanks again!

 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
  Labels: I18N, mysql
 Fix For: ManifoldCF 0.5

 Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
 connectors.patch, framework.patch


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[VOTE] Release Apache ManifoldCF 0.4-incubating

2011-12-17 Thread Karl Wright
I've uploaded an apache-manifoldcf-0.4-incubating package which you
can download from http://people.apache.org/~kwright.  If you agree
this should be released please vote +1.

[Note that the release of this artifact is dependent on the release of
the three plugin packages upon which it depends.  If we need to change
those packages we'll need to spin a new RC of this one.  Also please
note that I've include SHA1 signatures for the first time, as per
Jukka's suggestion.]

Thanks!
Karl


[WITHDRAW][VOTE] Release Apache ManifoldCF 0.4-incubating

2011-12-17 Thread Karl Wright
I'm going to back this out and try again; the HSQLDB tests are now
failing on the release branch, despite succeeding last night in trunk.

Sorry about that - and stay tuned.
Karl


On Sat, Dec 17, 2011 at 5:18 AM, Karl Wright daddy...@gmail.com wrote:
 I've uploaded an apache-manifoldcf-0.4-incubating package which you
 can download from http://people.apache.org/~kwright.  If you agree
 this should be released please vote +1.

 [Note that the release of this artifact is dependent on the release of
 the three plugin packages upon which it depends.  If we need to change
 those packages we'll need to spin a new RC of this one.  Also please
 note that I've include SHA1 signatures for the first time, as per
 Jukka's suggestion.]

 Thanks!
 Karl


[jira] [Created] (CONNECTORS-330) HSQLDB external database tests fail

2011-12-17 Thread Karl Wright (Created) (JIRA)
HSQLDB external database tests fail
---

 Key: CONNECTORS-330
 URL: https://issues.apache.org/jira/browse/CONNECTORS-330
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


Here's the exception we get:

[junit] Database exception: Exception doing query: user lacks privilege or o
bject not found: PUBLIC in statement [CREATE CACHED TABLE agents(classname VARCH
AR(255) NOT NULL PRIMARY KEY)]
[junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database
exception: Exception doing query: user lacks privilege or object not found: PUBL
IC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) NOT NULL PRIM
ARY KEY)]
[junit] at org.apache.manifoldcf.core.database.Database.executeViaThread
(Database.java:672)
[junit] at org.apache.manifoldcf.core.database.Database.executeUncachedQ
uery(Database.java:716)
[junit] at org.apache.manifoldcf.core.database.Database$QueryCacheExecut
or.create(Database.java:1363)
[junit] at org.apache.manifoldcf.core.cachemanager.CacheManager.findObje
ctsAndExecute(CacheManager.java:144)
[junit] at org.apache.manifoldcf.core.database.Database.executeQuery(Dat
abase.java:179)
[junit] at org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.perform
Modification(DBInterfaceHSQLDB.java:746)
[junit] at org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.perform
Create(DBInterfaceHSQLDB.java:361)
[junit] at org.apache.manifoldcf.core.database.BaseTable.performCreate(B
aseTable.java:111)
[junit] at org.apache.manifoldcf.agents.agentmanager.AgentManager.instal
l(AgentManager.java:72)
[junit] at org.apache.manifoldcf.agents.system.ManifoldCF.installTables(
ManifoldCF.java:73)
[junit] at org.apache.manifoldcf.agents.tests.BaseHSQLDBext.localSetUp(B
aseHSQLDBext.java:65)
[junit] at org.apache.manifoldcf.crawler.tests.BaseHSQLDBext.localSetUp(
BaseHSQLDBext.java:60)
[junit] at org.apache.manifoldcf.crawler.tests.BaseHSQLDBext.setUp(BaseH
SQLDBext.java:48)
[junit] Caused by: java.sql.SQLException: user lacks privilege or object not
 found: PUBLIC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) N
OT NULL PRIMARY KEY)]
[junit] at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
[junit] at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:
1838)
[junit] at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)

[junit] at org.apache.manifoldcf.core.database.Database.execute(Database
.java:777)
[junit] at org.apache.manifoldcf.core.database.Database$ExecuteQueryThre
ad.run(Database.java:632)
[junit]
[junit]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-330) HSQLDB external database tests fail

2011-12-17 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171527#comment-13171527
 ] 

Karl Wright commented on CONNECTORS-330:


The story points back to HSQLDB again, unfortunately.  Here's an annotated 
trace:

{code}
Here's the schema creation
   [junit] Created HSQLDB instance
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c3679 with user sa 
which is meant to work with schema administration
   [junit] Creating schema DBNAME using instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c3679
Here's the alter user
   [junit] Altering user manifoldcf
   [junit]  Alter User succeeded! ALTER USER manifoldcf SET INITIAL SCHEMA 
DBNAME
Here's the table create
   [junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e with user 
manifoldcf which is meant to work with schema dbname
   [junit] Checking for table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e
   [junit] Creating table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e
   [junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database 
exception: Exception doing query: user lacks privilege or object not found: 
PUBLIC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) NOT NULL 
PRIMARY KEY)]
   [junit] at 
org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
   [junit] at 
org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:716)
   [junit] at 
org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1363)
   [junit] at 
org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
   [junit] at 
org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:179)
   [junit] at 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performModification(DBInterfaceHSQLDB.java:752)
   [junit] at 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performCreate(DBInterfaceHSQLDB.java:364)
   [junit] at 
org.apache.manifoldcf.core.database.BaseTable.performCreate(BaseTable.java:111)
   [junit] at
org.apache.manifoldcf.agents.agentmanager.AgentManager.install(AgentManager.java:72)
   [junit] at
org.apache.manifoldcf.agents.system.ManifoldCF.installTables(ManifoldCF.java:73)
   [junit] at
org.apache.manifoldcf.agents.tests.BaseHSQLDBext.localSetUp(BaseHSQLDBext.java:65)
   [junit] at
org.apache.manifoldcf.crawler.tests.BaseHSQLDBext.localSetUp(BaseHSQLDBext.java:60)
   [junit] at
org.apache.manifoldcf.crawler.tests.BaseHSQLDBext.setUp(BaseHSQLDBext.java:48)
   [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] at java.lang.reflect.Method.invoke(Method.java:592)
   [junit] at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
   [junit] at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
   [junit] at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
   [junit] at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
   [junit] at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
   [junit] at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
   [junit] at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
   [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
   [junit] at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
   [junit] at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
   [junit] at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
   [junit] at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
   [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
   [junit] at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
   [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
   [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
   [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
   [junit] Caused by: java.sql.SQLException: user lacks privilege or
object not found: PUBLIC in statement [CREATE CACHED TABLE
agents(classname VARCHAR(255) NOT NULL PRIMARY KEY)]
   [junit

[jira] [Issue Comment Edited] (CONNECTORS-330) HSQLDB external database tests fail

2011-12-17 Thread Karl Wright (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171527#comment-13171527
 ] 

Karl Wright edited comment on CONNECTORS-330 at 12/17/11 12:12 PM:
---

The story points back to HSQLDB again, unfortunately.  Here's a trace:

{code}
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@113beb5 with user 
manifoldcf which is meant to work with schema dbname
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@747fa2 with user 
manifoldcf which is meant to work with schema dbname
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@6782a9 with user sa which 
is meant to work with schema administration
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@17200b4 with user 
manifoldcf which is meant to work with schema dbname
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c3679 with user sa 
which is meant to work with schema administration
[junit] Creating schema DBNAME using instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c3679
[junit] Altering user manifoldcf
[junit]  Alter User succeeded! ALTER USER manifoldcf SET INITIAL SCHEMA 
DBNAME
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e with user 
manifoldcf which is meant to work with schema dbname
[junit] Checking for table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e
[junit] Creating table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e
[junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database 
exception: Exception doing query: user lacks privilege or object not found: 
PUBLIC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) NOT NULL 
PRIMARY KEY)]
[junit] at 
org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
...
{code}


  was (Author: kwri...@metacarta.com):
The story points back to HSQLDB again, unfortunately.  Here's an annotated 
trace:

{code}
Here's the schema creation
   [junit] Created HSQLDB instance
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c3679 with user sa 
which is meant to work with schema administration
   [junit] Creating schema DBNAME using instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c3679
Here's the alter user
   [junit] Altering user manifoldcf
   [junit]  Alter User succeeded! ALTER USER manifoldcf SET INITIAL SCHEMA 
DBNAME
Here's the table create
   [junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e with user 
manifoldcf which is meant to work with schema dbname
   [junit] Checking for table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e
   [junit] Creating table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@289d2e
   [junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database 
exception: Exception doing query: user lacks privilege or object not found: 
PUBLIC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) NOT NULL 
PRIMARY KEY)]
   [junit] at 
org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
   [junit] at 
org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:716)
   [junit] at 
org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1363)
   [junit] at 
org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
   [junit] at 
org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:179)
   [junit] at 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performModification(DBInterfaceHSQLDB.java:752)
   [junit] at 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performCreate(DBInterfaceHSQLDB.java:364)
   [junit] at 
org.apache.manifoldcf.core.database.BaseTable.performCreate(BaseTable.java:111)
   [junit] at
org.apache.manifoldcf.agents.agentmanager.AgentManager.install(AgentManager.java:72)
   [junit] at
org.apache.manifoldcf.agents.system.ManifoldCF.installTables(ManifoldCF.java:73)
   [junit] at
org.apache.manifoldcf.agents.tests.BaseHSQLDBext.localSetUp(BaseHSQLDBext.java:65)
   [junit] at
org.apache.manifoldcf.crawler.tests.BaseHSQLDBext.localSetUp(BaseHSQLDBext.java:60)
   [junit] at
org.apache.manifoldcf.crawler.tests.BaseHSQLDBext.setUp(BaseHSQLDBext.java:48)
   [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit] at
sun.reflect.NativeMethodAccessorImpl.invoke

[jira] [Commented] (CONNECTORS-330) HSQLDB external database tests fail

2011-12-17 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171535#comment-13171535
 ] 

Karl Wright commented on CONNECTORS-330:


It looks like this may be JDBC related.  The JDBC instance that fails is 
created BEFORE the ALTER USER is done, and it apparently just never gets 
updated:

{code}
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@2f0d54 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@e0a386
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@193f6e2 with user 
manifoldcf which is meant to work with schema dbname
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@2f0d54 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@193f6e2
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@6782a9 with user 
manifoldcf which is meant to work with schema dbname
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1b34126 with user sa 
which is meant to work with schema administration
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@17200b4 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1b34126
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@4c47db with user 
manifoldcf which is meant to work with schema dbname
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c74 with user sa which 
is meant to work with schema administration
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@17200b4 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c74
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@17200b4 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c74
[junit] Creating schema DBNAME using instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c74
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@17200b4 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c74
[junit] Altering user manifoldcf
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@17200b4 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@18c74
[junit]  Alter User succeeded! ALTER USER manifoldcf SET INITIAL SCHEMA 
DBNAME
[junit] Created HSQLDB instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1f2cea2 with user 
manifoldcf which is meant to work with schema dbname
[junit] Checking for table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1f2cea2
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@2f0d54 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1f2cea2
[junit] Creating table in schema DBNAME in instance 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1f2cea2
[junit] Using JDBC connection com.bitmechanic.sql.PooledConnection@2f0d54 
within database org.apache.manifoldcf.core.database.DBInterfaceHSQLDB@1f2cea2
[junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database 
exception: Exception doing query: user lacks privilege or object not found: 
PUBLIC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) NOT NULL 
PRIMARY KEY)]
[junit] at 
org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:673)
{code}

Since these are pooled objects, I basically have to figure out how to flush the 
pool - or create a different pool for instances where the schema has not yet 
been created.  Or, maybe HSQLDB should try to update existing JDBC instances?  
Seems like a funky implementation detail of hsqldb we're seeing really.

I've alerted the hsqldb team yet again...

 HSQLDB external database tests fail
 ---

 Key: CONNECTORS-330
 URL: https://issues.apache.org/jira/browse/CONNECTORS-330
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


 Here's the exception we get:
 [junit] Database exception: Exception doing query: user lacks privilege 
 or o
 bject not found: PUBLIC in statement [CREATE CACHED TABLE agents(classname 
 VARCH
 AR(255) NOT NULL PRIMARY KEY)]
 [junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: 
 Database
 exception: Exception doing query: user lacks privilege or object not found: 
 PUBL
 IC in statement [CREATE CACHED TABLE agents(classname VARCHAR(255) NOT NULL 
 PRIM
 ARY KEY)]
 [junit

[VOTE] Release Apache ManifoldCF 0.4-incubating, RC0

2011-12-17 Thread Karl Wright
I've again uploaded an apache-manifoldcf-0.4-incubating package which you
can download from http://people.apache.org/~kwright.  If you agree
this should be released please vote +1.

[Note that the release of this artifact is dependent on the release of
the three plugin packages upon which it depends.  If we need to change
those packages we'll need to spin a new RC of this one.  Also please
note that I've include SHA1 signatures for the first time, as per
Jukka's suggestion.]

I apologize again for the earlier hiccup.  This one is the real thing,
though, and passes all tests.

Thanks!
Karl


[jira] [Commented] (CONNECTORS-315) Update binary versions of plugin packages in ManifoldCF when plugins are officially released

2011-12-16 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170910#comment-13170910
 ] 

Karl Wright commented on CONNECTORS-315:


r1215091 (trunk)
r1215092 (release branch)


 Update binary versions of plugin packages in ManifoldCF when plugins are 
 officially released
 

 Key: CONNECTORS-315
 URL: https://issues.apache.org/jira/browse/CONNECTORS-315
 Project: ManifoldCF
  Issue Type: Task
  Components: Lucene/SOLR connector, Meridio connector, SharePoint 
 connector
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.4


 ManifoldCF 0.4 should only include released versions of plugins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-315) Update binary versions of plugin packages in ManifoldCF when plugins are officially released

2011-12-16 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-315.


Resolution: Fixed

 Update binary versions of plugin packages in ManifoldCF when plugins are 
 officially released
 

 Key: CONNECTORS-315
 URL: https://issues.apache.org/jira/browse/CONNECTORS-315
 Project: ManifoldCF
  Issue Type: Task
  Components: Lucene/SOLR connector, Meridio connector, SharePoint 
 connector
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.4


 ManifoldCF 0.4 should only include released versions of plugins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-325) Adeguate the content identifier with the Alfresco node reference

2011-12-16 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-325:
---

Fix Version/s: (was: ManifoldCF 0.5)
   ManifoldCF 0.4

 Adeguate the content identifier with the Alfresco node reference
 

 Key: CONNECTORS-325
 URL: https://issues.apache.org/jira/browse/CONNECTORS-325
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Alfresco connector
Affects Versions: ManifoldCF 0.4
Reporter: Piergiorgio Lucidi
Assignee: Piergiorgio Lucidi
Priority: Minor
 Fix For: ManifoldCF 0.4

   Original Estimate: 2h
  Remaining Estimate: 2h

 The Alfresco connector support only the UUID to identify contents in 
 ManifoldCF, but Alfresco uses a different ID for contents.
 The Node Reference is the unique identifier for nodes in Alfresco and I think 
 that we have to conform this ID in the connector too.
 A node reference has the following structure:
 {code}
 STORE PROTOCOL://STORE IDENTIFIER/UUID
 {code}
 The store protocol with the store id build a store reference that could be 
 considered in the same way we have workspaces in the JCR standard.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-325) Adeguate the content identifier with the Alfresco node reference

2011-12-16 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170929#comment-13170929
 ] 

Karl Wright commented on CONNECTORS-325:


r1215104 (release branch)


 Adeguate the content identifier with the Alfresco node reference
 

 Key: CONNECTORS-325
 URL: https://issues.apache.org/jira/browse/CONNECTORS-325
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Alfresco connector
Affects Versions: ManifoldCF 0.4
Reporter: Piergiorgio Lucidi
Assignee: Piergiorgio Lucidi
Priority: Minor
 Fix For: ManifoldCF 0.4

   Original Estimate: 2h
  Remaining Estimate: 2h

 The Alfresco connector support only the UUID to identify contents in 
 ManifoldCF, but Alfresco uses a different ID for contents.
 The Node Reference is the unique identifier for nodes in Alfresco and I think 
 that we have to conform this ID in the connector too.
 A node reference has the following structure:
 {code}
 STORE PROTOCOL://STORE IDENTIFIER/UUID
 {code}
 The store protocol with the store id build a store reference that could be 
 considered in the same way we have workspaces in the JCR standard.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: Towards graduation

2011-12-16 Thread Karl Wright
This is great news!
Karl

On Fri, Dec 16, 2011 at 7:08 AM, Jukka Zitting jukka.zitt...@gmail.com wrote:
 Hi,

 As you know I was a bit hesitant about graduation the last time the
 topic came up. I still am, but the developments over the past month or
 so have looked pretty good so I think we're on a good path here.

 The main improvements I see are Piergiorgio's many commits and the
 fact that the PPMC was able to reach the three +1s for the component
 releases without help or prodding by the mentors. And the stream of
 incoming patches from new contributors looks healthy. I think we
 should be able to invite new committers again soon.

 So nice work everyone! At this rate I think we should start preparing
 for graduation sometime early next year.

 BR,

 Jukka Zitting


[jira] [Updated] (CONNECTORS-319) AgentRun command needs a shutdown hook

2011-12-16 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-319:
---

Fix Version/s: (was: ManifoldCF next)
   ManifoldCF 0.5

 AgentRun command needs a shutdown hook
 --

 Key: CONNECTORS-319
 URL: https://issues.apache.org/jira/browse/CONNECTORS-319
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 The AgentRun command does not clean up its agent running lock on ^C.  This 
 means you always have to do a lock clean if you ^C the agents process in a 
 multi-process environment.  I believe that everything else that needs a 
 shutdown hook has one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-16 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-314:
---

Affects Version/s: (was: ManifoldCF next)
   ManifoldCF 0.5
Fix Version/s: (was: ManifoldCF next)
   ManifoldCF 0.5

 Combined MySQL and i18n/Japanese contribution
 -

 Key: CONNECTORS-314
 URL: https://issues.apache.org/jira/browse/CONNECTORS-314
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework agents process, Framework core, Framework 
 crawler agent
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
 MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-286) Get ManifoldCF to run on top of a key/value store like Voldemort, for potential massive scalability improvements and speed gains

2011-12-16 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171178#comment-13171178
 ] 

Karl Wright commented on CONNECTORS-286:


Work on a database java API, with a key/value back-end implementation, has been 
going on for some six weeks now and is nearly complete.  It may be a valuable 
first step to convert ManifoldCF to this layer, and create standard SQL 
database implementations of it as a replacement for the current ManifoldCF 
implementation layer, to see how that works.  The functionality needed by the 
database in order to participate is limited to the following:

- transaction support
- ability to read tables sequentially
- ability to read through a table index in order, with specific conditions on 
that index read

Everything else is synthesized by the Warthog API layer.  This should make the 
job of porting to different databases much much easier - if it works.

Code as it currently stands is in branches/CONNECTORS-286/warthog.


 Get ManifoldCF to run on top of a key/value store like Voldemort, for 
 potential massive scalability improvements and speed gains
 

 Key: CONNECTORS-286
 URL: https://issues.apache.org/jira/browse/CONNECTORS-286
 Project: ManifoldCF
  Issue Type: New Feature
  Components: Framework core
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF next


 ManifoldCF's reliance on a relational database limits its throughput and 
 scalability.  I am now convinced it is possible to build all the structures 
 we need within a distributed key-value store like Voldemort, which has the 
 nice side effect of permitting massive scaling.  I envision there will be 
 several layers to this project, some of which may have broader utility in the 
 open-source community at large:
 (1) An atomic serialization layer, which adds serialization capabilities to 
 an non-transactional substrate;
 (2) A transaction layer, which uses atomic serialization to build a notion of 
 light transactions;
 (3) A table and index layer, which defines SQL-like concepts of tables and 
 btree indexes on top of the transaction layer, via a Java API;
 (4) A generic database abstraction layer, which is capable of representing 
 both standard SQL databases as well as this NoSQL variant, so that ManifoldCF 
 can support both models.
 This is obviously a major development task, and as such is not envisioned to 
 be completed by the next standard release.  Work will indeed need to be done 
 in a branch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-319) AgentRun command needs a shutdown hook

2011-12-16 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-319:
---

Fix Version/s: (was: ManifoldCF 0.5)
   ManifoldCF 0.4

I was wrong about being wrong.  The shutdown actually occurs just as I 
initially thought, so I am moving this back to ManifoldCF 0.4.


 AgentRun command needs a shutdown hook
 --

 Key: CONNECTORS-319
 URL: https://issues.apache.org/jira/browse/CONNECTORS-319
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.4


 The AgentRun command does not clean up its agent running lock on ^C.  This 
 means you always have to do a lock clean if you ^C the agents process in a 
 multi-process environment.  I believe that everything else that needs a 
 shutdown hook has one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-319) AgentRun command needs a shutdown hook

2011-12-16 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171189#comment-13171189
 ] 

Karl Wright commented on CONNECTORS-319:


r1215269 (trunk)
r1215271 (release branch)


 AgentRun command needs a shutdown hook
 --

 Key: CONNECTORS-319
 URL: https://issues.apache.org/jira/browse/CONNECTORS-319
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.4


 The AgentRun command does not clean up its agent running lock on ^C.  This 
 means you always have to do a lock clean if you ^C the agents process in a 
 multi-process environment.  I believe that everything else that needs a 
 shutdown hook has one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-319) AgentRun command needs a shutdown hook

2011-12-16 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-319.


Resolution: Fixed

 AgentRun command needs a shutdown hook
 --

 Key: CONNECTORS-319
 URL: https://issues.apache.org/jira/browse/CONNECTORS-319
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.4


 The AgentRun command does not clean up its agent running lock on ^C.  This 
 means you always have to do a lock clean if you ^C the agents process in a 
 multi-process environment.  I believe that everything else that needs a 
 shutdown hook has one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-321) Every other time a multiprocess initialization script is run using HSQLDB, a nonsense database exception occurs

2011-12-16 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171425#comment-13171425
 ] 

Karl Wright commented on CONNECTORS-321:


r1215386 (trunk)
r1215387 (release branch)


 Every other time a multiprocess initialization script is run using HSQLDB, a 
 nonsense database exception occurs
 ---

 Key: CONNECTORS-321
 URL: https://issues.apache.org/jira/browse/CONNECTORS-321
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


 The script is the multiprocess-example initialize script.  Here's the 
 exception:
 Successfully registered output connector 
 'org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnector'org.apache.manifoldcf.core.interfaces.ManifoldCFException:
  Database exception: Exception doing query: user lacks privilege or object 
 not found: OUTPUTCONNECTORS
 at 
 org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
 at 
 org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:700)
 at 
 org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1363)
 at 
 org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
 at 
 org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:179)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performModification(DBInterfaceHSQLDB.java:771)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performLock(DBInterfaceHSQLDB.java:213)
 at 
 org.apache.manifoldcf.core.database.BaseTable.performLock(BaseTable.java:65)
 at 
 org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager.registerConnector(OutputConnectorManager.java:161)
 at 
 org.apache.manifoldcf.crawler.RegisterConnectors.registerConnectors(RegisterConnectors.java:250)
 at 
 org.apache.manifoldcf.crawler.InitializeAndRegister.doExecute(InitializeAndRegister.java:56)
 at 
 org.apache.manifoldcf.crawler.InitializeAndRegister.main(InitializeAndRegister.java:73)
 Caused by: java.sql.SQLException: user lacks privilege or object not found: 
 OUTPUTCONNECTORS
 at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
 at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
 at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
 at 
 org.apache.manifoldcf.core.database.Database.execute(Database.java:777)
 at 
 org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:632)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-321) Every other time a multiprocess initialization script is run using HSQLDB, a nonsense database exception occurs

2011-12-16 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-321.


Resolution: Fixed

 Every other time a multiprocess initialization script is run using HSQLDB, a 
 nonsense database exception occurs
 ---

 Key: CONNECTORS-321
 URL: https://issues.apache.org/jira/browse/CONNECTORS-321
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


 The script is the multiprocess-example initialize script.  Here's the 
 exception:
 Successfully registered output connector 
 'org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnector'org.apache.manifoldcf.core.interfaces.ManifoldCFException:
  Database exception: Exception doing query: user lacks privilege or object 
 not found: OUTPUTCONNECTORS
 at 
 org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
 at 
 org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:700)
 at 
 org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1363)
 at 
 org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
 at 
 org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:179)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performModification(DBInterfaceHSQLDB.java:771)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performLock(DBInterfaceHSQLDB.java:213)
 at 
 org.apache.manifoldcf.core.database.BaseTable.performLock(BaseTable.java:65)
 at 
 org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager.registerConnector(OutputConnectorManager.java:161)
 at 
 org.apache.manifoldcf.crawler.RegisterConnectors.registerConnectors(RegisterConnectors.java:250)
 at 
 org.apache.manifoldcf.crawler.InitializeAndRegister.doExecute(InitializeAndRegister.java:56)
 at 
 org.apache.manifoldcf.crawler.InitializeAndRegister.main(InitializeAndRegister.java:73)
 Caused by: java.sql.SQLException: user lacks privilege or object not found: 
 OUTPUTCONNECTORS
 at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
 at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
 at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
 at 
 org.apache.manifoldcf.core.database.Database.execute(Database.java:777)
 at 
 org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:632)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-320) DBCreate on HSQLDB instance operating in external mode fails second time

2011-12-15 Thread Karl Wright (Created) (JIRA)
DBCreate on HSQLDB instance operating in external mode fails second time


 Key: CONNECTORS-320
 URL: https://issues.apache.org/jira/browse/CONNECTORS-320
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


When ManifoldCF is configured to run HSQLDB, if you try to create the database 
twice you get an exception.  This is used during upgrades.  PostgreSQL works 
fine here.  The exception is:

C:\wip\mcf\CONNECTORS-313\dist\multiprocess-exampleinitialize.bat
Configuration file successfully read
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: E
xception doing query: object name already exists: DBNAME
at org.apache.manifoldcf.core.database.Database.executeViaThread(Databas
e.java:672)
at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Dat
abase.java:716)
at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.creat
e(Database.java:1363)
at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndEx
ecute(CacheManager.java:144)
at org.apache.manifoldcf.core.database.Database.executeQuery(Database.ja
va:179)
at org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.createUserAndDa
tabase(DBInterfaceHSQLDB.java:621)
at org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(Man
ifoldCF.java:683)
at org.apache.manifoldcf.crawler.RegisterConnectors.createDatabaseAndSch
ema(RegisterConnectors.java:71)
at org.apache.manifoldcf.crawler.RegisterAll.doExecute(RegisterAll.java:
33)
at org.apache.manifoldcf.crawler.TransactionalCrawlerInitializationComma
nd.execute(TransactionalCrawlerInitializationCommand.java:43)
at org.apache.manifoldcf.crawler.RegisterAll.main(RegisterAll.java:55)
Caused by: java.sql.SQLException: object name already exists: DBNAME
at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
at org.apache.manifoldcf.core.database.Database.execute(Database.java:77
7)
at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(D
atabase.java:632)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-15 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170069#comment-13170069
 ] 

Karl Wright commented on CONNECTORS-313:


I checked in a bunch of new scripts.  I've also switched over to using HSQLDB 
in its multiprocess mode.  In doing so I found another bug - logged as 
CONNECTORS-320.


 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-320) DBCreate on HSQLDB instance operating in external mode fails second time

2011-12-15 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-320.


Resolution: Fixed

 DBCreate on HSQLDB instance operating in external mode fails second time
 

 Key: CONNECTORS-320
 URL: https://issues.apache.org/jira/browse/CONNECTORS-320
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


 When ManifoldCF is configured to run HSQLDB, if you try to create the 
 database twice you get an exception.  This is used during upgrades.  
 PostgreSQL works fine here.  The exception is:
 C:\wip\mcf\CONNECTORS-313\dist\multiprocess-exampleinitialize.bat
 Configuration file successfully read
 org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database 
 exception: E
 xception doing query: object name already exists: DBNAME
 at 
 org.apache.manifoldcf.core.database.Database.executeViaThread(Databas
 e.java:672)
 at 
 org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Dat
 abase.java:716)
 at 
 org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.creat
 e(Database.java:1363)
 at 
 org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndEx
 ecute(CacheManager.java:144)
 at 
 org.apache.manifoldcf.core.database.Database.executeQuery(Database.ja
 va:179)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.createUserAndDa
 tabase(DBInterfaceHSQLDB.java:621)
 at 
 org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(Man
 ifoldCF.java:683)
 at 
 org.apache.manifoldcf.crawler.RegisterConnectors.createDatabaseAndSch
 ema(RegisterConnectors.java:71)
 at 
 org.apache.manifoldcf.crawler.RegisterAll.doExecute(RegisterAll.java:
 33)
 at 
 org.apache.manifoldcf.crawler.TransactionalCrawlerInitializationComma
 nd.execute(TransactionalCrawlerInitializationCommand.java:43)
 at org.apache.manifoldcf.crawler.RegisterAll.main(RegisterAll.java:55)
 Caused by: java.sql.SQLException: object name already exists: DBNAME
 at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
 at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
 at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
 at 
 org.apache.manifoldcf.core.database.Database.execute(Database.java:77
 7)
 at 
 org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(D
 atabase.java:632)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-320) DBCreate on HSQLDB instance operating in external mode fails second time

2011-12-15 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170128#comment-13170128
 ] 

Karl Wright commented on CONNECTORS-320:


r1214707 (trunk)
r1214708 (release branch)


 DBCreate on HSQLDB instance operating in external mode fails second time
 

 Key: CONNECTORS-320
 URL: https://issues.apache.org/jira/browse/CONNECTORS-320
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


 When ManifoldCF is configured to run HSQLDB, if you try to create the 
 database twice you get an exception.  This is used during upgrades.  
 PostgreSQL works fine here.  The exception is:
 C:\wip\mcf\CONNECTORS-313\dist\multiprocess-exampleinitialize.bat
 Configuration file successfully read
 org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database 
 exception: E
 xception doing query: object name already exists: DBNAME
 at 
 org.apache.manifoldcf.core.database.Database.executeViaThread(Databas
 e.java:672)
 at 
 org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Dat
 abase.java:716)
 at 
 org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.creat
 e(Database.java:1363)
 at 
 org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndEx
 ecute(CacheManager.java:144)
 at 
 org.apache.manifoldcf.core.database.Database.executeQuery(Database.ja
 va:179)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.createUserAndDa
 tabase(DBInterfaceHSQLDB.java:621)
 at 
 org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(Man
 ifoldCF.java:683)
 at 
 org.apache.manifoldcf.crawler.RegisterConnectors.createDatabaseAndSch
 ema(RegisterConnectors.java:71)
 at 
 org.apache.manifoldcf.crawler.RegisterAll.doExecute(RegisterAll.java:
 33)
 at 
 org.apache.manifoldcf.crawler.TransactionalCrawlerInitializationComma
 nd.execute(TransactionalCrawlerInitializationCommand.java:43)
 at org.apache.manifoldcf.crawler.RegisterAll.main(RegisterAll.java:55)
 Caused by: java.sql.SQLException: object name already exists: DBNAME
 at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
 at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
 at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
 at 
 org.apache.manifoldcf.core.database.Database.execute(Database.java:77
 7)
 at 
 org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(D
 atabase.java:632)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-319) AgentRun command needs a shutdown hook

2011-12-15 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-319:
---

Priority: Major  (was: Critical)

 AgentRun command needs a shutdown hook
 --

 Key: CONNECTORS-319
 URL: https://issues.apache.org/jira/browse/CONNECTORS-319
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF next


 The AgentRun command does not clean up its agent running lock on ^C.  This 
 means you always have to do a lock clean if you ^C the agents process in a 
 multi-process environment.  I believe that everything else that needs a 
 shutdown hook has one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-319) AgentRun command needs a shutdown hook

2011-12-15 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170185#comment-13170185
 ] 

Karl Wright commented on CONNECTORS-319:


Turns out that the locks are NOT cleaned up on exit anyhow.  So clean shutdown 
is still needed.  Thus this is a much bigger ticket than I originally though, 
so I'm postponing.


 AgentRun command needs a shutdown hook
 --

 Key: CONNECTORS-319
 URL: https://issues.apache.org/jira/browse/CONNECTORS-319
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Critical
 Fix For: ManifoldCF next


 The AgentRun command does not clean up its agent running lock on ^C.  This 
 means you always have to do a lock clean if you ^C the agents process in a 
 multi-process environment.  I believe that everything else that needs a 
 shutdown hook has one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-321) Every other time a multiprocess initialization script is run using HSQLDB, a nonsense database exception occurs

2011-12-15 Thread Karl Wright (Created) (JIRA)
Every other time a multiprocess initialization script is run using HSQLDB, a 
nonsense database exception occurs
---

 Key: CONNECTORS-321
 URL: https://issues.apache.org/jira/browse/CONNECTORS-321
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


The script is the multiprocess-example initialize script.  Here's the 
exception:

Successfully registered output connector 
'org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnector'org.apache.manifoldcf.core.interfaces.ManifoldCFException:
 Database exception: Exception doing query: user lacks privilege or object not 
found: OUTPUTCONNECTORS

at 
org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
at 
org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:700)
at 
org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1363)
at 
org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
at 
org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:179)
at 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performModification(DBInterfaceHSQLDB.java:771)
at 
org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performLock(DBInterfaceHSQLDB.java:213)
at 
org.apache.manifoldcf.core.database.BaseTable.performLock(BaseTable.java:65)
at 
org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager.registerConnector(OutputConnectorManager.java:161)
at 
org.apache.manifoldcf.crawler.RegisterConnectors.registerConnectors(RegisterConnectors.java:250)
at 
org.apache.manifoldcf.crawler.InitializeAndRegister.doExecute(InitializeAndRegister.java:56)
at 
org.apache.manifoldcf.crawler.InitializeAndRegister.main(InitializeAndRegister.java:73)
Caused by: java.sql.SQLException: user lacks privilege or object not found: 
OUTPUTCONNECTORS
at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
at 
org.apache.manifoldcf.core.database.Database.execute(Database.java:777)
at 
org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:632)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (CONNECTORS-321) Every other time a multiprocess initialization script is run using HSQLDB, a nonsense database exception occurs

2011-12-15 Thread Karl Wright (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright reassigned CONNECTORS-321:
--

Assignee: Karl Wright

 Every other time a multiprocess initialization script is run using HSQLDB, a 
 nonsense database exception occurs
 ---

 Key: CONNECTORS-321
 URL: https://issues.apache.org/jira/browse/CONNECTORS-321
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework core
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
Assignee: Karl Wright
Priority: Blocker
 Fix For: ManifoldCF 0.4


 The script is the multiprocess-example initialize script.  Here's the 
 exception:
 Successfully registered output connector 
 'org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnector'org.apache.manifoldcf.core.interfaces.ManifoldCFException:
  Database exception: Exception doing query: user lacks privilege or object 
 not found: OUTPUTCONNECTORS
 at 
 org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:672)
 at 
 org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:700)
 at 
 org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1363)
 at 
 org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:144)
 at 
 org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:179)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performModification(DBInterfaceHSQLDB.java:771)
 at 
 org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performLock(DBInterfaceHSQLDB.java:213)
 at 
 org.apache.manifoldcf.core.database.BaseTable.performLock(BaseTable.java:65)
 at 
 org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager.registerConnector(OutputConnectorManager.java:161)
 at 
 org.apache.manifoldcf.crawler.RegisterConnectors.registerConnectors(RegisterConnectors.java:250)
 at 
 org.apache.manifoldcf.crawler.InitializeAndRegister.doExecute(InitializeAndRegister.java:56)
 at 
 org.apache.manifoldcf.crawler.InitializeAndRegister.main(InitializeAndRegister.java:73)
 Caused by: java.sql.SQLException: user lacks privilege or object not found: 
 OUTPUTCONNECTORS
 at org.hsqldb.jdbc.Util.sqlException(Util.java:255)
 at org.hsqldb.jdbc.JDBCStatement.fetchResult(JDBCStatement.java:1838)
 at org.hsqldb.jdbc.JDBCStatement.execute(JDBCStatement.java:636)
 at 
 org.apache.manifoldcf.core.database.Database.execute(Database.java:777)
 at 
 org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:632)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-15 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-313.


Resolution: Fixed

 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-15 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170339#comment-13170339
 ] 

Karl Wright commented on CONNECTORS-313:


r1214850 (trunk)
r1214851 (release branch)


 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-322) There needs to be a way to obfuscate the database superuser password in the examples

2011-12-15 Thread Karl Wright (Created) (JIRA)
There needs to be a way to obfuscate the database superuser password in the 
examples


 Key: CONNECTORS-322
 URL: https://issues.apache.org/jira/browse/CONNECTORS-322
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Examples
Affects Versions: ManifoldCF 0.4
Reporter: Karl Wright
 Fix For: ManifoldCF next


The example code reads the database superuser password from properties.xml.  
There should be an alternate, obfuscated way to supply it, so it doesn't have 
to be in clear text.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [RESULT][VOTE] Release apache-manifoldcf-solr-3.x-plugin 0.1-incubating

2011-12-15 Thread Karl Wright
Hi Jukka,

 * The release signing guide [1] recommends to have also SHA1 checksums
 for the release.

We'll try to incorporate this in the future.

 * The approach to do an svn checkout as a part of the build is a bit
 troublesome. The build will fail as soon as Lucene rearranges their
 svn tree.

I agree, but it seems the least bad of our choices.  Since we are
building a Lucene/Solr module, our alternatives are: (a) Include the
entire Lucene/Solr tree in our package; (b) Check out a copy of
lucene/solr and put our stuff in and build it; (c) Download a release
source version of Lucene/Solr, unpack it, and then do the same as (b).
 (a) results in a massive package for little gain.  (b) is the
approach I finally took.  And I didn't do (c) because for Lucene/Solr
4.x there is no package to download yet.

 * Would it make sense to contribute this code directly to Solr instead
 of having it in ManifoldCF? Especially since the code has no direct
 ManifoldCF dependencies.

Tried to do this for more than a year.  I had 6 committers willing and
happy to commit, but then another committer vetoed it just before that
happened.  I can name names if you like, but the reason was apparently
that they want Lucene and Solr to become much more minimal than it is
now.  Since the politics and stars were not in alignment, I decided
we'd have to make the best of it somehow.

Karl

On Thu, Dec 15, 2011 at 12:35 PM, Jukka Zitting jukka.zitt...@gmail.com wrote:
 Hi,

 +1 from me too (binding also for the upcoming IPMC vote)

 I checked the apache-manifoldcf-solr-3.x-plugin-0.1-incubating-src.tar.gz
 package with SHA1 checksum 14adbae8c05dc589a707208a172901cddd5c19d5.

 Some comments, none blocking:

 * The release signing guide [1] recommends to have also SHA1 checksums
 for the release.
 * The approach to do an svn checkout as a part of the build is a bit
 troublesome. The build will fail as soon as Lucene rearranges their
 svn tree.
 * Would it make sense to contribute this code directly to Solr instead
 of having it in ManifoldCF? Especially since the code has no direct
 ManifoldCF dependencies.

 [1] http://www.apache.org/dev/release-signing.html

 BR,

 Jukka Zitting


[jira] [Commented] (CONNECTORS-323) *.sh in multiprocess-example doesn't work

2011-12-15 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170683#comment-13170683
 ] 

Karl Wright commented on CONNECTORS-323:


Looks good!
Please go ahead and commit.


 *.sh in multiprocess-example doesn't work
 -

 Key: CONNECTORS-323
 URL: https://issues.apache.org/jira/browse/CONNECTORS-323
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTORS-323.patch


 *.sh in multiprocess-example doesn't work.Here is a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (CONNECTORS-323) *.sh in multiprocess-example doesn't work

2011-12-15 Thread Karl Wright (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13170683#comment-13170683
 ] 

Karl Wright edited comment on CONNECTORS-323 at 12/16/11 1:58 AM:
--

Looks good!
Please go ahead and commit to trunk.  I'll pull it up to the release branch.


  was (Author: kwri...@metacarta.com):
Looks good!
Please go ahead and commit.

  
 *.sh in multiprocess-example doesn't work
 -

 Key: CONNECTORS-323
 URL: https://issues.apache.org/jira/browse/CONNECTORS-323
 Project: ManifoldCF
  Issue Type: Bug
  Components: Framework agents process
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTORS-323.patch


 *.sh in multiprocess-example doesn't work.Here is a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169181#comment-13169181
 ] 

Karl Wright commented on CONNECTORS-313:


Do you think we should also have a script delivered in dist/multi that does all 
of the setup, such as setting MCF_HOME and calling all the right commands to 
initialize the database?


 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF next

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169359#comment-13169359
 ] 

Karl Wright commented on CONNECTORS-313:


r1214242 to add support scripts for starting and stopping agents process


 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF next

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169366#comment-13169366
 ] 

Karl Wright commented on CONNECTORS-313:


The changes included in this ticket reduce the overall size of our binary 
distribution significantly.  This is a good reason to consider including it in 
the 0.4-incubating release, since it will offset a lot of the growth that has 
taken place as a result of the alfresco connector being added.

 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF next

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-317) minor GUI improvement for jcifs connector

2011-12-14 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169376#comment-13169376
 ] 

Karl Wright commented on CONNECTORS-317:


Hi Martin,

There is no style called operation in the current style sheet.  Is there more 
to this patch you may have inadvertantly missed?


 minor GUI improvement for jcifs connector
 -

 Key: CONNECTORS-317
 URL: https://issues.apache.org/jira/browse/CONNECTORS-317
 Project: ManifoldCF
  Issue Type: Improvement
  Components: JCIFS connector
Reporter: Martin Goldhahn
Priority: Trivial
 Attachments: SharedDriveConnector.java.patch


 The table on Paths tab (in edit job for jcifs connector) looks strange.
 The Add and Delete button should be aligned, i.e. in the first column. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-316) Update all version numbers to 0.5

2011-12-14 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-316.


Resolution: Fixed

r1214402


 Update all version numbers to 0.5
 -

 Key: CONNECTORS-316
 URL: https://issues.apache.org/jira/browse/CONNECTORS-316
 Project: ManifoldCF
  Issue Type: Task
  Components: Build, Documentation
Affects Versions: ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


 Documentation and version numbers all need updating, now that 0.4-incubating 
 has branched.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated CONNECTORS-313:
---

Fix Version/s: (was: ManifoldCF next)
   ManifoldCF 0.4

I think we are almost done with this, so let's try to pull it into 
0.4-incubating.

 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169916#comment-13169916
 ] 

Karl Wright commented on CONNECTORS-313:


I think I see the problem.  The class extends 
TransactionalCrawlerInitializationCommand, which presumes that the database 
instance already exists.  I don't think you'll be able to extend that class.

I don't think it is necessary to do everything in one class anyway.  The only 
new command functionality is the part that reads connectors.xml and registers 
the connectors.  If you create a command that does just that, and a script that 
calls DBCreate, Initialize, RegisterAgent, and that, I think that would be fine.


 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169916#comment-13169916
 ] 

Karl Wright edited comment on CONNECTORS-313 at 12/15/11 2:05 AM:
--

I think I see the problem.  The class extends 
TransactionalCrawlerInitializationCommand, which presumes that the database 
instance already exists.  I don't think you'll be able to extend that class if 
you are attempting database creation.

I don't think it is necessary to do everything in one class anyway.  The only 
new command functionality is the part that reads connectors.xml and registers 
the connectors.  If you create a command that does just that, and a script that 
calls DBCreate, Initialize, RegisterAgent, and that, I think that would be fine.


  was (Author: kwri...@metacarta.com):
I think I see the problem.  The class extends 
TransactionalCrawlerInitializationCommand, which presumes that the database 
instance already exists.  I don't think you'll be able to extend that class.

I don't think it is necessary to do everything in one class anyway.  The only 
new command functionality is the part that reads connectors.xml and registers 
the connectors.  If you create a command that does just that, and a script that 
calls DBCreate, Initialize, RegisterAgent, and that, I think that would be fine.

  
 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169950#comment-13169950
 ] 

Karl Wright commented on CONNECTORS-313:


Oh, noticed one other thing.  There's no un-registration of connectors.  This 
is necessary because otherwise it is impossible to remove a connector using 
just RegisterAll.  If you look at what the single process example does, it 
first deregisters all connectors before registering the new ones, for this 
reason.


 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (CONNECTORS-313) An example multi-process properties.xml delivered to the dist folder would be very helpful

2011-12-14 Thread Karl Wright (Issue Comment Edited) (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13169950#comment-13169950
 ] 

Karl Wright edited comment on CONNECTORS-313 at 12/15/11 3:12 AM:
--

Oh, noticed one other thing.  There's no un-registration of connectors.  This 
is necessary because otherwise it is impossible to remove a connector using 
just RegisterAll.  If you look at what the single process example does, it 
first deregisters all connectors before registering the new ones, for this 
reason.

You may think that this is never going to happen with RegisterAll, but actually 
RegisterAll will be called not just for fresh installs but also for upgrades.


  was (Author: kwri...@metacarta.com):
Oh, noticed one other thing.  There's no un-registration of connectors.  
This is necessary because otherwise it is impossible to remove a connector 
using just RegisterAll.  If you look at what the single process example does, 
it first deregisters all connectors before registering the new ones, for this 
reason.

  
 An example multi-process properties.xml delivered to the dist folder would 
 be very helpful
 

 Key: CONNECTORS-313
 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Build
Affects Versions: ManifoldCF 0.4
Reporter: Shinichiro Abe
Assignee: Shinichiro Abe
Priority: Minor
 Fix For: ManifoldCF 0.4

 Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
 register-draft.sh


 The multiprocess setup does not have an example properties.xml file.  We 
 should deliver one, in the right place so that all the scripts find it (the 
 dist directory).  It would also be helpful to deliver into this directory 
 scripts for:
 - Registering all the connectors that were built
 - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [VOTE] Release apache-manifoldcf-solr-3.x-plugin 0.1-incubating

2011-12-13 Thread Karl Wright
It's released based on the code in the current 3.x-dev branch.  They
are about to release 3.6, and it is built within Solr/Lucene as a
module, so that is the number it gets.

Karl

On Tue, Dec 13, 2011 at 4:55 AM, Shinichiro Abe
shinichiro.ab...@gmail.com wrote:
 Is it correct version of jar file? 3.5 is correct, isn't it ?

 apache-solr-mcf-3.6-SNAPSHOT.jar

 Shinichiro Abe

 On 2011/12/09, at 19:09, Karl Wright wrote:

 I've uploaded an apache-manifoldcf-solr-3.x-plugin-0.1-incubating
 package which you can download from http://people.apache.org/~kwright.
 If you agree this should be released please vote +1.

 Karl



<    2   3   4   5   6   7   8   9   10   11   >