Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 18142 invoked from network); 9 Jan 2005 11:12:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Jan 2005 11:12:58 -0000 Received: (qmail 73712 invoked by uid 500); 9 Jan 2005 11:12:57 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 73674 invoked by uid 500); 9 Jan 2005 11:12:57 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 73659 invoked by uid 99); 9 Jan 2005 11:12:57 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from web90008.mail.scd.yahoo.com (HELO web90008.mail.scd.yahoo.com) (66.218.94.66) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 09 Jan 2005 03:12:55 -0800 Received: (qmail 14394 invoked by uid 60001); 9 Jan 2005 11:12:53 -0000 Message-ID: <20050109111253.14392.qmail@web90008.mail.scd.yahoo.com> Received: from [203.220.116.200] by web90008.mail.scd.yahoo.com via HTTP; Sun, 09 Jan 2005 22:12:53 EST Date: Sun, 9 Jan 2005 22:12:53 +1100 (EST) From: Bruce Lee Subject: Re: Getting Started documentation (ojb-blank update) To: OJB Developers List , Thomas Dudziak In-Reply-To: <224f3234050106152738394a67@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Thomas Dudziak wrote: > Sorry that I answer this late, but at the moment I'm > somewhat buried > under work, so longer answers take a bit longer ;-) That's OK Thomas, we're all very busy I suspect. I was beginning to think that no-one was interested... but as long as we get there in the end :-) I will make a more detailed response to the issues you raised soon, for now I just want to bring to your attention (if it hasn't been already) the "missing"(?) WAR target from the ant build script in ojb-blank. In the reference guides, under Deployment->Deployment in Servlet Based Applications, one can find the following text: "By executing ant war you can generate a sample servlet application assembled to a valid WAR file. The resulting ojb-servlet.war file is written to the dist directory. You can deploy this WAR file to your servlet engine or unzip it to have a look at its directory structure. you can also use the target war as a starting point for your own deployment scripts..." but running ant -p in the top-level directory of ojb-blank shows that no such target exists. Did it get removed for a reason? It would be very helpful to see the resultant .war file for newcomers trying to get the example servlet running. Specifically, I have been fiddling with the Servlet tutorial example and (following the structure of other examples I have found online) am fairly certain that I have a correct structure for the classes, library files and deployment descriptor under Tomcat, yet I cannot get the servlet to read the repository descriptor. Another line from the above source says: " Deploy OJB.properties and repository.xml with your servlet applications WAR file. The WAR format specifies that Servlet classes are to be placed in a directory WEB-INF/classes. The OJB configuration files have to be in this directory." When I place the configuration files in the specified directory, the servlet no longer reports that the repository data cannot be found and instead reports that it cannot be read. Can we have either, or both, of: a) the WAR target back in build.xml b) the reference guide made clearer so that we might divine the correct structure and write our own WAR targets? Cheers, Bruce. Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org