You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/08/29 14:24:15 UTC

DO NOT REPLY [Bug 40346] New: - uuid migration for default publication fails (OSX 10.4.7 java 1.5)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346

           Summary: uuid migration for default publication fails (OSX 10.4.7
                    java 1.5)
           Product: Lenya
           Version: Trunk
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Default Publication
        AssignedTo: dev@lenya.apache.org
        ReportedBy: ragaller@null-oder-eins.ch


After a clean checkout (rev 43802 date 060829) under osx java 1.5 I did the
following steps in order to convert the default pub to uuid

- ./build.sh
- ./build.sh --noconfig module.test -Dmodule=org.apache.lenya.modules.migration

The error(s) I get executing to above command:

Copying 1 file to
/Users/ragaller/lenya/lenya_14x/build/lenya/modules/org.apache.lenya.modules.migration/java/test
Running org.apache.lenya.cms.migration.MigrateUuidsTest
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
[WARNING] Node equals OwnerDocument: default:archive:
[WARNING] Node equals OwnerDocument: default:authoring:
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 23,643 sec
Testsuite: org.apache.lenya.cms.migration.MigrateUuidsTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 23,643 sec
------------- Standard Output ---------------
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
[WARNING] Node equals OwnerDocument: default:archive:
[WARNING] Node equals OwnerDocument: default:authoring:
[WARNING] Assuming non-UUID content because no 'uuid' attribute is set and the
node contains links. Returning path [/index] as UUID.
------------- ---------------- ---------------
Testcase: testMigrateUuids took 19,505 sec
        Caused an ERROR
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
org.apache.lenya.cms.repository.RepositoryException:
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
        at
org.apache.lenya.cms.repository.SourceNode.isCheckedOut(SourceNode.java:171)
        at org.apache.lenya.cms.repository.SourceNode.lock(SourceNode.java:400)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.migrateDocument(MigrateUuidsTest.java:134)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.migrateArea(MigrateUuidsTest.java:91)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.migratePublication(MigrateUuidsTest.java:72)
        at
org.apache.lenya.cms.migration.MigrateUuidsTest.testMigrateUuids(MigrateUuidsTest.java:61)
Caused by: javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:263)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:296)
        at
org.apache.lenya.xml.DocumentHelper.writeDocument(DocumentHelper.java:198)
        at org.apache.lenya.cms.rc.RCML.write(RCML.java:154)
        at org.apache.lenya.cms.rc.RCML.<init>(RCML.java:113)
        at
org.apache.lenya.cms.rc.RevisionController.isCheckedOut(RevisionController.java:170)
        at
org.apache.lenya.cms.repository.SourceNode.isCheckedOut(SourceNode.java:169)
        ... 42 more
Caused by: java.io.FileNotFoundException:
file:/Users/ragaller/lenya/lenya_14x/build/lenya/webapp/lenya/pubs/default/content/rcml/content/authoring/sitetree.xml.rcml
(No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:253)
        ... 48 more

BUILD FAILED
/Users/ragaller/lenya/lenya_14x/src/targets/modules-build.xml:105: The following
error occurred while executing this line:
/Users/ragaller/lenya/lenya_14x/build/lenya/temp/modules-build.xml:1236: Test
org.apache.lenya.cms.migration.MigrateUuidsTest failed

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40346] - uuid migration for default publication fails (OSX 10.4.7 java 1.5)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346





------- Additional Comments From ragaller@null-oder-eins.ch  2006-08-29 14:06 -------
(In reply to comment #3)
> (In reply to comment #2)
> > BTW, to downgrade you have to set JAVA_HOME to something like
> > 
> > /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home
> 
> Just did that - and... jep the conversion works fine with java 1.4 (guess the
> Warnings are normal). So clearly a java 1.5 (osx) bug.

correction: java 1.5 related bug.

> 
> Thank You for the pointer (and the JAVA_HOME hint)



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40346] - uuid migration for default publication fails (OSX 10.4.7 java 1.5)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346





------- Additional Comments From andreas@apache.org  2006-08-29 12:59 -------
BTW, to downgrade you have to set JAVA_HOME to something like

/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40346] - uuid migration for default publication fails (OSX 10.4.7 java 1.5)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346





------- Additional Comments From ragaller@null-oder-eins.ch  2006-08-29 14:04 -------
(In reply to comment #2)
> BTW, to downgrade you have to set JAVA_HOME to something like
> 
> /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home

Just did that - and... jep the conversion works fine with java 1.4 (guess the
Warnings are normal). So clearly a java 1.5 (osx) bug.

Thank You for the pointer (and the JAVA_HOME hint)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40346] - uuid migration for default publication fails (OSX 10.4.7 java 1.5)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From andreas@apache.org  2006-12-12 06:56 -------
The UUID migration has been superceded by the "import example content"
functionality.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40346] - uuid migration for default publication fails (OSX 10.4.7 java 1.5)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40346





------- Additional Comments From andreas@apache.org  2006-08-29 12:52 -------
Does it work with Java 1.4?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org