axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Installing Axis2 in Tomcat
Date Tue, 19 Sep 2006 22:04:17 GMT
old version
C:\AXIS\Axis-2_1\samples\transfer2>java -classpath C:\commons-policy\policy-1.0-
bin\lib\policy-1.0.jar;C:\AXIS\Axis-2_1\classes;C:\AXIS\Axis-2_1\src\modules\cod
egen\target\classes;C:\AXIS\Axis-2_1\new_src\modules\common\target\classes;C:\AX
IS\Axis-2_1\new_src\modules\codegen\target\classes;%CLASSPATH% org.apache.axis2.
wsdl.WSDL2Java -uri file:///C:/AXIS/Axis-2_1/samples/transfer2/transfer2.wsdl
does indeed produce the 2 classes

newer M2 version
C:\AXIS\Axis-2_1\samples\transfer2>%AXIS2_HOME%\bin\wsdl2Java -uri file:///C:/AX
IS/Axis-2_1/samples/transfer2/transfer2.wsdl
Exception in thread "main" org.apache.axis.wsdl.codegen.CodeGenerationException:
 Invalid WSDL Location
        at org.apache.axis.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerati
onEngine.java:63)
        at org.apache.axis.wsdl.WSDL2Code.main(WSDL2Code.java:28)
        at org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:22)
Caused by: java.io.FileNotFoundException: file:\C:\AXIS\Axis-2_1\samples\transfe
r2\transfer2.wsdl (The filename, directory name, or volume label syntax is incor
rect)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.apache.axis.wsdl.codegen.CodeGenerationEngine.getWOM(CodeGenerati
onEngine.java:109)
        at org.apache.axis.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerati
onEngine.java:57)
        ... 2 more

so the M2 WSDL2Java doesnt produce the java classes
appears to be not ready for release..

M
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "robert lazarski" <robertlazarski@gmail.com>
To: <axis-user@ws.apache.org>
Sent: Tuesday, September 19, 2006 5:01 PM
Subject: Re: Installing Axis2 in Tomcat


I recommend the following:

1) Remove the axis2.war .
2) Download both the war and the std-bin-SNAPSHOT from the nightly link.
3) Unpack the bin package.
4) Compile your source against the new bin package.
5) Put your war un-expanded into tomcat, let tomcat unpack it.
6) Put your new aar in services.

Let us know if that helps.
Robert


On 9/19/06, Silvio dos Passos Neto <silvio.neto@icolabora.com.br> wrote:
>
> Hi Thilina,
>
> I tried download from this link but it still not working. I belive its the
> same file I get in this morning thru axis2 web site...
>
> I really should extract it or just copy to webapps folder (I tried both
> anyway)? And I need to make some library visible putting something in the
> lib folder?
>
> Thanks in advance...
>
> iColabora do Brasil
> Silvio dos Passos Neto
> [11] 3255-7328
> [11] 8308-3835
> silvio.neto@icolabora.com.br
>
> ________________________________
>
> De: Thilina Gunarathne [mailto:csethil@gmail.com]
> Enviada em: terça-feira, 19 de setembro de 2006 17:34
> Para: axis-user@ws.apache.org
> Assunto: Re: Installing Axis2 in Tomcat
>
>
> Try this...
> http://people.apache.org/dist/axis2/nightly/axis2.war
>
> ~Thilina
>
>
> On 9/19/06, Silvio dos Passos Neto <silvio.neto@icolabora.com.br> wrote:
>
>
>         Hi everyone,
>
>         I downloaded the last version of axis2 war... I followed de
> instructions of installation guide, droping this in the webapps folder
> (renaming the .zip to .war). But it doen't work: I get an
> NullPointerException in the home page (http://localhost/axis2, yes, I do use
> 80 port):
>
>                 java.lang.NullPointerException
>                 at org.apache.jsp.httpbase$jsp.jspInit(httpbase$jsp.java:24)
>                 at
> org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:90)
>                 at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.load
>         (JspServlet.java:142)
>                 at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:178)
>                 at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:188)
>                 at org.apache.jasper.servlet.JspServlet.serviceJspFile
>         (JspServlet.java:381)
>                 at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>                 at org.apache.catalina.core.ApplicationDispatcher.invoke
>         (ApplicationDispatcher.java:683)
>                 at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
> er.java:574)
>                 at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
> .java:497)
>
>                 at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:8
> 19)
>                 at org.apache.jsp.index$jsp._jspService(index$jsp.java:91)
>                 at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>                 at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:201)
>                 at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java
>         :381)
>                 at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>                 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java
>         :247)
>                 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>                 at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)
>                 at org.apache.catalina.core.StandardPipeline.invokeNext
>         (StandardPipeline.java:566)
>                 at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at org.apache.catalina.core.StandardContextValve.invoke
>         (StandardContextValve.java:190)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>                 at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
>                 at org.apache.catalina.core.StandardPipeline.invokeNext
>         (StandardPipeline.java:564)
>                 at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at org.apache.catalina.core.StandardContext.invoke
>         (StandardContext.java:2347)
>                 at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>                 at org.apache.catalina.valves.ErrorDispatcherValve.invoke
>         (ErrorDispatcherValve.java:170)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>                 at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
>                 at org.apache.catalina.core.StandardPipeline.invokeNext
>         (StandardPipeline.java:564)
>                 at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>                 at org.apache.catalina.core.StandardPipeline.invoke
>         (StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
>                 at org.apache.catalina.core.StandardPipeline.invokeNext
>         (StandardPipeline.java:566)
>                 at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at org.apache.catalina.connector.http.HttpProcessor.process
>         (HttpProcessor.java:1027)
>                 at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
> )
>                 at java.lang.Thread.run(Thread.java:534)
>
>
>
>         After that, I tried to unzip the file to the wepapps folder, and
> then I get another error page:
>                         java.lang.IllegalStateException
>                 at
> org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(Serv
> letResponseWrapperInclude.java:109)
>
>                 at
> org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.jav
> a:1146)
>                 at
> org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:519)
>                 at javax.servlet.http.HttpServlet.service(HttpServlet.java
>         :740)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>                 at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> java:683)
>                 at org.apache.catalina.core.ApplicationDispatcher.doInclude
>         (ApplicationDispatcher.java:574)
>                 at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
> .java:497)
>                 at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:8
> 19)
>                 at
>         org.apache.jsp.index$jsp._jspService(index$jsp.java:103)
>                 at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>                 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>                 at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
>         (JspServlet.java:201)
>                 at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
>                 at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>                 at javax.servlet.http.HttpServlet.service(
>         HttpServlet.java:853)
>                 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
>                 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>
>                 at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>                 at org.apache.catalina.core.StandardPipeline.invoke
>         (StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:190)
>                 at org.apache.catalina.core.StandardPipeline.invokeNext
>         (StandardPipeline.java:566)
>                 at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>                 at org.apache.catalina.core.StandardPipeline.invoke
>         (StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>                 at org.apache.catalina.core.StandardHostValve.invoke
>         (StandardHostValve.java:180)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>                 at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)
>                 at org.apache.catalina.core.StandardPipeline.invokeNext
>         (StandardPipeline.java:564)
>                 at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>                 at org.apache.catalina.valves.AccessLogValve.invoke
>         (AccessLogValve.java:468)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>                 at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>                 at org.apache.catalina.core.ContainerBase.invoke
>         (ContainerBase.java:943)
>                 at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
>                 at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>                 at org.apache.catalina.core.StandardPipeline.invoke
>         (StandardPipeline.java:472)
>                 at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>                 at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1027)
>                 at org.apache.catalina.connector.http.HttpProcessor.run
>         (HttpProcessor.java:1125)
>                 at java.lang.Thread.run(Thread.java:534)
>
>         I tried copy all the libs from the axis2\lib to tomcat's lib
> directory to see what happens, but unforntunelly I still getting the same
> errors.
>
>         I'm made the last tests with the last nightly build (19-sep-2006) on
> the tomcat 4.0.4.
>
>         Could anyone please tell me what I'm doing wrong?
>
>         Thanks a lot...
>
>
>         Silvio dos Passos Neto
>         ) [11] 3255-7328
>           [11] 8308-3835
>           silvio.neto@icolabora.com.br <mailto:silvio.neto@icolabora.com.br>
>
>
>
>
>
>
> --
> http://webservices.apache.org/~thilina/
> http://thilinag.blogspot.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org

Mime
View raw message