[udig-devel] [jira] Created: (UDIG-1380) Problem i whit PostGIS when building from souce

Harry Bullen (JIRA) jira at codehaus.org
Mon Mar 24 11:29:58 PDT 2008


Problem i whit PostGIS when building from souce
-----------------------------------------------

                 Key: UDIG-1380
                 URL: http://jira.codehaus.org/browse/UDIG-1380
             Project: uDIG
          Issue Type: Bug
          Components: build, postgis
    Affects Versions: UDIG 1.1-RC14, UDIG 1.1-RC13, UDIG 1.1.0
         Environment: XP JRE 1.6 
            Reporter: Harry Bullen
            Assignee: Richard Gould
            Priority: Minor


While the postgis database connection works in the released released version of udig it dose not work on from when using the branch from svn.  When you open up uDig go to import > data > postgreSQL
Then enter the information from the refractions demo server.
sever: www.refractions.net
user: demo
pass: demo
database: demo-bc

You might have to paste in the name of the database  because of a different bug that is sorta fixed on the current branch of 1.1.x.
Anyways this works fine on a release of uDig but fails when being done from the source code, even the source code used to make the release.  I have tested this with RC13 & 14 and the corresponding tags in svn.  I think it is a library issue but I don't know.

When the failure occurs this is the error that shows up on the eclipse console:

org.geotools.data.DataSourceException: Error querying database for list of tables:Connection has been closed automatically because a new connection was opened for the same PooledConnection or the PooledConnection has been closed.
	at org.geotools.data.postgis.PostgisDataStore.getTypeNames(PostgisDataStore.java:336)
	at net.refractions.udig.catalog.internal.postgis.PostGISServiceImpl.resources(PostGISServiceImpl.java:140)
	at net.refractions.udig.catalog.ui.workflow.EndConnectionState.run(EndConnectionState.java:135)
	at net.refractions.udig.catalog.ui.workflow.Workflow.next(Workflow.java:271)
	at net.refractions.udig.catalog.internal.ui.CatalogImportDelegateWizard$1.run(CatalogImportDelegateWizard.java:52)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.postgresql.util.PSQLException: Connection has been closed automatically because a new connection was opened for the same PooledConnection or the PooledConnection has been closed.
	at org.postgresql.ds.common.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:305)
	at $Proxy7.getMetaData(Unknown Source)
	at org.geotools.data.postgis.PostgisDataStore.getTypeNames(PostgisDataStore.java:315)
	... 5 more


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the udig-devel mailing list