Results 1 to 4 of 4

Thread: Sitemesh + Spring + Acegi

  1. #1
    Join Date
    Aug 2004
    Location
    Bucharest,Romania
    Posts
    19

    Default Sitemesh + Spring + Acegi

    Hi,
    We tried to integrate this 3 technologies in our app, for this we used the sitemeshacegi.jar and it seems to be a problem with the SitemeshFactory class (Class must implement the inherited abstract method Factory.isPathExcluded(String) ).

    When we deploy the app ( jboss 3.2.3) we receive the following error :
    Code:
    ERROR [Engine] StandardContext[/test]: 
    Exception starting filter sitemesh com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.reflect.InvocationTargetException
    Any new versions of this jar are available?[/code]

  2. #2
    Join Date
    Aug 2004
    Location
    Bucharest,Romania
    Posts
    19

    Default

    btw is there any example that uses other form of provider other than InMemoryDaoImpl?

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    I've not heard of the sitemeshacegi.jar file. Where did you get that, or what does it comprise? Acegi Security with SiteMesh?

    Regarding your other question, there is also the JdbcDaoImpl included with Acegi Security.

  4. #4
    Join Date
    Aug 2004
    Location
    Bucharest,Romania
    Posts
    19

    Default

    I don't remember if I made a jar out of some classes or I found the jar already made. The ideea was that all the classes have this :
    Code:
     * @author Ben Alex
    the package "com.acegitech.core.sitemesh" contains :

    Code:
     ContextConfigLoader.java
     ContextConfigLoaderEditor.java
     ContextDecoratorMapper.java
     DecoratorMapperFactory.java
     SitemeshFactory.java
     SpringSitemeshFilter.java
    Anyway the problem was that my decoretor xml in WEB-INF was decorator.xml and the default and the way I used it in sitemesf.xml was decorators.xml.
    Strange error I might say.

    Sorry for all, my mistake.

    Best regards,
    Catalin

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Spring 1.2 Resource + Acegi 0.8.2 Jaas problem
    By gmansoor in forum Security
    Replies: 10
    Last Post: Feb 26th, 2007, 02:14 PM
  3. Replies: 2
    Last Post: Sep 8th, 2005, 05:50 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Spring + SiteMesh + Velocity?
    By chrisrbailey in forum Web
    Replies: 3
    Last Post: Jan 20th, 2005, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •