It is currently 31 Oct 2024, 23:11
   
Text Size

Error connecting

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Error connecting

Postby oguzog » 09 Dec 2014, 13:50

No matter what i try it is not connecting.

I am using Turkish Windows and tried with english localization as well but no changes.

"Caused by: org.jboss.remoting.InvalidConfigurationException: Can not handle invocation request for subsystem 'MAGE.İNTERFACES.MAGESERVER' because there are no matching ServerInvocationHandlers registered. Please add via xml configuration or via the Connector's addInvocationHandler() method."

Did you notice capital i? Which is in Turkish but not in english. When i change my localization it became like that 'MAGE.?NTERFACES.MAGESERVER' ... ? instead of capital non-english i.

I'm not a programmer. I'm just thinking it might be related to my problem.

I've tried to delete mage-client/db folder as well but no changes.

See the attached files as well.
Attachments
Screenshot 2014-12-09 15.46.29.png
Screenshot 2014-12-09 15.46.14.png
Screenshot 2014-12-09 15.45.40.png
oguzog
 
Posts: 10
Joined: 09 Dec 2014, 13:42
Has thanked: 0 time
Been thanked: 0 time

Re: Error connecting

Postby oguzog » 09 Dec 2014, 14:01

I have tried to disable firewall/antivirus software and windows firewall. Same result.
oguzog
 
Posts: 10
Joined: 09 Dec 2014, 13:42
Has thanked: 0 time
Been thanked: 0 time

Re: Error connecting

Postby LevelX » 09 Dec 2014, 14:39

First thing to solve should be the warning:
Code: Select all
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root...

This means XMage can not write to the java prefs what it should be able to.

This can be fixed by:
Run regedit.exe as administrator (regedit.exe is located in the c:\Windows operating system root directory).
Go to key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Prefs.
Right click to set permissions. Check a mark in the Full Control check box for the user(s) that need executing XMage software.

Already this can have influence on the connection problems. So please solve this first and check again to connect.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Error connecting

Postby oguzog » 09 Dec 2014, 15:13

Hmmmmm interesting. There was no JavaSoft key under the HKEY_LOCAL_MACHINE\SOFTWARE

But i found it under the HKEY_CURRENT_USER\SOFTWARE

so i exported the key. open with notepad and change lines from HKEY_CURRENT_USER\SOFTWARE to HKEY_LOCAL_MACHINE\SOFTWARE.

There is no error "Could not open/create prefs root node Software\JavaSoft\Prefs at root" anymore but still can't connect.

see the attached file please.
Attachments
Screenshot 2014-12-09 17.11.10.png
oguzog
 
Posts: 10
Joined: 09 Dec 2014, 13:42
Has thanked: 0 time
Been thanked: 0 time

Re: Error connecting

Postby LevelX » 09 Dec 2014, 16:43

Hmm seems a bit to me like Java is not installed correctly.

Did you execute the Launcher as it installed Java and XMage with admin rights?
If not I would first retry that.

In every case is the subsystem error of JBoss Remoting is strange and I've never seen it before.

To which server do you try to connect?
(I guess it's the same problem for all servers you try to connect to).
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Error connecting

Postby oguzog » 10 Dec 2014, 12:25

latest java 8 installed. Today xmage launcher wanted me to install new xmage update. Did it as well.

I tried with all servers...

By the way if i run xmage-server and connect client to myself as localhost. It works brilliant.

Just not connecting public servers :)
oguzog
 
Posts: 10
Joined: 09 Dec 2014, 13:42
Has thanked: 0 time
Been thanked: 0 time

Re: Error connecting

Postby LevelX » 10 Dec 2014, 13:57

I agree to your first guess, that the exception:
Code: Select all
org.jboss.remoting.InvalidConfigurationException: Can not handle invocation request for subsystem 'MAGE.İNTERFACES.MAGESERVER' because there are no matching ServerInvocationHandlers registered. Please add via xml configuration or via the Connector's addInvocationHandler() method
shows that there is a problem on the system.

XMage does not set this name for the JBoss objects, it uses always "callback" as subsystem name. So I don't see here a way to change/fix it in XMage.

I believe it's a problem, of executing JBoss remoting on your system. I can't say if you have to blame your system or JBoss Remoting.

Maybe you can check with another computer, if it's a problem caused of the network connection or by your system itself (more likely imho).
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Error connecting

Postby Sax » 13 Jan 2015, 03:15

I'm having trouble connecting. I've included the error messages I always receive (no idea what it's trying to tell me.) Doesn't really matter what public server I try to connect to, I get the same result.
Attachments
error3.jpg
Error2.jpg
Error1.jpg
Sax
 
Posts: 4
Joined: 13 Jan 2015, 02:57
Has thanked: 1 time
Been thanked: 0 time

Re: Error connecting

Postby LevelX » 13 Jan 2015, 06:25

Sax wrote:I'm having trouble connecting. I've included the error messages I always receive (no idea what it's trying to tell me.) Doesn't really matter what public server I try to connect to, I get the same result.
Delete all files in .../mage-client/db/ directory and try again.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Error connecting

Postby Sax » 14 Jan 2015, 04:13

LevelX wrote:
Sax wrote:I'm having trouble connecting. I've included the error messages I always receive (no idea what it's trying to tell me.) Doesn't really matter what public server I try to connect to, I get the same result.
Delete all files in .../mage-client/db/ directory and try again.
Seems to work a little better. Thank you very much! Should I do this if I continue to have those error messages in the future?
Sax
 
Posts: 4
Joined: 13 Jan 2015, 02:57
Has thanked: 1 time
Been thanked: 0 time

Re: Error connecting

Postby Sax » 18 Jan 2015, 01:19

... Such as right now. Only server I'm able to connect to is woogerworks, and only because it thinks that's the one I want to automatically connect to after I delete all files in .../mage-client/db/directory

Same error messages when I try to change servers (or try to change and attempt to go back to woogerworks). Any suggestions?
Sax
 
Posts: 4
Joined: 13 Jan 2015, 02:57
Has thanked: 1 time
Been thanked: 0 time

Re: Error connecting

Postby LevelX » 18 Jan 2015, 08:18

Did you update the client to the current V9 version?
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Error connecting

Postby Sax » 18 Jan 2015, 22:27

Downloading it for the third time (since it came out) to make sure that my computer didn't download any part of it incorrectly.

Update: No improvement.
Sax
 
Posts: 4
Joined: 13 Jan 2015, 02:57
Has thanked: 1 time
Been thanked: 0 time

Re: Error connecting

Postby oguzog » 19 May 2015, 14:54

PROBLEM SOLVED

If you use Windows in Turkish. You get that error. If you add english language (not keyboard or localization language but MENU language) you can connect.
Or you can install fresh english OS to your system.

Can creators solve this issue? it is about turkish letters and java problem. like ıI iİ .
oguzog
 
Posts: 10
Joined: 09 Dec 2014, 13:42
Has thanked: 0 time
Been thanked: 0 time

Re: Error connecting

Postby Paerux » 21 Jun 2015, 19:30

Hello. I was having the same problem. I had to install English OS.
Will this problem get fixed soon? I want to be able to play with my friends who don't have English OS
Paerux
 
Posts: 4
Joined: 21 Jun 2015, 19:28
Has thanked: 0 time
Been thanked: 0 time

Next

Return to XMage

Who is online

Users browsing this forum: No registered users and 15 guests


Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 15 guests

Login Form