| Author |
Context is disappearing
|
Timothy Sam
Ranch Hand
Joined: Sep 18, 2005
Posts: 746
|
|
I don't know what magic is happening here. I kinda find it funny but when I set a context using a tomcat admin app it works the first time... But once I restart the server, it disappears. I can't even find the xml file that matches my app in CATALINA_HOME/conf/Catalina/localhost. This is really weird, please help... Thanks!
|
SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
|
Could you explain a little more how you create a new context ?
|
[My Blog]
All roads lead to JavaRanch
|
 |
Timothy Sam
Ranch Hand
Joined: Sep 18, 2005
Posts: 746
|
|
Hmmm... I guess I was too excited getting a reply... Anyway... Here's how I created the context. 1. I invoked the admin app in the url bar.. http://localhost:8087/admin/ - I chose 8087 to prevent conflict with other web/app servers in the future. 2. logged in, clicked on host(localhost) then from the dropdown menu on the upper left I chose "Create new context". 3. I filled in the following information Document Base: C:\Eclipse\Workspace\JDBCStrutsTest\.deployables\JDBCStrutsTest Path: /test 4. Saved using the save button on the lower right... It then appears on the left panel(frame) along with the other contexts(apps). But when I restart the server, it disappears... I hope I explained it well enough... Please help... Thanks!
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
There's a button in the top frame. I don't know in English. Maybe "Reflect changes" ? It's a button next to "Logout". Did you press it ? The "Save" button will only save the information in the current page, but the changes will not be reflected to the server until you press the top frame button. [ May 21, 2006: Message edited by: Satou kurinosuke ]
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
I've found a picture. It's the "Commit Changes" button. Press it after you've saved your new context.
|
 |
Timothy Sam
Ranch Hand
Joined: Sep 18, 2005
Posts: 746
|
|
Thank you for your kind suggestions but... It still disappears... Please help...
|
 |
 |
|
|
subject: Context is disappearing
|
|
|