
I updated the config files so that the UI files (in platform/ui) are
now served using a FileService bound to root ("/"). So if you request http://localhost:8080
it gives you the login (index.html) page.
I also added a new "PlatformService" called ConfigService. I think
this is probably going to be re-used as a global gateway for
configuration information. This is bound to the resource "/config"
If you request just "/config" it will send the platform.xml (system)
config info.
"/config/vocabularies" -> VocabularyManager configuration
"/config/vocabularies?id=" -> the config for the given
vocabulary
"/config/codecs" -> CodecFactory configuration
"/config/codecs?id=" -> the config for the given codec
"/config/databases" -> CodecFactory configuration
"/config/databases?id=" -> the config for the given
database
"/config/reactors" -> CodecFactory configuration
"/config/reactors?id=" -> the config for the given reactor
"/config/services" -> CodecFactory configuration
"/config/services?id=" -> the config for the given service
All is well so far except one thing:
When I try to load the reactors.html page by way of the FileService,
it does not load! I don't get it b/c when I open up reactors.html
(locally) in my browser it loads fine. I'm seeing two messages pop up
in the log files which may be a clue:
1202174634 WARN FileService File not found (): dojo/dijit/form/
_Widget.js
1202174634 WARN FileService File not found (): dojo/dojox/FileInput.js
I checked, and neither of these files exist in those directories. I
also tried requesting other files that do exist in those directories
and it sent them just fine. So FileService is right -- those appear
to be bad links in the code.. Any ideas on how we can fix this?
Thanks,
-Mike

Ok... this is weird... it just started working for me. It's still
giving those errors server-side but the reactors page is loading fine
now. Wacky, I didn't change anything... maybe Firefox was coughing
up a hairball or something..
-Mike
- Login or register to post comments
Submitted by Mike Dickey on Mon, 02/04/2008 - 19:50.I'm glad it's working, but indeed, those two warnings were correct. I will fix and/or delete the incorrect paths, which are present for the benefit of Firebug (or would be if they were correct).
Mignon
- Login or register to post comments
Submitted by mignon on Mon, 02/04/2008 - 19:50.