Deploy with Oracle OC4J, security configuration problem
"Tammy Osborn" <[email protected]> Wed, 5 Sep 2007 14:37:54 -0600
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
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>