Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Corrupted server after deployment
Corrupted server after deployment [message #646807] Fri, 31 December 2010 08:18 Go to next message
Larvell Jones is currently offline Larvell Jones
Messages: 2
Registered: January 2010
Junior Member
Hi all,

I'm trying to use the virgo web server and I'm having some trouble deploying.

I start out with a clean installation and then populate the repository/usr space with dependencies. Then I deploy a war to the pickup directory. The war deployment ends up corrupting the server. Clearly there is something wrong with the war and that's ok. But I would expect that when I removed the war from the pickup directory, it would be cleaned up. There is nothing I can gleam from the logs. After the server is corrupted, a bad request is the only response that's returned. Stopping the server and a -clean restart doesn't help. Any help is appreciated.

This is what I'm experiencing..

* Clean install

* curl -v http://localhost:8080/
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1

* deployed usr/* and war

* curl -v http://localhost:8080/

* About to connect() to localhost port 8080 (#0)
*   Trying ::1... connected
* Connected to localhost (::1) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: localhost:8080
> Accept: */*
> 
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< Transfer-Encoding: chunked
< Date: Fri, 31 Dec 2010 13:02:28 GMT
< Connection: close
< 
* Closing connection #0
Re: Corrupted server after deployment [message #646812 is a reply to message #646807] Fri, 31 December 2010 09:25 Go to previous message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
Use the Equinox console to check the state of the bundles in the user region after you have deployed the war. In particular, make sure the web and Tomcat bundles are still active.

One possible cause is that some of the dependencies are interfering with the servlet container. What happens if you start with a clean install, add the dependencies to repository/usr, start the server, and then try curl?

[Updated on: Fri, 31 December 2010 09:25]

Report message to a moderator

Previous Topic:Deploy WAR File to Virgo via Eclipse or STS
Next Topic:trouble on debug in Virgo snaps
Goto Forum:
  


Current Time: Wed Jul 23 20:27:42 EDT 2014

Powered by FUDForum. Page generated in 0.01715 seconds