Search found 21 matches

by bmidgley
05 Apr 2010, 20:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Re:TLS/SSL enabled smartfoxserver
Replies: 4
Views: 3228

Lapo wrote:It is however possible to use SSL by sending data to the embedded HTTP server, which supports secure connections


Lapo, is there any documentation for making jetty use ssl? We wrote a servlet to process paypal payments and it needs to use ssl.
by bmidgley
18 Mar 2010, 15:02
Forum: Server Side Extension Development
Topic: Grails Application and Smartfox
Replies: 7
Views: 4156

Re: solution

mikih wrote:did you solve this problem?


No... I tried switching to jython since I thought it was more officially "supported". It also had similar issues, posted elsewhere, so I went to plain java and then it finally worked.
by bmidgley
06 Mar 2010, 06:11
Forum: Server Side Extension Development
Topic: How to call an extension and get a success/fail back
Replies: 7
Views: 3395

Is there a way to hot-reload a jetty servlet? I can't always restart sfs.
by bmidgley
06 Mar 2010, 03:30
Forum: Server Side Extension Development
Topic: How to call an extension and get a success/fail back
Replies: 7
Views: 3395

Lapo wrote:
I copied jysfs.jar, json.jar, json-lib-2.1-jdk15.jar to WEB-INF/lib

Don't do this, they are already in the classpath and you will obscure them.


great, now it seems to all work. thanks for the help.
by bmidgley
05 Mar 2010, 04:42
Forum: Server Side Extension Development
Topic: How to call an extension and get a success/fail back
Replies: 7
Views: 3395

The recommended way is to use the handleInternalRequest() method as explained here: http://www.smartfoxserver.com/docs/docPages/sfsPro/interoperability.htm The method allows a return value. I saw a null pointer exception but after checking into it I found that the very most fundamental call is retu...
by bmidgley
05 Mar 2010, 02:06
Forum: Server Side Extension Development
Topic: How to call an extension and get a success/fail back
Replies: 7
Views: 3395

The recommended way is to use the handleInternalRequest() method as explained here: http://www.smartfoxserver.com/docs/docPages/sfsPro/interoperability.htm The method allows a return value. I saw a null pointer exception but after checking into it I found that the very most fundamental call is retu...
by bmidgley
03 Mar 2010, 14:21
Forum: Server Side Extension Development
Topic: How to call an extension and get a success/fail back
Replies: 7
Views: 3395

How to call an extension and get a success/fail back

Hey, We have an extension for creating a user. I call into it from a java servlet with sfs.getZone("SOTL").getExtension("sotl_db").handleRequest("signup", params, null, 0); where params is a java string[] with the user details. The problem is I don't see how to get a su...
by bmidgley
02 Mar 2010, 23:01
Forum: Server Side Extension Development
Topic: *using* an extension from a java web app
Replies: 6
Views: 3814

I switched this to use jython instead and I get this when calling into python code of any kind. Am I doing something wrong with jython? It's calling the same function in endless recursion. ... <title>Error 500 INTERNAL_SERVER_ERROR</title> </head> <body><h2>HTTP ERROR 500</h2> <p>Problem accessing /...
by bmidgley
01 Mar 2010, 17:12
Forum: Server Side Extension Development
Topic: *using* an extension from a java web app
Replies: 6
Views: 3814

Error executing script RunApp: (class: groovy/runtime/metaclass/java/util/HashMapMetaClass, method: super$2$invokeMissingMethod signature: (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;) Illegal use of nonvirtual function call Is it possible to pass -noverify in as a JV...
by bmidgley
28 Feb 2010, 23:31
Forum: Server Side Extension Development
Topic: iPhone client redirect
Replies: 1
Views: 1151

Re: iPhone client redirect

Is there a way to have an iPhone client get redirected to a custom servlet (or any other page) rather than getting the install-flash page? This is not hard at all using javascript. Looks like I can put this right in the index.html page that would normally deliver the flash app. <head> <script langu...
by bmidgley
28 Feb 2010, 18:28
Forum: Server Side Extension Development
Topic: deploying ANY servlet inside jetty
Replies: 0
Views: 816

deploying ANY servlet inside jetty

Does anyone have a recipe or description of deploying an outside servlet inside jetty? I have a simple grails app but I can rewrite it in something else if necessary. I'm just not sure this jetty will work with outside servlets. I see people posting error messages that seem to show the deployed apps...
by bmidgley
28 Feb 2010, 18:09
Forum: Server Side Extension Development
Topic: Grails Application and Smartfox
Replies: 7
Views: 4156

i tried to follow your advice and run the default grails application in the included jetty but got these errors here (and couldn't access it through the browser): 2008-04-05 11:44:35.640:/grails_demoprojekt-0.1:INFO: Initializing Spring root WebApplicationContext 2008-04-05 11:44:36.623::WARN: Fail...
by bmidgley
28 Feb 2010, 16:28
Forum: SmartFoxServer 1.x Discussions and Help
Topic: deploying my custom app to jetty
Replies: 6
Views: 2988

I'm just trying to get this to work to figure out why jetty doesn't like it. http://docs.codehaus.org/display/JETTY/StdErrStdOut This worked to enable debug... I just put it in cfg/jetty.xml What I see in the log SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:...
by bmidgley
28 Feb 2010, 15:39
Forum: Server Side Extension Development
Topic: *using* an extension from a java web app
Replies: 6
Views: 3814

I dug around and couldn't find the jar that implements it.gotoandplay.smartfoxserver.SmartFoxServer. Is it somewhere other than the java client jars? I added json-lib-2.1-jdk15.jar, json.jar, jysfs.jar to the project. Am I on the right track? Trying to use the SmartFoxServer: import it.gotoandplay....
by bmidgley
28 Feb 2010, 10:48
Forum: Server Side Extension Development
Topic: iPhone client redirect
Replies: 1
Views: 1151

iPhone client redirect

Is there a way to have an iPhone client get redirected to a custom servlet (or any other page) rather than getting the install-flash page?

Go to advanced search