Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Hudson Starteam plugin fails after switching from http to https config(Starteam plugin problem?)
Hudson Starteam plugin fails after switching from http to https config [message #1746370] Thu, 27 October 2016 16:06 Go to next message
gil zapatka is currently offline gil zapatkaFriend
Messages: 5
Registered: October 2016
Junior Member
I've been forced to switch from http to https for Hudson.
i modified the hudson.xml file to use httpsPort=8443.
I can get to the Hudson UI and now when i run a build, i get this error.
Builds have been working fine with this project until this configuration change.

FATAL: Could not initialize class com.borland.starteam.impl.util.Platform
java.lang.NoClassDefFoundError: Could not initialize class com.borland.starteam.impl.util.Platform
at com.borland.starteam.impl.ClientContext.<init>(Unknown Source)
at com.borland.starteam.impl.Server.<init>(Unknown Source)
at com.starbase.starteam.Server.<init>(Unknown Source)
at hudson.plugins.starteam.StarTeamConnection.initialize(StarTeamConnection.java:165)
at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:130)
at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:34)
at hudson.FilePath.act(FilePath.java:793)
at hudson.FilePath.act(FilePath.java:775)
at hudson.plugins.starteam.StarTeamSCM.checkout(StarTeamSCM.java:130)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1550)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:607)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:518)
at hudson.model.Run.run(Run.java:1493)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:82)
at hudson.model.Executor.run(Executor.java:137)
Re: Hudson Starteam plugin fails after switching from http to https config [message #1746375 is a reply to message #1746370] Thu, 27 October 2016 17:48 Go to previous messageGo to next message
gil zapatka is currently offline gil zapatkaFriend
Messages: 5
Registered: October 2016
Junior Member
rebooted my windowsserver 2012 and tried again.
this time i get

Started by user anonymous
FATAL: null
java.lang.ExceptionInInitializerError
at com.borland.starteam.impl.ClientContext.<init>(Unknown Source)
at com.borland.starteam.impl.Server.<init>(Unknown Source)
at com.starbase.starteam.Server.<init>(Unknown Source)
at hudson.plugins.starteam.StarTeamConnection.initialize(StarTeamConnection.java:165)
at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:130)
at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:34)
at hudson.FilePath.act(FilePath.java:793)
at hudson.FilePath.act(FilePath.java:775)
at hudson.plugins.starteam.StarTeamSCM.checkout(StarTeamSCM.java:130)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1550)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:607)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:518)
at hudson.model.Run.run(Run.java:1493)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:82)
at hudson.model.Executor.run(Executor.java:137)
Caused by: com.borland.starteam.impl.SDKRuntimeException: The native library "Borland.StarTeam.FileAccess02.dll" was not found. Please verify that the StarTeam SDK is properly installed.
at com.borland.starteam.impl.util.NativeFileAccess.init(Unknown Source)
at com.borland.starteam.impl.util.NativeFileAccess.<init>(Unknown Source)
at com.borland.starteam.impl.util.Platform.<clinit>(Unknown Source)
... 16 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib\Borland.StarTeam.FileAccess02.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
... 19 more
Re: Hudson Starteam plugin fails after switching from http to https config [message #1746376 is a reply to message #1746375] Thu, 27 October 2016 17:53 Go to previous message
gil zapatka is currently offline gil zapatkaFriend
Messages: 5
Registered: October 2016
Junior Member
i realized previous update error messages were due to running build as 'anonymous' user.

logged in to Hudson with my admin user

and get error message:

FATAL: Could not initialize class com.borland.starteam.impl.util.Platform
java.lang.NoClassDefFoundError: Could not initialize class com.borland.starteam.impl.util.Platform
at com.borland.starteam.impl.ClientContext.<init>(Unknown Source)
at com.borland.starteam.impl.Server.<init>(Unknown Source)
at com.starbase.starteam.Server.<init>(Unknown Source)
at hudson.plugins.starteam.StarTeamConnection.initialize(StarTeamConnection.java:165)
at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:130)
at hudson.plugins.starteam.StarTeamCheckoutActor.invoke(StarTeamCheckoutActor.java:34)
at hudson.FilePath.act(FilePath.java:793)
at hudson.FilePath.act(FilePath.java:775)
at hudson.plugins.starteam.StarTeamSCM.checkout(StarTeamSCM.java:130)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1550)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:607)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:518)
at hudson.model.Run.run(Run.java:1493)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:82)
at hudson.model.Executor.run(Executor.java:137)
Previous Topic:Hudson Git Job Calling Hg Status
Next Topic:Configure HTTPS on Hudson?
Goto Forum:
  


Current Time: Tue Sep 26 03:57:06 GMT 2017

Powered by FUDForum. Page generated in 0.09499 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software