Latest experiments to try to isolate why portal users with the user
or manager role cannot log in successfully:
On the same machine, the version of Jetspeed2 I have from the multi-
db installer logs in fine with the manager account. If I modify the
jetspeed.xml file to point to the database I created using the Maven
plugin, it still works fine. If I modify the customized portal I
created with the Maven plugin to point to the database created by the
multidb installer, the manager account still has the same
authentication problems. This seems to eliminate the contents of the
database as the source of the problem.
The possible differences I can think of are:
1) Tomcat version (deploying the customized portal to 5.5.15, multidb
installer uses 5.5.12)
2) Jetspeed version - deployed jars for the version installed by the
multidb installer are different from those created using the Maven
plugin, as are some pages and velocity macros
3) Any jetspeed-specific configurations to Tomcat done with the multi-
db installer
What I've done to investigate is:
1) Nothing yet; I suppose I'll have to find a clean copy of 5.5.12
for this one
2) I've copied the shared/lib jar files from the multidb install to
Tomcat 5.5.15, as well as the contents of <customportal>/WEB-INF/lib.
Neither helped.
3) I can't find any of these; diffs of the contents of the conf
directory, the bin directory, and the conf/Catalina/localhost
directory don't show anything that looks useful.
Any suggestions? Any update on a 2.0.1 version? Anyone successfully
deployed 2.0 on Tomcat 5.5.15?
-Eric
On Feb 5, 2006, at 10:28 PM, Eric Wittle wrote:
Sorry for the spam, turns out this is specific to accounts with the
user role or manager role; the admin account and any accounts I
create with the admin role work fine.
Any suggestions or further information that will help narrow this
down?
-Eric
On Feb 5, 2006, at 10:22 PM, Eric Wittle wrote:
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: jetspeed-user-
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]