Announcement Announcement Module
Collapse
No announcement yet.
cannot be resolved to absolute file path because it does not Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • cannot be resolved to absolute file path because it does not

    Hi All ,

    I am using spring in EJBs and we are deploying the application on weblogic server on windows os. The application context is placed in the jar file and the jar is in classpath. When the ejb is loaded we are getting "cannot be resolved to absolute file path because it does not reside in the file system" error. Can any body help on this.

    We deployed the same ear on jboss, there are no problems in loading the application context. The problem is only with weblogic.

    java.io.FileNotFoundException: URL [zip:/ZilliantWorkspace/userbranches/virtusa-zpm5.3/main/engine/work/_shared/weblogic/config/ut/applications/.wlnotdelete/wlap58889/zpm_engine.jar!/spring] cannot be resolved to absolute file path because it does not reside in the file system: zip:/ZilliantWorkspace/userbranches/virtusa-zpm5.3/main/engine/work/_shared/weblogic/config/ut/applications/.wlnotdelete/wlap58889/zpm_engine.jar!/spring
    at org.springframework.util.ResourceUtils.getFile(Res ourceUtils.java:172)
    at org.springframework.core.io.UrlResource.getFile(Ur lResource.java:68)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.doFindPathMatchingFileResour ces(PathMatchingResourcePatternResolver.java:343)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.findPathMatchingResources(Pa thMatchingResourcePatternResolver.java:255)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.getResources(PathMatchingRes ourcePatternResolver.java:187)
    at org.springframework.context.support.AbstractApplic ationContext.getResources(AbstractApplicationConte xt.java:661)
    at org.springframework.context.support.AbstractXmlApp licationContext.loadBeanDefinitions(AbstractXmlApp licationContext.java:103)
    at org.springframework.context.support.AbstractXmlApp licationContext.loadBeanDefinitions(AbstractXmlApp licationContext.java:71)
    at org.springframework.context.support.AbstractRefres hableApplicationContext.refreshBeanFactory(Abstrac tRefreshableApplicationContext.java:87)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:262)
    at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:80)
    at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:65)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:274)
    at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtils.java:100)
    at org.springframework.beans.factory.support.SimpleIn stantiationStrategy.instantiate(SimpleInstantiatio nStrategy.java:75)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.autowireConstructor(Abs tractAutowireCapableBeanFactory.java:579)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:322)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:226)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
    at org.springframework.context.support.AbstractApplic ationContext.getBean(AbstractApplicationContext.ja va:536)
    at org.springframework.beans.factory.access.Singleton BeanFactoryLocator.useBeanFactory(SingletonBeanFac toryLocator.java:399)
    at org.springframework.ejb.support.AbstractEnterprise Bean.loadBeanFactory(AbstractEnterpriseBean.java:1 17)
    at org.springframework.ejb.support.AbstractStatelessS essionBean.ejbCreate(AbstractStatelessSessionBean. java:63)


    Thanks a lot,
    Omkar
Working...
X