tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunjay Gunda <sunjaysr...@yahoo.com>
Subject Re: Unable to access application if I am on VPN
Date Mon, 22 Aug 2005 13:49:48 GMT
Thank you for everyone's input. It worked for me from
your suggestions. I downloaded the struts.dtd and
pointed my struts-config.xml to that location, but it
was giving a weird error. Then I commented out the
reference itself in struts-config.xml and it is
working fine now.

Cool, Thanks for everyone.

Sunjay


--- Wade Chandler <hwadechandler-apache@yahoo.com>
wrote:

> --- Brian Cook <bcook@printtime.com> wrote:
> 
> > 
> > Hmmmmm Could you configure the firewall to reroute
> > the JVM request 
> > thought the proxy?
> > 
> > 
> > Len Popp wrote:
> > > Can you download the DTD to the server and point
> > the config file at
> > > the local copy?
> > > 
> > > That must be possible, otherwise you couldn't
> run
> > an application on an
> > > intranet that's not connected to the WWW.
> > 
> > 
> > -- 
> > Brian Cook
> > Digital Services Analyst
> > Print Time Inc.
> > bcook@printtime.com
> > 913.345.8900
> > 
> > >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 1)
> There is no guarentee the call will be from a
> standard
> URLConnection subclass like HttpURLConnection to get
> the XML entity from the XML parser, so you'll have
> to
> figure out what is used to make the call over the
> web
> for the XML entity (DTD/schema) Does struts use a
> specific parser, or does it use the JVM standard
> setup
> parser by calling the javax.xml classes, can you
> find
> out which parser is used, and how it accesses the
> internet....could use something like Apache HTTP
> client instead of URLConnection from the JVM...setup
> would be  different for changing the proxy?  
> 
> 2)
> If the only problem is the DTD and Schema lookups
> you
> can ask how do I get access to the "XML Entity
> Resolver" for Struts or Tomcat (make that the
> subject
> in the respective lists) as I don't think their is a
> way to do this specifically for a web application,
> so
> more than likely you want the struts entity
> resolver,
> but can't hurt to add them to the Tomcat one as
> well. 
> For all DTD and Schema paths (URIs) you are using
> you
> can add a local path to the entity resolver for
> those
> http paths.  This will keep the XML parser from
> going
> out to the internet for certain DTD/Schema
> locations. 
> This should be more efficient anyways as the
> entities
> won't be downloaded from the internet.
> 
> Those look like the only options for you,  obviously
> your organization uses a proxy, so getting around
> that
> probably won't be an option for you, so you have to
> not go out on the net for the entity resolution
> (meaning you need access to the Entity Resolver
> being
> used or need to be able to set it) or you have to go
> through your proxy.
> 
> Wade
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message