Matthew Woodward said the following on 11/21/2009 11:22 AM: > On Sat, Nov 21, 2009 at 5:51 AM, Peter J. Farrell <[email protected] > <mailto:[email protected]>> wrote: > > Yes, I can start Tomcat with 1.2, but I cannot get it to respond > to any requests when OpenBD 1.2 or the latest nightly is > deployed. Tomcat just sits there starting up --- chugging on CPU > and constant HD access. > > It even happens when deploying a WAR directly downloaded from the > website and dropped in the webapps directory. > > > That's really strange. I know we talked about this before, but have > you checked your open file settings in /etc/security/limits.conf? If > you run ulimit -a it will show you the settings *for your user* (check > the "open files" line), but since you're launching Tomcat as root > you'll probably need to uncomment the line in limits.conf that sets > the open files for root. If you run just a ulimit without the -a flag > it may say "unlimited" but I don't think that's a valid response since > it seems to say that no matter what the settings are. Yeah, I have checked -- but when I've had problems in the past -- I get an exception logged by Java saying too many open files in the Tomcat logs. In this case, the Tomcat logs are rather bare other than the normal I'm starting up. > > > > I am not launching from Eclipse. However, I'm wondering why OpenBD > is trying to load plugins from my phantom Wine drive. > > > > Do you even have WINE installed? Whether you do or not, can you try > things on a VM or another machine? Yep, I have WINE installed, but see below. > > > * inspectDIR() because the bad jar (in this case the MXunitplugin) > is called loadPlugIn() because it thinks something is good about > this JAR and fails with "Plugin.Load.Failed: XXXX" > > > > Ah-ha. Have you tried loading an app *without* the MX Unit plugin in > your lib directory? That would at least narrow it down. Based on what > you're saying it seems that OpenBD is only trying to load plugins with > "openbdplugin" in the name, but maybe that's grabbing the MX Unit > plugin by mistake and trying to load it as an OpenBD plugin? Actually, if you look at the code it will try to load jars as plugins from the classpath that do not start with "openbdplugin" as well. This defect is steaming from that fact that it's liking that particular jar, however I suspect that it will just find another jar to hang up on if I remove it. I will try and report back.
Clearly, this is a bug -- OpenBD shouldn't be infinitely trying to load this as a plugin at all. There is a logic error or edge case that needs to be fixed. Best, .Peter -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
