0 Replies Latest reply on Jan 23, 2007 7:43 AM by ambika

    Failures/Errors while runing Testsuite on HPUX platform

    ambika

      Hi,
      Following testcases are failing when i run a testsuite on HPUX. ant tests is what i have run.

      1) org.jboss.test.cmp2.commerce
      2) org.jboss.test.cmp2.optimisticlock.test
      3) org.jboss.test.cmp2.perf.test
      4) org.jboss.test.cmp2.relationship
      5) org.jboss.test.cmp2.simple
      6) org.jboss.test.jmx.test
      7) org.jboss.test.security.test
      8) org.jboss.test.testbyvalue.test
      9) org.jboss.test.util.test

      Details are :
      1) org.jboss.test.cmp2.commerce.CompleteUnitTestCase(JACC+SecurityMgr)
      2) org.jboss.test.cmp2.relationship.RelationshipUnitTestCase(JACC+SecurityMgr)
      3) org.jboss.test.cmp2.simple.SimpleUnitTestCase(JACC+SecurityMgr)
      4) org.jboss.test.cmp2.commerce.CompleteUnitTestCase(JACC+SecurityMgr)
      have same error message log.
      Status : error
      access denied (java.lang.RuntimePermission getClassLoader)

      java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
      at java.security.AccessController.checkPermission(AccessController.java:401)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:528)
      at java.lang.Class.getClassLoader(Class.java:523)

      5) org.jboss.test.cmp2.optimisticlock.test.OptimisticLockUnitTestCase

      error checking if entity exists:java.sql.SQLException: Column not found: OIDCMP in statement [SELECT COUNT(*) FROM ENTITYA WHERE OIDCMP=?]

      javax.ejb.CreateException: Error checking if entity exists:java.sql.SQLException: Column not found: OIDCMP in statement [SELECT COUNT(*) FROM ENTITYA WHERE OIDCMP=?]
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand.beforeInsert(JDBCInsertPKCreateCommand.java:105)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:150)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:587)
      at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:237)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:225)
      at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:625)



      How to resolve these error?

      Thanks and Regards,
      Ambika