This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upgrading OSX JBoss and Tomcat

David Roach
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I apologize for being a bit green in asking this question, but I am C++ low level programmer migrating into Java so please understand.

I am responsible for making sure our companies Java Server Application is up and running under Mac OSX. Of course the application runs fine under Linux and Windows, so I began this process by copying over the product from the Linux version to the Mac.

Our Java Server App requires particular things they are:

at least : Java 1.5
JBoss 4.0.5 GA
Tomcat 5.5.25

The Linux installation installs all the appropriate files for our product under jboss-4.0.5.GA/server

Also with the jboss-4.0.5.GA folder there is jdk1.5.0_15, which is part of the requirement for the package.

On the Mac Server, there is the Server Admin application in the Dock. I launch that and started the Application server. It tells me that JBoss is version 3.2.3 and Tomcat is version 4.1.29

My first question is, how do I upgrade the application server to use:

version 4.0.5 GA of JBoss
version 5.5.25 of Tomcat

instead of the versions that ship with the Apple Server?

When I start the Application Server with the admin application, I get a nice Green light saying the service has started. However, when I click on the Manage JBoss button I get 404 - /web-console error.

Also, within the "server" folder there are two folders one is "default" and the other is "nameofourserverapp"

I assume that this is a way to kick off our application once JBoss starts up. Am I correct with this?

I am sorry for being so green to a lot of this, but I try to learn by asking questions, it tends to stick in my head longer.

Mark Spritzler
Posts: 17278
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is more about JBoss really. I mean you can install many versions of JBoss on your system. JBoss is really just a big set of files. The issue you have is that whatever "On the Mac Server, there is the Server Admin application in the Dock." That means, what you click is pointing to a directory of files that has an older version of JBoss.

So just have that server admin app point to the set of directories that has your JBoss install.

To run JBoss in Linux there is a script in the JBOSS_INSTALL_DIRECTORY/bin directory called just pass it "-c <yourservernameHere>" and it will start up JBoss with that server configuration.

I am going to move this to the JBoss forum

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic