Generic URL mapping, is it possible ?

Splash Forums PrettyFaces Users Generic URL mapping, is it possible ?

This topic contains 24 replies, has 3 voices, and was last updated by  Christian Kaltepoth 10 years, 3 months ago.

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #18046

    mika
    Participant

    hi i followed this post on stackoverflow:

    http://stackoverflow.com/questions/7026232/pretty-faces-generic-url-mapping

    and i am trying to make something similar

    please if anyone was able to do something like it, to share how.

    #21481

    There are basically two ways to do something like this.

    If you want to use the current stable PrettyFaces 3.x, you could implement it using dynaview. Something like this:

    <url-mapping id="generic">
    <pattern value="/#{ dynaBean.path }" />
    <view-id value="#{ dynaBean.getViewId }" />
    </url-mapping>

    public class DynaBean {

    private String path;

    public String getViewId() {
    return "/" + path + ".jsf";
    }

    /* getters + setters */

    }

    Unfortunately there is currently a bug related to dynaview in PrettyFaces 3.3.0 that prevents this from working. But you can use 3.3.1-SNAPSHOT. The bug is fixed in these snapshots.

    The other way would be to use the new Rewrite library, which will be the core of PrettyFaces 4.0. Lincoln added a comment regarding this to the stackoverflow.com post. Unfortunately that is not much documentation for Rewrite at the moment because it is still in development. But you can have a look at the README and some configuration examples to get started.

    I hope this helps! :)

    Christian

    #21482

    As posted on StackOverflow:

    You might be better off using Rewrite (beta) which lets you do more powerful configuration. Or PrettyFaces 4.0.0-SNAPSHOT, which uses Rewrite as the core:

    https://github.com/ocpsoft/socialpm/blob/master/web/src/main/java/com/ocpsoft/socialpm/URLRewriteConfiguration.java

    .addRule(Join.path("/{page}").to("/views/{page}.xhtml"))

    Hope this helps. I’d be interested to see what you think of Rewrite, since we are looking for feedback now.

    #21483

    mika
    Participant

    @Christian Kaltepoth, is the 3.3.1-SNAPSHOT is stable now, have anyone reported bugs in it ?

    i need to use a stable version, because my application will be used by lots of clients that doesn’t want to see any bugs.

    #21484

    mika
    Participant

    @lincoln Baxter III, when are you going to release 4.0.0 ?

    #21485

    I think 3.3.1-SNAPSHOT is more stable than 3.3.0 at the moment. It contains a lot of important bugfixes. I also hope that we will be able to release 3.3.1 in the next 2-3 weeks.

    There is no planned release date for 4.0.0 yet. We are implementing major changes in this release and still hope for some feedback from the community. So perhaps you will could give it a try? :)

    #21486

    mika
    Participant

    @Christian Kaltepoth, in the dynaview solution you suggested, the DynaBean class should be a managedBean, right ?

    #21487

    Yes, it has to be a managed bean. I didn’t add any annotation because you have to use different annotations depending on the way you declare your beans (JSF managed beans, CDI, Spring, etc).

    #21488

    mika
    Participant

    ok, here is what i did:

    1- the dynamicView managedBean:

    @Service(“dynamicViewBean”)

    public class DynamicViewBean {

    private String path;

    public String getPath() {

    return path;

    }

    public void setPath(String path) {

    this.path = path;

    }

    public String getViewId() {

    return “/” + path + “.xhtml”;

    }

    }

    2- The pretty-config.xml:

    <pretty-config xmlns=”http://ocpsoft.com/prettyfaces/3.3.0″

    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”

    xsi:schemaLocation=”http://ocpsoft.com/prettyfaces/3.3.0

    http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.0.xsd“>

    <url-mapping id=”generic”>

    <pattern value=”/#{dynamicViewBean.path}” />

    <view-id value=”#{dynamicViewBean.getViewId }” />

    </url-mapping>

    </pretty-config>

    3- NOTE: My xhtml pages are under the webapp folder directly, they are not in a subfolder views or stuff like that.

    and i am still getting the same repeating error in eclipse console:

    at com.ocpsoft.pretty.faces.config.annotation.AbstractClassFinder.processClass(AbstractClassFinder.java:219)

    please advise.

    #21489

    mika
    Participant

    here are some traces, hope that it will help:

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/css/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    #21490

    mika
    Participant

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/css/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/css/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/css/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    #21491

    Hey mika,

    This message from the console seems to be only one line of a stacktrace:

    at com.ocpsoft.pretty.faces.config.annotation.AbstractClassFinder.processClass(AbstractClassFinder.java:219)

    Could you please post the complete stacktrace?

    #21492

    mika
    Participant

    done.

    #21493

    mika
    Participant

    so any ideas ?

    #21494

    Thanks for posting the logs. But there is no exception thrown anywhere. And the message you first talked about is part of a stracktrace of some exception. The logs look totally fine. Nothing abnormal there.

Viewing 15 posts - 1 through 15 (of 25 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.