File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error 404--Not Found:when deploying application in exploded directory format

 
Amitav Chowdhury
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to deploy a simple HelloWorld servlet in weblogic 10.0 in exploded directory format. But I get a "Error 404--Not Found" error when trying to see the servlet output through the browser.

Below are the steps I follow to deploy the application.

1. Create a domain in weblogic (say "test_domain").
2. Create a folder called "HelloWorld" in "WLS_HOME\user_projects\domains\test_domain\autodeploy".
3. In "HelloWorld" create "WEB-INF" folder. In it create a "classes" folder containing HelloWorld.class
4. Directly under "WEB-INF" create web.xml. Following is the content of web.xml:



5. Start the admin server
6. Try to access the output using : http://localhost:7001/HelloWorld/hello

How do I fix this issue?

Thanks in advance,
Amitava
 
Sai Yelisetty
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go to the WLS Admin console and see if the application status is New. If yes, you need to start the application and make sure it turned to Active status. Then you can browse your application.

1. Logon to Admin connsole: http://localhost:7001/console [use the userId/Password you provided while creating the domain]
2. Click on the "deployments" link on the left side pane of the page
3. Check the box against your application and click on the start button (service all requests).
4. You should finally see the apllication in "Active" state once it is started successfully.
5. Now, browse your application http://localhost:7001/HelloWorld/hello
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic