Blackboard

Error in My Blackboard Settings

rated by 0 users
Not Answered This post has 0 verified answers | 9 Replies | 1 Follower

Top 25 Contributor
140 Posts
D posted on 28 Jan 2013 4:02 AM

We have and user who says they experience the following error when they select

 

System Admin>Tools and Utilities>My Blackboard Settings

 

Error:

Normal 0 false false false EN-US X-NONE X-NONE Could not initialize class blackboard.mybb.service.impl.MyBlackboardManagerImp

 

What would cause this?

D

All Replies

Top 25 Contributor
140 Posts

This is an extract of the service log:

 

 

2013-01-28 08:26:44 +0200 - BBRL: Unable to lock row for key <SingletonWithMaxTimeManager.server.registration.verificationurlchecker.task.lock> - blackboard.persist.PersistenceException: A database error occurred.
at blackboard.persist.impl.AbstractBaseDbPersister.runQuery(AbstractBaseDbPersister.java:177)
at blackboard.persist.impl.NewBaseDbPersister.doInsert(NewBaseDbPersister.java:136)
at blackboard.persist.impl.NewBaseDbPersister.doPersist(NewBaseDbPersister.java:85)
at blackboard.persist.registry.impl.SystemRegistryEntryDbPersisterImpl.persist(SystemRegistryEntryDbPersisterImpl.java:56)
at blackboard.persist.registry.impl.SystemRegistryEntryDbPersisterImpl.persist(SystemRegistryEntryDbPersisterImpl.java:46)
at com.blackboard.registration.util.SystemRegistryDAO.lockRow(SystemRegistryDAO.java:155)
at com.blackboard.registration.util.SingletonWithMaxTimeManager.doExecute(SingletonWithMaxTimeManager.java:41)
at com.blackboard.registration.util.SingletonWithMaxTimeManager.execute(SingletonWithMaxTimeManager.java:26)
at com.blackboard.registration.impl.VerificationUrlCheckerTask.runTask(VerificationUrlCheckerTask.java:62)
at blackboard.platform.impl.services.task.VISpecificTimerTask.run(VISpecificTimerTask.java:70)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (BBOQAA.SYSTEM_REGISTRY_AK) violated
ORA-06512: at "BBOQAA.SYSTEM_REGISTRY_CR", line 34
ORA-06512: at line 1

 

D

Top 10 Contributor
Male
7,792 Posts

Dhushan,

The error indicates a problem verifying and registering a unique URL for the server.  Was this server built from a copy of another server?  Have the cloud settings been configured with a unique server URL?

Mike

Top 25 Contributor
140 Posts

Hi Mike,

Not to my knowledge, I have a hunch that it has something to do with the DB.

 

Let me inquire and come back to you.

D

Top 25 Contributor
140 Posts

Hi Mike,

 

The cloud settings are all in order, below is an extract of the bb-services log.

 

 

2013-01-29 00:16:01 +0200 - An error occurred while setting oauth headers at https://api.cloud.bb/ping for site ID: acf0fa83-23c1-4c6e-bd0c-15e01a38cd27
2013-01-29 01:19:03 +0200 - Bundle failed to load correctly, not storing in cache: en_US:PLUGINS__43_1
2013-01-29 01:19:03 +0200 - Bundle failed to load correctly, not storing in cache: en_GB:product_update_center
2013-01-29 01:19:32 +0200 - Failed to run cache update. - blackboard.persist.PersistenceException: Error initialising Building Block Manager.
    at blackboard.platform.plugin.PlugInManager.reInit(PlugInManager.java:278)
    at blackboard.platform.plugin.impl.PlugInDbLoaderImpl.refreshCache(PlugInDbLoaderImpl.java:54)
    at blackboard.persist.CachingLoaderListener.refresh(CachingLoaderListener.java:58)
    at blackboard.persist.BbPersistenceManager.runSignalUpdate(BbPersistenceManager.java:650)
    at blackboard.persist.PersistenceCacheTask.updateCache(PersistenceCacheTask.java:75)
    at blackboard.persist.PersistenceCacheTask.run(PersistenceCacheTask.java:57)
    at blackboard.platform.impl.services.task.TaskManagerService$TimerTaskProxy.run(TaskManagerService.java:502)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: blackboard.base.InitializationException: Could not refresh VI cache.
    at blackboard.platform.plugin.PlugInManager.refreshCachedInfo(PlugInManager.java:260)
    at blackboard.platform.plugin.PlugInManager.reInit(PlugInManager.java:274)
    ... 8 more
Caused by: java.lang.IllegalArgumentException: Error processing manifest for plugin bb-software-updates-BBOQAA
    at blackboard.platform.plugin.PlugInManager.loadManifest(PlugInManager.java:1668)
    at blackboard.platform.plugin.PlugInManager.initPlugin(PlugInManager.java:961)
    at blackboard.platform.plugin.PlugInManager.initVICache(PlugInManager.java:909)
    at blackboard.platform.plugin.PlugInManager.refreshCachedInfo(PlugInManager.java:255)
    ... 9 more
Caused by: java.io.FileNotFoundException: /opt/bb9/blackboard/content/vi/BBOQAA/plugins/bb-software-updates/webapp/WEB-INF/bb-manifest.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:97)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:608)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:799)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:237)
    at blackboard.xml.NonValidatingDOMParser.parse(NonValidatingDOMParser.java:115)
    at blackboard.xml.XmlUtil.createDocFromFile(XmlUtil.java:818)
    at blackboard.platform.plugin.PlugInManager.loadManifest(PlugInManager.java:1658)
    ... 12 more
2013-01-29 01:54:39 +0200 - BBRL: Unable to lock row for key <SingletonWithMaxTimeManager.server.registration.task.lock> - blackboard.persist.PersistenceException: A database error occurred.
    at blackboard.persist.impl.AbstractBaseDbPersister.runQuery(AbstractBaseDbPersister.java:177)
    at blackboard.persist.impl.NewBaseDbPersister.doInsert(NewBaseDbPersister.java:136)
    at blackboard.persist.impl.NewBaseDbPersister.doPersist(NewBaseDbPersister.java:85)
    at blackboard.persist.registry.impl.SystemRegistryEntryDbPersisterImpl.persist(SystemRegistryEntryDbPersisterImpl.java:56)
    at blackboard.persist.registry.impl.SystemRegistryEntryDbPersisterImpl.persist(SystemRegistryEntryDbPersisterImpl.java:46)
    at com.blackboard.registration.util.SystemRegistryDAO.lockRow(SystemRegistryDAO.java:155)
    at com.blackboard.registration.util.SingletonWithMaxTimeManager.doExecute(SingletonWithMaxTimeManager.java:41)
    at com.blackboard.registration.util.SingletonWithMaxTimeManager.execute(SingletonWithMaxTimeManager.java:26)
    at com.blackboard.registration.impl.RegistrationTimerTask.runTask(RegistrationTimerTask.java:37)
    at blackboard.platform.impl.services.task.VISpecificTimerTask.run(VISpecificTimerTask.java:70)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (BBOQAA.SYSTEM_REGISTRY_AK) violated
ORA-06512: at "BBOQAA.SYSTEM_REGISTRY_CR", line 34
ORA-06512: at line 1

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:204)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1007)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3677)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4714)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    at blackboard.db.impl.MonitoringConnectionPoolImpl$SQLRecorder.execute(MonitoringConnectionPoolImpl.java:203)
    at blackboard.db.impl.MonitoringConnectionPoolImpl$MonitoringCallableStatement.execute(MonitoringConnectionPoolImpl.java:631)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    at blackboard.db.impl.SafetyNetCallableStatement.execute(SafetyNetCallableStatement.java:52)
    at blackboard.persist.impl.StoredProcedureQuery.doExecute(StoredProcedureQuery.java:365)
    at blackboard.persist.impl.GenericProcedureQuery.doExecute(GenericProcedureQuery.java:213)
    at blackboard.persist.impl.Query.executeQuery(Query.java:130)
    at blackboard.persist.impl.AbstractBaseDbPersister$DbConnectivityPrivilege.run(AbstractBaseDbPersister.java:253)
    at java.security.AccessController.doPrivileged(Native Method)
    at blackboard.persist.impl.AbstractBaseDbPersister.runQuery(AbstractBaseDbPersister.java:159)
    ... 11 more

 

D

Top 10 Contributor
Male
7,792 Posts

D,

It looks like there's still some conflict in the database records.  You'll probably want to open a ticket on that one.

Mike

Top 25 Contributor
140 Posts

Will do Mike,

 

Thanks

Not Ranked
2 Posts

Was there any resolution to this?  I'm new with blackboard plugins and need am finding a similar error in a building block that needs to be converted to sqlserver.  from my log file I have:

 

2013-07-17 09:08:25 -0400 - Failed to parse permissions - java.lang.NullPointerException

at blackboard.platform.plugin.SignedPluginPermissionValidator.isValidPermission(SignedPluginPermissionValidator.java:24)

at blackboard.platform.security.PermissionParser.buildPermissionObject(PermissionParser.java:420)

at blackboard.platform.security.PermissionParser.parsePermissions(PermissionParser.java:304)

at blackboard.platform.security.PermissionParser.parsePermissions(PermissionParser.java:222)

at blackboard.platform.security.PermissionParser.parsePermissions(PermissionParser.java:172)

at blackboard.platform.plugin.PlugInManager.buildPermissions(PlugInManager.java:1475)

at blackboard.platform.plugin.PlugInManager.initPlugin(PlugInManager.java:957)

Top 10 Contributor
Male
7,792 Posts

Alan,

That doesn't really look anything at all like the error Dhushan was describing, at least to me, and the situation seems to be rather different. 

Are you doing building block development?  If so, you'll want to ask about the building block permissions error over on the Blackboard developer's site, Edugarage (http://www.edugarage.com), or on the BB-OPEN_SRC listserv (http://lists.vcu.edu/cgi-bin/wa?A0=BB-OPEN_SRC), which is fairly active.

Mike

Not Ranked
2 Posts

Thanks for your help.  Yes, doing some changes to existing building blocks mainly.  The error looked different to me as well but I noticed it had an 'initPlugin' error,  which I  recognized.  I'll check the developers site and the lists.  

Page 1 of 1 (10 items) | RSS