Can't log in to MSG<\/strong><\/p>\nIf you get an access denied\/authorisation failed message when you try to log in to MSG, apart from the obvious of checking your username\/password have be correctly set up in Openfire, you can also test out whether the BuddyXML services are running correctly. To do this, visit:
\nhttp:\/\/www.mymsg.com:8080\/buddyxml?command=connect&username=AAAAA&password=BBBBB&host=CCCCC
\nYou'll need to update the domain to match your server and enter the relevant username, password and host. You should see an xml file in your browser with ‘login succeeded’<\/p>\n
The reason for checking this is that BuddyXML provides the serivces necessary for MSG client to run, if BuddyXML services are running fine, but you Can't log in to MSG then something must be wrong with MSG, but if BuddyXML isn't working then this needs to be fixed before trying to log in to MSG.<\/p>\n
"MSGAlert Notification Server failed to start" error on starting Tomcat<\/strong><\/p>\nThe full error message is likely to be :
\n
\n\"WARNING: Failed to register in JMX: javax.naming.NamingException: Could
\nnot create resource factory instance
\nAttempting to start MSGAlert Notification Server on port 5225
\nMSGAlert Notification Server failed to start\"
\n<\/code>
\nThere are two possible reasons for this, firstly (the least likely) is that another service is already using this port, to test if this is the case identify which service is using the port then stop this service and see if toimcat will restart without the error occuring.
\nThe second possible cause (and most likely) is that you’re using a Unix based system and the user which Tomcat logs in as does not have access to listen on port 5225. To solve this you will need to give the user access to listen on port 5225.\n<\/p>\nSQL error messages when trying to display the presence icon.<\/strong><\/p>\nDepends on the exact error message, but it\u00e2\u20ac\u2122s possible that you don\u00e2\u20ac\u2122t have the user_metadata table in your Moodle database (since this is a custom OU table for the OpenLearn project). To fix this problem you\u00e2\u20ac\u2122ll need to create a table with the following definition (MySQL syntax):<\/p>\n
\nCREATE TABLE mdl_user_metadata
\n(
\nid serial NOT NULL,
\nuserid int4 NOT NULL DEFAULT 0,
\npropertyname varchar(50),
\nvalue varchar(100),
\nPRIMARY KEY (id)
\n)
\n<\/code><\/p>\nThe table doesn\u00e2\u20ac\u2122t have to contain any records, though you could use it if you wanted to allow users to opt in\/out of using MSG. By default users are opted in to using MSG (hence why no records are required) and to opt out a specific users, you would need to enter a record with propertyname \u00e2\u20ac\u02dcnomsg\u00e2\u20ac\u2122 (or whatever you entered as the MSG-Moodle block setting for \u00e2\u20ac\u02dcopt in\/out property name\u00e2\u20ac\u2122) and value set to be \u00e2\u20ac\u02dc1\u00e2\u20ac\u00b2.<\/p>\n
Presence icon doesn\u00e2\u20ac\u2122t appear in the Moodle header, but no error message<\/strong><\/p>\nThe presence icon in the header will only appear if the current user is enrolled on a course which has the MSG-Moodle block attached, and they must be enrolled with the role specified in the \u00e2\u20ac\u02dcGroup Role ID\u00e2\u20ac\u2122 MSG-Moodle block settings page. This is fairly likely to happen if you are logged in as a Moodle admin, as you\u00e2\u20ac\u2122ll have access to all the courses, but you\u00e2\u20ac\u2122re not actually enrolled on courses.<\/p>\n
Presence icon appears but doesn\u00e2\u20ac\u2122t log the user in (i.e. presence icon doesn\u00e2\u20ac\u2122t go green)<\/strong><\/p>\nFirst need to check the data that is received back from the MSG server, this is where a packet sniffer or the Firebug tool comes in handy. If the request to login (the GET url will be something like: buddyxml?command=connect&\u00e2\u20ac\u00a6) has an error code 2002 (login failure) returned, then you\u00e2\u20ac\u2122ll need to check the configuration of the MSG server, checking that it is pointing to the correct Moodle server for cookie validation. You should also check that the MSG-Moodle block setting \u00e2\u20ac\u02dcAllowed IP addresses\u00e2\u20ac\u2122 has the correct IP address for the MSG server.<\/p>\n","protected":false},"excerpt":{"rendered":"
If you find that your installation isn't working, then please see if the problem you are having is listed below, hopefully this information will resolve the problem, if you still have problems please email us. "Connection broken or server unavailable" message Chat messages not being sent or received "TransformerFactoryConfigurationError" error on starting Tomcat Can't log […]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/pages\/34"}],"collection":[{"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":0,"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/pages\/34\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"http:\/\/technologies.kmi.open.ac.uk\/msg\/wp-json\/wp\/v2\/media?parent=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}