Thanks Gert, my apologies for some dumb words, I am begginer with servicemix.
I put configuration below in the project pom
<Export-Package>*</Export-Package>
<Private-Package>javax.jws.*</Private-Package>
<DynamicImport-Package>javax.*,
org.*</DynamicImport-Package>
<Bundle-ClassPath>.,
WEB-INF/classes</Bundle-ClassPath>
<Embed-Directory>WEB-INF/lib</Embed-Directory>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
<Import-Package>javax.servlet,
javax.servlet.http, !javax.jws, * </ImportPackage>
and the servicemix seems to be recognized the web/lib package to load dwr
dependencies.
But, I'm guessing the war bundle was still not deploy correctly because any
line of log was printed in the servimix.log and the webapp is not present at
http://localhost:8181/ops4j_pax_war_archetype_fzlbpms_template. How could I
check properly if the deploy was ok?
My servicemix installation is a default one and have this configuration. I
think there are all features to run war bundle.
karaf@root> features:list | grep -i pax
[uninstalled] [2.8.0-fuse-06-11 ] camel-paxlogging
camel-2.8.0-fuse-06-11
karaf@root> list | grep -i pax
[ 163] [Active ] [ ] [ ] [ 60] OPS4J Pax Web - API
(1.0.3)
[ 164] [Active ] [ ] [ ] [ 60] OPS4J Pax Web -
Runtime (1.0.3)
[ 165] [Active ] [ ] [ ] [ 60] OPS4J Pax Web -
Service SPI (1.0.3)
[ 166] [Active ] [ ] [ ] [ 60] OPS4J Pax Web - Jetty
(1.0.3)
[ 167] [Active ] [ ] [ ] [ 60] OPS4J Pax Web -
Extender - Whiteboard (1.0.3)
[ 168] [Active ] [ ] [ ] [ 60] OPS4J Pax Url - war
(1.2.6.fuse-01)
[ 170] [Active ] [ ] [ ] [ 60] OPS4J Pax Web -
Extender - WAR (1.0.3)
[ 171] [Active ] [ ] [ ] [ 60] OPS4J Pax Web - Jsp
Support (1.0.3)
[ 172] [Active ] [ ] [ ] [ 60] OPS4J Pax Web -
FileInstall Deployer (1.0.3)
[ 238] [Installed ] [ ] [ ] [ 60]
ops4j_pax_war_archetype_fzlbpms_template (1.0.0.SNAPSHOT)
karaf@root>
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Servlet-Class-is-not-found-by-servicemix-in-WEB-INF-lib-package-tp5713940p5713949.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.