Building as a WAR file

Randy Wigginton <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hello, haven't seen much activity here, even though I'm still using  
webobjects...  The lack of activity is a bit worrisome.

Anyway, I am trying to deploy a .war file to a linux machine; I've  
puzzled through a lot of it, but there are a few oddities, and I seem  
to be blocked from going any further.  I edited my xcode build  
settings for deployment to be:
                                 SERVLET_COPY_JARS = YES;
                                 SERVLET_DEPLOY_LICENSE = "blah";
                                 SERVLET_SINGLE_DIR_DEPLOY = YES;
                                 SERVLET_TRUE_WAR = YES;
                                 SERVLET_WEBAPPS_DIR = /Library/ 
WebObjects/WARFiles;
                                 SPLIT_INSTALL = NO;

Then I do an xcodebuild -configuration Deployment.  This creates a  
directory structure under /Library/WebObjects/WARFiles; it does NOT  
create the actual War file.  Scratching my head, I created a 19M war  
file, upload it, and expand it under my tomcat directory.  When I  
bring up the main page, everything works fine; of course, it is  
merely a list of links to other pages.  When I go to another page, I  
get the following output in my catalina.out file:
- An exception occurred while trying to open a channel:  
com.webobjects.jdbcadaptor.JDBCAdaptorException: Cannot create JDBC  
driver of class '' for connect URL 'null'
- <com.webobjects.appserver._private.WOComponentRequestHandler>:  
Exception occurred while handling request:
java.lang.IllegalStateException: _obtainOpenChannel --  
com.webobjects.eoaccess.EODatabaseContext  
com.webobjects.eoaccess.EODatabaseContext@c063ad: failed to open  
database channel.  Check your connection dictionary, and ensure your  
database is correctly configured.

Any guesses what I need to do?  The eomodel is out there, in the  
directory:
appname/WEB-INF/appname.woa/Contents/Resources/mono2.eomodeld

It is intended to connect to Oracle, but I have to guess that it is  
not finding the eomodel for some reason.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.