Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > Java

Reply
 
LinkBack Thread Tools Display Modes
Old 11-22-2006, 04:28 AM   #1 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
replacing .class files while server is running

I have some java files and i compile them and placed them into the respective areas in my web application.

Now suppose some code change is required in the existing files and i need to
compile the source files once again ,then is it required to shut down the
application server/web server and then only replace the old .class file with the new one??


If this is the case then i would like to know the reason behind this thing from
the forum members.

I am facing a similar kind of problem.
I replaced some .class files with their new compiled versions.But the changes
were not reflected.Also after restarting the server the changes did not
reflected.

I am using weblogic6.1 server.

Thanks.
j.gohel is offline   Reply With Quote
Old 11-23-2006, 07:44 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,148
Belisarius is on a distinguished road
As to the main question - it depends on how the server works. I haven't used Weblogic before, so I don't know how good it's class-loading is. I'd guess that there is some way to tell it to reload the application without restarting the whole server program, but reloading the server program would work.

As to your specific problem, if I had to guess, they're being placed in the wrong spot. Or there is some other misconfiguration with the server - it's keeping a cache or something along those lines. Without knowing the system in more detail, I'm afraid I can't help. I'd suggest looking through Weblogic support forums (I'm assuming they exist).
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
socket based CS server query Redline PHP 11 06-18-2006 05:20 PM
how do I know if a server (on the box) is running? jaro Platform/API C++ 4 04-28-2006 07:27 AM
Remote server is running my .exe rather than allowing it to be downloaded! TomJ MS Technologies ( ASP, VB, C#, .NET ) 0 05-19-2005 08:05 AM


All times are GMT -8. The time now is 10:51 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting