Rossen Stoyanchev
40c203ca71
Minor fix in STOMP broker relay
...
This is a backport for a change made as part of:
113fd1180a
Issue: SPR-11884
12 years ago
Rossen Stoyanchev
d18fc53148
Avoid multiple invocations of afterConnectionClosed
...
This change ensures the state of a SockJS session is set to CLOSED
immediately after close is invoked. This avoids duplicate invocations
of afterConnectionClosed in WebSocket transport.
This is a backport of:
3af488a701
Issue: SPR-11884
12 years ago
Rossen Stoyanchev
618771d59d
Add check for unused WebSocket sessions
...
Sessions connected to a STOMP endpoint are expected to receive some
client messages. Having received none after successfully connecting
could be an indication of proxy or network issue. This change adds
periodic checks to see if we have not received any messages on a
session which is an indication the session isn't going anywhere
most likely due to a proxy issue (or unreliable network) and close
those sessions.
This is a backport for commit:
a3fa9c9797
Issue: SPR-11884
12 years ago
Rossen Stoyanchev
87077d3fad
Add support for setting removeOnCancelPolicy
...
This change introduces removeOnCancelPolicy on ThreadPoolTaskScheduler
and ScheduledExecutorFactoryBean and sets it to true for SockJS.
This ensures that cancelled tasks are removed immediately to avoid
the "unbounded retention of cancelled tasks" that is mentioned in
the Javadoc ScheduledThreadPoolExecutor:
"By default, such a cancelled task is not automatically removed from
the work queue until its delay elapses. While this enables further
inspection and monitoring, it may also cause unbounded retention of
cancelled tasks. To avoid this, set setRemoveOnCancelPolicy to true,
which causes tasks to be immediately removed from the work queue at
time of cancellation."
This is a backport for:
7441f23012
Issue: SPR-11918
12 years ago
Rossen Stoyanchev
c0c3618906
Fix concurrency issues in SockJS session impls
...
Cherry-picked from:
fcf6ae8328
Issue: SPR-11916
12 years ago
Spring Buildmaster
0405bb401a
Next development version
12 years ago
Juergen Hoeller
e3e71ba92a
Servlet 3 multipart request implements getParameterMap defensively as well
...
Issue: SPR-11074
(cherry picked from commit c7d1c49 )
12 years ago
Juergen Hoeller
d4e1b9eb4c
Polishing
...
(cherry picked from commit 6fef8b9 )
12 years ago
Rossen Stoyanchev
44ee51a6c9
Disable URL resolution in DTD declarations
...
Issue: SPR-11768
12 years ago
Juergen Hoeller
ba6d187b5c
Consistent MvcUriComponentsBuilder assertion handling
...
(cherry picked from commit 61b47ba )
12 years ago
Juergen Hoeller
54636b3f7c
Further UriComponentsBuilder javadoc revision
12 years ago
Juergen Hoeller
545c28fd4e
Minor UriComponentsBuilder javadoc revision
12 years ago
Juergen Hoeller
95a7bfd327
Consistent use of IllegalStateException instead of InternalError for UnsupportedEncodingException cause
...
(cherry picked from commit d9b39ad )
12 years ago
Juergen Hoeller
ccebbf74ec
Latest patches from ASM trunk
...
(cherry picked from commit cfc720d )
12 years ago
Juergen Hoeller
c350080f99
StringUtils.parseLocaleString parses variant correctly when variant contains country code
...
This commit also includes a JUnit 4 style revision of StringUtilsTests and ObjectUtilsTests.
Issue: SPR-11806
(cherry picked from commit 295a6ae )
12 years ago
Juergen Hoeller
6b9738fd68
Building against latest javax.el 2.2.x version
...
(cherry picked from commit f73a8ba )
12 years ago
Juergen Hoeller
1120680c65
Consistently log Class.getName() instead of Class.toString(), avoiding double class term in log message
...
Issue: SPR-11804
(cherry picked from commit 2619955 )
12 years ago
Juergen Hoeller
a2ef2c9d3e
Refined check for NoClassDefFoundError in getTestExecutionListeners()
...
Issue: SPR-11804
(cherry picked from commit 41ed228 )
12 years ago
Juergen Hoeller
1bbc032071
Backported proper updateAccessedAttributes test
...
Issue: SPR-11738
(cherry picked from commit 6188550 )
12 years ago
Juergen Hoeller
c70a81a805
Javadoc fixes
12 years ago
Juergen Hoeller
3c709a763d
Servlet 3 multipart request implements getParameterNames defensively (for WebLogic 12 compatibility)
...
This commit also includes lazy resolution support for StandardServletMultipartResolver, along the lines of existing lazy mode in CommonsMultipartResolver.
Issue: SPR-11074
Issue: SPR-11730
(cherry picked from commit 82336c3 )
12 years ago
Juergen Hoeller
7d78c65187
Properly evaluate @Conditional in case of multiple imports for same config class (fixing regression in Spring Boot)
...
Issue: SPR-11788
12 years ago
Rossen Stoyanchev
748167bfa3
Improve StringUtils.cleanPath
...
Issue: SPR-11793
12 years ago
Juergen Hoeller
3e70013b55
JmsResourceHolder checks for nested DataSource transactions as well (for Oracle AQ compatibility)
...
Issue: SPR-11791
(cherry picked from commit 5faacd5 )
12 years ago
Juergen Hoeller
ea9ad4ee9b
Properly evaluate @Conditional in case of multiple imports for same config class
...
Issue: SPR-11788
(cherry picked from commit 52f44b3 )
12 years ago
Rossen Stoyanchev
482eff81e1
Await TcpClient shutdown in STOMP relay
12 years ago
Juergen Hoeller
c706cbbed4
Latest possible dependency updates for spring-orm
...
(cherry picked from commit 0d22719 )
12 years ago
Juergen Hoeller
7bc38acbf6
Polishing
12 years ago
Juergen Hoeller
297e4eec36
Keep unused MemorySafeUndeclaredThrowableStrategy around in deprecated form for the 4.0.x line
...
Issue: SPR-11782
12 years ago
Juergen Hoeller
235b65d103
Polishing
...
(cherry picked from commit b0f0d2f )
12 years ago
Juergen Hoeller
8a28645dd6
ResultSetWrappingSqlRowSet preserves first matching column per name (as defined in ResultSet's javadoc)
...
Issue: SPR-11786
(cherry picked from commit 0728e32 )
12 years ago
Juergen Hoeller
f94ded830d
Consistent use of ClassUtils.forName instead of class.getClassLoader().loadClass
...
Issue: SPR-11780
(cherry picked from commit 551950c )
12 years ago
Juergen Hoeller
ad8f17b6af
Test compatibility with JasperReports 5.5.2
12 years ago
Juergen Hoeller
261520cea0
Undertow-related polishing
...
(cherry picked from commit 2750ab6 )
12 years ago
Juergen Hoeller
00aa40b8da
Consistent EhCache version between 4.1 and 4.0.5
12 years ago
Juergen Hoeller
ac9b64e528
Consistent declaration of JSP, JSTL and JavaMail API dependencies; updated several dependencies to latest maintenance releases (Tiles 3.0.4, Jetty 9.1.5)
12 years ago
Juergen Hoeller
1e7fade89e
JasperReports-related polishing
...
(cherry picked from commit 782d10c )
12 years ago
Stephane Nicoll
3c58be05a5
Fix typo
...
Issue: SPR-11571
(cherry picked from commit 6551aa6 )
12 years ago
Juergen Hoeller
ef290ff95c
Additional tests for configuration class importing via ASM
...
Issue: SPR-11647
(cherry picked from commit 8c9116f )
12 years ago
Juergen Hoeller
ae45794451
IdToEntityConverter defensively handles access to getDeclaredMethods
...
Issue: SPR-11758
(cherry picked from commit 381ccde )
12 years ago
Juergen Hoeller
fccec210b4
GenericTypeResolver returns null for entirely unresolvable type arguments only
...
Issue: SPR-11763
(cherry picked from commit bea34ea )
12 years ago
Sebastien Deleuze
96da77ef75
Avoid ConcurrentModificationException
...
Removal of cached destination is now moved outside the for loop
that removes subscriptions to avoid ConcurrentModificationException.
Also since updateCache is a LinkedHashMap with accessOrder=true,
a simple access with updateCache.get() modify the map.
By iterating over updateCache.entrySet(), we avoid this update.
Issue: SPR-11755
12 years ago
Juergen Hoeller
c9417d0610
Fixed invalid code tag in javadoc
...
(cherry picked from commit a139670 )
12 years ago
Spring Buildmaster
085e52fc31
Next development version
12 years ago
Juergen Hoeller
8f175046c8
spring-orm-hibernate4 requires aopalliance dependency now (after propdeps upgrade)
12 years ago
Juergen Hoeller
c1dbd9f150
Upgraded to propdeps plugin 0.0.6
...
(cherry picked from commit a842b93 )
12 years ago
Juergen Hoeller
42a35ef3be
AnnotationMetadataReadingVisitor passes metaAnnotationMap into getMergedAnnotationAttributes algorithm, for finding out about applicable overrides
...
Issue: SPR-11649
(cherry picked from commit 842a8a8 )
12 years ago
Rossen Stoyanchev
21fd68150a
Log ignored CONNECT messages at error level
...
Issue: SPR-11673
12 years ago
Rossen Stoyanchev
d20259be1d
Log STOMP ERROR frames at error level
...
Issue: SPR-11673
12 years ago
Rossen Stoyanchev
6ca921021c
Update log level
...
Issue: SPR-11673
12 years ago