Hi,
I tried 2.1.3 POST branch and performed the following to test import and
export functionality
* Developed a portlet application that invoke PageImporter.java api to
export(full) the pages from Database to file system. The pages were
successfully exported to file system.
* Made a change to one of the psml file
* Tried import(full) of the pages from file system to database. The change was
successfully imported but I noticed an exception in console. I've attached a
snippet of the exception to this email. I did't get the concurrent modification
exception this time. Please let me know why the import is raising a security
exception and if any resolution.
Regards
Balaji
--- On Tue, 6/2/09, Balaji Chockalingam <[email protected]> wrote:
From: Balaji Chockalingam <[email protected]>
Subject: Re: Jira Ticket JS2-761- Portal Fail To Come Up
To: "Jetspeed Users List" <[email protected]>
Date: Tuesday, June 2, 2009, 4:09 PM
Randy,
Thanks for your response. I'll test 2.1.3 POST branch and let you know. I've
attached the exception in this email. I added the following bean definition in
/assembly/cache.xml, for back backward compatibility of the 'Concurrement
Modification Exception' change.
pageManagerOidCache
pageManagerPathCache
ehPageManagerOidCache
ehPageManagerPathCache
Regards
Balaji
--- On Tue, 6/2/09, [email protected] <[email protected]> wrote:
From: [email protected] <[email protected]>
Subject: Re: Jira Ticket JS2-761- Portal Fail To Come Up
To: "Jetspeed Users List" <[email protected]>
Date: Tuesday, June 2, 2009, 1:56 PM
Balaji,
I would think that the changes discussed here are complementary. If we were to
address this by moving 2.2 work to 2.1.X, it would be done in the 2.1.3-POST
branch. Would you consider using the 2.1.3-POST branch in its entirety?
Also, posting errors you received, both the original CME and bean init errors,
might be helpul to us.
Randy
--- [email protected] wrote:
From: Balaji Chockalingam <[email protected]>
To: [email protected]
Subject: Jira Ticket JS2-761- Portal Fail To Come Up
Date: Tue, 2 Jun 2009 08:43:03 -0700 (PDT)
Hi,
Recently I received ‘Concurrent Modification
exception’ when I tried to export psml pages from portal database to file
system. I found a similar issue addressed in JIRA ticket
https://issues.apache.org/jira/browse/JS2-761. But this fix is applied only to
the trunk and I believe it will be available in the latest release 2.2.
I'm using Jetspeed portal version 2.1.3 along with the fix from database page
manager cache where it’s been refactored to use ehcache from 2.1.3-POSTRELEASE.
To resolve the issue of concurrent modification exception, I downloaded the
files listed in JIRA ticket JS2-761, and merged it with the version we have.
After merge, I try to bring up tomcat, found that the changes made to
fix concurrent modification exception issue are not backward compatible, and so
the portal fails to come up, since several beans fail to initialize.
Please let me know if
changes listed in JIRA ticket JS2-761 can work with the version I use(2.1.3 +
fix from database page manager cache refactored to use ehcache from 2.1.3
POSTRELEASE)
Thanks & Regards
Balaji
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
importing new link /__subsite-root/google-subsite-root.link
java.lang.SecurityException: SecurityConstraintsImpl.checkConstraints(): Access
for edit not permitted.
at org.apache.jetspeed.om.page.impl.SecurityConstraintsImpl.checkConstra
ints(SecurityConstraintsImpl.java:176)
at org.apache.jetspeed.page.document.impl.NodeImpl.checkConstraints(Node
Impl.java:247)
at org.apache.jetspeed.om.page.impl.BaseElementImpl.checkConstraints(Bas
eElementImpl.java:403)
at org.apache.jetspeed.om.page.impl.BaseElementImpl.checkAccess(BaseElem
entImpl.java:466)
at org.apache.jetspeed.page.impl.DatabasePageManager.updateLink(Database
PageManager.java:1399)
at org.apache.jetspeed.page.PageImporter.importFolder(PageImporter.java:
223)
at org.apache.jetspeed.page.PageImporter.importFolder(PageImporter.java:
232)
at org.apache.jetspeed.page.PageImporter.fullImport(PageImporter.java:12
2)
at org.apache.jetspeed.layout.impl.ExportObject.run(ExportObject.java:87
)
at org.apache.jetspeed.ajax.AjaxRequestServiceImpl.processAction(AjaxReq
uestServiceImpl.java:165)
at org.apache.jetspeed.ajax.AjaxRequestServiceImpl.process(AjaxRequestSe
rviceImpl.java:128)
at org.apache.jetspeed.layout.impl.LayoutValve.invoke(LayoutValve.java:4
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]