Johann-
we need to find where DaliCompare-ejb.jar is being called so
cd $GLASSFISH_HOME
grep -S -l DaliCompare-ejb
should tell you which files refrence the missing jar
report back whet you see to the list
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Date: Fri, 7 Aug 2009 04:45:47 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Re: Unable to initialize TldScanner
>
> Update 2:
> I could find the cause and a workaround for this problem.
> In the jsp-impl code for the TldScanner, there is a method scanTlds(). This one
> scanTlds() is called by onStartup (..) and after scanTlds() is called, ctxt.setAttribute(Constants.JSP_TLD_URI_TO_LOCATION_MAP, mappings) is called which set the TLD locations. In case scanTlds() throws an exception, the ctxt.setAttribute() is never called.
>
> In the case of the failing webapp, scanTlds() indeed throws an Exception, in the scanJars() method. In my case, scanJar will try to open jar:file:/home/johan/lab/DaliCompare/dist/gfdeploy/DaliCompare-ejb.jar which does not exist (there is a directory DaliCompare-ejb_jar though).
> I don't know why this file should exist, but catching the Exception in the scanJars() method solves the problem (since the scanTlds() then returns without an exception).
>
> - Johan
> [Message sent by forum member 'johanvos' (johanvos)]
>
> http://forums.java.net/jive/thread.jspa?messageID=359400
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
_________________________________________________________________
Express your personality in color! Preview and select themes for HotmailŪ.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009