On 10/08/2010, at 2:21 PM, Chuck Hill wrote:

>> 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.

OK.

>> 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?

Do I win a prize?  :-)

>> 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/

I was using Mike's setupWorkspace.sh script with a few modifications—needed one 
more.  wo.bootstrapjar was, indeed, pointing to a path that didn't exist.  
Pointing it to an actual copy of that file was all I needed to do.  Thanks 
Chuck.


-- 
Paul.

http://logicsquad.net/


 _______________________________________________
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