[Bug 57136] EL Parser escaping dollar sign not ${ or ${...}

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57136

Chatellier  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #11 from Chatellier  ---
Hi,

I think we are experiencing a regression on this.

We are using regular expression pattern with angularJs in our JSPs.
As doc says:
"Only when the EL is enabled for a page (see Section JSP.3.3.2, “Deactivating
EL Evaluation”), a literal $ can be quoted by \$, and a literal # can be quoted
by \#. This is not required but is useful for quoting EL expressions.

So we are using following source code:
ng-pattern="/^([1-9]+)\$/"

this should be replaced by JSP parser with:
ng-pattern="/^([1-9]+)$/"

But, this your fix, the code stay as this client side:
ng-pattern="/^([1-9]+)\$/"

So, according to spec, this seems to be a regression.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 58308] New: Tomcat stops intermittently (JVM crasches)

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58308

Bug ID: 58308
   Summary: Tomcat stops intermittently (JVM crasches)
   Product: Tomcat 7
   Version: 7.0.61
  Hardware: PC
Status: NEW
  Severity: major
  Priority: P2
 Component: Catalina
  Assignee: dev@tomcat.apache.org
  Reporter: carl...@gmail.com

We are having production traffic on TLS. Using NIO (sendfile disabled after
problems with that)

This is the the JVM dump:


# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (sharedRuntime.cpp:834), pid=5252, tid=3376
#  fatal error: exception happened outside interpreter, nmethods and vtable
stubs at pc 0x01914030
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b15) (build
1.8.0_45-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode
windows-amd64 compressed oops)
# Core dump written. Default location:
C:\apache-tomcat-7.0.61\hs_err_pid5252.mdmp
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---  T H R E A D  ---

Current thread (0x1fc0a000):  JavaThread "catalina-exec-98" daemon
[_thread_in_Java, id=3376, stack(0x2433,0x2443)]

Stack: [0x2433,0x2443]
[error occurred during error reporting (printing stack bounds), id 0xc005]

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x32b57a]
V  [jvm.dll+0x279873]
V  [jvm.dll+0x27a509]
V  [jvm.dll+0x2934e6]
V  [jvm.dll+0x297e0c]
V  [jvm.dll+0x32b408]
C  [ntdll.dll+0x2908d]
C  [ntdll.dll+0x18baf]
C  [ntdll.dll+0x4db38]
V  [jvm.dll+0x21bcd1]


---  P R O C E S S  ---

Java Threads: ( => current thread )
  0x1cb21800 JavaThread "Cewolf-SessionCleanup" daemon
[_thread_blocked, id=3888, stack(0x2473,0x2483)]
  0x1fc0c000 JavaThread "catalina-exec-107" daemon [_thread_blocked,
id=1484, stack(0x27ad,0x27bd)]
  0x1fc0b800 JavaThread "catalina-exec-106" daemon [_thread_blocked,
id=5704, stack(0x279d,0x27ad)]
  0x1fc75800 JavaThread "catalina-exec-105" daemon [_thread_in_native,
id=6048, stack(0x2583,0x2593)]
  0x1fc75000 JavaThread "catalina-exec-104" daemon [_thread_blocked,
id=1508, stack(0x24a3,0x24b3)]
  0x1fc72800 JavaThread "catalina-exec-103" daemon [_thread_blocked,
id=6084, stack(0x2493,0x24a3)]
  0x1fc74000 JavaThread "catalina-exec-101" daemon [_thread_blocked,
id=3984, stack(0x2483,0x2493)]
  0x1fc73800 JavaThread "catalina-exec-102" daemon [_thread_blocked,
id=1692, stack(0x2463,0x2473)]
  0x1fc0e800 JavaThread "catalina-exec-99" daemon [_thread_blocked,
id=3364, stack(0x2453,0x2463)]
=>0x1fc0a000 JavaThread "catalina-exec-98" daemon [_thread_in_Java,
id=3376, stack(0x2433,0x2443)]
  0x1fc0f000 JavaThread "catalina-exec-97" daemon [_thread_blocked,
id=6012, stack(0x2413,0x2423)]
  0x1fc09000 JavaThread "catalina-exec-94" daemon [_thread_blocked,
id=4320, stack(0x23e3,0x23f3)]
  0x1fc0d000 JavaThread "catalina-exec-93" daemon [_thread_blocked,
id=2620, stack(0x23d3,0x23e3)]
  0x1d748000 JavaThread "catalina-exec-91" daemon [_thread_blocked,
id=3972, stack(0x23a3,0x23b3)]
  0x1d742000 JavaThread "catalina-exec-92" daemon [_thread_in_native,
id=3392, stack(0x2393,0x23a3)]
  0x1d745000 JavaThread "catalina-exec-90" daemon [_thread_in_native,
id=624, stack(0x2383,0x2393)]
  0x1d749000 JavaThread "catalina-exec-89" daemon [_thread_blocked,
id=6008, stack(0x2373,0x2383)]
  0x1d744800 JavaThread "catalina-exec-88" daemon [_thread_in_native,
id=4840, stack(0x2363,0x2373)]
  0x1d746800 JavaThread "RMI RenewClean-[10.50.10.11:49169]" daemon
[_thread_blocked, id=4920, stack(0x2223,0x2233)]
  0x1d743800 JavaThread "catalina-exec-87" daemon [_thread_blocked,
id=4820, stack(0x22a3,0x22b3)]
  0x1d743000 JavaThread "catalina-exec-86" daemon [_thread_blocked,
id=3812, stack(0x2293,0x22a3)]
  0x1d3b9800 JavaThread "catalina-exec-84" daemon [_thread_in_native,
id=5804, stack(0x2273,0x2283)]
  0x1d3bd800 JavaThread "catalina-exec-85" daemon [_thread_blocked,
id=1188, stack(0x2153,0x2163)]
  0x1d3be000 JavaThread "catalina-exec-83" daemon [_thread_blocked,
id=3160, stac

[Bug 54621] [PATCH] custom mod_jk availability checks

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=54621

Tim  changed:

   What|Removed |Added

 CC||tim.einm...@kba.de

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

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



[Bug 58309] New: Update PCRE bundled under ISAPI Redirector

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58309

Bug ID: 58309
   Summary: Update PCRE bundled under ISAPI Redirector
   Product: Tomcat Connectors
   Version: 1.2.41
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: isapi
  Assignee: dev@tomcat.apache.org
  Reporter: rainer.j...@kippdata.de

The PCRE lib bundled in the native/iis/pcre directory is a very old 5.0 fork,
similar to what Apache httpd used for a long time.

It is not hard to update to 8.37, because we only need a few bits from the pcre
API which were mostly stable. Our Windows build files can also be adjusted
relatively simply to PCRE 8, because we only need the static PCRE lib. Although
PCRE supports cmake build, it seems more adequate to not demand downstream to
use cmake *just* to build the PCRE needed for the ISAPI redirector.

We might go further and switch to PCRE 10, but pushing for the latest 8 IMHO is
already a nice improvement making it much easier to stay in sync with future
PCRE 8 upstream releases.

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

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



svn commit: r1700254 - in /tomcat/jk/trunk: native/ native/iis/ native/iis/pcre/ native/iis/pcre/cmake/ native/iis/pcre/doc/ native/iis/pcre/doc/html/ native/iis/pcre/m4/ native/iis/pcre/sljit/ native

2015-08-31 Thread rjung
Author: rjung
Date: Mon Aug 31 14:24:56 2015
New Revision: 1700254

URL: http://svn.apache.org/r1700254
Log:
BZ 58309: ISAPI: Update bundled pcre from version
5.0 to 8.37.

- Add an entry to NOTICE
- drop unneeded HAS_PCRE and PCRE_STATIC defines
  from isapi Makefiles. HAS_PCRE was not used and
  PCRE_STATIC is already set in iis/pcre/config.h.
- drop dfatbles build no longer needed fro 8.37
- Use original pcre 8.37, added Windows build files
  - pcre.x86, pcre.amd64, pcre.ia64 (nmake)
  - pcre.dsp (MSVC GUI build)
  - config.hw
- When doing another update the pcre.* build
  files should be stable as long as no new files
  or file renames appear in pcre. The config.hw
  should be stable as long as the original
  file config.h.generic is stable.


[This commit notification would consist of 74 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



[Bug 58309] Update PCRE bundled under ISAPI Redirector

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58309

Rainer Jung  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Rainer Jung  ---
Committed in r1700254, will be part of version 1.2.42.

I did some build testing on Windows using the iis Makefile.* files and
isapi.dsp with MSVC 2010 on Win 7. Needs more testing to check against last
minute errors and also some functional runtime testing.

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

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



svn commit: r1700264 - in /tomcat/jk/trunk/native/iis: Makefile.amd64 Makefile.ia64 Makefile.x86 isapi.dsp

2015-08-31 Thread rjung
Author: rjung
Date: Mon Aug 31 15:35:19 2015
New Revision: 1700264

URL: http://svn.apache.org/r1700264
Log:
Add back PCRE_STATIC define dropped from IIS build
in r1700254.

Without it, the isapi_redirector.dll will not link
correctly, because the declarations in pcre.h
use PCRE_STATIC.

Modified:
tomcat/jk/trunk/native/iis/Makefile.amd64
tomcat/jk/trunk/native/iis/Makefile.ia64
tomcat/jk/trunk/native/iis/Makefile.x86
tomcat/jk/trunk/native/iis/isapi.dsp

Modified: tomcat/jk/trunk/native/iis/Makefile.amd64
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/Makefile.amd64?rev=1700264&r1=1700263&r2=1700264&view=diff
==
--- tomcat/jk/trunk/native/iis/Makefile.amd64 (original)
+++ tomcat/jk/trunk/native/iis/Makefile.amd64 Mon Aug 31 15:35:19 2015
@@ -111,7 +111,7 @@ LINK32_OBJS= \
IF EXIST $(OUTDIR)\$(TARGET).manifest \
mt -nologo -manifest $(OUTDIR)\$(TARGET).manifest 
-outputresource:$(OUTDIR)\$(TARGET).dll;2
 
-CPP_PROJ=-nologo -MD -W3 -O2 -Ob2 -Oy- -Zi -EHsc /I "..\common" /I "pcre" /D 
"WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AMD64_=1" -DWIN64 /D "_WIN64" /D 
"JK_ISAPI" /D "ISAPI_EXPORTS" $(CFLAGS) /Fo"$(INTDIR)\\" 
/Fd"$(INTDIR)\isapi_redirector_src" /FD /c
+CPP_PROJ=-nologo -MD -W3 -O2 -Ob2 -Oy- -Zi -EHsc /I "..\common" /I "pcre" /D 
"WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AMD64_=1" -DWIN64 /D "_WIN64" /D 
"PCRE_STATIC" /D "JK_ISAPI" /D "ISAPI_EXPORTS" $(CFLAGS) /Fo"$(INTDIR)\\" 
/Fd"$(INTDIR)\isapi_redirector_src" /FD /c
 
 .c{$(INTDIR)}.obj::
$(CPP) @<<

Modified: tomcat/jk/trunk/native/iis/Makefile.ia64
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/Makefile.ia64?rev=1700264&r1=1700263&r2=1700264&view=diff
==
--- tomcat/jk/trunk/native/iis/Makefile.ia64 (original)
+++ tomcat/jk/trunk/native/iis/Makefile.ia64 Mon Aug 31 15:35:19 2015
@@ -111,7 +111,7 @@ LINK32_OBJS= \
IF EXIST $(OUTDIR)\$(TARGET).manifest \
mt -nologo -manifest $(OUTDIR)\$(TARGET).manifest 
-outputresource:$(OUTDIR)\$(TARGET).dll;2
 
-CPP_PROJ=-nologo -MD -W3 -O2 -Ob2 -Zi -EHsc /I "..\common" /I "pcre" /D 
"WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_IA64_=1" -DWIN64 /D "_WIN64" /D 
"JK_ISAPI" /D "ISAPI_EXPORTS" $(CFLAGS) /Fo"$(INTDIR)\\" 
/Fd"$(INTDIR)\isapi_redirector_src" /FD /c 
+CPP_PROJ=-nologo -MD -W3 -O2 -Ob2 -Zi -EHsc /I "..\common" /I "pcre" /D 
"WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_IA64_=1" -DWIN64 /D "_WIN64" /D 
"PCRE_STATIC" /D "JK_ISAPI" /D "ISAPI_EXPORTS" $(CFLAGS) /Fo"$(INTDIR)\\" 
/Fd"$(INTDIR)\isapi_redirector_src" /FD /c 
 
 .c{$(INTDIR)}.obj::
$(CPP) @<<

Modified: tomcat/jk/trunk/native/iis/Makefile.x86
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/Makefile.x86?rev=1700264&r1=1700263&r2=1700264&view=diff
==
--- tomcat/jk/trunk/native/iis/Makefile.x86 (original)
+++ tomcat/jk/trunk/native/iis/Makefile.x86 Mon Aug 31 15:35:19 2015
@@ -113,7 +113,7 @@ LINK32_OBJS= \
IF EXIST $(OUTDIR)\$(TARGET).manifest \
mt -nologo -manifest $(OUTDIR)\$(TARGET).manifest 
-outputresource:$(OUTDIR)\$(TARGET).dll;2
 
-CPP_PROJ=-nologo -MD -W3 -O2 -Ob2 -Oy- -Zi -EHsc /I "..\common" /I "pcre" 
$(CFLAGS) /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "JK_ISAPI" /D "ISAPI_EXPORTS" 
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\isapi_redirector_src" /FD /c 
+CPP_PROJ=-nologo -MD -W3 -O2 -Ob2 -Oy- -Zi -EHsc /I "..\common" /I "pcre" 
$(CFLAGS) /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "PCRE_STATIC" /D "JK_ISAPI" 
/D "ISAPI_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\isapi_redirector_src" /FD /c 
 
 .c{$(INTDIR)}.obj::
$(CPP) @<<

Modified: tomcat/jk/trunk/native/iis/isapi.dsp
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/isapi.dsp?rev=1700264&r1=1700263&r2=1700264&view=diff
==
--- tomcat/jk/trunk/native/iis/isapi.dsp (original)
+++ tomcat/jk/trunk/native/iis/isapi.dsp Mon Aug 31 15:35:19 2015
@@ -42,8 +42,8 @@ RSC=rc.exe
 # PROP Intermediate_Dir "Release"
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D 
"_MBCS" /D "_USRDLL" /D "JK_ISAPI" /D "ISAPI_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /Zi /O2 /I "..\common" /I "pcre" /D "WIN32" /D 
"NDEBUG" /D "_WINDOWS" /D "JK_ISAPI" /D "ISAPI_EXPORTS" 
/Fd"Release/isapi_redirector_src" /FD /c
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D 
"_MBCS" /D "_USRDLL" /D "PCRE_STATIC" /D "JK_ISAPI" /D "ISAPI_EXPORTS" /YX /FD 
/c
+# ADD CPP /nologo /MD /W3 /Zi /O2 /I "..\common" /I "pcre" /D "WIN32" /D 
"NDEBUG" /D "_WINDOWS" /D "PCRE_STATIC" /D "JK_ISAPI" /D "ISAPI_EXPORTS" 
/Fd"Release/isapi_redirector_src" /FD /c
 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
 # A

svn commit: r1700267 - /tomcat/jk/trunk/native/iis/isapi.dsp

2015-08-31 Thread rjung
Author: rjung
Date: Mon Aug 31 15:45:55 2015
New Revision: 1700267

URL: http://svn.apache.org/r1700267
Log:
Add pcre static lib dependency to isapi MSVC GUI
build file (isapi.dsp).

I don't see how this could have ever worked,
except back in the very old days, bwfore pcre
was added to the ISAPI build.

Modified:
tomcat/jk/trunk/native/iis/isapi.dsp

Modified: tomcat/jk/trunk/native/iis/isapi.dsp
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/isapi.dsp?rev=1700267&r1=1700266&r2=1700267&view=diff
==
--- tomcat/jk/trunk/native/iis/isapi.dsp (original)
+++ tomcat/jk/trunk/native/iis/isapi.dsp Mon Aug 31 15:45:55 2015
@@ -53,7 +53,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib 
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib 
odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib 
strsafe.lib /nologo /base:"0x6A6B" /dll /debug /machine:I386 
/out:"Release\isapi_redirect.dll"
+# ADD LINK32 pcre\LibR\pcre.lib kernel32.lib user32.lib advapi32.lib 
ws2_32.lib mswsock.lib strsafe.lib /nologo /base:"0x6A6B" /dll /debug 
/machine:I386 /out:"Release\isapi_redirect.dll"
 
 !ELSEIF  "$(CFG)" == "isapi - Win32 Debug"
 
@@ -79,7 +79,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib 
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib 
odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib 
strsafe.lib /nologo /base:"0x6A6B" /dll /incremental:no /debug 
/machine:I386 /out:"Debug\isapi_redirect.dll"
+# ADD LINK32 pcre\LibD\pcre.lib kernel32.lib user32.lib advapi32.lib 
ws2_32.lib mswsock.lib strsafe.lib /nologo /base:"0x6A6B" /dll 
/incremental:no /debug /machine:I386 /out:"Debug\isapi_redirect.dll"
 
 !ENDIF 
 



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



[Bug 58308] Tomcat stops intermittently (JVM crasches)

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58308

Christopher Schultz  changed:

   What|Removed |Added

 OS||All
 Status|NEW |NEEDINFO

--- Comment #1 from Christopher Schultz  ---
Is this reproducible in a test environment? If so, can you upgrade to Tomcat
7.0.64 (current latest) and try again?

The JVM crash looks like a JVM bug (there is no native code mentioned in the
dump nor in the report) so the JVM appears to be at fault. If there is bad
state-management of resources on the Java side it could be a Tomcat bug as
well, but Tomcat's buggy Java code should not be able to crash the JVM.

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

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



[Bug 58308] Tomcat stops intermittently (JVM crasches)

2015-08-31 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58308

Mark Thomas  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Mark Thomas  ---
This is a JVM bug, not a Tomcat bug.

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

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