Upgrade XL Deploy from 8.5.0 to 8.6.1

#1

Hello everyone,
I tried to upgrade my XL Deploy to newest one (from 8.5.0 to 8.6.1) going through this link:

But my server can’t run properly:

2019-05-21 13:35:43.898 [main] {} INFO com.xebialabs.plugin.Xlp$ - Initializing xl plugins with extension .xldp in folders /usr/share/XL8.6/xl-deploy-8.6.1-server/hotfix/plugins,/usr/share/XL8.6/xl-deploy-8.6.1-server/plugins

2019-05-21 13:35:48.619 [main] {} INFO c.x.d.p.j.u.JbossArchivesDriverService - Registering ‘sar’, ‘rar’, ‘har’ and ‘aop’ as archives available for placeholder replacement.

2019-05-21 13:35:48.630 [main] {} INFO c.x.d.p.j.t.JbossArchivesDriverService - Registering ‘sar’, ‘rar’, ‘har’ and ‘aop’ as archives available for placeholder replacement.

2019-05-21 13:35:48.667 [main] {} INFO c.x.deployit.DeployitBootstrapper - XL Deploy version 8.6.1 (built at 19-03-26 04:40:45)

2019-05-21 13:35:48.669 [main] {} INFO c.x.deployit.DeployitBootstrapper - © 2008-2019 XebiaLabs

2019-05-21 13:35:48.669 [main] {} INFO c.x.deployit.DeployitBootstrapper - Starting up Jython engine (might take a while)…

2019-05-21 13:35:51.901 [main] {} INFO c.x.deployit.DeployitBootstrapper - Jython engine loaded [2.7.1]

2019-05-21 13:35:51.906 [main] {} INFO c.x.deployit.DeployitBootstrapper - Starting server…

2019-05-21 13:35:52.395 [main] {} INFO org.eclipse.jetty.util.log - Logging initialized @9744ms to org.eclipse.jetty.util.log.Slf4jLog

2019-05-21 13:35:52.460 [main] {} INFO com.xebialabs.deployit.Server - Connector listen no-secure on 0.0.0.0:4516

2019-05-21 13:35:55.726 [main] {} INFO c.x.d.booter.local.DelegateRegistry - Registering delegates.

2019-05-21 13:35:55.760 [main] {} INFO c.x.d.b.local.TypeSystemBootstrapper - Initializing type system.

2019-05-21 13:35:56.828 [main] {} ERROR c.x.d.booter.local.LocalBooter - Quitting, could not boot plugins:

java.lang.IllegalStateException: Trying to register duplicate definition for type [sql.SqlScripts]. Existing: [SyntheticBasedTypeDefinition[sql.SqlScripts]], duplicate: [SyntheticBasedTypeDefinition[sql.SqlScripts]]

at com.xebialabs.overthere.util.OverthereUtils.checkState(OverthereUtils.java:247)

at com.xebialabs.deployit.booter.local.TypeDefinitions.addTypeDef(TypeDefinitions.java:35)

at com.xebialabs.deployit.booter.local.TypeDefinitions.defineType(TypeDefinitions.java:41)

at com.xebialabs.deployit.booter.local.TypeSystemBootstrapper.parseAllTypeDefinitions(TypeSystemBootstrapper.java:86)

at com.xebialabs.deployit.booter.local.TypeSystemBootstrapper.scanSynthetics(TypeSystemBootstrapper.java:71)

at com.xebialabs.deployit.booter.local.TypeSystemBootstrapper.bootstrap(TypeSystemBootstrapper.java:40)

at com.xebialabs.deployit.booter.local.LocalBooter.boot(LocalBooter.java:96)

at com.xebialabs.deployit.booter.local.LocalBooter.boot(LocalBooter.java:31)

at com.xebialabs.deployit.Server.bootPlugins(Server.java:273)

at com.xebialabs.deployit.Server.<init>(Server.java:128)

at com.xebialabs.deployit.Server.<init>(Server.java:114)

at com.xebialabs.deployit.Server.start(Server.java:109)

at com.xebialabs.deployit.DeployitBootstrapper.startServer(DeployitBootstrapper.java:185)

at com.xebialabs.deployit.DeployitBootstrapper.start(DeployitBootstrapper.java:145)

at com.xebialabs.deployit.DeployitBootstrapper.main(DeployitBootstrapper.java:106)

2019-05-21 13:35:56.829 [main] {} ERROR c.x.deployit.DeployitBootstrapper - Fatal error starting server

2019-05-21 13:35:56.829 [main] {} ERROR c.x.deployit.DeployitBootstrapper - Trying to register duplicate definition for type [sql.SqlScripts]. Existing: [SyntheticBasedTypeDefinition[sql.SqlScripts]], duplicate: [SyntheticBasedTypeDefinition[sql.SqlScripts]]

Any suggestions?

#2

Hello Jakub,

Thank you for posting here, usually Trying to register duplicate definition during an upgrade means there are two versions of the same plugin installed . in your case it may be the database plugin.

If plugins are not duplicate then may be sql.SqlScripts is defined twice in ext/synthetic.xml.

So i would recommend check listing of plugins , lib and hotfix as well as contents of ext/synthetic.xml to identify from where duplication is coming.

Regards,
Ibrahim

1 Like
#3

Plugins were duplicated. I removed it and it worked, Thanks!

#4

Great, i am happy that issue is resolved now … please do not hesitate to post any questions here.

Regards,
Ibrahim