List Info

Thread: getting the sample installation to work




getting the sample installation to work
user name
2006-12-12 13:23:33
Hi,
I've followed the steps listed here:
http://wiki.apache.org/jakarta-slide/InstallationWit
hSamples, 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 FilesApacheTomcat
5.5webappsslideDomain.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-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

getting the sample installation to work
user name
2006-12-15 00:09:38
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.apach
e.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/InstallationWit
hSamples, 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
FilesApacheTomcat
> 5.5webappsslideDomain.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-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )