LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2011, 01:20 AM   #1
chenbo
LQ Newbie
 
Registered: Jul 2011
Posts: 13

Rep: Reputation: Disabled
JBOSS 5.1 does not work in CentOS 4.8


For some reason I need to use CentOS 4.8.

I installed Java 1.6.26 and JBOSS 5.1 on CentOS 4.8. However, When I use ./run.sh to run JBOSS I get the following message:

/bin/run.jaring required file: /opt/java/jboss

where /opt/java/jboss is the link to the JBOSS installation directory. Nothing else happens and there is no log.

I tried the search the error message, but got no hints.

Can anyone please help? Thanks in advance.
 
Old 08-03-2011, 01:57 AM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
I know it's not helping at all (well, it would help, but it's not the point). RHEL4/CentOS4 is getting closer to EOL (end of life). Even if JBOSS = RedHat, vendors tend not to support versions more than the previous version of a Linux OS. Even if you get JBOSS to work, you will have more and more problems now that RHEL6 is almost 1 year old.

If I were you, I would virtualize your RHEL4 install in a RHEL6/CentOS6 host OS using KVM. That way, you can more services one by one to the new OS until you can safely retire CentOS4. It will probably be easier that way. Of course, it can't be done in certain contexts, I am aware of that, I still maintain few CentOS3 and even a RH9 one, but if you can, start a step by step migration before things get out of control. As you seem to continue to update your software, it is probably necessary anyway.
 
Old 08-04-2011, 01:29 AM   #3
chenbo
LQ Newbie
 
Registered: Jul 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Problem solved.

The problem was because I copied a '.sh' file from another linux host via a windows machine. During the copy (or transfer), a '\r' character is inserted at the end of each line of the .sh file. And this .sh file set the path variable in linux. Because of the '\r', the path is not set correctly.

After I remove the '\r' from the end of the lines in .sh file, everything works.
 
  


Reply

Tags
jboss



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New install of Centos 5.5 will not work on net work with fixed IP or DHCP JohnScub164 Linux - Networking 2 01-15-2011 12:46 PM
Getting Nagios to work on CentOS 5.3 Wenceslao Linux - Server 6 08-17-2009 01:07 PM
rc.local does not work - Centos Black187 Linux - Newbie 3 07-19-2009 01:49 PM
Flash will not work with Firefox 3.0.2 on CentOS 5.2 walterbyrd Linux - Software 4 10-17-2008 02:51 PM
cant get firewire to work in centos 5 gfem Linux - Hardware 2 08-02-2008 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration