Hi,

this is due to the fact, that the default configuration for pax-web inside Karaf is using 8181 as default port for the
std. http connector. On how to change this behavior just take a look at [1]


Regards, Achim

[1] - http://karaf.apache.org/manual/latest-2.2.x/users-guide/http.html

Am 05.04.2012 21:07, schrieb Diane Andrus:
In regards to this,

I needed to point to http://localhost:8181/..... any ideas why or how to configure? I finally remembered that netstat tool, and that's how I figured that one out. After I had just about given up hope, too.
I also installed the samples feature instead of just the one sample.
So, now I have a working example, and my questions at the moment are answered.
--D



On Thu, Apr 5, 2012 at 2:35 PM, Diane Andrus <dmw.and...@gmail.com <mailto:dmw.and...@gmail.com>> wrote:

    I'm attempting to get the simple blueprint example working.
    I have karaf 2.2.5, brand new unzipped directory

    I added the pax wicket feature & installed wicket-spring
      features:addurl mvn:org.ops4j.pax.wicket/features/1.0.0/xml/features
      features:install wicket-spring
    Then I installed the blueprint sample
    install
    
mvn:org.ops4j.pax.wicket.samples.blueprint/org.ops4j.pax.wicket.samples.blueprint.simple/1.0.0

    Finally, I put http://localhost:8080/blueprint/simple/default in
    my google chrome address bar, and I get a can't connect error.

    There doesn't look to be any errors in the log.  What am I
    missing?  Is there a log somewhere that says: service available at
    /blueprint/simple/default

    Thanks for any help,

    Diane

    PS This seems like such a simple thing - but the other problem is
    that I can't search the mail archives for anyone else's similar
    issues:
    http://lists.ops4j.org/pipermail/general/
    I get a


      Forbidden

    You don't have permission to access /pipermail/general/ on this
    server.



    karaf output:
    karaf@root>  features:addurl
    mvn:org.ops4j.pax.wicket/features/1.0.0/xml/features
    karaf@root>  features:install wicket-spring
    2012-04-05 14:19:58.290:INFO:oejs.Server:jetty-7.5.4.v20111024
    2012-04-05 14:19:58.313:INFO:oejs.AbstractConnector:Started
    NIOSocketConnectorWrapper@0.0.0.0:8080
    <http://NIOSocketConnectorWrapper@0.0.0.0:8080> STARTING
    2012-04-05 14:19:58.483:INFO:oejs.Server:jetty-7.5.4.v20111024
    2012-04-05 14:19:58.490:INFO:oejs.AbstractConnector:Started
    SelectChannelConnector@0.0.0.0:8181
    <http://SelectChannelConnector@0.0.0.0:8181> STARTING
    karaf@root> install
    
mvn:org.ops4j.pax.wicket.samples.blueprint/org.ops4j.pax.wicket.samples.blueprint.simple/1.0.0
    Bundle ID: 86
    karaf@root> list
    START LEVEL 100 , List Threshold: 50
       ID   State         Blueprint      Spring    Level  Name
    [  72] [Active     ] [Created     ] [       ] [   60] OPS4J Pax
    Wicket :: Service (1.0.0)
    [  86] [Installed  ] [            ] [       ] [   60] OPS4J Pax
    Wicket :: Samples :: Blueprint :: Simple (1.0.0)
    karaf@root> start 86
    karaf@root> 2012-04-05
    14:20:26.579:INFO:oejsh.ContextHandler:started
    
HttpServiceContext{httpContext=org.ops4j.pax.wicket.internal.GenericContext@52fdeb}
    ********************************************************************
    *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
    ***                               ^^^^^^^^^^^                    ***
    *** Do NOT deploy to your live server(s) without changing this.  ***
    *** See Application#getConfigurationType() for more information. ***
    ********************************************************************
    2012-04-05 14:20:27.545:INFO:oejsh.ContextHandler:started
    
HttpServiceContext{httpContext=org.ops4j.pax.wicket.internal.GenericContext@1b71c12}
    ********************************************************************
    *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
    ***                               ^^^^^^^^^^^                    ***
    *** Do NOT deploy to your live server(s) without changing this.  ***
    *** See Application#getConfigurationType() for more information. ***
    ********************************************************************
    karaf@root> list
    START LEVEL 100 , List Threshold: 50
       ID   State         Blueprint      Spring    Level  Name
    [  72] [Active     ] [Created     ] [       ] [   60] OPS4J Pax
    Wicket :: Service (1.0.0)
    [  86] [Active     ] [Created     ] [       ] [   60] OPS4J Pax
    Wicket :: Samples :: Blueprint :: Simple (1.0.0)
    karaf@root> features:list
State Version Name Repository Description [uninstalled] [0.3 ] transaction karaf-enterprise-2.2.5 OSGi Transaction Manager [uninstalled] [0.3 ] jpa karaf-enterprise-2.2.5 OSGi Persistence Container [uninstalled] [0.3 ] jndi karaf-enterprise-2.2.5 OSGi Service Registry JNDI access
    [uninstalled] [0.3            ] application-without-isolation
    karaf-enterprise-2.2.5
[uninstalled] [2.2.5 ] karaf-framework karaf-2.2.5 [uninstalled] [2.5.6.SEC02 ] spring karaf-2.2.5 [uninstalled] [2.5.6.SEC02 ] spring-web karaf-2.2.5 [installed ] [3.0.6.RELEASE ] spring karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-aspects karaf-2.2.5 [installed ] [1.2.1 ] spring-dm karaf-2.2.5 [uninstalled] [1.2.1 ] spring-dm-web karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-instrument karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-jdbc karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-jms karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-struts karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-test karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-orm karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-oxm karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-tx karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-web karaf-2.2.5 [uninstalled] [3.0.6.RELEASE ] spring-web-portlet karaf-2.2.5 [uninstalled] [2.2.5 ] wrapper karaf-2.2.5 [uninstalled] [2.2.5 ] obr karaf-2.2.5 [installed ] [2.2.5 ] config karaf-2.2.5 [installed ] [7.5.4.v20111024] jetty karaf-2.2.5 [installed ] [2.2.5 ] http karaf-2.2.5 [uninstalled] [2.2.5 ] war karaf-2.2.5 [installed ] [2.2.5 ] kar karaf-2.2.5 [uninstalled] [2.2.5 ] webconsole-base karaf-2.2.5 [uninstalled] [2.2.5 ] webconsole karaf-2.2.5 [installed ] [2.2.5 ] ssh karaf-2.2.5 [installed ] [2.2.5 ] management karaf-2.2.5 [installed ] [2.2.5 ] eventadmin karaf-2.2.5 [uninstalled] [2.2.5 ] jasypt-encryption karaf-2.2.5 [installed ] [1.0.0 ] wicket pax-wicket-features-1.0.0 [installed ] [1.0.0 ] wicket-spring pax-wicket-features-1.0.0







_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general


--
- 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/>

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to