• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Context is disappearing

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you explain a little more how you create a new context ?
 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've found a picture. It's the "Commit Changes" button.
Press it after you've saved your new context.
 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your kind suggestions but... It still disappears... Please help...
reply
    Bookmark Topic Watch Topic
  • New Topic