Bugs item #673928, was opened at 2003-01-24 11:55
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=673928&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Rickard Öberg (rickardoberg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Redeploy of exploded EAR doesn't work

Initial Comment:
I have deployed an exploded EAR (that in turn contains
an exploded WAR file) file in JBoss 3.2RC1. The log
output is:
DEBUG [MainDeployer] Watching new file:
file:/C:/projects/sitevision/build/deplo
y/sitevision.ear/sitevision.war/
DEBUG [MainDeployer] Watching new file:
file:/C:/projects/sitevision/build/deplo
y/sitevision.ear/
---
This in itself is bad, because I don't want JBoss to
watch the directories: it should watch the application
and web.xml files!

However, even if I <touch> the directories using Ant
they are not redeployed. Nothing happens.

The effect is that redeployment of exploded EAR files
doesn't work at all.


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

>Comment By: Rickard Öberg (rickardoberg)
Date: 2003-01-24 12:50

Message:
Logged In: YES 
user_id=28931

Great, that would explain it. I'd really prefer to get a
dist, as it's been ages since I last downloaded JBoss from
CVS and built it. I have no time to figure out how to build
the JBoss/Tomcat distro. Is the fix available in any current
dist? If so I can get it from there.


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

Comment By: Alexey Loubyansky (loubyansky)
Date: 2003-01-24 12:46

Message:
Logged In: YES 
user_id=543482

There was a bug in 3.2 where the default (Sun's) protocols 
handlers were used instead of JBoss' ones. There were two 
problems with it:
- incorrect last modified date (as you see);
- opened files where locked on windows.

This was fixed.

As to the watching URLs, I think it's a logging mess. JBoss 
really watches the file, not directory.
Here is the relevant snippet from EARDeployer:
// resolve the watch
if (di.url.getProtocol().equals("file"))
{
   File file = new File(di.url.getFile());
   // If not directory we watch the package
   if (!file.isDirectory()) {
      di.watch = di.url;
   }
   // If directory we watch the xml files
   else {
      di.watch = new URL(di.url, "META-INF/application.xml");
   }
}
else
{
   // We watch the top only, no directory support
   di.watch = di.url;
}

But MainDeployer logs:
log.debug("Watching new file: " + deployment.url);

Note: deployment.url instead of deployment.watch.

So, could you update your version and try again?

alex

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

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


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to