*Update*
First, I switched back to c:\xampp\tomcat\webapps\bluedragon\ so my
structure is:
c:\xampp\tomcat\webapps\bluedragon\
C:\xampp\tomcat\webapps\bluedragon\administrator
C:\xampp\tomcat\webapps\bluedragon\adminapi
The command that it hangs up on is like:
Application.administrator = CreateObject("component",
"bluedragon.adminapi.Administrator");
where it's looking for Administrator(.cfc) in "bluedragon.adminapi"
directory. If I copy Adminstrator.cfc, base.cfc. UDFs.cfc from the
C:\xampp\tomcat\webapps\bluedragon\adminapi directory into the
\adminstrator directory and edit the command to be:
CreateObject("component", "Administrator");
, OpenBD finds it and creates it.
Does this help? TIA
Steve
On Thursday, March 1, 2012 9:22:09 AM UTC-8, Steve Of LA wrote:
>
> debugroot /bluedragon
> debugroot2 c:\xampp\tomcat\webapps\ROOT\bluedragon\bluedragon
> debugroot3 c:\xampp\tomcat\webapps\ROOT\bluedragon\
>
> Steve
>
> On Thursday, March 1, 2012 9:12:35 AM UTC-8, Alex Skinner wrote:
>>
>> ok try expandpath("/");
>>
>> Thanks
>>
>> A
>>
>> On 1 March 2012 17:08, Steve Of LA wrote:
>>
>>> Code:
>>> Application.debugroot = GetContextroot ( );
>>> Application.debugroot2 = expandpath("/bluedragon");
>>>
>>> Results:
>>> debugroot /bluedragon
>>> debugroot2 c:\xampp\tomcat\webapps\ROOT\bluedragon\bluedragon
>>>
>>> Steve
>>> On Wednesday, February 29, 2012 4:33:30 PM UTC-8, Alex Skinner wrote:
>>>>
>>>> try and do expandpath("/bluedragon"); what path do you get
>>>>
>>>> A
>>>>
>>>> On 1 March 2012 00:31, Steve Of LA wrote:
>>>>
>>>>>
>>>>> Nope, that didn't. I put the line:
>>>>> Application.debugroot = GetContextroot ( );
>>>>> just before the CreateObject. It shows as "/bluedragon". Is there
>>>>> some more debugging code I could put in to display the current context
>>>>> that
>>>>> would help you? (BTW, thank you for helping me with this)
>>>>>
>>>>>
>>>>> On Wednesday, February 29, 2012 2:49:24 PM UTC-8, Alex Skinner wrote:
>>>>>
>>>>>> Ok after the existing context path try adding
>>>>>>
>>>>>> <Context Path="/bluedragon"
>>>>>> docBase="c:/xampp/tomcat/**webap**ps/bluedragon/"
>>>>>> />
>>>>>>
>>>>>> Restart the tomcat and see what happens
>>>>>>
>>>>>> A
>>>>>>
>>>>>> On 29 February 2012 22:29, Steve Of LA wrote:
>>>>>>
>>>>>>> C:\xampp\tomcat\webapps\**bluedr**agon\adminapi.
>>>>>>> C:\xampp\tomcat\webapps\**bluedr**agon\administrator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, February 29, 2012 2:23:07 PM UTC-8, Alex Skinner wrote:
>>>>>>>
>>>>>>>> ok where does your bluedragon folder live which has the admin in it
>>>>>>>> whats the path ?
>>>>>>>>
>>>>>>>> A
>>>>>>>>
>>>>>>>> On 29 February 2012 22:16, Steve Of LA wrote:
>>>>>>>>
>>>>>>>>> Here it is:
>>>>>>>>>
>>>>>>>>> ******************************************************************
>>>>>>>>> ************************
>>>>>>>>> <Host name="localhost" appBase="webapps"
>>>>>>>>> unpackWARs="true" autoDeploy="true"
>>>>>>>>> xmlValidation="false" xmlNamespaceAware="false">
>>>>>>>>> <Context Path="" docBase="c:/xampp/openbd/" />
>>>>>>>>> ******************************************************************
>>>>>>>>> *************************
>>>>>>>>>
>>>>>>>>> Thank you so much. My question is that I don't think I had to do
>>>>>>>>> this user OpenBD 1.x. (?) Is this new in OpenBD 2?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, February 29, 2012 2:01:23 PM UTC-8, Alex Skinner
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi yes,
>>>>>>>>>>
>>>>>>>>>> See my previous post you need to add a context path to your host
>>>>>>>>>> as the thing assumes that your webroot is
>>>>>>>>>>
>>>>>>>>>> /
>>>>>>>>>> and you have a folder called /bluedragon under it
>>>>>>>>>>
>>>>>>>>>> cut and paste your <Host > bit from tomcat server.conf and ill
>>>>>>>>>> modify it for you and post back
>>>>>>>>>>
>>>>>>>>>> A
>>>>>>>>>>
>>>>>>>>>> On 29 February 2012 21:47, Steve Of LA wrote:
>>>>>>>>>>
>>>>>>>>>>> Alex,
>>>>>>>>>>>
>>>>>>>>>>> I think I've just hit one of my knowledge gaps. The full path
>>>>>>>>>>> of the directory is:
>>>>>>>>>>>
>>>>>>>>>>> C:\xampp\tomcat\webapps\**bluedr******agon\adminapi and there
>>>>>>>>>>> is an Administrator.cfc in that directory. My gut feeling is that
>>>>>>>>>>> I need
>>>>>>>>>>> to tell the system that "bluedragon.adminapi.**Administr******ator"
>>>>>>>>>>> does exist and translates into the path above. I haven't coded
>>>>>>>>>>> CreateObjects myself, but have run into the same issue with MxUnit.
>>>>>>>>>>> This
>>>>>>>>>>> was working on default install of OpenBD. I followed and adapted
>>>>>>>>>>> the
>>>>>>>>>>> Single Instance Install to get to this point.
>>>>>>>>>>>
>>>>>>>>>>> Steve
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wednesday, February 29, 2012 1:38:45 PM UTC-8, Steve Of LA
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Wednesday, February 29, 2012 12:02:30 PM UTC-8, Steve Of LA
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> I suspect that this is just a missing setting. I'm getting a:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Invalid Request; A request was made to a resource that could
>>>>>>>>>>>>> not be
>>>>>>>>>>>>> located
>>>>>>>>>>>>>
>>>>>>>>>>>>> on:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Application.administrator = CreateObject("component",
>>>>>>>>>>>>> "bluedragon.adminapi.**Administr********ator");
>>>>>>>>>>>>>
>>>>>>>>>>>>> My guess is that somewhere I have to Apache/Tomcat/OpenBD that
>>>>>>>>>>>>> "bluedragon.adminapi.**Administr********ator" is a valid
>>>>>>>>>>>>> path. (?)
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is Xampp1.7.7 and OpenBD 2.0.2 (Fresh Install)
>>>>>>>>>>>>>
>>>>>>>>>>>>> TIA,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Steve
>>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>> online documentation: http://openbd.org/manual/
>>>>>>>>>>> google+ hints/tips: https://plus.google.com/**115990******
>>>>>>>>>>> 347459711259462 <https://plus.google.com/115990347459711259462>
>>>>>>>>>>> http://groups.google.com/**group******/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Alex Skinner
>>>>>>>>>> Managing Director
>>>>>>>>>> Pixl8 Interactive
>>>>>>>>>>
>>>>>>>>>> Tel: +448452600726
>>>>>>>>>> Email: [email protected]
>>>>>>>>>> Web: pixl8.co.uk
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>> online documentation: http://openbd.org/manual/
>>>>>>>>> google+ hints/tips: https://plus.google.com/**115990****
>>>>>>>>> 347459711259462 <https://plus.google.com/115990347459711259462>
>>>>>>>>> http://groups.google.com/**group****/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Alex Skinner
>>>>>>>> Managing Director
>>>>>>>> Pixl8 Interactive
>>>>>>>>
>>>>>>>> Tel: +448452600726
>>>>>>>> Email: [email protected]
>>>>>>>> Web: pixl8.co.uk
>>>>>>>>
>>>>>>>> --
>>>>>>> online documentation: http://openbd.org/manual/
>>>>>>> google+ hints/tips: https://plus.google.com/**115990**
>>>>>>> 347459711259462 <https://plus.google.com/115990347459711259462>
>>>>>>> http://groups.google.com/**group**/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alex Skinner
>>>>>> Managing Director
>>>>>> Pixl8 Interactive
>>>>>>
>>>>>> Tel: +448452600726
>>>>>> Email: [email protected]
>>>>>> Web: pixl8.co.uk
>>>>>>
>>>>>> --
>>>>> online documentation: http://openbd.org/manual/
>>>>> google+ hints/tips:
>>>>> https://plus.google.com/**115990347459711259462<https://plus.google.com/115990347459711259462>
>>>>> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alex Skinner
>>>> Managing Director
>>>> Pixl8 Interactive
>>>>
>>>> Tel: +448452600726
>>>> Email: [email protected]
>>>> Web: pixl8.co.uk
>>>>
>>>> --
>>> online documentation: http://openbd.org/manual/
>>> google+ hints/tips: https://plus.google.com/115990347459711259462
>>> http://groups.google.com/group/openbd?hl=en
>>>
>>
>>
>>
>> --
>> Alex Skinner
>> Managing Director
>> Pixl8 Interactive
>>
>> Tel: +448452600726
>> Email: [email protected]
>> Web: pixl8.co.uk
>>
>>
On Thursday, March 1, 2012 9:22:09 AM UTC-8, Steve Of LA wrote:
>
> debugroot /bluedragon
> debugroot2 c:\xampp\tomcat\webapps\ROOT\bluedragon\bluedragon
> debugroot3 c:\xampp\tomcat\webapps\ROOT\bluedragon\
>
> Steve
>
> On Thursday, March 1, 2012 9:12:35 AM UTC-8, Alex Skinner wrote:
>>
>> ok try expandpath("/");
>>
>> Thanks
>>
>> A
>>
>> On 1 March 2012 17:08, Steve Of LA wrote:
>>
>>> Code:
>>> Application.debugroot = GetContextroot ( );
>>> Application.debugroot2 = expandpath("/bluedragon");
>>>
>>> Results:
>>> debugroot /bluedragon
>>> debugroot2 c:\xampp\tomcat\webapps\ROOT\bluedragon\bluedragon
>>>
>>> Steve
>>> On Wednesday, February 29, 2012 4:33:30 PM UTC-8, Alex Skinner wrote:
>>>>
>>>> try and do expandpath("/bluedragon"); what path do you get
>>>>
>>>> A
>>>>
>>>> On 1 March 2012 00:31, Steve Of LA wrote:
>>>>
>>>>>
>>>>> Nope, that didn't. I put the line:
>>>>> Application.debugroot = GetContextroot ( );
>>>>> just before the CreateObject. It shows as "/bluedragon". Is there
>>>>> some more debugging code I could put in to display the current context
>>>>> that
>>>>> would help you? (BTW, thank you for helping me with this)
>>>>>
>>>>>
>>>>> On Wednesday, February 29, 2012 2:49:24 PM UTC-8, Alex Skinner wrote:
>>>>>
>>>>>> Ok after the existing context path try adding
>>>>>>
>>>>>> <Context Path="/bluedragon"
>>>>>> docBase="c:/xampp/tomcat/**webap**ps/bluedragon/"
>>>>>> />
>>>>>>
>>>>>> Restart the tomcat and see what happens
>>>>>>
>>>>>> A
>>>>>>
>>>>>> On 29 February 2012 22:29, Steve Of LA wrote:
>>>>>>
>>>>>>> C:\xampp\tomcat\webapps\**bluedr**agon\adminapi.
>>>>>>> C:\xampp\tomcat\webapps\**bluedr**agon\administrator
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, February 29, 2012 2:23:07 PM UTC-8, Alex Skinner wrote:
>>>>>>>
>>>>>>>> ok where does your bluedragon folder live which has the admin in it
>>>>>>>> whats the path ?
>>>>>>>>
>>>>>>>> A
>>>>>>>>
>>>>>>>> On 29 February 2012 22:16, Steve Of LA wrote:
>>>>>>>>
>>>>>>>>> Here it is:
>>>>>>>>>
>>>>>>>>> ******************************************************************
>>>>>>>>> ************************
>>>>>>>>> <Host name="localhost" appBase="webapps"
>>>>>>>>> unpackWARs="true" autoDeploy="true"
>>>>>>>>> xmlValidation="false" xmlNamespaceAware="false">
>>>>>>>>> <Context Path="" docBase="c:/xampp/openbd/" />
>>>>>>>>> ******************************************************************
>>>>>>>>> *************************
>>>>>>>>>
>>>>>>>>> Thank you so much. My question is that I don't think I had to do
>>>>>>>>> this user OpenBD 1.x. (?) Is this new in OpenBD 2?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, February 29, 2012 2:01:23 PM UTC-8, Alex Skinner
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi yes,
>>>>>>>>>>
>>>>>>>>>> See my previous post you need to add a context path to your host
>>>>>>>>>> as the thing assumes that your webroot is
>>>>>>>>>>
>>>>>>>>>> /
>>>>>>>>>> and you have a folder called /bluedragon under it
>>>>>>>>>>
>>>>>>>>>> cut and paste your <Host > bit from tomcat server.conf and ill
>>>>>>>>>> modify it for you and post back
>>>>>>>>>>
>>>>>>>>>> A
>>>>>>>>>>
>>>>>>>>>> On 29 February 2012 21:47, Steve Of LA wrote:
>>>>>>>>>>
>>>>>>>>>>> Alex,
>>>>>>>>>>>
>>>>>>>>>>> I think I've just hit one of my knowledge gaps. The full path
>>>>>>>>>>> of the directory is:
>>>>>>>>>>>
>>>>>>>>>>> C:\xampp\tomcat\webapps\**bluedr******agon\adminapi and there
>>>>>>>>>>> is an Administrator.cfc in that directory. My gut feeling is that
>>>>>>>>>>> I need
>>>>>>>>>>> to tell the system that "bluedragon.adminapi.**Administr******ator"
>>>>>>>>>>> does exist and translates into the path above. I haven't coded
>>>>>>>>>>> CreateObjects myself, but have run into the same issue with MxUnit.
>>>>>>>>>>> This
>>>>>>>>>>> was working on default install of OpenBD. I followed and adapted
>>>>>>>>>>> the
>>>>>>>>>>> Single Instance Install to get to this point.
>>>>>>>>>>>
>>>>>>>>>>> Steve
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wednesday, February 29, 2012 1:38:45 PM UTC-8, Steve Of LA
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Wednesday, February 29, 2012 12:02:30 PM UTC-8, Steve Of LA
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> I suspect that this is just a missing setting. I'm getting a:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Invalid Request; A request was made to a resource that could
>>>>>>>>>>>>> not be
>>>>>>>>>>>>> located
>>>>>>>>>>>>>
>>>>>>>>>>>>> on:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Application.administrator = CreateObject("component",
>>>>>>>>>>>>> "bluedragon.adminapi.**Administr********ator");
>>>>>>>>>>>>>
>>>>>>>>>>>>> My guess is that somewhere I have to Apache/Tomcat/OpenBD that
>>>>>>>>>>>>> "bluedragon.adminapi.**Administr********ator" is a valid
>>>>>>>>>>>>> path. (?)
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is Xampp1.7.7 and OpenBD 2.0.2 (Fresh Install)
>>>>>>>>>>>>>
>>>>>>>>>>>>> TIA,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Steve
>>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>> online documentation: http://openbd.org/manual/
>>>>>>>>>>> google+ hints/tips: https://plus.google.com/**115990******
>>>>>>>>>>> 347459711259462 <https://plus.google.com/115990347459711259462>
>>>>>>>>>>> http://groups.google.com/**group******/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Alex Skinner
>>>>>>>>>> Managing Director
>>>>>>>>>> Pixl8 Interactive
>>>>>>>>>>
>>>>>>>>>> Tel: +448452600726
>>>>>>>>>> Email: [email protected]
>>>>>>>>>> Web: pixl8.co.uk
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>> online documentation: http://openbd.org/manual/
>>>>>>>>> google+ hints/tips: https://plus.google.com/**115990****
>>>>>>>>> 347459711259462 <https://plus.google.com/115990347459711259462>
>>>>>>>>> http://groups.google.com/**group****/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Alex Skinner
>>>>>>>> Managing Director
>>>>>>>> Pixl8 Interactive
>>>>>>>>
>>>>>>>> Tel: +448452600726
>>>>>>>> Email: [email protected]
>>>>>>>> Web: pixl8.co.uk
>>>>>>>>
>>>>>>>> --
>>>>>>> online documentation: http://openbd.org/manual/
>>>>>>> google+ hints/tips: https://plus.google.com/**115990**
>>>>>>> 347459711259462 <https://plus.google.com/115990347459711259462>
>>>>>>> http://groups.google.com/**group**/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alex Skinner
>>>>>> Managing Director
>>>>>> Pixl8 Interactive
>>>>>>
>>>>>> Tel: +448452600726
>>>>>> Email: [email protected]
>>>>>> Web: pixl8.co.uk
>>>>>>
>>>>>> --
>>>>> online documentation: http://openbd.org/manual/
>>>>> google+ hints/tips:
>>>>> https://plus.google.com/**115990347459711259462<https://plus.google.com/115990347459711259462>
>>>>> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alex Skinner
>>>> Managing Director
>>>> Pixl8 Interactive
>>>>
>>>> Tel: +448452600726
>>>> Email: [email protected]
>>>> Web: pixl8.co.uk
>>>>
>>>> --
>>> online documentation: http://openbd.org/manual/
>>> google+ hints/tips: https://plus.google.com/115990347459711259462
>>> http://groups.google.com/group/openbd?hl=en
>>>
>>
>>
>>
>> --
>> Alex Skinner
>> Managing Director
>> Pixl8 Interactive
>>
>> Tel: +448452600726
>> Email: [email protected]
>> Web: pixl8.co.uk
>>
>>
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en