You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Timony, Michael" <Mi...@FMR.COM> on 2007/02/06 18:23:07 UTC
j2-admin user
Trying to start a custom Portal on Tomcat with an Oracle DB, and it fails complaining about j2admin? This is based on Monday's build. See the attached file for the full output.
INFO: Loading web.xml....j2-admin
INFO: Registered the portlet application j2-admin
INFO: Registered the portlet application in the search engine... j2-admin
ERROR: Error granting default permissions for j2-admin
org.apache.jetspeed.security.SecurityException: The role user does not exist.
at org.apache.jetspeed.security.impl.RoleManagerImpl.getRole(RoleManager
Impl.java:214)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.grantDe
faultPermissions(PortletApplicationManager.java:679)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.registe
rPortletApplication(PortletApplicationManager.java:357)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPA
(PortletApplicationManager.java:471)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPA
(PortletApplicationManager.java:408)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPo
rtletApplication(PortletApplicationManager.java:175)
at org.apache.jetspeed.container.JetspeedContainerServlet.attemptStart(J
etspeedContainerServlet.java:173)
at org.apache.jetspeed.container.JetspeedContainerServlet.access$200(Jet
speedContainerServlet.java:56)
at org.apache.jetspeed.container.JetspeedContainerServlet$1.run(Jetspeed
ContainerServlet.java:144)
at java.util.TimerThread.mainLoop(Timer.java:512)
Mick Timony
Re: j2-admin user
Posted by David Sean Taylor <da...@bluesunrise.com>.
Sounds like the database didn't get populated during serialization
Maven-2 standard or custom build?
On Feb 6, 2007, at 9:23 AM, Timony, Michael wrote:
> Trying to start a custom Portal on Tomcat with an Oracle DB, and it
> fails complaining about j2admin? This is based on Monday's build.
> See the attached file for the full output.
>
> INFO: Loading web.xml....j2-admin
> INFO: Registered the portlet application j2-admin
> INFO: Registered the portlet application in the search engine...
> j2-admin
> ERROR: Error granting default permissions for j2-admin
> org.apache.jetspeed.security.SecurityException: The role user does
> not exist.
> at org.apache.jetspeed.security.impl.RoleManagerImpl.getRole
> (RoleManager
> Impl.java:214)
> at
> org.apache.jetspeed.tools.pamanager.PortletApplicationManager.grantDe
> faultPermissions(PortletApplicationManager.java:679)
> at
> org.apache.jetspeed.tools.pamanager.PortletApplicationManager.registe
> rPortletApplication(PortletApplicationManager.java:357)
> at
> org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPA
> (PortletApplicationManager.java:471)
> at
> org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPA
> (PortletApplicationManager.java:408)
> at
> org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPo
> rtletApplication(PortletApplicationManager.java:175)
> at
> org.apache.jetspeed.container.JetspeedContainerServlet.attemptStart(J
> etspeedContainerServlet.java:173)
> at
> org.apache.jetspeed.container.JetspeedContainerServlet.access$200(Jet
> speedContainerServlet.java:56)
> at org.apache.jetspeed.container.JetspeedContainerServlet
> $1.run(Jetspeed
> ContainerServlet.java:144)
> at java.util.TimerThread.mainLoop(Timer.java:512)
>
>
> Mick Timony
>
>
>
> <permissionsError.txt>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
Re: j2-admin user
Posted by Philip Mark Donaghy <pm...@apache.org>.
On 2/6/07, Timony, Michael <Mi...@fmr.com> wrote:
> Trying to start a custom Portal on Tomcat with an Oracle DB, and it fails complaining about j2admin? This is based on Monday's build. See the attached file for the full output.
>
> INFO: Loading web.xml....j2-admin
> INFO: Registered the portlet application j2-admin
> INFO: Registered the portlet application in the search engine... j2-admin
> ERROR: Error granting default permissions for j2-admin
> org.apache.jetspeed.security.SecurityException: The role user does not exist.
This indicates to me that the database did not populate correctly.
Check in your build output if there isn't a class not found exception.
Set the following properties in ~/.m2/settings.xml
<org.apache.jetspeed.test.jdbc.drivers.path>${org.apache.jetspeed.server.home}/shared/lib/ojdbc14.jar</org.apache.jetspeed.test.jdbc.drivers.path>
<org.apache.jetspeed.production.jdbc.drivers.path>${org.apache.jetspeed.server.home}/shared/lib/ojdbc14.jar</org.apache.jetspeed.production.jdbc.drivers.path>
And be sure to activate this profile.
<activeProfile>jetspeed-db-drivers-path</activeProfile>
Philip
> at org.apache.jetspeed.security.impl.RoleManagerImpl.getRole(RoleManager
> Impl.java:214)
> at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.grantDe
> faultPermissions(PortletApplicationManager.java:679)
> at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.registe
> rPortletApplication(PortletApplicationManager.java:357)
> at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPA
> (PortletApplicationManager.java:471)
> at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPA
> (PortletApplicationManager.java:408)
> at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPo
> rtletApplication(PortletApplicationManager.java:175)
> at org.apache.jetspeed.container.JetspeedContainerServlet.attemptStart(J
> etspeedContainerServlet.java:173)
> at org.apache.jetspeed.container.JetspeedContainerServlet.access$200(Jet
> speedContainerServlet.java:56)
> at org.apache.jetspeed.container.JetspeedContainerServlet$1.run(Jetspeed
> ContainerServlet.java:144)
> at java.util.TimerThread.mainLoop(Timer.java:512)
>
>
> Mick Timony
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org