If I look through the current Robust.HG.ini.example, then I see an asset service is referenced in [GridService] and [HGAssetService].

These are direct instantiations of copies of the ordinary OpenSimulator asset service class, which it's not possible to redirect to SRAS.

Now the one in GridService could theoretically be made to load the remote connector (RemoteAssetServiceConnector) but I'm not sure how this would work for HGAssetService. Unfortunately, this isn't something that I've tried to do and I don't currently know how OSGrid handles this.

On 29/10/13 23:25, opensimi...@virtualrealmsgrid.com wrote:
Hi all..

I have a few questions about Running Multiple Robust services and a couple of 
errors..

My setup is this..
I have My Asset Server as a SRAS server on the same machine running on port 
8004 (I followed the Instructions as
per Nebadon's PDF on setting up a SRAS server).
I also have a Instance of my Inventory server running on port 8005
The rest of the services are on one instance of Robust running on 8003
The Inventory Robust Instance and the Robust Instance share the same database.
There are all on the same machine.

So here a error I get from the Robust Server log when I start the Robust with 
or without the SRAS server running.

2013-10-29 16:26:40,479 ERROR - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: 
Error loading plugin
OpenSim.Services.Interfaces.IAssetService from 
OpenSim.Services.AssetService.dll. Exception: Object reference not set to
an instance of an object, at System.Reflection.MonoCMethod.Invoke 
(System.Object obj, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in
<filename unknown>:0
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, 
System.Reflection.Binder binder, System.Object[]
parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename 
unknown>:0
at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, 
System.Reflection.Binder binder,
System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] 
activationAttributes) [0x00000] in
<filename unknown>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args, 
System.Object[] activationAttributes)
[0x00000] in <filename unknown>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] 
in <filename unknown>:0
at OpenSim.Server.Base.ServerUtils.LoadPlugin[IAssetService] (System.String 
dllName, System.String className,
System.Object[] args) [0x00000] in <filename unknown>:0
2013-10-29 16:26:40,480 ERROR - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: 
Error loading plugin
OpenSim.Services.AssetService.dll: Exception has been thrown by the target of 
an invocation. args.Length 1

So As I look over the Robust.HG.ini file one question comes to mind (I realize 
that the OpenSims Instances (regions) get
the server information from the GridCommon.ini), but where does the rest of the 
Robust services get told of the SRAS
server?  And in the case of the HG connector get told of the SRAS Asset 
server..  For I noticed today if I Hypergrid to
say the OSgrid pick up a item and bring it back to my grid I am not able to rez 
that item I get a error about asset not
found and the error message I from the OpenSim log from that region on my grid 
is:

OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule 
[HGScene]: RezObject
itemID=865b0725-b4c2-40d6-8c9e-ddb824e8ee72 
fromTaskID=00000000-0000-0000-0000-000000000000
2013-10-29 19:14:23,520 WARN - 
OpenSim.Region.CoreModules.Framework.InventoryAccess.BasicInventoryAccessModule
[InventoryAccessModule]: Could not find asset 
45c56c10-2ef1-4d94-b523-7664de7d62a9 for item Any Size Mega Prim (boxed)
865b0725-b4c2-40d6-8c9e-ddb824e8ee72 for Todd Davis in RezObject()
2013-10-29 19:14:23,841 DEBUG - 
OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector [USER AGENT 
CONNECTOR]:
Unable to contact remote server http://76.212.124.49:9050/ for GetServerURLs

Is this error caused by my step or is there a bug?

If this is caused by my setup, I started to look over my Robust.HG.ini file one 
question comes to mind (I realize that
the OpenSims Instances (regions) get the server information from the 
GridCommon.ini), but where does the rest of the
Robust services get told of the SRAS server?  And in the case of the HG 
connector get told of the SRAS Asset server..

Entries in the Robust like this makes me wonder where the Robust connectors get 
the information about the SRAS server..

As per Nebadon's PDF on SRAS I commented these out..


[GridService]
LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"

HypergridLinker = true

; Realm = "regions"
; AllowDuplicateNames = "True"

;; Perform distance check for the creation of a linked region
; Check4096 = "True"

;; Needed to display non-default map tile images for linked regions
AssetService = "OpenSim.Services.AssetService.dll:AssetService"   <--- This is 
not loaded because my SRAS server is the
asset server
;[AssetService]
; LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
; DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
; AssetLoaderArgs = "./assets/AssetSets.xml"

; * This configuration loads the inventory server modules. It duplicates
; * the function of the legacy inventory server
; *
;[InventoryService]
; LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"

Sorry about the length of this question just trying to get my head around the 
Robust connectors and Hypergrid
interaction is all. And I want to make sure I did not miss something setting up 
different Robust instances to improve
performance of my grid's Robust server.

Thanks
Todd





_______________________________________________
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to