I had a look in the source code and found out that the dev server is started in a different jvm by KickStart.main. This jvm has following command line:
java -javaagent:<sdk_path>/lib/agent/appengine-agent.jar - Xbootclasspath/p:<sdk_path>lib/override/appengine-dev-jdk- overrides.jar -classpath <sdk_path>/lib/appengine-tools-api.jar com.google.appengine.tools.development.DevAppServerMain <war_path> The only differences are the agent and the jdk overrides. This looks to me like it is impossible to start the server in an already running jvm. I don't know a method to "inject" the agent and the overrides in the (running) jvm. (I would appreciate if someone knows a way and would like to share). As an alternative I could try to mimic the functionalities in the two jars for a running jvm. I haven't found the source code for them though. Are they not open source? Razvan -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
