Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes publishing tomcat 7 server at local host has encountered a problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "publishing tomcat 7 server at local host has encountered a problem" Watch "publishing tomcat 7 server at local host has encountered a problem" New topic
Author

publishing tomcat 7 server at local host has encountered a problem

Nada Bajnaid
Ranch Hand

Joined: Aug 14, 2011
Posts: 45
I built a server that was working fine. I added something related to using action in href but it doesnot work. I commented this line but got my server not working properly. Seems that it is still using the old version?

The following error appears when I try to clean the work directory of the Apache 7 server in eclipse

Publishing failed with multiple errors Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\antlr-2.7.5.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\arq-2.8.7.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\arq-extra.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\arq.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\axis.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\commons-discovery-0.4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\commons-lang-2.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\commons-logging-1.1.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\concurrent.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\edtftpj-1.5.2.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\ekitspell.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\icu4j-3.4.4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\icu4j_3_4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\iri-0.8.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\iri.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jcalendar.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jdom.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jena-2.6.4-tests.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jena-2.6.4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jena.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jep-2.4.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jess.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\json.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\junit-4.5.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\junit.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\kazuki.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\log4j-1.2.12.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\log4j-1.2.13.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\lucene-core-2.3.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\orphanNodesAlg.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\owlsyntax.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\protege-owl.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\protege.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\slf4j-api-1.5.8.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\slf4j-log4j12-1.5.8.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\stax-api-1.0.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\stax-api-1.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\swingx-1.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\swrl-drools-bridge.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\swrl-jess-bridge.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\wstx-asl-3.0.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\wstx-asl-3.2.9.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\xercesImpl-2.7.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\xercesImpl.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\xml-apis.jar. May be locked by another process.

Any suggestion
thanks
Nada Bajnaid
Ranch Hand

Joined: Aug 14, 2011
Posts: 45
In the console this is the error


java.lang.NullPointerException
at SQA.Learning.System.ReadingOntology.userExist(ReadingOntology.java:198)
at SQA.Learning.System.SQAServlet.doGet(SQAServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Nada Bajnaid
Ranch Hand

Joined: Aug 14, 2011
Posts: 45
Hi

When I open the C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps I found the directory empty
Nada Bajnaid
Ranch Hand

Joined: Aug 14, 2011
Posts: 45
Now when trying to load my application I
Page could not be found error.

I had the application working from several months. I just added <ul> and it was working fine tell yesterday. I tried to call the doPost from href of one of the list elements and it doesn't work. Then when I removed the line (comment it) the application is not working any more.

I'm sure something wrong with uploading my web app in the server but don't know how to solve it or configure it.

Ay advice please!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: publishing tomcat 7 server at local host has encountered a problem