AW: How to do a clean connector shut down?

2013-02-26 Thread Steffen Heil (Mailinglisten)
Hi


> Tomcat version = ?

7.0.33 rev 1397285


> I'd call destroy()
> http://tomcat.apache.org/tomcat-7.0-
> doc/api/org/apache/catalina/Lifecycle.html

I do now, and it works now.
THANKS.


One more question: What about connections still being open, when the
connector is destroyed?
I expected the connections to get closed, but at least in my websocket I do
not receive a StreamInbound.onClose ...?

For comet connections on the other hand, I seem to receive an event
(type=END).

Is this a bug in the websocket implementation or did I miss something?


Regards,
  Steffen



smime.p7s
Description: S/MIME cryptographic signature


[Tomcat Wiki] Update of "JNDI_startTLs_HowTo/Discussion" by AndreaBrugiolo

2013-02-26 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "JNDI_startTLs_HowTo/Discussion" page has been changed by AndreaBrugiolo:
http://wiki.apache.org/tomcat/JNDI_startTLs_HowTo/Discussion

New page:
The link generated from `[[attachment:LdapTlsContextFactory.java]]` on the 
[[JNDI_startTLs_HowTo]] page does not work for downloading: if I click it I get 
the error '''You are not allowed to do !AttachFile on this page''' -- no 
difference if I have logged in or not.

More: from reading the MoinMoin documentation I would also expect that link to 
contain '''`do=get`''' instead of `do=view` (but even if I use `do=get` to 
build the link I always get the same error as described above).

Thanks in advance to anybody who could correct this behaviour (and then remove 
this "discussion" page).

-- AndreaBrugiolo <>

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



Re: JarScanning

2013-02-26 Thread Christopher Schultz
Mark,

On 2/21/13 8:34 AM, Mark Thomas wrote:
> JRE JARs.
> I think scanning of these should be made optional and disabled by
> default. This will reduce the list of JARs we have to maintain in
> jarsToSkip. I intend to implement this unless there are any objections.

+1

Will you be checking the ClassLoader to determine whether this is a JRE
JAR or not? Does this apply to the JRE's "endorsed" JARs as well?
White-listing will still work to enable individual JARs in these
locations, right?

> jarsToScan
> This is a little more complicated.
> First of all, how does it work? The suggestion is:
> - If jarsToScan matches, scan it
> - else if jarsToSkip matches, skip it
> - else scan it

+1

> Assuming that the above is acceptable, it would require the following:
> a) three new system properties
>  tomcat.util.scan.DefaultJarScanner.jarsToScan
>  org.apache.catalina.startup.ContextConfig.jarsToScan
>  org.apache.catalina.startup.TldConfig.jarsToScan

-1 for the global-ness of these settings.

> b)  add a parameter to JarScanner.scan()
> 
> There are a couple of issues here.
> 2. (and an issue with the current code [1]). These settings are all
> global rather than per web application. I would prefer that they were
> per web application with defaults configured globally. It is complicated
> by the fact that the JARs to skip/scan may vary depending on how the
> JarScanner is used.

I would prefer to be able to set this stuff on a per-context basis. How
much of this configuration could be configured with a ?

-chris



signature.asc
Description: OpenPGP digital signature


buildbot success in ASF Buildbot on tomcat-trunk

2013-02-26 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/3996

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/trunk] 1450570
Blamelist: markt

Build succeeded!

sincerely,
 -The Buildbot





[Bug 54612] New: Fatal Error when trying to send data to WebSocket with conection closed

2013-02-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54612

Bug ID: 54612
   Summary: Fatal Error when trying to send data to WebSocket with
conection closed
   Product: Tomcat Native
   Version: 1.1.24
  Hardware: PC
Status: NEW
  Severity: major
  Priority: P2
 Component: Library
  Assignee: dev@tomcat.apache.org
  Reporter: berto...@mail.ru
Classification: Unclassified

Created attachment 29997
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29997&action=edit
Crash report by Java VM

Occures: When try to send data to WebSocet using 
org.apache.catalina.websocket.WsOutbound but socket is closed and onClose
method has not managed to work out and remove connection from the collection.
Expected behavior: throw IOException;
Actual behavior: Fatal Error EXCEPTION_ACCESS_VIOLATION

Java: JDK-7.15
Tomcat: 7.0.37
Actual DLL version 1.1.27 (not 24)

Note. This works well on Linux but crash Tomcat on Windows

-- 
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 54612] Fatal Error when trying to send data to WebSocket with conection closed

2013-02-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54612

berto...@mail.ru changed:

   What|Removed |Added

 CC||berto...@mail.ru
 OS||Windows 7

-- 
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 54612] Fatal Error when trying to send data to WebSocket with conection closed

2013-02-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54612

berto...@mail.ru changed:

   What|Removed |Added

 OS||Windows 7

-- 
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 51229] Some async examples are not work correctly

2013-02-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51229

sunxiongwei  changed:

   What|Removed |Added

 CC||spri...@126.com

-- 
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 54604] NPE at InternalInputBuffer.java while using AsyncContext

2013-02-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54604

Prakasaraman.V  changed:

   What|Removed |Added

   Priority|P2  |P1
 OS||All

--- Comment #1 from Prakasaraman.V  ---
Hi Tomcat Team,

It would be really helpful if somebody can respond to my below issue.

This is a CRITICAL problem for us as it is affecting our CUSTOMER PRODUCTION
setups.

Thanks & Regards,
Prakasaraman.V

-- 
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