• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Long Time Taken to Deploy WAR on JBoss...

 
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I am trying to deploy a small war file in JBoss around the size of 500KB and I don't know why it is taking more than 45 mins to do it. I see the logs and it gets stuck with this:



And after around 35mins - 45mins i see the application getting deployed. Could you please let me know how to speed up the process?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of JBoss AS?
 
Somnath Mallick
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well its actually GateIn 3.1, which I downloaded. It came bundled with the JBoss 5.1.0 GA JBoss application server.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't have any experience of using GateIn. But looking at those logs, it doesn't appear to be coming from JBoss Application Server. You might have to ask this question in the GateIn forum here http://community.jboss.org/community/gatein
 
Somnath Mallick
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The delay is in the JBoss application. When i try to login to the JBoss Application server it takes a long time to get to the main home page. Then when i try to deploy a war on the JBoss server then also it takes a long time to deploy. This is not a GateIn issue as far as i can see. This is something wrong with the JBoss.

Would lack of virtual memory be a concern?
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The delay is in the JBoss application. When i try to login to the JBoss Application server it takes a long time to get to the main home page. Then when i try to deploy a war on the JBoss server then also it takes a long time to deploy.



Which application and which page?

This is not a GateIn issue as far as i can see



Do you still see the same delay when the application is deployed on just JBoss AS without GateIn?
 
Somnath Mallick
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The strange delay happens when i deploy any application, be it war or ear, especially when the server is left idle for sometime.

The GateIn came bundles with the JBoss server. There's no way to separate out the two. But i do have the JBoss 6 application server i'll try that and let you know.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

especially when the server is left idle for sometime.


Sounds like you are running Windows. If you leave an app idle long enough, Windows will place the whole thing out in the pagefile. Then when you need it again, Windows has to page the whole thing back in, which can be really time consuming because it doesn't do it in bulk but in pieces.

Another possibility is that is the app server is running from a disk other than the one holding the OS, the machine has powered down the disk and you have to wait for the disk to spin back up to swap in pieces of code. I've experienced this on my desktop running both Windows and Linux.
 
Somnath Mallick
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ya. I thought about that! But the thing is, i checked out the normal JBoss and it doesn't have any such issues like that. Only 5-10 seconds at max when left idle for a long time. Its just the GateIn bundled with JBoss. Maybe it is meant to be that way. I'll ask the GateIn community and see what i get. GateIn portal is a heavy stuff... consumes 800MB of RAM approx!

 
reply
    Bookmark Topic Watch Topic
  • New Topic