Hello Ted,

Monday, July 09, 2001, 2:07:26 PM, you wrote:

TH> Oleg V Alexeev wrote:
>> TH> The sample WAR for the bean-factory and pager tag doesn't include the
>> TH> source for the sample bean. Would it be possible to include that too?
>> 
>> I think you told about sources for sample application. You can find it
>> in bean-factory-src.{ zip | tar.gz }

TH> The bean-factory-sample WAR uses a bf.beans.sample class, but I can't
TH> find the source for that.

Source for bf.beans.Sample is in

http://www.sura.ru/~gonza/bean-factory/bean-factory-src.zip

>> TH> Also, what does it expect in the way of a database definition. I haven't
>> TH> been able to get it to run (null pointer exception).
>> 
>> Can you send to me stack of the exception?

TH> I corrected my struts-config.xml and got past that, but now I'm exposing 

TH> 500 Can not create internal resource

TH> when trying any of the main links. 

I think that is because of ActionServlet can not init datasource to
use it with JDBCFactory. struts-config.xml must contain datasource
definition with appropriate driver, URL, etc. Now bean-factory can not
retrieve datasource from JNDI - only from ActionServlet environment.

-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to