Announcement Announcement Module
Collapse
No announcement yet.
Insight not showing my application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Insight not showing my application

    Hi,

    I did the following :

    1 - Downloaded "tc Server Developer Edition" as a ZIP from the Spring web site
    2 - Unzipped it.
    3 - Created an instance with the provided insight template like that : tcruntime-instance.bat create -t insight myserver.
    4 - started this server (by installing the service and running the service).
    5 - Deployed my Spring-based app into this server (by dropping the war into the webapp folder).
    6 - Went to insight app with my browser.

    The problem is that my application is not showing in the insight app . I can see the insight page but no application . What do I have to do to get my application monitored by insight ?

    Note : My STS is using the bundled tcserver. When I deployed my app to this server through STS (using "run on server") everything works fine: I can see my aplication monitored by Insight.

    I someone could help me out with this I would be grateful.

    Sylvain

  • #2
    You'll need to exercise your application a bit before it will show up in Insight.
    Do you see any errors in the logs?

    Comment


    • #3
      I did but still not getting anything..
      Where does Insight get the data from ? From a log file ? Which log file ?
      Maybe my app is not logging into the correct file or not logging enough data. Can this be a problem ?

      Comment


      • #4
        Insight collects data by instumenting your code using AspectJ. It doesn't look at your logs.
        If there's something wrong with Insight, it should show up in it's logs.
        The logs folder for your instance should contain an insight.log file. Can please you post its content?

        Comment


        • #5
          there is only this in the log :

          2012-01-24 10:53:15,121 INFO [liquibase][pool-3-thread-1] - Successfully acquired change log lock
          2012-01-24 10:53:15,199 INFO [liquibase][pool-3-thread-1] - Reading from DATABASECHANGELOG
          2012-01-24 10:53:15,199 INFO [liquibase][pool-3-thread-1] - Reading from DATABASECHANGELOG
          2012-01-24 10:53:15,246 INFO [liquibase][pool-3-thread-1] - Successfully released change log lock
          2012-01-24 10:53:15,246 INFO [liquibase][pool-3-thread-1] - Successfully released change log lock
          2012-01-24 10:53:16,152 WARN [net.sf.ehcache.hibernate.AbstractEhcacheProvider][pool-3-thread-1] - A configurationResourceName was set to /META-INF/ehcache.xml but the resource could not be loaded from the classpath.Ehcache will configure itself using defaults.
          2012-01-24 10:53:16,371 WARN [org.hibernate.cache.impl.bridge.EntityRegionAdapte r][pool-3-thread-1] - read-only cache configured for mutable entity [com.springsource.insight.repo.tag.persist.Persiste dTag]

          Comment


          • #6
            And what's in the catalina log ?

            Comment


            • #7
              24-Jan-2012 10:53:08.262 INFO [WrapperSimpleAppMain] com.springsource.insight.tcserver.WeavingHelper.fi ndRepositoriesForClassPath file:/D:/vfabric-tc-server-developer-2.6.3.RELEASE/tcServerTomcat7/insight/collection-plugins/insight-collection-1.5.1.SR2.jar: aspects will be woven into the main Tomcat classloader
              24-Jan-2012 10:53:08.262 INFO [WrapperSimpleAppMain] com.springsource.insight.tcserver.WeavingHelper.fi ndRepositoriesForClassPath file:/D:/vfabric-tc-server-developer-2.6.3.RELEASE/tcServerTomcat7/insight/collection-plugins/insight-plugin-jdbc-1.5.1.SR2.jar: aspects will be woven into the main Tomcat classloader
              24-Jan-2012 10:53:08.262 INFO [WrapperSimpleAppMain] com.springsource.insight.tcserver.WeavingHelper.fi ndRepositoriesForClassPath file:/D:/vfabric-tc-server-developer-2.6.3.RELEASE/tcServerTomcat7/insight/collection-plugins/insight-plugin-tomcat-1.5.1.SR2.jar: aspects will be woven into the main Tomcat classloader
              24-Jan-2012 10:53:08.653 INFO [WrapperSimpleAppMain] com.springsource.tcserver.security.PropertyDecoder .<init> tc Runtime property decoder using memory-based key
              24-Jan-2012 10:53:08.887 INFO [WrapperSimpleAppMain] com.springsource.tcserver.security.PropertyDecoder .<init> tcServer Runtime property decoder has been initialized in 248 ms
              24-Jan-2012 10:53:09.403 INFO [WrapperSimpleAppMain] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-bio-8080"]
              24-Jan-2012 10:53:09.528 INFO [WrapperSimpleAppMain] com.springsource.tcserver.serviceability.rmi.JmxSo cketListener.init Started up JMX registry on 127.0.0.1:6969 in 103 ms
              24-Jan-2012 10:53:09.559 INFO [WrapperSimpleAppMain] org.apache.catalina.core.StandardService.startInte rnal Starting service Catalina
              24-Jan-2012 10:53:09.559 INFO [WrapperSimpleAppMain] org.apache.catalina.core.StandardEngine.startInter nal Starting Servlet Engine: VMware vFabric tc Runtime 2.6.3.RELEASE/7.0.23.A.RELEASE
              24-Jan-2012 10:53:09.559 INFO [pool-3-thread-1] org.apache.catalina.startup.HostConfig.deployDescr iptor Deploying configuration descriptor D:\vfabric-tc-server-developer-2.6.3.RELEASE\tcServerTomcat7\conf\Catalina\localh ost\insight.xml
              24-Jan-2012 10:53:09.949 INFO [pool-3-thread-1] com.springsource.insight.collection.tcserver.ltw.T omcatWeavingInsightClassLoader.start Context [localhost|insight] will not be woven
              24-Jan-2012 10:53:23.433 INFO [pool-3-thread-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive D:\vfabric-tc-server-developer-2.6.3.RELEASE\tcServerTomcat7\webapps\myappli.war
              24-Jan-2012 10:53:23.527 INFO [pool-3-thread-1] org.apache.catalina.loader.WebappClassLoader.valid ateJarFile validateJarFile(D:\vfabric-tc-server-developer-2.6.3.RELEASE\tcServerTomcat7\webapps\myappli\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
              24-Jan-2012 10:53:36.402 INFO [pool-3-thread-1] org.apache.catalina.startup.HostConfig.deployDirec tory Deploying web application directory D:\vfabric-tc-server-developer-2.6.3.RELEASE\tcServerTomcat7\webapps\manager
              24-Jan-2012 10:53:36.464 INFO [pool-3-thread-1] org.apache.catalina.startup.HostConfig.deployDirec tory Deploying web application directory D:\vfabric-tc-server-developer-2.6.3.RELEASE\tcServerTomcat7\webapps\ROOT
              24-Jan-2012 10:53:36.527 INFO [WrapperSimpleAppMain] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-bio-8080"]
              24-Jan-2012 17:16:02.475 INFO [Thread-11] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-bio-8080"]
              24-Jan-2012 17:16:02.475 INFO [Thread-11] org.apache.catalina.core.StandardService.stopInter nal Stopping service Catalina

              Comment

              Working...
              X