[Opensim-users] Still trying to set up groups - progress and problems

Justin Clark-Casey jjustincc at googlemail.com
Tue Oct 25 23:19:18 UTC 2011


As a quick sanity check you could just try pointing your browser at the php.  If this part is working you should see

<methodResponse>
	<fault>
		<value>
			<struct>
				<member>
					<name>faultCode</name>
					<value><int>105</int></value>
				</member>
				<member>
					<name>faultString</name>
					<value><string>XML error: Invalid document end at line 1, column 1</string></value>
				</member>
			</struct>
		</value>
	</fault>
</methodResponse>

Other than that, I'm afraid the next step is to insert a Console.WriteLine(inputXml) at about line 1159 in 
XmlRpcGroupsServiceConnectorModule.Send(String url):XmlRpcRespone to see what you're actually getting back.

On 25/10/11 16:10, Kurt Reisler wrote:
> Thanks to Justin's changes, I was able to get the MySQL (5.5.16) database tables created. I have PHP installed with IIS
> on a Windows 2008 server (tested with a helloworld.php script). Running OpenSim 0.7.2 with the OpenSim.ini module
> modified to include the following:
>
>     Groups]
>     ;# {Enabled} {} {Enable groups?} {true false} false
>     ;; Enables the groups module
>     Enabled = true
>
>     ;# {Module} {Enabled:true} {Groups module to use? (Use GroupsModule to use Flotsam/Simian)} {} Default
>     ;; This is the current groups stub in Region.CoreModules.Avatar.Groups.
>     ;; All the other settings below only really apply to the Flotsam/SimianGrid
>     ;; GroupsModule.
>     ;; This module can use a PHP XmlRpc server from the Flotsam project at
>     ;; http://code.google.com/p/flotsam/
>     ;; or from the SimianGrid project at http://code.google.com/p/openmetaverse
>     Module = GroupsModule
>
>     ;# {MessagingEnabled} {Module:GroupsModule} {Is groups messaging enabled?} {true false} true
>     MessagingEnabled = true
>
>     ;# {MessagingModule} {MessagingEnabled:true} {Module to use for groups messaging} {GroupsMessagingModule}
>     GroupsMessagingModule
>     MessagingModule = GroupsMessagingModule
>
>     ;# {ServicesConnectorModule} {Module:GroupsModule} {Service connector to use for groups}
>     {XmlRpcGroupsServicesConnector SimianGroupsServicesConnector} XmlRpcGroupsServicesConnector
>     ;; Service connectors to the Groups Service as used in the GroupsModule. Select one depending on
>     ;; whether you're using a Flotsam XmlRpc backend or a SimianGrid backend
>     ServicesConnectorModule = XmlRpcGroupsServicesConnector
>     XmlRpcServiceURL = http://mosgrid.mitre.org/groups/xmlrpc.php
>
>     ;# {GroupsServerURI} {Module:GroupsModule} {Groups Server URI} {}
>     ;; URI for the groups services
>     ;; e.g. http://yourxmlrpcserver.com/xmlrpc.php for Flotsam XmlRpc
>     ;; or http://mygridserver.com:82/Grid/ for SimianGrid
>     GroupsServerURI = http://mosgrid.mitre.org/groups/xmlrpc.php
>
>     ;# {NoticesEnabled} {Module:GroupsModule} {Enable group notices?} {true false} true
>     ;; Enable Group Notices
>     NoticesEnabled = true
>
>     ;; This makes the Groups modules very chatty on the console.
>     DebugEnabled = true
>
>     ;; XmlRpc Security settings. These must match those set on your backend
>     ;; groups service if the service is using these keys
>     XmlRpcServiceReadKey = 1234
>     XmlRpcServiceWriteKey = 1234
>
>     ; Disables HTTP Keep-Alive for XmlRpcGroupsServicesConnector HTTP Requests,
>     ; this is a work around fora problem discovered on some Windows based region servers.
>     ; Only disable keep alive if you see a large number (dozens) of the following Exceptions:
>     ; System.Net.WebException: The request was aborted: The request was canceled.
>     ;
>     ; XmlRpcDisableKeepAlive = false
>
> When I attempt to create a new group, I get the following error every time the XMLRPC-GROUPS-CONNECTOR is called.
>
>     10:31:09 - [GROUPS]: CreateGroup called
>     10:31:09 - [XMLRPC-GROUPS-CONNECTOR]: An error has occured while attempting to a
>     ccess the XmlRpcGroups server method groups.getGroup at http://mosgrid.mitre.org/groups/xmlrpc.php
>     10:31:09 - [XMLRPC-GROUPS-CONNECTOR]: Data at the root level is invalid. Line 1, position 1.
>     at System.Xml.XmlTextReaderImpl.Throw(Exception e)
>
> The config.php file is correctly set up to point to the correct database, with the right login and password.
>
> Any suggestions?
> Thanks in advance
> Kurt
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list