Re: [Spacewalk-devel] PXT pages

2010-06-30 Thread Jan Pazdziora
On Thu, Jul 01, 2010 at 12:33:12PM +0800, Colin Coe wrote:
> 
> I was looking at adding a tab under Systems for migrating between orgs
> but it looks like these are still PXT pages.  Is this correct?

Which "these"? Under Systems menu, everything directly there except
System Set Manager seems to be .do. Of course, under that things may
be .pxt still -- System Groups are a good example.

If you are writing new application, you probably should do it in Java.
If you just plan to add an existing .pxt application to better place
in the menu structure, just do it.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


[Spacewalk-devel] PXT pages

2010-06-30 Thread Colin Coe
Hi all

I was looking at adding a tab under Systems for migrating between orgs
but it looks like these are still PXT pages.  Is this correct?
https://fedorahosted.org/spacewalk/wiki/RemainingPxtPages indicates
that it is but the page is a bit old so I thought I'd check.

CC

-- 
RHCE#805007969328369

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


[Spacewalk-devel] Removed F10 and F11 from miroslav.suchy.cz

2010-06-30 Thread Miroslav Suchý
I removed nightly build of F10 (obsolete for some time) and F11 (we stop 
build for it recently). To be precise I removed dirs:

 nightly-candidate-f10
 nightly-candidate-f11
 nightly-candidate-client/f10
 nightly-candidate-client/f11

I will remove EL5 and F12 in 2 weeks as official repo is
 http://koji.spacewalkproject.org/spacewalk/split/
for some time.
--
Miroslav Suchy
Red Hat Satellite Engineering

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] org.postgresql.util.PSQLException: Bad value for type long while SatelliteCertificate.lookupNewestCertificate

2010-06-30 Thread Jan Pazdziora
On Wed, Jun 30, 2010 at 11:11:16AM +0200, Jan Pazdziora wrote:
> 
> FYI, setting the certBlob to lazy

[...]

> did not help.

But dropping it completely

diff --git 
a/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.xml 
b/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.
index 1989496..83b09cf 100644
--- a/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.xml
+++ b/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.xml
@@ -9,7 +9,6 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
 protected
 
 
-
 
 
 

got me over to the "Create Spacewalk Administrator" page. Of course,
we need some better solution for blob handling.

But at least we know that the issue is indeed where it seems to be.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] org.postgresql.util.PSQLException: Bad value for type long while SatelliteCertificate.lookupNewestCertificate

2010-06-30 Thread Jan Pazdziora
On Tue, Jun 29, 2010 at 02:47:07PM +0200, Jan Pazdziora wrote:
> 
> Hello,
> 
> when I try to access the /rhn/Login.do page of my PostgreSQL-backended
> Spacewalk, I get the following traceback:
> 
> 2010-06-29 11:16:41,052 [TP-Processor3] ERROR 
> org.hibernate.util.JDBCExceptionReporter - Bad value for type long :  version="1.0" encoding="UTF-8"?>\012 ... 
> 2010-06-29 11:16:41,056 [TP-Processor3] WARN  
> org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class 
> com.redhat.rhn.common.hibernate.HibernateRuntimeException
> 2010-06-29 11:16:41,074 [TP-Processor3] ERROR 
> com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. 
> Rolling back
> javax.servlet.ServletException: 
> com.redhat.rhn.common.hibernate.HibernateRuntimeException: Executing query 
> SatelliteCertificate.lookupNewestCertificate with params null failed
>   at 
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

[...]

> Caused by: org.postgresql.util.PSQLException: Bad value for type long :  version="1.0" encoding="UTF-8"?>\012 ...  /rhn-cert>
>   at 
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.toLong(AbstractJdbc2ResultSet.java:2796)
>   at 
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getLong(AbstractJdbc2ResultSet.java:2019)
>   at 
> org.postgresql.jdbc3g.Jdbc3gResultSet.getBlob(Jdbc3gResultSet.java:52)
>   at 
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getBlob(AbstractJdbc2ResultSet.java:335)

FYI, setting the certBlob to lazy

diff --git 
a/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.xml 
b/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.
index 4363d48..1989496 100644
--- a/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.xml
+++ b/java/code/src/com/redhat/rhn/domain/satellite/SatelliteCertificate.hbm.xml
@@ -9,7 +9,7 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
 protected
 
 
-
+
 
 
 


did not help.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel