[appengine-java] workaround for the getRemotePort() returns 0 bug? (4210)

2011-11-30 Thread vega
hi everyone

for my application i need to know from which port the client sends his 
request.
that getRemotePort() returns "0" is a allready known bug since a year 
(issue 
4210)...
 

the search of this board gives me a thread with this problem from 2 years 
ago... 

does anyone know a workaround to gain the remote port?
or will there be a bug fix very soon?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/A0vt1JnfOX8J.
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.



[appengine-java] Re: HttpServletRequest.getRemotePort() doesn't work!

2011-11-30 Thread vega
its a known bug
http://code.google.com/p/googleappengine/issues/detail?id=4210

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/TwB_cD0c9HcJ.
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.



[appengine-java] Re: Google app engine upload problem

2011-11-30 Thread vega
is there more in your error log?
you can find it via window -> show view -> other -> general -> error log

dont worry, cause of the company firewall i had a lot of problems 
submitting the application at the beginning too

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/kqB21isN5uYJ.
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.



[appengine-java] Frontend Instance Hours - what am i doing wrong?

2011-12-08 Thread vega
hi
im not sure if this forum or the general forum is better... but i have a 
feeling that its more java related then general

a month ago (or so...) the billing system got changed. 
i had more then enogh "rescourses" for free in the old system. 
i put the project into sleeping, due to more important activitys and now i 
restartet working on it...

i have this Servlet:

(isnt there something like a code tag? where is it hiding?



package nOyB;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings("serial")
public class abcServlet extends HttpServlet{
public void doPost(HttpServletRequest req, HttpServletResponse 
resp)throws IOException {
resp.getWriter().write("okay");
}

public void doGet(HttpServletRequest req, HttpServletResponse 
resp)throws IOException {
resp.getWriter().write("nothing to see");
}

}



now ive generated 35 calls from a device within < 1 hour (simply for 
the sake of testing the devices capability of using http)
Frontend Instance Hours are at 5% (1.37 of 28.00h)
the log says that the requests take about 4-20ms, a couple needed about 
100-300ms (whatever there is happening... its only sometimes, so 
whatever...)

5% by 35 times doing absolutly nothing means that 700 times doing 
nothing would be all thats for free...
i think im doing a large misstake or do i need to look for a new free 
server if i want to have about ~1k calls per day which do a bit more then 
only printing out "ok"?



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Bg1OAHX0aDAJ.
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.



[appengine-java] Re: Simple Java WebServices Call in GAE

2011-12-22 Thread vega
hi
if my understanding of what you want to do is correct, this one might help 
you:
http://code.google.com/intl/de-DE/appengine/docs/java/urlfetch/overview.html
and remember that for http-post you have to set the content header :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Xr2qn_D-w-4J.
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.



[appengine-java] how to get the correct time for germany?

2012-01-11 Thread vega
hi everyone.

since the days are getting longer, i noticed that in 2 months ill have an 
error with my getTime() Method, which gives me the current time in a "human 
friendly" way.

/**
**dd.mm. hh:mm:ss
**/
public static String getTimeAsStringTest(){
Calendar cal = Calendar.getInstance();
cal.setTimeZone(TimeZone.getTimeZone("Germany/Berlin"));
 
int mod = 1; //Wintertime +1, Summertime +2

cal.set(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 
cal.get(Calendar.DATE), cal.get(Calendar.HOUR_OF_DAY)+mod, 
cal.get(Calendar.MINUTE));
DateFormat df = DateFormat.getDateTimeInstance( MEDIUM, MEDIUM, 
Locale.GERMANY );
return df.format(cal.getTime());
}

i dont want to change the mod every 6 months (or how long the daylight 
saving time might be, i dont care^^).
i would prefer it very much if it would give me the correct time without 
adding 1 or 2 hours to the time the calendar gives me...

how do i archive this, without using something ugly like a list or some 42 
page long if else if statements which knows when to use +1 and when to use 
+2?...

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/IWBzB3-VB4oJ.
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.



[appengine-java] Re: how to get the correct time for germany?

2012-01-13 Thread vega
thank you :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/xCSGv1ZFrW0J.
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.



[appengine-java] uploading a new version of my app doesnt affect the running system

2012-01-26 Thread vega
hi everyone

when i deploy changes to the server, the upload is working ("Deployment 
completed successfully")
but when i open a page, i get the old version of my app, not the new. also 
when i use strg+f5.

the logs says for the first request after uploading the new version:

"This request caused a new process to be started for your application, and thus 
caused your application code to be loaded for the first time. This request may 
thus take longer and use more CPU than a typical request for your application."

and no, ive not changed the version number of the app to 2.0 or something, that 
i would have to select it (where so ever) in the dashboard.

what to do?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/t2siFZU3SXoJ.
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.



[appengine-java] Re: uploading a new version of my app doesnt affect the running system

2012-01-26 Thread vega
thank you for your reply.

ive uploaded it as a v2 (which was the first upload to that version) and 
set it as default. the log says a new instance was started at the request.
but i do still get the old version of my application :(

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/qZgYiY1SY6oJ.
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.



[appengine-java] Re: uploading a new version of my app doesnt affect the running system

2012-01-26 Thread vega
now it took the update

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/dz6DGQLhW0cJ.
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.



[appengine-java] Re: uploading a new version of my app doesnt affect the running system

2012-01-29 Thread vega
and now again, it isnt working

from the uploadlog that gets shown in the eclipse console:

Deploying:
Uploading 0 files.
Initializing precompilation...
Deploying new version.


Uploading 0 files? i guess this might be the reason. how do i fix that it 
doesnt upload anything?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/6qHIXrXroeYJ.
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.



[appengine-java] Re: uploading a new version of my app doesnt affect the running system

2012-01-31 Thread vega
solution: let the application run locally on the development server on the 
pc you want to upload it from

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/uGtd9otKi1oJ.
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.



[appengine-java] Re: GWT/AppEngine application for distributed role playing - dorp

2012-02-24 Thread vega
check maptool rptools.net for those purpose. it has a great community :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/iX-_tu8peiEJ.
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.



[appengine-java] Re: GWT/AppEngine application for distributed role playing - dorp

2012-02-24 Thread vega
check maptool on rptools.net - it has a great community and with the 
existing frameworks it supports a lot of the p&p systems that are out 
there...

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/P27D1NncGq8J.
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.



[appengine-java] Re: Google app engine problem

2012-03-20 Thread vega
i had this problem too brought me near to a heart atack that nothing i 
did changed anything, cause i thought it would be more likly that i´m 
making a very stupid mistake.

let your code run locally on the dev server, before you upload it. that 
solved this problem for me (run as... in eclipse)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/XjKQy1RY8poJ.
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.