[Chameleon] Testing Beta2 Service Instance

Paul Spencer pagameba at magma.ca
Thu Aug 26 16:17:03 EDT 2004


Eric, check for invalid structure in the chameleon.xml file, there was a 
bug in the description element of the web_server_path ... look for &lt 
or &gt without a trailing ; and add the trailing ;

Cheers,

Paul

Eric Bridger wrote:

> I'm having trouble attempting to test the 1.99 Beta2 CWC2 Service
> Instance using the supplied default application. I'm following the
> instructions in cwc2/CWC2_INSTALLATION.txt file.
> 
> I think I have the service instance installed correctly, following the
> steps in that document.
> 
> An existing Beta 1 Chameleon 1.99 only application works fine with the
> Beta2 installation.
> The first service instance test:
> http://<myserver>/cwc2/cwc2.php
> 
> returns the correct error message.
> 
> But the second service intance test of the default application is
> failing:
> http://<myserver>/cwc2/cwc2.php?service=VCG&request=GetApplication&version=0.1.0
> The browser displays:
> ...
> query string was service=VCG&request=GetApplication&version=0.1.0
> Invalid request. No CONTEXTS parameter was provided and the Service
> Instance has no default context
> 
> 
> I used the supplied default_context: cwc2/contexts/world_context.xml and
> template: cwc2/templates/sample_cwc2.html, etc.
> 
> My Apache error log is showing:
> 
> PHP Notice:  Undefined offset:  1 in
> /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/appcontext.php on line 213
> PHP Notice:  Undefined index:  param-value in
> /usr/opt/chameleon/chameleon-1.99beta-20040709/htdocs/common/appcontext/appcontext.php on line 276
> 
> 
> Debugs added by me confirm that appcontext.php is attempting to parse
> the correct cwc2.xml file but is failing on the first token in the
> parseContextFile() routine.
> 
> 
> Eric
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           pspencer at dmsolutions.ca   |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



More information about the Chameleon mailing list