Friday, 23. November 2007

Eclipse WTP Server synchronisation

category: random problems with Java. Mainly interesting for google searchers that have similar problems.

Developing for Eclipse WTP (perhaps using Eclipse 3.2) and you feel that the code you program, the servlets and JSPs are actually never synchronized with the web application and the running code is different from the development version?

I experience this sometimes. Then, I don't know exactly what to do, but deleting the temp-files of the server seems a good way to go.
The temp files are in:
%lt;your workspace folder>\.metadata\.plugins\org.eclipse.wst.server.core\tmp

Actually, this broke the server, so I deleted the server and created it again (to to the J2EE perspective, servers in the package explorer, delete your server, and run the web application again on a new server)
QR barcode by i-nigma.com/CreateBarcodes
Maggi (guest) - 23. Nov, 16:57

Restarting not needed

Often, there is no restart needed. In Eclipse Europa (i.e. 3.3, the version I use for web development), the context menu for the server ha an entry "Clean ...", which allows for clearing of the project directory and complete redeployment.

leobard - 28. Nov, 10:09

a pity that I use 3.2

which is stable in many aspects, but misses that button. I looked both in the J2EE perspective "project explorer" view and in the "servers" view. No luck for a "clean..." button.

Trackback URL:
https://leobard.twoday.net/stories/4474506/modTrackback

icon

semantic weltbild 2.0

Building the Semantic Web is easier together

and then...

foaf explorer
foaf

Geo Visitors Map
I am a hard bloggin' scientist. Read the Manifesto.
www.flickr.com
lebard's photos More of lebard's photos
Skype Me™!

Search

 

Users Status

You are not logged in.

I support

Wikipedia Affiliate Button

Archive

November 2007
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
 
 
 
 1 
 2 
 4 
 5 
 7 
 8 
10
11
13
15
16
17
18
19
20
21
22
24
25
26
27
29
30
 
 

Credits


austriaca
Chucknorrism
digitalcouch
gnowsis
Jesus
NeueHeimat
route planning
SemWeb
travel
zoot
Profil
Logout
Subscribe Weblog