View Full Version : [Solved] AvatarChat says unable to locate Extension.xml file.
philipjsimmons
04-25-2012, 03:55 PM
Hey,
I have installed a couple of different variations of AvatarChat, including AvatarChat from a previous server, then AvatarChat from a download link... as well as AvatarChatTutorial from a link here in the forms.
None of these have worked. They all give me the same error:
Unable to locate an Extension.xml file in 'temp/ba80d7f345bdd0c3d7dc1e63787ea51e/'
However, if I open up server/java/, there is an Extension.xml there. I am not sure what to do to fix this, so any guidance would be very appreciated.
Thanks!
tcarr
04-25-2012, 04:15 PM
When you deploy the extension, how do you do it? The way that I do it is to just copy (or FTP or SFTP) the files to my installation's server/extensions folder. It's trickier when you upload a zip file using ES Admin.
You don't upload the entire example either. If you are uploading the official example, then what you need is found in AvatarChat\server\java\dist\ext. See also How to Install an Extension (http://www.electrotank.com/docs/es5/manual/how_to_install_an_extension.htm).
philipjsimmons
04-25-2012, 04:59 PM
I deployed just the contents inside of "java" and that installed fine. However, it calls it "MyGamesExtension", but I guess that is fine.
Okay; I still cannot connect to it from the outside. I believe I have installed everything correct, but when I try to connect it never responds. I am still set to listen to 0.0.0.0. "Stand alone mode" is off, and they are all set to 0.0.0.0 as well.
Any ideas?
Thanks for all your help!
tcarr
04-25-2012, 05:04 PM
If you installed what was inside "java" then it is a malformed extension and will not work properly, and likely is causing issues getting your ES5 to start correctly.
If what you see is "MyGamesExtension" then that's not the right Extension.xml either. Please read the tutorial carefully, to make sure that you are installing the correct files. Installing the entire server/java set of files is going to cause a real snafu.
philipjsimmons
04-25-2012, 05:12 PM
love the term "snafu", i had to ask what that meant hahaha.
Okay, the tutorial tells me (since i am going to pretend the machine is local) that i copy all of the files over and then restart the ElectroServer. I tried this a few times, but will try again and post the response.
I hope you're having a great day. Thanks again!
philipjsimmons
04-25-2012, 05:19 PM
Unable to locate an Extension.xml file in 'temp/61786dfc509f642b6dd85c09ab1f5a8d/'
:( back to the same problem.
tcarr
04-25-2012, 05:25 PM
Look at your installation's server/extensions folder. Delete anything that you see there. Now copy in the contents of AvatarChat\server\java\dist\ext so that inside your installation's server/extensions/AvatarChat folder you see Extension.xml, a lib folder, and a config folder, and nothing else. The lib folder will have 3 jars in it, including AvatarChat.jar. Then kill the ES5 process and start it again.
If that still doesn't work, we will need to look at the file permissions. If ES5 doesn't have permission to create files then it can't do its normal "copy the extension to a temp folder on startup" thing.
philipjsimmons
04-25-2012, 05:37 PM
Teresa, you were absolutely right. Thank you very much! You are amazing!
tcarr
04-25-2012, 05:59 PM
Which one was the problem?
philipjsimmons
04-25-2012, 06:10 PM
Actually, good question. I removed everything in the extensions folder, and transferred just the files in the dist/ext folder and it worked perfect. I thought I was supposed to bring over all the information. Even tried to modify the folders myself and put Extension.xml on the parent directory. Hahaha, oops. But following your directions made it very easy and clear.
Thanks again!!
tcarr
04-25-2012, 06:34 PM
Glad you got it figured out. Next time will be easy, right?
What you find in an example's server/java folder is the source code, which is what most people need (so that they can see an example of how to implement something similar). You know where to find me if you end up needing to recompile and redeploy and run into problems.
philipjsimmons
04-25-2012, 07:19 PM
Next time, I will definitely know which way to go :).
I absolutely love ElectroServer. Ya'll have done amazing work with this. And, the customer support you supply is definitely amazing. Thanks for taking your time and helping me!! And I will definitely return to the forums if I ever run into any other problems.
i can't thank you enough, so THANK YOU! lol. Have a great day, T!
tcarr
04-25-2012, 07:21 PM
And I love working for Electrotank. The level of appreciation I get from my work in the forums is FAR higher than I ever got back when I was Professor of Computer Science, answering questions and helping students find the bugs in their programs. (the pay is higher too)
philipjsimmons
04-25-2012, 07:23 PM
Wow, a professor in Computer Science?! Very nice. We definitely wish you would transfer here ;) But I am glad you enjoy working where you do. They BETTER love you working there, because you are a GREAT asset to the company. The help you provide, and how knowledgeable you are. You are great.
Yeah, professors deal with way too much stress for not so much pay. I'm glad you found your spot :)!
Powered by vBulletin® Version 4.1.6 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.