Java API link throws exception

classic Classic list List threaded Threaded
2 messages Options
DL
Reply | Threaded
Open this post in threaded view
|

Java API link throws exception

DL
This post was updated on .
My localhost orbeon is otherwise working on both tomcat7 and resin servers.

However when I click on Java API link I see a pile of errors

other app links work as expected ..

the last lines of the error message (seen on both servers) are

home/dl/public_webapps/orbeon/WEB-INF/resources/apps/java-api/CallXSLT.java:37: error: cannot find symbol
public void generateMyoutput(PipelineContext pipelineContext, XMLReceiver xmlReceiver) throws SAXException {
^
symbol: class XMLReceiver
location: class CallXSLT
1 error
[EDIT]

Just to expand further:

The error message block starts with these lines .. perhaps suggesting a classpath problem?:

Error compiling '[-g, -classpath, /home/dl/public_webapps/orbeon/WEB-INF/classes:/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar:/usr/share/tomcat7/lib/:/usr/share/tomcat7/lib/catalina-ant.jar:/usr/share/tomcat7/lib/tomcat-i18n-es.jar:/usr/share/tomcat7/lib/catalina-ha.jar:/usr/share/tomcat7/lib/tomcat-i18n-ja.jar:/usr/share/tomcat7/lib/resin.jar:/usr/share/tomcat7/lib/catalina-tribes.jar:/usr/share/tomcat7/lib/catalina.jar:
<snip many errors .. >

and ends with these lines ..

-sourcepath, /home/dl/public_webapps/orbeon/WEB-INF/resources/apps/java-api, -d, /usr/share/tomcat7/work/Catalina/localhost/exist/cocoon-files/cache-dir, /home/dl/public_webapps/orbeon/WEB-INF/resources/apps/java-api/CallXSLT.java]'
/home/dl/public_webapps/orbeon/WEB-INF/resources/apps/java-api/CallXSLT.java:37: error: cannot find symbol
public void generateMyoutput(PipelineContext pipelineContext, XMLReceiver xmlReceiver) throws SAXException {
^
symbol: class XMLReceiver
location: class CallXSLT
1 error
Reply | Threaded
Open this post in threaded view
|

Re: Java API link throws exception

Erik Bruchez
Administrator
Maybe you have a stale CallXSLT.class in Tomcat's temp directory?

-Erik

On Sun, May 20, 2012 at 12:42 PM, DL <[hidden email]> wrote:

> My localhost orbeon is otherwise working on both tomcat7 and resin servers.
>
> However when I click on Java API link I see a pile of errors
>
> other app links work as expected ..
>
> the last lines of the error message are
>
> home/dl/public_webapps/orbeon/WEB-INF/resources/apps/java-api/CallXSLT.java:37:
> error: cannot find symbol
> public void generateMyoutput(PipelineContext pipelineContext, XMLReceiver
> xmlReceiver) throws SAXException {
> ^
> symbol: class XMLReceiver
> location: class CallXSLT
> 1 error
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Java-API-link-throws-exception-tp4647190.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws