Re: Cannot delete attachments and SecurityConfig.jsp java exception
Wyllys Ingersoll <[email protected]>
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Janne Jalkanen wrote:
>
> Hm... Try setting java.security.auth.login.config manually at startup
> to see if that helps. Also, it would be good to know what your log
> file says on what it thinks the jspwiki.policy file is that it is
> reading.
>
> There have also been some reports on 2.4 having issues with wiki names
> that have spaces in them, so check that too. 2.5 is not susceptible
> to this anyway.
>
> /Janne
>
I was able to fix the attachment problem. There are 2 JSPWiki apps
running on my server. Sun Java WebServer 6.1 only processes 1
security.auth.login.config file and I finally figured out that it was
processing the one that did not have the right settings. I fixed it so that
both of my wiki's now reference a single, global policy file and now all
is good for both of them.
I still cannot run the admin/SecurityConfig.jsp program, though, which
is strange because the log files show that
the policy file is being processed at startup, but for some reason
SecurityConfig.jsp doesn't know about it.
-Wyllys
> On 3 Aug 2007, at 19:14, Wyllys Ingersoll wrote:
>
>>
>> I am running 2.4.100 on Sun Webserver 6.1 and I cannot delete any
>> attachments. I am a member of the Admin group and my Admin group is
>> setup
>> with "AllPermissions", but the delete link never appears in
>> attachment tab.
>>
>> ... jspwiki.policy...
>> grant signedBy "jspwiki",
>> principal com.ecyrd.jspwiki.auth.authorize.Role "Admin" {
>> permission com.ecyrd.jspwiki.auth.permissions.AllPermission "My
>> Wiki";
>> };
>> ...
>>
>> When I view my profile, it says I am a member of "Admin", so I would
>> assume that
>> I should then have "AllPermission".
>>
>> Any ideas?
>>
>>
>> Also, I cannot run the "admin/SecurityConfig.jsp", it causes a Java
>> exception:
>>
>> [03/Aug/2007:08:36:29] failure (28301): for host XX.XX.XX.XX trying
>> to GET /admin/SecurityConfig.jsp, service-j2ee reports:
>> StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp
>> threw exception
>> org.apache.jasper.compiler.ParseException:
>> /admin/SecurityConfig.jsp(90,97) WEB4012: Attribute
>> java.security.auth.login.config has no value
>> at
>> org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563)
>>
>> at
>> org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:681)
>>
>> at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:838)
>> at org.apache.jasper.compiler.Parser.parse(Parser.java:1157)
>> at org.apache.jasper.compiler.Parser.parse(Parser.java:1115)
>> at org.apache.jasper.compiler.Parser.parse(Parser.java:1111)
>> at
>> org.apache.jasper.compiler.ParserController.parse(ParserController.java:239)
>>
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:227)
>> at
>> com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:778)
>>
>> at
>> com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:636)
>>
>> at
>> com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:413)
>> at
>> com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>
>> at
>> com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:100)
>>
>> at
>> com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:82)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
>>
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
>>
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
>>
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
>>
>> at
>> com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
>>
>> at
>> com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
>>
>>
>>
>> thanks,
>> Wyllys
>>