• RELEVANCY SCORE 3.31

    DB:3.31:Seam Faces Not Working With Jbas6 Cr1 m1





    The exception is thrown when accessing any JSF page.The environment: - JBoss AS 6.0.0.CR1 - Weld 1.1.0.Beta2 (the one with de AS dist) - Weld Extensions 1.0.0-SNAPSHOT - Seam Persistence 3.0.0-SNAPSHOTThe stack trace:exceptionjavax.servlet.ServletException: object is not an instance of declaring classjavax.faces.webapp.FacesServlet.service(FacesServlet.java:321)org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)root causejava.lang.IllegalArgumentException: object is not an instance of declaring classsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)java.lang.reflect.Method.invoke(Method.java:597)org.jboss.seam.persistence.PersistenceContextProxyHandler.invoke(PersistenceContextProxyHandler.java:68)org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.invoke(ManagedPersistenceContextProxyHandler.java:126)$Proxy745.getProvider(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)java.lang.reflect.Method.invoke(Method.java:597)org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:102)org.jboss.weld.proxies.SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-ville$lookbook$producers$PersistenceProducer$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$persistence$SeamManaged()]_$$_WeldClientProxy.getProvider(SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-ville$lookbook$producers$PersistenceProducer$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$persistence$SeamManaged()]_$$_WeldClientProxy.java)org.jboss.seam.persistence.PersistenceContextsImpl.beforeRender(PersistenceContextsImpl.java:131)org.jboss.seam.persistence.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$cjalmeida$opt$jboss-6$0$0$20101110-CR1$server$default$deploy$lookbook$war"-ManagedBean-class_org$jboss$seam$persistence$PersistenceContextsImpl_$$_WeldClientProxy.beforeRender(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$cjalmeida$opt$jboss-6$0$0$20101110-CR1$server$default$deploy$lookbook$war"-ManagedBean-class_org$jboss$seam$persistence$PersistenceContextsImpl_$$_WeldClientProxy.java)org.jboss.seam.faces.transaction.TransactionPhaseListener.handleTransactionsBeforePhase(TransactionPhaseListener.java:103)org.jboss.seam.faces.transaction.TransactionPhaseListener.beforePhase(TransactionPhaseListener.java:84)org.jboss.seam.faces.event.DelegatingPhaseListener.beforePhase(DelegatingPhaseListener.java:56)com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)

    DB:3.31:Seam Faces Not Working With Jbas6 Cr1 m1

    The exception is thrown when accessing any JSF page.The environment: - JBoss AS 6.0.0.CR1 - Weld 1.1.0.Beta2 (the one with de AS dist) - Weld Extensions 1.0.0-SNAPSHOT - Seam Persistence 3.0.0-SNAPSHOTThe stack trace:exceptionjavax.servlet.ServletException: object is not an instance of declaring classjavax.faces.webapp.FacesServlet.service(FacesServlet.java:321)org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)root causejava.lang.IllegalArgumentException: object is not an instance of declaring classsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)java.lang.reflect.Method.invoke(Method.java:597)org.jboss.seam.persistence.PersistenceContextProxyHandler.invoke(PersistenceContextProxyHandler.java:68)org.jboss.seam.persistence.ManagedPersistenceContextProxyHandler.invoke(ManagedPersistenceContextProxyHandler.java:126)$Proxy745.getProvider(Unknown Source)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)java.lang.reflect.Method.invoke(Method.java:597)org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:102)org.jboss.weld.proxies.SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-ville$lookbook$producers$PersistenceProducer$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$persistence$SeamManaged()]_$$_WeldClientProxy.getProvider(SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-ville$lookbook$producers$PersistenceProducer$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$persistence$SeamManaged()]_$$_WeldClientProxy.java)org.jboss.seam.persistence.PersistenceContextsImpl.beforeRender(PersistenceContextsImpl.java:131)org.jboss.seam.persistence.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$cjalmeida$opt$jboss-6$0$0$20101110-CR1$server$default$deploy$lookbook$war"-ManagedBean-class_org$jboss$seam$persistence$PersistenceContextsImpl_$$_WeldClientProxy.beforeRender(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$home$cjalmeida$opt$jboss-6$0$0$20101110-CR1$server$default$deploy$lookbook$war"-ManagedBean-class_org$jboss$seam$persistence$PersistenceContextsImpl_$$_WeldClientProxy.java)org.jboss.seam.faces.transaction.TransactionPhaseListener.handleTransactionsBeforePhase(TransactionPhaseListener.java:103)org.jboss.seam.faces.transaction.TransactionPhaseListener.beforePhase(TransactionPhaseListener.java:84)org.jboss.seam.faces.event.DelegatingPhaseListener.beforePhase(DelegatingPhaseListener.java:56)com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)

  • RELEVANCY SCORE 3.04

    DB:3.04:Weblogic 10.0 Mp1 And Seam 2.0.1 Ga jd





    Hi,

    I am trying the seam jee5/booking example on Weblogic 10 MP1 and Seam 2.0.1GA. I have followed the guide lines presented in Chapter 27, Seam on Weblogic. I have downloaded the jboss fixes and applied them. I managed to initially get to work bar session bean to session bean injection.

    However, now when I autodeploy it, I get the following exception:

    java.lang.NoClassDefFound
    Error: org/jboss/seam/jsf/SeamPhaseListener : javax/faces/event/PhaseListener.
    java.lang.NoClassDefFoundError: org/jboss/seam/jsf/SeamPhaseListener : javax/fac
    es/event/PhaseListener

    Where should I place the jboss-seam.jar, so that the class loader picks it up. Also on a side note, for seam 2.0.1GA, if I change SessionBeanInterceptor, how would I rebuild seam (I tried rebuilding from jboss-seam-2.0.1.GA dir using ant but I got loads of errors.

    Please advise.

    Thanks,
    B. Dhaliwal

    DB:3.04:Weblogic 10.0 Mp1 And Seam 2.0.1 Ga jd

    Hi Jay,

    I managed to include SessionBeanInterceptor changes and jee5/booking works fine, incl. session bean injection.

    Thanks very much for your help.

    Regards,
    Balvindar

  • RELEVANCY SCORE 2.81

    DB:2.81:Problem With Multiple Seam Component Jars In A War 3k






    i want to divide my web application into some modules, so i have some seam component jar each with Entity classes, my problem is that Entity in module jar can not be loaded or mapped by JPA, why?my WAR looks like :---------------------------------------------

    my-application.war/
    META-INF/
    MANIFEST.MF
    WEB-INF/
    web.xml
    components.xml
    faces-config.xml
    pages.xml
    lib/
    jboss-seam.jar
    jboss-seam-ui.jar
    jboss-el.jar
    jsf-facelets.jar
    jsf-api.jar
    jsf-impl.jar
    ...
    classes/
    persistence.xml

    my-module1.jar/
    META-INF/
    MANIFEST.MF
    components.xml(blank)
    org/
    jboss/
    module1/
    User.class
    Login.class
    LoginBean.class
    Register.class
    RegisterBean.class
    seam.properties
    ...
    my-module2.jar/
    META-INF/
    MANIFEST.MF
    components.xml(blank)
    org/
    jboss/
    module2/
    Entity2.class
    seam.properties
    ...
    login.jsp
    register.jsp
    ...

    DB:2.81:Problem With Multiple Seam Component Jars In A War 3k


    in case you want relative pathtry this..jar-filefile:my-application.war!/WEB-INF/lib/myapp1.jar/jar-fileotherwise the best/cleaner option is to bundle your application as ear, with the entity jars directly inside the earmyapp.ear---entity.jar---mywebapp.war------WEB-INF---------libon that case you will just need to specify as jar-fileentity.jarjar-file in the persistence.xmlor just bundle your persistence.xml inside the entity.jar/META-INFpost this question in hibernate forum, you could get better answers.

  • RELEVANCY SCORE 2.81

    DB:2.81:Classloading Issue Between 2 Ear In Jboss 4.2.1 kf



    HelloThere seams to be a weird issue, I assume it is related to JBoss Classloading.I have 2 independent EARs, say EAR_1 and EAR_2. Both of them work great being deployed independently each other, i.e. only one EAR deployed at the same time. When EAR_1(has JBoss Seam) and EAR_2(plain JSF) are put together in ~/server/default/deploy/ directory, they deploy as usual. Invoking a JSF page in EAR_2 shows a Seam-based Exception, the current EAR_1 has no JBoss Seam in it at all, the only Seam Jar is in EAR_2, nowhere in JBoss server library directories either. I am using for both applications the default JSF-RI in the JBoss' Tomcat's jsf-lin folder-no other JSF jars. Please advice if this is a Classloading issue or a configuration I might be missing. Thanks.

    DB:2.81:Classloading Issue Between 2 Ear In Jboss 4.2.1 kf


    Putting in both EARs' ~/META-INF/jboss-app.xml:jboss-apploader-repositorycom.mydomain.appname:archive=some.ear/loader-repository/jboss-appseams to solve the problem.

  • RELEVANCY SCORE 2.80

    DB:2.80:Jboss Seam 2.0.0.Ga And The Latest Jsf Ri -- Stack Overflow 7z



    Hi I am trying to use the latest jsf-ri from the the SVN repository of JSF - Ri .I did the following : Replace the jsf-api.jar and the jsf-impl.jar in the jboss-webdeployer/jsf-libs directory of my jboss server Replace the jsf-api.jar and the jsf-impl.jar of my application directoryOn start I get a Stack overflow error . Is there any other jar file that I need to replaceThanksRegardsHari

    DB:2.80:Jboss Seam 2.0.0.Ga And The Latest Jsf Ri -- Stack Overflow 7z


    Solved the problem. I was using the HEAD of the SUN JSF-RI and I guess people are still checking the code since I saw a lot of UnSupportedMethod Exception being throws delberately .I used the last tagged version and things are fineThanksRegardsHari

  • RELEVANCY SCORE 2.78

    DB:2.78:First Steps With Seam Using Jboss Tools 18



    Hi all,I've got Eclipse 3.3 with WTP 2.0 and JBoss Tools 2.0.0.GA installed on my 32-bit Ubuntu 7.04 machine. I've also set up jboss 4.0.5 with the jems installer using the non-clustered ejb3 profile and jboss-seam-1.2.1.GA.I used seam-gen to validate the jboss runtime by creating a project with 'seam setup', then 'seam new-project' and finally 'seam explode'. I get the sample application running with absolutely no problems.Now, I want to use Eclipse and JBoss Tools to work on the generated sample. I tried the following:1) Importing the project into Eclipse with "File- Import - General - Existing Projects into Workspace".This seems to work, but it does not add/detect the "Seam Web Project" nature. As a result, I can only use the Ant view to compile/explode the project and can not use "Add and Remove Projects..." to add the project to the JBoss Server instance I have in the IDE. Of course, the project is deployed by the ant script and I can run it, but I want to use the full integration.2) Create the sample from scratch, from within Eclipse with "File - New - Seam Web Project".I use the same 4.0 server runtime which I know that works, and the "Dynamic Web Project with Seam 1.2" configuration (with no modifications). I change nothing in the defaults of the wizard, except create an HSQL database connection profile (otherwise the wizard will not complete).When I try to access the application URL, I get an endless loop of:12:34:40,604 ERROR [ExceptionFilter] uncaught exceptionjavax.servlet.ServletException: javax/el/ELException at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)Doesn't JBoss Tools uses seam-gen behind the scenes? Why does the generated application not work?

    DB:2.78:First Steps With Seam Using Jboss Tools 18


    What is the underlying exception ? The original cause ?note: we had to fix bugs in seam-gen for 1.2.1 to have it work correctly not sure if this is one of them; those bugfixes are in the 1.2.1_AP branch of seam.

  • RELEVANCY SCORE 2.75

    DB:2.75:Seam Over Jsf 1.2 Performance fx



    I've added tomahawk 1.1.6 and wrapped document using tomahawkt:document. App is using JSF 1.2 and Seam 1.3.0.A on JBoss 4.2.The rendering works noticably faster, not sure why though.Might be Seam development team could look at that and if performanceis indeed better Seam could be improved so no tomahawk is needed (I do not use tomahawk for anything else in my app, and no myfaces JSF implementation at all).
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:f="http://java.sun.com/jsf/core" xmlns:s="http://jboss.com/products/seam/taglib"t:documentt:documentHead meta http-equiv="Content-Type" content="text/html; charset=UTF-8" / titleSeam App/title link href="css/theme.css" rel="stylesheet" type="text/css" //t:documentHeadt:documentBody ui:include src="menu.xhtml" /ui:include div class="body" ui:insert name="body"/ /div/t:documentBody/t:document/f:viewAdded into web.xml
    filter
    filter-nameMyFacesExtensionsFilter/filter-name
    filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class
    init-param
    param-namemaxFileSize/param-name
    param-value20m/param-value
    descriptionSet the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    /description
    /init-param
    /filter

    !-- extension mapping for adding script/, link/, and other resource tags to JSF-pages --
    filter-mapping
    filter-nameMyFacesExtensionsFilter/filter-name
    !-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry --
    servlet-nameFaces Servlet/servlet-name
    /filter-mapping

    !-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) --
    filter-mapping
    filter-nameMyFacesExtensionsFilter/filter-name
    url-pattern/faces/myFacesExtensionResource/*/url-pattern
    /filter-mapping

    context-param
    param-nameorg.apache.myfaces.ADD_RESOURCE_CLASS/param-name
    param-valueorg.apache.myfaces.component.html.util.StreamingAddResource/param-value
    /context-param
    context-param
    param-nameorg.apache.myfaces.COMPRESS_STATE_IN_SESSION/param-name
    param-valuefalse/param-value
    /context-param
    context-param
    param-nameorg.apache.myfaces.SERIALIZE_STATE_IN_SESSION/param-name
    param-valuefalse/param-value
    /context-param
    context-param
    param-nameorg.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION/param-name
    param-value20/param-value
    descriptionOnly applicable if state saving method is "server" (= default).
    Defines the amount (default = 20) of the latest views are stored in session.
    /description
    /context-param

    DB:2.75:Seam Over Jsf 1.2 Performance fx


    I've added tomahawk 1.1.6 and wrapped document using tomahawkt:document. App is using JSF 1.2 and Seam 1.3.0.A on JBoss 4.2.The rendering works noticably faster, not sure why though.Might be Seam development team could look at that and if performanceis indeed better Seam could be improved so no tomahawk is needed (I do not use tomahawk for anything else in my app, and no myfaces JSF implementation at all).
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:f="http://java.sun.com/jsf/core" xmlns:s="http://jboss.com/products/seam/taglib"t:documentt:documentHead meta http-equiv="Content-Type" content="text/html; charset=UTF-8" / titleSeam App/title link href="css/theme.css" rel="stylesheet" type="text/css" //t:documentHeadt:documentBody ui:include src="menu.xhtml" /ui:include div class="body" ui:insert name="body"/ /div/t:documentBody/t:document/f:viewAdded into web.xml
    filter
    filter-nameMyFacesExtensionsFilter/filter-name
    filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class
    init-param
    param-namemaxFileSize/param-name
    param-value20m/param-value
    descriptionSet the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    /description
    /init-param
    /filter

    !-- extension mapping for adding script/, link/, and other resource tags to JSF-pages --
    filter-mapping
    filter-nameMyFacesExtensionsFilter/filter-name
    !-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry --
    servlet-nameFaces Servlet/servlet-name
    /filter-mapping

    !-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) --
    filter-mapping
    filter-nameMyFacesExtensionsFilter/filter-name
    url-pattern/faces/myFacesExtensionResource/*/url-pattern
    /filter-mapping

    context-param
    param-nameorg.apache.myfaces.ADD_RESOURCE_CLASS/param-name
    param-valueorg.apache.myfaces.component.html.util.StreamingAddResource/param-value
    /context-param
    context-param
    param-nameorg.apache.myfaces.COMPRESS_STATE_IN_SESSION/param-name
    param-valuefalse/param-value
    /context-param
    context-param
    param-nameorg.apache.myfaces.SERIALIZE_STATE_IN_SESSION/param-name
    param-valuefalse/param-value
    /context-param
    context-param
    param-nameorg.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION/param-name
    param-value20/param-value
    descriptionOnly applicable if state saving method is "server" (= default).
    Defines the amount (default = 20) of the latest views are stored in session.
    /description
    /context-param

  • RELEVANCY SCORE 2.72

    DB:2.72:Blank Page Aftre Changing The Jboss-Seam* Jars From 1.2.1 To ck



    Hi! I've changed the jars and a blank page is rendered. This is the only source that's rendered
    ?xml version='1.0' encoding='utf-8'?
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"

    xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"headtitle/title/he

    DB:2.72:Blank Page Aftre Changing The Jboss-Seam* Jars From 1.2.1 To ck


    BTW, I suspect that the facelets ViewHandler is not invoked

  • RELEVANCY SCORE 2.72

    DB:2.72:Jboss Seam Pdf And Excel Tag Libs For Jsf sz



    Hi,I am using jboss-seam-pdf.jar, jboss-seam-excel for generating the reports on screen. But i found that some functionalities in pdf support from itext are not been implemented.Could anyone let me know what is the plan for implementing these functionalities and further development of the packages.

    DB:2.72:Jboss Seam Pdf And Excel Tag Libs For Jsf sz


    Hi,I am using jboss-seam-pdf.jar, jboss-seam-excel for generating the reports on screen. But i found that some functionalities in pdf support from itext are not been implemented.Could anyone let me know what is the plan for implementing these functionalities and further development of the packages.

  • RELEVANCY SCORE 2.70

    DB:2.70:Validation Issue In Adapted Registration Example sm



    Hi,in order to build my first seam application, I decided to adapt the Registration example. In the first step I changed the name of the context root and the jar, war, and ear files to myapp. After deploying everything works fine except JSF-Hibernate validation. Validation is only done during persisting the object. In case of invalid data no data constraints will be displayed. Why Seam or JSF does not trigger validation before persisting the user object?I changed the following files of the Registration example:application.xml- web-urijboss-seam-registration.war/web-uri - web-urimyapp.war/web-uri- context-root/seam-registration/context-root - context-root/myapp/context-root- jboss-seam-registration.jar - myapp.jarjboss-app.xml- seam.jboss.org:loader=seam-registration - seam.jboss.org:loader=myappcomponents.xml- core:init jndi-pattern="jboss-seam-registration/#{ejbName}/local"/ - core:init jndi-pattern="myapp/#{ejbName}/local"/Without these changes JSF-Hibernate validation works fine.Any Ideas?Thanks in advance

    DB:2.70:Validation Issue In Adapted Registration Example sm


    Following your comments I made a few more tests using the same JBoss installation and Seam 1.1.6: Everything workd fine.There are a couple differences between Registration versions (a couple tags missing and declaring Log as static) that are not related with the validation problem. The main problem is that jboss-seam-registration.war generated by version 1.1.0 does not contain jboss-seam-ui.jar in WEB-INF directoy.Thanks a lot gentlemen!

  • RELEVANCY SCORE 2.67

    DB:2.67:Xmlns Does Not Find Installed Sources zk



    Hi,I installed the jboss-seam library using maven and pom.xml.It all works fine...besides that xhtml files did not find the installedsources.Any ideas, suggestions?CheersPOM.xml: jboss.org jboss.org http://repository.jboss.com/maven2 jboss jboss-seam 1.2.1.GA jboss jboss-seam-ui 1.2.1.GA----------------------------------------------------------XHTML:html xmlns="http://www.w3.org/1999/xhtml" xmlns:comp="http://sourceforge.net/projects/jsf-comp"

    DB:2.67:Xmlns Does Not Find Installed Sources zk


    Hi,I installed the jboss-seam library using maven and pom.xml.It all works fine...besides that xhtml files did not find the installedsources.Any ideas, suggestions?CheersPOM.xml: jboss.org jboss.org http://repository.jboss.com/maven2 jboss jboss-seam 1.2.1.GA jboss jboss-seam-ui 1.2.1.GA----------------------------------------------------------XHTML:html xmlns="http://www.w3.org/1999/xhtml" xmlns:comp="http://sourceforge.net/projects/jsf-comp"

  • RELEVANCY SCORE 2.67

    DB:2.67:Inject C:Foreach Iteration Variable In Seam Component (Jsp 2.1, Jsf 1.2, Jstl 1.2) cs


    Hi all,I've problems getting the iteration variable (the var from JSTLs c:forEach) injected into a seam component using JSP as view technology.
    First, the scenario: Seam 2.0.1.CR1 JSP 2.1 (!) JSTL 1.2 (provided by container)My application Server is JBoss AS 4.2.0.
    Now, some source code:
    JSP file:?xml version="1.0" encoding="UTF-8"?
    jsp:root version="2.1"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    ...
    c:forEach items="#{lecturesView.languageSectors}" var="languageSector"
    ...
    c:forEach items="#{lecturesView.lectures}" var="lecture"
    ...
    /c:forEach
    ...
    /c:forEach
    ...
    /jsp:root

    DB:2.67:Inject C:Foreach Iteration Variable In Seam Component (Jsp 2.1, Jsf 1.2, Jstl 1.2) cs

    First, I agree with you that binding view variables to business components is a bad design. At the beginning I started with an approach like John showed below by passing parameters to the agent methods, however this does not work with JSP 2.1. Therefore I created view helper classes (not shown in the original post) which are relevant and valid only for certain views.
    The view helper class looks similar to this one:

    @Name("lecturesView")
    @Scope(ScopeType.STATELESS)
    public class LecturesViewHelper {

    @Logger
    private Log log;

    @In
    LanguageSectorAgent languageSectorAgent;

    @In
    LectureAgent lectureAgent;

    @In
    MagnoliaContent currentContent;

    @In(value="#{languageSector}", required=false)
    @Out(required=false)
    LanguageSector languageSector;

    /**
    * Checks the {@link #currentContent} if a {@link LanguageSector} is set and if so
    * only returns the appropriate {@link LanguageSector}. Otherwise returns
    * all available {@link LanguageSector}s.
    *
    * @see LanguageSector
    * @return a list of {@link LanguageSector}s depending on the current content.
    */
    public ListLanguageSector getLanguageSectors() {
    final String selectedLanguageSector = (String) currentContent.getProperties().get("languageSector");

    if (StringUtils.isNotEmpty(selectedLanguageSector)) {
    return asList(languageSectorAgent.findByName(selectedLanguageSector));
    }

    return asList(languageSectorAgent.findAll());
    }
    ...

  • RELEVANCY SCORE 2.67

    DB:2.67:Seam 2.2 Transaction Management On Jboss As 7 mk



    I managed to run Seam 2.2 (I had to upgrade Seam Hibernate from 3.3 to 3.6, JSF 1.2) on JBoss AS 7.

    after running my project, there is an issue in jboss transaction. when I use EJB I get following error with no more log

    ERROR [org.jboss.as.txn] (http-localhost/127.0.0.1:8080-2) JBAS010152: APPLICATION ERROR: transaction still active in request with status 0

    DB:2.67:Seam 2.2 Transaction Management On Jboss As 7 mk


    Hi,

    I've done so many things to get Seam 2 working on JBoss AS 7 and I can't recall exactly what I did to solve this issue but if I'm not mistaken it was something related to

    Seam UI Validator. since I had Hibernate upgraded I had to change org.jboss.seam.ui.validator.ModelValidator because there is no org.hibernate.validator.InvalidValue anymore.

    you definitely need to change Seam source in order to to do so this might help you https://github.com/omidp/seam/blob/master/jboss-seam-ui/src/main/java/org/jboss/seam/ui/validator/ModelValidator.java

    sorry for late response

  • RELEVANCY SCORE 2.66

    DB:2.66:Packaging Ear With Multiple Wars k7



    How should EARs with multiple WARs be packaged? How'bout if they share the same JAR?
    my-application.ear/
    jboss-seam.jar
    lib/
    jboss-el.jar
    META-INF/
    MANIFEST.MF
    application.xml

    a.war/
    META-INF/
    MANIFEST.MF
    WEB-INF/
    web.xml
    components.xml
    faces-config.xml
    lib/
    jsf-facelets.jar
    jboss-seam-ui.jar
    login.jsp
    register.jsp
    ...

    b.war/
    META-INF/
    MANIFEST.MF
    WEB-INF/
    web.xml
    components.xml
    faces-config.xml
    lib/
    jsf-facelets.jar
    jboss-seam-ui.jar
    login.jsp
    register.jsp
    ...

    aandb.jar/
    META-INF/
    MANIFEST.MF
    persistence.xml
    seam.properties
    org/
    jboss/
    myapplication/

    DB:2.66:Packaging Ear With Multiple Wars k7


    How should EARs with multiple WARs be packaged? How'bout if they share the same JAR?
    my-application.ear/
    jboss-seam.jar
    lib/
    jboss-el.jar
    META-INF/
    MANIFEST.MF
    application.xml

    a.war/
    META-INF/
    MANIFEST.MF
    WEB-INF/
    web.xml
    components.xml
    faces-config.xml
    lib/
    jsf-facelets.jar
    jboss-seam-ui.jar
    login.jsp
    register.jsp
    ...

    b.war/
    META-INF/
    MANIFEST.MF
    WEB-INF/
    web.xml
    components.xml
    faces-config.xml
    lib/
    jsf-facelets.jar
    jboss-seam-ui.jar
    login.jsp
    register.jsp
    ...

    aandb.jar/
    META-INF/
    MANIFEST.MF
    persistence.xml
    seam.properties
    org/
    jboss/
    myapplication/

  • RELEVANCY SCORE 2.65

    DB:2.65:Class File Has Wrong Version 50.0, Should Be 49.0 a8


    JDK 5.0 or JDK 6.0 is required for all Weld releasessource: http://seamframework.org/Download
    I am building weld-translator using JDK 5 in this case. There is a compiler error at the bottom of the log which is basically complaining that I should be using JDK 6 rather than JDK 5. So is this a problem or what given the statement at the top of this post? Or am I missing something?
    class file has wrong version 50.0, should be 49.0C:\java\weld-1.0.1-Final\examples\jsf\translatormvn clean install
    [INFO] Scanning for projects...
    [INFO] Reactor build order:
    [INFO] Weld Examples: Translator (parent)
    [INFO] Weld Examples: Translator (war)
    [INFO] Weld Examples: Translator (ejb)
    [INFO] Weld Examples: Translator (ear)
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Weld Examples: Translator (parent)
    [INFO] task-segment: [clean, install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [clean:clean {execution: default-clean}]
    [INFO] [enforcer:enforce {execution: enforce}]
    [INFO] [build-helper:maven-version {execution: default}]
    [INFO] [build-helper:parse-version {execution: default}]
    [INFO] [buildnumber:create {execution: set-build-properties}]
    [INFO] Checking for local modifications: skipped.
    [INFO] Updating project files from SCM: skipped.
    [INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
    [INFO] Working directory: C:\java\weld-1.0.1-Final\examples\jsf\translator
    Provider message:
    The svn command failed.
    Command output:
    svn: '.' is not a working copy

    [WARNING] Cannot get the revision information from the scm repository, proceedin
    g with revision of unavailable :
    Error!
    [INFO] Storing buildNumber: unavailable at timestamp: April 26, 2010 12:49:30 PM
    PDT
    [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
    [INFO] Preparing source:jar
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
    [INFO] [enforcer:enforce {execution: enforce}]
    [INFO] [build-helper:maven-version {execution: default}]
    [INFO] [build-helper:parse-version {execution: default}]
    [INFO] [buildnumber:create {execution: set-build-properties}]
    [INFO] [source:jar {execution: attach-sources}]
    [INFO] [install:install {execution: default-install}]
    [INFO] Installing C:\java\weld-1.0.1-Final\examples\jsf\translator\pom.xml to C:
    \Documents and Settings\asookazian\.m2\repository\org\jboss\weld\examples\jsf\tr
    anslator\weld-jsf-translator-parent\1.0.1-Final\weld-jsf-translator-parent-1.0.1
    -Final.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Weld Examples: Translator (war)
    [INFO] task-segment: [clean, install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [clean:clean {execution: default-clean}]
    [INFO] [enforcer:enforce {execution: enforce}]
    [INFO] [build-helper:maven-version {execution: default}]
    [INFO] [build-helper:parse-version {execution: default}]
    [INFO] [buildnumber:create {execution: set-build-properties}]
    [INFO] [resources:resources {execution: default-resources}]
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory C:\java\weld-1.0.1-Final\examples\jsf
    \translator\war\src\main\resources
    [INFO] [compiler:compile {execution: default-compile}]
    [INFO] No sources to compile
    [INFO] [resources:testResources {execution: default-testResources}]
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory C:\java\weld-1.0.1-Final\examples\jsf
    \translator\war\src\test\resources
    [INFO] [compiler:testCompile {execution: default-testCompile}]
    [INFO] No sources to compile
    [INFO] [surefire:test {execution: default-test}]
    [INFO] No tests to run.
    [INFO] [war:war {execution: default-war}]
    [INFO] Packaging webapp
    [INFO] Assembling webapp[weld-jsf-translator-war] in [C:\java\weld-1.0.1-Final\e
    xamples\jsf\translator\war\target\weld-translator]
    [INFO] Processing war project
    [INFO] Copying webapp resources[C:\java\weld-1.0.1-Final\examples\jsf\translator
    \war\src\main\webapp]
    [INFO] Webapp assembled in [172 msecs]
    [INFO] Building war: C:\java\weld-1.0.1-Final\examples\jsf\translator\war\target
    \weld-translator.war
    [INFO] Preparing source:jar
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
    [INFO] [enforcer:enforce {execution: enforce}]
    [INFO] [build-helper:maven-version {execution: default}]
    [INFO] [build-helper:parse-version {execution: default}]
    [INFO] [buildnumber:create {execution: set-build-properties}]
    [INFO] [source:jar {execution: attach-sources}]
    [INFO] Building jar: C:\java\weld-1.0.1-Final\examples\jsf\translator\war\target
    \weld-translator-sources.jar
    [INFO] [install:install {execution: default-install}]
    [INFO] Installing C:\java\weld-1.0.1-Final\examples\jsf\translator\war\target\we
    ld-translator.war to C:\Documents and Settings\asookazian\.m2\repository\org\jbo
    ss\weld\examples\jsf\translator\weld-jsf-translator-war\1.0.1-Final\weld-jsf-tra
    nslator-war-1.0.1-Final.war
    [INFO] Installing C:\java\weld-1.0.1-Final\examples\jsf\translator\war\target\we
    ld-translator-sources.jar to C:\Documents and Settings\asookazian\.m2\repository
    \org\jboss\weld\examples\jsf\translator\weld-jsf-translator-war\1.0.1-Final\weld
    -jsf-translator-war-1.0.1-Final-sources.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Weld Examples: Translator (ejb)
    [INFO] task-segment: [clean, install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [clean:clean {execution: default-clean}]
    [INFO] [enforcer:enforce {execution: enforce}]
    [INFO] [build-helper:maven-version {execution: default}]
    [INFO] [build-helper:parse-version {execution: default}]
    [INFO] [buildnumber:create {execution: set-build-properties}]
    [INFO] [resources:resources {execution: default-resources}]
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 1 resource
    [INFO] [compiler:compile {execution: default-compile}]
    [INFO] Compiling 6 source files to C:\java\weld-1.0.1-Final\examples\jsf\transla
    tor\ejb\target\classes
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Compilation failure
    C:\java\weld-1.0.1-Final\examples\jsf\translator\ejb\src\main\java\org\jboss\wel
    d\examples\translator\SentenceTranslator.java:[3,-1] cannot access javax.ejb.Sta
    teless
    bad class file: C:\Documents and Settings\asookazian\.m2\repository\org\jboss\ej
    b3\jboss-ejb3-api\3.1.0\jboss-ejb3-api-3.1.0.jar(javax/ejb/Stateless.class)
    class file has wrong version 50.0, should be 49.0

    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 9 seconds
    [INFO] Finished at: Mon Apr 26 12:49:35 PDT 2010
    [INFO] Final Memory: 25M/45M
    [INFO] ------------------------------------------------------------------------
    C:\java\weld-1.0.1-Final\examples\jsf\translatorjava -version
    java version "1.5.0_22"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode)

  • RELEVANCY SCORE 2.65

    DB:2.65:Rendered Attribute Not Working On Seam 2.3.0 Ui Components 8a



    Hi Guys,

    I am encountering a very strange issue with my seam components. First of all, the following are my project specifications:

    JBoss Seam 2.3.0 Beta2

    Primefaces 3.4

    JSF 2.1.11

    Facelets 1.1.15

    JBoss 7.2.0

    The problem is that the rendered attribute on my seam components (s:div for example) are not working. I created a simple page to test this:

    !DOCTYPE html

    html xmlns="http://www.w3.org/1999/xhtml"

    xmlns:h="http://java.sun.com/jsf/html"

    xmlns:f="http://java.sun.com/jsf/core"

    xmlns:ui="http://java.sun.com/jsf/facelets"

    xmlns:fb="https://www.facebook.com/2008/fbml"

    xmlns:s="http://jboss.com/products/seam/taglib"

    xmlns:p="http://primefaces.org/ui"

    h:head

    titleTest/title

    h:outputScript library="primefaces" name="jquery/jquery.js" /

    /h:head

    h:body

    s:div rendered="false" style="font-size: 20px;"Seam/s:div

    h:outputText value="JSF" rendered="false" /

    p:outputPanel rendered="false"Primefaces/p:outputPanel

    /h:body

    /html

    The result is that the content of the s:div tag is rendered even though the rendered attribute explicitly states false. The regular JSF and the primefaces components work as expected. Is anyone else having such an issue? Thanks.

    Charlie

    DB:2.65:Rendered Attribute Not Working On Seam 2.3.0 Ui Components 8a


    Hey guys!

    Actually correct namespace definition is xmlns:s="http://jboss.org/schema/seam/taglib". Can you please try that? I've tried this on Seam 2.3.0.Final as well as on 2.3.1.CR1 (latest) and it worked for me.

  • RELEVANCY SCORE 2.65

    DB:2.65:Weld And Jboss 4.2.X s7


    say we have an existing Seam 2.x, JSF 1.2, JPA 1.0, EJB 3.0, EE 5 app server (JBoss 4.2.x) envmt.
    can I deploy Weld apps in this exact envmt so I can run my Weld apps and Seam 2.x apps side-by-side in the same JBoss instance (server/default/deploy)?
    or is JBoss 5.x a hard requirement?
    I have a feeling no due to the JSF RI differences, etc...
    What if I package the JSF 2.0 RI libs into my EAR/WAR and then deploy onto JBoss 4.x?

    DB:2.65:Weld And Jboss 4.2.X s7

    I tried in jboss 4.2.3 with jsf 2 (in jsf-libs) and with weld-servlet, and the numberguess example works.
    But with jsf 1.2 don't works.
    My organization will wait jboss 6 (stable release) to upgrade all systems/applications, but i don't want wait 1 year to start use weld in production....
    bye

  • RELEVANCY SCORE 2.62

    DB:2.62:Producing Instance To Alternate Scope cc


    So in Seam 2.x we are able to outject to any scope we want (wider spanning or shorter spanning). So let's say the current Seam component is conversation-scoped, we could outject an object into session scope via:
    @Out(scope=ScopeType.SESSION)
    http://docs.jboss.org/seam/2.2.1.CR1/api/org/jboss/seam/annotations/Out.html
    In Weld, outjection is prohibited but simulated via @Produces annotation.
    http://java.sun.com/javaee/6/docs/api/index.html?javax/enterprise/inject/Produces.html
    A producer method is a method that acts as a source of bean instances. The method declaration itself describesthe bean and the container invokes the method to obtain an instance of the bean when no instance exists in thespecified context. A producer method lets the application take full control of the bean instantiation process.So what if in a Weld or Seam 3 app we need to outject from conversation-scoped managed bean or session bean to session scope? Is this strictly prohibited? If yes, then we'd have to subsequently manually set the object in the HttpSession. There must be some valid use cases for this...

    DB:2.62:Producing Instance To Alternate Scope cc

    Arbi Sookazian wrote on Apr 27, 2010 22:14:Every managed bean should know intrinsically what scope it lives in...Every Managed Bean does know what scope it lives in. However there is no easy way in the CDI API to discover what Bean the current instance is created from. This goes back to adding something like Stuart proposed
    @Inject @This Bean bean;

  • RELEVANCY SCORE 2.62

    DB:2.62:New Httpsession Gets Created On Each Request 8x



    New HttpSession gets created on each requestI couldn't get access to the same scoped Seam-component work across requests. Just realized that a new HttpSession is created on each request.It makes no difference if I use s:link instead of h:commandLinkI'm using portletbridge-impl-1.0.0.B3 / JBoss Portal 2.6.6.GA / Seam 2.0.2.SP1 / RichFaces 3.2.1Below is a test case that duplicates the issue. I would really appreciate help at this point. The test case below works as expected on JBoss 4.2.2.GA.test.xhtml:!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:s="http://jboss.com/products/seam/taglib" h:form h:commandLink action="/page/test.xhtml" styleClass="menuLink"Main/h:commandLink h:outputText value="#{testBean.value}"/h:outputText /h:form/ui:compositionTestBean.java:import javax.faces.context.FacesContext;import org.jboss.seam.annotations.Logger;import org.jboss.seam.annotations.Name;import org.jboss.seam.log.Log;@Name("testBean")public class TestBean { @Logger private Log log; private String value; public String getValue() { log.info("************SESSION ID="+FacesContext.getCurrentInstance().getExternalContext().getSession(false).hashCode()); return value; } public void setValue(String value) { this.value = value; }}On JBoss Portal 2.6.6.GA, different session is created on each request:11:13:45,734 INFO [TestBean] ************SESSION ID=1501415411:13:49,312 INFO [TestBean] ************SESSION ID=1189830911:13:57,703 INFO [TestBean] ************SESSION ID=3260488211:14:01,578 INFO [TestBean] ************SESSION ID=773887811:14:04,765 INFO [TestBean] ************SESSION ID=2234347511:14:09,187 INFO [TestBean] ************SESSION ID=742190On JBoss 4.2.2.GA, same session is returned on subsequent requests:11:22:00,343 INFO [TestBean] ************SESSION ID=1528742411:22:04,375 INFO [TestBean] ************SESSION ID=1528742411:22:05,718 INFO [TestBean] ************SESSION ID=1528742411:22:07,953 INFO [TestBean] ************SESSION ID=1528742411:22:11,843 INFO [TestBean] ************SESSION ID=15287424Again, I would really appreciate if someone could tell me if this is a bug or I'm doing something wrong.Thanks in advance.-Tareq

    DB:2.62:New Httpsession Gets Created On Each Request 8x


    Thank you for your response. I checked for replies for a day and gave up because I didn't receive an email even though I thought I had checked "Notify me when a reply is posted". My bad.You are right. portletSession.getId() returns the same id across JSF requests. The issue I was actually experiencing was that Seam remote requests did not have access to the same session-scoped components.I will create a new thread for this issue. Thanks once again for your prompt response.

  • RELEVANCY SCORE 2.62

    DB:2.62:S:Fileupload+Trinidad = No Renderer For Component Family Org a8



    Guys,I am gettingWARNING: Renderer 'javax.faces.Text' not found for component family 'org.jboss.seam.ui.FileUpload'on log.My fileUpload is returning null for fileName and fileData.It was working before (1.2.1 and jboss 4.0.2).Since I migrated to seam cvs and jboss 4.2 it is not working anymore.Any ideia ?thks in advanced.

    DB:2.62:S:Fileupload+Trinidad = No Renderer For Component Family Org a8


    Did you find a solution to this? I'm getting the data = null.The multipart filter is being called and it's recognizing it as a multi part request. It gets the content size of the file right, but then I see no data when the bean is called.I heard it might be an issue with Trinidad, but I haven't heard a confirmation.

  • RELEVANCY SCORE 2.61

    DB:2.61:Configuring Deployment In Eclipse xa



    Hello!I am a new user trying to get started with Seam. I have downloaded JBoss AS 4.0.4rc1 and Seam 1.0b2, and set them up in order to run the examples. I used ANT to build and deploy the examples, and everything worked great!With that working, I set out to get the booking example imported into an Eclipse project. I created a new EJB 3.0 project using Eclipse IDE and imported the booking files into it. After some inspection of the example ANT build scripts, I created a packaging configuration that more or less duplicates their output. I can start the JBoss server from Eclipse, successfully deploy the application to it and load it in my browser without difficulty, but that is where the trouble starts. Once the application is loaded, none of the links do anything! Trying to log into the application or clicking the 'register new user' link seems to generate a request, but forwards right back to the login page without error or explanation. The server log does contain one cryptic error message, but I do not know what it means or how to resolve it.Does anyone have any ideas about what could be the problem? I'm a little lost :)
    16:15:18,448 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' to JNDI name 'java:bookingDatasource'16:15:18,464 INFO [EARDeployer] Init J2EE application: file:/D:/a/prog/apps/jboss-4.0.4RC1/server/default/deploy/jboss-seam-booking.ear16:15:19,354 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=BookingListAction, class=org.jboss.seam.example.booking.BookingListAction, type=STATEFUL16:15:19,479 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=ChangePasswordAction, class=org.jboss.seam.example.booking.ChangePasswordAction, type=STATEFUL16:15:19,526 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=HotelBookingAction, class=org.jboss.seam.example.booking.HotelBookingAction, type=STATEFUL16:15:19,573 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=LoginAction, class=org.jboss.seam.example.booking.LoginAction, type=STATELESS16:15:19,604 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=LogoutAction, class=org.jboss.seam.example.booking.LogoutAction, type=STATELESS16:15:19,636 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=RegisterAction, class=org.jboss.seam.example.booking.RegisterAction, type=STATEFUL16:15:19,651 FATAL [PersistenceXmlLoader] bookingDatabase JTA16:15:19,651 INFO [Ejb3Deployment] EJB3 deployment time took: 34316:15:19,667 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=jboss-seam-booking.ear.ear,jar=jboss-seam-booking.jar.jar,unitName=bookingDatabase with dependencies:16:15:19,667 INFO [JmxKernelAbstraction] jboss.jca:name=bookingDatasource,service=ManagedConnectionFactory16:15:19,714 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.booking.Booking16:15:19,729 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.booking.Hotel16:15:19,745 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.booking.User16:15:19,776 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.booking.Booking16:15:19,776 INFO [EntityBinder] Bind entity org.jboss.seam.example.booking.Booking on table Booking16:15:19,808 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.booking.Hotel16:15:19,808 INFO [EntityBinder] Bind entity org.jboss.seam.example.booking.Hotel on table Hotel16:15:19,823 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.booking.User16:15:19,823 INFO [EntityBinder] Bind entity org.jboss.seam.example.booking.User on table User16:15:19,948 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider16:15:19,964 INFO [InjectedDataSourceConnectionProvider] Using provided datasource16:15:19,964 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.016:15:19,964 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.016:15:19,964 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect16:15:19,964 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)16:15:19,964 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup16:15:19,964 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup16:15:19,964 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled16:15:19,964 INFO [SettingsFactory] Automatic session close at end of transaction: disabled16:15:19,964 INFO [SettingsFactory] JDBC batch size: 1516:15:19,964 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled16:15:19,964 INFO [SettingsFactory] Scrollable result sets: enabled16:15:19,964 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled16:15:19,964 INFO [SettingsFactory] Connection release mode: after_statement16:15:19,964 INFO [SettingsFactory] Default batch fetch size: 116:15:19,964 INFO [SettingsFactory] Generate SQL with comments: disabled16:15:19,964 INFO [SettingsFactory] Order SQL updates by primary key: disabled16:15:19,964 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory16:15:19,964 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory16:15:19,964 INFO [SettingsFactory] Query language substitutions: {}16:15:19,964 INFO [SettingsFactory] Second-level cache: enabled16:15:19,964 INFO [SettingsFactory] Query cache: disabled16:15:19,964 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider16:15:19,964 INFO [SettingsFactory] Optimize cache for minimal puts: disabled16:15:19,964 INFO [SettingsFactory] Structured second-level cache entries: disabled16:15:19,964 INFO [SettingsFactory] Echoing all SQL to stdout16:15:19,964 INFO [SettingsFactory] Statistics: disabled16:15:19,964 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled16:15:19,964 INFO [SettingsFactory] Default entity-mode: pojo16:15:20,011 INFO [SessionFactoryImpl] building session factory16:15:20,167 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured16:15:20,167 INFO [SchemaExport] Running hbm2ddl schema export16:15:20,167 INFO [SchemaExport] exporting generated schema to database16:15:20,183 INFO [SchemaExport] Executing import script: /import.sql16:15:20,198 INFO [SchemaExport] schema export complete16:15:20,198 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}16:15:20,354 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction with dependencies:16:15:20,354 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear.ear,jar=jboss-seam-booking.jar.jar,unitName=bookingDatabase16:15:20,558 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction with dependencies:16:15:20,558 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear.ear,jar=jboss-seam-booking.jar.jar,unitName=bookingDatabase16:15:20,714 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction with dependencies:16:15:20,714 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear.ear,jar=jboss-seam-booking.jar.jar,unitName=bookingDatabase16:15:21,011 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=LoginAction with dependencies:16:15:21,011 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear.ear,jar=jboss-seam-booking.jar.jar,unitName=bookingDatabase16:15:21,167 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=LogoutAction with dependencies:16:15:21,276 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction with dependencies:16:15:21,292 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear.ear,jar=jboss-seam-booking.jar.jar,unitName=bookingDatabase16:15:21,448 INFO [EJB3Deployer] Deployed: file:/D:/a/prog/apps/jboss-4.0.4RC1/server/default/tmp/deploy/tmp18972jboss-seam-booking.ear-contents/jboss-seam-booking.jar16:15:21,464 INFO [TomcatDeployer] deploy, ctxPath=/seam-booking, warUrl=.../tmp/deploy/tmp18972jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/16:15:22,151 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml16:15:22,245 INFO [FacesConfigurator] Reading config jar:file:/D:/a/prog/apps/jboss-4.0.4RC1/server/default/tmp/deploy/tmp18972jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml16:15:22,261 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml16:15:22,511 ERROR [LocaleUtils] Locale name null or empty, ignoring16:15:22,995 ERROR [FacesConfigurator] Class org.jboss.seam.jsf.SeamPhaseListener does not implement PhaseListener16:15:23,026 INFO [StartupServletContextListener] ServletContext 'D:\a\prog\apps\jboss-4.0.4RC1\server\default\.\tmp\deploy\tmp18972jboss-seam-booking.ear-contents\jboss-seam-booking-exp.war\' initialized.16:15:23,026 INFO [ServletContextListener] Welcome to Seam 1.0 beta 216:15:23,042 INFO [Initialization] reading properties from: /seam.properties16:15:23,058 INFO [Initialization] initializing Seam16:15:23,151 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init16:15:23,229 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages16:15:23,261 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager16:15:23,308 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher16:15:23,323 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation16:15:23,339 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList16:15:23,401 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack16:15:23,417 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext16:15:23,433 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext16:15:23,479 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext16:15:23,495 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext16:15:23,511 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext16:15:23,526 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext16:15:23,542 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext16:15:23,558 INFO [Component] Component: resourceBundle, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle16:15:23,589 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector16:15:23,698 INFO [ResourceBundle] resource bundle missing: messages16:15:23,714 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts16:15:23,745 INFO [Scanner] scanning: /D:/a/prog/apps/jboss-4.0.4RC1/server/default/tmp/deploy/tmp18972jboss-seam-booking.ear-contents/jboss-seam-booking.jar16:15:23,776 INFO [Component] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: jboss-seam-booking/BookingListAction/local16:15:23,808 INFO [Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: jboss-seam-booking/LoginAction/local16:15:23,823 INFO [Component] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel16:15:23,823 INFO [Component] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: jboss-seam-booking/HotelBookingAction/local16:15:23,886 INFO [Component] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, JNDI: jboss-seam-booking/LogoutAction/local16:15:23,901 INFO [Component] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, JNDI: jboss-seam-booking/RegisterAction/local16:15:23,901 INFO [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.User16:15:23,917 INFO [Component] Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking16:15:23,917 INFO [Component] Component: changePassword, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: jboss-seam-booking/ChangePasswordAction/local16:15:23,948 INFO [Initialization] done initializing Seam16:15:24,011 INFO [EARDeployer] Started J2EE application: file:/D:/a/prog/apps/jboss-4.0.4RC1/server/default/deploy/jboss-seam-booking.ear

    DB:2.61:Configuring Deployment In Eclipse xa


    The fatal level misuse has been fixed in 4.0.4.CR1

  • RELEVANCY SCORE 2.61

    DB:2.61:Jsf 1.2 Implementation sx



    To Seam stuffs; JBoss Seam uses MyFaces that is implementation of the JSF 1.1 from the Apache with apache related licence. Is there any plan to implement JSF 1.2 as LPGL that own by the JBoss? Thanks for advance;

    DB:2.61:Jsf 1.2 Implementation sx


    For JBoss 5.0, we will ship Sun's version of JSF 1.2. If you build the server from jboss-head you can already play around with it. It includes resource injection and lifecycle annotations on manged beans, which is optional for JSF 1.2 but required for JEE 5.It's not there yet, but it will also include integration with JBoss Serialization which will make JSF faster for server side state saving.See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDLStan

  • RELEVANCY SCORE 2.61

    DB:2.61:Seam 2.3 - Does It Work With Jsf 1.2? mj



    I'm upgrading my Seam 2.2 application to Seam 2.3.1.Final and would like to know if it's compatible with JSF 1.2. I noticed Seam 2.3.1.Final's "ui" artifact transitively downloads jboss-jsf-api_2.1_spec:jar which is a JSF 2 jar. Has anyone managed to run Seam 2.3.1.Final with JSF 1.2. Please let me know. Thanks.

    DB:2.61:Seam 2.3 - Does It Work With Jsf 1.2? mj


    Tomas. Thanks for the reply and answering the question. I have already migrated my application to run with JSF2 and it deploys fine. But I get a runtime exception related to facelets for which I have opened a new discussion at the below link. Thanks again for answering the question.

    Facelets: SAXException Error Handling s.taglib.xml

  • RELEVANCY SCORE 2.61

    DB:2.61:Jboss As 6 And Jsf 2.2 cx



    Hi,

    When I tried to use JSF 2.2.4 with JBoss AS 6, got some error as there is no suitable jboss-faces.jar. Can anybody help to upgrade JSF?

    Thanks!

    DB:2.61:Jboss As 6 And Jsf 2.2 cx


    Yes, we need to upgrade later. But currently we need to do this with AS 6. Is there any solution to make it working with JSF 2.2?

  • RELEVANCY SCORE 2.61

    DB:2.61:Pushing Mc Notion To Seam/Servletcontext s1



    What would be the best/easiest way to push MC's Kernel/Controller/DeploymentUnit to Seam?Seam apps start via ServletContextListener: - http://anonsvn.jboss.org/repos/seam/trunk/src/main/org/jboss/seam/servlet/SeamListener.javaSo, if we could push MC references to ServletContext's (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html) attributes that would be the easiest/nicest way.From there on Seam would probably push it into its Context, and add a few wrappers/utils in this (http://anonsvn.jboss.org/repos/jbossas/projects/jboss-seam-int/) new integration project, to ease up the usage of MC's utils.How hard it is to push MC's references into newly created ServletContext?e.g. could we just add a similar deployer (http://anonsvn.jboss.org/repos/jbossas/projects/jboss-seam-int/trunk/microcontainer/src/main/org/jboss/seam/integration/microcontainer/deployers/SeamUrlIntegrationDeployer.java) that would modify the JBossWebMetaData, and add a MC-aware-ServletContext-creator notion. :-)

    DB:2.61:Pushing Mc Notion To Seam/Servletcontext s1


    This is done: - https://jira.jboss.org/jira/browse/JBAS-5808

  • RELEVANCY SCORE 2.61

    DB:2.61:Maven 2 Repository Issues 1m



    Hi!I am refactoring an applications which was build and deployed using Apache Ant into a build by Maven 2 and am having troubles finding 3 jar files in the maven repository (http://repo1.maven.org/maven2/).Help me in stating the correct jar files which should be used.The jar files, manifests (and some additional information on 2 of them):jboss-annotations.jar, the manifest and folders it containsManifest-Version: 1.0Ant-Version: Apache Ant 1.6.5Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)Specification-Title: JBoss EJB 3.0Specification-Version: JBoss EJB 3.0 RC8 - FDSpecification-Vendor: JBossImplementation-Title: JBoss EJB 3.0Implementation-URL: http://www.jboss.com/products/ejb3Implementation-Version: JBoss EJB 3.0 RC8 - FDImplementation-Vendor: JBossMETA-INF/org/org/jboss/org/jboss/annotation/org/jboss/annotation/ejb/org/jboss/annotation/ejb/cache/org/jboss/annotation/ejb/cache/simple/org/jboss/annotation/ejb/cache/tree/org/jboss/annotation/internal/org/jboss/annotation/security/jboss-ejb3x.jar, the manifest and folders it contains. It has 41 files and a last modified timestamp of 11.09.2006 12:04Manifest-Version: 1.0Ant-Version: Apache Ant 1.6.5Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)META-INF/javax/javax/annotation/javax/annotation/security/javax/ejb/javax/interceptor/jbossall-client.jar, the manifest and the folders it contains. It has 2499 files and a last modified timestamp of 07.09.2006 13:22Manifest-Version: 1.0Ant-Version: Apache Ant 1.6.2Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.)META-INF/EDU/EDU/oswego/EDU/oswego/cs/EDU/oswego/cs/dl/EDU/oswego/cs/dl/util/EDU/oswego/cs/dl/util/concurrent/dtd/javax/javax/ejb/javax/ejb/spi/javax/enterprise/javax/enterprise/deploy/javax/enterprise/deploy/model/javax/enterprise/deploy/model/exceptions/javax/enterprise/deploy/shared/javax/enterprise/deploy/shared/factories/javax/enterprise/deploy/spi/javax/enterprise/deploy/spi/exceptions/javax/enterprise/deploy/spi/factories/javax/enterprise/deploy/spi/status/javax/jms/javax/management/javax/management/j2ee/javax/management/j2ee/statistics/javax/management/loading/javax/management/modelmbean/javax/management/monitor/javax/management/openmbean/javax/management/relation/javax/management/timer/javax/resource/javax/resource/cci/javax/resource/spi/javax/resource/spi/endpoint/javax/resource/spi/security/javax/resource/spi/work/javax/security/javax/security/jacc/javax/servlet/javax/servlet/http/javax/servlet/resources/javax/sql/javax/transaction/javax/transaction/xa/javax/xml/javax/xml/namespace/javax/xml/registry/javax/xml/registry/infomodel/javax/xml/rpc/javax/xml/rpc/encoding/javax/xml/rpc/handler/javax/xml/rpc/handler/soap/javax/xml/rpc/holders/javax/xml/rpc/server/javax/xml/rpc/soap/javax/xml/soap/org/org/apache/org/apache/xerces/org/apache/xerces/impl/org/apache/xerces/impl/xs/org/jboss/org/jboss/aop/org/jboss/aop/advice/org/jboss/aop/instrument/org/jboss/aop/joinpoint/org/jboss/aop/metadata/org/jboss/aop/proxy/org/jboss/aop/util/org/jboss/corba/org/jboss/crypto/org/jboss/crypto/digest/org/jboss/deployment/org/jboss/deployment/cache/org/jboss/deployment/scanner/org/jboss/deployment/spi/org/jboss/deployment/spi/beans/org/jboss/deployment/spi/configurations/org/jboss/deployment/spi/factories/org/jboss/deployment/spi/status/org/jboss/ejb/org/jboss/ejb/plugins/org/jboss/ejb/plugins/cmp/org/jboss/ejb/plugins/cmp/jdbc/org/jboss/ejb/plugins/keygenerator/org/jboss/ha/org/jboss/ha/framework/org/jboss/ha/framework/interfaces/org/jboss/ha/framework/server/org/jboss/ha/framework/test/org/jboss/ha/hasessionstate/org/jboss/ha/hasessionstate/interfaces/org/jboss/ha/jndi/org/jboss/iiop/org/jboss/iiop/rmi/org/jboss/iiop/rmi/marshal/org/jboss/iiop/rmi/marshal/strategy/org/jboss/invocation/org/jboss/invocation/http/org/jboss/invocation/http/interfaces/org/jboss/invocation/jrmp/org/jboss/invocation/jrmp/interfaces/org/jboss/invocation/jrmp/server/org/jboss/invocation/pooled/org/jboss/invocation/pooled/interfaces/org/jboss/jmx/org/jboss/jmx/adaptor/org/jboss/jmx/adaptor/rmi/org/jboss/jmx/connector/org/jboss/jmx/connector/invoker/org/jboss/jmx/connector/invoker/client/org/jboss/lang/org/jboss/logging/org/jboss/logging/appender/org/jboss/logging/filter/org/jboss/logging/layout/org/jboss/logging/util/org/jboss/management/org/jboss/management/mejb/org/jboss/monitor/org/jboss/monitor/client/org/jboss/mq/org/jboss/mq/il/org/jboss/mq/il/http/org/jboss/mq/il/jvm/org/jboss/mq/il/oil/org/jboss/mq/il/oil2/org/jboss/mq/il/rmi/org/jboss/mq/il/uil2/org/jboss/mq/il/uil2/msgs/org/jboss/mq/referenceable/org/jboss/mq/selectors/org/jboss/mq/xml/org/jboss/mx/org/jboss/mx/capability/org/jboss/mx/interceptor/org/jboss/mx/loading/org/jboss/mx/metadata/org/jboss/mx/modelmbean/org/jboss/mx/notification/org/jboss/mx/persistence/org/jboss/mx/server/org/jboss/mx/server/registry/org/jboss/mx/service/org/jboss/mx/util/org/jboss/mx/util/propertyeditor/org/jboss/naming/org/jboss/naming/client/org/jboss/naming/client/java/org/jboss/naming/interceptors/org/jboss/net/org/jboss/net/protocol/org/jboss/net/protocol/file/org/jboss/net/protocol/http/org/jboss/net/protocol/njar/org/jboss/net/protocol/resource/org/jboss/net/sockets/org/jboss/net/ssl/org/jboss/proxy/org/jboss/proxy/compiler/org/jboss/proxy/ejb/org/jboss/proxy/ejb/handle/org/jboss/remoting/org/jboss/remoting/callback/org/jboss/remoting/detection/org/jboss/remoting/detection/jndi/org/jboss/remoting/detection/multicast/org/jboss/remoting/detection/util/org/jboss/remoting/ident/org/jboss/remoting/invocation/org/jboss/remoting/loading/org/jboss/remoting/marshal/org/jboss/remoting/marshal/http/org/jboss/remoting/marshal/rmi/org/jboss/remoting/marshal/serializable/org/jboss/remoting/network/org/jboss/remoting/network/filter/org/jboss/remoting/samples/org/jboss/remoting/samples/callback/org/jboss/remoting/samples/detection/org/jboss/remoting/samples/oneway/org/jboss/remoting/samples/simple/org/jboss/remoting/samples/stream/org/jboss/remoting/security/org/jboss/remoting/stream/org/jboss/remoting/transport/org/jboss/remoting/transport/http/org/jboss/remoting/transport/http/ssl/org/jboss/remoting/transport/local/org/jboss/remoting/transport/multiplex/org/jboss/remoting/transport/rmi/org/jboss/remoting/transport/servlet/org/jboss/remoting/transport/servlet/web/org/jboss/remoting/transport/socket/org/jboss/remoting/transport/socket/ssl/org/jboss/remoting/transport/web/org/jboss/resource/org/jboss/resource/adapter/org/jboss/resource/adapter/jdbc/org/jboss/resource/adapter/jdbc/remote/org/jboss/resource/connectionmanager/org/jboss/security/org/jboss/security/auth/org/jboss/security/auth/callback/org/jboss/security/auth/login/org/jboss/security/jndi/org/jboss/security/plugins/org/jboss/security/srp/org/jboss/security/srp/jaas/org/jboss/security/ssl/org/jboss/system/org/jboss/system/pm/org/jboss/system/server/org/jboss/tm/org/jboss/tm/iiop/org/jboss/tm/iiop/client/org/jboss/tm/integrity/org/jboss/tm/usertx/org/jboss/tm/usertx/client/org/jboss/tm/usertx/interfaces/org/jboss/tm/usertx/server/org/jboss/util/org/jboss/util/coerce/org/jboss/util/collection/org/jboss/util/deadlock/org/jboss/util/file/org/jboss/util/id/org/jboss/util/loading/org/jboss/util/naming/org/jboss/util/platform/org/jboss/util/property/org/jboss/util/property/jmx/org/jboss/util/propertyeditor/org/jboss/util/state/org/jboss/util/state/xml/org/jboss/util/stream/org/jboss/util/threadpool/org/jboss/util/timeout/org/jboss/util/xml/org/jboss/xb/org/jboss/xb/binding/org/jboss/xb/binding/metadata/org/jboss/xb/binding/metadata/marshalling/org/jboss/xb/binding/metadata/unmarshalling/org/jboss/xb/binding/metadata/unmarshalling/impl/org/jboss/xb/binding/parser/org/jboss/xb/binding/parser/sax/org/jboss/xb/binding/parser/xni/org/jboss/xb/binding/sunday/org/jboss/xb/binding/sunday/unmarshalling/org/jboss/xb/binding/sunday/unmarshalling/impl/org/jboss/xb/binding/sunday/unmarshalling/impl/runtime/org/jboss/xml/org/jboss/xml/binding/org/jboss/xml/binding/parser/org/jboss/xml/binding/parser/sax/org/jboss/xml/binding/parser/xni/org/jnp/org/jnp/interfaces/org/jnp/interfaces/java/org/jnp/interfaces/jnp/org/jnp/server/org/omg/org/omg/stub/org/omg/stub/javax/org/omg/stub/javax/ejb/

    DB:2.61:Maven 2 Repository Issues 1m


    I have allready installed them at the local repository, but want to find the jar files from a remote repository. This will enable me to get the latest version if something is updated.

  • RELEVANCY SCORE 2.61

    DB:2.61:Serious Classloader Problems sc



    Our JBoss instance has several JSF web applications with their own JSF implementations, so we had to remove the jars in jbossweb-tomcat55.sar\jsf-libs so they wouldn't conflict.So now I want to experiment with Seam, but when I try to deploy the 1.2.1.GA examples it starts puking about not having the myfaces classes:java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListenerThe problem is that adding those myfaces jars to the jboss-seam-booking war's WEB-INF/lib directory just causes other exceptions like:java.lang.NoClassDefFoundError: javax/faces/context/FacesContextSo I guess my question is this: how do I get this to work? Where should I put the faces jars?Any help would be much appreciated.

    DB:2.61:Serious Classloader Problems sc


    "thejavafreak" wrote:What JBoss version are you using? Try using JBoss 4.0.5 and don't add myfaces library in WEB-INF/lib.I'm using 4.0.5GA. Like I said, we had to remove the myfaces libraries from jbossweb-tomcat55.sar\jsf-libs because they conflicted with the JSF libraries used by other web applications we already have deployed.

  • RELEVANCY SCORE 2.60

    DB:2.60:Seam 3 Are Not In Jboss Community Maven Repository cx


    I follow this http://seamframework.org/Seam3/MavenArtifacts to add seam 3 modules to my project. However, my maven cannot download any artifact from the repository:
    [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
    Downloading: https://repository.jboss.org/nexus/content/groups/public/org/jboss/seam/jboss-seam/3.0.0.Final/jboss-seam-3.0.0.Final.pom
    Downloading: http://repo1.maven.org/maven2/org/jboss/seam/jboss-seam/3.0.0.Final/jboss-seam-3.0.0.Final.pom
    [WARNING] Missing POM for org.jboss.seam:jboss-seam:jar:3.0.0.Final
    Downloading: https://repository.jboss.org/nexus/content/groups/public/org/jboss/seam/jboss-seam/3.0.0.Final/jboss-seam-3.0.0.Final.jar
    Downloading: http://repo1.maven.org/maven2/org/jboss/seam/jboss-seam/3.0.0.Final/jboss-seam-3.0.0.Final.jar
    [WARNING] An error occurred during dependency resolution.
    Failed to retrieve org.jboss.seam:jboss-seam-3.0.0.Final
    Caused by: Could not find artifact org.jboss.seam:jboss-seam:jar:3.0.0.Final in repository.jboss.org (https://repository.jboss.org/nexus/content/groups/public/)

    DB:2.60:Seam 3 Are Not In Jboss Community Maven Repository cx

    Yes, we know.
    Some of them exist with RichFaces, use those. If it isn't there in RichFaces they may be picked up by other Seam 3 modules, or by community members.

  • RELEVANCY SCORE 2.60

    DB:2.60:H:Commandlink Does Not Work On Safari 8d


    Hi,

    I'm using JBoss AS 4.2.2.GA with Seam 2.0.1.GA and all its standard libs. But this seems to be a JSF-RI issue which is used by JBoss 4.2.2.GA

    It seems as if h:commandLink don't work on Safari 3/Mac OS Leopard, which they did in earlier prjects with jboss 4.0.5.GA and Seam 1.2.1.GA. In this version myfaces was used.

    The commandLink in the following example produces a JavaScript error "Undefined value". It doesn't matter if the action or the form is empty. I've simplified the example but this also happens with a "complete" form.

    The starange thing is that if I copy the generated HTML source into an html file, open that file and click the "command" link, it works (however an error page is shown since this is not a legal Seam request).

    I've no idea why this browser makes a difference between these two files since I have used h:commandLink in many earlier projects with earlier versions of the components. Firefox works without a problem.
    I've already changed the extension of JSF/Seam from .seam to .html. Same error.

    Anyone can help here?

    Alex

    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    head
    /head

    body
    f:view
    h:form id="aForm"
    h:commandLink id="theId" abc/h:commandLink
    /h:form
    /f:view
    /body
    /htmlThis is the generated HTML. The JavaScript error points to the line with the link.

    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    html xmlns="http://www.w3.org/1999/xhtml"
    head
    /head

    body
    form id="aForm" name="aForm" method="post" action="/leadspot/test.seam" enctype="application/x-www-form-urlencoded"
    input type="hidden" name="aForm" value="aForm" /

    script type="text/javascript" language="Javascript"
    //![CDATA[
    function dpf(f) {var adp = f.adp;if (adp != null) {for (var i = 0;i adp.length;i++) {f.removeChild(adp
    );}}};function apf(f, pvp) {var adp = new Array();f.adp = adp;var ps = pvp.split(',');for (var i = 0
    ,ii = 0;i ps.length;i++,ii++) {var p = document.createElement("input");p.type = "hidden";p.name = ps
    ;p.value = ps[i + 1];f.appendChild(p);adp[ii] = p;i += 1;}};function jsfcljs(f, pvp, t) {apf(f, pvp)
    ;var ft = f.target;if (t) {f.target = t;}f.submit();f.target = ft;dpf(f);};
    //]]
    /script
    a id="aForm:theId" href="#" onclick="if(typeof jsfcljs == 'function'){jsfcljs(document.forms['aForm'],'aForm:theId,aForm:theId','');}retu
    rn false"abc/ainput type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id7" /
    /form
    /body
    /html

    DB:2.60:H:Commandlink Does Not Work On Safari 8d

    Hi,

    This is really strange. I've reproduced that multiple times. Whenever I saved the generated HTML to a file and used that file it just worked (see my committed code above). So maybe this is a difference between Windows an Mac version of Safari ;)

    But since it's working now I'm happy

    Alex

  • RELEVANCY SCORE 2.60

    DB:2.60:Problem Uisng Richfaces Tag Library With Seam. ( No Tag Was f9



    I'm having problems using RichFAces tag library with Seam. Also tried downloading the latest version for Seam jboss-seam-2.0.1.CR1 hoping it was an issue with the Richfaces jar. But the problem still exists.Just to isolate the issue, chnaged the home.xhtml in seam "booking" example as follows,
    html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    f:view
    head
    /head
    body
    h:form id="form"
    rich:contextMenu attached="false" id="menu" submitMode="ajax"
    rich:menuItem
    Testing
    /rich:menuItem
    /rich:contextMenu
    /h:form
    /body
    /f:view
    /html

    DB:2.60:Problem Uisng Richfaces Tag Library With Seam. ( No Tag Was f9


    Thanks for your help Pete.As suggested, I copied over the latest Richfaces 3.1.3 jar files and the issue was resolved.-vinoo

  • RELEVANCY SCORE 2.60

    DB:2.60:Converting A Seam Ear Deployment To A War Deployment jm


    I currently have a Seam 2 Project (JBossAS6) deployed as an EAR.The Ear structure is as follows:
    -- EAR -- Application War -- Seam 2.2 Module -- Lib -- JBoss Seam UI Jar -- JBoss EL Jar
    I would like to now deploy this as a single WAR, what would I need to do to get this to work.
    I have removed the Seam 2.2 Module, and added all the following jars to Application War's lib folder:
    jboss-el-1.0 jboss-seam-2.2.1.CR2 jboss-seam-ui-2.2.1.CR2 jsf-facelets-1.1.15.B1

    DB:2.60:Converting A Seam Ear Deployment To A War Deployment jm

    Hi,To do this, I convert my project to maven2.
    Here is my pom.xml which describes my project.Hope this can help.
    project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"

    modelVersion4.0.0/modelVersion
    groupId***********/groupId
    artifactId***********/artifactId
    version0.0.1-SNAPSHOT/version
    packagingwar/packaging
    nameemploi-pro/name
    description /

    properties
    jbpm.version3.2.2/jbpm.version
    project.version0.0.1-SNAPSHOT/project.version
    persistence-api.version1.0/persistence-api.version
    testng.version5.8/testng.version
    hibernate-commons-annotations.version3.3.0.ga/hibernate-commons-annotations.version
    jboss.embedded.versionbeta3.SP9/jboss.embedded.version
    ejb.api.version3.0/ejb.api.version
    jsr250-api.version1.0/jsr250-api.version
    junit.version3.8.1/junit.version
    drools.version5.0.1/drools.version
    jbpm3.version3.2.5.SP5/jbpm3.version
    seam.version2.2.0.GA/seam.version
    commons.digester.version1.8/commons.digester.version
    hibernate-validator.version3.1.0.GA/hibernate-validator.version
    javax.activation.version1.1/javax.activation.version
    hibernate-entitymanager.version3.4.0.GA/hibernate-entitymanager.version
    slf4j.version1.4.2/slf4j.version
    hibernate-annotations.version3.4.0.GA/hibernate-annotations.version
    richfaces.version3.3.1.GA/richfaces.version
    jsf.version1.2_12/jsf.version
    mvel.version1.2.21/mvel.version
    servlet.version2.5/servlet.version
    javax.el.version1.0/javax.el.version
    project.build.sourceEncodingUTF-8/project.build.sourceEncoding
    project.reporting.outputEncodingUTF-8/project.reporting.outputEncoding
    netbeans.hint.deploy.serverJBoss4/netbeans.hint.deploy.server
    /properties

    build
    sourceDirectory${basedir}/src/main/sourceDirectory
    outputDirectory${basedir}/WebContent/WEB-INF/classes/outputDirectory
    resources
    resource
    directory${basedir}/src/hot/directory
    excludes
    exclude**/*.java/exclude
    /excludes
    /resource
    resource
    directory${basedir}/src/main/directory
    excludes
    exclude**/*.java/exclude
    /excludes
    /resource
    /resources
    plugins!-- plugin groupIdorg.jboss.maven.plugins/groupId artifactIdmaven-jbossaop-plugin/artifactId
    version2.1.3.GA/version executions execution idcompile/id configuration
    includeProjectDependencyfalse/includeProjectDependency aoppaths aoppathsrc/main/resources/jboss-aop.xml/aoppath
    /aoppaths /configuration goals goalcompile/goal /goals /execution
    /executions /plugin --
    plugin
    groupIdorg.apache.maven.plugins/groupId
    artifactIdmaven-compiler-plugin/artifactId
    version2.3.2/version
    configuration
    source1.6/source
    target1.6/target
    /configuration
    /plugin
    plugin
    artifactIdmaven-war-plugin/artifactId

    configuration
    packagingExcludes**/.svn//packagingExcludes
    warSourceDirectory${basedir}/WebContent/warSourceDirectory
    /configuration

    /plugin

    /plugins
    /build
    dependencies!-- dependency groupIdorg.jboss.maven.plugins/groupId
    artifactIdmaven-jbossaop-plugin/artifactId version2.1.3.GA/version
    exclusions exclusion artifactIdmaven-plugin-api/artifactId groupIdorg.apache.maven/groupId
    /exclusion exclusion artifactIdmaven-project/artifactId groupIdorg.apache.maven/groupId
    /exclusion exclusion artifactIdplexus-utils/artifactId groupIdorg.codehaus.plexus/groupId
    /exclusion /exclusions /dependency --
    dependency
    groupIdau.com.bytecode/groupId
    artifactIdopencsv/artifactId
    version2.2/version
    typejar/type
    /dependency
    dependency
    groupIdcommons-validator/groupId
    artifactIdcommons-validator/artifactId
    version1.3.1/version
    exclusions

    exclusion
    artifactIdxml-apis/artifactId
    groupIdxml-apis/groupId
    /exclusion

    /exclusions
    /dependency

    dependency
    groupIdorg.hibernate/groupId
    artifactIdhibernate-validator/artifactId
    version${hibernate-validator.version}/version
    scopeprovided/scope
    exclusions
    exclusion
    artifactIdcommons-collections/artifactId
    groupIdcommons-collections/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdoro/groupId
    artifactIdoro/artifactId
    version2.0.8/version
    /dependency

    dependency
    groupIdorg.hibernate/groupId
    artifactIdhibernate-annotations/artifactId
    version${hibernate-annotations.version}/version
    scopeprovided/scope
    exclusions
    exclusion
    artifactIdxml-apis/artifactId
    groupIdxml-apis/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.hibernate/groupId
    artifactIdhibernate-entitymanager/artifactId
    version${hibernate-entitymanager.version}/version
    scopeprovided/scope
    exclusions
    exclusion
    artifactIdjavassist/artifactId
    groupIdjavassist/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdel-api/artifactId
    groupIdjavax.el/groupId
    /exclusion
    exclusion
    artifactIdservlet-api/artifactId
    groupIdjavax.servlet/groupId
    /exclusion
    exclusion
    artifactIdjavassist/artifactId
    groupIdjboss/groupId
    /exclusion
    exclusion
    artifactIddom4j/artifactId
    groupIddom4j/groupId
    /exclusion
    exclusion
    artifactIdxpp3_min/artifactId
    groupIdxpp3/groupId
    /exclusion
    exclusion
    artifactIdxstream/artifactId
    groupIdxstream/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-ui/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdservlet-api/artifactId
    groupIdjavax.servlet/groupId
    /exclusion
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    exclusion
    artifactIdcommons-beanutils/artifactId
    groupIdcommons-beanutils/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-ioc/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdservlet-api/artifactId
    groupIdjavax.servlet/groupId
    /exclusion
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-mail/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    exclusion
    artifactIdjboss-seam-ui/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-pdf/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    exclusion
    artifactIdjboss-seam-ui/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-remoting/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    exclusion
    artifactIddom4j/artifactId
    groupIddom4j/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-excel/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    exclusion
    artifactIdjboss-seam-ui/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-debug/artifactId
    version${seam.version}/version
    exclusions
    exclusion
    artifactIdservlet-api/artifactId
    groupIdjavax.servlet/groupId
    /exclusion
    exclusion
    artifactIdjboss-seam/artifactId
    groupIdorg.jboss.seam/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdjavax.servlet/groupId
    artifactIdservlet-api/artifactId
    version${servlet.version}/version
    scopeprovided/scope
    /dependency
    dependency
    groupIdorg.richfaces.ui/groupId
    artifactIdrichfaces-ui/artifactId
    version${richfaces.version}/version
    /dependency
    dependency
    groupIdorg.richfaces.framework/groupId
    artifactIdrichfaces-api/artifactId
    version${richfaces.version}/version
    scopecompile/scope
    exclusions
    exclusion
    artifactIdcommons-logging/artifactId
    groupIdcommons-logging/groupId
    /exclusion
    exclusion
    artifactIdcommons-collections/artifactId
    groupIdcommons-collections/groupId
    /exclusion
    exclusion
    artifactIdcommons-beanutils/artifactId
    groupIdcommons-beanutils/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.richfaces.framework/groupId
    artifactIdrichfaces-impl/artifactId
    version${richfaces.version}/version
    exclusions
    exclusion
    artifactIdcommons-logging/artifactId
    groupIdcommons-logging/groupId
    /exclusion
    exclusion
    artifactIdjunit/artifactId
    groupIdjunit/groupId
    /exclusion
    exclusion
    artifactIdjsf-api/artifactId
    groupIdjavax.faces/groupId
    /exclusion
    exclusion
    artifactIdservlet-api/artifactId
    groupIdjavax.servlet/groupId
    /exclusion
    exclusion
    artifactIdjsf-impl/artifactId
    groupIdjavax.faces/groupId
    /exclusion
    exclusion
    artifactIdcommons-digester/artifactId
    groupIdcommons-digester/groupId
    /exclusion
    /exclusions
    /dependency

    dependency
    groupIdjavax.faces/groupId
    artifactIdjsf-api/artifactId
    version${jsf.version}/version
    scopeprovided/scope
    /dependency
    dependency
    groupIdjavax.faces/groupId
    artifactIdjsf-impl/artifactId
    version${jsf.version}/version
    scopeprovided/scope
    /dependency
    dependency
    groupIdjunit/groupId
    artifactIdjunit/artifactId
    version${junit.version}/version
    scopetest/scope
    /dependency
    dependency
    groupIdorg.testng/groupId
    artifactIdtestng/artifactId
    version${testng.version}/version
    classifierjdk15/classifier
    scopetest/scope
    /dependency
    dependency
    groupIdorg.jboss.seam.embedded/groupId
    artifactIdhibernate-all/artifactId
    version${jboss.embedded.version}/version
    scopetest/scope
    /dependency
    dependency
    groupIdorg.jboss.seam.embedded/groupId
    artifactIdjboss-embedded-all/artifactId
    version${jboss.embedded.version}/version
    scopeprovided/scope
    exclusions
    exclusion
    artifactIdjboss-deployers-client-spi/artifactId
    groupIdorg.jboss.microcontainer/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam.embedded/groupId
    artifactIdthirdparty-all/artifactId
    version${jboss.embedded.version}/version
    scopetest/scope
    /dependency
    dependency
    groupIdorg.slf4j/groupId
    artifactIdslf4j-api/artifactId
    version${slf4j.version}/version
    scopetest/scope
    /dependency
    dependency
    groupIdorg.slf4j/groupId
    artifactIdslf4j-nop/artifactId
    version${slf4j.version}/version
    scopetest/scope
    /dependency
    dependency
    groupIdjavax.activation/groupId
    artifactIdactivation/artifactId
    version${javax.activation.version}/version
    scopetest/scope
    /dependency
    dependency
    groupIdjavax.ejb/groupId
    artifactIdejb-api/artifactId
    version${ejb.api.version}/version
    scopeprovided/scope
    optionaltrue/optional
    /dependency
    dependency
    groupIdjavax.annotation/groupId
    artifactIdjsr250-api/artifactId
    version${jsr250-api.version}/version
    scopeprovided/scope
    optionaltrue/optional
    /dependency
    dependency
    groupIdjavax.persistence/groupId
    artifactIdpersistence-api/artifactId
    version${persistence-api.version}/version
    scopeprovided/scope
    optionaltrue/optional
    /dependency
    dependency
    groupIdorg.hibernate/groupId
    artifactIdhibernate-commons-annotations/artifactId
    version${hibernate-commons-annotations.version}/version
    scopeprovided/scope
    exclusions
    exclusion
    artifactIdcommons-logging/artifactId
    groupIdcommons-logging/groupId
    /exclusion
    exclusion
    artifactIdcommons-collections/artifactId
    groupIdcommons-collections/groupId
    /exclusion
    /exclusions
    optionaltrue/optional
    /dependency
    dependency
    groupIdjavax.el/groupId
    artifactIdel-api/artifactId
    version${javax.el.version}/version
    scopeprovided/scope
    /dependency
    dependency
    groupIdorg.drools/groupId
    artifactIddrools-compiler/artifactId
    version${drools.version}/version
    scopecompile/scope
    exclusions
    exclusion
    artifactIdcore/artifactId
    groupIdorg.eclipse.jdt/groupId
    /exclusion
    exclusion
    artifactIdxercesImpl/artifactId
    groupIdxerces/groupId
    /exclusion
    exclusion
    artifactIdxml-apis/artifactId
    groupIdxml-apis/groupId
    /exclusion
    exclusion
    artifactIdjanino/artifactId
    groupIdjanino/groupId
    /exclusion
    exclusion
    artifactIdjoda-time/artifactId
    groupIdjoda-time/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jbpm.jbpm3/groupId
    artifactIdjbpm-jpdl/artifactId
    version${jbpm3.version}/version
    exclusions
    exclusion
    artifactIdcommons-logging/artifactId
    groupIdcommons-logging/groupId
    /exclusion
    exclusion
    artifactIdant/artifactId
    groupIdorg.apache.ant/groupId
    /exclusion
    exclusion
    artifactIdant-launcher/artifactId
    groupIdorg.apache.ant/groupId
    /exclusion
    exclusion
    artifactIdhibernate/artifactId
    groupIdorg.hibernate/groupId
    /exclusion
    exclusion
    artifactIdbsh/artifactId
    groupIdbsh/groupId
    /exclusion
    exclusion
    artifactIddom4j/artifactId
    groupIddom4j/groupId
    /exclusion
    exclusion
    artifactIdjackrabbit-core/artifactId
    groupIdorg.apache.jackrabbit/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jbpm/groupId
    artifactIdjbpm-jpdl/artifactId
    version${jbpm.version}/version
    exclusions
    exclusion
    artifactIdcommons-logging/artifactId
    groupIdcommons-logging/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdorg.jboss.seam/groupId
    artifactIdjboss-seam-rss/artifactId
    version2.2.0.GA/version
    exclusions
    exclusion
    artifactIdcommons-collections/artifactId
    groupIdcommons-collections/groupId
    /exclusion
    /exclusions
    /dependency
    dependency
    groupIdjfree/groupId
    artifactIdjfreechart/artifactId
    version1.0.13/version
    typejar/type
    scopecompile/scope
    /dependency
    /dependencies
    /project

  • RELEVANCY SCORE 2.59

    DB:2.59:Diff Behavior With Diff Annotatedmetadatadeployer d3



    I'm testing new AnnotationMetaDataDeployer impl.But none of them seems to work for me. ;-(And I don't see what's so different between the new one's and the old one.This is what the old one processes:

    2008-07-30 19:16:49,203 TRACE [org.jboss.deployment.AnnotationMetaDataDeployer] (RMI TCP Connection(4)-127.0.0.1) Annotated classes:

    {ZipEntryHandler@22643817[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/BookingListAction.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/BookingListAction.class]=class org.jboss.seam.example.booking.BookingListAction,

    ZipEntryHandler@264752[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/AuthenticatorAction.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/AuthenticatorAction.class]=class org.jboss.seam.example.booking.AuthenticatorAction,

    ZipEntryHandler@20505518[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelSearching.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelSearching.class]=interface org.jboss.seam.example.booking.HotelSearching,

    ZipEntryHandler@32234525[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelBooking.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelBooking.class]=interface org.jboss.seam.example.booking.HotelBooking,

    ZipEntryHandler@29367791[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelSearchingAction.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelSearchingAction.class]=class org.jboss.seam.example.booking.HotelSearchingAction,

    ZipEntryHandler@32334045[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/Register.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/Register.class]=interface org.jboss.seam.example.booking.Register,

    ZipEntryHandler@24281983[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/ChangePasswordAction.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/ChangePasswordAction.class]=class org.jboss.seam.example.booking.ChangePasswordAction,

    ZipEntryHandler@18298829[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelBookingAction.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/HotelBookingAction.class]=class org.jboss.seam.example.booking.HotelBookingAction,

    ZipEntryHandler@22061158[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/Booking.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/Booking.class]=class org.jboss.seam.example.booking.Booking,

    ZipEntryHandler@5415906[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/Hotel.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/Hotel.class]=class org.jboss.seam.example.booking.Hotel,

    ZipEntryHandler@25521003[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/ChangePassword.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/ChangePassword.class]=interface org.jboss.seam.example.booking.ChangePassword,

    ZipEntryHandler@5208070[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/User.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/User.class]=class org.jboss.seam.example.booking.User,

    ZipEntryHandler@22088318[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/RegisterAction.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/RegisterAction.class]=class org.jboss.seam.example.booking.RegisterAction,

    ZipEntryHandler@25684047[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/Authenticator.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/Authenticator.class]=interface org.jboss.seam.example.booking.Authenticator,

    ZipEntryHandler@27568558[path=jboss-seam-booking.jar/org/jboss/seam/example/booking/BookingList.class context=file:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear real=vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar/org/jboss/seam/example/booking/BookingList.class]=interface org.jboss.seam.example.booking.BookingList}

    DB:2.59:Diff Behavior With Diff Annotatedmetadatadeployer d3


    "alesj" wrote:I know what the problem is, and what the proper fix should look like.Fixed, and it works like a charm :-)
    2008-08-01 14:54:30,625 TRACE [org.jboss.deployment.OptAnnotationMetaDataDeployer] (RMI TCP Connection(4)-127.0.0.1) Annotated classes [vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam.jar, org.jboss.metadata.annotation.creator.ejb.jboss.JBoss50Creator@146a226]: [class org.jboss.seam.security.NotLoggedInException, class org.jboss.seam.security.AuthorizationException, class org.jboss.seam.framework.EntityNotFoundException, class org.jboss.seam.async.TimerServiceDispatcher, class org.jboss.seam.transaction.EjbSynchronizations]

    2008-08-01 14:54:30,578 TRACE [org.jboss.deployment.OptAnnotationMetaDataDeployer] (RMI TCP Connection(4)-127.0.0.1) Annotated classes [vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.jar, org.jboss.metadata.annotation.creator.ejb.jboss.JBoss50Creator@7962ea]: [class org.jboss.seam.example.booking.ChangePasswordAction, class org.jboss.seam.example.booking.AuthenticatorAction, class org.jboss.seam.example.booking.RegisterAction, class org.jboss.seam.example.booking.HotelSearchingAction, class org.jboss.seam.example.booking.BookingListAction, class org.jboss.seam.example.booking.HotelBookingAction]

    2008-08-01 14:54:30,562 TRACE [org.jboss.deployment.OptAnnotationMetaDataDeployer] (RMI TCP Connection(4)-127.0.0.1) Annotated classes [vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear/jboss-seam-booking.war, org.jboss.metadata.annotation.creator.web.Web25MetaDataCreator@a72445]: []

    2008-08-01 14:54:30,546 TRACE [org.jboss.deployment.OptAnnotationMetaDataDeployer] (RMI TCP Connection(4)-127.0.0.1) Annotated classes [vfszip:/C:/projects/jboss5/trunk/testsuite/output/lib/jboss-seam-booking.ear, org.jboss.metadata.annotation.creator.ejb.jboss.JBoss50Creator@5fb7c4]: []

  • RELEVANCY SCORE 2.59

    DB:2.59:Logging With Jsf 2 8j



    Hello,

    I am developing application under JBoss 7.0.0.Final with J2EE6, Weld, Seam 3 and Richfaces 4.1. I am facing a problem with logging produced by JSF 2. Basically, if the xhtml page cannot be parsed, nothing is rendered at all and no message in logger shows up. This makes very hard to develop and debug.

    Is there a way how to force JSF 2.0/jboss7 to log as much as possible?

    Thanks,

    Lukas

    DB:2.59:Logging With Jsf 2 8j


    Hello,

    I am developing application under JBoss 7.0.0.Final with J2EE6, Weld, Seam 3 and Richfaces 4.1. I am facing a problem with logging produced by JSF 2. Basically, if the xhtml page cannot be parsed, nothing is rendered at all and no message in logger shows up. This makes very hard to develop and debug.

    Is there a way how to force JSF 2.0/jboss7 to log as much as possible?

    Thanks,

    Lukas

  • RELEVANCY SCORE 2.58

    DB:2.58:Migrating From Pojo To Ejb3 And Strange Behaviour az


    I got this exception:
    java.lang.LinkageError: loader constraint violation: when resolving method org.jboss.seam.Component.getInstance(Ljava/lang/String;Lorg/jboss/seam/ScopeType;)Ljava/lang/Object; the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/jboss/seam/ui/AbstractEntityLoader, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/jboss/seam/Component, have different Class objects for the type org/jboss/seam/ScopeType used in the signature
    I don't know, where is problem. The jboss-seam-2.2.0.GA is installed only once.
    Thanks Mila

    DB:2.58:Migrating From Pojo To Ejb3 And Strange Behaviour az

    I got this exception:
    java.lang.LinkageError: loader constraint violation: when resolving method org.jboss.seam.Component.getInstance(Ljava/lang/String;Lorg/jboss/seam/ScopeType;)Ljava/lang/Object; the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/jboss/seam/ui/AbstractEntityLoader, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/jboss/seam/Component, have different Class objects for the type org/jboss/seam/ScopeType used in the signature
    I don't know, where is problem. The jboss-seam-2.2.0.GA is installed only once.
    Thanks Mila

  • RELEVANCY SCORE 2.58

    DB:2.58:Seam 2.2.0ga + Jboss As 5.1ga + Postgres 8.4 83


    Hello Seam users,I've been trying unsuccessfully to get started with this configuration, but I've been facing countless problems. Iḿ in deeply need of help, if you have some experience please hang in there. It seems like a big wall of text, but its mostly logs from the whole process.Basically I started by downloading and installing, Seam 2.2.0GA, AS 5.1GA, Postgres 8.4. I'm using JDK 1.6.*First I ran ./seam setup, this is my ~/progs/seam2.2.0ga/seam-gen/build.properties*Generated by seam setupSat Aug 29 19:12:18 BRT 2009hibernate.connection.password=abc123workspace.home=/home/rgoytacaz/workspacehibernate.connection.dataSource_class=org.postgresql.ds.PGConnectionPoolDataSourcemodel.package=com.atom.Commerce.modelhibernate.default_catalog=PostgreSQLdriver.jar=/home/rgoytacaz/postgresql-8.4-701.jdbc4.jaraction.package=com.atom.Commerce.actiontest.package=com.atom.Commerce.testdatabase.type=postgresrichfaces.skin=glassXglassfish.domain=domain1hibernate.default_schema=Coredatabase.drop=nproject.name=Commercehibernate.connection.username=postgresglassfish.home=C\:/Program Files/glassfish-v2.1hibernate.connection.driver_class=org.postgresql.Driverhibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProviderjboss.domain=defaultproject.type=earicefaces.home=database.exists=yjboss.home=/srv/jboss-5.1.0.GAdriver.license.jar=hibernate.dialect=org.hibernate.dialect.PostgreSQLDialecthibernate.connection.url=jdbc\:postgresql\:Atomicefaces=n*And ./seam create-project output*SEAM_HOME: /home/rgoytacaz/progs/jboss-seam-2.2.0.GAUsing seam-gen sources from: /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/seam-genBuildfile: /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/seam-gen/build.xmlinit:init-properties: [echo] /srv/jboss-5.1.0.GAvalidate-workspace:validate-project:icefaces-staging-copy:initcopy:initpoms: [echo] Setting up dependencies [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms[artifact:install] [INFO] Installing /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms/root.pom to /home/rgoytacaz/.m2/repository/org/jboss/seam/root/2.2.0.GA/root-2.2.0.GA.pom [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms[artifact:install] [INFO] Installing /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms/parent.pom to /home/rgoytacaz/.m2/repository/org/jboss/seam/parent/2.2.0.GA/parent-2.2.0.GA.pom [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/poms [copy] Copying 1 file to /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/classes/pomscopyseam:copyseamdependencies:copyjbossembedded:copy-icefaces-home:copy-icefaces-maven:copy-lib: [echo] Copying Seam and dependencies to the /home/rgoytacaz/workspace/Commerce/lib directory... [copy] Copying 141 files to /home/rgoytacaz/workspace/Commerce/lib [echo] Copying JBoss Embedded configuration to the /home/rgoytacaz/workspace/Commerce/bootstrap directory... [copy] Copying 30 files to /home/rgoytacaz/workspace/Commerce/bootstrapfile-copy-war:file-copy-ear: [echo] Copying build scripts for EAR deployment to the /home/rgoytacaz/workspace/Commerce directory... [copy] Copying 1 file to /home/rgoytacaz/workspace/Commerce [echo] Copying resources needed for EAR deployment to the /home/rgoytacaz/workspace/Commerce/resources directory...setup-filters:file-copy:create-project: [echo] A new Seam project named 'Commerce' was created in the /home/rgoytacaz/workspace directory [echo] Type './seam explode' and go to http://localhost:8080/Commerce [echo] Eclipse Users: Import the project using File Import... Existing Projects into Workspace, set the root directory to /home/rgoytacaz/workspace, then select the project named Commerce [echo] NetBeans Users: Open the project using File Open project... and select the project folder /home/rgoytacaz/workspace/Commerce [echo] IDEA Users: Open the project using File Open project... and select the file /home/rgoytacaz/workspace/Commerce/Commerce.ipr*Now this when the problems started, I already have 3 tables in postgres. When I run ./seam generate-entities, this is my output.*SEAM_HOME: /home/rgoytacaz/progs/jboss-seam-2.2.0.GAUsing seam-gen sources from: /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/seam-genBuildfile: /home/rgoytacaz/progs/jboss-seam-2.2.0.GA/seam-gen/build.xmlinit:init-properties: [echo] /srv/jboss-5.1.0.GAvalidate-workspace:validate-project:init-generate:generate-model: [echo] Reverse engineering database using JDBC driver /home/rgoytacaz/postgresql-8.4-701.jdbc4.jar [echo] project=/home/rgoytacaz/workspace/Commerce [echo] model=com.atom.Commerce.model*[hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)[hibernate] 1. task: hbm2java (Generates a set of .java files)[hibernate] log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).[hibernate] log4j:WARN Please initialize the log4j system properly.[javaformatter] Java formatting of 4 files completed. Skipped 0 file(s).*generate-ui: [echo] Building project 'Commerce' to generate views and controllersinit:groovy.compile:groovy.copy:compile: [javac] Compiling 4 source files to /home/rgoytacaz/workspace/Commerce/exploded-archives/Commerce.ear/Commerce_jarcopyclasses:jar:[hibernate] Executing Hibernate Tool with a JPA Configuration[hibernate] 1. task: generic exportertemplate: view/list.xhtml.ftl[hibernate] 2. task: generic exportertemplate: view/view.xhtml.ftl[hibernate] 3. task: generic exportertemplate: view/view.page.xml.ftl[hibernate] 4. task: generic exportertemplate: view/edit.xhtml.ftl[hibernate] 5. task: generic exportertemplate: view/edit.page.xml.ftl[hibernate] 6. task: generic exportertemplate: src/EntityList.java.ftl[hibernate] 7. task: generic exportertemplate: view/list.page.xml.ftl[hibernate] 8. task: generic exportertemplate: src/EntityHome.java.ftl[hibernate] 9. task: generic exportertemplate: view/layout/menu.xhtml.ftl[javaformatter] Java formatting of 8 files completed. Skipped 0 file(s). [echo] Type './seam restart' and go to http://localhost:8080/Commercegenerate:generate-entities:BUILD SUCCESSFULTotal time: 12 seconds*Log4j is showing that appender error, what is that?How to fix it?*

    DB:2.58:Seam 2.2.0ga + Jboss As 5.1ga + Postgres 8.4 83

    ha i dont receive that error anymore but when i try and access one of my entities lists i get a stacktrace:
    SEVERE [facelets.viewhandler] (http-127.0.0.1-8080-5) Error Rendering View[/MemberList.xhtml]
    javax.el.ELException: /MemberList.xhtml: Error reading 'resultList' on type org.open18.action.MemberList_$$_javassist_seam_7
    at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)
    at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
    at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:275)
    Caused by: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected token: member near line 1, column 8 [select member from org.open18.model.Member member]
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:601)
    at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:96)
    at org.jboss.seam.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:81)
    at org.jboss.seam.framework.EntityQuery.createQuery(EntityQuery.java:181)
    Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected token: member near line 1, column 8 [select member from org.open18.model.Member member]
    at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
    at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)

  • RELEVANCY SCORE 2.57

    DB:2.57:H:Commandlink Does Not Work On Safari pj



    Hi,this may not be a Seam issue but since I'm using the whole Seam/Jboss stack I'm starting here.I'm using JBoss AS 4.2.2.GA with Seam 2.0.1.GA and all its standard libs.It seems as if h:commandLink don't work on Safari 3/Mac OS Leopard, which they did in earlier prjects with jboss 4.0.5.GA and Seam 1.2.1.GA.The commandLink in the following example produces a JavaScript error "Undefined value". It doesn't matter if the action or the form is empty. I've simplified the example but this also happens with a complete form.The starange thing is that if I copy the generated HTML source into an html file, open that file and click the "command" link, it works (however an error page is shown since this is not a legal Seam request).I've no idea why this browser makes a difference between these two files since I have used h:commandLink in many earlier projects with earlier versions of the components. Firefox works without a problem.I've already changed the extension of JSF/Seam from .seam to .html. Same error.Anyone can help here?Alex

    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    head
    /head

    body
    f:view
    h:form id="aForm"
    h:commandLink id="theId" abc/h:commandLink
    /h:form
    /f:view
    /body
    /html

    DB:2.57:H:Commandlink Does Not Work On Safari pj


    I would take this to the JSF RI list - as this is what JBoss AS 4.2.2.GA uses.

  • RELEVANCY SCORE 2.56

    DB:2.56:Seam-Persistence Tomcat 6. Bug Or A Feature? 1d


    I'm trying to get weld and JPA with seam persistance on tomcat.I've got some problems. I managed to solve them i a way. I am wondering if this is good.Here's the short version:I used maven archetype: jboss-jsf-weld-servlet-webappI added dependencies to seam solder, seam config, and seam persistence, along with jboss logging, and hibernate.Here is my beans.xml (located in WEB-INF)
    ?xml version="1.0" encoding="UTF-8"?
    beans 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://docs.jboss.org/cdi/beans_1_0.xsd"
    interceptors
    classorg.jboss.seam.transaction.TransactionInterceptor/class
    /interceptors
    /beans

  • RELEVANCY SCORE 2.56

    DB:2.56:Upgrade Jboss 5.1 As To Jsf2 11



    I've done this way with JBoss 5.1 (using Seam 2.2.1.CR1) and got this error when loading page:

    h:head Tag Library supports namespace: http://java.sun.com/jsf/html, but no tag was defined for name: head

    I know there is a h:head in JSF 2 and the tag is in the .xhtml. Am I wrong? Maybe a facelet problem?

    Please help me.

    Thanks.

    DB:2.56:Upgrade Jboss 5.1 As To Jsf2 11


    I followed this step,

    JBoss AS 5.0 or greater, copy the jars to JBOSS_HOME/server/default/deploy/jbossweb.sar/jsf-libs.

    After deployed my application server running fine, once accessing the application I got this exception Tag Library supports namespace: http://java.sun.com/jsf/html, because I have used JSF2 tags h:head

    Server Exception:

    -----------------------------

    java.io.IOException: Error parsing [vfszip:/C:/servers/jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml]:

    Caused by: org.xml.sax.SAXException: Error Handling [vfszip:/C:/servers/jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml@41,29]

  • RELEVANCY SCORE 2.56

    DB:2.56:Weld Annotations Replacing Existing Seam Annotations In Seam 3? 89


    or how about @SessionScoped? will those contextual annotations in 299 replace @Scope in Seam 3?
    299/Weld is supposed to replace the core of Seam. so that's: %SEAM_HOME%\src\main\org\jboss\seam\core package, correct? does the Weld core injection affect annotations package as well in Seam 2.x?

    DB:2.56:Weld Annotations Replacing Existing Seam Annotations In Seam 3? 89

    By the time that happens, Oracle will have bought VMWare. Seems like the only company Oracle won't buy is Microsoft. btw, I installed Windows 7 Ultimate on my pc and it's very good so far...

  • RELEVANCY SCORE 2.56

    DB:2.56:Annotation Processor 'Org.Hibernate.Jpamodelgen.Jpametamodelentityprocessor' Not Found z8



    I am trying to generate the basic Scaffolding sample as described in [1], but I'm stuck in the build step.

    When I try to build the project I get the this error:

    "[INFO] diagnostic error: Annotation processor 'org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor' not found

    [INFO] diagnostic warning: Annotation processing without compilation requested but no processors were found.

    [ERROR] error on execute: error during compilation"

    I'm using the last build of Forge and Maven 3.0.3.

    The entire build output is:

    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building my3rdForgeApp 1.0.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-processor-plugin:2.1.0-beta1:process (process) @ my3rdForgeApp ---
    [INFO] Source directory: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/generated-sources/apt added
    [INFO] javac option: -cp
    [INFO] javac option: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/src/main/resources:/Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/classes:/Users/rafaeltuelho/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.2.Final/jboss-ejb-api_3.1_spec-1.0.2.Final.jar:/Users/rafaeltuelho/.m2/repository/javax/enterprise/cdi-api/1.0-SP4/cdi-api-1.0-SP4.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.1.Final/jboss-interceptors-api_1.1_spec-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/1.0.1.Final/jboss-annotations-api_1.1_spec-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.1.Final/jboss-servlet-api_3.0_spec-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/faces/jboss-jsf-api_2.1_spec/2.0.2.Final/jboss-jsf-api_2.1_spec-2.0.2.Final.jar:
    [INFO] javac option: -proc:only
    [INFO] javac option: -processor
    [INFO] javac option: org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
    [INFO] javac option: -d
    [INFO] javac option: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/classes
    [INFO] javac option: -s
    [INFO] javac option: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/generated-sources/apt
    [INFO] diagnostic error: Annotation processor 'org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor' not found
    [INFO] diagnostic warning: Annotation processing without compilation requested but no processors were found.
    [ERROR] error on execute: error during compilation
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.723s
    [INFO] Finished at: Wed Oct 31 14:44:26 BRST 2012
    [INFO] Final Memory: 9M/309M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.bsc.maven:maven-processor-plugin:2.1.0-beta1:process (process) on project my3rdForgeApp: Error executing: error during compilation - [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    ***ERROR*** Exception encountered: Build failed. (type "set VERBOSE true" to enable stack traces)

    What can be wrong?

    [1] https://docs.jboss.org/author/display/FORGE/Generating+a+basic+Java+EE+web-application

    DB:2.56:Annotation Processor 'Org.Hibernate.Jpamodelgen.Jpametamodelentityprocessor' Not Found z8


    Hi George.

    I just changed the version of maven-processor-plugin as you suggested and now the build works fine.

    Thanks ;-)

  • RELEVANCY SCORE 2.56

    DB:2.56:Target Unreachable, Identifier 'Authenticator' Resolved To Null mp


    Hi,I have a problem in my proyect... when i try loggin me: "Target Unreachable, identifier 'authenticator' resolved to null". I've seen other related forums like http://seamframework.org/Community/ErrorInvokingLoginMethodJavaxelPropertyNotFoundExceptionTargetUnreachableIdentifierAuthenticatorResolvedToNull, but my seam.properties and components.xml are well placed.I appreciate a prompt response.Error Log...14:50:51,136 WARN [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.14:50:51,198 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:51,576 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,022 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,468 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,943 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:53,334 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:53,689 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:54,243 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter14:50:54,243 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter14:50:54,264 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory14:50:54,266 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}14:50:54,266 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity14:50:54,283 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory14:50:54,283 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}14:50:54,283 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter14:51:15,842 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml14:51:15,845 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml14:51:15,848 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml14:51:15,850 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-rss.jar!/META-INF/seam-rss.taglib.xml14:51:15,865 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml14:51:15,883 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml14:51:15,888 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml14:51:15,900 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml14:51:15,911 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml14:51:15,916 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml14:51:15,920 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-i.taglib.xml14:51:15,939 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-p.taglib.xml14:51:15,953 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml14:51:15,957 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml14:51:15,960 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml14:51:16,008 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml14:51:16,012 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml14:58:06,641 WARN [SeamLoginModule] Error invoking login methodjavax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175) at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) at javax.security.auth.login.LoginContext.login(LoginContext.java:575) at org.jboss.seam.security.Identity.authenticate(Identity.java:344) at org.jboss.seam.security.Identity.authenticate(Identity.java:332) at org.jboss.seam.security.Identity.login(Identity.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619)components.xmlcomponents xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:security="http://jboss.com/products/seam/security" xmlns:mail="http://jboss.com/products/seam/mail" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:async="http://jboss.com/products/seam/async" xmlns:tx="http://jboss.com/products/seam/transaction" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd" core:init debug="@debug@" jndi-pattern="@jndiPattern@"/ core:manager concurrent-request-timeout="500" conversation-timeout="120000" conversation-id-parameter="cid" parent-conversation-id-parameter="pid"/ !-- Make sure this URL pattern is the same as that used by the Faces Servlet -- web:hot-deploy-filter url-pattern="*.seam"/ !-- If you are still using JBoss 4, uncomment this to have you PU started -- persistence:entity-manager-factory name="entityManagerFactory" persistence-unit-name="esalud" installed="@seamBootstrapsPu@"/ persistence:managed-persistence-context name="entityManager" auto-create="true" entity-manager-factory="@seamEmfRef@" persistence-unit-jndi-name="@puJndiName@"/ drools:rule-base name="securityRules" drools:rule-filesvalue/security.drl/value/drools:rule-files /drools:rule-base security:rule-based-permission-resolver security-rules="#{securityRules}"/ security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true" / event type="org.jboss.seam.security.notLoggedIn" action execute="#{redirect.captureCurrentView}"/ /event event type="org.jboss.seam.security.loginSuccessful" action execute="#{redirect.returnToCapturedView}"/ /event !-- mail:mail-session host="localhost" port="25"/ -- mail:mail-session host="smtp.gmail.com" port="587" username="esalud.vida@gmail.com" password="esalud.vida123456789"/ !-- For use with jBPM pageflow or process management -- !-- bpm:jbpm bpm:process-definitions/bpm:process-definitions bpm:pageflow-definitions/bpm:pageflow-definitions /bpm:jbpm -- !-- Install the QuartzDispatcher -- async:quartz-dispatcher//components

    DB:2.56:Target Unreachable, Identifier 'Authenticator' Resolved To Null mp

    Hi,I have a problem in my proyect... when i try loggin me: "Target Unreachable, identifier 'authenticator' resolved to null". I've seen other related forums like http://seamframework.org/Community/ErrorInvokingLoginMethodJavaxelPropertyNotFoundExceptionTargetUnreachableIdentifierAuthenticatorResolvedToNull, but my seam.properties and components.xml are well placed.I appreciate a prompt response.Error Log...14:50:51,136 WARN [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.14:50:51,198 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:51,576 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,022 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,468 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,943 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:53,334 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:53,689 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:54,243 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter14:50:54,243 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter14:50:54,264 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory14:50:54,266 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}14:50:54,266 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity14:50:54,283 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory14:50:54,283 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}14:50:54,283 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter14:51:15,842 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml14:51:15,845 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml14:51:15,848 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml14:51:15,850 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-rss.jar!/META-INF/seam-rss.taglib.xml14:51:15,865 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml14:51:15,883 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml14:51:15,888 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml14:51:15,900 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml14:51:15,911 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml14:51:15,916 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml14:51:15,920 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-i.taglib.xml14:51:15,939 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-p.taglib.xml14:51:15,953 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml14:51:15,957 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml14:51:15,960 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml14:51:16,008 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml14:51:16,012 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml14:58:06,641 WARN [SeamLoginModule] Error invoking login methodjavax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175) at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) at javax.security.auth.login.LoginContext.login(LoginContext.java:575) at org.jboss.seam.security.Identity.authenticate(Identity.java:344) at org.jboss.seam.security.Identity.authenticate(Identity.java:332) at org.jboss.seam.security.Identity.login(Identity.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619)components.xmlcomponents xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:security="http://jboss.com/products/seam/security" xmlns:mail="http://jboss.com/products/seam/mail" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:async="http://jboss.com/products/seam/async" xmlns:tx="http://jboss.com/products/seam/transaction" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd" core:init debug="@debug@" jndi-pattern="@jndiPattern@"/ core:manager concurrent-request-timeout="500" conversation-timeout="120000" conversation-id-parameter="cid" parent-conversation-id-parameter="pid"/ !-- Make sure this URL pattern is the same as that used by the Faces Servlet -- web:hot-deploy-filter url-pattern="*.seam"/ !-- If you are still using JBoss 4, uncomment this to have you PU started -- persistence:entity-manager-factory name="entityManagerFactory" persistence-unit-name="esalud" installed="@seamBootstrapsPu@"/ persistence:managed-persistence-context name="entityManager" auto-create="true" entity-manager-factory="@seamEmfRef@" persistence-unit-jndi-name="@puJndiName@"/ drools:rule-base name="securityRules" drools:rule-filesvalue/security.drl/value/drools:rule-files /drools:rule-base security:rule-based-permission-resolver security-rules="#{securityRules}"/ security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true" / event type="org.jboss.seam.security.notLoggedIn" action execute="#{redirect.captureCurrentView}"/ /event event type="org.jboss.seam.security.loginSuccessful" action execute="#{redirect.returnToCapturedView}"/ /event !-- mail:mail-session host="localhost" port="25"/ -- mail:mail-session host="smtp.gmail.com" port="587" username="esalud.vida@gmail.com" password="esalud.vida123456789"/ !-- For use with jBPM pageflow or process management -- !-- bpm:jbpm bpm:process-definitions/bpm:process-definitions bpm:pageflow-definitions/bpm:pageflow-definitions /bpm:jbpm -- !-- Install the QuartzDispatcher -- async:quartz-dispatcher//components

  • RELEVANCY SCORE 2.56

    DB:2.56:Need Help With H:Selectonemenu And Valuechangelistener Met aj



    Using JBoss 4.0.5 and Seam 1.2.1.GA.In the below .xhtml file, the valueChangeListener="#{userRoleSearch.processValueChange}" does not fire the public processValueChange method in my SFSB when the commented s:div and /s:div tags around it are uncommented. It does execute when the tags are commented. In either case, the drop-down is rendered.Why does this happen? I experienced the same thing with the s:fragment tag. Any help would be greatly appreciated...

    !DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

    ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.ajax4jsf.org/rich"
    template="layout/template.xhtml"

    ui:define name="body"

    h:messages globalOnly="true" styleClass="message"/

    rich:panel

    h:form
    h:outputText id="userRoleInfo" value="User-Role Information"/br/
    h:outputText id="firstName" value="First Name:"/
    h:outputText id="lastName" value="Last Name:"/br/
    h:inputText id="inputFirstName" value="#{userRoleSearch.searchStringFirstName}"/
    h:inputText id="inputLastName" value="#{userRoleSearch.searchStringLastName}"/

    h:commandButton id="searchButton" value="Search" action="#{userRoleSearch.getUsers}"/
    h:commandButton id="resetButton" value="Reset" type="reset"/br/br/

    h:outputText value="No Users Found" rendered="#{userRoleSearch.isDisplay and userRoleSearch.rowCount==0}"/

    !-- s:div id="selectUserDD" rendered="#{userRoleSearch.isDisplay and userRoleSearch.rowCount0}" --

    h:outputText value="Select a user:"/

    h:selectOneMenu id="userFnameLname" valueChangeListener="#{userRoleSearch.processValueChange}" onchange="submit()"
    f:selectItems value="#{userRoleSearch.populateUsers}"/
    /h:selectOneMenubr/br/

    !-- /s:div --

    s:div id="selectRoleCheckBox" rendered="#{!empty userRoleSearch.currentUserId}"
    h:selectManyCheckbox id="userRoles"
    f:selectItems value="#{userRoleSearch.userRoles}"/
    /h:selectManyCheckbox
    /s:div

    s:link id="viewUserRoleSummary" value="View User-Role Summary" view="/filterRoles.xhtml"/

    /h:form

    /rich:panel

    /ui:define
    /ui:composition

    DB:2.56:Need Help With H:Selectonemenu And Valuechangelistener Met aj


    Using JBoss 4.0.5 and Seam 1.2.1.GA.In the below .xhtml file, the valueChangeListener="#{userRoleSearch.processValueChange}" does not fire the public processValueChange method in my SFSB when the commented s:div and /s:div tags around it are uncommented. It does execute when the tags are commented. In either case, the drop-down is rendered.Why does this happen? I experienced the same thing with the s:fragment tag. Any help would be greatly appreciated...

    !DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

    ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.ajax4jsf.org/rich"
    template="layout/template.xhtml"

    ui:define name="body"

    h:messages globalOnly="true" styleClass="message"/

    rich:panel

    h:form
    h:outputText id="userRoleInfo" value="User-Role Information"/br/
    h:outputText id="firstName" value="First Name:"/
    h:outputText id="lastName" value="Last Name:"/br/
    h:inputText id="inputFirstName" value="#{userRoleSearch.searchStringFirstName}"/
    h:inputText id="inputLastName" value="#{userRoleSearch.searchStringLastName}"/

    h:commandButton id="searchButton" value="Search" action="#{userRoleSearch.getUsers}"/
    h:commandButton id="resetButton" value="Reset" type="reset"/br/br/

    h:outputText value="No Users Found" rendered="#{userRoleSearch.isDisplay and userRoleSearch.rowCount==0}"/

    !-- s:div id="selectUserDD" rendered="#{userRoleSearch.isDisplay and userRoleSearch.rowCount0}" --

    h:outputText value="Select a user:"/

    h:selectOneMenu id="userFnameLname" valueChangeListener="#{userRoleSearch.processValueChange}" onchange="submit()"
    f:selectItems value="#{userRoleSearch.populateUsers}"/
    /h:selectOneMenubr/br/

    !-- /s:div --

    s:div id="selectRoleCheckBox" rendered="#{!empty userRoleSearch.currentUserId}"
    h:selectManyCheckbox id="userRoles"
    f:selectItems value="#{userRoleSearch.userRoles}"/
    /h:selectManyCheckbox
    /s:div

    s:link id="viewUserRoleSummary" value="View User-Role Summary" view="/filterRoles.xhtml"/

    /h:form

    /rich:panel

    /ui:define
    /ui:composition

  • RELEVANCY SCORE 2.56

    DB:2.56:Facelets And Seam2 jp



    Hi,I have an working application using facelets + seam 1.2 + jboss 4.0.5.Now Im trying migrate to seam 2 and jboss 4.2.My pages using facelets are not being rendered correctly, and no exception or error is shown. What can be wrong?web.xml--------web-app sig context-param param-namefacelets.DEVELOPMENT/param-name param-valuetrue/param-value /context-param context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.xhtml/param-value /context-param context-param param-namefacelets.LIBRARIES/param-name param-value /WEB-INF/conf/myComponents.taglib.xml /param-value /context-param filter-nameSeam Filter/filter-name filter-classorg.jboss.seam.servlet.SeamFilter/filter-class filter-mapping filter-nameSeam Filter/filter-name url-pattern/*/url-pattern /filter-mapping listener-class org.jboss.seam.servlet.SeamListener /listener-class !-- JSF -- listener-class com.sun.faces.config.ConfigureListener /listener-class servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup servlet-nameSeam Resource Servlet/servlet-name servlet-class org.jboss.seam.servlet.ResourceServlet /servlet-class !-- Faces Servlet Mapping -- servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.sig/url-pattern /servlet-mapping servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping session-config session-timeout10/session-timeout /session-config login-config auth-methodBASIC/auth-method /login-config/web-appMy faces-config------------------faces-config view-handlercom.sun.facelets.FaceletViewHandler/view-handler/faces-configAnd my components.xmlcomponents xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:web="http://jboss.com/products/seam/web" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:security="http://jboss.com/products/seam/security" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:framework="http://jboss.com/products/seam/framework" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-2.0.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd" core:init jndi-pattern="sig/#{ejbName}/local" / bpm:jbpm bpm:process-definitions ticketProcess.jpdl.xml /bpm:process-definitions bpm:process-definitions request/request.jpdl.xml /bpm:process-definitions /bpm:jbpm drools:rule-base name="securityRules" drools:rule-files /security.drl /drools:rule-files /drools:rule-base drools:managed-working-memory name="workingMemory" rule-base="#{ruleBase}" / security:identity authenticate-method="#{authenticator.authenticate}" / true web:ajax4jsf-filter force-parser="true" enable-cache="true" log4j-init-file="custom-log4j.xml" url-pattern="*.sig"/Thanks for any help

    DB:2.56:Facelets And Seam2 jp


    I never configured the content-type. Where should it be configured?In my template I use

    f:view contentType="text/html"
    ...
    /f:view

  • RELEVANCY SCORE 2.55

    DB:2.55:Jasperreports With Jboss Seam sx


    Hi.
    I'm using jboss-4.2.3.GA and jboss-seam-2.2.0.GA, and to create my reports, i'm using jasperreports-3.6.0 and ireport-nb.3.6.0. I created a very simple report, wich don't have parameters, only one static field, then I created a desktop application to test, and it works. And then I created a xhtml file into the itext example of jboss seam, that calls an seam action to generate the report, below is my code.
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:s="http://jboss.com/products/seam/taglib"

    head
    titleGenerate Report/title
    /head
    body
    h1Generate report/h1
    ul
    s:button id="report" value="Generate" action="#{reportAction.create}"/
    /ul
    /body
    /html

    DB:2.55:Jasperreports With Jboss Seam sx

    sorry for the duplication, was not my intention...
    I discovered that when I run the deploy script, my application can't read the .jasper file. It returns the error mentioned above, but if I copy and paste manually the .jasper file into the tmp.... directory into jboss, my application can read the .jasper file, so the .jasper file is being corrupted, maybe for the ant script.
    but when I copy and paste the .jasper file into tmp.... jboss directory, the exception returned in the Jboss Seam Debug Page, is the exception below:
    Exception during request processing:
    Caused by javax.el.ELException with message: "java.lang.reflect.InvocationTargetException

    org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:339)
    org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
    org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
    org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
    org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
    org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175)
    org.jboss.seam.navigation.Pages.callAction(Pages.java:692)
    org.jboss.seam.navigation.Pages.preRender(Pages.java:330)
    org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:561)
    org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:472)
    org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:148)
    org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:118)
    com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
    org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
    org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    java.lang.Thread.run(Thread.java:619)

    Caused by java.lang.reflect.InvocationTargetException with message:

    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
    org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
    org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
    org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
    org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
    org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
    org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
    org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
    org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
    org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
    org.jboss.seam.example.pdf.ReportAction_$$_javassist_seam_2.create(ReportAction_$$_javassist_seam_2.java)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
    org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
    org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
    org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
    org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
    org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175)
    org.jboss.seam.navigation.Pages.callAction(Pages.java:692)
    org.jboss.seam.navigation.Pages.preRender(Pages.java:330)
    org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:561)
    org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:472)
    org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:148)
    org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:118)
    com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
    org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
    org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
    org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    java.lang.Thread.run(Thread.java:619)

  • RELEVANCY SCORE 2.55

    DB:2.55:Fail To Persiste Taskinstance Variables From Xhtml Page fp



    I initially post this to the jbpm forum but I think it is more related to the jboss seam forum. In the thread of the jbpm forum I have written to consider that entries closed since I planned to create this entry in the seam forum.I have modified the todo example to add an xhtml form for the todo task.The todoform.xhtml follows.When I submit the form with "Done command" button, the description of the taskinstance is persisted in the database but not the variable1. The variable1 is created in the jbpm_variableinstance table but there is no value set (null).So what I have done is to use the @In in the todolist component and then on the todolist.done method I save the variable usingTaskInstance.instance().setVariable("variable1", comments);However, I don't think it is the way to do thing with jsf-seam-jbpm integration. That is why even if I have found a workaround I am asking the question.Do you have an answer for that?ThanksPhongHere is my xhtml file that is that save de taskintance.description but not the taskInstance.variables['variable1'].!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich"Todo Listf:view h:form id="list" h:messages/ id: h:outputText value="#{taskInstance.id}"/h:outputText name: h:outputText value="#{taskInstance.name}"/h:outputText description:h:inputText value="#{taskInstance.description}" style="width: 400"/ summary:h:inputText value="#{taskInstance.variables['variable1']}" style="width: 400"/ h:commandButton value="Update Items" action="update"/ h:commandButton value="Done command" action="#{todoList.done}"/ /h:form/f:view

    DB:2.55:Fail To Persiste Taskinstance Variables From Xhtml Page fp


    Task variables and Seam don't work great together IMO. You could try using the BUSINESS_PROCESS context?

  • RELEVANCY SCORE 2.55

    DB:2.55:Rich:Tree With Recursivetreenodesadaptor x9


    hi,
    i'm trying to implement a rich:tree with recursiveTreeNodesAdaptor and i've read through all of the examples and cant figure what's wrong.Environment is Seam 2.0.2CR1, JBoss 4.2 and RichFaces 3.1.4 I have seen examples where there was no need for writing TreeModel/Node adaptor.The control is for selecting a category from a simple adjacency list object tree (parent, children) to assign to a item.The model is correct as i have testng tests and the seam components get initialized correctly, all the controls appear except the tree itself.
    Do i miss anything?

    ui:compositionxmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:a="https://ajax4jsf.dev.java.net/ajax"
    template="layout/template.xhtml"

    rich:tree style="width:300px; height: 200px; border: 1px solid red;" switchType="ajax"
    rich:recursiveTreeNodesAdaptor roots="#{rootCategories}" var="cat" nodes="#{cat.children}"
    rich:treeNode#{cat.name}/rich:treeNode
    /rich:recursiveTreeNodesAdaptor
    /rich:tree

    /ui:composition

    DB:2.55:Rich:Tree With Recursivetreenodesadaptor x9

    i've changed the Factory and nothing again. Using debug.seam i can see all the data in the conversation.
    i've added above the rich:tree:

    h:selectOneMenu value="#{item.category}" id="category1"
    s:selectItems value="#{categoryHome.rootCategories}" var="category1" label="#{category1.name}" /
    s:convertEntity /
    /h:selectOneMenu

    h:selectOneMenu value="#{item.category}" id="category"
    s:selectItems value="#{allCategories}" var="category" label="#{category.getMaterializedPath('::')}" /
    s:convertEntity /
    /h:selectOneMenu

  • RELEVANCY SCORE 2.55

    DB:2.55:Componens.Xml - Problem With Spring Context And Resource Bun jz



    Hi,I tried to start a Spring ApplicationContext via components.xml.(I use Seam 1.2.1). But the loading of the Spring configuration files don't take place.There is no output in the log when I switched the log4j config to debug for package org.jboss.seam.BTW: Furthermore, it's also not possible to define additional resource bundles like in the example. I've to use the standard JSF way with f:loadBundle .... /Here is a part of my components.xml
    ?xml version="1.0" encoding="UTF-8"?
    components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core"
    xmlns:spring="http://jboss.com/products/seam/spring"
    xmlns:drools="http://jboss.com/products/seam/drools"
    xmlns:security="http://jboss.com/products/seam/security"
    xmlns:web="http://jboss.com/products/seam/web"
    xmlns:mail="http://jboss.com/products/seam/mail"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd
    http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.2.xsd
    http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
    http://jboss.com/products/seam/spring http://jboss.com/products/seam/spring-1.2.xsd
    http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd
    http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.2.xsd
    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd"

    core:init debug="true" jndi-pattern="#{ejbName}/local"/

    spring:context-loader
    spring:config-locations
    value/appDbContext.xml/value
    value/appContext.xml/value
    value/appDaoContext.xml/value
    value/appServiceContext.xml/value
    /spring:config-locations
    /spring:context-loader

    core:resource-bundle
    core:bundle-names
    valueapp_labels/value
    valueapp_messages/value
    valuemessages/value
    /core:bundle-names
    /core:resource-bundle
    ....

    DB:2.55:Componens.Xml - Problem With Spring Context And Resource Bun jz


    Hi,I tried to start a Spring ApplicationContext via components.xml.(I use Seam 1.2.1). But the loading of the Spring configuration files don't take place.There is no output in the log when I switched the log4j config to debug for package org.jboss.seam.BTW: Furthermore, it's also not possible to define additional resource bundles like in the example. I've to use the standard JSF way with f:loadBundle .... /Here is a part of my components.xml
    ?xml version="1.0" encoding="UTF-8"?
    components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core"
    xmlns:spring="http://jboss.com/products/seam/spring"
    xmlns:drools="http://jboss.com/products/seam/drools"
    xmlns:security="http://jboss.com/products/seam/security"
    xmlns:web="http://jboss.com/products/seam/web"
    xmlns:mail="http://jboss.com/products/seam/mail"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd
    http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.2.xsd
    http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
    http://jboss.com/products/seam/spring http://jboss.com/products/seam/spring-1.2.xsd
    http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd
    http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.2.xsd
    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd"

    core:init debug="true" jndi-pattern="#{ejbName}/local"/

    spring:context-loader
    spring:config-locations
    value/appDbContext.xml/value
    value/appContext.xml/value
    value/appDaoContext.xml/value
    value/appServiceContext.xml/value
    /spring:config-locations
    /spring:context-loader

    core:resource-bundle
    core:bundle-names
    valueapp_labels/value
    valueapp_messages/value
    valuemessages/value
    /core:bundle-names
    /core:resource-bundle
    ....

  • RELEVANCY SCORE 2.55

    DB:2.55:Help With Compilation From Cvs - Maven Site Plugin Not Found cj



    I downloaded latest version of Seam 2.0.0Beta1 from cvs by this command:But when I exectute ant I have:

    D:\ws\jboss-seam\jboss-seamant
    Buildfile: build.xml

    initcore:
    [echo] Build JBoss Seam Core 2.0

    select-compiler:

    antlr:

    compilecore:
    [javac] Compiling 26 source files to D:\ws\jboss-seam\jboss-seam\classes\coreclasses

    jarcore:

    initpdf:
    [echo] Build JBoss Seam PDF 2.0

    installExtraDependencies:
    [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\lib\jboss-cache-jdk50.jar to C:\Documents and Settings\dlk\.m2\repository\jboss\jboss-cache-jdk
    50\1.4.1.GA-jboss-seam-2.0.0.BETA\jboss-cache-jdk50-1.4.1.GA-jboss-seam-2.0.0.BETA.jar
    [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\lib\testng-5.6-jdk15.jar to C:\Documents and Settings\dlk\.m2\repository\org\testng\testng\5.6-
    jboss-seam-2.0.0.BETA\testng-5.6-jboss-seam-2.0.0.BETA.jar
    [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\lib\jbpm-jpdl.jar to C:\Documents and Settings\dlk\.m2\repository\jboss\jbpm-jpdl\3.2.1-jboss-s
    eam-2.0.0.BETA\jbpm-jpdl-3.2.1-jboss-seam-2.0.0.BETA.jar

    init.m2:
    [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\pom.xml to C:\Documents and Settings\dlk\.m2\repository\jboss\jboss-seam\2.0.0.BETA\jboss-seam-
    2.0.0.BETA.pom

    jarui:
    [artifact:install] [INFO] Installing D:\ws\jboss-seam\jboss-seam\jboss-seam.jar to C:\Documents and Settings\dlk\.m2\repository\jboss\jboss-seam-core\2.0.0.BETA
    \jboss-seam-core-2.0.0.BETA.jar
    [echo] Installed jboss-seam-core pom
    [java] [INFO] Scanning for projects...
    [java] [INFO] Reactor build order:
    [java] [INFO] JBoss Seam
    [java] [INFO] Seam JSF Controls
    [java] [INFO] ----------------------------------------------------------------------------
    [java] [INFO] Building JBoss Seam
    [java] [INFO] task-segment: [package]
    [java] [INFO] ----------------------------------------------------------------------------
    [java] [INFO] ------------------------------------------------------------------------
    [java] [ERROR] BUILD ERROR
    [java] [INFO] ------------------------------------------------------------------------
    [java] [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
    [java] [INFO] ------------------------------------------------------------------------
    [java] [INFO] For more information, run Maven with the -e switch
    [java] [INFO] ------------------------------------------------------------------------
    [java] [INFO] Total time: 1 second
    [java] [INFO] Finished at: Fri Jul 27 18:42:31 CEST 2007
    [java] [INFO] Final Memory: 1M/4M
    [java] [INFO] ------------------------------------------------------------------------
    [java] Java Result: 1

    BUILD FAILED
    D:\ws\jboss-seam\jboss-seam\build.xml:621: Warning: Could not find file D:\ws\jboss-seam\jboss-seam\ui\target\jboss-seam-ui.jar to copy.

    DB:2.55:Help With Compilation From Cvs - Maven Site Plugin Not Found cj


    I found the reason of the problem.The problem was fixed when I deleted C:\Documents and Settings\dlk\.m2 folder. It is a repository of maven where it stores all loaded jars. After that it started to reload libraries again. It looks like it failed to load one of jars which was needed for compilation and didn't notice it :( It didn't try to reload it again, it doesn't check checksum for loaded jars (I think it is an issue for maven).If I would know, what jar was spoiled, I could reload only it, I think.

  • RELEVANCY SCORE 2.55

    DB:2.55:Off Topic: Richfaces Seam Jsf Components ps



    I'm learning Seam at a very slow pace (because my company wants me to use gwt) so I just read about Seam, not writing any example. I notice that there some (maybe a lot) JSF components in Seam like calendar, file upload, .... and Seam even has something like the JSF core f tags (s:convertDateTime ....).So why are there 2 different set of JSF components in the same company (which is JBoss)? Do they work well in the same xhtml page (if I use facelets)?

    DB:2.55:Off Topic: Richfaces Seam Jsf Components ps


    I'm learning Seam at a very slow pace (because my company wants me to use gwt) so I just read about Seam, not writing any example. I notice that there some (maybe a lot) JSF components in Seam like calendar, file upload, .... and Seam even has something like the JSF core f tags (s:convertDateTime ....).So why are there 2 different set of JSF components in the same company (which is JBoss)? Do they work well in the same xhtml page (if I use facelets)?

  • RELEVANCY SCORE 2.55

    DB:2.55:Lookup Attribute Missing On @Resource? za



    I'm including

    https://repository.jboss.org/nexus/content/groups/public/org/jboss/spec/jboss-javaee-6.0/1.0.0.Final/jboss-javaee-6.0-1.0.0.Final.pom

    and it appears to pull in the

    https://repository.jboss.org/nexus/content/groups/public/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/1.0.0.Final/jboss-annotations-api_1.1_spec-1.0.0.Final.jar

    with a Resource class that includes the lookup attribute according to

    http://download.oracle.com/javaee/6/api/javax/annotation/Resource.html

    but when the attribute is used, I get a

    [ERROR] symbol : method lookup()

    [ERROR] location: @interface javax.annotation.Resource

    Theories?

    DB:2.55:Lookup Attribute Missing On @Resource? za


    Yes, indeed..welcome to dependency hell;) I got the same failure.

    Maybe this helps a little:

    http://java-abwaschbar.blogspot.com/2011/01/resource-annotation-and-lookup.html

    http://javahowto.blogspot.com/2010/04/resourcelookup-and-classpath.html

  • RELEVANCY SCORE 2.55

    DB:2.55:Email : Encoding Problem In The Subject sp


    Hi guys,
    I use jboss 4.0.5.GA and seam 1.2.1.GA.
    I'm trying to send an email using facets.
    I have an encoding issue in the subject area. The rest works fine.
    Here is the email template :
    ?xml version="1.0" encoding="UTF-8"?
    m:message xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:m="http://jboss.com/products/seam/mail"
    xmlns:c="http://java.sun.com/jstl/core"
    xmlns:h="http://java.sun.com/jsf/html"
    charset="UTF-8"

    m:from name="#{poiInfoManager.emailSenderName}"invitation@easycity.com/m:from
    ui:repeatvalue="#{poiInfoManager.mailSet}"
    var="email"
    m:bcc name="#{email}" address="#{email}" /
    /ui:repeat

    m:subject Do you know #{poiInfoManager.poi.nameBase} in #{poiInfoManager.poi.address.locality} ?/m:subject

    m:body
    p
    #{poiInfoManager.msg}
    /p
    p
    #{poiInfoManager.poi.address.locality}
    /p
    /m:body

    /m:message

  • RELEVANCY SCORE 2.54

    DB:2.54:Could Not Find Entitymanagerfactory 88


    Hi,id like to mention that i searched for this issue and read alot of documentation but i couldn't find a solution.I have a project (EJB 3.0, packaged as EAR) with a view (JSF 2.0) and persistence (JPA 2.0, Hibernate) layer. To avoid the lazy initialization support and other issues I tried to introduce a Seam Managed Persistence Context with Seam 3.0.0.Final.For this i wrote the following producer class:import javax.enterprise.context.ConversationScoped;import javax.enterprise.inject.Produces;import javax.persistence.EntityManagerFactory;import javax.persistence.PersistenceUnit;import org.jboss.seam.solder.core.ExtensionManaged;class PersistenceProvider {@SuppressWarnings("unused")@ExtensionManaged@Produces@PersistenceUnit@ConversationScoped private EntityManagerFactory producerField;}And changed the @PersistenceContext Annotation on my EntityManager fields to @Inject.If Iam trying to use the EntityManager now I'm getting the following stacktrace:WARNUNG: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exceptionjavax.faces.el.EvaluationException: java.lang.RuntimeException: java.lang.RuntimeException: Could not find EntityManagerFactory bean with qualifiers[@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)at javax.faces.component.UICommand.broadcast(UICommand.java:315)at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)at com.sun.grizzly.ContextTask.run(ContextTask.java:71)at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)at java.lang.Thread.run(Thread.java:662)Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not find EntityManagerFactory bean with qualifiers[@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.create(ManagedPersistenceContextBeanLifecycle.java:126)at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.create(ManagedPersistenceContextBeanLifecycle.java:46)at org.jboss.seam.solder.bean.ImmutableBean.create(ImmutableBean.java:87)at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:124)at org.jboss.weld.proxies.SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-de$wintersolutions$fitnessbuddy$persistence$cdi$PersistenceProvider$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$solder$core$ExtensionManaged()]_$$_WeldClientProxy.persist(SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-de$wintersolutions$fitnessbuddy$persistence$cdi$PersistenceProvider$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$solder$core$ExtensionManaged()]_$$_WeldClientProxy.java)at de.wintersolutions.fitnessbuddy.view.controller.ExerciseController.saveExercise(ExerciseController.java:54)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:737)at javax.el.BeanELResolver.invoke(BeanELResolver.java:467)at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:254)at com.sun.el.parser.AstValue.invoke(AstValue.java:228)at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)... 33 moreCaused by: java.lang.RuntimeException: Could not find EntityManagerFactory bean with qualifiers[@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.getEntityManagerFactory(ManagedPersistenceContextBeanLifecycle.java:210)at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.create(ManagedPersistenceContextBeanLifecycle.java:104)... 53 moreDebugging the applicaton on Glassfish 3.1 provided me with the following insightsThe entity manager is a proxy of the type "entityManager SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-com$example$PersistenceProvider$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$solder$core$ExtensionManaged()]_$$_WeldClientProxy"The producer field can't be found in the beans-Field of the BeanManager in the scope of the method org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.getEntityManagerFactory but in a BeanManager injected into my DAOs.I tried some variations like qualifiying the producer field, trying to inject a entity manager in the view layer services and adding the unitName and/or name of my persistence unit to the @PersistenceUnit Annotation of the producer field.Any suggestions what Im doing wrong here?

    DB:2.54:Could Not Find Entitymanagerfactory 88

    Hi,id like to mention that i searched for this issue and read alot of documentation but i couldn't find a solution.I have a project (EJB 3.0, packaged as EAR) with a view (JSF 2.0) and persistence (JPA 2.0, Hibernate) layer. To avoid the lazy initialization support and other issues I tried to introduce a Seam Managed Persistence Context with Seam 3.0.0.Final.For this i wrote the following producer class:import javax.enterprise.context.ConversationScoped;import javax.enterprise.inject.Produces;import javax.persistence.EntityManagerFactory;import javax.persistence.PersistenceUnit;import org.jboss.seam.solder.core.ExtensionManaged;class PersistenceProvider {@SuppressWarnings("unused")@ExtensionManaged@Produces@PersistenceUnit@ConversationScoped private EntityManagerFactory producerField;}And changed the @PersistenceContext Annotation on my EntityManager fields to @Inject.If Iam trying to use the EntityManager now I'm getting the following stacktrace:WARNUNG: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exceptionjavax.faces.el.EvaluationException: java.lang.RuntimeException: java.lang.RuntimeException: Could not find EntityManagerFactory bean with qualifiers[@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)at javax.faces.component.UICommand.broadcast(UICommand.java:315)at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)at com.sun.grizzly.ContextTask.run(ContextTask.java:71)at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)at java.lang.Thread.run(Thread.java:662)Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not find EntityManagerFactory bean with qualifiers[@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.create(ManagedPersistenceContextBeanLifecycle.java:126)at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.create(ManagedPersistenceContextBeanLifecycle.java:46)at org.jboss.seam.solder.bean.ImmutableBean.create(ImmutableBean.java:87)at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:124)at org.jboss.weld.proxies.SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-de$wintersolutions$fitnessbuddy$persistence$cdi$PersistenceProvider$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$solder$core$ExtensionManaged()]_$$_WeldClientProxy.persist(SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-de$wintersolutions$fitnessbuddy$persistence$cdi$PersistenceProvider$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$solder$core$ExtensionManaged()]_$$_WeldClientProxy.java)at de.wintersolutions.fitnessbuddy.view.controller.ExerciseController.saveExercise(ExerciseController.java:54)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:737)at javax.el.BeanELResolver.invoke(BeanELResolver.java:467)at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:254)at com.sun.el.parser.AstValue.invoke(AstValue.java:228)at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)... 33 moreCaused by: java.lang.RuntimeException: Could not find EntityManagerFactory bean with qualifiers[@javax.enterprise.inject.Any(), @javax.enterprise.inject.Default()]at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.getEntityManagerFactory(ManagedPersistenceContextBeanLifecycle.java:210)at org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.create(ManagedPersistenceContextBeanLifecycle.java:104)... 53 moreDebugging the applicaton on Glassfish 3.1 provided me with the following insightsThe entity manager is a proxy of the type "entityManager SMPC-org$jboss$seam$persistence$ManagedPersistenceContextExtension-com$example$PersistenceProvider$producerField[@javax$enterprise$context$ConversationScoped()@javax$enterprise$inject$Produces()@javax$persistence$PersistenceUnit(name=,unitName=)@org$jboss$seam$solder$core$ExtensionManaged()]_$$_WeldClientProxy"The producer field can't be found in the beans-Field of the BeanManager in the scope of the method org.jboss.seam.persistence.ManagedPersistenceContextBeanLifecycle.getEntityManagerFactory but in a BeanManager injected into my DAOs.I tried some variations like qualifiying the producer field, trying to inject a entity manager in the view layer services and adding the unitName and/or name of my persistence unit to the @PersistenceUnit Annotation of the producer field.Any suggestions what Im doing wrong here?

  • RELEVANCY SCORE 2.54

    DB:2.54:Seam 2.2.1 Final - Could Not Instantiate Seam Component: Org.Jboss.Seam.Navigation.Pages cd


    Hello,I'm using Seam 2.2.1 Final version along with richfaces.I'm getting the below exception:Feb 4, 2011 9:41:12 AM EST Warning HTTP BEA-101162 User defined listener org.jboss.seam.servlet.SeamListener failed: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.navigation.pages.org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.navigation.pagesat org.jboss.seam.Component.newInstance(Component.java:2170)at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143)at org.jboss.seam.init.Initialization.init(Initialization.java:744)Truncated. see log file for complete stacktracejava.lang.RuntimeException: org.dom4j.DocumentException: Tried all: '1' addresses, but could not connect over HTTP to server: 'jboss.com', port: '80' Nested exception: Tried all: '1' addresses, but could not connect over HTTP to server: 'jboss.com', port: '80'at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:1092)at org.jboss.seam.navigation.Pages.parse(Pages.java:1014)at org.jboss.seam.navigation.Pages.initialize(Pages.java:141)at org.jboss.seam.navigation.Pages.create(Pages.java:111)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)Truncated. see log file for complete stacktraceorg.dom4j.DocumentException: Tried all: '1' addresses, but could not connect over HTTP to server: 'jboss.com', port: '80' Nested exception: Tried all: '1' addresses, but could not connect over HTTP to server: 'jboss.com', port: '80'at org.dom4j.io.SAXReader.read(SAXReader.java:484)at org.dom4j.io.SAXReader.read(SAXReader.java:343)at org.jboss.seam.util.XML.getRootElement(XML.java:24)at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:1088)at org.jboss.seam.navigation.Pages.parse(Pages.java:1014)Truncated. see log file for complete stacktrace Feb 4, 2011 9:41:12 AM EST Error Deployer BEA-149231 Unable to set the activation state to true for the application '_appsdir_OmgWebEAR_dir'.weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:975)at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)Truncated. see log file for complete stacktraceorg.dom4j.DocumentException: Tried all: '1' addresses, but could not connect over HTTP to server: 'jboss.com', port: '80' Nested exception: Tried all: '1' addresses, but could not connect over HTTP to server: 'jboss.com', port: '80'at org.dom4j.io.SAXReader.read(SAXReader.java:484)at org.dom4j.io.SAXReader.read(SAXReader.java:343)at org.jboss.seam.util.XML.getRootElement(XML.java:24)at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:1088)at org.jboss.seam.navigation.Pages.parse(Pages.java:1014)Truncated. see log file for complete stacktrace Here is my web.xml:?xml version="1.0" encoding="UTF-8"?web-app 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" context-param param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name param-valuecom.sun.facelets.FaceletViewHandler/param-value /context-paramlistener listener-classcom.sun.faces.config.ConfigureListener/listener-class/listenercontext-param param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueserver/param-value/context-param context-param param-nameorg.richfaces.SKIN/param-name param-valueblueSky/param-value/context-paramcontext-param param-nameorg.richfaces.CONTROL_SKINNING/param-name param-valueenable/param-value/context-param filter display-nameRichFaces Filter/display-name filter-namerichfaces/filter-name filter-classorg.ajax4jsf.Filter/filter-class /filter filter-mapping filter-namerichfaces/filter-name servlet-nameFaces Servlet/servlet-name dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher/filter-mapping !-- Seam -- listener listener-classorg.jboss.seam.servlet.SeamListener/listener-class /listener servlet servlet-nameSeam Resource Servlet/servlet-name servlet-classorg.jboss.seam.servlet.SeamResourceServlet/servlet-class /servlet servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping filter filter-nameSeam Filter/filter-name filter-classorg.jboss.seam.servlet.SeamFilter/filter-class /filter filter-mapping filter-nameSeam Filter/filter-name url-pattern/*/url-pattern /filter-mapping !-- JSF -- context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.xhtml/param-value /context-param context-param param-namefacelets.DEVELOPMENT/param-name param-valuetrue/param-value /context-param servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.seam/url-pattern /servlet-mapping login-config auth-methodBASIC/auth-method /login-config /web-appHere is my components.xml:?xml version="1.0" encoding="UTF-8"?components xmlns="http://jboss.com/products/seam/components"xmlns:core="http://jboss.com/products/seam/core"xmlns:drools="http://jboss.com/products/seam/drools"xmlns:web="http://jboss.com/products/seam/web"xmlns:security="http://jboss.com/products/seam/security"xmlns:framework="http://jboss.com/products/seam/framework"xmlns:mail="http://jboss.com/products/seam/mail"xmlns:pdf="http://jboss.com/products/seam/pdf"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd" web:exception-filter url-pattern="*.xhtml,*.seam"/ component class="com.MySeamWeb.Model.TestBean" name="testBean"/ /components Here is my faces-config.xml?xml version="1.0" encoding="UTF-8"?faces-config 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-facesconfig_1_2.xsd" version="1.2"!-- Defining Resource bundle --applicationmessage-bundlemessages/message-bundlelocale-config default-localeen/default-locale supported-localeen-US/supported-locale/locale-config/application !-- Seam transaction management lifecyclephase-listenerorg.jboss.seam.jsf.TransactionalSeamPhaseListener/phase-listener/lifecycle-- !-- No Seam transaction management lifecycle phase-listenerorg.jboss.seam.jsf.SeamPhaseListener/phase-listener /lifecycle --/faces-configHere is my classpath:classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-beanutils.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-codec.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-digester.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-httpclient.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-lang.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-logging.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/javassist.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-el.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-debug.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-excel.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-flex.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-ioc.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-jul.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-mail.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-pdf.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-remoting.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-resteasy.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-rss.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-ui.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-wicket-ant.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam-wicket.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-seam.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-vfs.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsf-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsf-facelets.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsf-impl.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsp-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/log4j.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mail.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/richfaces-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/richfaces-impl.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/richfaces-ui.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-log4j12.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/dom4j.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-validator.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/resteasy-jaxrs.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jaxrs-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/httpclient.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/httpcore.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/antlr-runtime.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ant-antlr.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/antlr.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activation.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/htmlparser.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-system.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jcl-over-slf4j.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jcommon.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jms.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jsr181-api.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jta.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jxl.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/lucene-core.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/resteasy-atom-provider.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/resteasy-jaxb-provider.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/resteasy-jettison-provider.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/cglib-nodep.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/concurrent.jar"/classpathentry kind="lib" path="WebRoot/WEB-INF/lib/core.jar"/Kindly help me!

    DB:2.54:Seam 2.2.1 Final - Could Not Instantiate Seam Component: Org.Jboss.Seam.Navigation.Pages cd

    As you can see from my post, I didn't notice the dtd either. :)
    Happy it worked out for you.

  • RELEVANCY SCORE 2.54

    DB:2.54:Seam Jsf And Weblogic sa


    Hi,
    Has anyone been able to deploy Seam on Weblogic 10.3 without the need to deploy the javax jsf 1.2.0.0.jar on the domain lib folder? Below is an extract from the Seam documentation.
    Deploying the javax jsf 1.2.0.0.jar to the domain lib folder creates problem in my application with other third party ears using different JSF components.
    Thanks,Kenety
    There is another step that is needed for this to work. For some reason, even with the steps above classes in the jsf api.jar are not found during application deployment. The only way for this to work is to put the javax jsf 1.2.0.0.jar (the jsf api.jar) from jsf 1.2.war in the domains shared library. This requires a restart of the server.

    DB:2.54:Seam Jsf And Weblogic sa

    When I say other third party ears using different JSF components, I'm talking about a third party ear that I need to deploy on the same weblogic cluster as my Seam application and which uses a different version of JSF (1.1 in that case). And I cannot simply open that third party ear and modify the war to use JSF 1.2 because it is a third party ear not maintained by me.
    The latest Seam uses JSF 1.2. Apparently I could use JSF 1.1 in my Seam application but that would affect my middle tier which relies on EJBs now. So I'm not considering this option.
    What is annoying is that jar file (javax jsf 1.2.0.0.jar) that needs to sit on the domain shared lib.
    Thanks!

  • RELEVANCY SCORE 2.54

    DB:2.54:Base Is Null pj



    I`m having a problem while trying to run my application (Seam 1.2.1) on JBoss 4.0.5.Let the code explain...controllertest.jsp (jsf)

    %@page contentType="text/html"%
    %@page pageEncoding="UTF-8"%

    %@taglib prefix="f" uri="http://java.sun.com/jsf/core"%
    %@taglib prefix="h" uri="http://java.sun.com/jsf/html"%

    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"

    html
    body
    f:view
    h:form id="controller"
    p
    h:commandButton value="Add new category (QuestionCategoryManger)" action="#{QuestionCategoryManager.test}"/
    /p
    /h:form
    /f:view
    /body
    /html

    DB:2.54:Base Is Null pj


    Omg... thank you both for help !!!

  • RELEVANCY SCORE 2.54

    DB:2.54:Seam 2 Migration jz


    Hello....I going through the Seam 2 Migration. In the Seam 1.2.1 we had a lot of coupling with JSF and in the SeamApplicationFactory. depending on the JSF version we used to create respective instance of SeamApplication. Now in the new version we have removed the coupling. My first doubt is that the SeamApplication12.java was doing a lot of stuff like :
    getELResolverMethod = application.getClass().getMethod("getELResolver");
    addELResolverMethod = application.getClass().getMethod("addELResolver", ELResolver.class);
    getExpressionFactoryMethod = application.getClass().getMethod("getExpressionFactory");
    evaluateExpressionMethod = application.getClass().getMethod("evaluateExpressionGet", FacesContext.class, String.class, Class.class);
    getResourceBundleMethod = application.getClass().getMethod("getResourceBundle", FacesContext.class, String.class);
    createComponentMethod = application.getClass().getMethod("createComponent", ValueExpression.class, FacesContext.class, String.class);
    getELContextListenersMethod = application.getClass().getMethod("getELContextListeners");
    addELContextListenerMethod = application.getClass().getMethod("addELContextListener", ELContextListener.class);
    removeELContextListenerMethod = application.getClass().getMethod("removeELContextListener", ELContextListener.class);

    DB:2.54:Seam 2 Migration jz

    This is not needed any more as we are linking against the JSF 1.2 API, so we can delegate directly.

  • RELEVANCY SCORE 2.54

    DB:2.54:Myfaces, Seam 2.0 And Jboss 4.2.2 38



    HelloI need to use MyFaces with Seam 2.0 on JBoss 4.2.2.Libraries myfaces-api-1.1.5.jar and myfaces-imp-1.1.5.jar I have in war in my application web-inf/lib.I removed the JSF impl from /deploy/jboss-web.deployer/jsf-libs and comment listeners in /deploy/jboss-web.deployer/conf/web.xml(http://www.jboss.com/index.html?module=bbop=viewtopicp=4105235#4105235)So I have error12:42:17,546 WARN [JspServlet] Failed to load engineOptionsClass java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor47.newInstance(Unknown Source)...Caused by: java.lang.NoClassDefFoundError: org/jboss/web/jsf/integration/config/JBossJSFConfigureListenerWhere should I search a solution?

    DB:2.54:Myfaces, Seam 2.0 And Jboss 4.2.2 38


    I added library jboss-el.jar toserver\all\deploy\jboss-web.deployer\jsf-libs\and application works fine.

  • RELEVANCY SCORE 2.54

    DB:2.54:Vararg Method Issues c7


    We are trying to get Seam (either version 1.2 or 2.0) working on WebLogic 10 with a full JSF-Seam-EJB3 stack. At the moment we are stuck due to WebLogic not supporting vararg methods in EJBs, ie when we deploy we get a stack trace like:

    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(jboss-seam.jar) Unable to deploy EJB: jboss-seam.jar from jboss-seam.jar: There are 1 nested errors: java.io.IOException: Compiler failed executable.exec: /checkpoint/weblogic10/wlserver_10.0/samples/domains/wl_server/servers/examplesServer/cache/EJBCompilerCache/-1fp2y4mbf7ax/org/jboss/seam/core/Dispatcher_u7njda_Intf.java:20: modifier transient not allowed here public transient javax.ejb.Timer scheduleEvent(java.lang.String arg0, java.lang.Long arg1, java.util.Date arg2, java.lang.Long arg3, java.lang.Object[] arg4); ^ /checkpoint/weblogic10/wlserver_10.0/samples/domains/wl_server/servers/examplesServer/cache/EJBCompilerCache/-1fp2y4mbf7ax/org/jboss/seam/core/TransactionListener_r4jqkg_LocalTransactionListenerImpl.java:109: modifier transient not allowed here public transient void scheduleEvent(java.lang.String arg0, java.lang.Object[] arg1) ^ /checkpoint/weblogic10/wlserver_10.0/samples/domains/wl_server/servers/examplesServer/cache/EJBCompilerCache/-1fp2y4mbf7ax/org/jboss/seam/core/TransactionListener_r4jqkg_Intf.java:23: modifier transient not allowed here public transient void scheduleEvent(java.lang.String arg0, java.lang.Object[] arg1);

    This is a really big problem for us, is there anyone out there who has tried something similar (and do you have a workaround)?

    DB:2.54:Vararg Method Issues c7

    Hi folks,

    I've meanwhile started an effort by myself to create a workaround for this issue in seam, since BEA systems doesn't seem to be willing to fix this obvious EJB3 compiler bug.

    I've released a patch for the current JBoss Seam release 2.0.1.GA, which is attached to a corresponding JIRA issue, located at

    [url http://jira.jboss.com/jira/browse/JBSEAM-2592]http://jira.jboss.com/jira/browse/JBSEAM-2592

    I hope this fixes all your issues.

    Best regards,
    Christian

  • RELEVANCY SCORE 2.53

    DB:2.53:Help Me To Resolve This Issue..Org.Jboss.Seam.Instantiationexception: Could Not Instantiate Seam Component: Registration..I Have Attached Registration Class And Server Log Too. jd



    I,m using JBOSS dev studio 4. And generating build.xml by File-Export-Ant build...Look throught the build.xml and please reply me whether i need to add anything in that regarding JNDI.

    21:45:28,671 WARNING [lifecycle] Could not instantiate Seam component: registration

    org.jboss.seam.InstantiationException: Could not instantiate Seam component: registration

    at org.jboss.seam.Component.newInstance(Component.java:2170)

    at org.jboss.seam.Component.getInstance(Component.java:2024)

    at org.jboss.seam.Component.getInstance(Component.java:1986)

    at org.jboss.seam.Component.getInstance(Component.java:1980)

    at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)

    at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)

    at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)

    at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)

    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)

    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)

    at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)

    at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)

    at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)

    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

    at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at javax.faces.component.UICommand.broadcast(UICommand.java:387)

    at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)

    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)

    at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)

    at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)

    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: javax.naming.NameNotFoundException: Registration not bound

    at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)

    at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)

    at org.jnp.server.NamingServer.getObject(NamingServer.java:785)

    at org.jnp.server.NamingServer.lookup(NamingServer.java:396)

    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)

    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)

    at javax.naming.InitialContext.lookup(InitialContext.java:392)

    at org.jboss.seam.Component.instantiateSessionBean(Component.java:1403)

    at org.jboss.seam.Component.instantiate(Component.java:1367)

    at org.jboss.seam.Component.newInstance(Component.java:2148)

    ... 68 more

    21:45:28,671 SEVERE [lifecycle] JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /Registration.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@b6aca9]

    Components.xml

    ?xml version="1.0" encoding="UTF-8"?

    components xmlns="http://jboss.com/products/seam/components"

    xmlns:core="http://jboss.com/products/seam/core"

    xmlns:persistence="http://jboss.com/products/seam/persistence"

    xmlns:drools="http://jboss.com/products/seam/drools"

    xmlns:bpm="http://jboss.com/products/seam/bpm"

    xmlns:security="http://jboss.com/products/seam/security"

    xmlns:mail="http://jboss.com/products/seam/mail"

    xmlns:web="http://jboss.com/products/seam/web"

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

    xsi:schemaLocation=

    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd

    http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd

    http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd

    http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd

    http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd

    http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd

    http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd

    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"

    core:init debug="true" jndi-pattern="@jndiPattern@" /

    core:manager concurrent-request-timeout="500"

    conversation-timeout="120000"

    conversation-id-parameter="cid"

    parent-conversation-id-parameter="pid"/

    !-- Make sure this URL pattern is the same as that used by the Faces Servlet --

    web:hot-deploy-filter url-pattern="*.seam"/

    persistence:managed-persistence-context

    name="entityManager" auto-create="true"

    persistence-unit-jndi-name="java:/RegistrationSeamEntityManagerFactory"/

    drools:rule-base name="securityRules"

    drools:rule-filesvalue/security.drl/value/drools:rule-files

    /drools:rule-base

    security:rule-based-permission-resolver security-rules="#{securityRules}"/

    security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/

    event type="org.jboss.seam.security.notLoggedIn"

    action execute="#{redirect.captureCurrentView}"/

    /event

    event type="org.jboss.seam.security.loginSuccessful"

    action execute="#{redirect.returnToCapturedView}"/

    /event

    mail:mail-session host="localhost" port="25"/

    !-- For use with jBPM pageflow or process management --

    !--

    bpm:jbpm

    bpm:process-definitions/bpm:process-definitions

    bpm:pageflow-definitions/bpm:pageflow-definitions

    /bpm:jbpm

    --

    /components

    components.properties

    #

    #Sun Oct 27 20:10:34 MST 2013

    jndiPattern=\#{ejbName}/local

    embeddedEjb=false

    build.xml

    ?xml version="1.0" encoding="UTF-8" standalone="no"?

    !-- WARNING: Eclipse auto-generated file.

    Any modifications will be overwritten.

    To include a user specific buildfile here, simply create one in the same

    directory with the processing instruction ?eclipse.ant.import?

    as the first entry and export the buildfile again. --

    project basedir="." default="build" name="RegistrationSeam"

    property environment="env"/

    property name="ECLIPSE_HOME" value="C:/Program Files/jbdevstudio/studio"/

    property name="debuglevel" value="source,lines,vars"/

    property name="target" value="1.5"/

    property name="source" value="1.5"/

    path id="JBoss 5.1 Runtime [JBoss 5.1 Runtime].libraryclasspath"

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jmx-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-structure-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jca.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/lib/mysql-connector-java-5.0.0-bin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jaxen.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-reflect.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-serialization.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/joesnmp.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-messaging.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jmx-invoker-adaptor-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossall-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/getopt.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-security-aspects.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-remoting-aspects.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-core.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logging-jdk.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/ejb3.deployer/jboss-ejb3-deployer.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/scout.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloading-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-jmx.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jstl.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-srp.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jsf-libs/jboss-faces.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-oscache.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/concurrent.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-remoting.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-managed.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/jboss-aop-jboss5.deployer/pluggable-instrumentor.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-security.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-management.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/slf4j-jboss-logging.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-vfs.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-deployers.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/scheduler-plugin-example.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-mc-int.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbosscx-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jnpserver.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logbridge.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-saaj.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logmanager.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jpa-deployers.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-messaging-int.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbosssx-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-jaxws-ext.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-proxy-impl.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hsqldb-plugin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-swarmcache.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-vfs.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-metadata.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-deployers.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/commons-logging.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-profileservice.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jboss-web-service.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-mc-int.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/servlet-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-core-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-vfs-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-asintegration-core.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-current-invocation-aspects.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-transactions.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jbosssx.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/log4j.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/wstx.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/ejb3-persistence.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jsf-libs/jsf-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-impl.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-appclient.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-server-cache-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logging-log4j.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossjts-integration.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/bsh.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/hornetq-core-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jacorb.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-proxy-clustered.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/streambuffer.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossjmx-ant.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossha.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/quartz.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/bcel.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-j2se.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/hornetq-jms-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-ext-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-proxy-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-jmx.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-timerservice-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-common.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-xml-binding.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-ehcache.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossjts.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jnp-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/trove.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-metadata.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-bootstrap.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jsr77.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/jboss-aop-jboss5.deployer/jboss-aop-aspects.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ha-legacy-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-client-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jsp-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-context-naming.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-profileservice-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/properties-plugin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossws-native-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jaspi-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-server-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jmx-adaptor-plugin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-vfs-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-entitymanager.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossas-remoting.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jaxb-impl.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/wsdl4j.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/cglib.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-messaging-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossts-common.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbosssx-as-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossxacml.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/xmlsec.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/stax-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-common.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/autonumber-plugin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-jsr77-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-server-cache-jbc.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-c3p0.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hsqldb.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-common-jdbc-wrapper.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-common-core.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-cache.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/stax-ex.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/lib/ojdbc14.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-javaee.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-security-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-profileservice-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/slf4j-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/javassist.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jaxb-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-jaxrpc.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-negotiation.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-srp-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-annotations.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-main.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloader.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-mbeans.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-interceptors.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/FastInfoset.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-transaction-aspects.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/scheduler-plugin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jaxws-rt.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/netty.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossjts-jacorb.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-vfs-impl-vfs2.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/log4j-snmp-appender.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-deployment.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-proxy-spi-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-aop-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-proxool.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-asintegration-mc.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-core-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/logkit.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/bsf.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-native-jaxws.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-system.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-metatype.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-system-jmx.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jbossws-framework.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-timeout-3.0.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloading.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-common-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/server/default/deployers/jboss-aop-jboss5.deployer/jboss-aspect-library.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/activation.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-context-base.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/asm.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-hibernate.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-security-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jettison.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-core.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-deployers-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jbosssx-server.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-integration.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-aop-asintegration-jmx.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-system-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/log4j-boot.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-commons-annotations.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-logging-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-jsr88.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/hibernate-validator.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/xnio-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-iiop.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-proxy-clustered-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-mdr.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-aspect-jdk50-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-endpoint.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-core.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-ext-api-impl.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-dependency.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-system-jmx-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-timeout-spi.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-iiop-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/dom4j.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossws-jboss50.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ha-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-threads.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/mail.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/commons-collections.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jbossws-native-core.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-proxy-impl-client.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/antlr.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-monitoring.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/el-api.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-classloading-vfs.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/mail-plugin.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/client/jaxws-tools.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/common/lib/jboss-ejb3-jpa-int.jar"/

    pathelement location="C:/Program Files/jbdevstudio/jboss-eap/jboss-as/lib/jboss-kernel.jar"/

    /path

    path id="Web App Libraries.libraryclasspath"

    pathelement location="WebContent/WEB-INF/lib/antlr-runtime.jar"/

    pathelement location="WebContent/WEB-INF/lib/commons-beanutils.jar"/

    pathelement location="WebContent/WEB-INF/lib/commons-digester.jar"/

    pathelement location="WebContent/WEB-INF/lib/core.jar"/

    pathelement location="WebContent/WEB-INF/lib/drools-api.jar"/

    pathelement location="WebContent/WEB-INF/lib/drools-compiler.jar"/

    pathelement location="WebContent/WEB-INF/lib/drools-core.jar"/

    pathelement location="WebContent/WEB-INF/lib/itext-rtf.jar"/

    pathelement location="WebContent/WEB-INF/lib/itext.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-el.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-debug.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-excel.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-ioc.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-mail.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-pdf.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-remoting.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam-ui.jar"/

    pathelement location="WebContent/WEB-INF/lib/jboss-seam.jar"/

    pathelement location="WebContent/WEB-INF/lib/jbpm-jpdl.jar"/

    pathelement location="WebContent/WEB-INF/lib/jcommon.jar"/

    pathelement location="WebContent/WEB-INF/lib/jfreechart.jar"/

    pathelement location="WebContent/WEB-INF/lib/jsf-facelets.jar"/

    pathelement location="WebContent/WEB-INF/lib/jxl.jar"/

    pathelement location="WebContent/WEB-INF/lib/mvel2.jar"/

    pathelement location="WebContent/WEB-INF/lib/richfaces-api.jar"/

    pathelement location="WebContent/WEB-INF/lib/richfaces-impl.jar"/

    pathelement location="WebContent/WEB-INF/lib/richfaces-ui.jar"/

    pathelement location="WebContent/WEB-INF/classes"/

    /path

    path id="EAR Libraries.libraryclasspath"/

    path id="RegistrationSeam.classpath"

    pathelement location="WebContent/WEB-INF/dev"/

    pathelement location="build/classes"/

    path refid="JBoss 5.1 Runtime [JBoss 5.1 Runtime].libraryclasspath"/

    path refid="Web App Libraries.libraryclasspath"/

    path refid="EAR Libraries.libraryclasspath"/

    /path

    target name="init"

    mkdir dir="WebContent/WEB-INF/dev"/

    mkdir dir="build/classes"/

    copy includeemptydirs="false" todir="WebContent/WEB-INF/dev"

    fileset dir="src/hot"

    exclude name="**/*.launch"/

    exclude name="**/*.java"/

    /fileset

    /copy

    copy includeemptydirs="false" todir="build/classes"

    fileset dir="src/main"

    exclude name="**/*.launch"/

    exclude name="**/*.java"/

    /fileset

    /copy

    /target

    target name="clean"

    delete dir="WebContent/WEB-INF/dev"/

    delete dir="build/classes"/

    /target

    target depends="clean" name="cleanall"/

    target depends="build-subprojects,build-project" name="build"/

    target name="build-subprojects"/

    target depends="init" name="build-project"

    echo message="${ant.project.name}: ${ant.file}"/

    javac debug="true" debuglevel="${debuglevel}" destdir="WebContent/WEB-INF/dev" source="${source}" target="${target}"

    src path="src/hot"/

    classpath refid="RegistrationSeam.classpath"/

    /javac

    javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" source="${source}" target="${target}"

    src path="src/main"/

    classpath refid="RegistrationSeam.classpath"/

    /javac

    /target

    target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/

    target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"

    copy todir="${ant.library.dir}"

    fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/

    /copy

    unzip dest="${ant.library.dir}"

    patternset includes="jdtCompilerAdapter.jar"/

    fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/

    /unzip

    /target

    target description="compile project with Eclipse compiler" name="build-eclipse-compiler"

    property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/

    antcall target="build"/

    /target

    /project

    Registration class------

  • RELEVANCY SCORE 2.53

    DB:2.53:Observing Identity.Event_Logout Alters Navigation x8


    I'm new to Seam and have been trying a simple example to initialize a component called appUser upon listening to the built-in EVENT_LOGGED_OUT event which is raised during the #{identity.logout} action.
    I'm using JBoss 5.0.1 and Seam 2.1.1 and JBoss Tools 3.0 with Eclipse 3.4.
    I created the default Seam Web Project with the tool and ran it straight up with no issues. When I login and logout, the navigation is setup to land me on the default generated /home.xhtml page based on the default generated pages.xml file from the JBoss Tools plugin as follows...

    pages xmlns="http://jboss.com/products/seam/pages"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
    no-conversation-view-id="/home.xhtml"
    login-view-id="/login.xhtml"

    page view-id="*"
    navigation
    rule if-outcome="home"
    redirect view-id="/home.xhtml"/
    /rule
    /navigation
    /page
    ...

    DB:2.53:Observing Identity.Event_Logout Alters Navigation x8

    I'm new to Seam and have been trying a simple example to initialize a component called appUser upon listening to the built-in EVENT_LOGGED_OUT event which is raised during the #{identity.logout} action.
    I'm using JBoss 5.0.1 and Seam 2.1.1 and JBoss Tools 3.0 with Eclipse 3.4.
    I created the default Seam Web Project with the tool and ran it straight up with no issues. When I login and logout, the navigation is setup to land me on the default generated /home.xhtml page based on the default generated pages.xml file from the JBoss Tools plugin as follows...

    pages xmlns="http://jboss.com/products/seam/pages"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
    no-conversation-view-id="/home.xhtml"
    login-view-id="/login.xhtml"

    page view-id="*"
    navigation
    rule if-outcome="home"
    redirect view-id="/home.xhtml"/
    /rule
    /navigation
    /page
    ...

  • RELEVANCY SCORE 2.53

    DB:2.53:Jboss Design Flaws d1



    Hi,I?m a PhD student and recently I?m working on detecting design flaws from the source code. I want to propose a framework, containing a design knowledge-base and a classifier, to automatically detect design flaws in the source code of object-oriented systems. I performed two sets of measurement on JBoss Application Server v. 4.0.0 and now I want to evaluate my work. I really need feedback from designers, developers and experts who know the JBoss design. I?ve selected two design flaws at the class level, namely ?God Class? and ?Shotgun Surgery (see the end of this post). I want to know are these classes really problematic? I mean, it was a design decision to have these god classes and shotgun surgery or it?s a flaw which should be refactored in the future? For instance, if a class has shotgun surgery, for the next releases it may make problems for maintenance and change. So, have these classes made problems in the releases after 4.0.0?For your information, I list definitions of these design flaws:Design flaw (also known as ?code smell? or ?rotting design?) is any violation of design principles and heuristics. (You can find more info in Martin Fowler?s book on Refactoring)?God class?: A god class is a class that does most of the functionalities of a system in the comparison with other classes in the system. In a nutshell, god Class refers to those classes which tend to centralize the intelligence of the system. An instance of a god class performs most of the operations, delegates only minor details to a set of trivial classes, and uses the data from other classes. This design flaw is partially analogous to Fowler?s Large Class smell. Hence, god classes deviate from the heuristic of manageable complexity, low coupling as well as tend to be also non-cohesive.?Shotgun Surgery?: A class that is coupled to a large number of other classes, and would produce a large number of changes throughout the system in the event of an internal change, contributes to the Shotgun Surgery smell. Shotgun Surgery means that a change in a given class implies many (small) changes to a lot of different classes. By the definition, a class which presents the shotgun surgery flaw tends to be coupled to a large number of other classes. In a nutshell, shotgun surgery deviates from the heuristic of minimization the number of messages in the protocol of the class.References:M. Fowler, K. Beck, J. Brant, W. Opdyke, and D. Roberts. Refactoring : Improving the Design of Existing Code. Addison-Wesley, 1999.A. J. Riel. Object-Oriented Design Heuristics. Addison-Wesley, 1996.
    Measurement #1God Class Design FlawClass namesiiop.CDRStreamiiop.InterfaceRepositoryjaxrpc.Calljaxrpc.SOAPMonitorApplet.SOAPMonitorPagejaxrpc.SerializationContextImplserver.BasicVisitorserver.EJBQLToSQL92Compilerserver.JDBCEJBQLCompilerserver.JDBCUtilserver.MarshalledInvocationserver.ProxyAssemblerwebservice.SOAPMonitorApplet.SOAPMonitorPagejmx.org.jboss.mx.capability.OptimizedMBeanDispatcherShotgun Surgery Design FlawClass Namescache.Fqncache.TreeCachecluster.HAPartitionconnector.JmsMessageconnector.WrappedStatementjaxrpc.AxisFaultjaxrpc.BasicHandlerjaxrpc.Constantsjaxrpc.DeserializationContextjaxrpc.EngineConfigurationjaxrpc.JavaUtilsjaxrpc.MessageContextjaxrpc.Messagesjaxrpc.OperationDescjaxrpc.SOAPConstantsjaxrpc.SOAPElementAxisImpljaxrpc.SerializationContextjaxrpc.SymTabEntrymanagement.J2EEManagedObjectmanagement.J2EETypeConstantsserver.AbstractInterceptorserver.AllowedOperationsAssociationserver.AllowedOperationsFlagsserver.BeanMetaDataserver.Containerserver.EnterpriseContextserver.EntityContainerserver.EntityEnterpriseContextserver.Interceptorserver.Invocationserver.JDBCCMRFieldBridgeserver.JDBCEntityBridgeserver.JDBCEntityMetaDataserver.JDBCFieldBridgeserver.JDBCUtilserver.MetaDataserver.SQLUtilaop.org.jboss.aop.Advisoraop.org.jboss.aop.AspectManageraop.org.jboss.aop.joinpoint.Invocationaop.org.jboss.aop.joinpoint.InvocationBaseaop.org.jboss.aop.pointcut.MatcherHelperaop.org.jboss.aop.pointcut.ast.Nodeaop.org.jboss.aop.pointcut.ast.PointcutExpressionParserVisitoraop.org.jboss.aop.pointcut.ast.SimpleNodeaspects.org.jboss.aspects.versioned.StateManagerjms.org.jboss.jms.serverless.NotImplementedExceptionjmx.javax.management.Descriptorjmx.javax.management.MBeanFeatureInfojmx.javax.management.MBeanServerjmx.javax.management.MBeanServerConnectionjmx.javax.management.ObjectNamejmx.javax.management.RuntimeOperationsExceptionjmx.org.jboss.mx.modelmbean.ModelMBeanConstantsmessaging.org.jboss.mq.Connectionmessaging.org.jboss.mq.SpyJMSExceptionmessaging.org.jboss.mq.SpyMessagemessaging.org.jboss.mq.SpyMessage.Headermessaging.org.jboss.mq.il.Invokermessaging.org.jboss.mq.il.ServerILmessaging.org.jboss.mq.il.uil2.msgs.BaseMsgmessaging.org.jboss.mq.server.BasicQueuemessaging.org.jboss.mq.server.JMSServerInterceptormessaging.org.jboss.mq.server.JMSServerInterceptorSupportsystem.org.jboss.system.ServiceMBeanSupportMeasurement #2God Class Design FlawClass namesiiop.CDRStreamiiop.InterfaceRepositoryjaxrpc.Calljaxrpc.SOAPMonitorApplet.SOAPMonitorPagejaxrpc.SerializationContextImplserver.BasicVisitorserver.EJBQLToSQL92Compilerserver.JDBCEJBQLCompilerserver.JDBCUtilserver.MarshalledInvocationserver.ProxyAssemblerwebservice.SOAPMonitorApplet.SOAPMonitorPagejmx.org.jboss.mx.capability.OptimizedMBeanDispatcherShotgun Surgery Design FlawClass NamesAnnotationParserVisitor.java /aop/src/main/org/jboss/aop/annotation/astAspectDefinition.java /aop/src/main/org/jboss/aop/adviceAspectFactory.java /aop/src/main/org/jboss/aop/adviceAspectManager.java /aop/src/main/org/jboss/aopBaseConnectionManager2.java /connector/src/main/org/jboss/resource/connectionmanagerConnectionListener.java /connector/src/main/org/jboss/resource/connectionmanagerConstructorMatcher.java /aop/src/main/org/jboss/aop/pointcutDistributedState.java /aspects/src/main/org/jboss/aspects/versionedDistributedVersionManager.java /aspects/src/main/org/jboss/aspects/versionedFamilyClusterInfo.java /cluster/src/main/org/jboss/ha/framework/interfacesInstrumentor.java /aop/src/main/org/jboss/aop/instrumentInterceptor.java /aop/src/main/org/jboss/aop/adviceInterceptor.java /cache/src/main/org/jboss/cache/interceptorsInvocation.java /aop/src/main/org/jboss/aop/joinpointInvocationBase.java /aop/src/main/org/jboss/aop/joinpointJMSException.java /j2ee/src/main/javax/jmsJmsMessage.java /connector/src/main/org/jboss/resource/adapter/jmsLockStrategy.java /cache/src/main/org/jboss/cache/lockMatcherHelper.java /aop/src/main/org/jboss/aop/pointcutMetaDataResolver.java /aop/src/main/org/jboss/aop/metadataMethodMatcher.java /aop/src/main/org/jboss/aop/pointcutMuNumber.java /common/src/main/org/jboss/utilMutable.java /common/src/main/org/jboss/utilNestedThrowable.java /common/src/main/org/jboss/utilNestedThrowable.java /common/src/main/org/jboss/utilNode.java /aop/src/main/org/jboss/aop/annotation/astNode.java /aop/src/main/org/jboss/aop/pointcut/astPointcut.java /aop/src/main/org/jboss/aop/pointcutPointcutExpressionParserVisitor.java /aop/src/main/org/jboss/aop/pointcut/astRegion.java /cache/src/main/org/jboss/cache/evictionSimpleMetaData.java /aop/src/main/org/jboss/aop/metadataSimpleNode.java /aop/src/main/org/jboss/aop/pointcut/astSimpleNode.java /aop/src/main/org/jboss/aop/annotation/astStateManager.java /aspects/src/main/org/jboss/aspects/versionedSynchronizationManager.java /aspects/src/main/org/jboss/aspects/versionedTreeCache.java /cache/src/main/org/jboss/cacheTreeCacheAop.java /cache/src/main/org/jboss/cache/aopTreeCacheAopView.java /cache/src/main/org/jboss/cache/aopTreeCacheView.java /cache/src/main/org/jboss/cacheTreeCacheView2.java /cache/src/main/org/jboss/cacheTxSupport.java /aspects/src/main/org/jboss/aspects/txUtil.java /aop/src/main/org/jboss/aop/pointcutVersionManager.java /aspects/src/main/org/jboss/aspects/versionedVersionReference.java /aspects/src/main/org/jboss/aspects/versionedAbstractInterceptor.java /jmx/src/main/org/jboss/mx/interceptorBaseDeserializerFactory.java /jaxrpc/src/main/org/apache/axis/encoding/serBaseSerializerFactory.java /jaxrpc/src/main/org/apache/axis/encoding/serBasicHandler.java /jaxrpc/src/main/org/apache/axis/handlersEmitter.java /jaxrpc/src/main/org/apache/axis/wsdl/toJavaEnum.java /jaxrpc/src/main/org/apache/axis/enumInterceptor.java /jmx/src/main/org/jboss/mx/interceptorJ2EEDeployedObject.java /management/src/main/org/jboss/management/j2eeJ2EEDomain.java /management/src/main/org/jboss/management/j2eeJ2EEManagedObject.java /management/src/main/org/jboss/management/j2eeJ2EETypeConstants.java /management/src/main/org/jboss/management/j2eeJavaClassWriter.java /jaxrpc/src/main/org/apache/axis/wsdl/toJavaJavaWriter.java /jaxrpc/src/main/org/apache/axis/wsdl/toJavaLoaderRepository.java /jmx/src/main/org/jboss/mx/loadingManagedObjectFactory.java /management/src/main/org/jboss/management/j2ee/factoryMBeanFeatureInfo.java /jmx/src/main/javax/managementMBeanServerConnection.java /jmx/src/main/javax/managementMessages.java /jaxrpc/src/main/org/apache/axis/utilsMonitor.java /jmx/src/main/javax/management/monitorNodeImpl.java /jaxrpc/src/main/org/apache/axis/messageNormalizedString.java /jaxrpc/src/main/org/apache/axis/typesNotificationConstants.java /management/src/main/org/jboss/management/j2eeNotImplementedException.java /jms/src/main/org/jboss/jms/serverlessOpenType.java /jmx/src/main/javax/management/openmbeanOperationsException.java /jmx/src/main/javax/managementRelationException.java /jmx/src/main/javax/management/relationRepositoryClassLoader.java /jmx/src/main/org/jboss/mx/loadingSimpleDeserializer.java /jaxrpc/src/main/org/apache/axis/encoding/serSOAPElementAxisImpl.java /jaxrpc/src/main/org/apache/axis/messageSOAPElementImpl.java /jaxrpc/src/main/org/apache/axis/messageSOAPEnvelopeAxisImpl.java /jaxrpc/src/main/org/apache/axis/messageSOAPFaultImpl.java /jaxrpc/src/main/org/apache/axis/messageSOAPHandler.java /jaxrpc/src/main/org/apache/axis/messageStateManagement.java /management/src/main/org/jboss/management/j2eeStatisticImpl.java /management/src/main/org/jboss/management/j2ee/statisticsStatsBase.java /management/src/main/org/jboss/management/j2ee/statisticsSymTabEntry.java /jaxrpc/src/main/org/apache/axis/wsdl/symbolTabletcpmon.java /jaxrpc/src/main/org/apache/axis/utilsTypeEntry.java /jaxrpc/src/main/org/apache/axis/wsdl/symbolTableUtils.java /jaxrpc/src/main/org/apache/axis/wsdl/toJavaValueExp.java /jmx/src/main/javax/managementWSDDConstants.java /jaxrpc/src/main/org/apache/axis/deployment/wsddWSDDDeployableItem.java /jaxrpc/src/main/org/apache/axis/deployment/wsddWSDDDeployment.java /jaxrpc/src/main/org/apache/axis/deployment/wsddWSDDElement.java /jaxrpc/src/main/org/apache/axis/deployment/wsddWSDDHandler.java /jaxrpc/src/main/org/apache/axis/deployment/wsddAbstractDeploymentScanner.java /system/src/main/org/jboss/deployment/scannerAbstractInvoker.java /remoting/src/main/org/jboss/remotingAbstractServerLoginModule.java /security/src/main/org/jboss/security/auth/spiBaseMsg.java /messaging/src/main/org/jboss/mq/il/uil2/msgsBasicQueue.java /messaging/src/main/org/jboss/mq/serverConnection.java /messaging/src/main/org/jboss/mqDeploymentException.java /system/src/main/org/jboss/deploymentDeploymentInfo.java /system/src/main/org/jboss/deploymentInvocationRequest.java /remoting/src/main/org/jboss/remotingJMSDestinationManager.java /messaging/src/main/org/jboss/mq/serverJMSServerInterceptor.java /messaging/src/main/org/jboss/mq/serverMessagePool.java /messaging/src/main/org/jboss/mqMessageReference.java /messaging/src/main/org/jboss/mq/serverMsgTypes.java /messaging/src/main/org/jboss/mq/il/uil2/msgsOIL2Request.java /messaging/src/main/org/jboss/mq/il/oil2OIL2SocketHandler.java /messaging/src/main/org/jboss/mq/il/oil2SocketManager.java /messaging/src/main/org/jboss/mq/il/uil2SpyJMSException.java /messaging/src/main/org/jboss/mqSpyMessage.java /messaging/src/main/org/jboss/mqSpyMessage.java /messaging/src/main/org/jboss/mqSpySession.java /messaging/src/main/org/jboss/mqSubDeployer.java /system/src/main/org/jboss/deploymentSubscription.java /messaging/src/main/org/jboss/mqUsernamePasswordLoginModule.java /security/src/main/org/jboss/security/auth/spi

    DB:2.53:Jboss Design Flaws d1


    The analysis is only based on the source code, so I agree with you that it cannot discriminate design decisions/contracts from design flaws. Actually, this is why I post this message to get feedback from developers. I'm thinking about using other design artifacts to help classifiers but as you know these information are still rarely structured and machine-readable. For the case of model-driven approaches, UML-based design documents and system architecture can be useful, but for JBoss I don't have access to these documents.In fact, I started my work by architectural recovery to extract the concrete architecture, as implemented, and find the differences (deviations) with abstract architecture, as designed. But I was looking for an objective measurement for finding design flaws and this was the main casue of trying to analyze the source code by well-known OO metrics.I use a two-level filter (classifier) to detect design flaws, in this case only two flaws. For org.jboss.ejb.plugins.jms.JMSContainerInvoker my measurements show it has been detected by the first level filter as a hotspot and potential flaw (due to highly coupled with other classes) but it's been rejected by the second filter (for shotgun surgery). The reason is that for this flaw only coupling with other classes is not enough, but the fan-in is very important. It means how much the other classes depend on this class which may lead to maintenance/evolution problems in the future in case of change in this class.Thank you for your reply.
    "adrian@jboss.org" wrote:"mazeiar" wrote:?Shotgun Surgery?: A class that is coupled to a large number of other classesI think there is something wrong with your analysis when you cannot differentiatea contract (spec or otherwise) from this "design flaw".Contracts don't change.I do agree on some of the JBossMQ implementation, e.g. BasicQueue.In fact, you can find my complaints about this class all over the forums. ;-)Strangely, you didn't pick on a worse classorg.jboss.ejb.plugins.jms.JMSContainerInvokerI don't know how many design flaws are involved and its related classes, but it is lots. ;-)That doesn't mean it doesn't work, it just means it is hard to change.

  • RELEVANCY SCORE 2.53

    DB:2.53:For Help On Myfaces/Tiles + Fileupload 3p



    Hi there,It seems I got some class loading problem on Seam. I followed Seam/wiki/fileupload instruction to add the file uploading function (which worked on JBoss, JSF/EJB3), and put the tomahawk.jar in ear file. However, when I deployed my application to JBoss 4.0.4.GA, the myfaces/tiles cannot find its struts tiles class. If I put the tomahawk.jar in WEB/lib, the org/apache/commons/fileupload/disk/DiskFileItem could not be found. I really have no idea. Any help will be very appreciated. Thank you in advance.

    DB:2.53:For Help On Myfaces/Tiles + Fileupload 3p


    Hi All,It seems that I didn't install the JBoss4.0.4.GA correctly. I always got the exception of no class found on org/apache/commons/fileupload/disk/DiskFileItem. In addition, when I used conversation bean to submit a form, it didn't work. However, when I changed the conversation bean to session bean, it worked. I think that I probably selected "all" on the JBoss4.0.4.GA installation(I forgot), and did not select EJB3. I will try to reinstall it again. Thank you for time.

  • RELEVANCY SCORE 2.53

    DB:2.53:Migration From Seam 1.2.1, Jboss 4.0.5 To Seam 2.0.1 Jboss 4 cs



    Hi,I have scrutinously followed the seam2migration.txt instructions and decided to use JSF1.2 and sun EL RI as recommended by the docs. I was able to deploy my project but then I got some Duplicate _getId exceptions triggered by JBoss AOP (looks like an incompatibility between jboss AOP and hibernate) more details on my post in JBoss AOP forum: http://www.jboss.com/index.html?module=bbop=viewtopict=129436.These exceptions don't prevent me of displaying a facelet page, it looks like its generated properly but whenever I click a commandButton or commandLink I get immediate response (simply rerenders the same page) from the server no log output except for a few enigmatic entries like the below:10:24:56,178 WARN [renderkit] 'for' attribute cannot be nullMy guess is that the binding with seam is not happening otherwise I would at least see some seam log output.below is the facelet page being tested
    ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:s="http://jboss.com/products/seam/taglib" template="template.xhtml"

    ui:define name="body"

    script type="text/javascript"
    src="seam/resource/remoting/resource/remote.js"/script
    script type="text/javascript"
    src="seam/resource/remoting/interface.js?packageEditAction"/script
    script type="text/javascript" src="rdm.js"/script
    h:messages for="packageForm" /

    h:form id="packageForm"
    fieldset
    table border="1"
    tr
    td width="100%" colspan="3" align="center"
    h4Release Packages/h4
    /td
    /tr
    tr
    td width="50%"bSelect a Release Package: /b
    /td
    /tr
    tr
    td width="50%"h:selectOneListbox
    id="existrel" value="#{relPkg}" required="false" size="20"
    s:selectItems value="#{releasePackagesResult}" var="relPkg"
    label="#{relPkg.releasePackageId}--#{relPkg.releasePackageNm}" /
    s:convertEntity /
    /h:selectOneListbox/td
    /tr
    /table

    s:decorate template="decorateField.xhtml"
    h:commandButton value="Manage Release Package Items"
    action="#{packageEditAction.selectReleasePackage}" /
    /s:decorate
    s:decorate template="decorateField.xhtml"
    h:commandButton value="Enter Release Package"
    action="#{packageEditAction.enterReleasePackage}" /
    /s:decorate
    /fieldset
    fieldset
    s:decorate template="decorateField.xhtml"
    h:commandLink value="Create Release Package"
    action="/createreleasepackage.seam" /
    /s:decorate/fieldset
    /h:form
    ui:debug hotkey="p" rendered="true"/
    /ui:define
    /ui:composition

    DB:2.53:Migration From Seam 1.2.1, Jboss 4.0.5 To Seam 2.0.1 Jboss 4 cs


    I made a typo I meant I didnt get this exception in jboss 4.0.5

  • RELEVANCY SCORE 2.52

    DB:2.52:[Seam-2.2.2] Security Handling Sfsb Timeout ka



    Hi,

    I'm using de.akquiner.jbosscc:jboss-seam-archetype:1.4 to generate the seam skeleton project.

    after successfully build and deployed it to jboss-as 7 i noticed that whenever i tried to login after sometime of inactivity it brings me to the following page:

    http://localhost:8080/pb/error.seam?cid=12

    but the browser says:
    HTTP Status 404 - /pb/error.seam
    type Status report

    message /pb/error.seam

    description The requested resource (/pb/error.seam) is not available.
    JBoss Web/7.0.13.Final

    with the stack trace:

    01:50:13,239 ERROR [org.jboss.seam.exception.Exceptions] (http-localhost-127.0.0.1-8080-1) handled and logged exception: javax.servlet.ServletException: viewId:/index.seam - View /index.seam could not be restored.

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

    at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

    Caused by: javax.faces.application.ViewExpiredException: viewId:/index.seam - View /index.seam could not be restored.

    at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:189) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:102) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    ... 40 more

    ...

    I thought that it's handled in this pages.xhtml?

    ?xml version="1.0" encoding="UTF-8"?

    pages xmlns="http://jboss.com/products/seam/pages"

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

    xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"

    no-conversation-view-id="/index.xhtml"

    login-view-id="/index.xhtml"

    page view-id="/*"

    navigation from-action="#{blogEntryService.newInstance}"

    redirect view-id="/blogEntryEdit.xhtml"/redirect

    /navigation

    navigation from-action="#{identity.logout}"

    redirect view-id="/index.xhtml" /

    /navigation

    /page

    exception

    class="org.jboss.seam.framework.EntityNotFoundException"

    redirect view-id="/error.xhtml"

    messageNot found/message

    /redirect

    /exception

    exception class="org.hibernate.validator.InvalidStateException"

    end-conversation /

    redirect view-id="/error.xhtml" /

    /exception

    exception class="javax.persistence.EntityNotFoundException"

    redirect view-id="/error.xhtml"

    messageNot found/message

    /redirect

    /exception

    exception class="javax.persistence.OptimisticLockException"

    end-conversation /

    redirect view-id="/error.xhtml"

    message

    Another user changed the same data, please try again

    /message

    /redirect

    /exception

    exception class="org.jboss.seam.security.AuthorizationException"

    redirect view-id="/error.xhtml"

    messageYou don't have permission to do this/message

    /redirect

    /exception

    exception class="org.jboss.seam.security.NotLoggedInException"

    redirect view-id="/login.xhtml"

    message#{messages['org.jboss.seam.NotLoggedIn']}/message

    /redirect

    /exception

    exception class="javax.faces.application.ViewExpiredException"

    redirect view-id="/error.xhtml"

    message

    Your session has timed out, please try again

    /message

    /redirect

    /exception

    exception

    redirect view-id="/error.xhtml"

    messageUnexpected error, please try again/message

    /redirect

    /exception

    /pages

    not sure where it went wrong..

    any hints appreciated.

    thanks,

    johan

    DB:2.52:[Seam-2.2.2] Security Handling Sfsb Timeout ka


    From what i get is that the page /error.xhtml

    is not accessible. accesing the url: http://localhost:8080/pb/error.xhtml

    gets me to:
    HTTP Status 403 - Access to the requested resource has been denied
    type Status report

    message Access to the requested resource has been denied

    description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
    JBoss Web/7.0.13.Final

    and accessing the url:http://localhost:8080/pb/error.seam

    gets me to:
    HTTP Status 404 - /pb/error.seam
    type Status report

    message /pb/error.seam

    description The requested resource (/pb/error.seam) is not available.
    JBoss Web/7.0.13.Final

    so how do i allow the public/guest to access /error.xhtml without them being authenticated by seam security?

  • RELEVANCY SCORE 2.52

    DB:2.52:2.0.0.Cr2: 78



    Seam 2.0.0.CR2, Windows XP, ant 1.7.0, (maven 2.0.6 is in my PATH, but I'm not conciously trying to use it with Seam)Something in recent mavenization has broken seamgen? I had no problems with CR1.
    [jdk1.5]:feta:/c/tools/src/jboss-seam-2.0.0.CR2 ./seam.bat setup
    Buildfile: c:\tools\src\jboss-seam-2.0.0.CR2\seam-gen\build.xml

    init:
    [artifact:dependencies] Downloading: org/jboss/seam/jboss-seam-gen/2.0.0.CR2/jbo
    ss-seam-gen-2.0.0.CR2.pom
    [artifact:dependencies] Downloading: org/jboss/seam/jboss-seam-gen/2.0.0.CR2/jbo
    ss-seam-gen-2.0.0.CR2.jar
    [artifact:dependencies] An error has occurred while processing the Maven artifac
    t tasks.
    [artifact:dependencies] Diagnosis:
    [artifact:dependencies]
    [artifact:dependencies] Unable to resolve artifact: Missing:
    [artifact:dependencies] ----------
    [artifact:dependencies] 1) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
    [artifact:dependencies]
    [artifact:dependencies] Try downloading the file manually from the project web
    site.
    [artifact:dependencies]
    [artifact:dependencies] Then, install it using the command:
    [artifact:dependencies] mvn install:install-file -DgroupId=org.jboss.seam
    -DartifactId=jboss-seam-gen \
    [artifact:dependencies] -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/pa
    th/to/file
    [artifact:dependencies] Alternatively, if you host your own repository you can d
    eploy the file there: mvn deploy:deploy-file -DgroupId=org.jboss.seam -Dar
    tifactId=jboss-seam-gen \
    [artifact:dependencies] -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/pa
    th/to/file \
    [artifact:dependencies] -Durl=[url] -DrepositoryId=[id]
    [artifact:dependencies]
    [artifact:dependencies] Path to dependency:
    [artifact:dependencies] 1) unspecified:unspecified:jar:0.0
    [artifact:dependencies] 2) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2
    [artifact:dependencies]
    [artifact:dependencies] ----------
    [artifact:dependencies] 1 required artifact is missing.
    [artifact:dependencies]
    [artifact:dependencies] for artifact:
    [artifact:dependencies] unspecified:unspecified:jar:0.0
    [artifact:dependencies]
    [artifact:dependencies] from the specified remote repositories:
    [artifact:dependencies] central (http://repo1.maven.org/maven2)
    [artifact:dependencies]
    [artifact:dependencies]

    BUILD FAILED
    c:\tools\src\jboss-seam-2.0.0.CR2\seam-gen\build.xml:14: Unable to resolve artif
    act: Missing:
    ----------
    1) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-
    gen \
    -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/path/to/file
    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-gen
    \
    -Dversion=2.0.0.CR2 -Dpackaging=jar -Dfile=/path/to/file \
    -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) unspecified:unspecified:jar:0.0
    2) org.jboss.seam:jboss-seam-gen:jar:2.0.0.CR2

    ----------
    1 required artifact is missing.

    for artifact:
    unspecified:unspecified:jar:0.0

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    Total time: 1 second

    DB:2.52:2.0.0.Cr2: 78


    Remeber to build with an internet connection that does not use a proxy.

  • RELEVANCY SCORE 2.52

    DB:2.52:Does Jboss Seam 1.1 Works With Jsf 1.2? c1



    Hi All

    This is my first post so forgive me if there are any mistakes.

    We have a legacy application which uses jboss seam 1.1 and JSF 1.2. The application itself does not contain any libs for the JSF 1.2. Instead the application is deployed on the websphere 7.0 which alredy has JSF 1.2 runtime.

    The application was running properly till now. But in last few days we are getting some issues. Technical team pointed out that the errors are due to mistmatch in the JSF version supported by websphere and the JSF version used in the application.

    They are saying websphere is compatible with JSF 1.2 while the application is using JSF 1.1.

    When we looked at the application we found out that the application itself is not using JSF 1.1. (i..e. jsf jars are not bundled with application and even web.xml is not using any jsf listeners) In fact application is using JSF 1.2 of websphere only.

    Also we found out that the jboss seam supports JSF 1.1.

    So is it possible that the problem is because of jboss-seam and we need to upgrade to version of jboss-seam which supports or is compatible with JSF 1.2?

    Or jboss-seam 1.1 is compatible with JSF 1.2?

    If at all we do need to upgrade the jboss-seam, which version of jboss seam is compatible with JSF 1.2 and what are the steps to upgrade?

    Please help.

  • RELEVANCY SCORE 2.52

    DB:2.52:Fckeditor Integration 9d


    I want to integrate the FCKEditor into Seam. I am using Seam 2.0.2GA running on JBoss 4.2.2. My problem is that I only get a blank space but the editor is not showing.This is the code i am using:
    !DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml"

    ui:define name="body"

    script type="text/javascript" src="fckeditor/fckeditor.js"/script
    script type="text/javascript"

    window.onload = function()
    {
    var oFCKeditor = new FCKeditor( 'pageForm:xyz') ;
    oFCKeditor.BasePath = "fckeditor/" ;
    oFCKeditor.ToolbarSet = 'MyToolbar' ;
    oFCKeditor.ReplaceTextarea() ;
    }
    /script

    h:messages globalOnly="true" styleClass="message"/

    rich:panel

    h:form id="pageForm"
    Name: h:inputText value=""/br/
    h:inputTextarea id="xyz" value="Test TEST"/h:inputTextarea
    /h:form

    /rich:panel

    /ui:define
    /ui:composition

    DB:2.52:Fckeditor Integration 9d

    I also had problem in integrating FCKEditor scripts / JSP Tag implementation. Hence wrote my own JSF Component wrapper over FCKEditor and tried with seam JSF application. It seem to be working fine.
    http://senhce.blogspot.com/2008/11/jsf-facelet-tag-for-fckeditor.html

  • RELEVANCY SCORE 2.52

    DB:2.52:Problems In Running The Seam Examples In Jboss Using The Jsf pm



    The seam manual contains instruction about running the Seam examples in JBoss using the JSF 1.2 RI. The conversion of the booking example works fine. However, the same conversion for the registration and numberguess examples does not work for some reason. The message is The requested resource (/jboss-seam-numberguess/) is not available.What is the difference?Thanks

    DB:2.52:Problems In Running The Seam Examples In Jboss Using The Jsf pm


    The seam manual contains instruction about running the Seam examples in JBoss using the JSF 1.2 RI. The conversion of the booking example works fine. However, the same conversion for the registration and numberguess examples does not work for some reason. The message is The requested resource (/jboss-seam-numberguess/) is not available.What is the difference?Thanks

  • RELEVANCY SCORE 2.51

    DB:2.51:Using Seam-Faces In Ejb Project as


    Hi,I using JBoss Tools in eclipse to generate maven project by archetype jboss-javaee6-webapp-ear-archetype. This project is ear project including three projects: ear, web, ejb. Everything is OK.However, I added dependency seam-faces to ejb project (add into ejb project's pom.xml), when deploy to Jboss AS 7.0.2.Final, I have following error

    15:14:01,250 WARN [org.jboss.modules] (MSC service thread 1-15) Failed to define class org.jboss.seam.faces.component.UIViewAction in Module "deployment.swms-ear.ear:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/faces/component/UIViewAction (Module "deployment.swms-ear.ear:main" from Service Module Loader)
    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.Module.loadModuleClass(Module.java:590) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.as.web.deployment.jsf.JsfAnnotationProcessor.deploy(JsfAnnotationProcessor.java:109)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_30]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_30]
    at java.lang.Thread.run(Unknown Source) [:1.6.0_30]
    Caused by: java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2
    at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_30]
    at java.lang.ClassLoader.defineClassCond(Unknown Source) [:1.6.0_30]
    at java.lang.ClassLoader.defineClass(Unknown Source) [:1.6.0_30]
    at java.security.SecureClassLoader.defineClass(Unknown Source) [:1.6.0_30]
    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) [jboss-modules.jar:1.0.2.GA]
    ... 14 more
    Caused by: java.lang.ClassNotFoundException: javax.faces.component.ActionSource2 from [Module "deployment.swms-ear.ear:main" from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
    ... 19 more

    15:14:01,253 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.deployment.unit."swms-ear.ear".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."swms-ear.ear".INSTALL: Failed to process phase INSTALL of deployment "swms-ear.ear"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_30]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_30]
    at java.lang.Thread.run(Unknown Source) [:1.6.0_30]
    Caused by: java.lang.LinkageError: Failed to link org/jboss/seam/faces/component/UIViewAction (Module "deployment.swms-ear.ear:main" from Service Module Loader)
    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.Module.loadModuleClass(Module.java:590) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.as.web.deployment.jsf.JsfAnnotationProcessor.deploy(JsfAnnotationProcessor.java:109)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]
    ... 5 more
    Caused by: java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2
    at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_30]
    at java.lang.ClassLoader.defineClassCond(Unknown Source) [:1.6.0_30]
    at java.lang.ClassLoader.defineClass(Unknown Source) [:1.6.0_30]
    at java.security.SecureClassLoader.defineClass(Unknown Source) [:1.6.0_30]
    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) [jboss-modules.jar:1.0.2.GA]
    ... 14 more
    Caused by: java.lang.ClassNotFoundException: javax.faces.component.ActionSource2 from [Module "deployment.swms-ear.ear:main" from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
    ... 19 more

    DB:2.51:Using Seam-Faces In Ejb Project as

    It sounds like due to modularity, Seam Faces in the the ejb project will not work. Try asking on the AS7 forums and see if anyone there has an idea on how to make this work. It's something I haven't dealt with yet, so I don't have any experience with Faces in an EAR.

  • RELEVANCY SCORE 2.51

    DB:2.51:Seam Redirect On Jboss 6 zf



    Hi, everyone.

    I'am not quite sure that this promblem caused by jboss6(on jboss5.1 this works fine).

    On every seam action user redirects to the non-exist page(updated.seam for example)

    No Exeptions was thrown and seam action executed successfully.

    I use: jsf:1.2-b19 and jboss-seam-ui:2.2.1.CR1

    DB:2.51:Seam Redirect On Jboss 6 zf


    It looks like your application is run on JSF 2.0.

    Make sure that your app is using JSF 1.2.

    P.S. Take a look at the thread:

    http://community.jboss.org/message/571729

  • RELEVANCY SCORE 2.51

    DB:2.51:Seam Support In Non Ejb kc


    Good Morning All,

    I have been reading the seam 2.0 reference document and have purchased a developer studio subscription. In general I am very happy with the changes that seam brings to JSF and development in general.

    From my reading it talks about how seam can be designed to work with EJB 3.0 or POJOs in general. I think I aslso recall reading that seam can be run in a non EJB container such as tomcat. I have read the section regarding deploying seam application under tomcat with JBoss embedded. I am hoping that someone can offer some input on the following questions.

    1) Can seam run in a non EJB container? Such as tomcat without using the JBoss embedded?

    1-a) If so, Is there any features that are lost with running seam outside an EJB container?

    1-b) What are the steps in developer studio or using seam gen to create a project that runs in a tomcat without EJB embedded?

    2) In developer studio or seam-gen is it possible using the wizard to create a seam project that has no persistence layer? Such as the sample application numberguess?

    3) What file would need to be modified to remove persistence from a seam application after creating a seam web project using the wizard?

    Thanks in advance for all the hard work on seam

    Best Regards,

    -Ashley Westwell

    DB:2.51:Seam Support In Non Ejb kc

    Ashley Westwell wrote on Feb 22, 2008 11:53 AM:1-a) If so, Is there any features that are lost with running seam outside an EJB container?Different transaction management, no MDBs, less efficient clustering - i.e. enterprise features
    1-b) What are the steps in developer studio or using seam gen to create a project that runs in a tomcat without EJB embedded?You'll need to modify the project so that it looks like the JPA example. We will document this soon.
    2) In developer studio or seam-gen is it possible using the wizard to create a seam project that has no persistence layer? Such as the sample application numberguess?No, you need to modify the generated project.
    3) What file would need to be modified to remove persistence from a seam application after creating a seam web project using the wizard?Any persistence.xml, and -ds.xml, edit components.xml to remove any references to persistence and transaction management.

  • RELEVANCY SCORE 2.51

    DB:2.51:Seam 2.0 / Tomahawk 1.1.6 7j



    Hello all,the last few days I got completely stuck in using Tomahawk 1.1.6 with JBoss 4.2 and Seam 2.0 and Facelets.The first steps seem simple - downloading tomahawk-1.1.6.jar, tomahawk-facelets-1.1.6.jar, modifying web.xml and so on. After a lot of try and error, the first page gets displayed, no errors in the server log, everything went well.But then the problems begin. The page has a jscookmenu which needs a hidden field to post back the selected item. And this hidden field isn't rendered by JSF RI 1.2 Form Tag. As a consequence, I tried to get MyFaces 1.2.0 into it, but this does absolutely not work. WAR_BUNDES_JSF_IMPL in web.xml, agreed, but starting up shows errors in the different faces-config.xml in the different jars, for example, jsf-facelets.jar/META-INF/faces-config. Patched the jars, now getting a "SeamApplicationFactory is no ApplicationFactory" IllegalArgumentException.Perhaps I would manage to correct this error message too, but the next error wouldn't be far away, I fear.Perhaps I'm going the completely wrong way.I do not really want to use MyFaces Core, but I have to migrate some sources which make use of Tomahawk components (keep frontend, rewrite business logic). So I thought it would be the simplest to make use of Tomahawk.But it seems I'm spending days after days of setting up some environment which is not the one intended by Seam.Do you have any suggestions for me?Is Tomahawk / JSF RI an intended platform for Seam?Or is Tomahawk / MyFaces core one?Or shall I try to migrate from Tomahawk to RichFaces?What shall I do??Marcus.

    DB:2.51:Seam 2.0 / Tomahawk 1.1.6 7j


    tomahawk 114 has same problem. you can put manually that hidden field in your source

  • RELEVANCY SCORE 2.51

    DB:2.51:Seam Compatibility And Independence ... xf



    Dear all,I understood testing Seam with latest Glassfish that EJB3 PFD might be pending. As an example of that they have removed javax.ejb.Interceptorhttp://fisheye5.cenqua.com/viewrep/glassfish/ejb-api/src/share/classes/javax/ejb/Interceptor.javaSo when I have tried to run Seam inside Glassfish it ends up with a ClassNotFoundException.Any mind around this ?By the way, the validation annotation of seam (min, max, regex) are interresting but I as they are part of hibernate domain, I am not sure about what is the dependency of this feature with Hibernate.If there is no dependency on the behavior but just the tagging, it would be nice to have a jboss "common" annotation package instead to remove the dependency.IF there is a dependency then this must be more clearly explained in seam and it can not be claimed that "Seam unifies the component models of JSF and EJB 3.0" only, and a clear information what are the real dependencies.Rgs,JB

    DB:2.51:Seam Compatibility And Independence ... xf


    1.0.0.GA was supposed to have been compatible with GlassFish, but Roger has found a bug that crept in. I fixed this in CVS and Roger is re-testing. Seam 1.0.1 (due out tomorrow) should fix this problem.You can use Hibernate Validator with other JPA providers.I agree that it would be nice to have "ant deploy.glassfish" targets for the Seam examples, but that is not right at the top of my todo list right now. Perhaps it is something that Sun folks could contribute.

  • RELEVANCY SCORE 2.51

    DB:2.51:Testing Injectable Classes With Arquillian dx


    Hi Arquillian guys!

    I'm currently working on a layered web application that uses Hibernate, Seam and JSF (Primefaces). Database communication (EntityManager) is implemented in injectable "provider" Java classes (DAO style).
    Right now we are able to test our entities and providers classes using Arquillian but no success with "back beans" at all. I have Googled a lot for one week and could not have my problem solved until now.
    Some details:

    Versions:

    Primefaces 3.4.2
    JSF: Mojarra 2.1.7
    Seam: 3.1.0
    Hibernate: 4.1

    Bean structure:

    @Stateful
    @ConversationScoped
    @Named("patientList")
    public class PatientList { }

    Inside the beans I have:

    @Inject
    @Authenticated
    private Technician technician;

    Following Seam-Book design: (https://github.com/seam/examples/tree/master/booking/src/main/java/org/jboss/seam/examples/booking/account)

    @Target({ ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD })
    @Retention(RetentionPolicy.RUNTIME)
    @Documented
    @Qualifier
    public @interface Authenticated {}

    While testing with Arquillian I got the below error message:

    WELD-001408 Unsatisfied dependencies for type [Technician] with qualifiers [@Authenticated] at injection point [[field] @Authenticated @Inject private com.linksaude.manager.bean.PatientList.technician]

    As I'm not very experienced with Arquillian tests I could not figure out what is happening in did...

    Am I using the right strategy/design in my tests? Is there an example source or tutorial in witch I can based my implementation?

    Is there a better way to run tests with @Authenticated injections? I suppose my problem lays here since I do not have login during tests....

    I have read about using Selenium to simulate the login... is this a viable solution for JBoss webapps?

    Any help is really appreciated.

    Best Regards,

    Jean

    DB:2.51:Testing Injectable Classes With Arquillian dx


    Hi,

    Your Interface is annoted with

    @Retention(RetentionPolicy.RUNTIME)

  • RELEVANCY SCORE 2.51

    DB:2.51:Problem With Component 'Authenticator'_ Target Unreachable, Identifier 'Authenticator' Resolved To Null ca


    Hi,I have a problem in my proyect... when i try loggin me: "Target Unreachable, identifier 'authenticator' resolved to null". I've seen other related forums like http://seamframework.org/Community/ErrorInvokingLoginMethodJavaxelPropertyNotFoundExceptionTargetUnreachableIdentifierAuthenticatorResolvedToNull, but my seam.properties and components.xml are well placed.I appreciate a prompt response.Error Log...14:50:51,136 WARN [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.14:50:51,198 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:51,576 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,022 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,468 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:52,943 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:53,334 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:53,689 WARN [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath14:50:54,243 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter14:50:54,243 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter14:50:54,264 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory14:50:54,266 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}14:50:54,266 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity14:50:54,283 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory14:50:54,283 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}14:50:54,283 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter14:50:54,283 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter14:51:15,842 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml14:51:15,845 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml14:51:15,848 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml14:51:15,850 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-rss.jar!/META-INF/seam-rss.taglib.xml14:51:15,865 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml14:51:15,883 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml14:51:15,888 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml14:51:15,900 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml14:51:15,911 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml14:51:15,916 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml14:51:15,920 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-i.taglib.xml14:51:15,939 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-p.taglib.xml14:51:15,953 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml14:51:15,957 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml14:51:15,960 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml14:51:16,008 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml14:51:16,012 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicitINFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml14:58:06,641 WARN [SeamLoginModule] Error invoking login methodjavax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175) at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) at javax.security.auth.login.LoginContext.login(LoginContext.java:575) at org.jboss.seam.security.Identity.authenticate(Identity.java:344) at org.jboss.seam.security.Identity.authenticate(Identity.java:332) at org.jboss.seam.security.Identity.login(Identity.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619)components.xmlcomponents xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:security="http://jboss.com/products/seam/security" xmlns:mail="http://jboss.com/products/seam/mail" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:async="http://jboss.com/products/seam/async" xmlns:tx="http://jboss.com/products/seam/transaction" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd" core:init debug="@debug@" jndi-pattern="@jndiPattern@"/ core:manager concurrent-request-timeout="500" conversation-timeout="120000" conversation-id-parameter="cid" parent-conversation-id-parameter="pid"/ !-- Make sure this URL pattern is the same as that used by the Faces Servlet -- web:hot-deploy-filter url-pattern="*.seam"/ !-- If you are still using JBoss 4, uncomment this to have you PU started -- persistence:entity-manager-factory name="entityManagerFactory" persistence-unit-name="esalud" installed="@seamBootstrapsPu@"/ persistence:managed-persistence-context name="entityManager" auto-create="true" entity-manager-factory="@seamEmfRef@" persistence-unit-jndi-name="@puJndiName@"/ drools:rule-base name="securityRules" drools:rule-filesvalue/security.drl/value/drools:rule-files /drools:rule-base security:rule-based-permission-resolver security-rules="#{securityRules}"/ security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true" / event type="org.jboss.seam.security.notLoggedIn" action execute="#{redirect.captureCurrentView}"/ /event event type="org.jboss.seam.security.loginSuccessful" action execute="#{redirect.returnToCapturedView}"/ /event !-- mail:mail-session host="localhost" port="25"/ -- mail:mail-session host="smtp.gmail.com" port="587" username="esalud.vida@gmail.com" password="esalud.vida123456789"/ !-- For use with jBPM pageflow or process management -- !-- bpm:jbpm bpm:process-definitions/bpm:process-definitions bpm:pageflow-definitions/bpm:pageflow-definitions /bpm:jbpm -- !-- Install the QuartzDispatcher -- async:quartz-dispatcher//components

  • RELEVANCY SCORE 2.51

    DB:2.51:Use Seam Without Ejb,Hibernate,Gwt 13


    I want to use the seam framework without ejb,hibernate,gwt. But when I startup the tomcat I have got some error.--------------------------------10:52:30.328 DEBUG org.jboss.seam.deployment.ClassDescriptor.init(39) | could not load class (missing dependency): org.jboss.seam.remoting.gwt.GWT14Servicejava.lang.NoClassDefFoundError: com/google/gwt/user/server/rpc/SerializationPolicyProvider.....10:52:30.328 INFO org.jboss.seam.deployment.Scanner.handle(68) | skipping class org/jboss/seam/remoting/gwt/GWT14Service.class because it cannot be loaded (may reference a type which is not available on the classpath)10:52:32.203 DEBUG org.jboss.seam.deployment.ClassDescriptor.init(39) | could not load class (missing dependency): org.jboss.seam.transaction.EjbSynchronizationsjava.lang.NoClassDefFoundError: javax/ejb/SessionSynchronization......------------------------------------How to resolve this error.thx

  • RELEVANCY SCORE 2.51

    DB:2.51:Seam Catch: Non-Existing Jsf Tag And Exceptions In Log kd


    Hello,
    In recent days I'm facing a problem when JSF doesn't log any exceptions when there is some error on JSF page. For example, if I put to the page non-existing tag (such as a4j:form), JSF doesn't render anything and no exception is shown in log.
    On the other hand, if the JSF page is not well-formed (that is, some tag is not closed for example), appropriate message will show up in the log. All other exceptions (in backend) are logged correctly.
    As I'm migrating views from Seam 2/JSF 1.2, it happens to me very often that there is some tag that doesn't exist anymore, but it's very hard to find it, as the log doesn't say anything.
    I'm using Seam 3.1.0.CR1, JBoss 7.0.2.Final, Richfaces 4.1.Final. Is it possible that this behavior is caused by https://issues.jboss.org/browse/SOLDER-315. ?
    Thanks, Lukas

    DB:2.51:Seam Catch: Non-Existing Jsf Tag And Exceptions In Log kd

    Yep. Go ahead and use Seam Faces 3.1.0.Final, it's out, we just haven't completed a bundled release.

  • RELEVANCY SCORE 2.50

    DB:2.50:Need Help With H:Selectonemenu And Valuechangelistener fp



    Using JBoss 4.0.5 and Seam 1.2.1.GA.In the below .xhtml file, the valueChangeListener="#{userRoleSearch.processValueChange}" does not fire the public processValueChange method in my SFSB when the commented s:div and /s:div tags around it are uncommented. It does execute when the tags are commented. In either case, the drop-down is rendered.Why does this happen? I experienced the same thing with the s:fragment tag. Any help would be greatly appreciated...

    !DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

    ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.ajax4jsf.org/rich"
    template="layout/template.xhtml"

    ui:define name="body"

    h:messages globalOnly="true" styleClass="message"/

    rich:panel

    h:form
    h:outputText id="userRoleInfo" value="User-Role Information"/br/
    h:outputText id="firstName" value="First Name:"/
    h:outputText id="lastName" value="Last Name:"/br/
    h:inputText id="inputFirstName" value="#{userRoleSearch.searchStringFirstName}"/
    h:inputText id="inputLastName" value="#{userRoleSearch.searchStringLastName}"/

    h:commandButton id="searchButton" value="Search" action="#{userRoleSearch.getUsers}"/
    h:commandButton id="resetButton" value="Reset" type="reset"/br/br/

    h:outputText value="No Users Found" rendered="#{userRoleSearch.isDisplay and userRoleSearch.rowCount==0}"/

    !-- s:div id="selectUserDD" rendered="#{userRoleSearch.isDisplay and userRoleSearch.rowCount0}" --

    h:outputText value="Select a user:"/

    h:selectOneMenu id="userFnameLname" valueChangeListener="#{userRoleSearch.processValueChange}" onchange="submit()"
    f:selectItems value="#{userRoleSearch.populateUsers}"/
    /h:selectOneMenubr/br/

    !-- /s:div --

    s:div id="selectRoleCheckBox" rendered="#{!empty userRoleSearch.currentUserId}"
    h:selectManyCheckbox id="userRoles"
    f:selectItems value="#{userRoleSearch.userRoles}"/
    /h:selectManyCheckbox
    /s:div

    s:link id="viewUserRoleSummary" value="View User-Role Summary" view="/filterRoles.xhtml"/

    /h:form

    /rich:panel

    /ui:define
    /ui:composition

    DB:2.50:Need Help With H:Selectonemenu And Valuechangelistener fp


    thx for the response. anybody have a recommendation on how to best/easiest handle this drop-down--action scenario?from the explanation from nbelaevski, it sounds like an order of processing events problem...this is a very frustrating problem. And is typically very easy to implement with other frameworks.

  • RELEVANCY SCORE 2.50

    DB:2.50:Seam Deploy Hangs On Jboss 4.2 dc



    Hi,Im trying to deploy an application with seam 2 in jboss 4.2.The deploy hangs when tomcat is about to start. What may be causing the problem? I had this application being deployed correctly with seam 1.2 and jboss 4.0.5.Here is my web.xml--------------------web-app sig context-param param-namejavax.faces.CONFIG_FILES/param-name param-value /WEB-INF/conf/faces-config.xml,/WEB-INF/conf/navigation.xml /param-value Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2 /context-param context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueclient/param-value State saving method: "client" or "server" (= default) See JSF Specification 2.5.2 /context-param context-param param-nameorg.apache.myfaces.ALLOW_JAVASCRIPT/param-name param-valuetrue/param-value This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output. If javascript is allowed, command_link anchors will have javascript code that submits the corresponding form. If javascript is not allowed, the state saving info and nested parameters will be added as url parameters. Default: "true" /context-param context-param param-nameorg.apache.myfaces.DETECT_JAVASCRIPT/param-name param-valuefalse/param-value /context-param context-param param-nameorg.apache.myfaces.PRETTY_HTML/param-name param-valuetrue/param-value If true, rendered HTML code will be formatted, so that it is "human readable". i.e. additional line separators and whitespace will be written, that do not influence the HTML code. Default: "true" /context-param context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuetrue/param-value If true, a javascript function will be rendered that is able to restore the former vertical scroll on every request. Convenient feature if you have pages with long lists and you do not want the browser page to always jump to the top if you trigger a link or button action that stays on the same page. Default: "false" /context-param context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.xhtml/param-value /context-param context-param param-namefacelets.DEVELOPMENT/param-name param-valuetrue/param-value /context-param context-param param-namefacelets.LIBRARIES/param-name param-value /WEB-INF/conf/myComponents.taglib.xml /param-value /context-param filter-nameSeam Filter/filter-name filter-classorg.jboss.seam.servlet.SeamFilter/filter-class filter-mapping filter-nameSeam Filter/filter-name url-pattern/*/url-pattern /filter-mapping listener-class org.jboss.seam.servlet.SeamListener /listener-class !-- JSF -- listener-class com.sun.faces.config.ConfigureListener /listener-class servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup servlet-nameSeam Resource Servlet/servlet-name servlet-class org.jboss.seam.servlet.ResourceServlet /servlet-class !-- Faces Servlet Mapping -- servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.sig/url-pattern /servlet-mapping servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping session-config session-timeout10/session-timeout /session-config login-config auth-methodBASIC/auth-method /login-config/web-appAnd this is my components.xml------------------------------------components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:web="http://jboss.com/products/seam/web" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd" core:init jndi-pattern="sig/#{ejbName}/local"/ core:ejb installed="false"/ core:Jbpm core:process-definitions ticketProcess.jpdl.xml /core:process-definitions core:process-definitions request/request.jpdl.xml /core:process-definitions /core:Jbpm drools:rule-base name="securityRules" drools:rule-files /security.drl /drools:rule-files /drools:rule-base security:identity authenticate-method="#{authenticator.authenticate}"/ true web:ajax4jsf-filter force-parser="true" enable-cache="true" log4j-init-file="custom-log4j.xml" url-pattern="*.seam"/No error messages are presented. The deploy just hangs.Can anybody help?Thanks

    DB:2.50:Seam Deploy Hangs On Jboss 4.2 dc


    Hi,Im trying to deploy an application with seam 2 in jboss 4.2.The deploy hangs when tomcat is about to start. What may be causing the problem? I had this application being deployed correctly with seam 1.2 and jboss 4.0.5.Here is my web.xml--------------------web-app sig context-param param-namejavax.faces.CONFIG_FILES/param-name param-value /WEB-INF/conf/faces-config.xml,/WEB-INF/conf/navigation.xml /param-value Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2 /context-param context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueclient/param-value State saving method: "client" or "server" (= default) See JSF Specification 2.5.2 /context-param context-param param-nameorg.apache.myfaces.ALLOW_JAVASCRIPT/param-name param-valuetrue/param-value This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output. If javascript is allowed, command_link anchors will have javascript code that submits the corresponding form. If javascript is not allowed, the state saving info and nested parameters will be added as url parameters. Default: "true" /context-param context-param param-nameorg.apache.myfaces.DETECT_JAVASCRIPT/param-name param-valuefalse/param-value /context-param context-param param-nameorg.apache.myfaces.PRETTY_HTML/param-name param-valuetrue/param-value If true, rendered HTML code will be formatted, so that it is "human readable". i.e. additional line separators and whitespace will be written, that do not influence the HTML code. Default: "true" /context-param context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuetrue/param-value If true, a javascript function will be rendered that is able to restore the former vertical scroll on every request. Convenient feature if you have pages with long lists and you do not want the browser page to always jump to the top if you trigger a link or button action that stays on the same page. Default: "false" /context-param context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.xhtml/param-value /context-param context-param param-namefacelets.DEVELOPMENT/param-name param-valuetrue/param-value /context-param context-param param-namefacelets.LIBRARIES/param-name param-value /WEB-INF/conf/myComponents.taglib.xml /param-value /context-param filter-nameSeam Filter/filter-name filter-classorg.jboss.seam.servlet.SeamFilter/filter-class filter-mapping filter-nameSeam Filter/filter-name url-pattern/*/url-pattern /filter-mapping listener-class org.jboss.seam.servlet.SeamListener /listener-class !-- JSF -- listener-class com.sun.faces.config.ConfigureListener /listener-class servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup servlet-nameSeam Resource Servlet/servlet-name servlet-class org.jboss.seam.servlet.ResourceServlet /servlet-class !-- Faces Servlet Mapping -- servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.sig/url-pattern /servlet-mapping servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping session-config session-timeout10/session-timeout /session-config login-config auth-methodBASIC/auth-method /login-config/web-appAnd this is my components.xml------------------------------------components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:web="http://jboss.com/products/seam/web" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd" core:init jndi-pattern="sig/#{ejbName}/local"/ core:ejb installed="false"/ core:Jbpm core:process-definitions ticketProcess.jpdl.xml /core:process-definitions core:process-definitions request/request.jpdl.xml /core:process-definitions /core:Jbpm drools:rule-base name="securityRules" drools:rule-files /security.drl /drools:rule-files /drools:rule-base security:identity authenticate-method="#{authenticator.authenticate}"/ true web:ajax4jsf-filter force-parser="true" enable-cache="true" log4j-init-file="custom-log4j.xml" url-pattern="*.seam"/No error messages are presented. The deploy just hangs.Can anybody help?Thanks

  • RELEVANCY SCORE 2.50

    DB:2.50:Seamnavigationhandler Is No Javax.Faces.Application.Navigati 33



    Hi Folks,sorry for posting such a noobie issue, but i'm beginning to pull my hair out... i copied the jboss seam booking example as skeleton for my new application - the booking example unmodified works as it should, but my loanmarket application does not initialize properly. :-(could you guys please have a look at my application files and tell me what the hell i am doing wrong? i dont see it :-(Any help is greatly appreciated - thanks a lot in advance!Stacktrace:

    22:38:21,731 INFO [EJB3Deployer:450] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-ejb.jar
    22:38:21,738 INFO [TomcatDeployer:126] deploy, ctxPath=/loanmarket, warUrl=.../tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/
    22:38:21,956 INFO [FacesConfigurator:94] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
    22:38:21,984 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml
    22:38:21,990 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
    22:38:21,996 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam.jar!/META-INF/faces-config.xml
    22:38:22,006 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
    22:38:22,025 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
    22:38:22,069 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
    22:38:22,364 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
    22:38:22,370 INFO [FacesConfigurator:94] Reading config /WEB-INF/faces-config.xml
    22:38:22,778 ERROR [StartupServletContextListener:119] Error initializing ServletContext
    java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamNavigationHandler is no javax.faces.application.NavigationHandler
    at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536)
    at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458)
    at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
    at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
    at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)

    DB:2.50:Seamnavigationhandler Is No Javax.Faces.Application.Navigati 33


    Hi I am looking at Seam, I've got a working production JBoss404 AS running on one host. On a diferent host I followed the Seam roadmap exactly and I am getting errors trying to run the bookings example.10:45:50,003 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exceptionorg.jboss.seam.InstantiationException: Could not instantiate Seam component: register at org.jboss.seam.Component.newInstance(Component.java:735)Caused by: javax.naming.NameNotFoundException: RegisterAction not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.server.NamingServer.lookup(NamingServer.java:270) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(Unknown Source) at org.jboss.seam.Component.instantiate(Component.java:774) at org.jboss.seam.Component.newInstance(Component.java:731)Reading the previous post I checked my components.xml and it looks OK true true jboss-seam-booking/#{ejbName}/local !-- 120 second conversation timeout -- 120000Any Idea? My JBoss AS install profile was clustered EJB.Any idea? This is a new install following the Sean roadmap exactly, with hibernate 3.3thx in advance jim

  • RELEVANCY SCORE 2.50

    DB:2.50:S:Graphicimage Doesn't Render Image Over Jboss 5.1.0 sd


    Hi, I'm trying to display an image using s:graphicImage from seam but it doesn't render the image and no error is display. When I run the application in jboss-5.1.0.GA but when I run the same application in a previous version of JBoss(jboss-4.2.0.GA) it works ok.
    I need to use the graphicImage form seam because I'm getting the image from an array of bytes.
    I test the jsf component h:graphicImage and it works fine over the 2 versions of JBoss.
    Does any body knows why could this be happening?

    DB:2.50:S:Graphicimage Doesn't Render Image Over Jboss 5.1.0 sd


    Yeah... I'm about to implement filedisk too... this image thing is making me insane...

    Thanks!

    Edit: nevermind. It works. There was dirty code I didn't saw on the background when page loads...

  • RELEVANCY SCORE 2.50

    DB:2.50:Testing Injectable Classes With Arquillian 88



    Hi Arquillian guys!

    I'm currently working on a layered web application that uses Hibernate, Seam and JSF (Primefaces). Database communication (EntityManager) is implemented in injectable "provider" Java classes (DAO style).

    Right now we are able to test our entities and providers classes using Arquillian but no success with "back beans" at all. I have Googled a lot for one week and could not have my problem solved until now.

    Some details:

    Versions:

    Primefaces 3.4.2

    JSF: Mojarra 2.1.7

    Seam: 3.1.0

    Hibernate: 4.1

    Bean structure:

    @Stateful
    @ConversationScoped
    @Named("patientList")
    public class PatientList { }

    Inside the beans I have:

    @Inject
    @Authenticated
    private Technician technician;

    Following Seam-Book design: (https://github.com/seam/examples/tree/master/booking/src/main/java/org/jboss/seam/examples/booking/account)

    @Target({ ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD })
    @Retention(RetentionPolicy.RUNTIME)
    @Documented
    @Qualifier
    public @interface Authenticated {}

    While testing with Arquillian I got the below error message:

    WELD-001408 Unsatisfied dependencies for type [Technician] with qualifiers [@Authenticated] at injection point [[field] @Authenticated @Inject private com.linksaude.manager.bean.PatientList.technician]

    As I'm not very experienced with Arquillian tests I could not figure out what is happening in did...

    Am I using the right strategy/design in my tests? Is there an example source or tutorial in witch I can based my implementation?

    Is there a better way to run tests with @Authenticated injections? I suppose my problem lays here since I do not have login during tests....

    I have read about using Selenium to simulate the login... is this a viable solution for JBoss webapps?

    Any help is really appreciated.

    Best Regards,

    Jean

    DB:2.50:Testing Injectable Classes With Arquillian 88


    Hi Arquillian guys!

    I'm currently working on a layered web application that uses Hibernate, Seam and JSF (Primefaces). Database communication (EntityManager) is implemented in injectable "provider" Java classes (DAO style).

    Right now we are able to test our entities and providers classes using Arquillian but no success with "back beans" at all. I have Googled a lot for one week and could not have my problem solved until now.

    Some details:

    Versions:

    Primefaces 3.4.2

    JSF: Mojarra 2.1.7

    Seam: 3.1.0

    Hibernate: 4.1

    Bean structure:

    @Stateful
    @ConversationScoped
    @Named("patientList")
    public class PatientList { }

    Inside the beans I have:

    @Inject
    @Authenticated
    private Technician technician;

    Following Seam-Book design: (https://github.com/seam/examples/tree/master/booking/src/main/java/org/jboss/seam/examples/booking/account)

    @Target({ ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD })
    @Retention(RetentionPolicy.RUNTIME)
    @Documented
    @Qualifier
    public @interface Authenticated {}

    While testing with Arquillian I got the below error message:

    WELD-001408 Unsatisfied dependencies for type [Technician] with qualifiers [@Authenticated] at injection point [[field] @Authenticated @Inject private com.linksaude.manager.bean.PatientList.technician]

    As I'm not very experienced with Arquillian tests I could not figure out what is happening in did...

    Am I using the right strategy/design in my tests? Is there an example source or tutorial in witch I can based my implementation?

    Is there a better way to run tests with @Authenticated injections? I suppose my problem lays here since I do not have login during tests....

    I have read about using Selenium to simulate the login... is this a viable solution for JBoss webapps?

    Any help is really appreciated.

    Best Regards,

    Jean

  • RELEVANCY SCORE 2.50

    DB:2.50:Send Mail With Attachment ma


    Well, after all my problems has been resolved, there are more.
    I just wanna to send a mail with a attachment, but the mail come to me without a attachment.There is me code:
    m:message xmlns="http://www.w3.org/1999/xhtml"
    xmlns:m="http://jboss.com/products/seam/mail"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://jboss.com/products/seam/pdf"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:s="http://jboss.com/products/seam/taglib"

    m:header name="X-Composed-By" value="JBoss Seam"/
    m:from name="Sistema GCC WEB - Cadastramento" address="allanbruno@gmail.com"/
    m:replyTo address="allanbruno@gmail.com"/

    m:to name="allanbruno@gmail.com"allanbruno@gmail.com/m:to
    m:subjectTest the Email/m:subject
    m:body type="plain"This is a test email

    CNPJ: #{fsscInscricaoContribuinte.cnpjPessoaJuridica}

    m:attachment fileName="tiny.pdf"
    p:document
    A very tiny PDF
    /p:document

    /m:attachment

    /m:body



    /m:message

    DB:2.50:Send Mail With Attachment ma

    You are using the attachment tag in the wrong place. It should be outside the body. If you want to embed an image, that requires using a cid reference to the attachment.

  • RELEVANCY SCORE 2.50

    DB:2.50:Deploying Seam Application On Weblogic 10.3.2 Application Server. zk


    Hi All,

    I deployed jsf1.2.war file into weblogic. Now when I tried to run seam application getting below errors

    ---------------------------------------------------------------------------------------------------------------------

    Apr 6, 2010 11:00:29 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for co ntext '/jboss-seam-registration' Apr 6, 2010 11:00:30 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute WARNING: Could not instantiate Seam component: register org.jboss.seam.InstantiationException: Could not instantiate Seam component: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)

    at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.LifecycleImpl phase WARNING: executePhase(INVOKEAPPLICATION 5,com.sun.faces.context.FacesContextImp l@15635fa) threw exception javax.faces.FacesException: Could not instantiate Seam component: register at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:105) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam com ponent: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) ... 18 more Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM EDT Error HTTP BEA-101017 ServletContext@19607627app:-appsdir-jboss-eam-registration-war module:jboss-seam-registration.war path:/jboss-seam-registration spec-version:2.5, request: weblogic.servlet.internal.ServletRequestImpl@669c84POST /jboss-seam-registration/register.seam HTTP/1.1Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml-xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, Referer: http://localhost:7001/jboss-seam-registration/register.seam Accept-Language: en-us Content-Type: application/x-www-form-urlencoded UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Length: 180 Connection: Keep-Alive Cache-Control: no-cache Cookie: GUEST-LANGUAGE-ID:en-US; COOKIESUPPORT:true; ADMINCONSOLESESSION:LkpWL7 HJXjTH8kTdCYpB7qn2HLqp111hH22hJV3H1sJ8JhhlHjRX!-512864410; JSESSIONID:0mLXL7WP7n ljLhvdGMBGTky1TLNpkLhgjrngV4v5LGyFsf63t3hQ!-1277131764

    Root cause of ServletException. javax.naming.NameNotFoundException: While trying to lookup 'RegisterAction.local ' didn't find subcontext 'RegisterAction'. Resolved ''; remaining name 'Register Action/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) Truncated. see log file for complete stacktrace

    ---------------------------------------------------------------------------------------------------------------------

    I think this is something with ejb-jar.xml and components.xml files.

    Please find ejb-jar.xml as below

    ---------------------------------------------------------------------------------------------------------------------
    ?xml version="1.0" encoding="UTF-8"?
    ejb-jar 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/ejb-jar_3_0.xsd"
    version="3.0"

    interceptors
    interceptor
    interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
    /interceptor
    /interceptors

    assembly-descriptor
    interceptor-binding
    ejb-nameRegisterAction/ejb-name
    interceptor-class org.jboss.seam.ejb.SeamInterceptor/interceptor-class
    /interceptor-binding
    /assembly-descriptor

    /ejb-jar

    ---------------------------------------------------------------------------------------------------------------------

    components.xml

    ---------------------------------------------------------------------------------------------------------------------

    ?xml version="1.0" encoding="UTF-8"?
    components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"

    core:init jndi-pattern="#{ejbName}/local"/

    /components

    ---------------------------------------------------------------------------------------------------------------------

    Please check these files and let me know where I'm doing wrong.

    Thanks for your help.

    Regards,
    Sharath.

    DB:2.50:Deploying Seam Application On Weblogic 10.3.2 Application Server. zk

    Hi All,

    I deployed jsf1.2.war file into weblogic. Now when I tried to run seam application getting below errors

    ---------------------------------------------------------------------------------------------------------------------

    Apr 6, 2010 11:00:29 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for co ntext '/jboss-seam-registration' Apr 6, 2010 11:00:30 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.203-b04-FCS) for context '/jboss-seam-registration' Apr 6, 2010 11:00:33 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.203-b04-F CS) for context '/jboss-seam-registration' Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/servers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml Apr 6, 2010 11:44:49 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: zip:C:/bea10.3.2/userprojects/domains/devdomain/serv ers/AdminServer/tmp/WLuser/appsdirjboss-seam-registrationwar/r1lafi/war/WEB -INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute WARNING: Could not instantiate Seam component: register org.jboss.seam.InstantiationException: Could not instantiate Seam component: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)

    at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM com.sun.faces.lifecycle.LifecycleImpl phase WARNING: executePhase(INVOKEAPPLICATION 5,com.sun.faces.context.FacesContextImp l@15635fa) threw exception javax.faces.FacesException: Could not instantiate Seam component: register at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:105) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run (StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri tyHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav a:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF ilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam com ponent: register at org.jboss.seam.Component.newInstance(Component.java:2156) at org.jboss.seam.Component.getInstance(Component.java:2021) at org.jboss.seam.Component.getInstance(Component.java:1983) at org.jboss.seam.Component.getInstance(Component.java:1977) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:64) at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34) at org.jboss.el.parser.AstValue.invoke(AstValue.java:95) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:27 6) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja va:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(Met hodBindingMethodExpressionAdapter.java:88) at com.sun.faces.application.ActionListenerImpl.processAction(ActionList enerImpl.java:95) at javax.faces.component.UICommand.broadcast(UICommand.java:387) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7 56) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat ionPhase.java:97) ... 18 more Caused by: javax.naming.NameNotFoundException: While trying to lookup 'RegisterA ction.local' didn't find subcontext 'RegisterAction'. Resolved ''; remaining nam e 'RegisterAction/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.seam.Component.instantiateSessionBean(Component.java:1400) at org.jboss.seam.Component.instantiate(Component.java:1364) at org.jboss.seam.Component.newInstance(Component.java:2134) ... 38 more Apr 6, 2010 11:45:00 AM EDT Error HTTP BEA-101017 ServletContext@19607627app:-appsdir-jboss-eam-registration-war module:jboss-seam-registration.war path:/jboss-seam-registration spec-version:2.5, request: weblogic.servlet.internal.ServletRequestImpl@669c84POST /jboss-seam-registration/register.seam HTTP/1.1Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml-xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, Referer: http://localhost:7001/jboss-seam-registration/register.seam Accept-Language: en-us Content-Type: application/x-www-form-urlencoded UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Length: 180 Connection: Keep-Alive Cache-Control: no-cache Cookie: GUEST-LANGUAGE-ID:en-US; COOKIESUPPORT:true; ADMINCONSOLESESSION:LkpWL7 HJXjTH8kTdCYpB7qn2HLqp111hH22hJV3H1sJ8JhhlHjRX!-512864410; JSESSIONID:0mLXL7WP7n ljLhvdGMBGTky1TLNpkLhgjrngV4v5LGyFsf63t3hQ!-1277131764

    Root cause of ServletException. javax.naming.NameNotFoundException: While trying to lookup 'RegisterAction.local ' didn't find subcontext 'RegisterAction'. Resolved ''; remaining name 'Register Action/local' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:1139) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav a:247) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j ava:182) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20 6) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:254) Truncated. see log file for complete stacktrace

    ---------------------------------------------------------------------------------------------------------------------

    I think this is something with ejb-jar.xml and components.xml files.

    Please find ejb-jar.xml as below

    ---------------------------------------------------------------------------------------------------------------------
    ?xml version="1.0" encoding="UTF-8"?
    ejb-jar 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/ejb-jar_3_0.xsd"
    version="3.0"

    interceptors
    interceptor
    interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
    /interceptor
    /interceptors

    assembly-descriptor
    interceptor-binding
    ejb-nameRegisterAction/ejb-name
    interceptor-class org.jboss.seam.ejb.SeamInterceptor/interceptor-class
    /interceptor-binding
    /assembly-descriptor

    /ejb-jar

    ---------------------------------------------------------------------------------------------------------------------

    components.xml

    ---------------------------------------------------------------------------------------------------------------------

    ?xml version="1.0" encoding="UTF-8"?
    components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation=
    "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"

    core:init jndi-pattern="#{ejbName}/local"/

    /components

    ---------------------------------------------------------------------------------------------------------------------

    Please check these files and let me know where I'm doing wrong.

    Thanks for your help.

    Regards,
    Sharath.

  • RELEVANCY SCORE 2.50

    DB:2.50:Seam Security: Authenticator Not Located 33



    Hi everibody

    I installed eclipse indigo, jboss tools 3.3 and gwt 2.4 plugin. I created a project from the jboss central gwt project template then I tried to add the security modules to the project pom.

    In the WEB-INF/classes/META-INF directory I put the seam-beans.xml file and the security.drl file. Here is my seam-beans.xml

    beans xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:s="urn:java:ee"
    xmlns:security="urn:java:org.jboss.seam.security"
    xmlns:pm="urn:java:org.jboss.seam.security.permission"
    xmlns:plidm="urn:java:org.jboss.seam.security.management.picketlink"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://jboss.org/schema/cdi/beans_1_0.xsd"

    !--
    interceptors
    classorg.jboss.seam.security.SecurityInterceptor/class
    /interceptors
    --

    security:IdentityImpl
    s:modifies/
    security:authenticatorNamedatabaseAuthenticator1/security:authenticatorName
    /security:IdentityImpl

    plidm:JpaIdentityStoreConfiguration
    s:replaces/
    plidm:identityClassit.milesif.ecar.security.model.IdentityObject/plidm:identityClass
    plidm:credentialClassit.milesif.ecar.security.model.IdentityObjectCredential/plidm:credentialClass
    plidm:relationshipClassit.milesif.ecar.security.model.IdentityObjectRelationship/plidm:relationshipClass
    plidm:roleTypeClassit.milesif.ecar.security.model.IdentityRoleType/plidm:roleTypeClass
    plidm:attributeClassit.milesif.ecar.security.model.IdentityObjectAttribute/plidm:attributeClass
    /plidm:JpaIdentityStoreConfiguration

    /beans

    The seam-beans file is loaded correctly (if I change the authenticator name, it changes in the error message), but I keep getting the following message, when trying to log in using a jsf form.

    09:53:49,563 ERROR [org.jboss.seam.security.IdentityImpl] (http-localhost-127.0.0.1-8080-1) No authenticator with name [databaseAuthenticator] was found
    09:53:51,568 ERROR [org.jboss.seam.security.IdentityImpl] (http-localhost-127.0.0.1-8080-1) Login failed: org.jboss.seam.security.AuthenticationException: An Authenticator could not be located
    at org.jboss.seam.security.IdentityImpl.authenticate(IdentityImpl.java:221) [seam-security-3.1.0.Final.jar:3.1.0.Final]
    at org.jboss.seam.security.IdentityImpl.login(IdentityImpl.java:163) [seam-security-3.1.0.Final.jar:3.1.0.Final]
    at org.jboss.seam.security.IdentityImpl$Proxy$_$$_WeldClientProxy.login(IdentityImpl$Proxy$_$$_WeldClientProxy.java) [seam-security-3.1.0.Final.jar:3.1.0.Final]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_03]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_03]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_03]

    I have tried bot with the SecurityInterceptor enabled and disabled and the entities are loaded correctly. I have also read other posts about the same problem and made differents attempts without success.

    Does anybody have an idea what I am missing?

    I attached the project pom in case it helps.

    Thanks for your help.

    Francesco

    DB:2.50:Seam Security: Authenticator Not Located 33


    Hi, is your databaseAuthenticator1 declared with @Named

    e.g. from Seam Booking:

    @Stateful

    @Named("bookingAuthenticator")

    public class BookingAuthenticator extends BaseAuthenticator implements Authenticator {

    ...

    }

  • RELEVANCY SCORE 2.50

    DB:2.50:New To Jboss Seam sa



    I am new to JBoss Seam and was trying to figure out if this could be used in our future projects. I understand that Seam is an integrating framework to glue in EJB3 and JSF together. Its features seems to be really nice. So could you please help me with some queries.
    1. Is it possible for me to use Seam in a simple application just with JSF and some POJOs (without having any persistence) 2. Do I have to always configure either ejb or microcontainer in my components.xml file. (No persistence configuration at all) 3. Does the Seam validation annotations work only if I am using hibernate as my presistence.

    DB:2.50:New To Jboss Seam sa


    1. yes.2. you never have to do either in Seam23. nope, Hibernate Validator is not dependent upon Hibernate

  • RELEVANCY SCORE 2.49

    DB:2.49:Migrating To Seam 2.3 + Jsf2 + Richfaces4 Causes Problems In Conversation Scope cs



    I am in the process of migrating from Seam 2.2.2 (JSF1.2,Richfaces3), that was running on a Tomcat 7 (so no EJB at all), to maven-based multi-project Seam 2.3 Final (with JSF2, Richfaces4) deployed as ear-package on a JBoss 7.1.1.

    After changing all necessary xml schemas and Richfaces tags (a:support, a:form etc..) step by step it is basically running. Except one strange behavior regarding the long-running conversations. They just dont get propagated to long LRC anymore. Every click is creating a new temporary one. After hours of pain I found out that the binding of the template seems to be the cause

    .

    My template gets chosen depending on the tenant you're logged in with - it is basically a SessionScope bean holding the name of the skin directory. Like so:

    ui:composition xmlns="http://www.w3.org/1999/xhtml"#8232;
    xmlns:ui="http://java.sun.com/jsf/facelets"#8232;
    xmlns:h="http://java.sun.com/jsf/html"#8232;
    xmlns:f="http://java.sun.com/jsf/core"#8232;
    xmlns:s="http://jboss.org/schema/seam/taglib"#8232;
    xmlns:a="http://richfaces.org/a4j"#8232;
    template="skins/#{skin.name}/templates/template.xhtml"#8232;
    xmlns:rich="http://richfaces.org/rich"

    DB:2.49:Migrating To Seam 2.3 + Jsf2 + Richfaces4 Causes Problems In Conversation Scope cs


    Thanks for feedback.

    Ok, seems to be the same issue, or at least based on the same cause.

    Luckily for now - after reading https://issues.jboss.org/browse/JBSEAM-4976 I tried the proposed workaround with partial statae saving as context-param, and it seems to solve the issue for me. At least it does in my test case.. lets see if it is also for my real project. I'll try..

  • RELEVANCY SCORE 2.49

    DB:2.49:Jboss As 4.2.0 Rc1 Switched To Glassfish Faces (Instead Of M jc



    New JBOSS AS 4.2.0 RC1 includes JSF Glassfish implementation. Is it possible to deploy the seam application on it? How?I assume that Jboss Seam is also going to migrate to Glassfish JSF implementaion?

    DB:2.49:Jboss As 4.2.0 Rc1 Switched To Glassfish Faces (Instead Of M jc


    Norman has been working on porting all the examples (in CVS) to Jboss 4.2 over the last few days. Very soon now this should be up and running

  • RELEVANCY SCORE 2.49

    DB:2.49:Jboss Seam-2.2.0 Can Not Run Jboss As 7 k9



    hi.

    Does anyone can success deploy seam2.2.0 version to jboss AS 7?

    i deployed a jEE6 ear project to the AS7 . when i access the index page , it raise below error.

    I have no idea how to fix ? so, is there anyone can help me ?. thx

    22:50:50,734 WARN [org.jboss.seam.jsf.SeamPhaseListener] (http-localhost-127.0.0.1-8080-2) uncaught exception, passing to exception handler: java.lang.IllegalStateException: No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)

    at org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:163) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.contexts.PageContext.isBeforeInvokeApplicationPhase(PageContext.java:175) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.contexts.PageContext.getCurrentWritableMap(PageContext.java:91) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.contexts.PageContext.remove(PageContext.java:105) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.Component.newInstance(Component.java:2141) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.Component.getInstance(Component.java:2021) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.Component.getInstance(Component.java:2000) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.Component.getInstance(Component.java:1994) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.Component.getInstance(Component.java:1967) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.Component.getInstance(Component.java:1962) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.faces.FacesPage.instance(FacesPage.java:92) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.core.ConversationPropagation.restorePageContextConversationId(ConversationPropagation.java:84) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:57) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:391) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:102) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

    22:50:51,093 警告 [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost-127.0.0.1-8080-2) JSF1053: (Listener: org.jboss.weld.jsf.WeldPhaseListener.beforePhase(), Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase-listener execution: org.jboss.weld.context.NonexistentConversationException: WELD-000321 No conversation found to restore for id 1

    22:50:51,125 警告 [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost-127.0.0.1-8080-2) org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:221)

    org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:108)

    org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:85)

    com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)

    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)

    com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:102)

    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

    javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

    org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

    org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

    org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

    org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

    org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

    java.lang.Thread.run(Thread.java:722)

    22:50:51,218 ERROR [org.jboss.seam.jsf.SeamPhaseListener] (http-localhost-127.0.0.1-8080-2) swallowing exception: java.lang.IllegalStateException: No active application scope

    at org.jboss.seam.core.Init.instance(Init.java:115) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:318) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:144) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:118) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

    22:50:51,390 警告 [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost-127.0.0.1-8080-2) JSF1053: (Listener: org.jboss.seam.document.DocumentStorePhaseListener.beforePhase(), Phase ID: RENDER_RESPONSE 6, View ID: /debug.xhtml) Exception thrown during phase-listener execution: java.lang.IllegalStateException: No application context active

    22:50:51,390 警告 [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost-127.0.0.1-8080-2) org.jboss.seam.Component.forName(Component.java:1945)

    org.jboss.seam.Component.getInstance(Component.java:2005)

    org.jboss.seam.Component.getInstance(Component.java:2000)

    org.jboss.seam.Component.getInstance(Component.java:1994)

    org.jboss.seam.Component.getInstance(Component.java:1967)

    org.jboss.seam.Component.getInstance(Component.java:1962)

    org.jboss.seam.web.Parameters.instance(Parameters.java:81)

    org.jboss.seam.document.DocumentStorePhaseListener.beforePhase(DocumentStorePhaseListener.java:36)

    com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)

    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)

    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

    javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

    org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

    org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

    org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

    org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

    org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

    org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)

    org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

    org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

    org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

    org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

    java.lang.Thread.run(Thread.java:722)

    22:50:51,625 WARN [org.jboss.seam.jsf.SeamPhaseListener] (http-localhost-127.0.0.1-8080-2) uncaught exception, passing to exception handler: java.lang.IllegalStateException: No active application scope

    at org.jboss.seam.core.Init.instance(Init.java:115) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:334) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:245) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

    22:50:51,796 ERROR [org.jboss.seam.jsf.SeamPhaseListener] (http-localhost-127.0.0.1-8080-2) swallowing exception: java.lang.IllegalStateException: No active application scope

    at org.jboss.seam.core.Init.instance(Init.java:115) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:334) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:245) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [jsf-api-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.0.GA.jar:2.2.0.GA]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

    DB:2.49:Jboss Seam-2.2.0 Can Not Run Jboss As 7 k9


    Hello Matin,

    -------------------------------------------------QUESTION PART A -------------------------------------------------------

    I am also facing similar exception while performing upgrade of seam 2.2.2, jsf1.2 application to EAP 6.1. Application is getting deployed successfully and landing page is also displayed in browser. But after authentication user exception comes that shown below.

    05:09:52,507 ERROR [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-4) swallowing exception: java.lang.IllegalStateException: No active application scope

    at org.jboss.seam.core.Init.instance(Init.java:115) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:317) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:143) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:117) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3]

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3]

    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3]

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [jsf-api-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:3.3.3.Final]

    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

    at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

    ---------------------------------------------------------QUESTION PART B------------------------------------------------------------------------------------

    Below are two steps i have additionally performed than described in migration documentation(https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html-single/Migration_Guide) to upgrade seam2.2.2 and jsf1.2 richfaces 3.3.3. application. I need your expert advise as to this is really needed or this is result of some miss-configuration in my application?

    1.Added dependency for google-gwt Reason: http://stackoverflow.com/questions/3003715/why-do-i-have-a-dependency-to-gwt dependency groupIdcom.google.gwt/groupId artifactIdgwt-servlet/artifactId scoperuntime/scope version2.5.0/version /dependency Exception seen without above: 13:22:39,744 INFO [javax.servlet.ServletContextListener] (ServerService Thread Pool -- 168) Welcome to Seam 2.2.2.Final Caused by: java.lang.NoClassDefFoundError: com/google/gwt/user/server/rpc/SerializationPolicyProvider at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_25] at java.lang.ClassLoader.defineClass(ClassLoader.java:792) [rt.jar:1.7.0_25] at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:344) [jboss-modules.jar:1.2.0.Final-redhat-1] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:422) [jboss-modules.jar:1.2.0.Final-redhat-1] ... 46 more

    2.JBoss7: java.lang.InstantiationException: org.jboss.as.weld.webtier.jsf.WeldApplicationFactory

  • RELEVANCY SCORE 2.49

    DB:2.49:Portlet Development In Seam/Jsf Only ? ff



    Hi,I wanted to know, is portlet development limited to only1. Java portlets2. Seam/JSF portletsin JBoss Portal ?Thanks

    DB:2.49:Portlet Development In Seam/Jsf Only ? ff


    The simple answer is: it won't. Portal works with portlets. Any web application cannot be deployed within it and expected to work. I work on the Portal itself, not on portlets so I don't have much experience on whether X framework would work well in a portal context or not, unfortunately. Basically, without a bridge, chances to get your app to work in Portal (or any portal for that matter) are close to none without some work. How much work is required depends on the web framework you are using. Sometimes, the only option is web scrapping.Which web framework are you using?

  • RELEVANCY SCORE 2.49

    DB:2.49:Seam Managed Bean Property Not Set By Seam.Properties kj



    I hardly believe that the mechanism of the seam.properties does not work. So I made a project using Seam-Gen that can easily be reproduced. I would be grateful to know where I am going wrong.The project was created using Seam-Gen with the project.type=ear (please note the build.properties below).The application can be run using the url ..http://localhost:8080/SeamPropertiesIssue/issue.seamIt shows that the seam.properties name-value-pair issuebean.value=Value has been set has no effect. The output is: "Value has not been set".The sources are ..1. src/action/de/issue/action/IssueBean.java2. view/issue.xhtml3. resources/seam.propertiesSeam-gen build.properties:#Generated by seam setup#Mon Jan 07 09:25:19 CET 2008hibernate.connection.password=workspace.home=C\:/java/jboss-seam-2.0.0.GA/development/model.package=de.issue.modeldriver.jar=C\:/java/jboss-seam-2.0.0.GA/seam-gen/lib/hsqldb.jaraction.package=de.issue.actiontest.package=de.issue.testdatabase.type=hsqlrichfaces.skin=DEFAULThibernate.default_catalog.null=hibernate.default_schema=PROTOdatabase.drop=yproject.name=SeamPropertiesIssuehibernate.connection.username=sahibernate.connection.driver_class=org.hsqldb.jdbcDriverhibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProviderproject.type=earicefaces.home=database.exists=njboss.home=C\:/java/jboss-4.2.2.GAhibernate.dialect=org.hibernate.dialect.HSQLDialecthibernate.connection.url=jdbc\:hsqldb\:.Seam Managed Bean:package de.issue.action;import org.jboss.seam.annotations.Logger;import org.jboss.seam.annotations.Name;import org.jboss.seam.log.Log;@Name("issuebean")public class IssueBean { @Logger Log log; String value="Value has not been set"; public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String checkValue() { log.info("the issue has the value #0", getValue()); return ""; }}View:html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" / Issue Concerning seam.properties h:form h1Push the button and check if the properties will set the set the seam managed valuebean/h1 h:outputText value="#{issuebean.value}"/h:outputText h:commandButton type="submit" value="Push" action="#{issuebean.checkValue()}" /h:commandButton /h:formseam.properties:issuebean.value=Value has been set

    DB:2.49:Seam Managed Bean Property Not Set By Seam.Properties kj


    I have choosen the wrong category. I made a copy in ..http://www.jboss.com/index.html?module=bbop=viewtopicp=4126985#4126985

  • RELEVANCY SCORE 2.49

    DB:2.49:Error [Stderr] Jan 19, 2006 8:15:51 Pm Com.Sun.Facelets.Comp jf



    Hi, I ran the seam-booking example on the CVS version of JBoss 4 and got the following error. Is this a JBoss 4 (cvs) problem? or some kind of other problem? Does it effect anything?
    20:15:46,320 INFO [StartupServletContextListener] ServletContext 'C:\J2EE\jboss5\server\default\.\tmp\deploy\tmp25319jboss-seam-booking.ear-contents\jboss-seam-booking-exp.war\' initialized.
    20:15:46,523 INFO [EARDeployer] Started J2EE application: file:/C:/J2EE/jboss5/server/default/deploy/jboss-seam-booking.ear
    20:15:51,585 ERROR [STDERR] Jan 19, 2006 8:15:51 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
    INFO: Added Library from: jar:file:/C:/J2EE/jboss5/server/default/tmp/deploy/tmp25319jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
    20:15:51,663 ERROR [STDERR] Jan 19, 2006 8:15:51 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
    INFO: Added Library from: jar:file:/C:/J2EE/jboss5/server/default/tmp/deploy/tmp25319jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
    20:15:51,726 ERROR [STDERR] Jan 19, 2006 8:15:51 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
    INFO: Added Library from: jar:file:/C:/J2EE/jboss5/server/default/tmp/deploy/tmp25319jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
    20:15:51,788 ERROR [STDERR] Jan 19, 2006 8:15:51 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
    INFO: Added Library from: jar:file:/C:/J2EE/jboss5/server/default/tmp/deploy/tmp25319jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
    20:15:51,804 ERROR [STDERR] Jan 19, 2006 8:15:51 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
    INFO: Added Library from: jar:file:/C:/J2EE/jboss5/server/default/tmp/deploy/tmp25319jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml

  • RELEVANCY SCORE 2.49

    DB:2.49:Differences Between Two Jboss Seam Ref.S fd



    Would anyone who has read them please give a description on the essential differences between the two Seam books from JBoss:1. JBoss Seam: Simplicity and Power Beyond Java EE.2. Lightweight Java Web Application Development: Leveraging EJB 3.0, JSF, Pojo, and Seam.The descriptions on Amazon are pretty much useless, and there are no Contents listings (which would have been more helpful).I am a beginning Seam/JSF developer looking for a good reference on how to use Seam and JSF.Any useful comments gratefully received!

    DB:2.49:Differences Between Two Jboss Seam Ref.S fd


    Would anyone who has read them please give a description on the essential differences between the two Seam books from JBoss:1. JBoss Seam: Simplicity and Power Beyond Java EE.2. Lightweight Java Web Application Development: Leveraging EJB 3.0, JSF, Pojo, and Seam.The descriptions on Amazon are pretty much useless, and there are no Contents listings (which would have been more helpful).I am a beginning Seam/JSF developer looking for a good reference on how to use Seam and JSF.Any useful comments gratefully received!

  • RELEVANCY SCORE 2.49

    DB:2.49:Problem With Seam 2.3 Tag Library 1z



    I am trying to upgrade a Seam application to 2.3 with JSF 2, Richfaces 3.3.3, and Facelets1.1.15.B1 to run on JBoss AS 7.1.1.Final. It deploys but when the login screen loads I get the following stacktrace below. Even though I get this exception the login screen renders and I am able to login (although I have other problems afterwards).

    10:22:17,532 SEVERE [facelets.compiler] (http-localhost-127.0.0.1-8280-1) Error Loading Library: vfs:/C:/Users/a814805/jboss-as-7.1.1.Final/standalone/deployments/invmgmt-gui-4.0.0.ear/invmgmt-webapp-4.0.0.war/WEB-INF/lib/jboss-seam-ui-2.3.0.Final.jar/META-INF/s.taglib.xml: java.io.IOException: Error parsing [vfs:/C:/Users/a814805/jboss-as-7.1.1.Final/standalone/deployments/invmgmt-gui-4.0.0.ear/invmgmt-webapp-4.0.0.war/WEB-INF/lib/jboss-seam-ui-2.3.0.Final.jar/META-INF/s.taglib.xml]:
    at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:431) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) [richfaces-api-3.3.3.Final.jar:3.3.3.Final]
    at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.7-jbossorg-2.jar:]
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at gui.shared.util.timing.TimingFilter.doFilter(TimingFilter.java:39) [gui-shared-lib-2.1.1.jar:]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Final]
    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam.jar:2.3.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
    at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_05]
    Caused by: org.xml.sax.SAXException: Error Handling [vfs:/C:/Users/a814805/jboss-as-7.1.1.Final/standalone/deployments/invmgmt-gui-4.0.0.ear/invmgmt-webapp-4.0.0.war/WEB-INF/lib/jboss-seam-ui-2.3.0.Final.jar/META-INF/s.taglib.xml@4,178]
    at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.error(TagLibraryConfig.java:376) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:135)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:390)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:322)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:281)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1643)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1921)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:786)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:827)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1141)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1754)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
    at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
    at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
    at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(SAXParserImpl.java:289)
    at javax.xml.parsers.SAXParser.parse(Unknown Source) [rt.jar:1.7.0_05]
    at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:407) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
    ... 52 more

    EAR configuration:

    EAR
    jboss-seam.jar
    - lib
    - antlr-runtime-3.3.jar
    - commons-beanutils-1.7.0.jar
    - commons-collections-3.2.jar
    - commons-digester-1.8.jar
    - commons-lang-2.1.jar
    - drools-compiler-5.3.3.Final.jar
    - drools-core-5.3.3.Final.jar
    - drools-decisiontables-5.3.3.Final.jar
    - ecj-3.5.1.jar
    - guava-12.0.jar
    - janino-2.5.10.jar
    - jboss-el-1.0_02.CR6.jar
    - jbpm-jpdl-3.2.2.jar
    - jsr173_api-1.0.jar
    - knowledge-api-5.3.3.Final.jar
    - mvel-2.1.0.jar
    - richfaces-api-3.3.3.Final.jar
    - richfaces-impl-jsf2-3.3.3.Final.jar
    WEBAPP
    - WEB-INF
    - lib
    - commons-beanutils-1.7.0.jar
    - commons-collections-3.2.jar
    - commons-digester-1.8.jar
    - commons-lang-2.1.jar
    - cssparser-0.9.5.jar
    - guava-12.0.jar
    - jboss-seam-debug-2.3.0.Final.jar
    - jboss-seam-ui- 2.3.0.Final.jar
    - jsf-facelets-1.1.15.B1.jar
    - jsr305-1.3.9.jar
    - jstl-1.0.jar
    - richfaces-api-3.3.3.Final.jar
    - richfaces-impl-jsf2-3.3.3.Final.jar
    - sac-1.3.jar

    jboss-structure.xml:

    jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0"
    deployment
    dependencies
    module name="org.apache.log4j" export="true"/
    module name="org.dom4j" export="true"/
    module name="org.apache.commons.logging" export="true"/
    module name="org.apache.commons.collections" export="true"/
    module name="javax.faces.api" export="true"/
    module name="javax.ejb.api"/
    module name="org.picketbox"/
    /dependencies
    /deployment
    /jboss-deployment-structure

    components.xml:

    ?xml version="1.0" encoding="UTF-8"?components xmlns="http://jboss.org/schema/seam/components" xmlns:core="http://jboss.org/schema/seam/core" xmlns:security="http://jboss.org/schema/seam/security" xmlns:components="http://jboss.org/schema/seam/components" xmlns:bpm="http://jboss.org/schema/seam/bpm" xmlns:persistence="http://jboss.org/schema/seam/persistence" xmlns:transaction="http://jboss.org/schema/seam/transaction" xmlns:web="http://jboss.org/schema/seam/web" xmlns:international="http://jboss.org/schema/seam/international" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:excel="http://jboss.org/schema/seam/excel" xmlns:drools="http://jboss.org/schema/seam/drools" xsi:schemaLocation="http://jboss.org/schema/seam/core http://jboss.org/schema/seam/core-2.3.xsd http://jboss.org/schema/seam/security http://jboss.org/schema/seam/security-2.3.xsd http://jboss.org/schema/seam/components http://jboss.org/schema/seam/components-2.3.xsd http://jboss.org/schema/seam/bpm http://jboss.org/schema/seam/bpm-2.3.xsd http://jboss.org/schema/seam/transaction http://jboss.org/schema/seam/transaction-2.3.xsd http://jboss.org/schema/seam/transaction http://jboss.org/schema/seam/web-2.3.xsd http://jboss.org/schema/seam/persistence http://jboss.org/schema/seam/persistence-2.3.xsd http://jboss.org/schema/seam/international http://jboss.org/schema/seam/international-2.3.xsd http://jboss.org/schema/seam/excel http://jboss.org/schema/seam/excel-2.3.xsd http://jboss.org/schema/seam/drools http://jboss.org/schema/seam/drools-2.3.xsd"
    !-- 120 second conversation timeout -- core:manager conversation-timeout="120000" concurrent-request-timeout="10000" conversation-id-parameter="cid" /
    core:init jndi-pattern="java:app/inv-mgmt-app-4.0.0/#{ejbName}" debug="true" distributable="false" transaction-management-enabled="false" /
    persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="java:/InvMgmtSessionFactory" /
    transaction:ejb-transaction/
    security:identity jaas-config-name="inv-mgmt" /
    event type="org.jboss.seam.notLoggedIn" action execute="#{redirect.captureCurrentView}" / /event
    event type="org.jboss.seam.postAuthenticate" action execute="#{redirect.returnToCapturedView}" / /event
    drools:rule-base name="securityRules" drools:rule-files value/META-INF/security.drl/value /drools:rule-files /drools:rule-base
    component class="org.jboss.seam.transaction.EjbSynchronizations" jndi-name="java:app/jboss-seam/EjbSynchronizations"/
    component class="org.jboss.seam.async.TimerServiceDispatcher" jndi-name="java:app/jboss-seam/TimerServiceDispatcher"/
    /components

    faces-config.xml:

    ?xml version='1.0' encoding='UTF-8'?faces-config version="2.3" 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-facesconfig_2_3.xsd"
    locale-config default-localeen/default-locale /locale-config
    application view-handlerorg.ajax4jsf.application.AjaxViewHandler/view-handler /application
    /faces-config

    web.xml

    ?xml version="1.0" encoding="UTF-8"?web-app version="3.0" 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_3_0.xsd"
    display-nameInvestment Management

    GUI/display-name !-- Seam -- listener listener-classorg.jboss.seam.servlet.SeamListener/listener-class /listener servlet servlet-nameSeam Resource Servlet/servlet-name servlet-classorg.jboss.seam.servlet.SeamResourceServlet/servlet-class /servlet servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping filter filter-nameSeam Filter/filter-name filter-classorg.jboss.seam.servlet.SeamFilter/filter-class /filter
    filter-mapping filter-nameSeam Filter/filter-name url-pattern/*/url-pattern /filter-mapping
    !--Configuration for Richfaces--
    filter display-nameRichFaces Filter/display-name filter-namerichfaces/filter-name filter-classorg.ajax4jsf.Filter/filter-class /filter
    filter-mapping filter-namerichfaces/filter-name servlet-nameFaces Servlet/servlet-name dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping
    context-param param-nameorg.richfaces.enableControlSkinning/param-name param-valuetrue/param-value /context-param
    context-param param-nameorg.richfaces.SKIN/param-name param-valueinvMgmt/param-value /context-param
    !-- JSF -- context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.xhtml/param-value /context-param
    context-param param-namefacelets.VIEW_MAPPINGS/param-name param-value*.xhtml/param-value /context-param
    context-param param-namefacelets.SKIP_COMMENTS/param-name param-valuetrue/param-value /context-param
    context-param param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name param-valuecom.sun.facelets.FaceletViewHandler/param-value /context-param
    context-param param-namejavax.faces.DISABLE_FACELET_JSF_VIEWHANDLER/param-name param-valuetrue/param-value /context-param
    servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup /servlet
    servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.seam/url-pattern /servlet-mapping
    session-config session-timeout10/session-timeout /session-config
    /web-app

    When I look in the jboss-seam-ui-2.3.0.Final.jar and open the s.taglib.xml I see that the schema is version 2.0. I think that the facelets compiler cannot parse version 2.0. I noticed that previous versions of seam had version 1.0.

    ?xml version="1.0" encoding="UTF-8"?
    facelet-taglib id="s" version="2.0"
    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-facelettaglibrary_2_0.xsd"
    namespacehttp://jboss.org/schema/seam/taglib/namespace

    I am considering trying to see if the app can work using JSF 1.2 but I have spent considerable time trying to get this configuration to work.

    Thanks for any help on this!

    DB:2.49:Problem With Seam 2.3 Tag Library 1z


    Thanks Hantsy,

    That was the way I went initially and it worked. The problem was there were too many changes to our application and too little time to get all the pages working. I can revisit Richfaces 4.3 later this year.

    Jim

  • RELEVANCY SCORE 2.49

    DB:2.49:What Is The Minimun To Do To Run A Tomcat-Jsf-Projet In Jboss As 4.2.2 With Seam 2.0 sk


    hi everyone,
    I'm trying add seam framework in my existing jsf-project(JSF 1.2, Richefaces 3.1.3, tomahawk 1.1.7). I have deployed my project in jboss AS 4.2.2 without seam. And now i add seamlistener and filter in web.xml and seam-jars to running my project with seam. the server starts normally, but i get an Can't commit because the transaction is in aborted state exception every request.
    I have 2 questions:
    1. I noticed in the web.xml generated by seam-gen, it is very simple; there is no more richfaces declaration, Does the seam support richfaces automatically?
    2. At first time, I don't need neither transaction ni jpa, because I don't want to rewrite all my backingbean in ejb3 in one time. Is it possible to remove the exception mentioned, and make my projet seam-enabled?
    thanks in advanced

    DB:2.49:What Is The Minimun To Do To Run A Tomcat-Jsf-Projet In Jboss As 4.2.2 With Seam 2.0 sk

    hi,
    Excuse me. Do you mean there is something wrong in my project? Actually this project is running under jboss as 4.2.0 without any exception. I tracked into my program, this transaction exception is throwed after have called my action. In my program I never use transaction, so i think seam did it and it is a configuration problem. Could you give me some more suggestions to find out my problem? and Do you think it is enough to add all seam jars and add seam listener and filter in web.xml to enable seam in a web project?
    thank you very much

  • RELEVANCY SCORE 2.49

    DB:2.49:Issues Integrating Seam And Facelets To Myfaces, Spring And Hibernate App cz


    Please I need helpI have issues integrating seam and facelets to myfaces, spring and hibernate app. Config details and error below. The combination Hibernate 3.4 + Spring 2.5.5 + Myfaces 1.2.5 was already working. And I included the jars:Facelets 1.1.14: jsf-facelets.jar, el-api-1.0.jar, el-impl-1.0.jarSeam 2.1.1: jboss-seam.jar, jboss-seam-ui.jar, persistence-api.jar, javaassist.jar FACES-CONFIG.XMLfaces-config version="1.2" 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-facesconfig_1_2.xsd" application variable-resolverorg.springframework.web.jsf.DelegatingVariableResolver/variable-resolver locale-config default-localeen/default-locale /locale-config view-handlercom.sun.facelets.FaceletViewHandler/view-handler message-bundlecom.west.wic.wssi.resources.messages/message-bundle resource-bundle base-namecom.west.wic.wssi.resources.messages/base-name varmsgs/var /resource-bundle /application !-- seam --lifecycle phase-listenerorg.jboss.seam.jsf.SeamPhaseListener/phase-listener/lifecycle...WEB.XML... !-- facelets-- context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.xhtml/param-value /context-param context-param param-namefacelets.DEVELOPMENT/param-name param-valuetrue/param-value /context-param !-- Seam --listener listener-classorg.jboss.seam.servlet.SeamListener/listener-class/listenerfilter filter-nameSeam Filter/filter-name filter-classorg.jboss.seam.web.SeamFilter/filter-class/filterfilter-mapping filter-nameSeam Filter/filter-name url-pattern/*/url-pattern/filter-mapping...COMPONENETS.XMLcomponents xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd" web:exception-filter url-pattern="*.seam"/ web:redirect-filter url-pattern="*.seam"/ web:multipart-filter create-temp-files="true" max-request-size="1000000" url-pattern="*.seam"/ web:character-encoding-filter encoding="UTF-16" override-client="true" url-pattern="*.seam"/ !-- web:context-filter url-pattern="/media/*"/ --/components[b]ERROR:[/b]Jan 15, 2009 11:35:31 AM org.apache.catalina.core.StandardContext listenerStartSEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListenerjava.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/apache/myfaces/webapp/Jsp21FacesInitializer, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ELResolver used in the signatureSince tomcat 6 has el-api.jar I tried removing el-api and el-impl jars from facelets. and I still didn't work. I tried replcing them with jboss-el still same thing; also replaced with el-api jar shipped with seam and still didn't work. If I remove el-api from tomcat lib I get a classNotFound exception.I have spent a long time trying to figure it out. I would really appreciate your help.Thanksmitchi

    DB:2.49:Issues Integrating Seam And Facelets To Myfaces, Spring And Hibernate App cz

    never mind for this error I needed to only keep el-api in tomcat but it was still bugging after I removed the el-api from my war because I in fact needed to clean and undeploy my war, shutdwon tomcat, nuke my temp directory etc so that ther wouldn't be any trace of el api in my war that conflicts with the one in tomcat.

  • RELEVANCY SCORE 2.49

    DB:2.49:Jbpm-3.2.Ga Incompatibility With Jboss-4.2.Cr1 dc



    Hi everyone!I am trying to deploy the jbpm-enterprise.ear file to a JBoss-4.2.CR1 and run into an incompatibility problem with JSF. It seems that the AS uses a different JSF implementation than the jbpm-console included in the ear file.

    10:26:49,234 INFO [EJBDeployer] Deployed: file:/C:/dev/workspace/jboss-4.2.0.CR1/server/node1/tmp/deploy/tmp21186jbpm-enterprise.ear-contents/
    jbpm-enterprise.jar
    10:26:49,265 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../tmp/deploy/tmp21186jbpm-enterprise.ear-contents/jbpm-console-exp.war/
    10:26:49,593 FATAL [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.
    10:26:49,593 WARN [application] JSF1033: Resource injection is DISABLED.
    10:26:49,937 ERROR [[/jbpm-console]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.LinkageError: loader constraint violation: when resolving interface method
    "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;"
    the class loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for re
    solved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
    at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1638)

    DB:2.49:Jbpm-3.2.Ga Incompatibility With Jboss-4.2.Cr1 dc


    http://www.jboss.com/wiki/Edit.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x

  • RELEVANCY SCORE 2.49

    DB:2.49:About Using Transaction:Ejb-Transaction/ In Components.Xml 1s



    Hello,

    I have a confusion regarding the transaction:ejb-transaction/ tag in compoenents.xml. Why and when is it necessary?

    So far after doing some goole search, I have understood the followings:

    Point 1

    According to Dan Allen (Author of Seam in Action),

    If your components rely on container-managed transactions, available in an EJB environment, Seam works alongside the UserTransaction on the EJBContext to capture transaction synchronization events. Since Seam isnt in control of container-managed transactions, its necessary to register Seam to be notified of the transaction boundaries:

    tx:ejb-transaction/

    This configuration activates a stateful session bean that implements the Session-Synchronization interface to capture transaction events from the EJB container. This SFSB is packaged in jboss-seam.jar, which must be bundled in the EAR. From this SFSB, Seam passes on the following two events to other Seam components using its own internal event mechanism, the same events Seam raises for Seam-managed transactions:
    org.jboss.seam.beforeTransactionCompletionorg.jboss.seam.afterTransactionCompletion (raised on commit or rollback)

    [Source: Seam in Action (copyright @2009) ; Chapter 9; Page 373]

    Point 2

    I looked into the API documentation of the following classes:
    org.jboss.seam.transaction.EjbTransactionorg.jboss.seam.transaction.EjbSynchronizationsjavax.ejb.SessionSynchronization

    About org.jboss.seam.transaction.EjbTransaction:

    Dummy component that lets us install the EjbSynchronizations via the tag transaction:ejb-transaction

    [Ref: http://docs.jboss.org/seam/2.0.0.GA/api/]

    About org.jboss.seam.transaction.EjbSynchronizations:

    Receives JTA transaction completion notifications from the EJB container, and passes them on to the registered Synchronizations. This implementation is fully aware of container managed transactions and is able to register Synchronizations for the container transaction.

    [Ref: http://docs.jboss.org/seam/2.0.0.GA/api/org/jboss/seam/transaction/EjbSynchronizations.html]

    About javax.ejb.SessionSynchronization (the super interface of org.jboss.seam.transaction.EjbSynchronizations):

    The SessionSynchronization interface allows a stateful session bean instance to be notified by its container of transaction boundaries.

    Only a stateful session bean with container-managed transaction demarcation can receive session synchronization notifications. Other bean types must not implement the SessionSynchronization interface or use the session synchronization annotations.

    A stateful session bean class is not required to implement this interface.

    [Ref: http://docs.oracle.com/javaee/5/api/javax/ejb/SessionSynchronization.html]

    From the above statements/docs as mentioned, is it okay to conclude that,

    - if we only use POJO (Seam compoents with @Name annotation) and/or stateless EJBs (beans with bean with @Stateless annotation) and,

    - if we DO NOT use any SFSB (i.e. no bean with @Stateful annotation),

    then we do not need to use transaction:ejb-transaction/ tag in the components.xml?

    Any feedback would be appreciable.

    With Thanks,

    ... Chisty

    DB:2.49:About Using Transaction:Ejb-Transaction/ In Components.Xml 1s


    Yes, you're right, the EJB spec (both 3.0 and 3.1 versions) states:

    "Only a stateful session bean with container-managed transaction demarcation can receive SessionSynchronization notifications. Stateless session beans and Singleton session beans must not implement the SessionSynchronization interface or use the session synchronization annotations."

    However EjbSynchronizations is @Stateful so it's ok :-).

    I still think EjbSynchronizations is required for SLSBs as well, because it's used to sync non-EJB Seam components with CMT, e.g. to close Hibernate session afterCompletion in org.jboss.seam.persistence.ManagedHibernateSession. But I'm not 100% sure.

  • RELEVANCY SCORE 2.49

    DB:2.49:Migration As 5 To 7.1 - Problems With Old Seam2-Projects - Classnotfounderrors 7d



    Hi,

    i have to migrate from JBoss 5 to 7.1 in a business context. But there are a lot of problems and difficulties. I got a lot of them fixed, but now there are also a few errors remaining.

    This is the config: JBoss 7.1.1, SEAM 2.1.2, JPA2, Hibernate 4.x, JSF 1.2

    And it seems there are a lot of problems to get a SEAM2-Project (before 2.3) running in AS 7.1 But it will be very nice if you can help me!

    I got these Errors:

    16:07:12,356 WARN [org.jboss.modules] (MSC service thread 1-4) Failed to define class org.jboss.seam.persistence.HibernateSessionProxy in Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/persistence/HibernateSessionProxy (Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader)

    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:396)

    at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)

    at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)

    at org.jboss.modules.Module.loadModuleClass(Module.java:517)

    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxySession(HibernatePersistenceProvider.java:104) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxyDelegate(HibernatePersistenceProvider.java:128) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.EntityManagerProxy.getDelegate(EntityManagerProxy.java:97) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.getSession(HibernatePersistenceProvider.java:369) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.setFlushModeManual(HibernatePersistenceProvider.java:145) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.setEntityManagerFlushMode(ManagedPersistenceContext.java:316) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:81) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.unwrap(Component.java:2275) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:2041) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1983) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1977) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2349) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getValueToInject(Component.java:2301) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.injectAttributes(Component.java:1736) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.inject(Component.java:1554) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam-2.1.2.jar:2.1.2]

    at de.XXX.XXX.utils.properties.Properties4Seam_$$_javassist_seam_4.create(Properties4Seam_$$_javassist_seam_4.java) [XXX-utils-2.4.23-SNAPSHOT.jar:]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callCreateMethod(Component.java:2172) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.newInstance(Component.java:2132) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.init.Initialization.init(Initialization.java:740) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.1.2.jar:2.1.2]

    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]

    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]

    Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/SessionImplementor

    at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_24]

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [rt.jar:1.6.0_24]

    at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [rt.jar:1.6.0_24]

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [rt.jar:1.6.0_24]

    at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)

    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)

    ... 62 more

    Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.SessionImplementor from [Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

    ... 68 more

    16:07:12,418 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/XXX]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: org.jboss.seam.InstantiationException: Could not instantiate Seam component: de.XXX.XXX.utils.Properties

    at org.jboss.seam.Component.newInstance(Component.java:2144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.init.Initialization.init(Initialization.java:740) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.1.2.jar:2.1.2]

    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]

    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]

    Caused by: java.lang.RuntimeException: exception invoking: getEntityManager

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:154) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.unwrap(Component.java:2275) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:2041) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1983) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1977) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2349) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getValueToInject(Component.java:2301) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.injectAttributes(Component.java:1736) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.inject(Component.java:1554) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam-2.1.2.jar:2.1.2]

    at de.XXX.XXX.utils.properties.Properties4Seam_$$_javassist_seam_4.create(Properties4Seam_$$_javassist_seam_4.java) [XXX-utils-2.4.23-SNAPSHOT.jar:]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callCreateMethod(Component.java:2172) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.newInstance(Component.java:2132) [jboss-seam-2.1.2.jar:2.1.2]

    ... 13 more

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    ... 39 more

    Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/persistence/HibernateSessionProxy

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxySession(HibernatePersistenceProvider.java:104) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxyDelegate(HibernatePersistenceProvider.java:128) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.EntityManagerProxy.getDelegate(EntityManagerProxy.java:97) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.getSession(HibernatePersistenceProvider.java:369) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.setFlushModeManual(HibernatePersistenceProvider.java:145) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.setEntityManagerFlushMode(ManagedPersistenceContext.java:316) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:81) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    ... 45 more

    Caused by: java.lang.ClassNotFoundException: org.jboss.seam.persistence.HibernateSessionProxy from [Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

    ... 53 more

    Thx a lot!

    DB:2.49:Migration As 5 To 7.1 - Problems With Old Seam2-Projects - Classnotfounderrors 7d


    Hi,

    i have to migrate from JBoss 5 to 7.1 in a business context. But there are a lot of problems and difficulties. I got a lot of them fixed, but now there are also a few errors remaining.

    This is the config: JBoss 7.1.1, SEAM 2.1.2, JPA2, Hibernate 4.x, JSF 1.2

    And it seems there are a lot of problems to get a SEAM2-Project (before 2.3) running in AS 7.1 But it will be very nice if you can help me!

    I got these Errors:

    16:07:12,356 WARN [org.jboss.modules] (MSC service thread 1-4) Failed to define class org.jboss.seam.persistence.HibernateSessionProxy in Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/persistence/HibernateSessionProxy (Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader)

    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:396)

    at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)

    at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)

    at org.jboss.modules.Module.loadModuleClass(Module.java:517)

    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxySession(HibernatePersistenceProvider.java:104) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxyDelegate(HibernatePersistenceProvider.java:128) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.EntityManagerProxy.getDelegate(EntityManagerProxy.java:97) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.getSession(HibernatePersistenceProvider.java:369) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.setFlushModeManual(HibernatePersistenceProvider.java:145) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.setEntityManagerFlushMode(ManagedPersistenceContext.java:316) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:81) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.unwrap(Component.java:2275) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:2041) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1983) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1977) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2349) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getValueToInject(Component.java:2301) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.injectAttributes(Component.java:1736) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.inject(Component.java:1554) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam-2.1.2.jar:2.1.2]

    at de.XXX.XXX.utils.properties.Properties4Seam_$$_javassist_seam_4.create(Properties4Seam_$$_javassist_seam_4.java) [XXX-utils-2.4.23-SNAPSHOT.jar:]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callCreateMethod(Component.java:2172) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.newInstance(Component.java:2132) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.init.Initialization.init(Initialization.java:740) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.1.2.jar:2.1.2]

    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]

    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]

    Caused by: java.lang.NoClassDefFoundError: org/hibernate/engine/SessionImplementor

    at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_24]

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [rt.jar:1.6.0_24]

    at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [rt.jar:1.6.0_24]

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [rt.jar:1.6.0_24]

    at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)

    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)

    ... 62 more

    Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.SessionImplementor from [Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

    ... 68 more

    16:07:12,418 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/XXX]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: org.jboss.seam.InstantiationException: Could not instantiate Seam component: de.XXX.XXX.utils.Properties

    at org.jboss.seam.Component.newInstance(Component.java:2144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.init.Initialization.init(Initialization.java:740) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.1.2.jar:2.1.2]

    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]

    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]

    Caused by: java.lang.RuntimeException: exception invoking: getEntityManager

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:154) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.unwrap(Component.java:2275) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:2041) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1983) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstance(Component.java:1977) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getInstanceInAllNamespaces(Component.java:2349) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.getValueToInject(Component.java:2301) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.injectAttributes(Component.java:1736) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.inject(Component.java:1554) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:61) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) [jboss-seam-2.1.2.jar:2.1.2]

    at de.XXX.XXX.utils.properties.Properties4Seam_$$_javassist_seam_4.create(Properties4Seam_$$_javassist_seam_4.java) [XXX-utils-2.4.23-SNAPSHOT.jar:]

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callComponentMethod(Component.java:2249) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.callCreateMethod(Component.java:2172) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.Component.newInstance(Component.java:2132) [jboss-seam-2.1.2.jar:2.1.2]

    ... 13 more

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24]

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_24]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_24]

    at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_24]

    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.1.2.jar:2.1.2]

    ... 39 more

    Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/persistence/HibernateSessionProxy

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxySession(HibernatePersistenceProvider.java:104) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.proxyDelegate(HibernatePersistenceProvider.java:128) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.EntityManagerProxy.getDelegate(EntityManagerProxy.java:97) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.getSession(HibernatePersistenceProvider.java:369) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.HibernatePersistenceProvider.setFlushModeManual(HibernatePersistenceProvider.java:145) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.setEntityManagerFlushMode(ManagedPersistenceContext.java:316) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:81) [jboss-seam-2.1.2.jar:2.1.2]

    at org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:107) [jboss-seam-2.1.2.jar:2.1.2]

    ... 45 more

    Caused by: java.lang.ClassNotFoundException: org.jboss.seam.persistence.HibernateSessionProxy from [Module "deployment.XXX-ear-2.4.23-SNAPSHOT.ear.jboss-seam-2.1.2.jar:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

    ... 53 more

    Thx a lot!

  • RELEVANCY SCORE 2.49

    DB:2.49:Beta2 - Cr1 Problem: Cannot Get Value For Expression '#{Org xs



    Hi,after switching to CR1 Seam jars I am getting the following exception when I logout (Seam.invalidateSession()) :javax.ejb.EJBException: javax.faces.el.EvaluationException: Cannot get value for expression '#{org$jboss$seam$core$facesMessages}' at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)...Caused by: javax.faces.el.EvaluationException: Cannot get value for expression '#{org$jboss$seam$core$facesMessages}' at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)...Caused by: java.lang.IllegalStateException: No conversation context active at org.jboss.seam.ScopeType.getContext(ScopeType.java:111)... 158 moreThe message 'No conversation context active' seams to be correct because at this point there is no (explicit) conversation active.Switching back to Beta2 and the error disappears.Any ideas what I have to change?--Axel

  • RELEVANCY SCORE 2.48

    DB:2.48:Seam Reports Jasper And Jboss-Javaee6 1f


    Hello everybody.I have a big problem trying ti use seam report.Basically, we made a JEE application using Seam 3 and Wicket and I have to create a feature allowing to use jasper reports to create reports.We use jboss-javaee-6.0 for injection mechanism.The module which should contain this feature depends on jboss-javaee-6.0.When I add the seam-reports-api dependancy I have no problem deploying my application on JBoss.But I want to use Jasper reports. So I want to depends on seam-reports-jasper too.And when I do so, the deployment in Jboss cannot be done.I have indeed this error:
    17:06:55,876 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ucmt2]] Exception lors de l'envoi de l'vnement contexte initialis (context initialized) l'instance de classe d'coute (listener) org.jboss.weld.integration.webtier.jsp.JspInitializationListener: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.enterprise.inject.spi.BeanManager.getELResolver()Ljavax/el/ELResolver;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/jboss/weld/integration/webtier/jsp/JspInitializationListener, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, javax/enterprise/inject/spi/BeanManager, have different Class objects for the type javax/el/ELResolver used in the signature

    DB:2.48:Seam Reports Jasper And Jboss-Javaee6 1f

    Glad you found something that worked. As far as injection, no, you won't be able to inject them because the Jasper jar isn't a Bean Archive as it doesn't have a beans.xml. You'd need to create a producer for it. I wonder if there's value in adding a wrapper in Seam Reports.

  • RELEVANCY SCORE 2.48

    DB:2.48:Identity Manager ds


    Using identity managerI'm having trouble displaying role groups when editing a user or a role, on the autogenerated xmhtl files roledetail.xhtml. i'm using seam 2.2.2 FinalMySQL datbaseRichfaceswhen deploying the seam project to my local jboss everything works just fine, but deploying it with production settings on a linux server using jboss the selectManyCheckBox on the page has no items. I'm using the same database to run the project on my computer and on the server so both have the same dataBelow is the xhtml file roledetail.xhtml!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich" xmlns:s="http://jboss.com/products/seam/taglib" template="/layout/template.xhtml" ui:define name="head" link href="../stylesheet/useradmin.css" rel="stylesheet" type="text/css"/ /ui:define ui:define name="body" h1Detalles de Rol/h1 h:form id="roleForm" rich:panel s:decorate id="roleField" template="/layout/edit.xhtml" ui:define name="label"Grupo (Rol)/ui:define h:inputText id="role" value="#{roleAction.role}" readonly="#{identityManager.userExists(roleAction.role)}"/ /s:decorate s:decorate id="groupsField" template="/layout/edit.xhtml" ui:define name="label"Miembro de Roles/ui:define div class="selectMany" h:selectManyCheckbox id="groups" value="#{roleAction.groups}" layout="pageDirection" styleClass="roles" s:selectItems value="#{roleAction.assignableRoles}" var="_role" label="#{_role}"/ /h:selectManyCheckbox /div /s:decorate div style="clear: both;"/ /rich:panel div class="actionButtons" h:commandButton id="save" value="Guardar" action="#{roleAction.save}"/ s:button id="cancel" view="/useradmin/rolemanager.xhtml" value="Cancelar" propagation="end"/ /div /h:form /ui:define/ui:compositionPLEASE HELP...

    DB:2.48:Identity Manager ds

    post log. did you check your permissions on your table?