Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 899534 (JBPAPP6-121)

Summary: JSF 1.2 slot is broken (for RichFaces 3.x support)
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Karel Piwko <kpiwko>
Component: RichFacesAssignee: Fernando Nasser <fnasser>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0CC: atangrin, bmaxwell, fnasser, kpiwko, maschmid, no-reply, ochaloup, ssilvert
Target Milestone: ---   
Target Release: EAP 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-121
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-04 23:12:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
jsf-api-1.2_15-jbossorg-2.jar
none
jsf-api-1.2_15-jbossorg-2-sources.jar
none
jsf-impl-1.2_15-jbossorg-2.jar
none
jsf-impl-1.2_15-jbossorg-2-sources.jar none

Description Karel Piwko 2011-10-06 11:27:55 UTC
Steps to Reproduce: 1/ Try to deploy any JSF 1.2 based application with RichFaces 3.3.x 
   You can use application from https://github.com/kpiwko/as7-seam2-maven-deps-resolver with added datasource. Both is based on Marek's blog at http://community.jboss.org/blogs/marek-novotny/2011/07/15/seam-2-jpa-example-on-jboss-as7.
2/ Access application from browser

(same problem manifested for WFK2 based examples, wars can be provided)
project_key: JBPAPP6

There is a regression from 6.0.0.DR3. Currently, applications which are using JSF 1.2 cannot bind any NamedObject inside of the application scope. Here's the stacktrace:

{code}

=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/kpiwko/devel/wfk/jboss-eap-6.0.0.Alpha2

  JAVA: /opt/jdk1.6.0_27/bin/java

  JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

13:21:17,998 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA
13:21:18,193 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA
13:21:18,245 INFO  [org.jboss.as] JBoss EAP 6.0.0.Alpha2 (AS 7.1.0.Alpha1-redhat-1) starting
13:21:19,021 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.
13:21:19,085 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)
13:21:19,087 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.
13:21:19,101 INFO  [org.jboss.as.logging] JBAS011501: Removing bootstrap log handlers
13:21:19,126 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
13:21:19,169 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
13:21:19,207 INFO  [org.jboss.as.jacorb] (Controller Boot Thread) Activating JacORB Subsystem
13:21:19,254 INFO  [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
13:21:19,257 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
13:21:19,262 INFO  [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
13:21:19,268 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
13:21:19,274 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.0.Beta2
13:21:19,293 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.0.Beta3
13:21:19,311 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.0.Beta3
13:21:19,476 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jdk1.6.0_27/jre/lib/amd64/server:/opt/jdk1.6.0_27/jre/lib/amd64:/opt/jdk1.6.0_27/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
13:21:19,485 INFO  [org.jboss.as.webservices] (Controller Boot Thread) Activating WebServices Extension
13:21:19,518 INFO  [org.jboss.snowdrop] (Controller Boot Thread) Activating Spring Deployer subsystem
13:21:19,552 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999
13:21:19,565 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
13:21:19,581 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.0.Beta4
13:21:19,585 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector
13:21:19,605 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http-kapy-ntb-127.0.0.1-8080
13:21:19,934 INFO  [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCS Subsystem (JBoss IronJacamar 1.0.4.Final)
13:21:19,994 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
13:21:19,995 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/DefaultDS]
13:21:19,995 INFO  [org.jboss.as.jacorb] (MSC service thread 1-1) CORBA ORB Service Started
13:21:20,082 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0.0.Alpha2/standalone/data/messagingjournal,bindingsDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0.0.Alpha2/standalone/data/messagingbindings,largeMessagesDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0.0.Alpha2/standalone/data/messaginglargemessages,pagingDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0.0.Alpha2/standalone/data/messagingpaging)
13:21:20,130 WARNING [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
13:21:20,185 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010406: Registered connection factory java:/JmsXA
13:21:20,203 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-4) HornetQ resource adaptor started
13:21:20,203 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-4) IJ020002: Deployed: file://RaActivatorhornetq-ra
13:21:20,212 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
13:21:20,305 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-2) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} kapy-ntb:5455 for CORE protocol
13:21:20,308 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-2) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} kapy-ntb:5445 for CORE protocol
13:21:20,314 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) Server is now live
13:21:20,314 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) HornetQ Server version 2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121) [ff73dcfe-f009-11e0-b410-525400a7d082] started
13:21:20,334 INFO  [org.jboss.as.jacorb] (MSC service thread 1-3) CORBA Naming Service Started
13:21:20,355 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory
13:21:20,362 INFO  [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory
13:21:20,362 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.queue.testQueue
13:21:20,508 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/queue/test
13:21:20,515 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) trying to deploy queue jms.topic.testTopic
13:21:20,543 INFO  [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/topic/test
13:21:20,947 INFO  [org.jboss.as.deployment] (MSC service thread 1-3) Started FileSystemDeploymentService for directory /home/kpiwko/devel/wfk/jboss-eap-6.0.0.Alpha2/standalone/deployments
13:21:20,963 INFO  [org.jboss.as] (Controller Boot Thread) JBoss EAP 6.0.0.Alpha2 (AS 7.1.0.Alpha1-redhat-1) started in 3151ms - Started 134 of 193 services (59 services are passive or on-demand)
13:21:20,972 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "jboss-seam-jpa.war"
13:21:22,378 INFO  [org.jboss.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for bookingDatabase
13:21:22,879 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named EjbSynchronizations in deployment unit deployment "jboss-seam-jpa.war" are as follows:

        java:global/jboss-seam-jpa/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
        java:app/jboss-seam-jpa/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
        java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
        java:global/jboss-seam-jpa/EjbSynchronizations
        java:app/jboss-seam-jpa/EjbSynchronizations
        java:module/EjbSynchronizations

13:21:22,879 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit deployment "jboss-seam-jpa.war" are as follows:

        java:global/jboss-seam-jpa/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
        java:app/jboss-seam-jpa/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
        java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
        java:global/jboss-seam-jpa/TimerServiceDispatcher
        java:app/jboss-seam-jpa/TimerServiceDispatcher
        java:module/TimerServiceDispatcher

13:21:24,432 INFO  [org.jboss.jpa] (MSC service thread 1-4) JBAS011402: Starting Persistence Unit Service 'jboss-seam-jpa.war#bookingDatabase'
13:21:24,591 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-4) HCANN000001: Hibernate Commons Annotations {4.0.0.CR2}
13:21:24,595 INFO  [org.hibernate.Version] (MSC service thread 1-4) HHH00412:Hibernate Core {4.0.0.CR2}
13:21:24,598 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH00206:hibernate.properties not found
13:21:24,599 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH00021:Bytecode provider name : javassist
13:21:24,612 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-4) HHH00204:Processing PersistenceUnitInfo [
        name: bookingDatabase
        ...]
13:21:24,744 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-4) HHH00130:Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
13:21:24,909 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-4) HHH00400:Using dialect: org.hibernate.dialect.H2Dialect
13:21:24,912 WARN  [org.hibernate.dialect.H2Dialect] (MSC service thread 1-4) HHH00431:Unable to determine H2 database version, certain features may not work
13:21:24,914 INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-4) HHH00423:Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
13:21:24,919 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-4) HHH00268:Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
13:21:24,921 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-4) HHH00397:Using ASTQueryTranslatorFactory
13:21:24,948 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-4) Hibernate Validator 4.2.0.Final
13:21:25,185 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH00227:Running hbm2ddl schema export
13:21:25,190 INFO  [stdout] (MSC service thread 1-4) Hibernate: alter table Booking drop constraint FK6713A039A372CD94
13:21:25,194 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH00389:Unsuccessful: alter table Booking drop constraint FK6713A039A372CD94
13:21:25,194 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) Table "BOOKING" not found; SQL statement:
alter table Booking drop constraint FK6713A039A372CD94 [42102-145]
13:21:25,194 INFO  [stdout] (MSC service thread 1-4) Hibernate: alter table Booking drop constraint FK6713A0391A0D32FB
13:21:25,194 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH00389:Unsuccessful: alter table Booking drop constraint FK6713A0391A0D32FB
13:21:25,194 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) Table "BOOKING" not found; SQL statement:
alter table Booking drop constraint FK6713A0391A0D32FB [42102-145]
13:21:25,194 INFO  [stdout] (MSC service thread 1-4) Hibernate: drop table Booking if exists
13:21:25,195 INFO  [stdout] (MSC service thread 1-4) Hibernate: drop table Customer if exists
13:21:25,195 INFO  [stdout] (MSC service thread 1-4) Hibernate: drop table Hotel if exists
13:21:25,195 INFO  [stdout] (MSC service thread 1-4) Hibernate: drop table REVINFO if exists
13:21:25,195 INFO  [stdout] (MSC service thread 1-4) Hibernate: drop sequence hibernate_sequence
13:21:25,196 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH00389:Unsuccessful: drop sequence hibernate_sequence
13:21:25,196 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
drop sequence hibernate_sequence [90036-145]
13:21:25,196 INFO  [stdout] (MSC service thread 1-4) Hibernate: create table Booking (id bigint not null, beds integer not null, checkinDate date, checkoutDate date, creditCard varchar(255), creditCardExpiryMonth integer not null, creditCardExpiryYear integer not null, creditCardName varchar(255), smoking boolean not null, hotel_id bigint, user_username varchar(255), primary key (id))
13:21:25,199 INFO  [stdout] (MSC service thread 1-4) Hibernate: create table Customer (username varchar(255) not null, name varchar(255), password varchar(255), primary key (username))
13:21:25,200 INFO  [stdout] (MSC service thread 1-4) Hibernate: create table Hotel (id bigint not null, address varchar(255), city varchar(255), country varchar(255), name varchar(255), price decimal(6,2), state varchar(255), zip varchar(255), primary key (id))
13:21:25,201 INFO  [stdout] (MSC service thread 1-4) Hibernate: create table REVINFO (REV integer generated by default as identity, REVTSTMP bigint, primary key (REV))
13:21:25,622 INFO  [stdout] (MSC service thread 1-4) Hibernate: alter table Booking add constraint FK6713A039A372CD94 foreign key (hotel_id) references Hotel
13:21:25,629 INFO  [stdout] (MSC service thread 1-4) Hibernate: alter table Booking add constraint FK6713A0391A0D32FB foreign key (user_username) references Customer
13:21:25,631 INFO  [stdout] (MSC service thread 1-4) Hibernate: create sequence hibernate_sequence start with 1 increment by 1
13:21:25,637 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH00230:Schema export complete
13:21:25,638 WARN  [org.hibernate.internal.SessionFactoryImpl] (MSC service thread 1-4) HHH00008:JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()
13:21:25,729 ERROR [stderr] (MSC service thread 1-4) log4j:WARN No appenders could be found for logger (javax.servlet.ServletContextListener).
13:21:25,729 ERROR [stderr] (MSC service thread 1-4) log4j:WARN Please initialize the log4j system properly.
13:21:26,868 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra (1.2_15-20110809-SNAPSHOT) for context '/jboss-seam-jpa'
13:21:27,211 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.
13:21:27,212 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
13:21:27,283 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-4) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
13:21:27,284 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
13:21:27,284 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance of default capacity
13:21:27,292 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-4) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
13:21:27,292 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
13:21:27,292 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance of default capacity
13:21:27,299 INFO  [org.jboss.web] (MSC service thread 1-4) registering web context: /jboss-seam-jpa
13:21:27,369 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jboss-seam-jpa.war"
^[[A^[[A^[[A13:22:42,356 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jstl-fn.taglib.xml
13:22:42,370 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jstl-core.taglib.xml
13:22:42,386 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jsf-ui.taglib.xml
13:22:42,398 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jsf-core.taglib.xml
13:22:42,402 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jsf-html.taglib.xml
13:22:42,408 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/jboss-seam-ui-2.2.2.Final.jar/META-INF/s.taglib.xml
13:22:42,410 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/jsp.taglib.xml
13:22:42,417 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/ajax4jsf.taglib.xml
13:22:42,441 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/richfaces.taglib.xml
13:22:42,456 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/a4j.taglib.xml
13:22:42,470 INFO  [facelets.compiler] (http-kapy-ntb-127.0.0.1-8080-2) Added Library from: vfs:/content/jboss-seam-jpa.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/rich.taglib.xml
13:22:42,640 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http-kapy-ntb-127.0.0.1-8080-2) JSF1004: Cannot instantiate component of type org.jboss.seam.ui.Link
13:22:42,646 SEVERE [facelets.viewhandler] (http-kapy-ntb-127.0.0.1-8080-2) Error Rendering View[/home.xhtml]: javax.faces.FacesException: Expression Error: Named Object: org.jboss.seam.ui.Link not found.
        at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:571) [jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
        at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.java:243) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:139) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567) [jsf-facelets-1.1.15.B1.jar:]
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) [jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) [jsf-api-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:]
        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-3.3.3.Final.jar:]
        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-3.3.3.Final.jar:]
        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-3.3.3.Final.jar:]
        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-3.3.3.Final.jar:]
        at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.2.2.Final.jar:]
        at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.2.2.Final.jar:]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
        at org.jboss.as.web.SetupValve$ChainItem.invoke(SetupValve.java:96) [jboss-as-web-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
        at org.jboss.as.web.SetupValve.invoke(SetupValve.java:69) [jboss-as-web-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
        at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
        at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha1-redhat-1]
        at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
{code}

Comment 1 Karel Piwko 2011-10-06 11:48:38 UTC
Link: Added: This issue is related to AS7-2025


Comment 2 Stan Silvert 2011-10-07 12:49:51 UTC
I'm not sure why this was assigned to me.  I don't know anything about changes in various versions of EAP and I certainly would have no knowledge of changes between DR3 and DR4.  

Possibly, the problem has something to do with this?
13:21:25,194 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH00389:Unsuccessful: alter table Booking drop constraint FK6713A039A372CD94
13:21:25,194 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) Table "BOOKING" not found; SQL statement:
alter table Booking drop constraint FK6713A039A372CD94 [42102-145]

Is there anything more specific that you need from me?  I can speak to how the JSF integration works, but as far as I know there haven't been any changes to JSF integration in community AS7 for quite some time.

Comment 3 Karel Piwko 2011-10-07 13:00:46 UTC
Hi Stan, 

I assigned this to you as you are JSF Integration Lead for AS7 and we QE process require all JBAPPP EAP6 issues to be assigned. Feel free to reassign to any person which can provide better knowledge of changes in JSF stack between 7.0.1 and 7.1.0.

Comment 4 Stan Silvert 2011-10-07 13:07:56 UTC
So is DR3 based on 7.0.1 and DR4 is based on 7.1.0?

Have you looked into the Hibernate errors?

Comment 5 Karel Piwko 2011-10-07 14:26:04 UTC
Yes, DR4 is based on internal 7.1.0.Alpha4 tag and DR3 on 7.0.1.Final with some of the future fixes. I have raised a community issues as well, if you want to check it there (AS7-2025). 

I think Hibernate errors are not related. I can provide an example which manifests same error but it does not have Hibernate problems.


Comment 6 Marek Novotny 2011-10-08 08:45:01 UTC
Karel and Stan, this issue AFAIK is the same as we discussed when Brad did patch for JSF initialization (changing Class loader) and broke custom tag library loading.

Comment 7 Marek Novotny 2011-10-08 08:45:01 UTC
Link: Added: This issue is related to JBPAPP-6414


Comment 8 RH Bugzilla Integration 2011-10-10 16:52:21 UTC
Bugzilla References: Added: https://bugzilla.redhat.com/show_bug.cgi?id=744854


Comment 9 Karel Piwko 2011-10-11 10:19:18 UTC
Stan, Marek,

according to the direction Marek gave me, I modified to jboss-deployment-structure.xml to use JSF 1.2 distributed in WAR as 

{code:xml}
<jboss-deployment-structure>
    <deployment>
        <exclusions>
            <module name="javax.faces.api" slot="main" />
            <module name="com.sun.jsf-impl" slot="main" />
            <module name="javax.faces.api" slot="1.2" />
            <module name="com.sun.jsf-impl" slot="1.2" />
        </exclusions>
        <dependencies>
            <module name="org.apache.log4j" />
            <module name="org.dom4j" />
            <module name="org.apache.commons.logging" />
            <module name="org.apache.commons.collections" />
        </dependencies>
    </deployment>
</jboss-deployment-structure> 
{code}

This fixes the issue, so JSF 1.2 distributed with EAP6/AS7 must be broken.

Comment 10 Stan Silvert 2011-10-14 15:04:22 UTC
Email from Brad
{panel}It looks like JBPAPP-7346 maybe using the JSF 1.2 patched jars I sent you which have a
bug, if that is the case, then we can assign the jira to me and I'll get them rebuilt.{panel}

Sorry I forgot to assign this to you earlier. Can you take a look at this and AS7-2025 to see if this is caused by the bug your are referring to?


Comment 11 Brad Maxwell 2011-10-19 06:58:51 UTC
Attachment: Added: jsf-impl.jar
Attachment: Added: jsf-api.jar


Comment 12 Brad Maxwell 2011-10-19 20:06:58 UTC
Attachment: Removed: jsf-api.jar 


Comment 13 Brad Maxwell 2011-10-19 20:07:03 UTC
Attachment: Removed: jsf-impl.jar 


Comment 14 Brad Maxwell 2011-10-19 20:08:53 UTC
Attachment: Added: jsf-api-1.2_15-jbossorg-2.jar
Attachment: Added: jsf-api-1.2_15-jbossorg-2-sources.jar
Attachment: Added: jsf-impl-1.2_15-jbossorg-2.jar
Attachment: Added: jsf-impl-1.2_15-jbossorg-2-sources.jar


Comment 15 Brad Maxwell 2011-10-19 20:10:43 UTC
I've rebuilt the jars, I'm seeing if Stan can upload them to the maven repo.

70faa4230a41b50ce85f4a1ea9b1e1d4  jsf-api-1.2_15-jbossorg-2.jar
1b6156a20b77dae7b97e68d0f5b2417d  jsf-api-1.2_15-jbossorg-2-sources.jar
f5b2d187aa2c4fc2d9f26c41bddf5a6f  jsf-impl-1.2_15-jbossorg-2.jar
36a214e269313d927b66c68164e3ae15  jsf-impl-1.2_15-jbossorg-2-sources.jar

Comment 16 Stan Silvert 2011-11-16 12:24:55 UTC
Brad, do you consider this one fixed?

Comment 17 Karel Piwko 2011-11-21 12:11:00 UTC
Still broken in DR06 release, can this be scheduled into DR7?

Comment 18 Karel Piwko 2011-11-21 12:11:00 UTC
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=744854 Added: https://bugzilla.redhat.com/show_bug.cgi?id=744854


Comment 19 Brad Maxwell 2011-11-22 05:14:21 UTC
>Brad, do you consider this one fixed?


Yes, this change has passed for EAP 5.1.2, and I tested the jars attached in an AS 7.1 Alpha2 build with a richfaces demo and all was well.

Comment 20 Ondrej Chaloupka 2011-12-12 11:34:34 UTC
On testing example applications with EAP6 DR8 I have got the same exception. It seems still broken.

Comment 22 Rajesh Rajasekaran 2011-12-16 20:10:55 UTC
This would be a nice to fix for the Alpha2 release based on DR10. Hence scheduling. Looks like the fix is already available upstream?

Comment 23 Rajesh Rajasekaran 2011-12-16 20:10:55 UTC
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=744854 Added: https://bugzilla.redhat.com/show_bug.cgi?id=744854


Comment 24 Karel Piwko 2011-12-19 08:44:06 UTC
Bugzilla Update: Added: Perform
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=744854 Added: https://bugzilla.redhat.com/show_bug.cgi?id=744854


Comment 26 Brad Maxwell 2012-01-08 03:19:40 UTC
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=744854 Added: https://bugzilla.redhat.com/show_bug.cgi?id=744854


Comment 28 Paul Gier 2012-01-10 23:16:35 UTC
Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=744854 Added: https://bugzilla.redhat.com/show_bug.cgi?id=744854


Comment 29 Fernando Nasser 2012-01-13 16:33:25 UTC
So, did it work by replacing the JSF JAR ? 

Comment 30 Fernando Nasser 2012-01-16 16:04:00 UTC
We are using the -redhat-1 version of the JAR now, which as
all the patches that -jbossorg-2 has  (pcheung has verified that).

Comment 31 RH Bugzilla Integration 2012-01-23 12:34:53 UTC
Marek Novotny <mnovotny> changed the Status of [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854] from NEW to ON_QA

Comment 32 RH Bugzilla Integration 2012-01-23 12:34:53 UTC
JBoss JIRA Server <jira-update> made a comment on [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854]

Fernando Nasser <fnasser> made a comment on jira JBPAPP-7346

So, did it work by replacing the JSF JAR ?

Comment 33 RH Bugzilla Integration 2012-01-23 12:34:55 UTC
JBoss JIRA Server <jira-update> made a comment on [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854]

Fernando Nasser <fnasser> updated the status of jira JBPAPP-7346 to Resolved

Comment 34 RH Bugzilla Integration 2012-01-23 12:34:56 UTC
JBoss JIRA Server <jira-update> made a comment on [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854]

Fernando Nasser <fnasser> made a comment on jira JBPAPP-7346

We are using the -redhat-1 version of the JAR now, which as
all the patches that -jbossorg-2 has  (pcheung has verified that).

Comment 35 RH Bugzilla Integration 2012-01-23 12:34:56 UTC
Marek Novotny <mnovotny> made a comment on [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854]

Please, verify the issue for the latest release of EAP6 DR12

Comment 36 RH Bugzilla Integration 2012-03-02 12:24:46 UTC
Karel Piwko <kpiwko> changed the Status of [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854] from ON_QA to VERIFIED

Comment 37 RH Bugzilla Integration 2012-03-02 12:24:47 UTC
Karel Piwko <kpiwko> made a comment on [bug 744854|https://bugzilla.redhat.com/show_bug.cgi?id=744854]

Verified with ER2.

Comment 38 Karel Piwko 2012-03-02 12:25:11 UTC
Verified with ER2.

Comment 39 Anne-Louise Tangring 2012-11-04 14:32:55 UTC
Docs QE Status: Removed: NEW 


Comment 40 Anne-Louise Tangring 2012-11-04 23:11:32 UTC
Fixing Affects and Fix in Version