You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Hennigfeld, Christian" <ch...@siemens.com> on 2006/12/12 14:23:33 UTC

getting the sample installation to work

Hi,
I've followed the steps listed here:
http://wiki.apache.org/jakarta-slide/InstallationWithSamples, and also
added user1 to tomcat-users.xml, but whenever I try to connect to slide
I get HTTP403 - access denied.
I have copied the contents of both web.xml and Domain.xml as mentioned
on the installation page, and copied slide.properties from the extracted
archive to TOMCAT$/conf, then changed the beginning to the following:
 
  # Domain XML definition file
  # Default : Will look for domain.xml in current directory
  org.apache.slide.domain=C:\Program Files\Apache\Tomcat
5.5\webapps\slide\Domain.xml
(I also tried enclosing the path in quotes)
 
  #Phil - apparently needed to bind the security
  #This was highlighted as a bug so may be corrected in future
versions...
  org.apache.slide.binding=true 

In tomcat-users.xml, I added the following two lines (those are all the
roles I have):
  <user username="user1" password="user1"
roles="admin,manager,role1,tomcat"/>
  <user username="user2" password="user2"
roles="admin,manager,role1,tomcat"/>

and added the given lines right before the </host> tag in Tomcat's
server.xml.

As I said, logging in as user1/user1 as said in the installation guide
doesn't work - access denied. What did I miss here?

Regards
	-> Chris

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


Re: getting the sample installation to work

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hello Christian,

I have installed slide recently on my mac (since I am developing it  
when I have the time ...)

I downloaded the latest binary release of Tomcat.

I downloaded the sources of slide from subversion, then built slide.  
This only requires that you have ant available too.

The libraries used by slide are in the svn repository of slide.

You need to invoke the ant target which creates the webapp (webapp- 
dist), this produces a slide.war.

Then following the instructions here http://jakarta.apache.org/slide/ 
howto-jaas.html I have configured slide for jaas.

You can then logon as john/john

Regards,

Antoine


On Dec 12, 2006, at 8:23 AM, Hennigfeld, Christian wrote:

> Hi,
> I've followed the steps listed here:
> http://wiki.apache.org/jakarta-slide/InstallationWithSamples, and also
> added user1 to tomcat-users.xml, but whenever I try to connect to  
> slide
> I get HTTP403 - access denied.
> I have copied the contents of both web.xml and Domain.xml as mentioned
> on the installation page, and copied slide.properties from the  
> extracted
> archive to TOMCAT$/conf, then changed the beginning to the following:
>
>   # Domain XML definition file
>   # Default : Will look for domain.xml in current directory
>   org.apache.slide.domain=C:\Program Files\Apache\Tomcat
> 5.5\webapps\slide\Domain.xml
> (I also tried enclosing the path in quotes)
>
>   #Phil - apparently needed to bind the security
>   #This was highlighted as a bug so may be corrected in future
> versions...
>   org.apache.slide.binding=true
>
> In tomcat-users.xml, I added the following two lines (those are all  
> the
> roles I have):
>   <user username="user1" password="user1"
> roles="admin,manager,role1,tomcat"/>
>   <user username="user2" password="user2"
> roles="admin,manager,role1,tomcat"/>
>
> and added the given lines right before the </host> tag in Tomcat's
> server.xml.
>
> As I said, logging in as user1/user1 as said in the installation guide
> doesn't work - access denied. What did I miss here?
>
> Regards
> 	-> Chris
>
>

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