Hi. 

I'm struggling with installation of JSF enabled web applications to SMX
(karaf). The whole stack is here: 
http://fusesource.com/forums/thread.jspa?messageID=11739
http://fusesource.com/forums/thread.jspa?messageID=11739 

To be short: I tried the instructions, writtern here 
http://karaf.922171.n3.nabble.com/Apache-Karaf-amp-WAR-JSF-tt2465980.html#a2482122
http://karaf.922171.n3.nabble.com/Apache-Karaf-amp-WAR-JSF-tt2465980.html#a2482122
 
by Achim Nierbeck. Bundles for myfaces 1.2 are installed and run
successfully, whe web application is also run with no exceptions. But when I
try the address http://localhost:8080/sample (I use "osgi:install
war:file:c:\\temp\\myfaces-test-helloworld-osgi-pax-web.war?Webapp-Context=sample"
command), there is no reply from web server. 

The logs also show, that the context was not initialized correctly: 

13:35:28,318 | INFO | qtp8441961-62 | WebXmlObserver | 161 -
org.ops4j.pax.web.pax-web-extender-war - 1.0.3 | Using
myfaces-test-helloworld-osgi-pax-web as web application context name 
13:35:28,318 | INFO | qtp8441961-62 | WebXmlObserver | 161 -
org.ops4j.pax.web.pax-web-extender-war - 1.0.3 | Using [] as web application
root path 
13:35:28,318 | INFO | qtp8441961-62 | HttpServiceFactoryImpl | 157 -
org.ops4j.pax.web.pax-web-runtime - 1.0.3 | Binding bundle:
[myfaces-test-helloworld-osgi-pax-web 231] to http service 
13:35:28,318 | INFO | qtp8441961-62 | log | 114 - org.eclipse.jetty.util -
7.4.1.v20110513 | started
HttpServiceContext{httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@bd8e3b}
 
13:35:28,334 | INFO | qtp8441961-62 | StartupServletContextListener | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Checking for
plugins:org.apache.myfaces.FACES_INIT_PLUGINS 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default
value false 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.RENDER_HIDDEN_FIELDS_FOR_LINK_PARAMS' found, using
default value false 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value
false 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | No context init parameter
'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Tomahawk jar not available.
Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter
are disabled now. 
13:35:28,334 | INFO | qtp8441961-62 | MyfacesConfig | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Starting up Tomahawk on the
MyFaces-JSF-Implementation 
13:35:28,334 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Reading standard config
META-INF/standard-faces-config.xml 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Reading config
/WEB-INF/faces-config.xml 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : myfaces-api not
found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : myfaces-impl not
found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : tomahawk not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : tomahawk12 not
found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : tomahawk-sandbox
not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : tomahawk-sandbox12
not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : tomahawk-sandbox15
not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package :
myfaces-orchestra-core not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package :
myfaces-orchestra-core12 not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : trinidad-api not
found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : trinidad-impl not
found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : tobago not found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : commons-el not
found. 
13:35:28,381 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | MyFaces-package : jsp-api not found. 
13:35:28,381 | WARN | qtp8441961-62 | LocaleUtils | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Locale name in faces-config.xml null
or empty, setting locale to default locale : en_US 
13:35:28,396 | INFO | qtp8441961-62 | FacesConfigurator | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Serialization provider : class
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory 
*13:35:28,396 | WARN | qtp8441961-62 | AbstractFacesInitializer | 223 -
org.apache.myfaces.core.impl - 1.2.9 | File for navigation 'from id' does
not exist null/helloWorld.jsp *
13:35:28,396 | WARN | qtp8441961-62 | AbstractFacesInitializer | 223 -
org.apache.myfaces.core.impl - 1.2.9 | File for navigation 'to id' does not
exist null/page2.jsp 
13:35:28,396 | WARN | qtp8441961-62 | AbstractFacesInitializer | 223 -
org.apache.myfaces.core.impl - 1.2.9 | File for navigation 'from id' does
not exist null/page2.jsp
13:35:28,396 | WARN | qtp8441961-62 | AbstractFacesInitializer | 223 -
org.apache.myfaces.core.impl - 1.2.9 | File for navigation 'to id' does not
exist null/helloWorld.jsp 
*13:35:28,396 | INFO | qtp8441961-62 | AbstractFacesInitializer | 223 -
org.apache.myfaces.core.impl - *1.2.9 | ServletContext 'null' initialized.**
13:35:28,396 | INFO | qtp8441961-62 | StartupServletContextListener | 223 -
org.apache.myfaces.core.impl - 1.2.9 | Checking for
plugins:org.apache.myfaces.FACES_INIT_PLUGINS 

What can be the reason? Is it ever possible to use JSF inside Karaf? 

Thanks, Anton.

--
View this message in context: 
http://karaf.922171.n3.nabble.com/JSF-and-apache-servicemix-4-4-0-fuse-00-43-problems-tp3277669p3277669.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to