2012/8/20 Ragini <raginippa...@gmail.com>:
>
> Hi all,
>
> I am trying to run acegisample.war file from tomcat. I have followed all the
> instruction to run it from here.
> (http://www.ibm.com/developerworks/java/library/j-acegi1/#section6.2).

Using "Acegi" in very outdated.  This product has been renamed to
"Spring Security" years ago and is now at version 3.1.2.

http://www.springsource.org/spring-security
http://static.springsource.org/spring-security/site/tutorial.html


> When I try to run the file by (http://localhost:8080/acegisample/), it gives
> me http status- 404.
>

The web application failed to start. There is no wonder that it
replies with 404.

> catalina.log file has some exceptions. Please find the same attached
> herewith.
>

First, regarding "predict.xml".
There are a lot of errors that say that configuration of your web
application (that conf/Catalina/localhost/predict.xml file) is broken.

You are
1. Using attributes that do not exist  (and that means that the docs
that you followed are somewhat outdated)
2. Using wrong values for attributes.
3. Placing your files in the wrong place, where Tomcat cannot find them.

The configuration reference for the context configuration file in
Tomcat 7 is here:
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

The usual place for context configuration file in Tomcat 7 is
META-INF/context.xml inside of your web application.

Second, regarding "acegisample.war",
there are errors that say that a lot of required classes are not found.

Those should be some libraries in the WEB-INF/lib directory of your
WAR, but all they are missing.

> Pl note that I am able to run other war files.
>
> Could anyone please tell what's going wrong while deploying acegisample.war
> file ?

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to