Jsp support is not enabled. Is org.ops4j.pax.web.jsp bundle installed?
----------------------------------------------------------------------

                 Key: SMX4-222
                 URL: https://issues.apache.org/activemq/browse/SMX4-222
             Project: ServiceMix 4
          Issue Type: Bug
    Affects Versions: 4.0-m2
            Reporter: Charles Moulliard
         Attachments: sample.war

Hi,

When I deploy the first time a sample.war file in the deploy folder of 
servicemix 4 (4.0-m2 snapshot created 13/02/2009), servicemix claims that Jsp 
support is not enabled and the jsp or servlet are not found (error 404) 
(http://localhost:8080/sample/hello.jsp & http://localhost:8080/sample/hello)

Remark : I can see the page http://localhost:8080/sample/index.html

14:43:32,870 | INFO  | Timer-1          | ReplaceableService               | 
ssbox.tracker.ReplaceableService   80 | Creating replaceable service for 
[interface org.osgi.service.http.HttpService]
14:43:32,870 | INFO  | Timer-1          | ServiceCollection                | 
issbox.tracker.ServiceCollection   88 | Creating service collection for 
[interface org.osgi.service.http.HttpService]
14:43:32,870 | INFO  | Timer-1          | ServiceCollection                | 
racker.ServiceCollection$Tracker  173 | Added service with reference 
[[org.osgi.service.http.HttpService, org.ops4j.pax.web.service.WebContainer]]
14:43:32,870 | INFO  | Timer-1          | HttpServiceFactoryImpl           | 
.internal.HttpServiceFactoryImpl   33 | binding bundle: 
[file__C__Workspace_SMX4_apache-servicemix-kernel-1.1.0-SNAPSHOT_deploy_sample.war
 [50]] to http service
14:43:32,870 | INFO  | Timer-1          | HttpServiceStarted               | 
vice.internal.HttpServiceStarted   61 | Creating http service for: 
file__C__Workspace_SMX4_apache-servicemix-kernel-1.1.0-SNAPSHOT_deploy_sample.war
 [50]
14:43:32,885 | INFO  | Timer-1          | ReplaceableService               | 
ssbox.tracker.ReplaceableService  109 | Service changed [null]  -> 
[org.ops4j.pax.web.service.internal.httpservicepr...@1bc93a7]
14:43:32,885 | INFO  | Timer-1          | HttpServiceProxy                 | 
ervice.internal.HttpServiceProxy   74 | Creating adefault context
14:43:32,901 | INFO  | Timer-1          | HttpServiceProxy                 | 
ervice.internal.HttpServiceProxy  156 | Setting context paramters 
[{webapp.context=file__C__Workspace_SMX4_apache-servicemix-kernel-1.1.0-SNAPSHOT_deploy_sample.war}]
14:43:32,917 | INFO  | Timer-1          | HttpServiceProxy                 | 
ervice.internal.HttpServiceProxy   62 | Registering resource: [/] -> 
14:43:33,011 | INFO  | Timer-1          | JettyServerWrapper               | 
vice.internal.JettyServerWrapper  109 | added servlet context: 
httpservicecontext{httpcontext=org.ops4j.pax.web.extender.war.internal.webapphttpcont...@2b3574}
14:43:33,073 | INFO  | Timer-1          | HttpServiceProxy                 | 
ervice.internal.HttpServiceProxy  166 | Registering jsps
14:43:33,073 | WARN  | Timer-1          | RegisterWebAppVisitorWC          | 
internal.RegisterWebAppVisitorWC  146 | Jsp support is not enabled. Is 
org.ops4j.pax.web.jsp bundle installed?
14:43:33,089 | INFO  | Timer-1          | HttpServiceProxy                 | 
ervice.internal.HttpServiceProxy   96 | Registering servlet 
[mypackage.he...@3c33d3]
14:43:33,105 | INFO  | Timer-1          | FileMonitor                      | 
x.kernel.filemonitor.FileMonitor  544 | Started: 
file__C__Workspace_SMX4_apache-servicemix-kernel-1.1.0-SNAPSHOT_deploy_sample.war
 [50]

osgi list 

[  43] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jetty-6.1.14 
(6.1.14.SNAPSHOT)
[  44] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container (0.4.1)
[  45] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.4.1)
[  46] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.3.0)
[  47] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard 
(0.3.0)
[  48] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.3.2)
[  49] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer 
(4.0.0.m2-SNAPSHOT)
[  50] [Active     ] [       ] [   60] 
file__C__Workspace_SMX4_apache-servicemix-kernel-1.1.0-SNAPSHOT_deploy_sample.war
 (0)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to