You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/09/07 12:32:42 UTC

[Bug 56923] New: NullPointerException when starting tomcat8-examples in Tomcat Web Application Manager

https://issues.apache.org/bugzilla/show_bug.cgi?id=56923

            Bug ID: 56923
           Summary: NullPointerException when starting tomcat8-examples in
                    Tomcat Web Application Manager
           Product: Tomcat 8
           Version: 8.0.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Examples
          Assignee: dev@tomcat.apache.org
          Reporter: xypron.glpk@gmx.de
                CC: xypron.glpk@gmx.de

Created attachment 31971
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31971&action=edit
catalina.out

Starting application examples using the Tompcat web application manager fails
with a NullPointerException. Please, find attached catalina.out.

Apache Tomcat/8.0.9 (Debian)
JVM 1.7.0_65-b32 Oracle Corporation
Linux 3.16.0 i386

Debian Bug report #753372
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753372

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56923] Symlinks under WEB-INF/lib trigger a NullPointerException in StandardJarScanner

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56923

--- Comment #4 from Emmanuel Bourg <eb...@apache.org> ---
Adding <Resources allowLinking="true"/> to the context solved the issue, thank
you for the help Mark.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56923] Symlinks under WEB-INF/lib trigger a NullPointerException in StandardJarScanner

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56923

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Then that is a packaging issue for Debian to solve. A default Tomcat install
from the ASF doesn't use symlinks. It looks like the Debian folks have failed
to read the migration guide, particularly the section on Web application
resources.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56923] Symlinks under WEB-INF/lib trigger a NullPointerException in StandardJarScanner

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56923

Emmanuel Bourg <eb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|8.0.9                       |8.0.12
         Resolution|INVALID                     |---
            Summary|NullPointerException when   |Symlinks under WEB-INF/lib
                   |starting tomcat8-examples   |trigger a
                   |in Tomcat Web Application   |NullPointerException in
                   |Manager                     |StandardJarScanner

--- Comment #2 from Emmanuel Bourg <eb...@apache.org> ---
It looks like this issue is caused by the symlinks to /usr/share/java/jstl.jar
and /usr/share/java/standard.jar installed in the WEB-INF/lib directory of the
examples application. Replacing the links with the actual files no longer
triggers the error.

This error doesn't appear with the tomcat7-examples package which also uses
symlinks (Tomcat 7.0.55).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56923] NullPointerException when starting tomcat8-examples in Tomcat Web Application Manager

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56923

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Absent some evidence to the contrary, the assumption is going to be that this
is a bug in Debian's packaging since we haven't had any similar reports for the
the Tomcat 8.0.9 release.

If you can reproduce this with an Apache Tomcat installed from the ASF
distribution then please re-open this and provided the steps necessary to
recreate the issue from a clean install.

To avoid reporting known issues that have already been fixed, I recommend
testing with the latest 8.0.x release (8.0.12 at the time of writing) rather
than 8.0.9.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org