1
I know that there is already a lot of blog post related to web service in java and also know that there have been many questions with this problem. But I tried every way and I couldn’t fix it, so I’m here.
This is my server log. The problem is here
ago 21, 2017 11:39:23 AM org.apache.catalina.core.AprLifecycleListener init
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
ago 21, 2017 11:39:24 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ProsegurWsServer' did not find a matching property.
ago 21, 2017 11:39:24 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-bio-8080"]
ago 21, 2017 11:39:24 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-bio-8009"]
ago 21, 2017 11:39:24 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 995 ms
ago 21, 2017 11:39:24 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
ago 21, 2017 11:39:24 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.47
ago 21, 2017 11:39:26 AM org.apache.axis.configuration.EngineConfigurationFactoryServlet getServerEngineConfig
GRAVE: Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
ago 21, 2017 11:39:26 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
ADVERTÊNCIA: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
ago 21, 2017 11:39:26 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-bio-8080"]
ago 21, 2017 11:39:26 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-bio-8009"]
ago 21, 2017 11:39:26 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 1819 ms
GRAVE: Unable to find config file. Creating new Servlet engine config file: /WEB-INF/server-config.wsdd
I believe the big reason I can’t run my server right is this error, I found several links with the solution, like: https://stackoverflow.com/questions/13289781/why-is-server-config-wsdd-not-being-created-by-the-eclipse-web-services-wizard and http://www.guj.com.br/t/web-service-axis/128071/3 but I was unsuccessful in performing the entire proposed procedure. Also, when the server runs even with existing problems and errors the eclipse returns me an error 404 page, as: http://www.guj.com.br/t/resolvido-erro-http-status-404-primeira-aplicacao-web/77469/6 But I couldn’t find the solution either.