File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Mac OS and the fly likes Upgrading OSX JBoss and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Upgrading OSX JBoss and Tomcat" Watch "Upgrading OSX JBoss and Tomcat" New topic

Upgrading OSX JBoss and Tomcat

David Roach

Joined: Mar 05, 2009
Posts: 1

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

Joined: Feb 05, 2001
Posts: 17276

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


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Upgrading OSX JBoss and Tomcat
It's not a secret anymore!