Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Porting JBOSS to another OS  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What effort is involved in porting a JBoss app server from windows to a UNIX OS (or from moving from any OS to another). I dont see much work involved. Is any tuning involved ?Has anyone been involved in such an effort before ? Please pass me some tips.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss is a Java application. Assuming you have a JDK on your machine, that is all the effort required.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul. Hope everything goes fine.
 
Tom Marrs
Author
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've run JBoss on Windows and Linux and (like Paul said), there were no issues.

The only difference is the run script that you use. Go to $JBOSS_HOME/bin
On Windows, do the following: run.bat
On Linux/UNIX, do the following run.sh

That's it. After all, Java is cross-platform.

Tom
 
Reid M. Pinchback
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've run JBoss various Wintel and *nix flavours, and portability issues exist but are where you would expect them. Less to do with JBoss, more just to do with expected rough edges on the portability of Java apps, for example:

  • JVM differences can cause issues (e.g. I've seen Solaris JVM threading bugs not seen on Windows).
  • Text file encoding issues can crop up if you haven't been careful about keeping track of that (e.g. files created on Windows and transmitted to a Unix sever will have the usual end-of-line issues if you have code that has a reason to care about end-of-line representation).
  • JNI usage that works on Windows may be difficult to get working on Unix, or vice versa. JVM handling of JNI is rather different on the various O/S implementations.


  • [ February 15, 2006: Message edited by: Reid M. Pinchback ]
     
    Pradeep bhatt
    Ranch Hand
    Posts: 8933
    Firefox Browser Java Spring
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks everyone.

    Clarification. The server has to be moved from Solaris OS to another UNIX flavour. So there should not be any Windows character problems. What about JVM and JNI issues. Could you please me tell me more here. The problem is I dont more info about the applications that the customer is using.Thanks.
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!