Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Hot deployer activated too early
Hot deployer activated too early [message #723412] Thu, 08 September 2011 13:47 Go to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 744
Registered: July 2009
Senior Member
When copying big war files into the pickup folder, the hot deployer is activated and fails as the war is still being copied.

Is there some setting to handle this?
Re: Hot deployer activated too early [message #723416 is a reply to message #723412] Thu, 08 September 2011 13:54 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta Georgieva
Messages: 238
Registered: October 2010
Senior Member
unfortunately no - we have bug reported already - https://bugs.eclipse.org/bugs/show_bug.cgi?id=353490

as a workaround - put the war file in the pickup and then start Virgo

[Updated on: Thu, 08 September 2011 13:54]

Report message to a moderator

Re: Hot deployer activated too early [message #723420 is a reply to message #723416] Thu, 08 September 2011 14:07 Go to previous messageGo to next message
Jack Lynch is currently offline Jack Lynch
Messages: 9
Registered: August 2011
Junior Member
Would copying the file into a repository directory (not an actively scanned one like repository/usr, but for example repository/ext) and deploying one-line plan pulling in the WAR work for you?

<?xml version="1.0" encoding="UTF-8"?>
<plan name="mybigwar.plan" version="1.0.0" scoped="false" atomic="true"
    xmlns="http://www.eclipse.org/virgo/schema/plan"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan 
                        http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">


    <artifact type="bundle" name="<Bundle-SymbolicName value from MANIFEST of your WAR>" version="[1.0.0, 2.0.0)"/>     
</plan>
Re: Hot deployer activated too early [message #723448 is a reply to message #723412] Thu, 08 September 2011 15:16 Go to previous message
Hristo Iliev is currently offline Hristo Iliev
Messages: 156
Registered: May 2010
Location: Sofia, Bulgaria
Senior Member

The plan approach should be ok, provided that this is WAB. For plain WAR files the pickup remains the only option.

Unfortunately scan interval is currently fixed at 1 second so a big WAR cannot be easily deployed this way.

[Updated on: Thu, 08 September 2011 15:30]

Report message to a moderator

Previous Topic:birt.war does not run properly
Next Topic:Can I use multiple Host entries in tomcat-server.xml
Goto Forum:
  


Current Time: Mon Sep 22 16:23:08 GMT 2014

Powered by FUDForum. Page generated in 0.82301 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software