It will be good if you recompile on seperate box, the
way I do as you may have special settings to work. You
will see that war is missing test files and may miss
others that is why I have prob recreating this.
--- Jeremy Whitlock <[EMAIL PROTECTED]> wrote:
> Rajesh,
> I'll see if I can replicate your issue and get back
> to you. We've realized
> recently that we are having problems with our test
> suite and this could be
> why we aren't seeing it. I'm fixing the test suite
> now but I will check out
> your problem to see if I can reproduce. Take care,
> Jeremy
>
> On 9/22/05, Rajesh Puri <[EMAIL PROTECTED]> wrote:
> >
> > David,
> >
> > I did exactly as said in email. On making war it
> puts
> > a war in target folder(this seems a new folder
> maven
> > created). The war file there is not of same size
> as
> > the one shppied in above unstable build. I do see
> > there were some error messages to do with test
> classes
> > etc while building war.
> >
> > But when I deploy this file I get following
> messages.
> > I did check my openejb.home was set right. But do
> note
> > that war you shipped with unstable did work. Here
> I am
> > trying to rebuild as my interest is to clone this
> on
> > Oracle and build my base app, so I have to make a
> > number of changes in the application plus this is
> my
> > learning process.
> > -------------------------------------------------
> >
> > 2005-09-22 09:45:24 StandardWrapperValve[jsp]:
> > Servlet.service() for servlet jsp threw exception
> > java.lang.IllegalStateException: ContextEJBLocal
> > cannot be retrieved from JNDI.
> > at
> >
>
org.acme.movie.JndiContext$1.getObject(JndiContext.java:60)
> > at
> >
>
org.acme.movie.JndiContext$1.lookup(JndiContext.java:87)
> > at
> >
>
org.apache.jsp.setup_jsp._jspService(setup_jsp.java:59)
> > at
> >
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> >
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
> > :324)
> > at
> >
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> > at
> >
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:237)
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> > at
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(
> > StandardWrapperValve.java:214)
> > at
> >
>
org.apache.catalina.core.StandardValveContext.invokeNext(
> > StandardValveContext.java:104)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> > :520)
> > at
> >
>
org.apache.catalina.core.StandardContextValve.invokeInternal(
> > StandardContextValve.java:198)
> > at
> >
>
org.apache.catalina.core.StandardContextValve.invoke(
> > StandardContextValve.java:152)
> > at
> >
>
org.apache.catalina.core.StandardValveContext.invokeNext(
> > StandardValveContext.java:104)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> > :520)
> > at
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> > :137)
> > at
> >
>
org.apache.catalina.core.StandardValveContext.invokeNext(
> > StandardValveContext.java:104)
> > at
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> > :117)
> > at
> >
>
org.apache.catalina.core.StandardValveContext.invokeNext(
> > StandardValveContext.java:102)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> > :520)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(
> > StandardEngineValve.java:109)
> > at
> >
>
org.apache.catalina.core.StandardValveContext.invokeNext(
> > StandardValveContext.java:104)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
> > :520)
> > at
> >
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> > at
> >
>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> > at
> >
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> > at
> >
> >
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > (Http11Protocol.java:705)
> > at
> >
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> > at
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.java:683)
> > at java.lang.Thread.run(Unknown Source)
> > Caused by: javax.naming.NoInitialContextException:
> > Cannot instantiate class:
> > org.openejb.client.LocalInitialContextFactory
> [Root
> > exception is java.lang.ClassNotFoundException:
> > org.openejb.client.LocalInitialContextFactory]
> > at
> >
>
javax.naming.spi.NamingManager.getInitialContext(Unknown
> > Source)
> > at
> >
>
javax.naming.InitialContext.getDefaultInitCtx(Unknown
> > Source)
> > at javax.naming.InitialContext.init(Unknown
> Source)
> > at javax.naming.InitialContext.<init>(Unknown
> Source)
> > at
> >
>
org.acme.movie.JndiContext$1.getObject(JndiContext.java:56)
> > ... 32 more
> > Caused by: java.lang.ClassNotFoundException:
> > org.openejb.client.LocalInitialContextFactory
> > at
> >
>
org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1340)
> > at
> >
>
org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1189)
> > at java.lang.ClassLoader.loadClassInternal(Unknown
> > Source)
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Unknown Source)
> > at
> >
>
com.sun.naming.internal.VersionHelper12.loadClass(Unknown
> > Source)
>
=== message truncated ===
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com