Re: Class not found error when browsing to a CFC directly.

2004-04-23 Thread Thomas Chiverton
On Thursday 22 Apr 2004 22:54 pm, Shawn Grover wrote:
 Class not found: coldfusion.runtime.TemplateProxyFactory
 175 : proxy = CreateObject( java,
 coldfusion.runtime.TemplateProxyFactory ) ; 176 : comp =

I start by looking at your CLASSPATH and WEB-INF directorys, to try and find a 
file (.jar) with that class in.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Class not found error when browsing to a CFC directly.

2004-04-22 Thread Shawn Grover
Haven't seen any response on this, so I'm hoping a bump might elicit some responeses.(I won't bump it again after this one.)

 
Shawn

-Original Message-
From: Shawn Grover 
Sent: Monday, April 19, 2004 12:00 PM
To: CF-Talk
Subject: Class not found error when browsing to a CFC directly.

Hi gang.

I was trying to demonstrate CFMX's self documentation of CFCs to a co-worker, so punched in the URL to a CFC file.I got the error listed below.

I've seen this occur before but have not been able to determine the exact circumstances where I would see it.I initially suspected it was a problem in how we were calling our CFCs(i.e. MyObj = createObject(component, #oConfig.CFCPath#.rules.myCFC); ), but have seen this work with no problems before as well.So I'm a little confused.The error being reported is in a Java class, and does not point to any code we've written.

Any tips or suggestions on this?Thanks muchly.

Shawn

(ps.We're on CFMX 6.0.An upgrade to 6.1 is not an option at this point.)

Here's the error I'm seeing:
---
Object Instantiation Exception.
Class not found: coldfusion.runtime.TemplateProxyFactory

The Error Occurred in C:\Inetpub\wwwroot\CFIDE\componentutils\cfcexplorer.cfc: line 175

173 : cfscript
174 : if ( IsDefined('arguments.path') and arguments.path neq '' ) {
175 : proxy = CreateObject( java, coldfusion.runtime.TemplateProxyFactory ) ;
176 : comp = proxy.ResolvePath( arguments.path, getPageContext() ) ;
177 : } else { 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]