[Spacewalk-list] PSQLException Traceback

Steve Vargo stevevargo at hotmail.com
Mon May 3 15:06:32 UTC 2010


I installed postgresql-jdbc via yum 

Package postgresql-jdbc.i386 0:8.1.407-1jpp.4 set to be updated

and restarted spacewalk and I am still getting a Traceback every minute.



java.lang.NoClassDefFoundError:
org/postgresql/util/PSQLException

      at
com.redhat.rhn.common.db.NamedPreparedStatement.execute(NamedPreparedStatement.java:140)

      at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:454)

      at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:431)

      at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:335)

      at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:340)

      at
com.redhat.rhn.common.db.datasource.CachedStatement.execute(CachedStatement.java:280)

      at
com.redhat.rhn.common.db.datasource.SelectMode.execute(SelectMode.java:105)

      at
com.redhat.rhn.taskomatic.task.errata.ErrataQueueDriver.getCandidates(ErrataQueueDriver.java:58)

      at
com.redhat.rhn.taskomatic.task.threaded.TaskQueue.run(TaskQueue.java:106)

      at
com.redhat.rhn.taskomatic.task.ErrataQueue.execute(ErrataQueue.java:58)

      at
com.redhat.rhn.taskomatic.task.SingleThreadedTestableTask.execute(SingleThreadedTestableTask.java:54)

      at
org.quartz.core.JobRunShell.run(JobRunShell.java:203)

      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Caused by: java.lang.ClassNotFoundException:
org.postgresql.util.PSQLException

      at
java.net.URLClassLoader$1.run(URLClassLoader.java:217)

      at
java.security.AccessController.doPrivileged(Native Method)

      at
java.net.URLClassLoader.findClass(URLClassLoader.java:205)

      at
java.lang.ClassLoader.loadClass(ClassLoader.java:319)

      at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

      at
java.lang.ClassLoader.loadClass(ClassLoader.java:264)

      at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)

      ... 13 more

 




> Date: Mon, 3 May 2010 16:53:55 +0200
> From: msuchy at redhat.com
> To: spacewalk-list at redhat.com
> CC: stevevargo at hotmail.com
> Subject: Re: [Spacewalk-list] PSQLException Traceback
> 
> On 05/03/2010 04:39 PM, Steve Vargo wrote:
> > java.lang.NoClassDefFoundError: org/postgresql/util/PSQLException
> 
> This has been fixed in devel branch already.
> There is no problem with PgSQL, there is only bug in error handling 
> code. You hit some problem with SQL, you can either wait for Spacewalk 
> 1.1 or install package postgresql-jdbc which will make the error 
> handling code happy and you will get that original error.
> Complicated - I know. :)
> 
> -- 
> Miroslav Suchy
> Red Hat Satellite Engineering
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100503/f625cb57/attachment.htm>


More information about the Spacewalk-list mailing list