Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 7474 invoked from network); 19 Sep 2006 22:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 22:25:31 -0000 Received: (qmail 12270 invoked by uid 500); 19 Sep 2006 22:25:19 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 12233 invoked by uid 500); 19 Sep 2006 22:25:18 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 12222 invoked by uid 99); 19 Sep 2006 22:25:18 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 15:25:18 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=robertlazarski@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from ([64.233.184.234:4889] helo=wr-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 66/6D-28275-A4E60154 for ; Tue, 19 Sep 2006 15:25:15 -0700 Received: by wr-out-0506.google.com with SMTP id i31so12925wra for ; Tue, 19 Sep 2006 15:25:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gScCHIVEzgovXXQRPuh5rmZW4mp0PRYKH2Q3ozvWij0ZA8E+imfQnYrH+TdTr40ua3Xi1r7wJEaIsquAyweCNV8edMqIymnelZgHgXsM+qB/t3FN7ImVgcJqDQE9gmZYXc43Q1Uf3RX7YyUKog8hwMGaCgXpJEKpA9KmuGunMWo= Received: by 10.90.84.17 with SMTP id h17mr5972079agb; Tue, 19 Sep 2006 15:25:11 -0700 (PDT) Received: by 10.90.66.4 with HTTP; Tue, 19 Sep 2006 15:25:11 -0700 (PDT) Message-ID: Date: Tue, 19 Sep 2006 19:25:11 -0300 From: "robert lazarski" To: axis-user@ws.apache.org, "Martin Gainty" Subject: Re: Installing Axis2 in Tomcat In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The axis2 class name is org.apache.axis2.wsdl.WSDL2Java . HTH, Robert On 9/19/06, Martin Gainty wrote: > old version > C:\AXIS\Axis-2_1\samples\transfer2>java -classpath C:\commons-policy\poli= cy-1.0- > bin\lib\policy-1.0.jar;C:\AXIS\Axis-2_1\classes;C:\AXIS\Axis-2_1\src\modu= les\cod > egen\target\classes;C:\AXIS\Axis-2_1\new_src\modules\common\target\classe= s;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.CodeGenerationExc= eption: > Invalid WSDL Location > at org.apache.axis.wsdl.codegen.CodeGenerationEngine.(CodeG= enerati > 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 i= s incor > rect) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at org.apache.axis.wsdl.codegen.CodeGenerationEngine.getWOM(CodeG= enerati > onEngine.java:109) > at org.apache.axis.wsdl.codegen.CodeGenerationEngine.(CodeG= enerati > 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 noti= fy > the sender immediately by telephone or email and destroy the original > message without making a copy. Thank you. > > > > ----- Original Message ----- > From: "robert lazarski" > To: > 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 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 t= he > > 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=E7a-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 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 d= o use > > 80 port): > > > > java.lang.NullPointerException > > at org.apache.jsp.httpbase$jsp.jspInit(httpbase$jsp.jav= a: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(JspServl= et.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.invok= e > > (ApplicationDispatcher.java:683) > > at > > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis= patch > > er.java:574) > > at > > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa= tcher > > .java:497) > > > > at > > org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.j= ava: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(JspServl= et.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(Applic= ation > > FilterChain.java > > :247) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil= terCh > > ain.java:193) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal= ve.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.j= ava:5 > > 66) > > at > > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j= ava: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.jav= a:180 > > ) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava:5 > > 66) > > at org.apache.catalina.valves.ErrorDispatcherValve.invo= ke > > (ErrorDispatcherValve.java:170) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava:5 > > 64) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav= a:170 > > ) > > at org.apache.catalina.core.StandardPipeline.invokeNext > > (StandardPipeline.java:564) > > at > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46= 8) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava: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.pro= cess > > (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, an= d > > 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(DefaultServle= t.jav > > a:1146) > > at > > org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:5= 19) > > at javax.servlet.http.HttpServlet.service(HttpServlet.j= ava > > :740) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat= cher. > > java:683) > > at org.apache.catalina.core.ApplicationDispatcher.doInc= lude > > (ApplicationDispatcher.java:574) > > at > > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa= tcher > > .java:497) > > at > > org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.j= ava: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(Applic= ation > > FilterChain.java:247) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil= terCh > > ain.java:193) > > > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal= ve.ja > > va:243) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava: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(StandardContextVal= ve.ja > > va:190) > > at org.apache.catalina.core.StandardPipeline.invokeNext > > (StandardPipeline.java:566) > > at > > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j= ava:2 > > 46) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava: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:23= 47) > > at org.apache.catalina.core.StandardHostValve.invoke > > (StandardHostValve.java:180) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava:5 > > 66) > > at > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV= alve. > > java:170) > > at org.apache.catalina.core.StandardPipeline.invokeNext > > (StandardPipeline.java:564) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav= a:170 > > ) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava:5 > > 64) > > at org.apache.catalina.valves.AccessLogValve.invoke > > (AccessLogValve.java:468) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j= ava: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.j= ava: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 sa= me > > errors. > > > > I'm made the last tests with the last nightly build (19-sep-200= 6) 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 > > > > > > > > > > > > > > -- > > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org