You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Diane l. Davison" <Di...@oracle.com> on 2000/08/24 19:16:02 UTC

Re: BSF error : cannot load language JavaScript

I have the same setup and get the identical error on the calculator sample (unable to load language
javascript).

My classpath has:
xerces.jar:ant.jar:jasper.jar:servlet.jar:jakarta-tomcat/lib/test:webserver.jar:xml.jar:
Solaris_JDK_1.2.2_05/lib/tools.jar:soap.jar:soap-2_0:bsfengines.jar:bsf.jar

Any ideas?

Diane

Sandeep Sakhawalkar wrote:

> I have dowloaded soap-2_0, Tomcat3.1, xerces-1_1_3. I
> am trying to run the sample examples.I am able to
> execute the addressbook example. I have error when
> trying to run the Calculator example. I have also
> downloaded the bsf.jar and bsfengine.jar.I have
> soap.jar, bsf.jar, bsfengines.jar, xerces.jar in my
> classpath. When I try to run the Calculator example
> java samples.calculator.Calculator
> http://localhost:8080/soap/servlet/rpcrouter  I get
> the following exception
>
> [SOAPException: faultCode=SOAP-ENV:Protocol;
> msg=java.lang.reflect.InvocationTargetException:
> [SOAPException: faultCode=SOAP-ENV:Server; msg=BSF
> Error: unable to load language: javascript;
> targetException=com.ibm.bsf.BSFException: unable to
> load language: javascript]
>         at
> org.apache.soap.server.InvokeBSF.init(InvokeBSF.java:95)
>         at java.lang.reflect.Method.invoke(Native
> Method)
>         at
> org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java,
> Compiled Code)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
>         at
> org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
> Compiled Code)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
>         at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
> Compiled Code)
>
> Sam
> ss_powai@yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/