geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: War deployment problem in geronimo 1.0-208875
Date Mon, 04 Jul 2005 06:59:31 GMT
We are still using the eclipse compiler for jasper under jetty.

david jencks

On Jul 3, 2005, at 8:07 PM, Dain Sundstrom wrote:

> Actually we shouldn't require a JDK for JSP pages.  It looks like the 
> stack trace is coming from jasper and IIRC we have jasper configured 
> to use eclipse compiler which doesn't need the tools.jar.  Maybe the 
> someone accidently removed the eclipse configuration, or my memory is 
> wrong and we never set up our server to use the eclipse compiler.
>
> -dain
>
> On Jul 3, 2005, at 7:53 PM, Aaron Mulder wrote:
>
>>     OK, so is the answer that for now, we require a JDK and not a JRE?
>> If so, that should get the original poster back on track.
>>
>> Aaron
>>
>> On Sun, 3 Jul 2005, Dain Sundstrom wrote:
>>
>>> The tools jar hack will be needed until we delete the OpenORB stub/
>>> tie compiler.  I should have this change committed in the next few
>>> days, and then we can remove the hack code.
>>>
>>> -dain
>>>
>>> On Jul 3, 2005, at 6:20 PM, sissonj@insession.com wrote:
>>>
>>>
>>>>
>>>> After a quick look.. Geronimo's Daemon class is still calling
>>>> ToolsJarHack.install().
>>>>
>>>> Jasper2 (the JSP handling component) which is part of Tomcat as of
>>>> version 5.5.0 bundles the eclipse JDT to allow tomcat to run on a
>>>> JRE, according to http://jakarta.apache.org/tomcat/tomcat-5.5-doc/
>>>> jasper-howto.html
>>>>
>>>> The Jetty doco also says Jasper2 is used by Jetty:  http://
>>>> jetty.mortbay.org/jetty/readme.txt
>>>>
>>>> So it appears that the ToolsJarHack isn't needed, but has anyone
>>>> tested both Tomcat and Jetty without tools.jar?
>>>>
>>>> John
>>>>
>>>> This e-mail message and any attachments may contain confidential,
>>>> proprietary or non-public information.  This information is
>>>> intended solely for the designated recipient(s).  If an addressing
>>>> or transmission error has misdirected this e-mail, please notify
>>>> the sender immediately and destroy this e-mail.  Any review,
>>>> dissemination, use or reliance upon this information by unintended
>>>> recipients is prohibited.  Any opinions expressed in this e-mail
>>>> are those of the author personally.
>>>>
>>>> Dain Sundstrom <dain@iq80.com> wrote on 04/07/2005 06:50:39 AM:
>>>>
>>>>
>>>>> It is supposed to use the eclipse compiler so there should be no
>>>>> searching at all.
>>>>>
>>>>> -dain
>>>>>
>>>>> On Jul 3, 2005, at 12:49 PM, David Blevins wrote:
>>>>>
>>>>>
>>>>>> On Sun, Jul 03, 2005 at 01:21:23PM +0200, Oliver Kiessler wrote:
>>>>>>
>>>>>>
>>>>>>> hi list,
>>>>>>> I just installed geronimo 1.0-208875 and deployed a simple
>>>>>>> webapplication with just a few JSP pages. The deployment via
the
>>>>>>> deployer.jar went fine. But when I accessed the webapplication
>>>>>>>
>>>> via
>>>>
>>>>>>> the
>>>>>>> webbrowser I got the following error:
>>>>>>>
>>>>>>> HTTP ERROR: 500
>>>>>>> Unable to initialize TldLocationsCache: /usr/j2sdk1.4.2_04/jre/
>>>>>>>
>>>> lib/
>>>>
>>>>>>> ext/tools.jar
>>>>>>> RequestURI=/karma/
>>>>>>> Powered by Jetty://
>>>>>>>
>>>>>>> 13:10:19,660 INFO  [Container] Started HttpContext[/,/]
>>>>>>> 13:10:26,860 WARN  [/karma] /karma/:
>>>>>>> org.apache.jasper.JasperException: Unable to initialize
>>>>>>> TldLocationsCache: /usr/j2sdk1.4.2_04/jre/lib/ext/tools.jar
>>>>>>>         at org.apache.jasper.compiler.TldLocationsCache.init
>>>>>>> (TldLocationsCache.java:252)
>>>>>>>         at
>>>>>>>
>>>> org.apache.jasper.compiler.TldLocationsCache.getLocation
>>>>
>>>>>>> (TldLocationsCache.java:223)
>>>>>>>         at org.apache.jasper.JspCompilationContext.getTldLocation
>>>>>>> (JspCompilationContext.java:519)
>>>>>>>
>>>>>>>
>>>>>> [...]
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> My system:
>>>>>>> Fedora core 4 Kernel 2.6.11-1.1369_FC4
>>>>>>> java version "1.4.2_04"
>>>>>>> Java(TM) 2 Runtime Environment, Standard Edition (build
>>>>>>>
>>>> 1.4.2_04-b05)
>>>>
>>>>>>> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Looks like there is an error finding the jar containing the javac
>>>>>> compiler required for JSP support.  It certainly won't find it in
>>>>>> the jre directory.
>>>>>>
>>>>>> I know we have (or had) some code to deal with this.  Anyone else
>>>>>> have more info?
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>


Mime
View raw message