RE: Deploy with Oracle OC4J, security configuration problem

"Tammy Osborn" <[email protected]> Thu, 6 Sep 2007 08:20:48 -0600
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
I reviewed this link and it does sound like exactly the same issue I'm
encountering. 

For now, I'll just turn security off since my wiki is an internal one.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Janne Jalkanen
Sent: Wednesday, September 05, 2007 3:52 PM
To: JSPWiki Users discussion list
Subject: Re: [Jspwiki-users] Deploy with Oracle OC4J,security
configuration problem


Heya!

OC4J is a known problem child, unfortunately.   Latest 2.2 still runs  
on it, but you lose all security benefits, unfortunately.  2.4 does  
not run at all on OC4J, as far as we can tell.  Though, if some  
Oracle guru could help us out, that would be wonderful.

There's a bit more discussion here:

http://www.nabble.com/Permission-problems-with-OC4J-standalone- 
t3939568.html

/Janne

On 5 Sep 2007, at 21:37, Tammy Osborn wrote:

> I have installed and run JSPWiki with Tomcat successfully. Now I am
> trying to deploy to an OC4J container with no changes to the security
> defaults. I am always getting the Login.jsp page with an error like  
> "You
> do not have access to 'Main'. Please log in first." Has anyone  
> deployed
> to OC4J? What tweaks are required? I'd appreciate any suggestions.
>
>
>
> JSPWiki version is 2.4.103. OC4J version is 10.1.3.
>
>
>
> I have read the security documentation and already have tried the
> following things:
>
>   - running /admin/SecurityConfig.jsp - getting general page not found
> error
>
>   - put contents on jspwiki.policy in the server /config/java2.policy
> file
>
>   - copied jspwiki.jks to server /config folder
>
>   - configured system-jazn-data.xml to use custom login module  
> using the
> instructions for JBoss as a guide
>
>      Entry in this xml file is:
>
>       <application>
>
>             <name>JSPWiki</name>
>
>             <login-modules>
>
>                   <login-module>
>
>
> <class>com.ecyrd.jspwiki.auth.login.UserDatabaseLoginModule</class>
>
>                         <control-flag>required</control-flag>
>
>                   </login-module>
>
>             </login-modules>
>
>       </application>
>
>
>
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList

_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the 
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. 
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList