Friday, August 27, 2010

Re: Runtime.exec on sever side

I should have added --  Disable GAE, and delete all GAE related jar files from you classpath. 
Disabling GAE doesn't automatically remove the jars, and they kind of interfere with the inbuilt server. 

--Sri


On 27 August 2010 21:15, Andrew McCann <andrewjmccann@gmail.com> wrote:
Hi Folks,

Thanks for the help on this.

> Or, more likely, you have enabled Google App Engine. Disable GAE, its a preference under eclipse. GAE doesn't allow you to run system commands
I have a feeling the issue is something like this.

I am currently running the app with Eclipes->Debug As->Web application

If I un check the the "use Google App Engine" box the debugging mode wont work.

Is there a way to tell the GAE that there are some commands which it
can execute (via a java.policy config file or something).

Thanks again for your help.

Cheers

Andrew


On Fri, Aug 27, 2010 at 11:03 AM, Sripathi Krishnan
<sripathi.krishnan@gmail.com> wrote:
> Or, more likely, you have enabled Google App Engine. Disable GAE, its a
> preference under eclipse. GAE doesn't allow you to run system commands
> --Sri
>
>
> 2010/8/27 André Moraes <andrebq@gmail.com>
>>
>> maybe the webserver that is hosting your file don't have permission to run
>> external programs.
>> Or the path variable was reset to an empty value so the application cannot
>> find the "cat" program.
>>
>> --
>> André Moraes
>> Analista de Desenvolvimento de Sistemas
>> andrebq@gmail.com
>> http://andredevchannel.blogspot.com/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



--
Microsoft sells you Windows ... Linux gives you the whole house
Television is a medium, because anything well done is rare!

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


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

No comments:

Post a Comment