I'm attempting to access custom Java classes from my CFMX app
(CFMX as the View-Controller, Java as the Model). This works fine
locally (Developer edition) when placing the Java classes under
the default web root. However, this is not an option on a shared host.

The docs say CFMX will search webroot/WEB-INF/classes for Java
classes, but I can't get this to work. When I attempt to invoke
classes placed there using <cfobject type="Java" action=""
class="TestJava" name="testJava">, I get the error:

java.security.PrivilegedActionException:
java.lang.ClassNotFoundException: TestJava

Setting a classpath in the CF admin to point to my classes is
also not an option in a shared environment.

Can someone share with me the secret of getting CFMX to recognize
Java classes from webroot/WEB-INF/classes (in a shared environment)?

TIA,
Dave s
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to