[appengine-java] Servlet Filter is receiving a null chain parameter from time to time

2011-05-12 Thread Stream18
Hi,

I wonder if somebody else has seen this error before. My application has a 
Servlet Filter (that sets Namespace) for all urls, and, from time to time, 
the Filter receives a null as value for chain parameter from the platform, 
so I get a NullPointerException as I try to follow the chain with 
chain.doFilter(req, resp).
I have seen this specially when accessing an RPC method.

Thanks,

Eduardo G.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: deploy failures

2010-11-17 Thread Stream18

Jeff,

I've come up to a better solution: just create a servlet 2.5 style
header for web.xml. To to that,
   1. Remove these two lines from web.xml
  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE web-app
  PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//
EN
  http://java.sun.com/dtd/web-app_2_3.dtd;
   2. Replace the first line (web-app) with this one:
  web-app xmlns=http://java.sun.com/xml/ns/javaee;
version=2.5


On Nov 17, 1:48 pm, Jeff Schwartz jefftschwa...@gmail.com wrote:
 The https version isn't available either. Attempts to reference it in the
 web.xml file abort with the following message:

 Connection timed out: connect    web.xml

 A temporary solution is to remove or comment out the reference to the dtd
 from the web.xml file until the issue is resolved which will permit you to
 deploy your application.

 Perhaps some other organization should step up and take responsibility for
 caching this file as Oracle doesn't seem to be the benevolent Java steward
 one would have hoped it would be. Perhaps Google itself could cache this on
 one of their servers and refactor the GWT plugin to reference that.

 I am growing increasingly weary of Oracle and their handling of Java. Makes
 me regret the day I ever thought they might be good for the language and I
 hope Google whoops their butt in court over the Android suit. And don't even
 get me started on their latest shenanigans with Apple over the JRE.

 Jeff



 On Wed, Nov 17, 2010 at 6:41 AM, Stream18 strea...@gmail.com wrote:
  I finally found the reason for this error. It is java.sun.com server
  that is failing to serve the DTD file we reference in our web.xml. It
  seems sun (now Oracle) servers for http are not serving well these
  days, maybe it is related with Oracle migrating java web servers to
  new platform.

  I solved this problem referencinghttps://java.sun.com/dtd/web-app_2_3.dtd
  (SSL secured version) instead of the original
 http://java.sun.com/dtd/web-app_2_3.dtd
  in the web.xml file (DOCTYPE definition)

  There is another possibility: you can use and reference a local copy
  of this DTD file, see here how to do it:

 http://stackoverflow.com/questions/4195022/local-copy-of-http-java-su...

  Eduardo G.

  On Nov 16, 8:23 am, George  Moschovitis george.moschovi...@gmail.com
  wrote:
   I am getting a similar error, very frustrating...

   -g.

   On Nov 9, 2:47 pm, Erik erik.e.wil...@gmail.com wrote:

I have also been getting constant deployment errors with Java
deployment for the past couple days, seems like something is funny on
the google side, don't think my connection is flaky:

Nov 9, 2010 7:18:59 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
getTopLevelNode
SEVERE: Received IOException parsing the input stream for /home/erik/
workspace/wikihop/war/WEB-INF/web.xml
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
 ...
SEVERE: Received exception processing /home/erik/workspace/wikihop/war/
WEB-INF/web.xml
com.google.apphosting.utils.config.AppEngineConfigException: Received
IOException parsing the input stream for /home/erik/workspace/wikihop/
war/WEB-INF/web.xml
        at

  com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(
  AbstractConfigXmlReader.java:
210)
 ...
Bad configuration: Received IOException parsing the input stream for /
home/erik/workspace/wikihop/war/WEB-INF/web.xml
  Caused by: Connection timed out

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 *Jeff Schwartz*

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: I'm in need of this kind of engine

2010-11-12 Thread Stream18
Hi Terry,

I have something similar to that, let me explain you just in case.
I have an application deployed on GAE that I can configure from any
place in the internet, as many proxies and firewalls are open to
appspot.com. This is the case for my office.
The application let me store URLs for places that I cannot access from
my office (for instance, the URL of a site I own).
Then a cron job will fetch those URLs for me from the appspot.com
domain, that is outside my company's firewall and proxy, anf then will
store the fetched html, that I can later check.
The problem with this approach is that you cannot navigate from page
to page from your browser, just retrieve data every minute or so, and
you cannot do transactions. For that you would need a proxy as
Geoffrey told you.

On Nov 12, 7:50 pm, Geoffrey Spear geoffsp...@gmail.com wrote:
 On Nov 11, 10:48 pm, Terry qq3838...@gmail.com wrote:

  Hi,
  I want to find an program which could transfer my HTTP request to
  Google App Engine, and fetch the result from the GAE, so it won't be
  blocked by some firewalls, does anyone have any idea if there exists
  such kind of program on GAE all ready?

 It's called a proxy server, and if it's already on GAE it most likely
 won't work because it would be blocked by the same firewall blocking
 requests to the other application.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: deploy failures

2010-11-10 Thread Stream18
Exactly the same problem for me since yesterday. I'm using both
eclipse plugin and appcfg.

On Nov 9, 2:22 pm, Alexandru Farcaş alex.far...@expert-group.biz
wrote:
 I also receive this error : SEVERE: Received IOException parsing the
 input stream for my_path/war/WEB_INF//web.xml)
 I am using java sdk and Eclipse Helios.
 After I restart the eclipse it's working ok.

 On Nov 9, 2:47 pm, Erik erik.e.wil...@gmail.com wrote:

  I have also been getting constant deployment errors with Java
  deployment for the past couple days, seems like something is funny on
  the google side, don't think my connection is flaky:

  Nov 9, 2010 7:18:59 AM
  com.google.apphosting.utils.config.AbstractConfigXmlReader
  getTopLevelNode
  SEVERE: Received IOException parsing the input stream for /home/erik/
  workspace/wikihop/war/WEB-INF/web.xml
  java.net.ConnectException: Connection timed out
          at java.net.PlainSocketImpl.socketConnect(Native Method)
   ...
  SEVERE: Received exception processing /home/erik/workspace/wikihop/war/
  WEB-INF/web.xml
  com.google.apphosting.utils.config.AppEngineConfigException: Received
  IOException parsing the input stream for /home/erik/workspace/wikihop/
  war/WEB-INF/web.xml
          at
  com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode( 
  AbstractConfigXmlReader.java:
  210)
   ...
  Bad configuration: Received IOException parsing the input stream for /
  home/erik/workspace/wikihop/war/WEB-INF/web.xml
    Caused by: Connection timed out



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.