When I deploy a web application that depends on:

\WEB-INF\lib\jstl-1.2.jar
\WEB-INF\lib\myfaces-api-2.0.4.jar
\\WEB-INF\lib\myfaces-impl-2.0.4.jar
\\WEB-INF\lib\trinidad-api-2.0.0-beta-2.jar
\WEB-INF\lib\trinidad-impl-2.0.0-beta-2.jar

..in a clean weblogic 10.3 then all i fine, but when I deploy it in a
weblogic server with oracle service bus then I get this error:

<04-04-2011 14:32:32 CEST> <Error>
<org.apache.myfaces.webapp.AbstractFacesInitializer> <BEA-000000> <An
error occured while initializing MyFaces: java.io.FileN
otFoundException:
\Oracle\Middleware\Oracle_OSB1\soa\connectors\FileAdapter.rar!fileAdapter.jar
(The system cannot find the file specified)
javax.faces.FacesException: java.io.FileNotFoundException:
\Oracle\Middleware\Oracle_OSB1\soa\connectors\FileAdapter.rar!fileAdapter.jar
(The system cannot find
 the file specified)
        at 
org.apache.myfaces.config.annotation.DefaultAnnotationProvider.getAnnotatedClasses(DefaultAnnotationProvider.java:174)
        at 
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:92)
        at 
org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:148)
        at 
org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
        at 
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:452)
        at 
org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:303)
        at 
org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
        at 
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:126)
        at 
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111)
        at 
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

My own application has no reference to "fileAdapter.jar" but other
apps on the server probably have. Is the "getAnnotatedClasses()"
method cabable of seeing classes outside the applications own
classloader and thereby conflicting with applications installed as
part of the service bus? How should I interpret the error msg?

Reply via email to