You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lynch, Peter" <Pe...@NBNZ.CO.NZ> on 2004/06/17 23:41:27 UTC
RE: problem starting the geronimo offline/behind firewall
Jeremy,
I'm a bit slow here, so what do you mean by "hook Jetty into the entity
resolver"?
Cheers,
Peter Lynch
> -----Original Message-----
> From: Jeremy Boynes [SMTP:jeremy@coredevelopers.net]
> Sent: Tuesday, June 01, 2004 7:59 AM
> To: dev@geronimo.apache.org
> Subject: Re: problem starting the geronimo offline/behind firewall
>
> Srinath Perera wrote:
>
> > Hi All;
> >
> > when I
> > 1)download the incubator-geronimo-1.0-M1-bin.zip then uncompressed it
> > 2) run
> > java -jar bin\server.jar org/apache/geronimo/DebugConsole
> >
> > I get following error .
> >
> > I am behind a firewall (proxy) , When I try at home where there is a
> direct
> > connection that is working. (I am getting same result when I have no
> > internet connection)
> >
> > Is this a bug or am I missing something
> >
>
> IIRC this is a known issue and I thought it was documented. Jetty
> currently needs to parse web.xml when it starts and is not hooked in to
> the entity resolver so it needs to get the xsd schema file from the web;
> if it can't then it fails to parse and you get this error (or something
> similar). So for now you need to be online.
>
> The quick fix would be to hook Jetty into the entity resolver; a better
> fix is to have the deployer generate GBeans for all the servlets so
> Jetty does not need to parse any XML on context startup.
>
> --
> Jeremy
This communication is confidential and may contain privileged material.
If you are not the intended recipient you must not use, disclose, copy or retain it.
If you have received it in error please immediately notify me by return email
and delete the emails.
Thank you.
Re: problem starting the geronimo offline/behind firewall
Posted by Kristian Köhler <Kr...@gmx.de>.
This brings me back to my issue in Jira:
http://nagoya.apache.org/jira/browse/GERONIMO-155
Let me try it again! ;-)
The idea was to set up a containerwide resolver which not only hooks
into one application (jetty) but into all applications.
Hook into all applications means that every entity resolving (esp.
schemas) is redirected to above mentioned containerwide resolver which
supplies the entities from a local repository hence avoiding a remote
connection.
There is patch included in Jira (see above), if there is a real interest
in it I could get it uptodate.
Kristian
Jeremy Boynes wrote:
> Lynch, Peter wrote:
>
>> Jeremy,
>>
>> I'm a bit slow here, so what do you mean by "hook Jetty into the entity
>> resolver"?
>>
>> Cheers,
>> Peter Lynch
>>
>
> I believe Jetty is downloading the XML-Schema from Sun's site as
> specified in the xsi:schemaLocation attribute and is erroring when it
> can't.
>
> We have an entity resolver defined (or should do at least) that would
> allow this to be obtained from the local filesystem instead via the xml
> catalog, allowing offline operation.
>
> The hook would be to get Jetty to use it.
>
> --
> Jeremy
>
>
--
Kristian Köhler
Re: problem starting the geronimo offline/behind firewall
Posted by Jeremy Boynes <je...@coredevelopers.net>.
Lynch, Peter wrote:
> Jeremy,
>
> I'm a bit slow here, so what do you mean by "hook Jetty into the entity
> resolver"?
>
> Cheers,
> Peter Lynch
>
I believe Jetty is downloading the XML-Schema from Sun's site as
specified in the xsi:schemaLocation attribute and is erroring when it
can't.
We have an entity resolver defined (or should do at least) that would
allow this to be obtained from the local filesystem instead via the xml
catalog, allowing offline operation.
The hook would be to get Jetty to use it.
--
Jeremy