When moving a project, if the projects security groups reference a peer security group, the reference to the old security group is maintained, but not visible, or maintainable. This causes an error. To fix this, you must recreate the security group in the old location, then delete it from the security groups that referrence it. It will be easier to locate the security groups that referrence it, if when you create it, you give the security group a recognizable name (the security group url).
Exceptions relating to this issue.
Error in getProject : Error in lookup : Error in checkSecurity : Error in checkSecurity : error in MembershipService.canMapConnectedResource(/users/guest,/projects/protected/nvsCorp/observers)
Error in getProject : Error in lookup : Error in checkSecurity : Error in checkSecurity : error in MembershipService.canMapConnectedResource(/users/guest,/projects/protected/nvsCorp/observers)
Caused by : Error in lookup : Error in checkSecurity : Error in checkSecurity : error in MembershipService.canMapConnectedResource(/users/guest,/projects/protected/nvsCorp/observers)
Caused by : Error in checkSecurity : Error in checkSecurity : error in MembershipService.canMapConnectedResource(/users/guest,/projects/protected/nvsCorp/observers)
Caused by : Error in checkSecurity : error in MembershipService.canMapConnectedResource(/users/guest,/projects/protected/nvsCorp/observers)
Caused by : error in MembershipService.canMapConnectedResource(/users/guest,/projects/protected/nvsCorp/observers)
Caused by : URI ls://localhost:9000/projects/nvsCorp/writers does not exist
And.........................
javax.servlet.ServletException: javax.servlet.jsp.el.ELException: An error occurred while evaluating function "ls:menu"
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:844)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.pages.decorators.main_jsp._jspService(org.apache.jsp.pages.decorators.main_jsp:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
org.libresource.web.filters.SiteMeshFilter.doFilter(Unknown Source)
sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
java.security.AccessController.doPrivileged(Native Method)
org.libresource.web.filters.SecurityFilter.doFilter(Unknown Source)
sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
root cause
org.libresource.kernel.KernelServiceException: Error in getProperty : Error in checkSecurity : Error in checkSecurity : error in MembershipService.canMapConnectedResource(/users/rodcon,/projects/protected/meaningMentor/windowsMentor/developers)
org.libresource.kernel.ejb.KernelServiceBean.getProperty(KernelServiceBean.java:1790)
org.objectweb.jonas_gen.org.libresource.kernel.interfaces.JOnASKernelService_861693235Remote.getProperty(JOnASKernelService_861693235Remote.java:172)
org.libresource.web.taglibs.JspFunctions.menu(Unknown Source)
sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:172)
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:922)
org.apache.jsp.pages.decorators.main_jsp._jspx_meth_c_when_2(org.apache.jsp.pages.decorators.main_jsp:953)
org.apache.jsp.pages.decorators.main_jsp._jspx_meth_c_choose_2(org.apache.jsp.pages.decorators.main_jsp:912)
org.apache.jsp.pages.decorators.main_jsp._jspService(org.apache.jsp.pages.decorators.main_jsp:249)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
org.libresource.web.filters.SiteMeshFilter.doFilter(Unknown Source)
sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
java.security.AccessController.doPrivileged(Native Method)
org.libresource.web.filters.SecurityFilter.doFilter(Unknown Source)
sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
Macro | Description | Parameters |
---|
api | Generates links to Java or Ruby API documentation. | 1: class name, e.g. java.lang.Object or java.lang.Object@Java131 2: mode, e.g. Java12, Ruby, defaults to Java (optional)
|
asin | Generates links to DVD/CD dealers or comparison services. Configuration is read from conf/asinservices.txt | 1: asin number
|
blink | Blink a text. | the text
|
bookmarks | Display the user bookmarks. | none |
box | Create a box in order to change the basic disposition. | 1. the box title (optional) 2. the floating behaviour (left or right) (optional) 3. the height of the box (px,%) (optional) 4. the width of the box (px,%) (optional)
|
children | Display the current children list. | 1. uri= ...(optional) where you list the resources, the default uri is the current 2. groupby=… (optional) to group resources.The following value are available : type or owner or uri or creation or update or name 3. sort=… (optional) to sort resources. The values available are : type or owner or uri or creation or update or name 4. creation=...(optional) allows you to filter on the creation date. The values available are: Date (dd/MM/yyyy) or '+'/'-'/'!' followed by a Date(dd/MM/yyyy): allows to keep superior/inferior/exclude date 5. update=...(optional) allows you to filter on the modification date. The values available are: Date (dd/MM/yyyy) or '+'/'-'/'!' followed by a Date(dd/MM/yyyy): allows to keep superior/inferior/exclude date 6. type=...(optional) :allows you to filter resources with its type. The values available are : Project, Template, Timeline, Page, Repository, File, Forum, Thread, Message, Group, Synchronizer, BugTracker, Issue, Site, Survey, Form, DropBox 7. owner=...(optional):allows you to show only resources belonging to one user or many users. 8. limit=...(optional): allows you to limit the displayed resources 9. depth=...(optional): allows you to fix the depth of listed ressources 10. view=...(optional): to fix the view of displayed resources. The view available are : flat (default view) or count(to display the number of listed ressources) or tree(display resource following tree viewer)
|
code | Displays a chunk of code with syntax highlighting, for example Java, XML and SQL. The none type will do nothing and is useful for unknown code types. | 1: syntax highlighter to use, defaults to java (optional)
|
hello | Say hello example macro. | 1: name to print
|
html | By pass wiki engine to allow HTML code in content | the html block
|
api-docs | Displays a list of known online API documentations and mappings. | none |
file-path | Displays a file system path. The file path should use slashes. Defaults to windows. | 1: file path
|
image | Display an image. | 1. the image URI 2. align (right ,left or center) (optional) 3. width (optional) 4. height (optional)
|
inter-wiki | Displays a list of known InterWiki mappings. | none
|
isbn | Generates links to book dealers or comparison services. Configuration is read from conf/bookservices.txt. | 1: isbn number
|
link | Generate a weblink. | unexplained, lazy programmer, probably
|
list-of-macros | Displays a list of available macros. | unexplained, lazy programmer, probably
|
loginBox | Display a login box. | none |
mailto | Displays an email address. | 1: mail address
|
menu | Include the menu of the specified URI | 1. The uri for the menu to be include
|
news | Display a message thread as news. | 1. the thread URI 2. Max (optional)
|
pre | Allow rigid text style. (Keep text formating) | none |
printField | Display a node forms fields values. | 1. (uri=) The uri on which you want to get the form value (Optional, by default=.) 2. (print=) Print or not the field label and the field value (Optional, by default=label, value, edit) 3. (field=) Print or not the specified field (Optional, by default will print all)
|
quote | Display quotations. | 1: source (optional) 2: displayed description, default is Source (optional)
|
quoteMessage | Quote a message in another message by referencing only the message URI. | 1. The message URI to quote.
|
resource | Include the view of a LibreSource resource. | 1. the uri of the resource (mandatory) 2. the view (optional) 3. the action (optional) 4. noaction (optional)
|
rfc | Generates links to RFCs. | unexplained, lazy programmer, probably
|
rss | Include an RSS feed. | 1. the url of the rss feed (mandatory)
|
searchBox | Display a search box. | 1. the URI pattern
|
subProjects | Display the current subProjects list. | none |
summary | Create the summary of a wiki page. | 1. the page URI (optional)
|
survey | Display results of a survey. | the survey URI
|
table | Displays a table. | none |
tableForm | Display a table listing form results. | 1. (uri=) The uri on which you want to get the form value (Optional, by default use the local path) 2. (print=) Print additinal features such as a link to the data (goLink) or a link to get a CSV file (csvExport) (Optional, by default print all) 3. (field=) The list of field to show (Optional by default all)
|
timeline | Display the first items of a timeline. | 1. the timeline URI 2. Max items (optional)
|
user | Generate a link to the current user page, according 'action'. | 1. the action (optional) 2. the link label (optional)
|
workspaces | Display the user workspaces. | none |
xref | Generates links to Java Xref source code. | 1: class name, e.g. java.lang.Object or java.lang.Object@Nanning 2: line number (optional)
|