database shuts down when I import solution

Questions and answers regarding general SQL and backend databases

database shuts down when I import solution

Postby wgrayson » Fri Jan 20, 2012 10:08 pm

I have a solution that I've been managing and updating for a few years. With my latest update, I export from developer and go to Servoy Server to import it the same way I do about once a week. But now, upon import, every time it errors out saying java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect.

My Windows Service that starts my database shuts down. I go in and restart the service, try the import again, and get the same error and the database service shuts down again.

I've tried completely removing the solution and importing it clean with the same result. I've re-exported it from Develop with the same result.

My Developer machine and server machine are two different machines. My developer machine is running Postgres database with Servoy Developer 5.2.9. My server machine has Sybase at the database. Some of my lasest changes in this import include adding about 10 new fields in my database.

Any thoughts as to what would cause my database to continue shutting down every time on import?

thanks!
wgrayson
 
Posts: 24
Joined: Fri Nov 09, 2007 5:34 pm

Re: database shuts down when I import solution

Postby ROCLASI » Sat Jan 21, 2012 12:17 am

Hi,

Do you see anything in the Postgres logs ? Or in any of the system logs?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: database shuts down when I import solution

Postby wes.s.grayson » Mon Jan 23, 2012 5:40 pm

I don't see anything in the Postgres logs. All the servoy server logs just reference connection refused, which is a result of the problem (the database shutting down during import).
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: database shuts down when I import solution

Postby ROCLASI » Mon Jan 23, 2012 6:44 pm

What about the system/event logs?
Also can you log into PostgreSQL with a DBA tool and create new records manually? In any of the databases ?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: database shuts down when I import solution

Postby wes.s.grayson » Mon Jan 23, 2012 8:05 pm

From the server's event logs, here's the error message I get when I try to manually create a new column in my sybase database:

SQLANYs_ServoyDatabase: *** ERROR *** Assertion failed: 200608 (11.0.1.2331)
Freeing page not in arena
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm

Re: database shuts down when I import solution

Postby ROCLASI » Mon Jan 23, 2012 8:31 pm

AH! Now I read that your Dev machine uses Pg but the server uses Sybase. :oops:
So yes, I should have asked what's in the Sybase logs.

Anyway, it seems your database is in a weird state. Perhaps you need to rebuild your database by unloading it and then loading it into a new database file.
But I am not a Sybase expert so perhaps someone else can give you better advice.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: database shuts down when I import solution

Postby wes.s.grayson » Mon Jan 23, 2012 9:03 pm

thanks! I went back in and unloaded and loaded into a new file and now all is well. Much appreciated.
wes.s.grayson
 
Posts: 46
Joined: Mon Jan 23, 2012 5:39 pm


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 29 guests

cron