Hi Natalia,

I re-compile with the new build.xml file and try.  The error remain.

>From the catalina.log, even before the I go to the address book, the
database has stopped:

INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 15, 2008 7:55:48 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
The following are the difference between the howto and my catalina.log.
Thanks,

Tak





howto/installation:

INFO: Starting Coyote HTTP/1.1 on port 8080
Nov 21, 2002 1:42:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Nov 21, 2002 1:42:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=20/70
config=D:\jakarta-tomcat-4.1.12\conf\jk2.properties
my catalina.log:

INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 15, 2008 7:55:39 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 15, 2008 7:55:39 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=null
Sep 15, 2008 7:55:39 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3443 ms
Sep 15, 2008 7:55:47 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 15, 2008 7:55:48 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 15, 2008 7:55:48 PM
org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing
[EMAIL PROTECTED]:
display name [WebApplicationContext for namespace 'springapp-servlet'];
startup date [Mon Sep 15 19:55:39 EDT 2008]; parent:
[EMAIL PROTECTED]
Sep 15, 2008 7:55:48 PM
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
INFO: Destroying singletons in
[EMAIL PROTECTED]:
defining beans
[messageSource,/hello.htm,/priceincrease.htm,/hotsraw.htm,viewResolver];
parent:
[EMAIL PROTECTED]
Sep 15, 2008 7:55:48 PM
org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing
[EMAIL PROTECTED]:
display name [Root WebApplicationContext]; startup date [Mon Sep 15 19:55:38
EDT 2008]; root of context hierarchy
Sep 15, 2008 7:55:48 PM
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
INFO: Destroying singletons in
[EMAIL PROTECTED]:
defining beans
[productManager,productDao,dataSource,propertyConfigurer,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,txAdvice];
root of factory hierarchy
Sep 15, 2008 7:55:49 PM org.apache.xindice.server.XindiceServlet destroy
INFO: Database 'db' successfully closed
Sep 15, 2008 7:55:49 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080














On Mon, Sep 15, 2008 at 2:29 PM, Tak-po Li <[EMAIL PROTECTED]> wrote:

>
> Thanks, Natalia, I will try it.
>
> Tak
>
>
>
>
> On Mon, Sep 15, 2008 at 7:53 AM, Natalia Shilenkova <[EMAIL PROTECTED]
> > wrote:
>
>> On Sat, Sep 13, 2008 at 11:42 PM, Tak-po Li <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> > I am newbie with xindice.
>> > 1. I rename xindice-1.2m1.war to xindice.war and move it into webapps.
>>  I
>> > successfully got "xindice (zeen-de-chay)" screen with
>> localhost:8080/xindice
>> > 2. I did the same to addressbook-1.2mi.war and got a good screen with
>> > locathost:8080/addressbook.
>> > 3. add <context ..></context> into server.xml (below <host> level).
>> > 4. When I try to add my entered data into database I get the following
>> > message:  Could someone please help?
>> > Thanks,
>> > Tak
>>
>> It's a known problem with examples in 1.2m1 - its build.xml file did
>> not include ws-commons-util library. You can get corrected version of
>> build.xml file here:
>>
>> http://svn.apache.org/viewvc/xml/xindice/trunk/java/examples/build.xml?revision=633742&content-type=text%2Fplain
>>
>> Replacing xml-xindice/java/examples/build.xml file with the new
>> version and rebuilding examples should fix the issue.
>>
>> Regards,
>> Natalia
>>
>
>

Reply via email to