• 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

help with wasce

 
Ranch Hand
Posts: 46
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a new user of WASCE 2.0. I am doing some web projects with WASCE and DB2 in JSP Servlets. I was told that I could change the way I access my web project with something like www.myproject.com instead of localhost:8080/myproject. But he didn't tell me how.

Can anyone help me with this.

Also I found that I have to restart the server whenever I make a change on the files, unlike apache which I use for php. Please help me on this also

Thank you
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maximus,
Welcome to JavaRanch!

For the benefit of future readers, I'm going to mention that WASCE = WebSphere Application Server Community Edition (Geronimo.) This should have been obvious, but I didn't realize it on first read.

Usually people use localhost when testing locally and myproject.com when testing on the server that maps to that domain. If you really wanted to use myproject.com locally, you could map your operating system's DNS listing to have myproject.com map to your local IP. This would preclude you from asking myproject.com on the internet of course.

Changes to JSPs should pick up automatically. It's changes to other files that need the restart. I think this is similar to how it works for PHP. From what I remember, PHP files are similar to JSPs?
 
Maximus Moothiringus
Ranch Hand
Posts: 46
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh sorry about that WASCE thing. I should have made it clear. I just felt curious when i heard about it. He told me that it can be done by tweaking something within the server itself. I think I'll just go with the localhost thingy itself.

How do i change the DNS listing?? Is it by changing the hosts file.

About the restart. Ok so when i use servlets the restart is inevitable, eh!



Great to be a member of such a 'ranch' . Thank you.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Maheswaran Moothiringode:
How do i change the DNS listing?? Is it by changing the hosts file.

About the restart. Ok so when i use servlets the restart is inevitable, eh!


Correct on both counts!
 
Maximus Moothiringus
Ranch Hand
Posts: 46
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much....

Question Answered.
Thread closed
 
Not so fast naughty spawn! I want you to know about
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic