Re: Building as a WAR file

Paul Yu <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
>
Randy

I see much more activity on the Apple WebObjects-dev, Wonder, and  
WOLips lists at this point.  So I think you should not worry.

With regards to your tomcat issues. I think you need help EOF set the  
connection dictionary.  I think you do that either in one of the xml  
config files or what we've done is set the connection dictionary at  
runtime by reading them in from a properties file.

Paul

> Message: 1
> Date: Thu, 12 Jul 2007 15:59:38 -0700
> From: Randy Wigginton <[email protected]>
> Subject: Building as a WAR file
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> 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.
>
>
>
> ------------------------------
>
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
>
> End of WebObjects-dev Digest, Vol 26, Issue 4
> *********************************************
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.