• 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

Servlets on Weblogic Server

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting the 404 error ---
I installed the Weblogic 5.X app server and I am trying to test using a servlet example.
I did the following steps -
1. Installed the WEBLOGIC server.
2. In the weblogic.properties file I uncommented these two lines
weblogic.httpd.register.hello=\ examples.servlets.HelloWorldServlet
3. started the WLServer.
4.On the browser if I typed - http://localhost:7001/Hello
I am getting 404 error.
I checked the files"examples.servlets.HelloWorldServlet" and they are there.
5. Do I need to change the LAN settings.
6. I am using Windows 98.
Any help is very much appreciated.
Thanks
Rama
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
weblogic.httpd.register.hello=\ examples.servlets.HelloWorldServlet
Call the servlet by http://localhost:7001/hello
Swamy
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't use the backslash in filepaths. Outside the Windows world, it's an escape character that give you problems. ESPECIALLY if you code something like:
funny.directory=C:\foo\bar\
because the trailing backslash will be interpreted as a line-continuation request. Use forward slashes. Even though you're running WebLogic under Windows, WebLogic is using Java's filename parsing rules. Look at some of the filepaths that the WebLogic setup program created in your weblogic.properties file for examples.
 
reply
    Bookmark Topic Watch Topic
  • New Topic