Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Need help regarding Quick Build License #4032

Sharan ·

Hi Team,
We need your help regarding licensing. We have purchased Quick Build server version - quickbuild-2.1.48-windows-x86-32 some 10 years ago, recently we have planned to migrate it to Quick Build 4.0.92 version. After migrating successfully and when I have tried to do a build, received an error message saying "Current license is only eligible for versions released before 2010-10-12. Please re-generate the license by login to www.pmease.com with your service account if you've renewed the service recently; otherwise, you will need to renew the service to use this version.". Can you please let me know on what is the highest QB version which I can upgrade to so that there is no need to renew the license. Also what will be the Quote, if we have to renew the license.
Thanks,
Sharan

  • solved #5
  • replies 7
  • views 23
  • stars 5
robinshen ADMIN ·

Hi Sharan,

The maximum version you can upgrade is QB2.0 as QB2.1 is released after your service expiration date. Since your service has been expired for very long. A new site license will be necessary to reactivate your service. The quote can be generated online following instructions here:


(from online store, please specify quantity "1" for product "commercial site license")

Sharan ·

Hi Robinshen,
Thank you very much for your reply, our Team is looking for renewing the license. Meanwhile we have got an issue now after running Migrate script. Old QB server is not working and new QB server is in process of license renewal.
Could you please let us know on how to retain the old server now.

I have tried Migrate.bat from new version to old version, but it did not worked. Getting the following error :thumbsup:
jvm 1 | 2019-01-09 14:34:42,097 INFO - Starting framework...
jvm 1 | 2019-01-09 14:35:01,839 INFO - Starting QuickBuild server...
jvm 1 | 2019-01-09 14:35:01,841 INFO - Starting IOC container...
jvm 1 | 2019-01-09 14:35:03,236 INFO - Checking data version...
jvm 1 | 2019-01-09 14:35:03,646 ERROR - Error starting QuickBuild.
jvm 1 | com.pmease.quickbuild.QuickbuildException: Data version mismatch. Ple
ase follow instructions in the upgrade guide to upgrade the database.
jvm 1 | at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:
267)
jvm 1 | at com.pmease.quickbuild.Quickbuild.access$3(Quickbuild.java:237
)
jvm 1 | at com.pmease.quickbuild.Quickbuild$2.run(Quickbuild.java:159)
jvm 1 | at java.lang.Thread.run(Unknown Source)
jvm 1 | 2019-01-09 14:35:03,650 INFO - Stopping QuickBuild server...
jvm 1 | 2019-01-09 14:35:04,870 INFO - Stopping task scheduler...
jvm 1 | 2019-01-09 14:35:04,882 INFO - Cleaning up temp files...
jvm 1 | 2019-01-09 14:35:04,900 INFO - QuickBuild server stopped.
wrapper | <-- Wrapper Stopped
Please let us know on how get the previous state of the server

Sharan ·

Hi Robinshen,

It seems I have messed up both the versions of Quick build, need your help urgently. After doing restore and migrate commands couple of times Yesterday, QB 4.0 is also not working for us. We are getting the below error when we are trying to start the server :thumbsup:
jvm 1 | 2019-01-10 09:59:38,711 INFO - QuickBuild version table found. Catal
og: quickbuildGLTS, Schema: dbo, Name: QB_SETTING, Type: TABLE
jvm 1 | WrapperStartStopApp:
jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: j
ava.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetExceptio
n
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.
invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.
invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorI
mpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unkno
wn Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Boots
trap.boot(Bootstrap.java:571)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Boots
trap.main(Bootstrap.java:126)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.
invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.
invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorI
mpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unkno
wn Source)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperSta
rtStopApp.run(WrapperStartStopApp.java:264)
jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Unknown Source)
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: jav
a.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Boots
trapUtils.wrapAsUnchecked(BootstrapUtils.java:58)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.
EquinoxAdapter.startup(EquinoxAdapter.java:60)
jvm 1 | WrapperStartStopApp Error: ... 12 more

robinshen ADMIN ·

Do you have QB2 database backup before running the migrate script? If not, please check installation directory of QB4 to see if there is a backup taken by QB migration script. With that backup, you can restore the QB2 database by cleaning the database first (delete/create) and run "bin/restore.sh <path/to/backup.zip>" from QB2 directory.

If you can not find the QB2 backup, I can send you a temporal QB4 license so that your build process is not interrupted.

Sharan ·

Thanks for your reply Robinshen, after suggested by you I have tried to restore the data from the backup created by the QB4 migration script and now I am getting the below error. Except User table I have cleared all other table data and we are using JDK1.8.
Please help us to restore to QB 2

2019-01-10 11:35:38,347 WARN - SQL Error: 206, SQLState: 22005
2019-01-10 11:35:38,357 ERROR - Operand type clash: nvarchar is incompatible wi
h image
2019-01-10 11:35:38,381 ERROR - Could not synchronize database state with sessi
n
org.hibernate.exception.DataException: could not insert: [com.pmease.quickbuild
model.Configuration]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.
ava:77)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHel
er.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstra
tEntityPersister.java:2267)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstra
tEntityPersister.java:2660)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.j
va:56)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141

    at org.hibernate.event.def.AbstractFlushingEventListener.performExecuti

ns(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlu
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at com.pmease.quickbuild.entitymanager.impl.DefaultDataManager.importDa
a(DefaultDataManager.java:604)
at com.pmease.quickbuild.Quickbuild.importData(Quickbuild.java:616)
at com.pmease.quickbuild.bootstrap.Restore$1.execute(Restore.java:67)
at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:255)
at com.pmease.quickbuild.Quickbuild.access$3(Quickbuild.java:237)
at com.pmease.quickbuild.Quickbuild$2.run(Quickbuild.java:159)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: Operand type clash: nvarchar is incompatible
ith image
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.
ava:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631)
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement
java:584)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.jav
:546)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPr
paredStatement.java:505)
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.
ava:23)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstra
tEntityPersister.java:2247)
... 15 more
2019-01-10 11:35:38,680 INFO - Stopping QuickBuild server...
2019-01-10 11:35:38,688 INFO - Stopping task scheduler...
2019-01-10 11:35:38,697 INFO - Closing session factory...
2019-01-10 11:35:38,709 INFO - Cleaning up temp files...
2019-01-10 11:35:38,731 INFO - QuickBuild server stopped.
Exception in thread "main" org.hibernate.exception.DataException: could not ins
rt: [com.pmease.quickbuild.model.Configuration]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.
ava:77)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHel
er.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstra
tEntityPersister.java:2267)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstra
tEntityPersister.java:2660)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.j
va:56)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141

    at org.hibernate.event.def.AbstractFlushingEventListener.performExecuti

ns(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlu
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at com.pmease.quickbuild.entitymanager.impl.DefaultDataManager.importDa
a(DefaultDataManager.java:604)
at com.pmease.quickbuild.Quickbuild.importData(Quickbuild.java:616)
at com.pmease.quickbuild.bootstrap.Restore$1.execute(Restore.java:67)
at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:255)
at com.pmease.quickbuild.Quickbuild.access$3(Quickbuild.java:237)
at com.pmease.quickbuild.Quickbuild$2.run(Quickbuild.java:159)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: Operand type clash: nvarchar is incompatible
ith image
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.
ava:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631)
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement
java:584)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.jav
:546)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPr
paredStatement.java:505)
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.
ava:23)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstra
tEntityPersister.java:2247)
... 15 more
Press any key to continue . . .

robinshen ADMIN ·

Is it possible to send your database backup to [robin AT pmease DOT com]? I will test here to see what might be wrong.

Sharan ·

Hi Robin,

We have restored the database from the last successful point and QB 2 is working fine now. Thanks for your support.
Will get back to you once we start the POC and if there is any issues.

Thanks,
Sharan