Andrus,
I am going to need your help devising another test, after the one I just
performed. I am not 100% I devised it correctly (since I screwed up one
yesterday).
I just copied my entire project to the Tomcat7 webapps dir, but then deleted
*all* of my JSP files, and my project jar file. Essentially all that was left
was some of the standard jar files in the WEB-INF/lib dir and my web.xml file
(with the cayenne filter). I then started up tomcat 7, attached visualvm, then
undeployed then app using tomcat manager, and then took a vvm snapshot, and the
5 Cayenne EventManagers are still there (after the only web app deployed with
cayenne has been undeployed)
Please look at the included info below, and let me know if I made a bad
assumption (that assumption being that what is left is standard libraries, and
tomcat 7). Oh, yes I still have some definitions in the web.xml file that are
jsp dead ends.
Please let me know what I can do next.
Joe
Here are the libs left in my lib dir
-rw-r--r-- 1 root wheel 51841 Mar 16 20:32 CMSMap.map.xml
-rw-r--r-- 1 root wheel 139574 Mar 16 20:32 ashwood-2.0.jar
-rw-r--r-- 1 root wheel 2046141 Mar 16 20:32 cayenne-server-3.0.1.jar
-rw-r--r-- 1 root wheel 324 Mar 16 20:32 cayenne.xml
-rw-r--r-- 1 root wheel 559366 Mar 16 20:32 commons-collections-3.1.jar
-rw-r--r-- 1 root wheel 160519 Mar 16 20:32 commons-dbcp-1.4.jar
-rw-r--r-- 1 root wheel 59590 Mar 16 20:32 commons-fileupload-1.2.2.jar
-rw-r--r-- 1 root wheel 159509 Mar 16 20:32 commons-io-2.0.1.jar
-rw-r--r-- 1 root wheel 52915 Mar 16 20:32 commons-logging-1.1.jar
-rw-r--r-- 1 root wheel 100472 Mar 16 20:32 commons-pool-1.5.6.jar
-rw-r--r-- 1 root wheel 566 Mar 16 20:32 dbcp.properties
-rw-r--r-- 1 root wheel 46047 Mar 16 20:32 jsr173_1.0_api.jar
-rw-r--r-- 1 root wheel 850 Mar 16 20:32 logging.properties
-rw-r--r-- 1 root wheel 494975 Mar 16 20:32 mail.jar
-rw-r--r-- 1 root wheel 529876 Mar 16 20:32 vpp-2.2.1.jar
here is the cayenne filter designation
<filter>
<filter-name>CayenneFilter</filter-name>
<filter-class>org.apache.cayenne.conf.WebApplicationContextFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CayenneFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
On Mar 15, 2012, at 4:43 PM, Andrus Adamchik wrote:
>
> On Mar 15, 2012, at 3:21 PM, Joe Baldwin wrote:
>
>> 1. what is nominal behavior for Cayenne 3.0.1 - wrt the EventManager
>> Dispatch Thread? Should there be 5 of them normally or should there only be
>> one.
>
> 5 dispatch threads is the default. So this is correct and means that you only
> have 1 Cayenne stack and 1 EventManager in the app.
>
> Andrus