myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Smith <work.gr...@gmail.com>
Subject Re: Error at startup
Date Tue, 08 Nov 2005 17:03:42 GMT
Sorry.. I had a kneejerk reaction when I saw ZipException. Looking more
closely at the error, it looks like perhaps your config file cannot be
found. Could you show the contenent of your /WEB-INF/faces-config.xml


On 11/8/05, sri <smadarapu@gmail.com> wrote:
>
> Hi
>   Thanks for the reply.
>   My application is not in a war file. It is deployed in exploded
> formated. My app server and web server are being deployed on the same
> machine and same server instance.
>  Srikanth
>
>  On 11/8/05, Grant Smith <work.grant@gmail.com> wrote:
> >
> > It looks like your deployed .war file was copied (perhaps over a slow
> > link) to your app server. Sometimes the app server starts to deploy the .war
> > before the copy has completed. I would recommend first copying the .war to a
> > different directory on your app server, then moving it locally. If you are
> > using Tomcat, use the ANT tasks to deploy instead of trying to do a remote
> > copy.
> >
> > On 11/8/05, sri <smadarapu@gmail.com> wrote:
> > >
> > > Hi
> > >
> > > I am getting the following error, can somebody tell why would this
> > > occur. The error is being thrown while the server is being started. The
> > > myfaces.jar file is fine and works ok with other application.
> > >
> > > Nov 8, 2005 11:18:47 AM org.apache.myfaces.config.FacesConfiguratorfeedStandardConfig
> > > INFO: Reading standard config org/apache/myfaces/resource/standard-
> > > faces-config.xml
> > > Nov 8, 2005 11:18:47 AM org.apache.myfaces.config.FacesConfiguratorfeedClassloaderConfigurations
> > > INFO: Reading config
> > > jndi:C:\oc4j904Test\oc4j9.0.4.1\j2ee\home\applications\TestApp\web\WEB-INF\lib\myfaces.jar/META-INF/faces-
> > > config.xml
> > > Nov 8, 2005 11:18:47 AM org.apache.myfaces.config.FacesConfiguratorfeedContextSpecifiedConfig
> > > INFO: Reading config /WEB-INF/faces-config.xml
> > > Nov 8, 2005 11:18:47 AM
> > > org.apache.myfaces.webapp.StartupServletContextListener initFaces
> > > * SEVERE: Error initializing ServletContext
> > > javax.faces.FacesException: java.util.zip.ZipException: The system
> > > cannot find the file specified
> > > at org.apache.myfaces.config.FacesConfigurator.configure(
> > > FacesConfigurator.java :123)*
> > > at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(
> > > StartupServletContextListener.java:63)
> > > at
> > > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized
> > > (StartupServletContextListener.java :46)
> > > at com.evermind.server.http.HttpApplication.initDynamic(
> > > HttpApplication.java:771)
> > > at com.evermind.server.http.HttpApplication.<init>(
> > > HttpApplication.java:497)
> > > at com.evermind.server.Application.getHttpApplication (
> > > Application.java:886)
> > > at com.evermind.server.http.HttpServer.getHttpApplication(
> > > HttpServer.java:688)
> > > at com.evermind.server.http.HttpSite.initApplications(HttpSite.java
> > > :570)
> > > at com.evermind.server.http.HttpSite.setConfig (HttpSite.java:263)
> > > at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
> > > at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
> > > at com.evermind.server.ApplicationServer.initializeHttp (
> > > ApplicationServer.java:2330)
> > > at com.evermind.server.ApplicationServer.setConfig(
> > > ApplicationServer.java:1503)
> > > at com.evermind.server.ApplicationServerLauncher.run(
> > > ApplicationServerLauncher.java:93)
> > > at java.lang.Thread.run (Thread.java:534)
> > >
> > > Thanks in advance
> > > Srikanth
> > >
> >
> >
> >
> > --
> > Grant Smith
> >
>
>


--
Grant Smith

Mime
View raw message