[jboss-user] [JBoss Tools] - Is RichFaces supported out of the box in JBoss Tools

John Bailo do-not-reply at jboss.com
Fri Apr 9 15:00:52 EDT 2010


John Bailo [http://community.jboss.org/people/jabailo] replied to the discussion

"Is RichFaces supported out of the box in JBoss Tools"

To view the discussion, visit: http://community.jboss.org/message/536647#536647

--------------------------------------------------------------
After creating a very simple page, and right-clicking and selecting Debug in Eclipse, this message appears:

*HTTP Status 404 - /RFacesTest/testrf.jsf*
+The requested resource (/RFacesTest/testrf.jsf) is not available.+

*testrf.jsp*:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" version="2.0">
    <jsp:directive.page language="java"
        contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" />
    <jsp:text>
        <![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> ]]>
    </jsp:text>
    <jsp:text>
        <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
    </jsp:text>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>
<f:view>
<h:outputText value="Hello, RF" />
</f:view>
</body>
</html>
</jsp:root>

*Startup messages from Eclipse/JBoss server 4.2.3:*

14:44:51,204 INFO  [Server] Starting JBoss (MX MicroKernel)...

14:44:51,204 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)

14:44:51,219 INFO  [Server] Home Dir: C:\jboss\jboss-4.2.3.GA

14:44:51,219 INFO  [Server] Home URL: file:/C:/jboss/jboss-4.2.3.GA/

14:44:51,219 INFO  [Server] Patch URL: null

14:44:51,219 INFO  [Server] Server Name: default

14:44:51,219 INFO  [Server] Server Home Dir: C:\jboss\jboss-4.2.3.GA\server\default

14:44:51,219 INFO  [Server] Server Home URL: file:/C:/jboss/jboss-4.2.3.GA/server/default/

14:44:51,219 INFO  [Server] Server Log Dir: C:\jboss\jboss-4.2.3.GA\server\default\log

14:44:51,219 INFO  [Server] Server Temp Dir: C:\jboss\jboss-4.2.3.GA\server\default\tmp

14:44:51,234 INFO  [Server] Root Deployment Filename: jboss-service.xml

14:44:51,676 INFO  [ServerInfo] Java version: 1.5.0_22,Sun Microsystems Inc.

14:44:51,676 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_22-b03,Sun Microsystems Inc.

14:44:51,676 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86

14:44:52,180 INFO  [Server] Core system initialized

14:44:54,315 INFO  [WebService] Using RMI server codebase: http://localhost:8083/

14:44:54,315 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

14:44:54,833 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.

14:44:54,833 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer

14:44:55,047 INFO  [TransactionManagerService] Starting recovery manager

14:44:55,199 INFO  [TransactionManagerService] Recovery manager started

14:44:55,199 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference

14:44:58,494 INFO  [EJB3Deployer] Starting java:comp multiplexer

14:45:01,300 INFO  [NativeServerConfig] JBoss Web Services - Native

14:45:01,300 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)

14:45:02,703 INFO  [Embedded] Catalina naming disabled

14:45:02,917 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_22\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.5.0_22\jre\bin;native

14:45:03,054 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8084

14:45:03,069 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

14:45:03,069 INFO  [Catalina] Initialization processed in 373 ms

14:45:03,069 INFO  [StandardService] Starting service jboss.web

14:45:03,069 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA

14:45:03,146 INFO  [Catalina] Server startup in 88 ms

14:45:03,344 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/

14:45:04,091 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/

14:45:04,366 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/

14:45:04,518 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/

14:45:05,754 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/

14:45:06,623 INFO  [MailService] Mail Service bound to java:/Mail

14:45:06,974 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar

14:45:07,050 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar

14:45:07,126 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar

14:45:07,202 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar

14:45:07,324 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar

14:45:07,385 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar

14:45:07,492 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar

14:45:07,507 INFO  [QuartzResourceAdapter] start quartz!!!

14:45:07,614 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main

14:45:07,660 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.

14:45:07,660 INFO  [RAMJobStore] RAMJobStore initialized.

14:45:07,675 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

14:45:07,675 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2

14:45:07,675 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

14:45:09,002 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

14:45:09,322 INFO  [A] Bound to JNDI name: queue/A

14:45:09,322 INFO  [B] Bound to JNDI name: queue/B

14:45:09,322 INFO  [C] Bound to JNDI name: queue/C

14:45:09,322 INFO  [D] Bound to JNDI name: queue/D

14:45:09,322 INFO  [ex] Bound to JNDI name: queue/ex

14:45:09,353 INFO  [testTopic] Bound to JNDI name: topic/testTopic

14:45:09,353 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic

14:45:09,353 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

14:45:09,368 INFO  [testQueue] Bound to JNDI name: queue/testQueue

14:45:09,414 INFO  [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093

14:45:09,475 INFO  [DLQ] Bound to JNDI name: queue/DLQ

14:45:09,673 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

14:45:09,734 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/

14:45:10,100 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8084

14:45:10,146 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009

14:45:10,146 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 18s:897ms

14:45:14,920 INFO  [TomcatDeployer] deploy, ctxPath=/DISSOPRO, warUrl=file:/C:/Documents and Settings/jbailo/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/DISSOPRO.war/

14:45:15,149 INFO  [TomcatDeployer] deploy, ctxPath=/INGAdmin, warUrl=file:/C:/Documents and Settings/jbailo/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/INGAdmin.war/

14:45:15,438 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.

14:45:15,438 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 

14:45:15,438 ERROR [STDERR] log4j:ERROR [WebappClassLoader

  delegate: false

  repositories:

    /WEB-INF/classes/

----------> Parent Classloader:

java.net.FactoryURLClassLoader at 61a885

] whereas object of type 

14:45:15,438 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader at 80fa6f].

14:45:15,438 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".

14:45:15,682 INFO  [STDOUT] 14:45:15,682 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml

14:45:15,804 INFO  [STDOUT] 14:45:15,804 INFO  [FacesConfigurator] Reading config jar:file:/C:/Documents%20and%20Settings/jbailo/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/INGAdmin.war/WEB-INF/lib/richfaces-impl-3.3.0.GA.jar!/META-INF/faces-config.xml

14:45:17,329 INFO  [STDOUT] 14:45:17,329 INFO  [FacesConfigurator] Reading config jar:file:/C:/Documents%20and%20Settings/jbailo/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/INGAdmin.war/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar!/META-INF/faces-config.xml

14:45:18,229 INFO  [STDOUT] 14:45:18,229 INFO  [FacesConfigurator] Reading config jar:file:/C:/Documents%20and%20Settings/jbailo/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/INGAdmin.war/WEB-INF/lib/tomahawk-1.1.4.jar!/META-INF/faces-config.xml

14:45:18,260 INFO  [STDOUT] 14:45:18,260 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml

14:45:18,382 INFO  [STDOUT] 14:45:18,382 WARN  [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US

14:45:22,622 INFO  [STDOUT] 14:45:22,622 WARN  [WebXmlParser] Ignored element 'dispatcher' as child of 'filter-mapping'.

14:45:22,622 INFO  [STDOUT] 14:45:22,622 WARN  [WebXmlParser] Ignored element 'dispatcher' as child of 'filter-mapping'.

14:45:22,622 INFO  [STDOUT] 14:45:22,622 WARN  [WebXmlParser] Ignored element 'dispatcher' as child of 'filter-mapping'.

14:45:22,622 INFO  [STDOUT] 14:45:22,622 INFO  [StartupServletContextListener] ServletContext 'C:\Documents and Settings\jbailo\workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_4.2_Server\deploy\INGAdmin.war\' initialized.

14:45:22,622 INFO  [STDOUT] 14:45:22,622 INFO  [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory

14:45:22,668 INFO  [STDOUT] 14:45:22,668 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

14:45:22,683 INFO  [STDOUT] 14:45:22,683 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.SKIN=classic, org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL=true, org.apache.myfaces.ALLOW_JAVASCRIPT=true, companyName=RR Donnelley, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.apache.myfaces.PRETTY_HTML=true, org.apache.myfaces.DETECT_JAVASCRIPT=false, javax.faces.STATE_SAVING_METHOD=server, org.apache.myfaces.AUTO_SCROLL=true}

14:45:22,683 INFO  [STDOUT] 14:45:22,683 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity

14:45:22,713 INFO  [STDOUT] 14:45:22,713 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

14:45:22,713 INFO  [STDOUT] 14:45:22,713 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.SKIN=classic, org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL=true, org.apache.myfaces.ALLOW_JAVASCRIPT=true, companyName=RR Donnelley, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.apache.myfaces.PRETTY_HTML=true, org.apache.myfaces.DETECT_JAVASCRIPT=false, javax.faces.STATE_SAVING_METHOD=server, org.apache.myfaces.AUTO_SCROLL=true}

14:45:22,713 INFO  [STDOUT] 14:45:22,713 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity

14:45:22,759 INFO  [TomcatDeployer] deploy, ctxPath=/RFacesTest, warUrl=file:/C:/Documents and Settings/jbailo/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/RFacesTest.war/

14:45:22,942 WARN  [config] JSF1059: WARNING!  The com.sun.faces.verifyObjects feature is to aid developers not using tools.  It shouldn''t be enabled if using an IDE, or if this application is being deployed for production as it will impact application start times.

14:45:26,801 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

14:45:26,801 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {com.sun.faces.verifyObjects=true, org.ajax4jsf.SKIN=classic, companyName=RR Donnelley, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, com.sun.faces.validateXml=true, facelets.REFRESH_PERIOD=2, facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}

14:45:26,801 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity

14:45:26,831 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

14:45:26,831 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {com.sun.faces.verifyObjects=true, org.ajax4jsf.SKIN=classic, companyName=RR Donnelley, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, com.sun.faces.validateXml=true, facelets.REFRESH_PERIOD=2, facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}

14:45:26,831 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity

14:46:13,781 WARN  [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN 
 

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

Reply to this message by going to Community
[http://community.jboss.org/message/536647#536647]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100409/b87b7584/attachment.html 


More information about the jboss-user mailing list