Graduation-related tickets

2012-05-21 Thread Karl Wright
Hi all,

The Apache IT folks have an additional requirement which we will need
to fulfill at some point as part of the graduation process.  It is
apparently a requirement that at least the site be completely
buildable using only materials that we can obtain a zero-cost license
for.  We've been publishing our site including javadoc including the
documentum, filenet, livelink, and meridio connectors, which
technically violates this principle.

There are two ways to address the problem.  The first way is to check
into trunk somewhere the javadocs, and periodically regenerate/check
in changes.  The second way is to write stubs for all of the
proprietary libraries, and build and javadoc against those stubs
rather than against the actual libraries themselves.

After thinking about this a while, I concluded that it might be
feasible to create stubs, and there would be additional benefits to
the approach.  Specifically, it would no longer be necessary for our
release engineer to obtain the necessary proprietary materials in
order to produce a release, and that would be a huge benefit in the
long run.  Also, Apache IT communicated that they were concerned that
some of the proprietary materials might have javadoc restrictions such
that we could not legally release javadoc for code that compiled
against these jars.  I do not think this is true but in the interests
of trying to be a good Apache citizen we should eliminate this concern
if it is reasonably possible to do so.

I've therefore created a ticket, CONNECTORS-474, and a corresponding
branch, and am working away on this.  It will, of course, take some
time.  There will also need to be some testing of the proprietary
connectors needed before the branch is committed, because building
against stubs might inadvertantly introduce linkage errors.  In the
interim I've been assured that the migration to our TLP resources will
continue as planned.

Thanks,
Karl


[jira] [Commented] (CONNECTORS-474) Create build stubs for all proprietary connectors

2012-05-21 Thread Karl Wright (JIRA)

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

Karl Wright commented on CONNECTORS-474:


Completed Documentum stubs; working now on FileNet.


 Create build stubs for all proprietary connectors
 -

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


 If we create build stubs for all connectors with proprietary dependencies, 
 then anyone will be able to build a bin release or the website.

--
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-476) When running on MySQL initialize.sh causes access denied error

2012-05-21 Thread Shigeki Kobayashi (JIRA)
Shigeki Kobayashi created CONNECTORS-476:


 Summary: When running on MySQL initialize.sh causes access denied 
error
 Key: CONNECTORS-476
 URL: https://issues.apache.org/jira/browse/CONNECTORS-476
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Framework core
Affects Versions: ManifoldCF 0.5
Reporter: Shigeki Kobayashi


initialize.sh causes access denied error if DB server is seperated from MCF's.

Suppose each server's IP are like followings:

MySQL Server IP: A
MCF Server IP: B

and properties.xml has the follwing parameters and values:

 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=password/
 property name=org.apache.manifoldcf.database.name value=manifoldcf/
 property name=org.apache.manifoldcf.mysql.server value=A/

Then, executing initialize.sh causes the follwing error:

Caused by: java.sql.SQLException: Access denied for user 'manifoldcf'@'B' 
(using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
at 
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:792)
at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

The problem is that MCF requests MySQL to create a new manifoldcf user with 
localhost access.
In this case, of course, MCF is on the server with IP B, MySQL should create a 
new user with IP Address B.

The following method is the one creating a new MySQL user in the user table. 
Modifying the part where IP information is added solves this problem.


JAR NAME   :mcf-core.jar
PACKAGE:org.apache.manifoldcf.core.database
CLASS NAME :DBInterfaceMySQL
METHOD NAME: public void createUserAndDatabase

if(userName != null)
try
{
list.clear();
list.add(userName);
 // list.add(localhost);
list.add(IP_ADDRESS_B);
list.add(password);
 ...
 ...
}


I guess it would be nice if properties.xml can have a new property taking MCF 
server IP to
have MySQL create a manifoldcf user with that IP.

--
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-476) When running on MySQL initialize.sh causes access denied error

2012-05-21 Thread Karl Wright (JIRA)

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

Karl Wright updated CONNECTORS-476:
---

Description: 
initialize.sh causes access denied error if DB server is seperated from MCF's.

Suppose each server's IP are like followings:

MySQL Server IP: A
MCF Server IP: B

and properties.xml has the follwing parameters and values:

{code}
 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=password/
 property name=org.apache.manifoldcf.database.name value=manifoldcf/
 property name=org.apache.manifoldcf.mysql.server value=A/
{code}

Then, executing initialize.sh causes the follwing error:

{code}
Caused by: java.sql.SQLException: Access denied for user 'manifoldcf'@'B' 
(using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
at 
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:792)
at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
{code}

The problem is that MCF requests MySQL to create a new manifoldcf user with 
localhost access.
In this case, of course, MCF is on the server with IP B, MySQL should create a 
new user with IP Address B.

The following method is the one creating a new MySQL user in the user table. 
Modifying the part where IP information is added solves this problem.


JAR NAME   :mcf-core.jar
PACKAGE:org.apache.manifoldcf.core.database
CLASS NAME :DBInterfaceMySQL
METHOD NAME: public void createUserAndDatabase

{code}
if(userName != null)
try
{
list.clear();
list.add(userName);
 // list.add(localhost);
list.add(IP_ADDRESS_B);
list.add(password);
 ...
 ...
}
{code}

I guess it would be nice if properties.xml can have a new property taking MCF 
server IP to
have MySQL create a manifoldcf user with that IP.

  was:
initialize.sh causes access denied error if DB server is seperated from MCF's.

Suppose each server's IP are like followings:

MySQL Server IP: A
MCF Server IP: B

and properties.xml has the follwing parameters and values:

 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=password/
 property name=org.apache.manifoldcf.database.name value=manifoldcf/
 property name=org.apache.manifoldcf.mysql.server value=A/

Then, executing initialize.sh causes the follwing error:

Caused by: java.sql.SQLException: Access denied for user 'manifoldcf'@'B' 
(using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
at 
com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:792)
at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

The problem is that MCF requests MySQL to create a new manifoldcf user with 
localhost access.
In this case, of course, MCF is on the server with IP B, MySQL should create a 
new user with IP Address B.

The following 

[jira] [Updated] (CONNECTORS-476) When running on MySQL initialize.sh causes access denied error

2012-05-21 Thread Karl Wright (JIRA)

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

Karl Wright updated CONNECTORS-476:
---

Affects Version/s: ManifoldCF 0.6
Fix Version/s: ManifoldCF 0.6
 Assignee: Karl Wright

 When running on MySQL initialize.sh causes access denied error
 --

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


 initialize.sh causes access denied error if DB server is seperated from MCF's.
 Suppose each server's IP are like followings:
 MySQL Server IP: A
 MCF Server IP: B
 and properties.xml has the follwing parameters and values:
 {code}
  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=password/
  property name=org.apache.manifoldcf.database.name value=manifoldcf/
  property name=org.apache.manifoldcf.mysql.server value=A/
 {code}
 Then, executing initialize.sh causes the follwing error:
 {code}
 Caused by: java.sql.SQLException: Access denied for user 'manifoldcf'@'B' 
 (using password: YES)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
 at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
 at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
 at 
 com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
 at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
 at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:792)
 at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
 Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 {code}
 The problem is that MCF requests MySQL to create a new manifoldcf user with 
 localhost access.
 In this case, of course, MCF is on the server with IP B, MySQL should create 
 a new user with IP Address B.
 The following method is the one creating a new MySQL user in the user table. 
 Modifying the part where IP information is added solves this problem.
 JAR NAME   :mcf-core.jar
 PACKAGE:org.apache.manifoldcf.core.database
 CLASS NAME :DBInterfaceMySQL
 METHOD NAME: public void createUserAndDatabase
 {code}
 if(userName != null)
 try
 {
 list.clear();
 list.add(userName);
  // list.add(localhost);
 list.add(IP_ADDRESS_B);
 list.add(password);
...
...
   }
 {code}
 I guess it would be nice if properties.xml can have a new property taking MCF 
 server IP to
 have MySQL create a manifoldcf user with that IP.

--
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-476) When running on MySQL initialize.sh causes access denied error

2012-05-21 Thread Karl Wright (JIRA)

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

Karl Wright commented on CONNECTORS-476:


r1341288.


 When running on MySQL initialize.sh causes access denied error
 --

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


 initialize.sh causes access denied error if DB server is seperated from MCF's.
 Suppose each server's IP are like followings:
 MySQL Server IP: A
 MCF Server IP: B
 and properties.xml has the follwing parameters and values:
 {code}
  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=password/
  property name=org.apache.manifoldcf.database.name value=manifoldcf/
  property name=org.apache.manifoldcf.mysql.server value=A/
 {code}
 Then, executing initialize.sh causes the follwing error:
 {code}
 Caused by: java.sql.SQLException: Access denied for user 'manifoldcf'@'B' 
 (using password: YES)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
 at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
 at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
 at 
 com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
 at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
 at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:792)
 at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
 Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 {code}
 The problem is that MCF requests MySQL to create a new manifoldcf user with 
 localhost access.
 In this case, of course, MCF is on the server with IP B, MySQL should create 
 a new user with IP Address B.
 The following method is the one creating a new MySQL user in the user table. 
 Modifying the part where IP information is added solves this problem.
 JAR NAME   :mcf-core.jar
 PACKAGE:org.apache.manifoldcf.core.database
 CLASS NAME :DBInterfaceMySQL
 METHOD NAME: public void createUserAndDatabase
 {code}
 if(userName != null)
 try
 {
 list.clear();
 list.add(userName);
  // list.add(localhost);
 list.add(IP_ADDRESS_B);
 list.add(password);
...
...
   }
 {code}
 I guess it would be nice if properties.xml can have a new property taking MCF 
 server IP to
 have MySQL create a manifoldcf user with that IP.

--
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-476) When running on MySQL initialize.sh causes access denied error

2012-05-21 Thread Karl Wright (JIRA)

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

Karl Wright resolved CONNECTORS-476.


Resolution: Fixed

 When running on MySQL initialize.sh causes access denied error
 --

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


 initialize.sh causes access denied error if DB server is seperated from MCF's.
 Suppose each server's IP are like followings:
 MySQL Server IP: A
 MCF Server IP: B
 and properties.xml has the follwing parameters and values:
 {code}
  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=password/
  property name=org.apache.manifoldcf.database.name value=manifoldcf/
  property name=org.apache.manifoldcf.mysql.server value=A/
 {code}
 Then, executing initialize.sh causes the follwing error:
 {code}
 Caused by: java.sql.SQLException: Access denied for user 'manifoldcf'@'B' 
 (using password: YES)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
 at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
 at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
 at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
 at 
 com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
 at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
 at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:792)
 at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
 Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 {code}
 The problem is that MCF requests MySQL to create a new manifoldcf user with 
 localhost access.
 In this case, of course, MCF is on the server with IP B, MySQL should create 
 a new user with IP Address B.
 The following method is the one creating a new MySQL user in the user table. 
 Modifying the part where IP information is added solves this problem.
 JAR NAME   :mcf-core.jar
 PACKAGE:org.apache.manifoldcf.core.database
 CLASS NAME :DBInterfaceMySQL
 METHOD NAME: public void createUserAndDatabase
 {code}
 if(userName != null)
 try
 {
 list.clear();
 list.add(userName);
  // list.add(localhost);
 list.add(IP_ADDRESS_B);
 list.add(password);
...
...
   }
 {code}
 I guess it would be nice if properties.xml can have a new property taking MCF 
 server IP to
 have MySQL create a manifoldcf user with that IP.

--
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