#143 oracle , jt 2.2 , build fail

open
nobody
None
5
2010-09-23
2010-09-23
Anonymous
No

1 . Tune HB to Oracle (OracleDialect) by editing JtracConfigurer.java (ugly but i cant find howto set it by config file)
2 . mvn clean install :
Failed tests:
testUserInsertAndLoad(info.jtrac.JtracTest)
testUserSpaceRolesInsert(info.jtrac.JtracTest)
testStoreAndLoadUserWithAdminRole(info.jtrac.JtracTest)
testFindSpacesWhereGuestAllowed(info.jtrac.JtracTest)
testRenameSpaceRole(info.jtrac.JtracTest)
testLogicToFindNotUsersAndSpacesNotAllocated(info.jtrac.JtracTest)
testFindSuperUsers(info.jtrac.JtracTest)
testLoadSpaceRolesMapForUser(info.jtrac.JtracTest)

Tests in error:
testItemInsertAndCounts(info.jtrac.JtracTest)
testRemoveSpaceRoleDoesNotOrphanDatabaseRecord(info.jtrac.JtracTest)
testGetItemAsHtmlDoesNotThrowException(info.jtrac.JtracTest)
testDeleteItemThatHasRelatedItems(info.jtrac.JtracTest)
testDeletingUserDeletesItemUsersAlso(info.jtrac.JtracTest)

Have no idea whats wrong . DB schema was cand initial data (like Admin user) created with success.
Continue my investigatioin , but any helps are welcome.

ATTACHES:
file with output of `mnv install` (ddd)
Thank you

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-09-23

    output mvn install

     
  • Rafael Martínez

    It is possible that during mvn: clean, install try to create two times the records in the database.

    Try to execute
    1. mvn:clean.
    2. empty de database
    3. execute mvn:compile.

     
  • Manfred Wolff

    Manfred Wolff - 2010-09-23

    Try the oracle patch in
    /.../trunk/jtrac/src/main/resources

    Than make a
    mvn clean package

     
  • Manfred Wolff

    Manfred Wolff - 2010-09-23

    The config file $JTRAC_HOME (whereever it is, normally stored in user.home) called jtrac.properties. My configuration is:

    database.driver=oracle.jdbc.driver.OracleDriver
    database.url=jdbc:oracle:thin:jtrac/jtrac@[url]:1521:SID
    database.username=[your username]
    database.password=[your passwort]
    hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
    hibernate.show_sql=false

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-09-24

    oracle patch (fix column name) was applied from start;
    JTRAC_HOME is ./target dir (as I see), if so when I do `clean` there is no way set properties file , is it ?

    by the way , I see oracle db works good (after I follow your firs suggesstion);
    thank you !

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks