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 Stephen Hatfield <sh...@mailblocks.com> on 2005/02/01 15:50:37 UTC
Security web.xml Example
Hello-
I have installed J2 on Linux and all is working properly except the
login portlet is empty. I saw a previous post on an addition to the
web.xml file in security/WEB-INF. I have no files at all in that
directory in webapps in Tomcat (5.0.28). I have a question and a
request.
Question - what files should be in the security/WEB-INF directory?
Request - would someone please post a link to an example web.xml file
for security/WEB-INF?
Thank you!
Stephen Hatfield
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Security web.xml Example
Posted by Stephen Hatfield <sh...@mailblocks.com>.
Thanks to both Ate and Marina for their replies. It worked out just as
they said!
-----Original Message-----
From: Ate Douma <at...@douma.nu>
To: Jetspeed Users List <je...@jakarta.apache.org>
Sent: Tue, 01 Feb 2005 23:20:12 +0100
Subject: Re: Security web.xml Example
Stephen Hatfield wrote:
> Hello-
> > I have installed J2 on Linux and all is working properly except the
> login portlet is empty. I saw a previous post on an addition to the >
web.xml file in security/WEB-INF. I have no files at all in that >
directory in webapps in Tomcat (5.0.28).
Then something went wrong during deployment.
You should see numerous files there, all contained within the
security.war.
There is no need to add anything else.
I'd suggest stopping Tomcat and removing the empty folder. Also, remove
the security.xml from $TOMCAT/conf/Catalina/localhost.
Then, restart Tomcat and once Jetspeed is up and running, move the
security.war out of the jetspeed/WEB-INF/deploy in some temporary
folder.
After a few seconds, Jetspeed will try to undeploy the security
application.
Once that is done, you can move the security.war back in the deploy
folder,
and Jetspeed will (try to) deploy it again.
Please, check the Tomcat console carefully for error messages. If all
goes
well the security/WEB-INF shouldn't be empty now.
> I have a question and a request.
> > Question - what files should be in the security/WEB-INF directory?
> > Request - would someone please post a link to an example web.xml
file > for security/WEB-INF?
> > Thank you!
> Stephen Hatfield
> >
---------------------------------------------------------------------
> 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
Re: Security web.xml Example
Posted by Marina <pp...@yahoo.com>.
I had the same problem with the 'security' web app
"disappearing" after re-building J2. I've used the
same approach as Ate suggested - remove security.war
from jetspeed's deploy dir, let J2 undeploy it, then
move it back.
Worked like a charm :)
Marina
--- Ate Douma <at...@douma.nu> wrote:
>
>
> Stephen Hatfield wrote:
> > Hello-
> >
> > I have installed J2 on Linux and all is working
> properly except the
> > login portlet is empty. I saw a previous post on
> an addition to the
> > web.xml file in security/WEB-INF. I have no files
> at all in that
> > directory in webapps in Tomcat (5.0.28).
> Then something went wrong during deployment.
> You should see numerous files there, all contained
> within the security.war.
> There is no need to add anything else.
>
> I'd suggest stopping Tomcat and removing the empty
> folder. Also, remove
> the security.xml from
> $TOMCAT/conf/Catalina/localhost.
>
> Then, restart Tomcat and once Jetspeed is up and
> running, move the
> security.war out of the jetspeed/WEB-INF/deploy in
> some temporary folder.
>
> After a few seconds, Jetspeed will try to undeploy
> the security application.
> Once that is done, you can move the security.war
> back in the deploy folder,
> and Jetspeed will (try to) deploy it again.
> Please, check the Tomcat console carefully for error
> messages. If all goes
> well the security/WEB-INF shouldn't be empty now.
>
> > I have a question and a request.
> >
> > Question - what files should be in the
> security/WEB-INF directory?
> >
> > Request - would someone please post a link to an
> example web.xml file
> > for security/WEB-INF?
> >
> > Thank you!
> > Stephen Hatfield
> >
> >
>
---------------------------------------------------------------------
> > 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
>
>
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Security web.xml Example
Posted by Ate Douma <at...@douma.nu>.
Stephen Hatfield wrote:
> Hello-
>
> I have installed J2 on Linux and all is working properly except the
> login portlet is empty. I saw a previous post on an addition to the
> web.xml file in security/WEB-INF. I have no files at all in that
> directory in webapps in Tomcat (5.0.28).
Then something went wrong during deployment.
You should see numerous files there, all contained within the security.war.
There is no need to add anything else.
I'd suggest stopping Tomcat and removing the empty folder. Also, remove
the security.xml from $TOMCAT/conf/Catalina/localhost.
Then, restart Tomcat and once Jetspeed is up and running, move the
security.war out of the jetspeed/WEB-INF/deploy in some temporary folder.
After a few seconds, Jetspeed will try to undeploy the security application.
Once that is done, you can move the security.war back in the deploy folder,
and Jetspeed will (try to) deploy it again.
Please, check the Tomcat console carefully for error messages. If all goes
well the security/WEB-INF shouldn't be empty now.
> I have a question and a request.
>
> Question - what files should be in the security/WEB-INF directory?
>
> Request - would someone please post a link to an example web.xml file
> for security/WEB-INF?
>
> Thank you!
> Stephen Hatfield
>
> ---------------------------------------------------------------------
> 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