Re: JBoss
Re: JBoss
- Subject: Re: JBoss
- From: Hsu <email@hidden>
- Date: Mon, 3 Nov 2003 15:47:38 -0800
From an undisclosed source:
It depends.
* if you want to have EOF use the model dictionary, then ignore the
warning (or replace with "<jndi-name>java:/DefaultDS</jndi-name>")
* if you want to use the databases that are configured in jboss (e.g.
mysql-db.xml) you need to replace it with the jndi name that is
present in that file (e.g. "<jndi-name>java:/MySqlDS</jndi-name>"
Karl
On Nov 3, 2003, at 9:06 AM, Tom Pelaia wrote:
Hi,
Yes, I've done those changes and it works. The problem is with the
jboss-web.xml settings. In particular:
<jndi-name>java:/YOU MUST CONFIGURE THIS PROPERTY TO
DEPLOY</jndi-name>
What do I set this property to be? When I run JBoss it complains
about this very property.
thanks,
-tom
Hsu wrote:
You should set the build settings
SERVLET_SINGLE_DIR_DEPLOY = NO
SERVLET_STUB_WAR = NO
SERVLET_TRUE_WAR = YES
SERVLET_DEPLOY_LICENSE = <your deployment license>
In addition, you need to make sure that all your custom frameworks
(if any) are being built as JAR files (and installed or linked into
/Library/WebObjects/lib).
Finally, you need to go through your code and make sure that you
don't reference paths anywhere, and use URLs instead. Largish chunks
of the WO API now have URL-based analogs.
Karl
On Nov 3, 2003, at 5:40 AM, Tom Pelaia wrote:
Hi,
Has anyone tried developing using the new "true" war file deployment
target? I upgraded from WO 5.1 to WO 5.2.2 and made several changes
to my project so I could deploy using the new "true" war servlet
target. I'm not sure what I am supposed to fill in for the jboss
xml template. We are supposed to provide a JNDI location, and in
fact when I deploy under JBoss it complains via an exception that it
needs that information, but runs the application just fine anyway.
Actually JBoss was just a test, I really want to create a war file
for an Orion servlet. What am I supposed to change? The WO 5.2.2
claims the "true" war should work with any J2EE server.
Where is the documentation for WO 5.2.2? The only thing I could
find was a "What's New in WebObjects 5.2.2" page, but none of the
supporting documentation is there to describe the development
procedure for the new "true" war capability. The existing
documentation seems to talk only about new features but not how to
develop with them. In fact I had to create a new WebObjects
project and compare its build settings with my existing project's
build settings to figure out all of the changes I needed to bring my
existing project to build with the new "true" war capability.
thanks,
-tom
--
Tom Pelaia
SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
phone: (865)574-6421, fax: (865)574-6617
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Caffeine has been shown to cause laboratory experiments involving
rats.
Homepage:
http://homepage.mac.com/khsu/index.html
--
Tom Pelaia
SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
phone: (865)574-6421, fax: (865)574-6617
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >JBoss (From: Tom Pelaia <email@hidden>) |
| >Re: JBoss (From: Hsu <email@hidden>) |
| >Re: JBoss (From: Tom Pelaia <email@hidden>) |