Re: resin-interest-digest V1 #1240

Tony Field <[email protected]> Fri, 23 Jun 2006 14:34:19 -0400
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
Removing the - gets me about as far as I got using the latest  
snapshot so that's good.  However I'm getting these exceptions - did  
I miss a configuration setting?

[14:29:43.482] Failed loading com.caucho.quercus.lib.MailModule
[14:29:43.482] java.lang.NoClassDefFoundError: javax/mail/ 
MessagingException

Still though, it wordpress blows up quite spectactularly (multi- 
hundred-line stack traces) because it's complaining that  
<mydb>.wp_options does not exist (sqlexception saying table not  
found) but the table does indeed exist - it was created by the  
"famous 5 minute installer".

Next step?  Again, help greatly appreciated.

Tony

On 23-Jun-06, at 2:22 PM, resin-interest-digest wrote:
> Date: Thu, 22 Jun 2006 19:55:02 -0700
> From: Scott Ferguson <[email protected]>
> Subject: Re: Wordpress on Quercus
>
> On Jun 22, 2006, at 7:43 PM, Tony Field wrote:
>
>> Hi -
>>
>> I've just downloaded Wordpress 2.0.3 from wordpress.org, and I've
>> been running resin 3.0.19 for a couple of weeks doing regular java
>> stuff.
>>
>> /Users/tfield/Desktop/resin-3.0.19/webapps/anthropparel/wp-includes/
>> functions-formatting.php:102:
>> -$text is an invalid left-hand side of an assignment. in
>> functions-formatting.php:101: 	$text = preg_replace('/&([^#])(?![a-
>> z1-4]{1,8};)/',
>> '&#038;$1', $text);-
>> functions-formatting.php:102: 	$text = str_replace('<', '&lt;',
>> $text);
>> functions-formatting.php:103: 	$text = str_replace('>', '&gt;',
>> $text);
>
> It looks like a wordpress bug.
>
> There's a bogus '-' at the end of line 101.
>
> You might also need to set the SMTP parameters for Mac OS X:
>
> <init>
>    <php-ini SMTP="smtp.foo.com" sendmail_from="[email protected]"/>
> </init>
>
> Where smtp.foo.com is the outgoing mail.
>
> - -- Scott
>>
>>
>> Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)
>>
>> I can get part way through the setup wizard if I download the
>> latest from the svn trunk for wordpress, but still - it's not
>> running OOTB. I'm running Mac OS X 10.4.6, java 1.5, resin 3.0.19.
>>
>>
>> Thanks!!
>> Tony
>