I just built latest trunk, and started servers and didn't see any exception like this... can you stop airavta-server script, and then delete directory AIRAVATA_HOME(directory that you extracted tar.gz)/standalone-server/bin/wsmg and start airavata-server.sh again.
Regards Lahiru On Fri, Feb 3, 2012 at 4:39 PM, Fan, Ye <[email protected]> wrote: > Hi, > > Yes, I found "apache-airavata-0.2-incubating-SNAPSHOT-bin.tar.gz" in > "airavata-trunk/modules/distribution/target". > > And FYI, after started jackrabbit-server and airavata-server, I > periodically see this exception in command line. So far, I haven't > interacted with service yet. > > 3602507 [Thread-4] ERROR > org.apache.airavata.wsmg.commons.storage.ConnectionPool - Cannot close a > connection while a transaction is still active. > java.sql.SQLException: Cannot close a connection while a transaction is > still active. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown > Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown > Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown > Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) > at > org.apache.derby.impl.jdbc.EmbedConnection.checkForTransactionInProgress(Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.close(Unknown Source) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.closeStaleConnections(ConnectionPool.java:244) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.access$200(ConnectionPool.java:40) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool$CleanUpThread.run(ConnectionPool.java:335) > at java.lang.Thread.run(Thread.java:619) > Caused by: java.sql.SQLException: Cannot close a connection while a > transaction is still active. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown > Source) > ... 11 more > 3630031 [Thread-14] INFO > org.apache.airavata.wsmg.commons.storage.JdbcStorage - Problem: 0 rows > affected by insert/update/delete statement. > > Thanks > Ye > > > On Feb 3, 2012, at 2:09 PM, Lahiru Gunathilake wrote: > > > Hi Ye, > > > > Please find the binary pack get created after a successful build in > > airavata/trunk/modules/distribution/target and follow the article with > the > > zip/tar.gz created. > > > > Lahiru > > > > On Fri, Feb 3, 2012 at 12:41 PM, Suresh Marru <[email protected]> wrote: > > > >> Hi Ye, > >> > >> Once your build is successful you will see a > >> apache-airavata-0.3-incubating-bin.zip (or tar.gz), once you untar it > you > >> will now see the binary environment the tutorials points to. We will > update > >> this in the document. The scripts within this binary should point to > right > >> paths. Let us know is you are still having problems with them. > >> > >> Suresh > >> > >> On Feb 3, 2012, at 12:27 PM, Fan, Ye wrote: > >> > >>> Marlon, > >>> > >>> Yes, I've already seen those documents. The thing is there is no > >> downloadable release version now. So I didn't see those scripts earlier. > >> Anyway, I found them in > >> "airavata-trunk/modules/distribution/src/main/resources/bin" now and > tried > >> to run it: > >>> "./airavata-server.sh: line 21: cd: > >> > /home/gridchem/airavata-trunk/modules/distribution/src/main/resources/standalone-server/bin: > >> No such file or directory > >>> ./airavata-server.sh: line 22: ./axis2server.sh: No such file or > >> directory" > >>> > >>> It looks like "$AIRAVATA_HOME" is not set correctly since I saw "cd > >> $AIRAVATA_HOME/standalone-server/bin" in airavata-server.sh. So, what > >> should it be in self-build situation? > >>> > >>> Suresh, > >>> > >>> I did clean install. > >>> > >>> Saminda, > >>> > >>> Will give it a try later. > >>> > >>> Thanks > >>> Ye > >>> > >>> > >>> On Feb 3, 2012, at 10:54 AM, Marlon Pierce wrote: > >>> > >>>> -----BEGIN PGP SIGNED MESSAGE----- > >>>> Hash: SHA1 > >>>> > >>>> Hi Ye, see > >> > http://incubator.apache.org/airavata/documentation/system/airavata-in-5-minutes.htmland > >> > http://incubator.apache.org/airavata/documentation/system/airavata-in-10-minutes.html > >>>> > >>>> > >>>> Marlon > >>>> > >>>> > >>>> On 2/3/12 11:51 AM, Fan, Ye wrote: > >>>>> The build without test passed. > >>>>> > >>>>> Can you please tell me what service I need to start to actually run a > >> workflow in XBaya? > >>>>> > >>>>> I have these folder in "modules". > >>>>> > >>>>> "commons distribution gfac-axis2 gfac-core test-suite > >> workflow-interpreter ws-messenger xbaya-gui" > >>>>> > >>>>> Thanks > >>>>> Ye > >>>>> > >>>>> On Feb 3, 2012, at 10:27 AM, Fan, Ye wrote: > >>>>> > >>>>>> Hi, > >>>>>> > >>>>>> I've update the code and tried to rebuild the code again. Still no > >> good. Will try to build without test. > >>>>>> > >>>>>> Error: > >>>>>> > >>>>>> ....... > >>>>>> ....... > >>>>>> Caused by: org.apache.jackrabbit.core.config.ConfigurationException: > >> Workspace directory already exists: default > >>>>>> at > >> > org.apache.jackrabbit.core.config.RepositoryConfig.internalCreateWorkspaceConfig(RepositoryConfig.java:732) > >>>>>> at > >> > org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:866) > >>>>>> at > >> > org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:594) > >>>>>> at > >> > org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:347) > >>>>>> at > >> > org.apache.jackrabbit.core.config.RepositoryConfig.install(RepositoryConfig.java:157) > >>>>>> at > >> > org.apache.jackrabbit.core.TransientRepository$3.getRepository(TransientRepository.java:250) > >>>>>> ... 36 more > >>>>>> java.lang.NullPointerException > >>>>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: > 0.218 > >> sec <<< FAILURE! > >>>>>> ....... > >>>>>> ....... > >>>>>> ....... > >>>>>> Tests run: 11, Failures: 3, Errors: 0, Skipped: 0 > >>>>>> > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] Reactor Summary: > >>>>>> [INFO] > >>>>>> [INFO] Airavata .......................................... SUCCESS > >> [7.628s] > >>>>>> [INFO] Airavata Commons .................................. SUCCESS > >> [0.116s] > >>>>>> [INFO] Airavata GFac Schema Utilities .................... SUCCESS > >> [31.148s] > >>>>>> [INFO] Airavata Common Utilities ......................... SUCCESS > >> [7.114s] > >>>>>> [INFO] Airavata Common Registry API ...................... SUCCESS > >> [6.834s] > >>>>>> [INFO] Airavata Registry API ............................. FAILURE > >> [21.393s] > >>>>>> [INFO] Airavata Workflow Execution Context ............... SKIPPED > >>>>>> [INFO] Airavata-WS-Messenger ............................. SKIPPED > >>>>>> [INFO] Messenger Commons ................................. SKIPPED > >>>>>> [INFO] Messenger Client .................................. SKIPPED > >>>>>> [INFO] Airavata Workflow Tracking ........................ SKIPPED > >>>>>> [INFO] GFac-Core ......................................... SKIPPED > >>>>>> [INFO] GFac-Axis2-Interface .............................. SKIPPED > >>>>>> [INFO] MessageBox ........................................ SKIPPED > >>>>>> [INFO] Message Broker .................................... SKIPPED > >>>>>> [INFO] distribution ...................................... SKIPPED > >>>>>> [INFO] Airavata XBaya .................................... SKIPPED > >>>>>> [INFO] Simple Math Service ............................... SKIPPED > >>>>>> [INFO] Complex Math Service .............................. SKIPPED > >>>>>> [INFO] Levenshtein Distance Service ...................... SKIPPED > >>>>>> [INFO] distribution ...................................... SKIPPED > >>>>>> [INFO] Test-Suite ........................................ SKIPPED > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] BUILD FAILURE > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [INFO] Total time: 1:16.010s > >>>>>> [INFO] Finished at: Fri Feb 03 16:10:08 EST 2012 > >>>>>> [INFO] Final Memory: 35M/85M > >>>>>> [INFO] > >> ------------------------------------------------------------------------ > >>>>>> [ERROR] Failed to execute goal > >> org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) > on > >> project registry-api: There are test failures. > >>>>>> [ERROR] > >>>>>> [ERROR] Please refer to > >> > /home/gridchem/airavata-trunk/modules/commons/registry-api/target/surefire-reports > >> for the individual test results. > >>>>>> > >>>>>> Thanks > >>>>>> Ye > >>>>>> > >>>>>> > >>>>>> On Feb 2, 2012, at 10:22 PM, Lahiru Gunathilake wrote: > >>>>>> > >>>>>>> Hi Ye, > >>>>>>> > >>>>>>> Just fixed the build error, please take svn up and build again, if > >> you > >>>>>>> have any further issues, please post in to the list.. > >>>>>>> > >>>>>>> Regards > >>>>>>> Lahiru > >>>>>>> > >>>>>>> On Thu, Feb 2, 2012 at 5:41 PM, Heshan Suriyaarachchi < > >>>>>>> [email protected]> wrote: > >>>>>>> > >>>>>>>> Hi Ye, > >>>>>>>> > >>>>>>>> You can skip the test and build using the following command. > >>>>>>>> mvn clean install -Dmaven.test.skip=true > >>>>>>>> > >>>>>>>> I came across this test failure now. We will have a look at it. In > >> the > >>>>>>>> meantime, if you need to try out a stable version you can have a > >> look at > >>>>>>>> the branch[1]. > >>>>>>>> > >>>>>>>> [1] - > >>>>>>>> > >>>>>>>> > >> > https://svn.apache.org/repos/asf/incubator/airavata/branches/0.2-incubating-SNAPSHOT > >>>>>>>> > >>>>>>>> On Thu, Feb 2, 2012 at 5:10 PM, Heshan Suriyaarachchi < > >>>>>>>> [email protected]> wrote: > >>>>>>>> > >>>>>>>>> Hi Ye, > >>>>>>>>> > >>>>>>>>> Thanks for your interest in Airavata. Can you have a look at the > >> logs in > >>>>>>>>> directory /home/gridchem/airavata-trunk/ > >>>>>>>>> modules/ws-messenger/messagebox/target/surefire-reports and see > >> what > >>>>>>>> tests > >>>>>>>>> are failing. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Thu, Feb 2, 2012 at 4:51 PM, Fan, Ye <[email protected]> > >> wrote: > >>>>>>>>> > >>>>>>>>>> Hi, > >>>>>>>>>> > >>>>>>>>>> I'm Ye Fan from NCSA at University of Illinois at > >> Urbana-Champaign. I'm > >>>>>>>>>> trying to get the Aivarata workflow suite running on > >>>>>>>>>> gw26.qurray.iu.teragrid.org. > >>>>>>>>>> > >>>>>>>>>> I've followed the instruction: > >>>>>>>>>> Check out the code from svn: "svn co > >>>>>>>>>> https://svn.apache.org/repos/asf/incubator/airavata/trunk/". > >>>>>>>>>> Make sure the java version is: 1.6.0_19. > >>>>>>>>>> Make sure the maven version is: "Apache Maven 3.0.4 (r1232337; > >>>>>>>> 2012-01-17 > >>>>>>>>>> 03:44:56-0500)". > >>>>>>>>>> > >>>>>>>>>> However, no matter I build with "mvn clean install" or "mvn > clean > >>>>>>>> install > >>>>>>>>>> -DskipTests", I get errors: > >>>>>>>>>> > >>>>>>>>>> [INFO] > >>>>>>>>>> > >> ------------------------------------------------------------------------ > >>>>>>>>>> [INFO] Reactor Summary: > >>>>>>>>>> [INFO] > >>>>>>>>>> [INFO] Airavata .......................................... > SUCCESS > >>>>>>>>>> [7.523s] > >>>>>>>>>> [INFO] Airavata Commons .................................. > SUCCESS > >>>>>>>>>> [0.102s] > >>>>>>>>>> [INFO] Airavata GFac Schema Utilities .................... > SUCCESS > >>>>>>>>>> [30.255s] > >>>>>>>>>> [INFO] Airavata Common Utilities ......................... > SUCCESS > >>>>>>>>>> [6.998s] > >>>>>>>>>> [INFO] Airavata Common Registry API ...................... > SUCCESS > >>>>>>>>>> [6.801s] > >>>>>>>>>> [INFO] Airavata Registry API ............................. > SUCCESS > >>>>>>>>>> [4:22.340s] > >>>>>>>>>> [INFO] Airavata Workflow Execution Context ............... > SUCCESS > >>>>>>>>>> [14.873s] > >>>>>>>>>> [INFO] Airavata-WS-Messenger ............................. > SUCCESS > >>>>>>>>>> [0.102s] > >>>>>>>>>> [INFO] Messenger Commons ................................. > SUCCESS > >>>>>>>>>> [10.284s] > >>>>>>>>>> [INFO] Messenger Client .................................. > SUCCESS > >>>>>>>>>> [10.984s] > >>>>>>>>>> [INFO] Airavata Workflow Tracking ........................ > SUCCESS > >>>>>>>>>> [23.850s] > >>>>>>>>>> [INFO] GFac-Core ......................................... > SUCCESS > >>>>>>>>>> [19.056s] > >>>>>>>>>> [INFO] GFac-Axis2-Interface .............................. > SUCCESS > >>>>>>>>>> [24.018s] > >>>>>>>>>> [INFO] MessageBox ........................................ > FAILURE > >>>>>>>>>> [1:14.598s] > >>>>>>>>>> [INFO] Message Broker .................................... > SKIPPED > >>>>>>>>>> [INFO] distribution ...................................... > SKIPPED > >>>>>>>>>> [INFO] Airavata XBaya .................................... > SKIPPED > >>>>>>>>>> [INFO] Simple Math Service ............................... > SKIPPED > >>>>>>>>>> [INFO] Complex Math Service .............................. > SKIPPED > >>>>>>>>>> [INFO] Levenshtein Distance Service ...................... > SKIPPED > >>>>>>>>>> [INFO] distribution ...................................... > SKIPPED > >>>>>>>>>> [INFO] Test-Suite ........................................ > SKIPPED > >>>>>>>>>> [INFO] > >>>>>>>>>> > >> ------------------------------------------------------------------------ > >>>>>>>>>> [INFO] BUILD FAILURE > >>>>>>>>>> [INFO] > >>>>>>>>>> > >> ------------------------------------------------------------------------ > >>>>>>>>>> [INFO] Total time: 8:13.569s > >>>>>>>>>> [INFO] Finished at: Thu Feb 02 21:43:55 EST 2012 > >>>>>>>>>> [INFO] Final Memory: 44M/151M > >>>>>>>>>> [INFO] > >>>>>>>>>> > >> ------------------------------------------------------------------------ > >>>>>>>>>> [ERROR] Failed to execute goal > >>>>>>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.10:test > >> (default-test) > >>>>>>>> on > >>>>>>>>>> project messagebox: There are test failures. > >>>>>>>>>> [ERROR] > >>>>>>>>>> [ERROR] Please refer to > >>>>>>>>>> > >>>>>>>> > >> > /home/gridchem/airavata-trunk/modules/ws-messenger/messagebox/target/surefire-reports > >>>>>>>>>> for the individual test results. > >>>>>>>>>> > >>>>>>>>>> Please help. > >>>>>>>>>> > >>>>>>>>>> Thanks > >>>>>>>>>> Ye > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> -- > >>>>>>>>> Regards, > >>>>>>>>> Heshan Suriyaarachchi > >>>>>>>>> > >>>>>>>>> http://heshans.blogspot.com/ > >>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> -- > >>>>>>>> Regards, > >>>>>>>> Heshan Suriyaarachchi > >>>>>>>> > >>>>>>>> http://heshans.blogspot.com/ > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -- > >>>>>>> System Analyst Programmer > >>>>>>> PTI Lab > >>>>>>> Indiana University > >>>>>> > >>>>> > >>>> -----BEGIN PGP SIGNATURE----- > >>>> Version: GnuPG/MacGPG2 v2.0.16 (Darwin) > >>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > >>>> > >>>> iQEcBAEBAgAGBQJPLBFjAAoJEEfVXEODPFIDqmkH/1ttJkzfangKGjzVr3gzg8Ym > >>>> 9hYkd6ksO/8FwX9XM22LOibSqc8bNJoECzwSuYWi8sioAhhEk6vKFlDTqtesjhQd > >>>> V1H57eRaGRUPen9vaJDQ6OnNK1f2UPwzAmPSrQ3sOzg6n99xGfi/RW1B26fch0IF > >>>> CHuxuY/SIn4/9takwsyyzntOyjl8aX4r1HutQYWACK9kEvy2e4+4lGiMQ2W4AEYU > >>>> BOxcFPfnEdHCZprBM1Iu7W81n1GjNzWTFgCcL8+RQ40lPX7qQ+H3kzqRG5rj5Q+Z > >>>> 3+dP7Xam/5nBXHRHFz7XPLBi+5h2c0caFxGDLf6XxLp1C4imvn+3EIH1Jmf7Ygg= > >>>> =jSHp > >>>> -----END PGP SIGNATURE----- > >>>> > >>> > >> > >> > >> -----BEGIN PGP SIGNATURE----- > >> > >> iQIcBAEBAgAGBQJPLBw8AAoJEHmz9P1hfdut+0MP/36sDIp2wU7KV/xEUwvxW/Ai > >> lLyKhYDVYadGdblCYJnz42uY4U7d0RCrgtrragiLk6ZLGRWv9W6mnXadFxLM878g > >> yqvIjRaWouE1b+45GLDVcmQRP1Xi76Ow1DgrtFdVron8K+szfEaG3G4fRcI31n7n > >> kKvuDNL+walPXwSwpJXzs5DWb5o7f3U7fs3puizaRm5Bv+1tKnDYM8iIw7jb70WT > >> ht2sEFM0cmIVWw9+tIGl/NCT7zWB8RZCLbaYtu5iX381muBNCcrgKCb2LazEHSI2 > >> OxkZF5u+o1yDB55peTEy77MLV4LlGHLpy5tR/3HmXeaZYL6XVWaJqmaA6za1TD5+ > >> 701gkxykeg0Kl7jiHeIZtrJtKupmPR8ST5g3KF69Q51NREwj31KvJlvMIuUDJhIb > >> 7SSnto7ZisoqC9vTNgEybZlI+zoX0Z6teJZSqYStJcTYddaY0XZBhYvWMUuB4i9j > >> I37YxNB8H3ju0IwI2FIlvIdL807xbzW9iazyg5kgceu0R9ynYHroKHDlBef9Sxc+ > >> 30vLExNorJrcARluSgfUO+eGM/78AiAJPeZB+yuYV8qzO8im1vQkhZMNFINVnzsh > >> FGLFBuFggCAppYPibhQh8NXRn+7vnQdRZPahq7mT0l+AtRuRz+9p/fiPf95pVXI3 > >> Mnlv269bm3sbuDabQPEq > >> =gDNC > >> -----END PGP SIGNATURE----- > >> > >> > > > > > > -- > > System Analyst Programmer > > PTI Lab > > Indiana University > > -- System Analyst Programmer PTI Lab Indiana University
