You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ramin <i8...@gmail.com> on 2005/02/24 01:47:24 UTC

JS2 - Getting Started - Maven errors

Hello all, im new here.. pardon me if this has been covered before.
Just did a fresh checkout of JS2 from CVS and tried to follow the
"Gettin Started" guide on the website. Opened up 2 shells, started the
test.server and then tried to run maven allClean allBuild.

Got this error:

BUILD FAILED
File...... e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line...... 181
Column.... 40
Unable to obtain goal [catalina:base-shared] -- e:\development\projects\jetspeed
\jakarta-jetspeed-2\portal\maven.xml:524:115: <copy> Failed to copy C:\Documents
 and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to \\shared
\lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The network pa
th was not found)
Total time: 4 minutes 14 seconds
Finished at: Wed Feb 23 19:35:57 EST 2005

I noticed some packages would not download.. could be the cause of the problem?

Thanks
-- 
- Ramin

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Corrupt Fragment Info

Posted by wa...@wispertel.net.
Frank,

Try using a new fragment id. JS2 does cache certain portlet info per
fragment ids... a long standing issue for sure. Many of us are simply in
the habit of generating new ids for edited pages and fragments when
manually editing PSML.

Randy

> FYI J2 Developers:
>
> I wanted to deploy a new portlet in Jetspeed2 and took the following
> steps:
>
> 1) deployed the portlet war (worked)
> 2) made changes to my PSML in order to place my new portlet in an existing
> page by overwriting a previous fragment
>
> My portlet displays fine except for the title ... I'm seeing some strange
> behavior, the following line of velocity code (taken from a portlet
> decorator) returns the overwritten fragment's previous portlet title
> instead
> of the title from my new fragment(portlet) ...
>
> $!jetspeed.getTitle($myPE, $myF)
>
> All my new portlet's deployment info is correct, J2 appears to be
> "caching"
> the previous fragment's title somewhere.  Anyone know where I can clear
> this?  I can't seem to find it in the database.  Where do
> fragments/portlet
> entities get "cached"?  Is it outside the database?
>
> - Frank
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: JS2 login portlet empty

Posted by wa...@wispertel.net.
Craig,

I have seen this problem with the login portlet when the security.xml
context descriptor is not deployed correctly. Please make sure that it is
located in conf/Catalina/localhost. If everything is in place, you might
need to try restarting tomcat several times and waiting for the
initialization to complete. M1 had many deployment issues. Ate is working
on  a much better deployment solution, so you might want to consider
trying again with the CVS/M2 release when he commits.

Randy

> The portlet application corresponding at the Login portlet is
> "security.war"
>
> Have you an error trace when you try to access to the login portlet ?
>
> best regards
>
> Jabouille Jean Charles
>
>
> ----- Original Message -----
> From: "Craig McDonald" <cr...@canberra.edu.au>
> To: "Jetspeed Users List" <je...@jakarta.apache.org>
> Sent: Friday, February 25, 2005 12:16 AM
> Subject: JS2 login portlet empty
>
>
>> I have installed jetspeed-2 M1 on Tomcat 5.0.30 and finally got it
>> working (after buggering around with Java SDK's and Tomcat 5.5) but have
>> a question.
>>
>> When the welcome page appears, the "login portlet" and "locale selector
>> portlet" are both empty. In particular the login portlet being empty
>> isn't very helpful because then I can't login to Jetspeed and play
>> around with it's customisation and personalisation tools.
>>
>> For info, in the WEB-INF/deploy directory there doesn't seem to be any
>> war specifically for login or locale - the directory listing is:
>>
>> demo.war;
>> jetspeed-layouts.war;
>> jsf-demo.war;
>> pam.war;
>> perl.war;
>> php.war;
>> rss.war;
>> security.war;
>> struts-demo.war;
>>
>> All other portlets display fine - any help would be appreciated.
>>
>> Cheers,
>> Craig
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Corrupt Fragment Info

Posted by Frank Villarreal <f_...@tetco.com>.
FYI J2 Developers:

I wanted to deploy a new portlet in Jetspeed2 and took the following steps:

1) deployed the portlet war (worked)
2) made changes to my PSML in order to place my new portlet in an existing
page by overwriting a previous fragment

My portlet displays fine except for the title ... I'm seeing some strange
behavior, the following line of velocity code (taken from a portlet
decorator) returns the overwritten fragment's previous portlet title instead
of the title from my new fragment(portlet) ...

$!jetspeed.getTitle($myPE, $myF)

All my new portlet's deployment info is correct, J2 appears to be "caching"
the previous fragment's title somewhere.  Anyone know where I can clear
this?  I can't seem to find it in the database.  Where do fragments/portlet
entities get "cached"?  Is it outside the database?

- Frank


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: JS2 login portlet empty

Posted by jean charles jabouille <je...@bull.net>.
The portlet application corresponding at the Login portlet is "security.war"

Have you an error trace when you try to access to the login portlet ?

best regards

Jabouille Jean Charles


----- Original Message ----- 
From: "Craig McDonald" <cr...@canberra.edu.au>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Friday, February 25, 2005 12:16 AM
Subject: JS2 login portlet empty


> I have installed jetspeed-2 M1 on Tomcat 5.0.30 and finally got it 
> working (after buggering around with Java SDK's and Tomcat 5.5) but have 
> a question.
> 
> When the welcome page appears, the "login portlet" and "locale selector 
> portlet" are both empty. In particular the login portlet being empty 
> isn't very helpful because then I can't login to Jetspeed and play 
> around with it's customisation and personalisation tools.
> 
> For info, in the WEB-INF/deploy directory there doesn't seem to be any 
> war specifically for login or locale - the directory listing is:
> 
> demo.war;
> jetspeed-layouts.war;
> jsf-demo.war;
> pam.war;
> perl.war;
> php.war;
> rss.war;
> security.war;
> struts-demo.war;
> 
> All other portlets display fine - any help would be appreciated.
> 
> Cheers,
> Craig
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: JS2 login portlet empty

Posted by Frank Villarreal <f_...@tetco.com>.
Hi Craig,

Start up J2.  Try going into the ${j2-webapp}/WEB-INF/deploy directory and
"cut" the security.war file out of there.  Wait for a few seconds, and watch
the logging statements as jetspeed "undeploys" the application.  After
successful "undeployment", "paste" the security.war file back into the
deploy directory ... once again, watch the logging statements as jetspeed
"(re)deploys" the application.  Refresh your portal page and you should see
the previously missing portlet.   I found I had to perform this routine with
several different portlets that kept "disappearing".  It seems occasionally
J2's application database gets corrupted and this procedure is required.  I
have yet to identify how this corruption takes place ... heck, I might be
the cause ;-)

- Frank



> -----Original Message-----
> From: Craig McDonald [mailto:craig.a.mcdonald@canberra.edu.au]
> Sent: Thursday, February 24, 2005 05:17 PM
> To: Jetspeed Users List
> Subject: JS2 login portlet empty
>
>
> I have installed jetspeed-2 M1 on Tomcat 5.0.30 and finally got it
> working (after buggering around with Java SDK's and Tomcat 5.5) but have
> a question.
>
> When the welcome page appears, the "login portlet" and "locale selector
> portlet" are both empty. In particular the login portlet being empty
> isn't very helpful because then I can't login to Jetspeed and play
> around with it's customisation and personalisation tools.
>
> For info, in the WEB-INF/deploy directory there doesn't seem to be any
> war specifically for login or locale - the directory listing is:
>
> demo.war;
> jetspeed-layouts.war;
> jsf-demo.war;
> pam.war;
> perl.war;
> php.war;
> rss.war;
> security.war;
> struts-demo.war;
>
> All other portlets display fine - any help would be appreciated.
>
> Cheers,
> Craig
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


JS2 login portlet empty

Posted by Craig McDonald <cr...@canberra.edu.au>.
I have installed jetspeed-2 M1 on Tomcat 5.0.30 and finally got it 
working (after buggering around with Java SDK's and Tomcat 5.5) but have 
a question.

When the welcome page appears, the "login portlet" and "locale selector 
portlet" are both empty. In particular the login portlet being empty 
isn't very helpful because then I can't login to Jetspeed and play 
around with it's customisation and personalisation tools.

For info, in the WEB-INF/deploy directory there doesn't seem to be any 
war specifically for login or locale - the directory listing is:

demo.war;
jetspeed-layouts.war;
jsf-demo.war;
pam.war;
perl.war;
php.war;
rss.war;
security.war;
struts-demo.war;

All other portlets display fine - any help would be appreciated.

Cheers,
Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: JS2 - Getting Started - Maven errors

Posted by Christophe Lombart <ch...@sword-technologies.com>.
Did you defined correctly all Jetspeed 2 parameters in the build.properties ? 

\\shared\lib\pluto-1.0.1-rc1.jar (The network path was not found) is not correct path 

Christophe



Ramin wrote:

>Hello all, im new here.. pardon me if this has been covered before.
>Just did a fresh checkout of JS2 from CVS and tried to follow the
>"Gettin Started" guide on the website. Opened up 2 shells, started the
>test.server and then tried to run maven allClean allBuild.
>
>Got this error:
>
>BUILD FAILED
>File...... e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml
>Element... maven:reactor
>Line...... 181
>Column.... 40
>Unable to obtain goal [catalina:base-shared] -- e:\development\projects\jetspeed
>\jakarta-jetspeed-2\portal\maven.xml:524:115: <copy> Failed to copy C:\Documents
> and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to \\shared
>\lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The network pa
>th was not found)
>Total time: 4 minutes 14 seconds
>Finished at: Wed Feb 23 19:35:57 EST 2005
>
>I noticed some packages would not download.. could be the cause of the problem?
>
>Thanks
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: JS2 - Getting Started - Maven errors

Posted by Ramin <i8...@gmail.com>.
You might be right.. in the build.properties file, the
org.apache.jetspeed.server.home was set to $CATALINA_HOME/ and I
assumed that it was using my environment variable that I had set. I
guess I had to actually replace that with the real value. I put in the
full path to my tomcat folder and testing it now. thanks.


On Thu, 24 Feb 2005 09:31:16 +0100 (CET), Xavier Lawrence
<xl...@jahia.com> wrote:
> 
> You did not set the following property (correctly):
> org.apache.jetspeed.server.home
> in the build.properties file of the root Jetspeed-2 directory.
> 
> If your root Tomcat directory is "C:\tomcat5"
> 
> you should have a line like this in the properties file:
> 
> org.apache.jetspeed.server.home = C:/tomcat5
> 
> Check out also: http://portals.apache.org/jetspeed-2/getting-started.html
> 2. Build Properties. You have all the explanations there.
> 
> Hope this helped
> 
> Xavier
> 
> 
> > Hello all, im new here.. pardon me if this has been covered before.
> > Just did a fresh checkout of JS2 from CVS and tried to follow the
> > "Gettin Started" guide on the website. Opened up 2 shells, started the
> > test.server and then tried to run maven allClean allBuild.
> >
> > Got this error:
> >
> > BUILD FAILED
> > File...... e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml
> > Element... maven:reactor
> > Line...... 181
> > Column.... 40
> > Unable to obtain goal [catalina:base-shared] --
> > e:\development\projects\jetspeed
> > \jakarta-jetspeed-2\portal\maven.xml:524:115: <copy> Failed to copy
> > C:\Documents
> >  and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to
> > \\shared
> > \lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The
> > network pa
> > th was not found)
> > Total time: 4 minutes 14 seconds
> > Finished at: Wed Feb 23 19:35:57 EST 2005
> >
> > I noticed some packages would not download.. could be the cause of the
> > problem?
> >
> > Thanks
> > --
> > - Ramin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
> 
> --
> -------------=[ xlawrence at jahia dot com ]=-------------
> Jahia : A collaborative source CMS and Portal Server
> www.jahia.org Community and product web site
> www.jahia.com Commercial services company
> www.collaborativesource.org Jahia's collaborative license
> Jahia Solutions
> Rue de la gare 45
> Ch-1260 Nyon, Switzerland
> 
> 


-- 
- Ramin

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: JS2 - Getting Started - Maven errors

Posted by Xavier Lawrence <xl...@jahia.com>.
You did not set the following property (correctly):
org.apache.jetspeed.server.home
in the build.properties file of the root Jetspeed-2 directory.

If your root Tomcat directory is "C:\tomcat5"

you should have a line like this in the properties file:

org.apache.jetspeed.server.home = C:/tomcat5

Check out also: http://portals.apache.org/jetspeed-2/getting-started.html
2. Build Properties. You have all the explanations there.

Hope this helped

Xavier


> Hello all, im new here.. pardon me if this has been covered before.
> Just did a fresh checkout of JS2 from CVS and tried to follow the
> "Gettin Started" guide on the website. Opened up 2 shells, started the
> test.server and then tried to run maven allClean allBuild.
>
> Got this error:
>
> BUILD FAILED
> File...... e:\development\projects\jetspeed\jakarta-jetspeed-2\maven.xml
> Element... maven:reactor
> Line...... 181
> Column.... 40
> Unable to obtain goal [catalina:base-shared] --
> e:\development\projects\jetspeed
> \jakarta-jetspeed-2\portal\maven.xml:524:115: <copy> Failed to copy
> C:\Documents
>  and Settings\ramin\.maven\repository\pluto\jars\pluto-1.0.1-rc1.jar to
> \\shared
> \lib\pluto-1.0.1-rc1.jar due to \\shared\lib\pluto-1.0.1-rc1.jar (The
> network pa
> th was not found)
> Total time: 4 minutes 14 seconds
> Finished at: Wed Feb 23 19:35:57 EST 2005
>
> I noticed some packages would not download.. could be the cause of the
> problem?
>
> Thanks
> --
> - Ramin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>


-- 
-------------=[ xlawrence at jahia dot com ]=-------------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
www.collaborativesource.org Jahia's collaborative license
Jahia Solutions
Rue de la gare 45
Ch-1260 Nyon, Switzerland




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org