... to clarify, I guess in addition to answering my above post, I'm looking 
for a clarification on what you mean by ordering the .jars at all.

On Thursday, January 21, 2016 at 5:18:38 AM UTC-5, Manuel Werder wrote:
>
> Hey guys
>
> I'm working on a project with Google App Engine. To get Data from my 
> devices we're using MQTT. The org.eclipse.paho.client.mqttv3.* library 
> starts a Thread with "client.connect()". After some researches i found that 
> you cant just simply create Threads when working with GAE. Following error 
> is shown:
>
> *java.security.AccessControlException: access denied 
> ("java.lang.RuntimePermission" "modifyThreadGroup")*
>
> I continued searching and someone told to use following code instead of a 
> "normal" Thread:
>
> *Thread monitoringThread = ThreadManager.createThreadForCurrentRequest( 
> new Runnable() {..}*
>
>
> So i decompiled the paho library, looked up where the Thread is created 
> and changed it. I created a new class exported it as mymqttclient.jar In 
> eclipse i changed the order of my build at Properties -> Java Build Path -> 
> Order and Export so mymqttclient.jar is loaded before the 
> mqtt-client-0.4.0.jar So that it will use my created function with the 
> monitoringThread.
>
> But how can i change the order of the .jar's in the web-inf/lib ?
>
> Thank you very much for your answers, i couldnt find something useful 
> until now.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cfe646a6-f408-408a-9c94-535622677556%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to