From: Harshana Eranga Martin [mailto:harshan...@gmail.com] Sent: Monday, January 30, 2012 3:18 PM To: java-user@axis.apache.org Subject: Re: Running Axis within Eclipse
Hi Aaron, On 30 January 2012 23:45, <aaron.stro...@rsa.com<mailto:aaron.stro...@rsa.com>> wrote: Greetings, This might be off topic on this list, so I apologise ahead of time. I’d like to be able to run my web service under Eclipse but something isn’t happening. The web service directory is created under WebContent/WEB-INF/services but is empty. I expected either the .aar file be created or the service classes copied under the created directory. Tomcat is not happy about what happes and does not start. Any suggestins? TIA Can you let us know the steps to reproduce this? It will help us to figure out what's wrong and how to fix it. Thanks and Regards, Harshana Aaron Stromas, Practice Consultant | RSA The Security Division of EMC | Identity & Fraud Protection Practice | +1 240 271 6458<tel:%2B1%20240%20271%206458> -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http://wso2.com http://wso2.org ECF Committer: http://www.eclipse.org/ecf/ Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 Hi Harshaa, Here is that I did: 1) Created web service: select File --> New –-> Other and choose Web Service 2) On the Web services widget a. Selected my service implementation class b. Opened up Server Runtime and set the Web service runtime to “Apache Axis2” c. Checked off “Publish the Web Service d. Clicked Next, selected “Generate a default services.xml” file e. Clicked Next and started the server The Tomcat startup times out and this is what the console shows the following warning which, I expect, hint at the problem but I don’t know how to act upon the hints Jan 30, 2012 5:05:01 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_21\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Tcl\bin;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\DW WLAN Card;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files (x86)\Groovy\Groovy-1.7.3\bin;C:\Program Files\OpenSSL-Win64\bin;C:\Program Files\Perforce;C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.8.1\bin;C:\Program Files (x86)\Apache Software Foundation\apache-maven-3.0\bin;C:\Program Files (x86)\WinMerge;C:\Program Files\Common Files\NeatReceipts\Drivers\M12\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\QuickTime\QTSystem\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\bin;C:\Program Files (x86)\GnuWin32\bin;C:\Sun\AppServer\bin Jan 30, 2012 5:05:01 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:WebServiceProject' did not find a matching property. Jan 30, 2012 5:05:01 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TWS-Spring-3.1' did not find a matching property. Jan 30, 2012 5:05:01 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 30, 2012 5:05:01 PM org.apache.coyote.ajp.AjpProtocol init INFO: Initializing Coyote AJP/1.3 on ajp-8009 Jan 30, 2012 5:05:01 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 740 ms Jan 30, 2012 5:05:01 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Jan 30, 2012 5:05:01 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.2