[ http://nagoya.apache.org/jira/browse/GERONIMO-264?page=history ]
toby cabot updated GERONIMO-264:
--------------------------------
Attachment: Daemon-56609-diff.txt
here's an updated patch which merges with version 56609 of Daemon.java. While
this is a trivial change in terms of code, it makes a big difference in
usability, especially for new users. Without the patch, exceptions appear out
of order which makes it harder to see what caused what. I think that this
would be a worthwhile improvement for M3.
> exceptions being swallowed at startup
> -------------------------------------
>
> Key: GERONIMO-264
> URL: http://nagoya.apache.org/jira/browse/GERONIMO-264
> Project: Apache Geronimo
> Type: Improvement
> Components: deployment
> Versions: 1.0-M2
> Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
> Reporter: toby cabot
> Assignee: Dain Sundstrom
> Priority: Minor
> Attachments: Daemon-1_9-diff.txt, Daemon-56609-diff.txt, daemon-log.diff,
> daemon-log.diff, log.txt
>
> some exceptions that are thrown during startup are swallowed and don't show
> up in the logs.
> i'm at the 'monkey and typewriter' stage of the geronimo learning curve so
> i'm a good randomness injector. i had a problem where geronimo would try to
> start up and then go directly to shutdown for no apparent reason. actually,
> i think i've had a few:
> 15:50:17,290 DEBUG [GBeanMBean] geronimo.config:name="skeleton/RA" State
> changed from stopped to starting
> 15:50:17,292 DEBUG [Configuration] ClassPath for skeleton/RA resolved to
> [file:/home/tcabot/try/incubator-geronimo/target/config-store/8/connector/skeleton-ra.jar]
> ra test setting configParameter to NewStringValue
> 15:50:17,737 DEBUG [SpreadManagedConnectionFactory]
> BaseManagedConnectionFactory()
> 15:50:17,737 DEBUG [SpreadManagedConnectionFactory]
> SpreadManagedConnectionFactory()
> 15:50:18,425 DEBUG [GBeanMBean] geronimo.config:name="skeleton/RA" State
> changed from starting to failed
> 15:50:18,426 INFO [Kernel] Starting kernel shutdown
> i'll include a patch that logs the problem in the catch clause in
> Configuration.doStart(). There might be better places to do this, but as
> long as it gets done *somewhere* i'm happy.
> regards,
> toby
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira