aspose file tools*
The moose likes BEA/Weblogic and the fly likes development mode to production mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "development mode to production mode" Watch "development mode to production mode" New topic
Author

development mode to production mode

deepumdk mavireddi
Greenhorn

Joined: Nov 30, 2007
Posts: 18
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

Joined: Oct 29, 2001
Posts: 8718
    
    6

And your problem is?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
deepumdk mavireddi
Greenhorn

Joined: Nov 30, 2007
Posts: 18
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

Joined: Oct 29, 2001
Posts: 8718
    
    6

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

Joined: Nov 30, 2007
Posts: 18
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

Joined: Nov 30, 2007
Posts: 18
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

Joined: Oct 29, 2001
Posts: 8718
    
    6

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

Joined: Nov 30, 2007
Posts: 18
hey Joe , i m done with it hurraaah .. Thanks a lot ...

Regards,
dilip
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: development mode to production mode
 
Similar Threads
servlet deployed in exploded directory not reloading
their is a proble with deploying the jsp file in weblogic 8.1/7.0
PROBLEM DEPLOYING SERVLETS IN PRODUCTION MODE
Weblogic production mode
auto deploy do not work in weblogic 6.1 ?