On Aug 9, 2010, at 9:41 PM, Paul Hoadley wrote:

> Hello Hudson builders,
> 
> I've hit a small snag with my Project Hudson: a built application I just 
> tried to deploy won't actually launch (JavaMonitor or command line).  The 
> specific problem is that it can't find the Postgres JDBC JAR, which hasn't 
> moved from previous launch (with an Eclipse-built app bundle), and is in 
> /opt/Local/Library/WebObjects/Extensions (CentOS deployment).  This looks a 
> bit underpopulated:
> 
> Aug 10 00:10:46 PBF[52898] INFO  ConnectionAnalyzer  - The JRE extension 
> directories being used are: 
> Aug 10 00:10:46 PBF[52898] INFO  ConnectionAnalyzer  - 
> /usr/lib/jvm/java-1.6.0-sun-1.6.0.12/jre/lib/ext:/usr/java/packages/lib/ext
> 
> That's it, which explains why it can't find it.  

Not so fast.  Those are the *JRE* extension directories, not the *WO* extension 
directory.


> On closer inspection of the bundles (Eclipse and Hudson), the startup scripts 
> are (quite) different, and the Hudson-built bundle is missing WOBootstrap.jar 
> completely.

Care to guess which jar file has the code that reads the jars in 
/opt/Local/Library/WebObjects/Extensions?


>  Am I using the wrong version of woproject.jar?  I pulled it out of 
> /Developer/Applications/Eclipse-3.5.2/plugins/org.objectstyle.wolips.woproject.ant_3.5.6049/lib/
>  for use in .../Hudson/Deps.  Is this right?


It is because WO is not installed on the machine you are building on and 
wo.bootstrapjar in your wolips.properties is not pointing to... well, 
WOBootstrap.jar.  :-)  If you had installed WO on a OS X machine, it would be 
in /System/Library/WebObjects/JavaApplications/wotaskd.woa/


Chuck

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to