• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Any WAR File Experts Out There?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any WAR File Experts Out There?


  • Subject: Re: Any WAR File Experts Out There?
  • From: Thomas Pelaia <email@hidden>
  • Date: Thu, 24 Feb 2005 16:06:21 -0500

I wouldn't consider myself a WAR expert, but I do deploy my WebObjects application using JBoss and it works very well.

Have you tried a "Hello World" type example application? If you can get a simple application running under JBoss then you should be okay with a more complicated one. I suggest starting with "Hello World" and then adding a simple EOF and that should cover everything.

There were a few tricky configurations in the initial setup. To be clear, I am using XCode, but it probably doesn't matter. Here are a few things to check.

Check you jboss-web.xml file. You definitely need to configure this file properly if you are using EOF. The application will never get started properly without this file configured correctly.

Make sure your deployment license gets built into the WAR file for deployment by setting the SERVLET_DEPLOY_LICENSE item.

Make sure the servlet project settings are correct:
SERVLET_SINGLE_DIR_DEPLOY = NO
SERVLET_TRUE_WAR = YES
SERVLET_WEBAPPS_DIR = /Library/JBoss/3.2/deploy

Also, I explicitly defined a package for all of my classes. This prevents JBoss from complaining upon startup, however, JBoss still ran the application just fine anyway.

_________
Tom Pelaia
Spallation Neutron Source, Accelerator Systems Division
Oak Ridge National Laboratory


On Feb 24, 2005, at 3:11 PM, email@hidden wrote:


Message: 4
Date: Thu, 24 Feb 2005 08:00:28 -0600
From: James Cicenia <email@hidden>
Subject: Any WAR File Experts Out There?
To: webobjects Dev <email@hidden>,
	"'email@hidden'" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hello -

I have literally spent nearly 100 hours trying to figure out how to get
my Eclipse project deployed as a WAR.

I must be blind or dumb. I just can't see what is wrong. I've combed my
build.xml, my web.xml. Reviewed
all my directories, tried this and that and this and that and this and
that and all I ever seem to get is this:

07:56:46,996 INFO  [TomcatDeployer] deploy, ctxPath=/TOSWar,
warUrl=file:/usr/local/jboss-3.2.7/server/default/tmp/deploy/
tmp62818TOSWar.war/

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: images in databases
  • Next by Date: Re: WOExtensions
  • Previous by thread: Any WAR File Experts Out There?
  • Next by thread: WOExtensions
  • Index(es):
    • Date
    • Thread