Hi Natania,

Following what you wrote, the addressbook works!  Thanks you very much for
your help.

I plan to use xindice to store SVG data.  Which java files in the
addressbook are for database read/write?

Thanks,

Tak






On Wed, Sep 17, 2008 at 11:30 AM, Natalia Shilenkova
<[EMAIL PROTECTED]>wrote:

> On Wed, Sep 17, 2008 at 9:59 AM, Tak-po Li <[EMAIL PROTECTED]> wrote:
> >
> > Hi Natania,
> >
> > With new command, the addressbook is created:
> >
> > trying to register database
> > Created: xmldb:xindice://localhost:8080/db/addressbook
> >
> > I can view the addressbook with browser as well.  However, when I try to
> > save the entered data, I got:
> >
> > An ERROR has occured!!!
> >
> > It seems there is not a lot of new info in the log file.  Thanks again
> for
> > your help.
> >
> > Tak
>
> OK, I think I know what happens. It looks like this is another problem
> that appears because of non-standard port, where Address Book app
> tries to connect to localhost:8888.
>
> I made a couple of changes to DBConnection.java file that should fix
> the problem (attached). Please replace file
> java\examples\addressbook\src\java\addressbook\DBConnection.java in
> your Xindice installation directory and rebuild the examples. You need
> to deploy this new addressbook.war. I would also recommend to remove
> unpacked addressbook application in the Tomcat webapps directory
> first, just in case.
>
> Alternatively, you can change Tomcat configuration to use port 8888.
>
> Regards,
> Natalia
>

Reply via email to