Results 1 to 2 of 2
  1. #1
    zabidin2 is offline Member
    Join Date
    Apr 2011
    Posts
    1
    Rep Power
    0

    Default Error when accessing from mobile

    Hi,

    We develop some application using java faces. We can access those application from pc and mobile. When access from pc, we didn't have much problem.

    But when we test accessing using mobile, we got those error. We still don't know either apps or what cause error below:
    Java Code:
    Apr 25, 2011 3:33:37 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:33:37 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:34:33 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:34:33 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.security.LoginController
    Apr 25, 2011 3:34:33 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.table.JcsEmployer
    Apr 25, 2011 3:34:33 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.table.JcsJobseeker
    Apr 25, 2011 3:34:36 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.security.LoginController
    Apr 25, 2011 3:34:37 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:34:39 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:34:42 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:34:48 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:34:48 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:35:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:35:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.load.ActiveJobseeker
    Apr 25, 2011 3:35:18 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:35:18 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.load.ActiveJobseeker
    Apr 25, 2011 3:35:31 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:35:31 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.list.ListMascoLvl1
    Apr 25, 2011 3:35:31 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:737)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
    at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
    at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:761)
    at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124)
    at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)
    at org.apache.coyote.Response.doWrite(Response.java:560)
    at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
    at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309)
    at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
    at org.apache.catalina.connector.Response.flushBuffer(Response.java:542)
    at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:166)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:166)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:411)
    at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:151)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:48)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at gov.jobsm.control.jsf.filter.ExpiresFilter.doFilter(ExpiresFilter.java:33)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
    Apr 25, 2011 3:35:45 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:35:45 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.list.ListMascoLvl1
    Apr 25, 2011 3:35:45 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:737)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
    at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
    at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:761)
    at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124)
    at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)
    at org.apache.coyote.Response.doWrite(Response.java:560)
    at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
    at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309)
    at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
    at org.apache.catalina.connector.Response.flushBuffer(Response.java:542)
    at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:166)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:166)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:411)
    at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:151)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:48)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at gov.jobsm.control.jsf.filter.ExpiresFilter.doFilter(ExpiresFilter.java:33)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
    Apr 25, 2011 3:35:48 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    User Agent : [Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C)]
    Apr 25, 2011 3:35:48 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.jsf.ResultList
    Apr 25, 2011 3:35:48 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.jsf.ResultList
    Apr 25, 2011 3:35:51 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:35:51 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:35:53 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:35:56 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:35:56 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:36:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.model.bean.SearchParameter
    Apr 25, 2011 3:36:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.load.ActiveJobseeker
    Apr 25, 2011 3:36:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.jsf.ResultList
    Apr 25, 2011 3:36:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.jsf.ResultList
    Apr 25, 2011 3:36:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.jsf.ResultList
    Apr 25, 2011 3:36:04 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.jsf.ResultList
    Apr 25, 2011 3:36:28 PM org.apache.myfaces.renderkit.RenderKitFactoryImpl addRenderKit
    INFO: RenderKit with renderKitId 'org.apache.myfaces.trinidad.core' was replaced.
    Apr 25, 2011 3:36:28 PM org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider newInstance
    INFO: Creating instance of gov.jobsm.control.list.ListMascoLvl1
    Please give some advice what we need to look. This log taken from Eclipse. Accessing from pc does not give any error.

    Thanks,
    BaniE.

  2. #2
    nicephotog is offline Member
    Join Date
    Mar 2012
    Posts
    41
    Rep Power
    0

    Default Re: Error when accessing from mobile

    guessing: Ordinary http servers are port "80",
    Mobiles may require some other config information and port.

Similar Threads

  1. ZK Mobile 0.8.5
    By JavaBean in forum Java Software
    Replies: 1
    Last Post: 09-12-2013, 09:22 AM
  2. OS of my mobile
    By young developer in forum Forum Lobby
    Replies: 3
    Last Post: 04-25-2013, 02:15 PM
  3. Error while accessing a JSP page (Spring Framework)
    By new_coder in forum Web Frameworks
    Replies: 0
    Last Post: 12-15-2010, 04:14 PM
  4. Error Accessing Methods in My JAR file
    By avu in forum Advanced Java
    Replies: 4
    Last Post: 03-23-2010, 12:35 AM
  5. Replies: 1
    Last Post: 08-07-2009, 12:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •