• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

development mode to production mode

 
deepumdk mavireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all i am new to weblogic and am facing problem in changing from development mode to production mode.

Thank you for your time...,

Dilip.M
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And your problem is?
 
deepumdk mavireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..

Bye joe..

thanks n regards,
Dilip.
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
deepumdk mavireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>

<servlet-mapping>
<servlet-name>Helloworld</servlet-name>
<url-pattern>/Hello</url-pattern>
</servlet mapping>
</web-app>
 
deepumdk mavireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Any clue Joe..
Thanks n Regards,
Dilip.
 
Joe Ess
Bartender
Pie
Posts: 9266
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you see an exception in the server logs?
One thing you will want to check is that your WEB-INF directory name is in all caps.
 
deepumdk mavireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey Joe , i m done with it hurraaah .. Thanks a lot ...

Regards,
dilip
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic