OK, I found the thread on how the login portlet interacts with jaas. I had some leftover jaas configuration from trying to get the liferay portal working earlier, so I did a clean install of Tomcat 5.5.15 to see if that would help. Same problem (Error - 403 on <portal>/login/ redirector).

I don't find any exceptions in either the Tomcat logs or in the Jetspeed logs.

-Eric

On Feb 5, 2006, at 9:18 PM, Eric Wittle wrote:

I've been working on replacing Jetspeed 1.5 with Jetspeed 2.0 on my site. I took a look through the binary multi-db install, and it looked OK. So I decided to try a customized portal build with the maven plugin. I believe some of the issues I've hit are known (and have answers on the list), but some I'm not sure have yet.

First, I had problems with the war:install failing due to being unable to download jars (derby, portals-bridgets, etc.). As documented elsewhere, adding the following to my build.properties fixed this problem:

portals.bridges.version=1.0
derby.version=10.1.1.0
bridges.groupId=org.apache.portals.bridges
jetspeed.version=2.0

After getting the war file built, I have been trying to get the portal running. Since I'm not using hssql, I did not use the j2:quickStart target. Instead, I tried:

maven j2:db.create.production
maven j2:db.entities
maven j2:nodbfullDeploy

This seemed to work, but I could not log in, and saw exceptions in catalina.out complaining about no role 'user' defined. I then tried:

maven j2:db.recreate

but had the same problem. A little poking around found the script populate-userinfo-for-default-psml.sql. I ran this script manually, and now I can log in (sort of).

Now, after I enter a username and password and click login, I get an "Error 403 - Access to requested resource has been denied" for the following URL: http://localhost:8080/wittle.net/login/ redirector. If I remove login/redirector from the URL and refresh, I'm at the main portal page and authenticated.

I am also having a problem that whenever I click on the Public Folders link, I get an exception page that shows:

org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.pipeline.PipelineException: java.lang.NullPointerException org.apache.jetspeed.security.impl.PasswordCredentialValveImpl.invoke (PasswordCredentialValveImpl.java:153) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext (JetspeedPipeline.java:203) org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke (LocalizationValveImpl.java:168) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext (JetspeedPipeline.java:203) org.apache.jetspeed.security.impl.AbstractSecurityValve$1.run (AbstractSecurityValve.java:117)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:454)
org.apache.jetspeed.security.impl.AbstractSecurityValve.invoke (AbstractSecurityValve.java:111) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext (JetspeedPipeline.java:203) org.apache.jetspeed.container.url.impl.PortalURLValveImpl.invoke (PortalURLValveImpl.java:55) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext (JetspeedPipeline.java:203) org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke (CapabilityValveImpl.java:128) org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext (JetspeedPipeline.java:203) org.apache.jetspeed.pipeline.JetspeedPipeline.invoke (JetspeedPipeline.java:185) org.apache.jetspeed.engine.JetspeedEngine.service (JetspeedEngine.java:231) org.apache.jetspeed.engine.JetspeedServlet.doGet (JetspeedServlet.java:226)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


I saw a note on the list that a 2.0.1 release was in the works to resolve various problems; are any of the ones I'm seeing included?

-Eric



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to