[
https://issues.apache.org/jira/browse/KARAF-1869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224221#comment-14224221
]
Marcin Cinik commented on KARAF-1869:
-------------------------------------
After fresh startup and removing $KARAF_INSTALL/data directory
{quote}
karaf@root()> bundle:list -t 0 |grep -i pax
1 | Active | 5 | 2.2.0 | OPS4J Pax Url - aether:
2 | Active | 5 | 2.2.0 | OPS4J Pax Url - wrap:
3 | Active | 8 | 1.7.4 | OPS4J Pax Logging - API
4 | Active | 8 | 1.7.4 | OPS4J Pax Logging - Service
57 | Active | 30 | 1.7.0 | OPS4J Pax Swissbox :: OSGi Core
61 | Active | 30 | 3.1.2 | OPS4J Pax Web - API
62 | Active | 30 | 3.1.2 | OPS4J Pax Web - Service SPI
63 | Active | 30 | 3.1.2 | OPS4J Pax Web - Runtime
64 | Active | 30 | 3.1.2 | OPS4J Pax Web - Jetty
{quote}
And then installing my own features:
{quote}
karaf@root()> feature:install xxx-framework-feature
*Refreshing* bundles org.apache.karaf.webconsole.features (71),
org.ops4j.pax.web.pax-web-jetty (64),
org.eclipse.jetty.aggregate.jetty-all-server (55),
org.apache.karaf.webconsole.http (73), org.apache.karaf.webconsole.gogo (72),
org.apache.xbean.reflect (59),
org.apache.geronimo.specs.geronimo-jaspic_1.0_spec (53),
org.apache.karaf.webconsole.instance (70),
*org.ops4j.pax.web.pax-web-runtime*(63)
Starting to listen for bundle events.
{quote}
And installing two more home made features:
{quote}
karaf@root()> feature:install xxx-uthentication
karaf@root()> feature:install xxx-yyy-plugin
{quote}
Going to http://localhost:8181/osgi/ and again JSP pages are not processed. I
can see '<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>' rendered
on the page.
Now issuing
{quote}
karaf@root()> bundle:refresh -f 63
{quote}
And the page is rendered correctly now.
My question is: how to avoid this additional refresh operation ???
> war deployer fails to find seemingly present jsp
> ------------------------------------------------
>
> Key: KARAF-1869
> URL: https://issues.apache.org/jira/browse/KARAF-1869
> Project: Karaf
> Issue Type: Bug
> Components: karaf-webcontainer
> Environment: 3.0.0-SNAPSHOT
> Reporter: Andrei Pozolotin
>
> when I manually deploy war with *.jsp inside, I consistently get "Jsp support
> is not enabled", although it looks like it is there.
> war in question comes from this zip
> http://www.hazelcast.com/files/hazelcast-2.3.1.zip
> {code}
> 2012-09-25 11:25:25,643 | INFO | Executor: 1 | HttpServiceFactoryImpl
> | 93 - org.ops4j.pax.web.pax-web-runtime - 2.1.0 | Binding bundle:
> [mancenter [132]] to http service
> 2012-09-25 11:25:25,649 | WARN | Executor: 1 | RegisterWebAppVisitorWC
> | 127 - org.ops4j.pax.web.pax-web-extender-war - 2.1.0 | Jsp support
> is not enabled. Is org.ops4j.pax.web.jsp bundle installed?
> {code}
> {code}
> andrei2@root()> list -t 0 | grep Web
> [ 91] [ Active] [ 30] OPS4J Pax Web - API (2.1.0)
> [ 92] [ Active] [ 30] OPS4J Pax Web - Service SPI (2.1.0)
> [ 93] [ Active] [ 30] OPS4J Pax Web - Runtime (2.1.0)
> [ 94] [ Active] [ 30] OPS4J Pax Web - Jetty (2.1.0)
> [ 97] [ Resolved] [ 30] Apache Karaf :: Web Console :: Branding
> (3.0.0.SNAPSHOT), Hosts: 98
> [ 98] [ Active] [ 30] Apache Karaf :: Web Console :: Console
> (3.0.0.SNAPSHOT), Fragments: 97
> [ 101] [ Active] [ 30] Apache Karaf :: Web Console :: Instance Plugin
> (3.0.0.SNAPSHOT)
> [ 102] [ Active] [ 30] Apache Karaf :: Web Console :: Features Plugin
> (3.0.0.SNAPSHOT)
> [ 103] [ Active] [ 30] Apache Karaf :: Web Console :: Gogo Plugin
> (3.0.0.SNAPSHOT)
> [ 104] [ Active] [ 30] Apache Karaf :: Web Console :: HTTP Plugin
> (3.0.0.SNAPSHOT)
> [ 124] [ Active] [ 30] Apache Felix Web Console Event Plugin (1.0.2)
> [ 125] [ Active] [ 30] OPS4J Pax Web - Jsp Support (2.1.0)
> [ 126] [ Active] [ 30] OPS4J Pax Web - Extender - Whiteboard (2.1.0)
> [ 127] [ Active] [ 30] OPS4J Pax Web - Extender - WAR (2.1.0)
> [ 128] [ Active] [ 30] OPS4J Pax Web - FileInstall Deployer (2.1.0)
> [ 130] [ Active] [ 30] Apache Karaf :: Web :: Core (3.0.0.SNAPSHOT)
> [ 131] [ Active] [ 30] Apache Karaf :: Web :: Commands (3.0.0.SNAPSHOT)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)