Hello,
I'm trying to add Tobago to my project, so I can use its JSF components.
Please see the attached file.
Thanks,
Daphna Deutsch
So far I performed:
1) Copy the following jars to my WebRoot\WEB-INF\lib directory:
a. myfaces-api-1.1.6
b. myfaces-impl-1.1.6
c. tobago-core-1.0.20
d. tobago-theme-charlotteville-1.0.20
e. tobago-theme-richmond-1.0.20
f. tobago-theme-scarborough-1.0.20
g. tobago-theme-speyside-1.0.20
h. tobago-theme-standard-1.0.20
2) I add the tobago-config.xml file to the WebRoot\WEB-INF directory.
3) I add the following lines to the web.xml file:
MyFacesExtensionsFilter
Faces Servlet
MyFacesExtensionsFilter
/faces/myFacesExtensionResource/*
multipartFormdataFilter
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter
multipartFormdataFilter
/faces/*
FacesServlet
javax.faces.webapp.FacesServlet
3
ResourceServlet
org.apache.myfaces.tobago.servlet.ResourceServlet
FacesServlet
/faces/*
ResourceServlet
/org/apache/myfaces/tobago/renderkit/*
Is there something else I need to do?
After deploying Im getting:
12:16:17 ScannerThread INFO TobagoLifecycleFactory - new
TobagoLifecycleFactory
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycleIds()
12:16:18 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:18 ScannerThread ERROR STDERR - Feb 9, 2009 12:16:18 PM
com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans
methods marked with these annotations will have said annotations processed.
12:16:18 ScannerThread INFO ViewHandlerImpl - Hiding RI base implemation:
com.sun.faces.application.viewhandleri...@13a05d2
12:16:20 ScannerThread INFO TobagoMultipartFormdataFilter - Configure
uploadRepositryPath for
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter to
C:\Users\daphnad\AppData\Local\Temp\
12:16:20 ScannerThread INFO TobagoMultipartFormdataFilter - Configure
uploadMaxFileSize for
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter to 1048576
12:16:20 ScannerThread INFO CacheManager - Selected
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
12:16:20 ScannerThread INFO LRUMapCacheFactory - Creating LRUMap cache
instance using parameters: {javax.faces.DEFAULT_SUFFIX=.xhtml,
javax.faces.CONFIG_FILES=/WEB-INF/faces-config.xml,
javax.faces.STATE_SAVING_METHOD=server, org.richfaces.SKIN=blueSky,
net.sf.jsfcomp.chartcreator.USE_CHARTLET=true}
12:16:20 ScannerThread INFO LRUMapCacheFactory - Creating LRUMap cache
instance of default capacity
12:16:20 ScannerThread INFO CacheManager - Selected
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
12:16:20 ScannerThread INFO LRUMapCacheFactory - Creating LRUMap cache
instance using parameters: {javax.faces.DEFAULT_SUFFIX=.xhtml,
javax.faces.CONFIG_FILES=/WEB-INF/faces-config.xml,
javax.faces.STATE_SAVING_METHOD=server, org.richfaces.SKIN=blueSky,
net.sf.jsfcomp.chartcreator.USE_CHARTLET=true}
12:16:20 ScannerThread INFO LRUMapCacheFactory - Creating LRUMap cache
instance of default capacity
When I tried to access my application Im getting the following exception:
12:16:20 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:16:20 ScannerThread INFO TobagoLifecycleFactory - getLifecycle("DEFAULT")
-> TobagoLifecycle
12:17:04 http-0.0.0.0-443-