Hi everyone,

I'm receiving the warning below when I start jetspeed 2, and there are what appear to 
be related problems when I attempt to redeploy an application. 

[DEFAULT] WARN: [PlatformFactory] problems with platform 
org.apache.ojb.broker.platforms.PlatformMysqlDbImpl: 
org.apache.ojb.broker.platforms.PlatformMysqlDbImpl
[DEFAULT] WARN: [PlatformFactory] OJB will use PlatformDefaultImpl instead

When I attempt to redeploy an app (by dropping the war file in jetspeed's /deploy 
directory) I get messages to the effect that the key for that application already 
exists, etc.  The error is (and I think it's probably related to some transaction 
management that goes missing because I'm using PlatformDefaultImpl):

ERROR: Unable to register portlet application, InstantActivist, through the portlet 
registry: org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class 
org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl, PK of the given 
object is [ id=22], object was [EMAIL PROTECTED], exception message is [Invalid 
argument value: Duplicate entry 'InstantActivist' for key 2]
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while insert object 
data for class org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl, 
PK of the given object is [ id=22], object was [EMAIL PROTECTED], exception message is 
[Invalid argument value: Duplicate entry 'InstantActivist' for key 2]

and then:

[org.apache.ojb.broker.accesslayer.ConnectionManagerImpl] ERROR: Rollback on the 
underlying connection failed

So it seems pretty clear that I actually need to be using the PlatformMysqlDbImpl, but 
I'm not sure as to what the "problems" in the first warning actually are.  Has anyone 
seen this before and can you suggest  a fix?

TIA

Mike

Reply via email to