Consultor Eletrônico



Kbase P130137: Java error running OpenClient java proxy in a JSP page
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

UNIX
OpenEdge 10.x

SYMPTOM(s):

Java error running OpenClient java proxy in a JSP page

Proxy class cannot be resolved to a type

Standalone java client application works fine using the same proxy

Tomcat is running the servlet

CAUSE:

Tomcat cannot find proxy classes that need to be instantiate when a JSP page is ran

FIX:

The following steps are needed In order to run an openclient proxy from a JSP page:

1 - Go to the proxy generator tool, open the java tab and add a package name to your proxy class
2 - Right click on the folder generated by the proxy generator tool and add it to a .jar file or .zip file.
3 - Add both jar files (application and o4glrt.jat) to the share.loader entry in the $tomcathome/conf/catalina.properties file:

shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar,/zdrive/myclasses.jar,/zdrive/o4glrt.jar

4 - restart tomcat.