banner
ximalaya

ximalaya

这里是openkava 的blog,关注程序开发的一切技术。 ZZ 表示转载的文章,如涉及版权,请和我联系删除。 在这里你可以看到关于以下技术的文章: 移动开发技术,ANDROID ,IOS,WINDOWS PHONE平台开发,企业ERP开发,动态脚本PYTHON ,OPENGL ES 3D技术,游戏开发技术,HTML5 ,JAVASCRIPT ,MYSQL,AMAZON EC2 ,GOOGLE GAE ,GOOGLE CLOUD SQL 等 。 本站发展历程: 2010年,正式把所有的blog移到这里,租用godaddy的空间,记录生活和工作上的一些心得。 下面是关于我的个人介绍,写在这里权当凑字数啦。 职业:软件开发,开发经验6年,管理经验3年; 工作上使用的技术:C#, SQL SERVER 个人使用的技术:PYTHON,PHP, CSS, JAVA ,ANDROID ,object-c 等等 联系我请发邮件:<a href="http://blog.openkava.com/openkava@gmail.png"><img class="alignnone size-full wp-image-96" title="邮箱" src="http://blog.openkava.com/openkava@gmail.png" alt="" width="174" height="24" /></a>

zz SFS2X Unreleased Small Tools_golastroom's Space_Baidu Space

SFS2X Unreleased Small Tools_golastroom's Space_Baidu Space.

 

In the running script of sfs2x. For example, in sfs2x.bat under Windows, you can pass parameters to the running java script. You need to replace the original % with $, $ is used in Unix, and % is used in Windows. We can replace the $ inside with %, try it.

Two parameters can be passed here. If the first one is "cluster", the cluster will be enabled. However, this feature has not been fully developed, so enabling it will cause an error. We can bypass this.

If the second parameter is "console", the jython console will be enabled. In this console, you can directly manipulate the running jvm, that is, you can access and call objects in the jvm during runtime. This is very useful for monitoring and debugging the entire operation. I am also amazed by this technique.

So, let's give it a try. In cmd.

E:\Program Files\SFS2X-RC1\SFS2X>sfs2x.bat s console

Write any value for the first parameter, as long as it is not "cluster",

Press Enter, and the jython console will appear immediately.

image

You can directly access the object of the SmartFoxServer class through sfs.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.