Error while loading data at demo18

Help
irfan
2008-12-06
2012-12-13
  • irfan

    irfan - 2008-12-06

    I've tried the demo18 and I got this error when trying to load data through the grid :

    Error while loading data : http://localhost:8080/demo18/controller

    I've followed every instruction on what described in readme.txt. What could be wrong? Is there any advice on what things that I should checked?

     
    • mcarniel

      mcarniel - 2009-01-06

      I've tried with success demo18 sample app using tomcat 5.5.23 and with jdk 1.5/1.6.
      You ccould check log files stored by tomcat in "logs" folder of tomcat dir and the client-side log, by enabling java console (Win Ctrl Panel -> Java -> Advances folder -> Java Console -> enable java console
      In this way you should see a more detailed error, I believe...

       
    • mcarniel

      mcarniel - 2009-01-06

      Moreover, I've included this tomcat log, generated by my demo18 execution: you could check with your log, in order to find out if something is different: maybe there is some setting that is not uquals...

      6-gen-2009 9.51.25 org.apache.coyote.http11.Http11BaseProtocol init
      INFO: Initializing Coyote HTTP/1.1 on http-8080
      6-gen-2009 9.51.25 org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 1512 ms
      6-gen-2009 9.51.25 org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      6-gen-2009 9.51.25 org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
      6-gen-2009 9.51.25 org.apache.catalina.core.StandardHost start
      INFO: XML validation disabled
      6-gen-2009 9.51.26 org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive demo18.war
      6-gen-2009 9.51.27 org.springframework.web.context.ContextLoader initWebApplicat
      ionContext
      INFO: Root WebApplicationContext: initialization started
      6-gen-2009 9.51.27 org.springframework.context.support.AbstractApplicationContex
      t refresh
      INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContex
      t@4788d5: display name [Root WebApplicationContext]; startup date [Tue Jan 06 09
      :51:27 CET 2009]; root of context hierarchy
      6-gen-2009 9.51.28 org.springframework.beans.factory.xml.XmlBeanDefinitionReader
      loadBeanDefinitions
      INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/dataAc
      cessContext-local.xml]
      6-gen-2009 9.51.28 org.springframework.beans.factory.xml.XmlBeanDefinitionReader
      loadBeanDefinitions
      INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applic
      ationContext.xml]
      6-gen-2009 9.51.28 org.springframework.context.support.AbstractApplicationContex
      t refresh
      INFO: Bean factory for application context [org.springframework.web.context.supp
      ort.XmlWebApplicationContext@4788d5]: org.springframework.beans.factory.support.
      DefaultListableBeanFactory@124e935
      6-gen-2009 9.51.29 org.springframework.core.io.support.PropertiesLoaderSupport l
      oadProperties
      INFO: Loading properties file from ServletContext resource [/WEB-INF/jdbc.proper
      ties]
      6-gen-2009 9.51.29 org.springframework.context.support.AbstractApplicationContex
      t$BeanPostProcessorChecker postProcessAfterInitialization
      INFO: Bean 'org.springframework.aop.config.internalAutoProxyCreator' is not elig
      ible for getting processed by all BeanPostProcessors (for example: not eligible
      for auto-proxying)
      6-gen-2009 9.51.29 org.springframework.beans.factory.support.DefaultListableBean
      Factory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
      DefaultListableBeanFactory@124e935: defining beans [dataSource,transactionManage
      r,taskDao,deptDao,empDao,propertyConfigurer,mainFacade,org.springframework.aop.c
      onfig.internalAutoProxyCreator,org.springframework.aop.aspectj.AspectJExpression
      Pointcut,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor,txAdv
      ice]; root of factory hierarchy
      6-gen-2009 9.51.31 org.springframework.web.context.ContextLoader initWebApplicat
      ionContext
      INFO: Root WebApplicationContext: initialization completed in 4146 ms
      6-gen-2009 9.51.31 org.springframework.web.servlet.FrameworkServlet initServletB
      ean
      INFO: FrameworkServlet 'controller': initialization started
      6-gen-2009 9.51.31 org.springframework.context.support.AbstractApplicationContex
      t refresh
      INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContex
      t@2982bf: display name [WebApplicationContext for namespace 'controller-servlet'
      ]; startup date [Tue Jan 06 09:51:31 CET 2009]; parent: org.springframework.web.
      context.support.XmlWebApplicationContext@4788d5
      6-gen-2009 9.51.31 org.springframework.beans.factory.xml.XmlBeanDefinitionReader
      loadBeanDefinitions
      INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/contro
      ller-servlet.xml]
      6-gen-2009 9.51.32 org.springframework.context.support.AbstractApplicationContex
      t refresh
      INFO: Bean factory for application context [org.springframework.web.context.supp
      ort.XmlWebApplicationContext@2982bf]: org.springframework.beans.factory.support.
      DefaultListableBeanFactory@15daa9e
      6-gen-2009 9.51.32 org.springframework.beans.factory.support.DefaultListableBean
      Factory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
      DefaultListableBeanFactory@15daa9e: defining beans [handlerMapping,login,swingVi
      ewResolver,loadTasks,insertTasks,updateTasks,deleteTasks,validateTask,loadDepts,
      insertDepts,updateDepts,deleteDepts,validateDept,loadEmps,loadEmp,insertEmp,upda
      teEmp,deleteEmps,exportDataGrid,getDoc]; parent: org.springframework.beans.facto
      ry.support.DefaultListableBeanFactory@124e935
      6-gen-2009 9.51.32 org.springframework.web.servlet.FrameworkServlet initServletB
      ean
      INFO: FrameworkServlet 'controller': initialization completed in 591 ms

       
    • Luis Esnaola

      Luis Esnaola - 2009-03-23

      Hi all,

      I've the same problem, when I trying to load data through the grid:

      Error while loading data : http://localhost:8090/demo18/controller

      I'm trying the demo18 with Apache Tomcat/6.0.16 (is configured for port 8090), jdk1.6.0_02 and OpenSwing1.8.6 libraries. My Tomcat log is the next:

      23-mar-2009 10:29:04 org.apache.tomcat.util.digester.SetPropertiesRule begin
      ADVERTENCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:demo18' did not find a matching property.
      23-mar-2009 10:29:04 org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jre1.6.0_06\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\PC Connectivity Solution\;C:\;C:\PROGRA~1\NETMAN~1\System;C:\WINDOWS\system32;C:\Java\jdk1.6.0_06\bin;C:\Archivos de programa\MySQL;C:\Java\jdk1.6.0_06\lib\*.jar;C:\Java\jdk1.6.0_06\jre\lib\ext\*.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\*.jar;C:\ARCHIV~1\ULTRAE~1;E:\Tecnologias\batch;C:\IDEs\Eclipse Ganymede\utils\jd-gui.exe;C:\SCOP\apache-maven-2.0.9\bin;C:\Java\jdk1.6.0_06\bin;;C:\Archivos de programa\Microsoft Visual Studio\Common\Tools\WinNT;C:\Archivos de programa\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Archivos de programa\Microsoft Visual Studio\Common\Tools;C:\Archivos de programa\Microsoft Visual Studio\VC98\bin;C:\PROGRA~1\NETMAN~1\COMMON;C:\PROGRA~1\NETMAN~1\APPS\EMULAT~1;C:\PROGRA~1\NETMAN~1\APPS\X
      23-mar-2009 10:29:04 org.apache.coyote.http11.Http11Protocol init
      INFO: Inicializando Coyote HTTP/1.1 en puerto http-8090
      23-mar-2009 10:29:04 org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 351 ms
      23-mar-2009 10:29:04 org.apache.catalina.core.StandardService start
      INFO: Arrancando servicio Catalina
      23-mar-2009 10:29:04 org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
      23-mar-2009 10:29:04 org.apache.catalina.core.StandardContext addApplicationListener
      INFO: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
      23-mar-2009 10:29:04 org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      23-mar-2009 10:29:04 org.springframework.web.context.ContextLoader initWebApplicationContext
      INFO: Root WebApplicationContext: initialization started
      23-mar-2009 10:29:04 org.springframework.context.support.AbstractApplicationContext prepareRefresh
      INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@126f75b: display name [Root WebApplicationContext]; startup date [Mon Mar 23 10:29:04 CET 2009]; root of context hierarchy
      23-mar-2009 10:29:04 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
      23-mar-2009 10:29:04 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-manager.xml]
      23-mar-2009 10:29:04 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
      INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@126f75b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@17f409c
      23-mar-2009 10:29:04 org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
      INFO: Loading properties file from ServletContext resource [/WEB-INF/jdbc.properties]
      23-mar-2009 10:29:04 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
      INFO: Bean 'org.springframework.aop.config.internalAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
      23-mar-2009 10:29:04 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17f409c: defining beans [dataSource,transactionManager,taskDao,deptDao,empDao,propertyConfigurer,mainFacade,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor,txAdvice]; root of factory hierarchy
      23-mar-2009 10:29:05 org.springframework.web.context.ContextLoader initWebApplicationContext
      INFO: Root WebApplicationContext: initialization completed in 782 ms
      23-mar-2009 10:29:05 org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring FrameworkServlet 'controller'
      23-mar-2009 10:29:05 org.springframework.web.servlet.FrameworkServlet initServletBean
      INFO: FrameworkServlet 'controller': initialization started
      23-mar-2009 10:29:05 org.springframework.context.support.AbstractApplicationContext prepareRefresh
      INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@54f9f1: display name [WebApplicationContext for namespace 'controller-servlet']; startup date [Mon Mar 23 10:29:05 CET 2009]; parent: org.springframework.web.context.support.XmlWebApplicationContext@126f75b
      23-mar-2009 10:29:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
      INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/controller-servlet.xml]
      23-mar-2009 10:29:05 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
      INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@54f9f1]: org.springframework.beans.factory.support.DefaultListableBeanFactory@92b1a1
      23-mar-2009 10:29:05 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@92b1a1: defining beans [hessianObjectReceiver,handlerMapping,login,swingViewResolver,loadTasks,insertTasks,updateTasks,deleteTasks,validateTask,loadDepts,insertDepts,updateDepts,deleteDepts,validateDept,loadEmps,loadEmp,insertEmp,updateEmp,deleteEmps,exportDataGrid,getDoc]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@17f409c
      23-mar-2009 10:29:05 org.springframework.web.servlet.FrameworkServlet initServletBean
      INFO: FrameworkServlet 'controller': initialization completed in 109 ms
      23-mar-2009 10:29:05 org.apache.coyote.http11.Http11Protocol start
      INFO: Arrancando Coyote HTTP/1.1 en puerto http-8090
      23-mar-2009 10:29:05 org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /0.0.0.0:8009
      23-mar-2009 10:29:05 org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=0/15  config=null
      23-mar-2009 10:29:05 org.apache.catalina.startup.Catalina start
      INFO: Server startup in 1392 ms
      23-mar-2009 10:29:51 org.apache.catalina.core.StandardWrapperValve invoke
      GRAVE: Servlet.service() para servlet controller lanzó excepción
      java.lang.Exception: unknown code for readObject at 0xac (¬)
          at org.openswing.swing.util.server.HessianObjectReceiver.getObjectFromRequest(HessianObjectReceiver.java:60)
          at org.openswing.springframework.web.servlet.handler.OpenSwingHandlerMapping.getHandlerInternal(OpenSwingHandlerMapping.java:137)
          at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:184)
          at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1024)
          at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:838)
          at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
          at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
          at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          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:286)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Unknown Source)

      Any idea how solve it?

      Thanks in advances.
      Luis

       
    • Luis Esnaola

      Luis Esnaola - 2009-03-23

      Hello again, I solve it.

      The problem that I had, it was the controller-servlet.xml file, it was wrong. Now the demo is OK.

      Bye.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks