Hi, Maybe I did not phrase my question properly but from the answer that was given, it sounds like it should be possible to run Pax Web within Wildfly OSGI environment. Right?
I was playing with some of the sample projects and I was able to install and run "helloworld-hs" and "helloworld-jsp-noclasses" in Wildfly osgi environment. I could not get "helloworld-jsp" to start due to the following error: Imported Packages javax.el -- Cannot be resolved javax.servlet -- Cannot be resolved javax.servlet.http -- Cannot be resolved javax.servlet.jsp,version=[2.3,3) -- Cannot be resolved javax.servlet.jsp.tagext,version=[2.3,3) -- Cannot be resolved org.apache.el,version=[2.2,3) -- Cannot be resolved org.apache.jasper.compiler,version=[2.2,3) -- Cannot be resolved org.apache.jasper.el,version=[2.2,3) -- Cannot be resolved org.apache.jasper.runtime,version=[2.2,3) -- Cannot be resolved org.apache.taglibs.standard.tag.rt.core,version=[1.2,2) -- Cannot be resolved org.ops4j.pax.web.jsp,version=[6.0,7) -- Cannot be resolved org.ops4j.pax.web.service,version=[6.0,7) -- Cannot be resolved org.osgi.framework,version=[1.0.0,2.0.0) -- Cannot be resolved org.osgi.service.http,version=[1.0.0,2.0.0) -- Cannot be resolved For some reason, none of the imported packages can be found. Not exactly sure why. I'll try with Jetty to see if I get the same errors. Thanks, Phong On Saturday, July 16, 2016 at 1:08:18 PM UTC-4, Achim Nierbeck wrote: > > Hi, > > hmm ... looks like you went some wrong turn on your path to > JSF+Primefaces. > Pax Web is a web container to be used in OSGi environments. In that > function > it needs to show that jsf and also extra libs like primefaces do work in > that > environment. So the sample you found is solely used in that context, > therefore it won't work with > Wildlfy 9 application server. Please look at some other place for JSF and > Primeface sample applications. > > best regards, Achim > > > 2016-07-16 14:44 GMT+02:00 Phong Pham <[email protected] <javascript:>>: > >> Hi, >> >> I am trying to ascertain if I can use Pax-web for my current project. >> >> This is my goal/requirement: >> - Wildfly 9 application server >> - Web application that can "use" jsf components defined in multiple osgi >> bundles >> >> Things that are unclear to me: >> >> - I've built the "war-jsf-primefaces" sample. How do I "install" it on >> Wildfly? >> - Do I need to configure Wildfly to use Pax-Web? If so how? >> >> Bottom line is I'm not sure where to begin. Hopefully, I'm asking the >> right question. >> Any help greatly appreciated. >> >> Thanks, >> Phong >> >> -- >> -- >> ------------------ >> OPS4J - http://www.ops4j.org - [email protected] <javascript:> >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OPS4J" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> > > Software Architect / Project Manager / Scrum Master > > -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
