Bugs item #608790, was opened at 2002-09-13 00:41
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=608790&group_id=22866

Category: JBossMX
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Works For Me
Priority: 4
Submitted By: Chris Kimpton (kimptoc)
>Assigned to: Scott M Stark (starksm)
Summary: [3.0.2]Hot deploy of unpackaged SAR bug?

Initial Comment:
Hi,

I was deploying my sar in the unpackaged form, like the 
jbossweb.sar directory. Deployment works fine.

The 
problem I hit with re-deployment (that is deleting the directory and 
copying it over again) is that messages appear in the jboss log, so 
you think it is doing a redployment, but it restarts the old code, not a 
new version. I was changing the log messages from the code and 
the old ones kept being displayed.

But it works fine if I deploy 
as a packaged sar file.

Is this a known 
problem?

Regards,
Chris 

----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2002-10-31 10:29

Message:
Logged In: YES 
user_id=175228

This works for me in the 3.0.4RC1 source on an WinXP 
system. If you still see the problem with the 3.0.4 release 
show all of the steps and output.


copy monitor.sar to deploy dir:
10:19:48,642 INFO  [MainDeployer] Starting deployment of 
package: file:/C:/usr/JBoss3.0/jboss-all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/
10:19:48,652 INFO  [JBossMonitor] Creating
10:19:48,652 INFO  [JBossMonitor] Created
10:19:48,652 INFO  [JBossMonitor] Starting
10:19:48,652 INFO  [JBossMonitor] Started
10:19:48,652 INFO  [MainDeployer] Deployed package: 
file:/C:/usr/JBoss3.0/jboss-all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/
10:19:49,654 INFO  [STDOUT] Total Mem: 14118912  Free 
Mem:  7699184
10:19:49,654 INFO  [STDOUT] Thread Count: 40
10:19:50,655 INFO  [STDOUT] Total Mem: 14118912  Free 
Mem:  7690816
10:19:50,655 INFO  [STDOUT] Thread Count: 40

remove monitor.sar directory from deploy dir:
10:22:18,909 INFO  [MainDeployer] Undeploying 
file:/C:/usr/JBoss3.0/jboss-all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/
10:22:18,909 INFO  [JBossMonitor] Stopping
10:22:18,909 INFO  [JBossMonitor] Stopped
10:22:18,909 INFO  [JBossMonitor] Destroying
10:22:18,909 INFO  [JBossMonitor] Destroyed
10:22:18,909 INFO  [MainDeployer] not deleting localUrl, it is 
null or not a copy: file:/C:/usr/JBoss3.0/jboss-
all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/
10:22:18,909 INFO  [MainDeployer] Undeployed 
file:/C:/usr/JBoss3.0/jboss-all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/

copy new monitor.sar directory to deploy dir:
10:22:33,930 INFO  [MainDeployer] Starting deployment of 
package: file:/C:/usr/JBoss3.0/jboss-all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/
10:22:33,940 INFO  [JBossMonitor] Creating
10:22:33,940 INFO  [JBossMonitor] Created
10:22:33,940 INFO  [JBossMonitor] Starting
10:22:33,940 INFO  [JBossMonitor] Started
10:22:33,940 INFO  [MainDeployer] Deployed package: 
file:/C:/usr/JBoss3.0/jboss-all/build/output/jboss-
3.0.4RC1/server/default/deploy/monitor.sar/
10:22:34,942 INFO  [STDOUT] Total Memory: 14118912  
Free Memory:  6689088
10:22:34,942 INFO  [STDOUT] Thread Count: 40
10:22:35,943 INFO  [STDOUT] Total Memory: 14118912  
Free Memory:  6680352
10:22:35,943 INFO  [STDOUT] Thread Count: 40

Note that Mem has changed to Memory in the log messages.


----------------------------------------------------------------------

Comment By: Chris Kimpton (kimptoc)
Date: 2002-10-08 05:40

Message:
Logged In: YES 
user_id=39204

This was on Windows2000

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2002-09-28 19:29

Message:
Logged In: YES 
user_id=175228

On what operating system?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=608790&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to