www.webdeveloper.com
Results 1 to 5 of 5

Thread: Problem in running servlet on j2ee server

  1. #1
    Join Date
    Aug 2006
    Posts
    3

    Problem in running servlet on j2ee server

    The problem is that I have deployed an application in a j2ee server having a default port 4848 in admin console , but when I run the application in the browser by typing

    "http://localhost:4848/<web context>/<Aliase name>" the browser displays the message as:-
    ***
    HTTP Status 404 - /HitCounter/HitCounter
    type Status report
    message /HitCounter/HitCounter
    description The requested resource (/HitCounter/HitCounter) is not available.
    ***

    So what's this error message showing.

    Thanks in advance

    Regards,
    Abhishek

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,119
    your application has a configuration file WEB-INF/web.xml file.
    Make sure that you add an entry there for where to find servlet.
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Aug 2006
    Posts
    3
    Thanx for your reply .In the address bar I have used port number 8080 instead of 4848, which really solved the problem.

    But while installing j2ee , I have not changed the port number , by default the port number was taken as 4848.But for running applications I have to give the port number as 8080. Why?

    Regards,
    Abhishek

  4. #4
    Join Date
    Dec 2005
    Posts
    38
    One is admin port,the other is application port

  5. #5
    Join Date
    Aug 2006
    Posts
    3
    Thanx for the reply , now the problem is solved...

    Regards,
    Abhishek

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles