Problems with Modified Orbeon SQL Addressbook Example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with Modified Orbeon SQL Addressbook Example

dcrensha
I have been trying to modify the SQL address book example included with Orbeon to use a local mysql database instead of the packaged eXist database. I have created a database-sql.xml to define the datasource and changed the queries to mysql queries that work fine when done directly, but that has not worked as expected. When I set my logs to trace level, I find that the form is empty when it is submitted. (ie. I enter bob hope 7777777 in the address book app, but the log comes out nothing on any of them.)

Attached is a copy of my tomcat log.

ops.log

Thanks,
Dennis Crenshaw
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Modified Orbeon SQL Addressbook Example

Erik Bruchez
Administrator
You have an exception in your logs:

   java.sql.SQLException: Table 'orbeon_address_book' already exists

Somewhere, there must be code trying to create this table when it  
already exists.

-Erik

On May 22, 2008, at 1:33 PM, dcrensha wrote:

>
> I have been trying to modify the SQL address book example included  
> with
> Orbeon to use a local mysql database instead of the packaged eXist  
> database.
> I have created a database-sql.xml to define the datasource and  
> changed the
> queries to mysql queries that work fine when done directly, but that  
> has not
> worked as expected. When I set my logs to trace level, I find that  
> the form
> is empty when it is submitted. (ie. I enter bob hope 7777777 in the  
> address
> book app, but the log comes out nothing on any of them.)
>
> Attached is a copy of my tomcat log.
>
> http://www.nabble.com/file/p17412842/ops.log ops.log
>
> Thanks,
> Dennis Crenshaw
> --
> View this message in context: http://www.nabble.com/Problems-with-Modified-Orbeon-SQL-Addressbook-Example-tp17412842p17412842.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws