I can help you with the j2:quickStart. Assuming your portal is in
C:\myportal, you'll need to run war:install to copy this to your maven LOCAL
repository. Don't forget the maven.home.local = ${your.local.maven.dir}
(eg maven.home.local = D:/workspace/maven).
I'm assuming the plugin will look at the properties in the
project.properties (or build.properties) for the groupID, artifactID, and
version of your portal, and will therefore snag the appropriate item from
your local maven repo. It will then install the item after it does all its
dependent tasks.
As for your error, I can only imagine that your tomcat-users.xml file
doesn't have the admin user setup, or didn't assign them at least a manager
role. Or else the autodeployer user is/was not setup correctly. Again in
your build.properties (or project.properties) setup
org.apache.jetspeed.services.autodeployment.user
org.apache.jetspeed.services.autodeployment.password
and ensure that you've modified your tomcat-users.xml file, giving at least
manager role.
HTH, someone correct me if I'm wrong.
AC
On 2/10/06, Zhao, David <[EMAIL PROTECTED]> wrote:
>
> Brian, follow the thread Aaron, you should be able to build the war file
> using maven plugin
> (http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200601.m
> box/[EMAIL PROTECTED]), very helpful.
>
> However, the problem I have now is unable to deploy the built
> myportal.war
> Does "maven j2:quickStart" automatically copy the war file the
> ${CATALINA_HOME}/webapps? I had to manually cp the war file to there,
> but after I restart the tomcat server, and application myportal shows up
> in the Manager page, but not "started". I tried to start the
> application, error from Catalina.out:
>
> Feb 10, 2006 4:28:20 PM org.apache.catalina.startup.ContextConfig
> validateSecurityRoles
> INFO: WARNING: Security role name admin used in an <auth-constraint>
> without being defined in a <security-role>
> Feb 10, 2006 4:28:20 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Feb 10, 2006 4:28:20 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/myportal] startup failed due to previous errors
>
> Help please !
>
> David
>
> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Evans
> Sent: Friday, February 10, 2006 5:20 AM
> To: [email protected]
> Subject: Re: Problems getting started, some severe
>
> McBride, Brian <brian.mcbride <at> hp.com> writes:
>
> >
> > Hi Folks,
> >
> > Trying to install Jetspeed 2 I encountered a few problems, which I
> > figured I'd pass on for your information. Some of these are minor and
> > picky - but others are pretty disasterous. The net is that the
> getting
> > started instructions do not work.
>
> Brian,
> I had spotted some of these before and posted about it:
>
> Unfortunately, I can't figure out how to get a URL to a thread in the
> mail archives.
>
> But this one should bring you to my post:
>
> http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200601.mb
> ox/
> %3cloom.20060125T194815-201 <at> post.gmane.org%3e
>
> [J2 - 2.0] - Binary Build - Documentation and Build Process Issues
> Posted Wed, 25 Jan 2006 19:52:56 GMT
>
>
> As for the database, I use mysql. You need only create the j2 database
> and give
> a user name and password and then specify the paths to your driver and
> you are
> all set. That way, no messing around with derby and hssql.
>
> I think originally, before the release of 2.0, hssql was the default DB
> and
> then it got changed to derby, but not all the documentation has been
> updated
> to reflect that.
>
> HTH,
> aaron
>
>
> ---------------------------------------------------------------------
> 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]
>
>