Announcement Announcement Module
Collapse
No announcement yet.
tomcat report Failed tracking modifications of '/WEB-INF/lib' Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • tomcat report Failed tracking modifications of '/WEB-INF/lib'

    Hi, all

    I developped OSGI web application based on spring dm. Below errors found while start the target platform as follows:

    5007 [SpringOsgiExtenderThread-4] INFO org.springframework.osgi.extender.internal.activat or.ContextLoaderListener - Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=cupcs.iltp .db, config=osgibundle:/META-INF/spring/*.xml))
    14224 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG org.apache.catalina.loader.WebappClassLoader - modified()
    14225 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG org.apache.catalina.loader.WebappClassLoader - Failed tracking modifications of '/WEB-INF/lib'


    According to the google, it seems tomcat (catalina, I tried both 6.0.24 and 5.5.23) has no permission to access my webapp's lib (i.e testwar/WEB-INF/lib). I added blow into the catalina.policy,

    grant {
    permission java.security.AllPermission;
    };

    However, this problem has not gone!!
    Any help are appreciated !!! Thanks in advance.
    Last edited by edward_he2008; Mar 13th, 2011, 11:08 AM.

  • #2
    version information and configuration

    Spring dm (osig) : 1.2
    Spring: 2.5.6.SEC01
    tomcat: catalina-5.5.23 and 6.0.24
    Spring-intergration: org.springframework.flex-1.0.1.CI-264.jar
    I want to call the third parth lib, so I copied it into my war bundle's lib as below directory strucure:

    testwar
    ├─META-INF
    │ MANIFEST.MF

    ├─WEB-INF
    │ │ applicationContext.xml
    │ │ flexService-servlet.xml
    │ │ web-application-context.xml
    │ │ web.xml
    │ │
    │ ├─classes
    │ │ ├─calldm
    │ │ │ DataMinerOSGiFacade.class
    │ │ │
    │ │ └─dataAccess
    │ │ GetLogDataOSGiFacade.class
    │ │
    │ ├─flex
    │ │ services-config.xml
    │ │
    │ └─lib
    │ org.springframework.flex-1.0.1.CI-264.jar
    | mylib.jar
    |


    set below in MANIFEST.MF :
    Bundle-ClassPath: WEB-INF/classes/,WEB-INF/lib/org.springframework.flex-1.0.1.CI-264.jar,WEB-INF/lib/mylib.jar,.
    Last edited by edward_he2008; Mar 13th, 2011, 11:06 AM.

    Comment

    Working...
    X