Worklight 6.2 - 移动浏览器模拟器中的错误

时间:2014-08-13 11:05:47

标签: mobile browser ibm-mobilefirst simulator

使用Worklight 6.2

  1. 我将应用程序部署到Worklight Server
  2. 我打开Worklight Console并点击“预览”
  3. 我看不到移动浏览器模拟器;浏览器仅在没有移动浏览器模拟器的情况下显示应用程序的index.html页面。
  4. Worklight Console中有堆栈跟踪。
  5. 我正在粘贴下面的一部分堆栈跟踪。
  6. -

    [ERROR   ] SRVE0777E: Exception thrown by application class    'sun.nio.ch.FileDispatcherImpl.writev0:-2'
    
    java.io.IOException: Broken pipe
    
        at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
    
        at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
    
        at sun.nio.ch.IOUtil.write(IOUtil.java:148)
    
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:524)
    
        at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
    
        at com.ibm.ws.tcpchannel.internal.NioSocketIOChannel.write(NioSocketIOChannel.java:206)
    
        at [internal classes]
    
        at com.worklight.gadgets.serving.PreviewServlet.handleAsLooseWorkspaceFile(PreviewServlet.java:206)
    
        at com.worklight.gadgets.serving.PreviewServlet.respondToRequest(PreviewServlet.java:115)
    
        at com.worklight.gadgets.serving.WebServingServletBase.doGetOrPost(WebServingServletBase.java:87)
    
        at com.worklight.gadgets.serving.WebServingServletBase.doGet(WebServingServletBase.java:71)
    
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
    
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
    
        at [internal classes]
    
        at com.worklight.core.auth.impl.AuthenticationFilter$1.execute(AuthenticationFilter.java:205)
    
        at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:76)
    
        at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:209)
    
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
    
        at [internal classes]
    
    
    
    
    [ERROR   ] SRVE0777E: Exception thrown by application class 'sun.nio.ch.FileDispatcherImpl.writev0:-2'
    
    java.io.IOException: Broken pipe
    
        at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
    
        at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
    
        at sun.nio.ch.IOUtil.write(IOUtil.java:148)
    
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:524)
    
        at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
    
        at com.ibm.ws.tcpchannel.internal.NioSocketIOChannel.write(NioSocketIOChannel.java:206)
    
        at [internal classes]
    
        at com.worklight.gadgets.serving.PreviewServlet.handleAsLooseWorkspaceFile(PreviewServlet.java:206)
    
        at com.worklight.gadgets.serving.PreviewServlet.respondToRequest(PreviewServlet.java:115)
    
        at com.worklight.gadgets.serving.WebServingServletBase.doGetOrPost(WebServingServletBase.java:87)
    
        at com.worklight.gadgets.serving.WebServingServletBase.doGet(WebServingServletBase.java:71)
    
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
    
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
    
        at [internal classes]
    
        at com.worklight.core.auth.impl.AuthenticationFilter$1.execute(AuthenticationFilter.java:205)
    
        at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:76)
    
        at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:209)
    
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
    
        at [internal classes]
    
    
    
    
    [ERROR   ] SRVE0777E: Exception thrown by application class 'sun.nio.ch.FileDispatcherImpl.writev0:-2'
    
    java.io.IOException: Broken pipe
    
        at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
    
        at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
    
        at sun.nio.ch.IOUtil.write(IOUtil.java:148)
    
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:524)
    
        at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
    
        at com.ibm.ws.tcpchannel.internal.NioSocketIOChannel.write(NioSocketIOChannel.java:206)
    
        at [internal classes]
    
        at com.worklight.gadgets.serving.PreviewServlet.handleAsLooseWorkspaceFile(PreviewServlet.java:206)
    
        at com.worklight.gadgets.serving.PreviewServlet.respondToRequest(PreviewServlet.java:115)
    
        at com.worklight.gadgets.serving.WebServingServletBase.doGetOrPost(WebServingServletBase.java:87)
    
        at com.worklight.gadgets.serving.WebServingServletBase.doGet(WebServingServletBase.java:71)
    
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
    
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
    
        at [internal classes]
    
        at com.worklight.core.auth.impl.AuthenticationFilter$1.execute(AuthenticationFilter.java:205)
    
        at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:76)
    
        at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:209)
    
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
    
        at [internal classes]
    
    
    
    
    [ERROR   ] FWLSE0048E: Unhandled exception caught: java.io.IOException: Broken pipe
    
    com.ibm.ws.webcontainer.webapp.WebAppErrorReport: java.io.IOException: Broken pipe
    
        at com.ibm.ws.webcontainer.webapp.WebAppErrorReport.constructErrorReport(WebAppErrorReport.java:153)
    
        at com.ibm.ws.webcontainer.webapp.WebAppErrorReport.constructErrorReport(WebAppErrorReport.java:194)
    
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:830)
    
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:461)
    
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:127)
    
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:88)
    
        at com.worklight.core.auth.impl.AuthenticationFilter$1.execute(AuthenticationFilter.java:205)
    
        at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:76)
    
        at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:209)
    
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
    
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:85)
    
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:968)
    
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1056)
    
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4510)
    
        at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:282)
    
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:954)
    
        at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:252)
    
        at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:584)
    
        at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
    
        at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
    
        at java.lang.Thread.run(Thread.java:745)
    

1 个答案:

答案 0 :(得分:1)

很可能你有另一个JVM运行实例正在做同样的事情,也许你可以杀死java进程然后重试。