• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

JBoss as a prod. server.  RSS feed

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is the best OS to deploy jboss as a production server, or you think any OS can do the work?
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I prefer linux, it is higly secure and fast.
 
Ranch Hand
Posts: 8934
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss should work fine in any OS.
 
Sheriff
Posts: 9093
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've successfully used JBoss on Linux and Windows.
 
Jaime M. Tovar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually work with Jboss in windows as a development env. But have never worked with windows Jboss � Win in a production server. I know it should work just fine in both and any other but by experience which is the best prod. env.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Linux will be the best preferred OS for JBoss as a production server.
 
author
Posts: 4096
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't memory size a part of picking the OS? Rather, if you want your JVM to go above 2-4 gig mark better to use Linux?
 
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used JBoss in win OS for development, and in Linux for prod. But we had to struggle a lot to set up and tune the server in Linux, since we were new to Linux. But after that it was good in Linux.
So I would say to use, whichever you are comfortable with.
 
Pradeep bhatt
Ranch Hand
Posts: 8934
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by vjy chin:
I used JBoss in win OS for development, and in Linux for prod. But we had to struggle a lot to set up and tune the server in Linux, since we were new to Linux. But after that it was good in Linux.
So I would say to use, whichever you are comfortable with.



What kind of tuning did you do?Could you please share some. Thanks.
 
Pradeep bhatt
Ranch Hand
Posts: 8934
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Scott Selikoff:
Doesn't memory size a part of picking the OS? Rather, if you want your JVM to go above 2-4 gig mark better to use Linux?



Could you please tell me the reason ?
 
vjy chin
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pradip,

I am sorry, just saw your msg you sent long back.
It was almost 2 years ago that we worked on Linux with JBoss. First we had to connect the Apache to the JBoss, we used a connector, modjk or something, I dont remember exactly.

Then we had database connections open, so we fixed that, the problem was it didnt happen in windows, but happened in Linux.

Then we had too many files open error. We had all the requests and redirected outputs in a log file, so we had to remove these things, we didnt know any other way.

Then we increased the heap size of the memory using Xms and Xmx.

These are the ones which come to the top of my head now, but if you have done anything else, do let us know, so anyone who is having the same can be benefitted.

Thanks.
 
Pradeep bhatt
Ranch Hand
Posts: 8934
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem vjy chin.

My Customer visit was quite successful and they were happy with the tuning of Jboss and their application. Yes I also encountered too many files/sockets opened error and I was able trace it out a bug in the customer code.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!