13 Replies Latest reply: Apr 13, 2011 6:23 AM by avi barna RSS

I have working ejb3 jsf2 richfaces4(final) project -in development

avi barna Newbie

hello  Friends

 

 

the project  working  pretty well but i have some error on the server log that i can't  fixed.

 

11:37:51,304 INFO  [TomcatDeployment] deploy, ctxPath=/manpowerFront

11:37:56,999 ERROR [STDERR] 11/04/2011 11:37:56 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.NotNull, but that class is not presented

11:37:56,999 ERROR [STDERR] 11/04/2011 11:37:56 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.Size, but that class is not presented

11:37:56,999 ERROR [STDERR] 11/04/2011 11:37:56 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.Pattern, but that class is not presented

11:37:56,999 ERROR [STDERR] 11/04/2011 11:37:56 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.Min, but that class is not presented

11:37:57,000 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.Max, but that class is not presented

11:37:57,000 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.AssertTrue, but that class is not presented

11:37:57,000 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.javascript.ClientServiceConfigParser parse

WARNING: Found JavaScript function definition for class javax.validation.constraints.AssertFalse, but that class is not presented

11:37:57,000 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.cache.CacheManager getCacheFactory

INFO: Selected fallback cache factory

11:37:57,000 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.cache.lru.LRUMapCacheFactory createCache

INFO: Creating LRUMap cache instance using parameters: {com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), org.richfaces.skin=wine, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, javax.faces.PROJECT_STAGE=Development, org.richfaces.enableControlSkinningClasses=false, org.richfaces.enableControlSkinning=true, javax.faces.DEFAULT_SUFFIX=.xhtml}

11:37:57,000 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.cache.lru.LRUMapCacheFactory createCache

INFO: Creating LRUMap cache instance of 512 items capacity

11:37:57,031 ERROR [STDERR] 11/04/2011 11:37:57 org.richfaces.application.InitializationListener onStart

INFO: RichFaces Core Implementation by JBoss, a division of Red Hat, Inc., version v.4.0.0.20110227-CR1 SVN r.21967

11:37:57,031 INFO  [config] Monitoring jndi:/localhost/manpowerFront/WEB-INF/faces-config.xml for modifications

 

the first 7n error can removed   if i add     validation-api-1.0.0.GA.jar to lib

        but then the project sotp working! the first page that use <h:> tag say somting like this

          javax.validation.ValidationException from BaseClassLoader       and  lots more of this s***

the last few error  i can't removed them at all (the Cache ones ,LRUMapCacheFactory .....)

 

environment : jboss-5.0.1.GA ,jdk1.6.0_23, galileo,

 

jars in my lib

commons-collections-3.1.jar

commons-logging-1.0.4.jar

cssparser-0.9.5.jar

guava-r08.jar

hibernate-validator-4.0.0.GA.jar

hibernate-validator-legacy-4.0.2.GA.jar

jstl-api-1.2.jar

jstl-impl-1.2.jar

richfaces-  4.0.0.Final  4 of them

sac-1.3.jar

standard.jar

 

i will appreciate any help

avi

  • 1. I have working ejb3 jsf2 richfaces4(final) project -in development
    iabughosh Master

    Hi barna,

    try adding validation-api-1.0.0.GA.jar and remove guava-r08.jar.

  • 2. I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    thanks for replay

     

    but when i do this

    CONFIGURATION FAILED!

  • 3. Re: I have working ejb3 jsf2 richfaces4(final) project -in development
    iabughosh Master

    can you post a full trace for this CONFIGURATION FAILED ?.

  • 4. Re: I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    ok

     

    Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function from BaseClassLoader@1c988ae{VFSClassLoaderPolicy@2c8ab0{name=vfsfile:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/ domain=ClassLoaderDomain@1f70a5d{name=vfsfile:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@18adae2{DefaultDomain}} roots=[MemoryContextHandler@4541383[path= context=vfsmemory://aox4a-i7ubeq-gmd7izym-1-gmd7j76p-1z real=vfsmemory://aox4a-i7ubeq-gmd7izym-1-gmd7j76p-1z], FileHandler@24255202[path=manpowerFront.war/WEB-INF/classes context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/classes/], DelegatingHandler@4393714[path=manpowerFront.war/WEB-INF/lib/commons-collections-3.1.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/commons-collections-3.1.jar], DelegatingHandler@25402670[path=manpowerFront.war/WEB-INF/lib/commons-logging-1.0.4.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/commons-logging-1.0.4.jar], DelegatingHandler@29647319[path=manpowerFront.war/WEB-INF/lib/cssparser-0.9.5.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/cssparser-0.9.5.jar], DelegatingHandler@32743027[path=manpowerFront.war/WEB-INF/lib/hibernate-validator-4.0.0.GA.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/hibernate-validator-4.0.0.GA.jar], DelegatingHandler@19378386[path=manpowerFront.war/WEB-INF/lib/hibernate-validator-legacy-4.0.2.GA.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/hibernate-validator-legacy-4.0.2.GA.jar], DelegatingHandler@13219025[path=manpowerFront.war/WEB-INF/lib/jstl-api-1.2.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/jstl-api-1.2.jar], DelegatingHandler@8261369[path=manpowerFront.war/WEB-INF/lib/jstl-impl-1.2.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/jstl-impl-1.2.jar], DelegatingHandler@604988[path=manpowerFront.war/WEB-INF/lib/richfaces-components-api-4.0.0.Final.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/richfaces-components-api-4.0.0.Final.jar], DelegatingHandler@1044101[path=manpowerFront.war/WEB-INF/lib/richfaces-components-ui-4.0.0.Final.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/richfaces-components-ui-4.0.0.Final.jar], DelegatingHandler@32796475[path=manpowerFront.war/WEB-INF/lib/richfaces-core-api-4.0.0.Final.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/richfaces-core-api-4.0.0.Final.jar], DelegatingHandler@11709783[path=manpowerFront.war/WEB-INF/lib/richfaces-core-impl-4.0.0.Final.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/richfaces-core-impl-4.0.0.Final.jar], DelegatingHandler@9592423[path=manpowerFront.war/WEB-INF/lib/sac-1.3.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/sac-1.3.jar], DelegatingHandler@24363946[path=manpowerFront.war/WEB-INF/lib/standard.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/standard.jar], DelegatingHandler@20112431[path=manpowerFront.war/WEB-INF/lib/validation-api-1.0.0.GA.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/manpowerFront.war/WEB-INF/lib/validation-api-1.0.0.GA.jar]]  delegates=null exported=[org.richfaces.view.facelets, org.hibernate.validator.util, org.apache.commons.collections.keyvalue, org.apache.taglibs.standard, org.w3c.css.sac, org.richfaces.component.util, org.hibernate.validator.util.annotationfactory, META-INF.maven.org.richfaces.ui.core.richfaces-ui-core-ui, META-INF.maven.com.googlecode.jtype.jtype, META-INF.maven.javax.validation.validation-api, com.steadystate.css.userdata, org.hibernate.validator.event, org.apache.commons.collections.bag, javax.validation, src.backingbean, org.richfaces.application.configuration, org.richfaces.resource.css, org.apache.taglibs.standard.tag.rt.core, META-INF.richfaces.org.richfaces, src.navigationAndTrans, org.hibernate.validator.resources, META-INF.cdk.attributes, org.richfaces.exception, org.apache.taglibs.standard.tag.common.core, META-INF.maven.org.richfaces.ui.output.richfaces-ui-output-ui, org.apache.taglibs.standard.tag.common.sql, org.richfaces.cache, org.w3c.css.sac.helpers, org.apache.commons.collections.list, META-INF.maven.org.richfaces.ui.dnd.richfaces-ui-dnd-api, org.apache.taglibs.standard.tag.common.fmt, org.ajax4jsf.util.base64, META-INF.richfaces, org.apache.taglibs.standard.lang.support, org.apache.taglibs.standard.tag.rt.sql, META-INF.maven.org.richfaces.core.richfaces-core-impl, org.ajax4jsf, org.apache.taglibs.standard.lang.jstl.test, org.apache.taglibs.standard.tag.el.core, org.apache.commons.collections, org.apache.taglibs.standard.lang.jstl.test.beans, org.ajax4jsf.resource.util, org.richfaces.webapp, javax.validation.constraints, org.richfaces.function, META-INF.maven.org.richfaces.ui.richfaces-components-api, org.richfaces.taglib, org.apache.commons.collections.set, org.apache.taglibs.standard.lang.jstl.parser, org.richfaces.application, org.ajax4jsf.resource, org.hibernate.validator.jtype, org.apache.taglibs.standard.tei, META-INF.resources, org.richfaces.context, org.ajax4jsf.javascript, org.apache.taglibs.standard.resources, META-INF.maven.org.richfaces.core.richfaces-core-api, org.apache.taglibs.standard.tag.el.sql, org.richfaces.event, org.apache.commons.collections.functors, META-INF.skins, org.ajax4jsf.model, META-INF.maven.org.richfaces.ui.core.richfaces-ui-core-api, org.richfaces.resource, resources.bundle, org.ajax4jsf.io, META-INF.services, org.richfaces.el.util, javax.validation.spi, org.richfaces.model.iterators, org.apache.taglibs.standard.extra.spath, META-INF.maven.org.richfaces.ui.output.richfaces-ui-output-api, javax.validation.bootstrap, org.richfaces.view.facelets.html, org.apache.taglibs.standard.tlv, META-INF.maven.org.richfaces.ui.common.richfaces-ui-common-ui, org.richfaces.component.html, org.apache.taglibs.standard.functions, META-INF.maven.org.richfaces.ui.input.richfaces-ui-input-api, META-INF.resources.org.richfaces, org.hibernate.validator.interpolator, org.apache.commons.collections.bidimap, org.richfaces.javascript, org.apache.commons.collections.collection, org.richfaces.json, org.apache.taglibs.standard.tag.rt.fmt, org.richfaces.model, META-INF.maven.org.richfaces.ui.common.richfaces-ui-common-api, org.richfaces.application.push, org.apache.commons.collections.map, org.apache.taglibs.standard.lang.jstl, META-INF.maven.org.richfaces.ui.iteration.richfaces-ui-iteration-ui, META-INF.maven.org.richfaces.ui.validator.richfaces-ui-validator-ui, org.richfaces.application.push.impl.jms, META-INF.maven.net.sourceforge.cssparser.cssparser, META-INF.maven.org.richfaces.ui.validator.richfaces-ui-validator-api, javax.validation.metadata, org.richfaces.convert, org.hibernate.validator.xml, org.richfaces.validator.model, org.richfaces.renderkit.util, META-INF.maven.org.richfaces.ui.iteration.richfaces-ui-iteration-api, org.apache.taglibs.standard.tag.rt.xml, org.ajax4jsf.renderkit, META-INF.maven.org.richfaces.ui.misc.richfaces-ui-misc-ui, org.richfaces.cache.lru, org.richfaces.log, org.apache.commons.collections.buffer, org.richfaces.el, META-INF.maven.org.richfaces.ui.dnd.richfaces-ui-dnd-ui, org.hibernate.validator.engine.resolver, org.hibernate.validator.constraints.impl, org.richfaces.application.push.impl, org.apache.commons.collections.comparators, org.richfaces.l10n, org.richfaces.renderkit.html.images, org.apache.taglibs.standard.tag.el.fmt, org.richfaces.util, org.richfaces.component.behavior, org.richfaces.validator, org.richfaces.skin, org.apache.commons.collections.iterators, com.steadystate.css.parser.selectors, org.richfaces.renderkit, com.steadystate.css.sac, META-INF.maven.org.hibernate.hibernate-validator, META-INF.maven.org.hibernate.hibernate-validator-legacy, org.richfaces.request, META-INF.resources.net.java.dev.atmosphere, org.richfaces.renderkit.html.iconimages, org.ajax4jsf.component, com.steadystate.css.dom, javax.validation.groups, org.hibernate.validator.engine, org.apache.taglibs.standard.tag.common.xml, src.common, org.hibernate.validator.engine.groups, org.richfaces.view.facelets.tag, org.hibernate.validator.metadata, org.apache.taglibs.standard.tag.el.xml, org.ajax4jsf.cache, org.richfaces.renderkit.html, META-INF, org.hibernate.validator.constraints, org.richfaces.component, org.ajax4jsf.component.behavior, META-INF.maven.javax.servlet.jsp.jstl.jstl-api, META-INF.maven.org.richfaces.ui.input.richfaces-ui-input-ui, org.richfaces.utils, org.ajax4jsf.util, com.steadystate.css.parser, META-INF.maven.org.richfaces.ui.richfaces-components-ui, META-INF.maven.org.glassfish.web.jstl-impl, org.hibernate.validator, org.richfaces] <IMPORT-ALL>NON_EMPTY}}

    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:422)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

    at org.richfaces.resource.ResourceHandlerImpl.<init>(ResourceHandlerImpl.java:66)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

    at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:263)

    at com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:752)

    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:310)

    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)

    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)

    at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)

    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)

    ... 60 more

  • 5. I have working ejb3 jsf2 richfaces4(final) project -in development
    iabughosh Master

    hi barna,

    sorry i wans't clear,

    the first 7n error can removed   if i add     validation-api-1.0.0.GA.jar to lib

            but then the project sotp working! the first page that use <h:> tag say somting like this

              javax.validation.ValidationException from BaseClassLoader       and  lots more of this s***

     

    can you post that trace ?

  • 6. Re: I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    hi Ibrahim

          now you can see the log when i insert the validation-api-1.0.0.GA.jar to lib the few first error are removed!

     

    INFO  [Version] Hibernate Validator 4.0.0.GA

    13:14:09,421 ERROR [STDERR] 11/04/2011 13:14:09 org.richfaces.cache.CacheManager getCacheFactory

    INFO: Selected fallback cache factory

    13:14:09,421 ERROR [STDERR] 11/04/2011 13:14:09 org.richfaces.cache.lru.LRUMapCacheFactory createCache

    INFO: Creating LRUMap cache instance using parameters: {com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), org.richfaces.skin=wine, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, javax.faces.PROJECT_STAGE=Development, org.richfaces.enableControlSkinningClasses=false, org.richfaces.enableControlSkinning=true, javax.faces.DEFAULT_SUFFIX=.xhtml}

    13:14:09,436 ERROR [STDERR] 11/04/2011 13:14:09 org.richfaces.cache.lru.LRUMapCacheFactory createCache

    INFO: Creating LRUMap cache instance of 512 items capacity

    13:14:09,436 ERROR [STDERR] 11/04/2011 13:14:09 org.richfaces.application.InitializationListener onStart

    INFO: RichFaces Core Implementation by JBoss, a division of Red Hat, Inc., version v.4.0.0.Final SVN r.22269

    13:14:09,452 INFO  [config] Monitoring jndi:/localhost/manpowerFront/WEB-INF/faces-config.xml for modifications

     

     

     

    but when i try to  enter via the web to the first page i got this error

     

    An Error Occurred:

    javax.validation.ValidationException from BaseClassLoader@15b5d86{VFSClassLoaderPolicy@15927e2{name=vfsfile:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/ domain=ClassLoaderDomain@18adae2{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@b166b5} roots=[MemoryContextHandler@4817880[path= context=vfsmemory://aox4a-i7ubeq-gmd7izym-1-gmd7j75u-w real=vfsmemory://aox4a-i7ubeq-gmd7izym-1-gmd7j75u-w], FileHandler@7266357[path=jbossweb.sar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/], DelegatingHandler@21090147[path=jbossweb.sar/jasper-jdt.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jasper-jdt.jar], DelegatingHandler@26650284[path=jbossweb.sar/jboss-web-service.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jboss-web-service.jar], DelegatingHandler@26767949[path=jbossweb.sar/jbossweb.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jbossweb.jar], DelegatingHandler@24653692[path=jbossweb.sar/jstl.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jstl.jar], DelegatingHandler@24489481[path=jbossweb.sar/jsf-libs/jboss-faces.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jsf-libs/jboss-faces.jar], DelegatingHandler@16058627[path=jbossweb.sar/jsf-libs/jsf-api.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jsf-libs/jsf-api.jar], DelegatingHandler@19056992[path=jbossweb.sar/jsf-libs/jsf-impl.jar context=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/Perspective/jboss-5.0.1.GA/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar]] delegates=null exported=[, org.apache.tomcat.util.net, org.jboss.web.tomcat.security, org.apache.jasper.resources, com.sun.faces.application.annotation, org.apache.catalina.util, com.sun.faces.facelets.compiler, org.apache.tomcat.util.log, org.eclipse.jdt.internal.compiler.classfmt, org.apache.catalina.startup, com.sun.faces.el, org.apache.taglibs.standard.tag.rt.core, com.sun.faces.xhtml, org.apache.catalina.manager.host, org.apache.taglibs.standard.tag.common.sql, org.apache.naming.java, com.sun.faces.config, org.apache.coyote.memory, org.apache.taglibs.standard.tag.common.fmt, org.apache.jasper.util, org.apache.taglibs.standard.lang.support, org.apache.catalina, com.sun.faces.component.visit, javax.faces.bean, com.sun.faces.ext.validator, javax.faces.component.behavior, org.apache.jasper.servlet, org.apache.catalina.ssi, javax.faces.lifecycle, org.jboss.net.protocol.jndi, com.sun.faces.metadata.taglib, org.apache.naming.resources, javax.faces.webapp, javax.faces.component.visit, org.apache.tomcat.bayeux, javax.faces.convert, org.apache.el.parser, org.apache.catalina.mbeans, org.apache.taglibs.standard.lang.jstl.parser, org.apache.catalina.security, com.sun.faces.config.configprovider, com.sun.faces.facelets.tag.jstl.fn, org.apache.taglibs.standard.resources, org.jboss.web.tomcat.statistics, org.apache.taglibs.standard.tag.el.sql, org.eclipse.jdt.internal.core.util, org.eclipse.jdt.internal.compiler.parser.diagnose, org.jboss.web.cluster, org.apache.jasper.security, META-INF.services, com.sun.faces.ext.render, org.apache.tomcat.util.http.mapper, org.apache.naming, org.jboss.web.rewrite, org.apache.taglibs.standard.functions, com.sun.faces.facelets.tag.ui, org.jboss.web.tomcat.service.deployers, org.apache.tomcat.util.res, javax.faces, org.apache.tomcat.util.digester, javax.faces.component, javax.faces.el, org.apache.naming.resources.jndi, org.jboss.web.tomcat.filters, org.jboss.web.tomcat.service, org.apache.catalina.loader, org.jboss.servlet.http, org.apache.jasper.compiler, org.eclipse.jdt.internal.compiler.env, org.eclipse.jdt.internal.compiler.lookup, org.eclipse.jdt.internal.compiler.util, com.sun.faces.application, org.apache.taglibs.standard.tag.rt.xml, com.sun.faces.scripting.groovy, org.eclipse.jdt.internal.compiler.problem, javax.faces.component.html, org.apache.el.util, com.sun.faces.taglib, org.apache.jasper.runtime, org.apache.catalina.realm, com.sun.faces.context, org.apache.jasper.tagplugins.jstl.core, org.apache.cometd.bayeux, org.apache.taglibs.standard.tag.el.fmt, com.sun.faces.component.validator, com.sun.faces.application.view, org.apache.coyote.http11, org.jboss.web.php, org.eclipse.jdt.internal.compiler, org.apache.catalina.ant, org.eclipse.jdt.internal.compiler.batch, org.jboss.web.tomcat.servlets, org.apache.catalina.session, org.jboss.web.tomcat.service.injection, com.sun.faces.renderkit, org.apache.tomcat.util.net.jsse.res, javax.faces.model, org.apache.taglibs.standard.tag.el.xml, META-INF, org.apache.coyote.ajp, com.sun.faces.component, org.jboss.web.tomcat.service.session, org.apache.naming.factory, com.sun.faces.facelets.el, org.jboss.web.tomcat.metadata, org.eclipse.jdt.internal.compiler.impl, org.apache.el, com.sun.faces.facelets.tag, org.apache.tomcat.util.http.fileupload, com.sun.faces.mgbean, org.apache.taglibs.standard, org.apache.catalina.core, org.jboss.web.tomcat.security.jaspi.modules, org.apache.tomcat.util.http, javax.faces.validator, com.sun.faces, org.apache.jasper.xmlparser, org.eclipse.jdt.internal.compiler.codegen, org.apache.catalina.ant.jmx, javax.faces.application, org.jboss.web.tomcat.service.jasper, org.apache.tomcat.util.modeler.modules, org.apache.taglibs.standard.tag.common.core, org.jboss.web.jsf.integration.config, com.sun.faces.facelets, com.sun.faces.lifecycle, org.apache.jasper.el, javax.servlet.jsp.jstl.core, org.jboss.web.tomcat.service.jca, org.apache.tomcat.util.net.jsse, org.jboss.web.cluster.advertise, com.sun.faces.taglib.jsf_core, org.apache.taglibs.standard.tag.rt.sql, org.jboss.web.jsf.integration.serialization, org.apache.tomcat.util.json, org.eclipse.jdt.core.compiler, javax.servlet.jsp.jstl.sql, org.apache.taglibs.standard.lang.jstl.test, org.apache.taglibs.standard.tag.el.core, org.apache.taglibs.standard.lang.jstl.test.beans, org.eclipse.jdt.internal.compiler.flow, META-INF.resources.javax.faces, com.sun.faces.facelets.tag.composite, com.sun.faces.vendor, com.sun.faces.taglib.html_basic, org.apache.coyote.http11.filters, com.sun.faces.spi, com.sun.faces.ext.component, javax.faces.render, org.apache.taglibs.standard.tei, org.apache.catalina.servlets, com.sun.faces.facelets.tag.jstl.core, org.apache.naming.factory.webservices, javax.faces.event, com.sun.faces.facelets.tag.jsf, com.sun.faces.renderkit.html_basic, org.jboss.web.jsf.integration.injection, com.sun.faces.resources, com.sun.faces.context.flash, org.eclipse.jdt.internal.compiler.ast, org.apache.taglibs.standard.extra.spath, org.jboss.web.tomcat.service.sso, org.apache.taglibs.standard.tlv, org.apache.catalina.manager, org.apache.tomcat.util.http.res, com.sun.faces.facelets.component, com.sun.faces.io, javax.servlet.jsp.jstl.fmt, org.apache.jasper.tagplugins.jstl, org.apache.el.lang, org.apache.taglibs.standard.tag.rt.fmt, org.apache.tomcat.util.buf.res, org.apache, org.apache.catalina.manager.util, org.apache.taglibs.standard.lang.jstl, org.apache.tomcat.util, org.jboss.web.tomcat.security.jaspi, com.sun.faces.facelets.impl, com.sun.faces.facelets.tag.jsf.html, com.sun.faces.facelets.tag.jsf.core, org.jboss.web.tomcat.service.session.notification, org.jboss.web.tomcat.security.authenticators, com.sun.faces.component.behavior, org.apache.coyote, org.apache.catalina.authenticator, javax.faces.view, com.sun.faces.config.processor, com.sun.faces.ext.taglib, org.apache.catalina.connector, com.sun.faces.application.resource, javax.faces.context, org.jboss.web.tomcat.security.login, org.jboss.net.ssl, org.apache.jasper, org.apache.tomcat.bayeux.request, com.sun.faces.scripting, org.apache.tomcat.util.buf, org.eclipse.jdt.core.compiler.batch, org.apache.jasper.compiler.tagplugin, org.apache.tomcat.util.modeler, org.apache.taglibs.standard.tag.common.xml, org.apache.catalina.valves, org.apache.catalina.deploy, javax.servlet.jsp.jstl.tlv, com.sun.faces.facelets.util, javax.faces.view.facelets, com.sun.faces.util, org.apache.tomcat.jni, org.apache.tomcat.util.net.res, org.eclipse.jdt.internal.compiler.parser] <IMPORT-ALL>NON_EMPTY}}

  • 7. I have working ejb3 jsf2 richfaces4(final) project -in development
    iabughosh Master

    Dear barna,

    since you are using RichFaces 4, i think you need JSF 2 implementaion, download JSF 2.0.3 Mojarra, add to your application lib dir, and add this context param to your web.xml

       

    <context-param>

    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>

    <param-value>true</param-value>

    </context-param>

  • 8. I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    hi Ibrahim Abu Ghosh

     

    thanks for your time but

      in have mojarra-2.1.1 jsf2  implementaion files  in my jboss  in

    jbossweb.sar\jsf-libs  lib

    so i don't have to add it to the application lib dir

  • 9. I have working ejb3 jsf2 richfaces4(final) project -in development
    iabughosh Master

    i've project on JBoss 6 with these jars :

    common-annotations.jar

    commons-beanutils.jar

    commons-collections.jar

    commons-digester.jar

    jstl.jar

    richfaces-components-api.jar

    richfaces-components-ui.jar

    richfaces-core-api.jar

    richfaces-core-impl.jar

    standard.jar

    cssparser-0.9.5.jar

    sac-1.3.jar

     

    JSF 2 & validation are bundled with the server

    you are missing these jars :common-annotations.jar,commons-digester.jar

     

    try adding them.

  • 10. I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    when i add them (common-annotations.jar,commons-digester.jar)   its remain the same.

  • 11. I have working ejb3 jsf2 richfaces4(final) project -in development
    Ilya Shaikovsky Master

    what about your application configuration descriptors?

  • 12. I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    hi master

     

    this is my web.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="richfaces-showcase" version="2.5"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <display-name>manpowerFront</display-name>

    <context-param>
      <param-name>org.richfaces.enableControlSkinning</param-name>
      <param-value>true</param-value>
    </context-param>
    <context-param>
      <param-name>org.richfaces.enableControlSkinningClasses</param-name>
      <param-value>false</param-value>
    </context-param>
    <context-param>
      <param-name>org.richfaces.skin</param-name>
      <param-value>wine</param-value>
    </context-param>
    <context-param>
      <param-name>javax.faces.PROJECT_STAGE</param-name>
      <param-value>Development</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>

     


    <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>

    <mime-mapping>
      <extension>ecss</extension>
      <mime-type>text/css</mime-type>
    </mime-mapping>

    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>index.html</welcome-file>
      </welcome-file-list>

     

    </web-app>

     

    and this is my  faces-config.xml

     

    <?xml version="1.0"?>

    <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"

    xmlns:xi="http://www.w3.org/2001/XInclude"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee  http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">

    <name>manpowerFront</name>

    <!--  Empty for now. Your entries will go here. But even

            if you have no entries in faces-config.xml, you are required

            to have a valid faces-config.xml file with legal

            start and end tags.

           

            From JSF 2.0 tutorial at http://www.coreservlets.com/JSF-Tutorial/jsf2/ -->

            <application>

       <resource-bundle>

      <base-name>resources.bundle.perspective</base-name>

      <var>variants</var>

        </resource-bundle>

         </application>

        

    </faces-config>

  • 13. Re: I have working ejb3 jsf2 richfaces4(final) project -in development
    avi barna Newbie

    hi Ilya and thanks for your reply do you want  to see something else  except faces-config.xml and web.xml ?