Java extension deleted from the server, but still visible...

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
Alexb43
Posts: 5
Joined: 09 Apr 2008, 20:16

Java extension deleted from the server, but still visible...

Post by Alexb43 »

Hi,

I started using java class for my extension. I made my extension, putted it in the javaExtension folder and configured the config.xml.

All worked perfectly, when i made change to my extension, i compiled it again and i remplaced the file in the javaExtension. The changes that i had made wasn't appearing. So i made a few test and in the tests that i made, i deleted all the file (the java extension) that where used by my room. When i opened the room viewer in the admin Tool, i was still able to
see the extension and my client was still able to communicate with it.

I restarted the server twice and the computer. But nothing, i can still see my extension even if there is no more file in the javaExtension folder...

Any idea ?

Thanks.
Zak
Posts: 13
Joined: 04 Mar 2008, 07:41
Location: Las Vegas
Contact:

Re: Java extension deleted from the server, but still visibl

Post by Zak »

Alexb43 wrote:Hi,

I started using java class for my extension. I made my extension, putted it in the javaExtension folder and configured the config.xml.

All worked perfectly, when i made change to my extension, i compiled it again and i remplaced the file in the javaExtension. The changes that i had made wasn't appearing. So i made a few test and in the tests that i made, i deleted all the file (the java extension) that where used by my room. When i opened the room viewer in the admin Tool, i was still able to
see the extension and my client was still able to communicate with it.

I restarted the server twice and the computer. But nothing, i can still see my extension even if there is no more file in the javaExtension folder...

Any idea ?

Thanks.
I had a similar problem a while back, twice actually. The first time I was actually in the wrong server from admin tool, which was just a silly mistake. The second time, I just recompiled the class files and it was fine. Are the files still gone from config.xml? It could be something in the class path, possibly.

Just reinstall the server as a last resort.
Alexb43
Posts: 5
Joined: 09 Apr 2008, 20:16

Post by Alexb43 »

If i change the configuration of my extension path and name in the config.xml, i get an error when i reboot the server (in the log file). I am in the right server because i only have one...

Even if i recompile my extension he don't see the changes...
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Is it a Room extension or Zone extension?
What errors do you see? Please provide the full stack trace
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Alexb43
Posts: 5
Joined: 09 Apr 2008, 20:16

Post by Alexb43 »

Ok i have found what was the problem. All my extension / config.xml and code was good. The problem was on the server configuration files.

I had already read this post
http://forums.smartfoxserver.com/viewto ... +extension and i saw that the problem was on server version 1.4. so i didn't try the solution.

I was out of idea so i tried to change the wrapper.conf (as said in the other post) and it worked like a charm. So meaby it could be a good idea to put it in the TODO list for the next smartFox update ... :P

Keep up the good work, the server is working greatly !
Post Reply