>From the errors I've gotten I'm guessing cfx tags on App Engine are not
available.I'm currently just testing the example from the cfmx docs
(ultimately i want to create a file upload cfx tag):


package com.simpleposting.test.datastore;

import com.allaire.cfx.* ;

public class GAEUpload implements CustomTag {
   public void processRequest( Request request, Response response )
 throws Exception {
String strName = request.getAttribute( "NAME" ) ;
 response.write( "Hello, " + strName ) ;
   }
}

Here is what I'm seeing from the App Engine Eclipse Jetty plugin:

CFCFX: cfx_GAEUpload

java.security.AccessControlException: access denied (java.io.FilePermission
\WEB-INF\classes\com\simpleposting\test\datastore\GAEUpload.class read)

and the actual App Engine app returns (OpenBlueDragonGAE.jar is included in
/WEB-INF/lib of course and used at compile time):


java.lang.NoClassDefFoundError: com/naryx/tagfusion/cfx/CFXClassLoader
        at com.naryx.tagfusion.cfx.cfCFX.getJavaCFXClass(Unknown Source)
        at com.naryx.tagfusion.cfx.cfCFX.getCustomTag(Unknown Source)
        at com.naryx.tagfusion.cfx.cfCFX.runJavaCFX(Unknown Source)
        at com.naryx.tagfusion.cfx.cfCFX.renderJavaCFX(Unknown Source)
        at com.naryx.tagfusion.cfx.cfCFX.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
        at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfINCLUDE.renderTemplate(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfINCLUDE.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfFUNCTION.realRun(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(Unknown Source)
        at com.naryx.tagfusion.cfm.script.userDefinedFunction.execute(Unknown 
Source)
        at 
com.naryx.tagfusion.expression.compile.CFFunctionExpression.Eval(Unknown
Source)
        at com.naryx.tagfusion.expression.compile.runTime.run(Unknown Source)
        at com.naryx.tagfusion.expression.compile.runTime.runExpression(Unknown 
Source)
        at com.naryx.tagfusion.expression.compile.runTime.runExpression(Unknown 
Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.renderExpression(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfOUTPUT.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
        at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfINCLUDE.renderTemplate(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfINCLUDE.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfPROCESSINGDIRECTIVE.render(Unknown 
Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfFUNCTION.realRun(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(Unknown Source)
        at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(Unknown Source)
        at com.naryx.tagfusion.cfm.script.userDefinedFunction.execute(Unknown 
Source)
        at 
com.naryx.tagfusion.cfm.engine.cfComponentData.invokeComponentFunction(Unknown
Source)
        at 
com.naryx.tagfusion.cfm.engine.cfComponentData.invokeApplicationFunction(Unknown
Source)
        at com.naryx.tagfusion.cfm.engine.cfSession.invokeOnRequest(Unknown 
Source)
        at com.naryx.tagfusion.cfm.engine.cfSession.onRequest(Unknown Source)
        at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
        at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Is it the case java cfx are just not implemented? If yes, then, will they in
the future? Also, is it possible to pass the Request request, Response
response from the httpservlet to a java function called using createobject
in cfml template? Perhaps, I could try implementing a plugin in the OpenBD
source. Could someone advise or suggest on where to go from here for simple
file uploading on GAE using OpenBD?

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to