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 Jaspreet Singh <Ja...@quark.stpm.soft.net> on 2001/07/30 14:23:53 UTC
unable to deploy my application.
> Hi,
> I am having a problem in deploying my application. Actually when I
> click on the deploy button (on the apache-soap page), I get an error:
> Error: 500
> Location: /soap/deploy.jsp
> Internal Servlet Error:
> org.apache.jasper.JasperException: Unable to compile class for
> JSPD:\jakarta-tomcat-3.2.1\work\localhost_8080%2Fsoap\_0002fdeploy_0002ejs
> pdeploy_jsp_0.java:148: No variable NS_URI_BML_ENC defined in class
> org.apache.soap.Constants.
> org.apache.soap.Constants.NS_URI_BML_ENC};
> ^
> 1 error
>
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
> at
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
> Servlet.java:152)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> java:164)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:
> 797)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> pConnectionHandler.java:210)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>
>
> I am using apache-soap1.2 with tomcat3.2.1. My path setting is
> D:\jakarta-tomcat-3.2.1\bin;d:\jdk1.3\bin
> and my classpath is
> D:\jBoss-2.0_FINAL\lib\ext\tomcat-service.jar;D:\XMLToolkit\ThirdParty\xml
> 4j_2_0_15\xml4j.jar;D:\xml-soap\lib\soap.jar
> I am using Windows NT and I am using apache 1.1.3 http server .
>
Re: SOAP call not working over proxy !!!
Posted by Drasko Kokic <dr...@yahoo.com>.
THANKS A MILLION
Schöne Grüsse aus München
--- Stephan Wiesner <wi...@werum.de> wrote:
> Here is the code:
>
>
> System.out.println("Registriere Proxy fuer die
> Firewall...");
> SOAPHTTPConnection conn = new
> SOAPHTTPConnection();
> conn.setProxyHost("x.x.0.50");
> conn.setProxyPort(80);
>
> Call call = new Call(); // prepare the service
> invocation
> call.setSOAPTransport(conn); //set the proxy
>
> Works fine with me.
>
> Stephan
>
> ----- Original Message -----
> From: "Drasko Kokic" <dr...@yahoo.com>
> To: <so...@xml.apache.org>
> Sent: Monday, July 30, 2001 7:51 PM
> Subject: SOAP call not working over proxy !!!
>
>
> > Hi everybody,
> >
> > I am trying to prototype a very simple
> client/server
> > model using SOAP.
> > My problem is that the link goes via a proxy
> machine.
> > I have read a SOAP documentation and found the
> remark
> > that the following 3 lines are needed in order to
> make
> > it working with a proxy:
> > System.setProperty("proxySet", "true");
>
> > // enable proxying
> > System.setProperty("proxyHost", "127.0.0.1");
>
> > // set name of proxy server
> > System.setProperty("proxyPort", "8088");
>
> > // set port number for proxy server
> >
> > (in my example I am redirecting a proxy address to
> my
> > localhost in hope to catch it on the TCP
> > Tunnel/Monitor)
> >
> > Has anybody managed to connect via a proxy???
> > Where can I found more info about this subject?
> >
> > TIA
> > Drasko
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Drasko Kokic <dr...@yahoo.com>.
THANKS A MILLION
Schöne Grüsse aus München
--- Stephan Wiesner <wi...@werum.de> wrote:
> Here is the code:
>
>
> System.out.println("Registriere Proxy fuer die
> Firewall...");
> SOAPHTTPConnection conn = new
> SOAPHTTPConnection();
> conn.setProxyHost("x.x.0.50");
> conn.setProxyPort(80);
>
> Call call = new Call(); // prepare the service
> invocation
> call.setSOAPTransport(conn); //set the proxy
>
> Works fine with me.
>
> Stephan
>
> ----- Original Message -----
> From: "Drasko Kokic" <dr...@yahoo.com>
> To: <so...@xml.apache.org>
> Sent: Monday, July 30, 2001 7:51 PM
> Subject: SOAP call not working over proxy !!!
>
>
> > Hi everybody,
> >
> > I am trying to prototype a very simple
> client/server
> > model using SOAP.
> > My problem is that the link goes via a proxy
> machine.
> > I have read a SOAP documentation and found the
> remark
> > that the following 3 lines are needed in order to
> make
> > it working with a proxy:
> > System.setProperty("proxySet", "true");
>
> > // enable proxying
> > System.setProperty("proxyHost", "127.0.0.1");
>
> > // set name of proxy server
> > System.setProperty("proxyPort", "8088");
>
> > // set port number for proxy server
> >
> > (in my example I am redirecting a proxy address to
> my
> > localhost in hope to catch it on the TCP
> > Tunnel/Monitor)
> >
> > Has anybody managed to connect via a proxy???
> > Where can I found more info about this subject?
> >
> > TIA
> > Drasko
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> > http://phonecard.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Stephan Wiesner <wi...@werum.de>.
Here is the code:
System.out.println("Registriere Proxy fuer die Firewall...");
SOAPHTTPConnection conn = new SOAPHTTPConnection();
conn.setProxyHost("x.x.0.50");
conn.setProxyPort(80);
Call call = new Call(); // prepare the service invocation
call.setSOAPTransport(conn); //set the proxy
Works fine with me.
Stephan
----- Original Message -----
From: "Drasko Kokic" <dr...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Monday, July 30, 2001 7:51 PM
Subject: SOAP call not working over proxy !!!
> Hi everybody,
>
> I am trying to prototype a very simple client/server
> model using SOAP.
> My problem is that the link goes via a proxy machine.
> I have read a SOAP documentation and found the remark
> that the following 3 lines are needed in order to make
> it working with a proxy:
> System.setProperty("proxySet", "true");
> // enable proxying
> System.setProperty("proxyHost", "127.0.0.1");
> // set name of proxy server
> System.setProperty("proxyPort", "8088");
> // set port number for proxy server
>
> (in my example I am redirecting a proxy address to my
> localhost in hope to catch it on the TCP
> Tunnel/Monitor)
>
> Has anybody managed to connect via a proxy???
> Where can I found more info about this subject?
>
> TIA
> Drasko
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
Re: SOAP call not working over proxy !!!
Posted by Stephan Wiesner <wi...@werum.de>.
Here is the code:
System.out.println("Registriere Proxy fuer die Firewall...");
SOAPHTTPConnection conn = new SOAPHTTPConnection();
conn.setProxyHost("x.x.0.50");
conn.setProxyPort(80);
Call call = new Call(); // prepare the service invocation
call.setSOAPTransport(conn); //set the proxy
Works fine with me.
Stephan
----- Original Message -----
From: "Drasko Kokic" <dr...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Monday, July 30, 2001 7:51 PM
Subject: SOAP call not working over proxy !!!
> Hi everybody,
>
> I am trying to prototype a very simple client/server
> model using SOAP.
> My problem is that the link goes via a proxy machine.
> I have read a SOAP documentation and found the remark
> that the following 3 lines are needed in order to make
> it working with a proxy:
> System.setProperty("proxySet", "true");
> // enable proxying
> System.setProperty("proxyHost", "127.0.0.1");
> // set name of proxy server
> System.setProperty("proxyPort", "8088");
> // set port number for proxy server
>
> (in my example I am redirecting a proxy address to my
> localhost in hope to catch it on the TCP
> Tunnel/Monitor)
>
> Has anybody managed to connect via a proxy???
> Where can I found more info about this subject?
>
> TIA
> Drasko
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
SOAP call not working over proxy !!!
Posted by Drasko Kokic <dr...@yahoo.com>.
Hi everybody,
I am trying to prototype a very simple client/server
model using SOAP.
My problem is that the link goes via a proxy machine.
I have read a SOAP documentation and found the remark
that the following 3 lines are needed in order to make
it working with a proxy:
System.setProperty("proxySet", "true");
// enable proxying
System.setProperty("proxyHost", "127.0.0.1");
// set name of proxy server
System.setProperty("proxyPort", "8088");
// set port number for proxy server
(in my example I am redirecting a proxy address to my
localhost in hope to catch it on the TCP
Tunnel/Monitor)
Has anybody managed to connect via a proxy???
Where can I found more info about this subject?
TIA
Drasko
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
SOAP call not working over proxy !!!
Posted by Drasko Kokic <dr...@yahoo.com>.
Hi everybody,
I am trying to prototype a very simple client/server
model using SOAP.
My problem is that the link goes via a proxy machine.
I have read a SOAP documentation and found the remark
that the following 3 lines are needed in order to make
it working with a proxy:
System.setProperty("proxySet", "true");
// enable proxying
System.setProperty("proxyHost", "127.0.0.1");
// set name of proxy server
System.setProperty("proxyPort", "8088");
// set port number for proxy server
(in my example I am redirecting a proxy address to my
localhost in hope to catch it on the TCP
Tunnel/Monitor)
Has anybody managed to connect via a proxy???
Where can I found more info about this subject?
TIA
Drasko
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
RE: unable to deploy my application.
Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
You need to remove the old versions of Apache SOAP from your Tomcat
installation. This may include removing the %tomcat_home%\work directory,
since that's where the JSPs will be compiled to.
Thanks,
-Matt
> -----Original Message-----
> From: Jaspreet Singh [mailto:Jasingh@quark.stpm.soft.net]
> Sent: Monday, July 30, 2001 8:24 AM
> To: soap-user@xml.apache.org
> Subject: unable to deploy my application.
>
>
>
>
> > Hi,
> > I am having a problem in deploying my application. Actually when I
> > click on the deploy button (on the apache-soap page), I get an error:
> > Error: 500
> > Location: /soap/deploy.jsp
> > Internal Servlet Error:
> > org.apache.jasper.JasperException: Unable to compile class for
> >
> JSPD:\jakarta-tomcat-3.2.1\work\localhost_8080%2Fsoap\_0002fdeploy_0002ejs
> > pdeploy_jsp_0.java:148: No variable NS_URI_BML_ENC defined in class
> > org.apache.soap.Constants.
> > org.apache.soap.Constants.NS_URI_BML_ENC};
> > ^
> > 1 error
> >
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
> > at
> > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> > at
> >
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> > at
> >
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
> > Servlet.java:152)
> > at
> >
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> > java:164)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> > at org.apache.tomcat.core.Handler.service(Handler.java:286)
> > at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
> >
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:
> > 797)
> > at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
> >
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> > pConnectionHandler.java:210)
> > at
> >
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
> >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > at java.lang.Thread.run(Thread.java:484)
> >
> >
> > I am using apache-soap1.2 with tomcat3.2.1. My path setting is
> > D:\jakarta-tomcat-3.2.1\bin;d:\jdk1.3\bin
> > and my classpath is
> >
> D:\jBoss-2.0_FINAL\lib\ext\tomcat-service.jar;D:\XMLToolkit\ThirdParty\xml
> > 4j_2_0_15\xml4j.jar;D:\xml-soap\lib\soap.jar
> > I am using Windows NT and I am using apache 1.1.3 http server .
> >
>
RE: unable to deploy my application.
Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
You need to remove the old versions of Apache SOAP from your Tomcat
installation. This may include removing the %tomcat_home%\work directory,
since that's where the JSPs will be compiled to.
Thanks,
-Matt
> -----Original Message-----
> From: Jaspreet Singh [mailto:Jasingh@quark.stpm.soft.net]
> Sent: Monday, July 30, 2001 8:24 AM
> To: soap-user@xml.apache.org
> Subject: unable to deploy my application.
>
>
>
>
> > Hi,
> > I am having a problem in deploying my application. Actually when I
> > click on the deploy button (on the apache-soap page), I get an error:
> > Error: 500
> > Location: /soap/deploy.jsp
> > Internal Servlet Error:
> > org.apache.jasper.JasperException: Unable to compile class for
> >
> JSPD:\jakarta-tomcat-3.2.1\work\localhost_8080%2Fsoap\_0002fdeploy_0002ejs
> > pdeploy_jsp_0.java:148: No variable NS_URI_BML_ENC defined in class
> > org.apache.soap.Constants.
> > org.apache.soap.Constants.NS_URI_BML_ENC};
> > ^
> > 1 error
> >
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
> > at
> > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> > at
> >
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> > at
> >
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
> > Servlet.java:152)
> > at
> >
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> > java:164)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> > at org.apache.tomcat.core.Handler.service(Handler.java:286)
> > at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > at
> >
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:
> > 797)
> > at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > at
> >
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> > pConnectionHandler.java:210)
> > at
> >
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > at
> >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > at java.lang.Thread.run(Thread.java:484)
> >
> >
> > I am using apache-soap1.2 with tomcat3.2.1. My path setting is
> > D:\jakarta-tomcat-3.2.1\bin;d:\jdk1.3\bin
> > and my classpath is
> >
> D:\jBoss-2.0_FINAL\lib\ext\tomcat-service.jar;D:\XMLToolkit\ThirdParty\xml
> > 4j_2_0_15\xml4j.jar;D:\xml-soap\lib\soap.jar
> > I am using Windows NT and I am using apache 1.1.3 http server .
> >
>