Hi,

When zksandbox stays in processing , the problem is he tries to access a path who gives a 404:

Problem accessing /zksandbox/zkau/web/_zv2014090212/js/zksandbox.wpd. Reason:

    /js/zksandbox.wpd

When you refresh , the problem again disappears and comes back again every 2 tries.

Achim ,
I think it seems to be affecting only Windows instances and it seems to be more a pax-web issue,WDYT?

Regards,
Morgan

On 15/07/2015 22:36, Achim Nierbeck wrote:
Hi,

I'm sorry to say, today I started it once more, it worked like a charm for me. Vanilla Karaf, installed the war feature, droped the zksandbox.war in the deploy-folder.
Opened the Browser http://localhost:8181/zksandbox/

No issue with the page, even after refreshing a couple times. This time I also had no issue with the first Call to the page, guess some stuff has been cashed in the browser.

This is the log of it:

2015-07-15 22:30:49,281 | INFO | pool-27-thread-1 | WebManager | 95 - zksandbox - 0.0.0 | Starting ZK 7.0.3 EE (build: 2014090212) 2015-07-15 22:30:49,292 | INFO | pool-27-thread-1 | ConfigParser | 95 - zksandbox - 0.0.0 | Loading system default 2015-07-15 22:30:49,371 | INFO | pool-27-thread-1 | ConfigParser | 95 - zksandbox - 0.0.0 | Parsing bundle://95.0:35/metainfo/zk/zk.xml 2015-07-15 22:30:49,378 | INFO | pool-27-thread-1 | ConfigParser | 95 - zksandbox - 0.0.0 | Parsing bundle://95.0:31/metainfo/zk/zk.xml 2015-07-15 22:30:49,381 | INFO | pool-27-thread-1 | ConfigParser | 95 - zksandbox - 0.0.0 | Parsing bundle://95.0:32/metainfo/zk/zk.xml 2015-07-15 22:30:49,386 | INFO | pool-27-thread-1 | ConfigParser | 95 - zksandbox - 0.0.0 | Parsing bundle://95.0:0/WEB-INF/zk.xml 2015-07-15 22:30:49,448 | ERROR | pool-27-thread-1 | global | 95 - zksandbox - 0.0.0 | This is an evaluation copy of ZK EE and will terminate after sixty days from the first date of installation. Should you require an open source license or commercial license for ZK EE please contact us at [email protected] <mailto:[email protected]> for more information. Alternatively you can download ZK CE which is licensed under the LGPL. 2015-07-15 22:30:50,581 | INFO | pool-27-thread-1 | ContextHandler | 75 - org.eclipse.jetty.util - 9.2.10.v20150310 | Started HttpServiceContext{httpContext=WebAppHttpContext{zksandbox - 95}} 2015-07-15 22:30:50,583 | INFO | pool-27-thread-1 | Server | 75 - org.eclipse.jetty.util - 9.2.10.v20150310 | jetty-9.2.10.v20150310 2015-07-15 22:30:50,650 | INFO | pool-27-thread-1 | ServerConnector | 75 - org.eclipse.jetty.util - 9.2.10.v20150310 | Started default@3ffdb72b{HTTP/1.1}{0.0.0.0:8181 <http://0.0.0.0:8181>} 2015-07-15 22:30:50,651 | INFO | pool-27-thread-1 | Server | 75 - org.eclipse.jetty.util - 9.2.10.v20150310 | Started @12084ms 2015-07-15 22:31:25,904 | INFO | tp1861973215-111 | LabelLoaderImpl | 95 - zksandbox - 0.0.0 | Loading labels for de_DE 2015-07-15 22:31:25,906 | INFO | tp1861973215-111 | LabelLoaderImpl | 95 - zksandbox - 0.0.0 | Loading labels for de 2015-07-15 22:31:25,907 | INFO | tp1861973215-111 | LabelLoaderImpl | 95 - zksandbox - 0.0.0 | Opening bundle://95.0:0/WEB-INF/zk-label.properties

regards, Achim


2015-07-15 6:58 GMT+02:00 Ken Longnan <[email protected] <mailto:[email protected]>>:

    Hi Achim,

    As you said:
    "The only thing I've seen is that I needed to reload the webpage
    once because the js and css didn't seem to have been loaded."

    This is exactly the problem I meet, if you try to refresh F5 page
    again, then web page will be hanging.

    If same war deploy to standalone Jetty, working well, that's why I
    am asking there is something wrong of embedded Jetty in Karaf?

    thanks & br,

    Ken


    Achim Nierbeck <[email protected]
    <mailto:[email protected]>> 于2015年7月15日周三 上午4:51写道:

        Hi,

        I'm sorry to say but I just can't reproduce it on my mac.
        The only thing I've seen is that I needed to reload the
        webpage once because the js and css didn't seem to have been
        loaded.
        But besides that everything worked alright.
        Did you check with different browsers?

        From the server point of view I'd say everything looks ok, as
        http:list and web:list give the expected result.
        How did you configure your logging, cause I had a lot of ZK
        related loggings, one of them that the 30 day testperiod just
        started.

        regards, Achim


        2015-07-14 15:56 GMT+02:00 Ken Longnan <[email protected]
        <mailto:[email protected]>>:

            Hi,

            Retest again, same issue.

            Windows 8 + Java 7 + Karaf 4 + zksandbox 7.0.3

            
http://downloads.sourceforge.net/project/zk1/ZK/zk-7.0.3/zk-sandbox-7.0.3.zip

            Information for http:list and web:list:
            karaf@root()> http:list
            ID | Servlet       | Servlet-Name | State       | Alias | Url
            
--------------------------------------------------------------------------------------------------------------------------
            95 |       | dspLoader    | Deployed    |   | [*.dsp]
            95 |       | zkLoader     | Deployed    |   | [*.zhtml, *.zul]
95 | JspServletWrapper | jsp | Deployed | | [*.jsp, *.jspx, *.jspf, *.xsp, *.JSP, *.JSPX, *.JSPF,
            *.XSP]
95 | ResourceServlet | default | Deployed | / | [/]
            95 |       | auEngine     | Deployed    |   | [/zkau/*]
            karaf@root()> web:list
            ID | State | Web-State   | Level | Web-ContextPath | Name
            
----------------------------------------------------------------------------
            95 | Active  | Deployed    | 80    | /zksandbox  |
            zksandbox (0.0.0)


            BR,

            Ken





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




--

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


Reply via email to