You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Zemian Deng <ke...@gmail.com> on 2008/09/02 08:48:40 UTC

problem running on tomcat6

Hi list,

Has anyone able to run archiva-1.1.1 war file on Tomcat6.0.18?

I deployed successful, but the home page redirects to
security/addadmin.action, and I get this error:

org.apache.jasper.JasperException:
/WEB-INF/tags/currentWWUrl.tag(29,0) "${!empty(action) &&
!empty(namespace)}" contains invalid expression(s):
javax.el.ELException: Function ':empty' not found
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
	org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
	org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
	org.apache.jasper.compiler.Validator.validate(Validator.java:1739)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
	org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215)
	org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
	org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
	org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:636)
	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
	org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
	org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:654)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
	com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
	com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)

Any idea?

Thanks,
-Z

-- 
Come visit my open source projects:
http://code.google.com/p/sweetscala - a Scala web framework. Building web
application the sweet way.
http://code.google.com/p/javasupport - a collection of libraries and tools
for Java development. Get a SpringMVC webapp started fast!

Re: problem running on tomcat6

Posted by Sandor Nemeth <sa...@gmail.com>.
I think you should check out the latest version from the svn repository at:

http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/

Then you have to build the application.

Regards,
Sandor Nemeth
--
This e-mail contains material that is confidential for the sole use of the
intended recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited. If you are not
the intended recipient, please contact the sender and delete all copies.


On Tue, Sep 2, 2008 at 5:15 PM, Zemian Deng <ke...@gmail.com>wrote:

> Thanks Sandor! That's exactly what I am experiencing.
>
> It says patch already in, but I don't see any snapshot out. I can't seem to
> find a link to where the trunk of source code for the project either. Can
> you give me a hand?
>
> Thanks,
> Zemian
>
> On Tue, Sep 2, 2008 at 2:56 AM, Sandor Nemeth
> <sa...@gmail.com>wrote:
>
> > Hy,
> >
> > there is a bug and a workaround at
> http://jira.codehaus.org/browse/MRM-905
> > .
> > This should solve your problem.
> >
> > Regards,
> > Sandor Nemeth
> > --
> > This e-mail contains material that is confidential for the sole use of
> the
> > intended recipient. Any review, reliance or distribution by others or
> > forwarding without express permission is strictly prohibited. If you are
> > not
> > the intended recipient, please contact the sender and delete all copies.
> >
> >
> > On Tue, Sep 2, 2008 at 8:48 AM, Zemian Deng <keepitsimple12@gmail.com
> > >wrote:
> >
> > > Hi list,
> > >
> > > Has anyone able to run archiva-1.1.1 war file on Tomcat6.0.18?
> > >
> > > I deployed successful, but the home page redirects to
> > > security/addadmin.action, and I get this error:
> > >
> > > org.apache.jasper.JasperException:
> > > /WEB-INF/tags/currentWWUrl.tag(29,0) "${!empty(action) &&
> > > !empty(namespace)}" contains invalid expression(s):
> > > javax.el.ELException: Function ':empty' not found
> > >
> > >
> >
>  org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
> > >
> > >
> >
>  org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> > >
> > >
> >
>  org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
> > >
> > >
> >
>  org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
> > >
> > >
> >
>  org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
> > >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
> > >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> > >
>  org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
> > >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
> > >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
> > >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> > >
>  org.apache.jasper.compiler.Validator.validate(Validator.java:1739)
> > >
> >  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
> > >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
> > >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> > >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> > >
> > >
> >
>  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
> > >
> > >
> >
>  org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215)
> > >
> > >
> >
>  org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
> > >
> > >
> >
>  org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
> > >
> > >
> >
>  org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:636)
> > >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
> > >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> > >
>  org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
> > >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
> > >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
> > >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> > >
> > >
> >
>  org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:654)
> > >
> >  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
> > >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
> > >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> > >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> > >
> > >
> >
>  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
> > >
> > >
> >
>  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
> > >
> > >
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> > >
>  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> > >        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > >
> > >
> >
>  com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
> > >
> > >
> >
>  com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
> > >
> > >
> >
>  com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> > >
> > > Any idea?
> > >
> > > Thanks,
> > > -Z
> > >
> > > --
> > > Come visit my open source projects:
> > > http://code.google.com/p/sweetscala - a Scala web framework. Building
> > web
> > > application the sweet way.
> > > http://code.google.com/p/javasupport - a collection of libraries and
> > tools
> > > for Java development. Get a SpringMVC webapp started fast!
> > >
> >
>
>
>
> --
> Come visit my open source projects:
> http://code.google.com/p/sweetscala - a Scala web framework. Building web
> application the sweet way.
> http://code.google.com/p/javasupport - a collection of libraries and tools
> for Java development. Get a SpringMVC webapp started fast!
>

Re: problem running on tomcat6

Posted by Zemian Deng <ke...@gmail.com>.
Thanks Sandor! That's exactly what I am experiencing.

It says patch already in, but I don't see any snapshot out. I can't seem to
find a link to where the trunk of source code for the project either. Can
you give me a hand?

Thanks,
Zemian

On Tue, Sep 2, 2008 at 2:56 AM, Sandor Nemeth
<sa...@gmail.com>wrote:

> Hy,
>
> there is a bug and a workaround at http://jira.codehaus.org/browse/MRM-905
> .
> This should solve your problem.
>
> Regards,
> Sandor Nemeth
> --
> This e-mail contains material that is confidential for the sole use of the
> intended recipient. Any review, reliance or distribution by others or
> forwarding without express permission is strictly prohibited. If you are
> not
> the intended recipient, please contact the sender and delete all copies.
>
>
> On Tue, Sep 2, 2008 at 8:48 AM, Zemian Deng <keepitsimple12@gmail.com
> >wrote:
>
> > Hi list,
> >
> > Has anyone able to run archiva-1.1.1 war file on Tomcat6.0.18?
> >
> > I deployed successful, but the home page redirects to
> > security/addadmin.action, and I get this error:
> >
> > org.apache.jasper.JasperException:
> > /WEB-INF/tags/currentWWUrl.tag(29,0) "${!empty(action) &&
> > !empty(namespace)}" contains invalid expression(s):
> > javax.el.ELException: Function ':empty' not found
> >
> >
>  org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
> >
> >
>  org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> >
> >
>  org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
> >
> >
>  org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
> >
> >
>  org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
> >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
> >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
> >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
> >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
> >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> >        org.apache.jasper.compiler.Validator.validate(Validator.java:1739)
> >
>  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
> >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
> >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> >
> >
>  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
> >
> >
>  org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215)
> >
> >
>  org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
> >
> >
>  org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
> >
> >
>  org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:636)
> >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
> >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
> >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
> >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
> >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
> >
> >
>  org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:654)
> >
>  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
> >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
> >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> >
> >
>  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
> >
> >
>  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
> >
> >  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> >        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >
> >
>  com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
> >
> >
>  com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
> >
> >
>  com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> >
> > Any idea?
> >
> > Thanks,
> > -Z
> >
> > --
> > Come visit my open source projects:
> > http://code.google.com/p/sweetscala - a Scala web framework. Building
> web
> > application the sweet way.
> > http://code.google.com/p/javasupport - a collection of libraries and
> tools
> > for Java development. Get a SpringMVC webapp started fast!
> >
>



-- 
Come visit my open source projects:
http://code.google.com/p/sweetscala - a Scala web framework. Building web
application the sweet way.
http://code.google.com/p/javasupport - a collection of libraries and tools
for Java development. Get a SpringMVC webapp started fast!

Re: problem running on tomcat6

Posted by Sandor Nemeth <sa...@gmail.com>.
Hy,

there is a bug and a workaround at http://jira.codehaus.org/browse/MRM-905.
This should solve your problem.

Regards,
Sandor Nemeth
--
This e-mail contains material that is confidential for the sole use of the
intended recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited. If you are not
the intended recipient, please contact the sender and delete all copies.


On Tue, Sep 2, 2008 at 8:48 AM, Zemian Deng <ke...@gmail.com>wrote:

> Hi list,
>
> Has anyone able to run archiva-1.1.1 war file on Tomcat6.0.18?
>
> I deployed successful, but the home page redirects to
> security/addadmin.action, and I get this error:
>
> org.apache.jasper.JasperException:
> /WEB-INF/tags/currentWWUrl.tag(29,0) "${!empty(action) &&
> !empty(namespace)}" contains invalid expression(s):
> javax.el.ELException: Function ':empty' not found
>
>  org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
>
>  org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
>
>  org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
>
>  org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
>
>  org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
>        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
>        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
>        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
>        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
>        org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
>        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
>        org.apache.jasper.compiler.Validator.validate(Validator.java:1739)
>        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
>
>  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
>
>  org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215)
>
>  org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
>
>  org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
>
>  org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:636)
>        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
>        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
>        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
>        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
>        org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
>        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
>
>  org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:654)
>        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
>        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
>
>  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
>
>  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
>
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>  com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
>
>  com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
>
>  com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
>
> Any idea?
>
> Thanks,
> -Z
>
> --
> Come visit my open source projects:
> http://code.google.com/p/sweetscala - a Scala web framework. Building web
> application the sweet way.
> http://code.google.com/p/javasupport - a collection of libraries and tools
> for Java development. Get a SpringMVC webapp started fast!
>