Page 1 of 1

Getting a file not found exception on PrimeFaces-2.2RC2 jar

Posted: 13 Dec 2010, 22:57
by inxsible
I get this when deploying the application to Weblogic 10gR3(10.3.0).
I have checked and double checked and even triple checked and the jar file is under WEB-INF/lib/primefaces-2.2.RC2.jar.

Note however, that my application runs as expected. (or atleast a couple of pages which I have converted to primefaces do work)

Code: Select all

Dec 22, 2010 2:08:30 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.3 (FCS b03) for context '/org/application'
Dec 22, 2010 2:08:31 PM com.sun.faces.config.AnnotationScanner processClasspath
SEVERE: Unable to process annotations for url, zip:C:/bea103/user_projects/domains/helios/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/c8lq0j/war/WEB-INF/lib/primefaces-2.2.RC2.jar!/META-INF/faces-config.xml.  Reason: java.io.FileNotFoundException: zip:C:/bea103/user_projects/domains/helios/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/c8lq0j/war/WEB-INF/lib/primefaces-2.2.RC2.jar
Dec 22, 2010 2:08:31 PM com.sun.faces.config.AnnotationScanner processClasspath
SEVERE: 
java.io.FileNotFoundException: zip:C:/bea103/user_projects/domains/helios/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/c8lq0j/war/WEB-INF/lib/primefaces-2.2.RC2.jar
	at weblogic.utils.zip.ZipURLConnection.connect(Handler.java:78)
	at weblogic.utils.zip.ZipURLConnection.getInputStream(Handler.java:53)
	at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:195)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50)
	at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
	at com.sun.faces.config.AnnotationScanner.processClasspath(AnnotationScanner.java:298)
	at com.sun.faces.config.AnnotationScanner.getAnnotatedClasses(AnnotationScanner.java:217)
	at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:762)
	at com.sun.faces.config.ConfigManager$AnnotationScanTask.call(ConfigManager.java:733)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:326)
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(Unknown Source)
	at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
	at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
	at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143)
	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
	at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
	at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
	at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
	at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Can someone please help me out in figuring out why I am getting this error??

Re: Getting a file not found exception on PrimeFaces-2.2RC2

Posted: 22 Dec 2010, 21:10
by inxsible
Am I the only one getting this error?

Can this be weblogic related? If there is anyone using Weblogic 10gR3, can you please confirm if you do or do not get this error while deploying your application ?

Re: Getting a file not found exception on PrimeFaces-2.2RC2

Posted: 23 Dec 2010, 23:31
by inxsible
I tried to use 11gR1 Patchset 2 server with primefaces and I still get this error.

Re: Getting a file not found exception on PrimeFaces-2.2RC2

Posted: 21 Jan 2011, 13:41
by shaikoren
Was there any solution for this problem?

We are getting the same error with both PrmieFaces and OpenFaces.