This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hey joe..., yeah i did not specify the problem.. , I tried to deploy a simple application using HelloWorld Servlet in production mode but failed. when i did the same in the development mode i succeded. can i know the reason? or is it possible to make it in production mode?? pls help..
You still need to Tell The Details. How are you deploying your application? There are several different ways. My wild guess is that you have an exploded archive on your development system. You cannot deploy an exploded archive to a system in production mode. The application must be packaged as a WAR or EAR.
Joined: Nov 30, 2007
hey joe..., My approach : Step 1: I got my class file for the Helloworld and placed it in mypaa\Web- inf\classes\Helloworld.class. Step 2: I created a web.xml file : <web-app> <servlet> <servlet-name>Helloworld</servlet-name> <servlet-class>Helloworld</servletclass> </servlet>
i placed the web.xml inside the Web-inf folder.and then created an archive of "myapp" folder. with a name "my.war".
i deployed it in weblogic(production environment) in stage mode and the deployment was successfull but when i tested it showed me page not found error. the url which i used was: "http://localhost:7002/my/Hello" still i had the problem Error 500 , internal server error.
NOTE: when i did the same in development mode i GOT IT RIGHT ON MY BROWSER "HElloWorld as per my program.