File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Error 404--Not Found:when deploying application in exploded directory format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Error 404--Not Found:when deploying application in exploded directory format" Watch "Error 404--Not Found:when deploying application in exploded directory format" New topic
Author

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

Amitav Chowdhury
Greenhorn

Joined: Nov 13, 2009
Posts: 10
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

Joined: Jul 07, 2010
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error 404--Not Found:when deploying application in exploded directory format