JBoss ftp deploy

Z

zlatozar

Hi all,

I have tried to deploy our application via FTP without success. FTP
writes directly to deploy directory! The problem is that JBoss
doesn't wait for whole file and try to deploy half uploaded
application. Of course deployment fails. Could you tell me please is it
possible to delay start deployment? Or there is another way to avoid
the problem.

If you need additional information just let me know.

Thank you!
 
M

Manish Pandit

zlatozar said:
Hi all,

I have tried to deploy our application via FTP without success. FTP
writes directly to deploy directory! The problem is that JBoss
doesn't wait for whole file and try to deploy half uploaded
application. Of course deployment fails. Could you tell me please is it
possible to delay start deployment? Or there is another way to avoid
the problem.

If you need additional information just let me know.

Thank you!

You can try uploading it with a different extension, like .partial and
upon completion, renaming it to a war/ear?

-cheers,
Manish
 
Z

zlatozar

Manish said:
You can try uploading it with a different extension, like .partial and
upon completion, renaming it to a war/ear?

-cheers,
Manish

Hi Manish,

Thank you for your answer, but this is some kind of workaround. It is
CControl integration and I all generated files are .sar and .war. More
ideas?
 
Z

zlatozar

zlatozar said:
Hi Manish,

Thank you for your answer, but this is some kind of workaround. It is
CControl integration and I all generated files are .sar and .war. More
ideas?

Just for completeness:
in server/default/conf/jboss-service.xml set
<attribute name="ScanPeriod">5000</attribute> properly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,607
Members
45,240
Latest member
pashute

Latest Threads

Top