-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Weblogic-deployer plugin; Jenkins2.190.1, open JDK8, weblogic 12.2.1.4.0, wlfulclient.jar file
Hi , I want to install a ear file generated from jenkins to weblogic, both on different machines, but when the installation runs an error is generated.
java.lang.RuntimeException: task completed abnormally (exit code = 1). Check your Weblogic Deployment logs.
could you please help me!
Jenkins Console Output:
Running as SYSTEM [EnvInject] - Loading node environment variables. Building on master in workspace /var/lib/jenkins/workspace/TTS_Test_Deployjob [WeblogicDeploymentPlugin] - Loading JDK 'system' ... [WeblogicDeploymentPlugin] - Checking if JDK 'system' exists on node (Master) ... [WeblogicDeploymentPlugin] - The JDK /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre will be used. [WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on (.*)tts.ear(.*)]... [WeblogicDeploymentPlugin] - 1 files found under directory /var/lib/jenkins/workspace/TTS_Test_Buildjob/deploy [WeblogicDeploymentPlugin] - the following resource recorded /var/lib/jenkins/workspace/TTS_Test_Buildjob/deploy/tts.ear is eligible. [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=WLS_TQT) (host=akrsrv781) (port=9007) [WeblogicDeploymentPlugin] - Executing task ... java.lang.RuntimeException: task completed abnormally (exit code = 1). Check your Weblogic Deployment logs. at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.customize(DeploymentTaskServiceImpl.java:344) at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:182) at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:303) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1840) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) ERROR: [WeblogicDeploymentPlugin] - Failed to deploy. Check your Weblogic deployment logs. [INFO] ------------------------------------------------------------------------ [INFO] DEPLOYMENT FAILURE [INFO] ------------------------------------------------------------------------ Finished: SUCCESS
WebLogic Deployment Log:**
------------------------------------ TASK EXECUTION ------------------------------------------------ weblogic.Deployer invoked with options: -adminurl https://akrsrv781:7002 -user sanju -deploy -source var/lib/jenkins/workspace/TTS_Test_Buildjob/deploy/tts.ear -targets WLS_TST -plan /var/lib/jenkins/local_config/weblogic_deployments/weblogic_targets.xml -verbose -debug -upload [WebLogicDeploymentManagerImpl.<init>():115] : Constructing DeploymentManager for J2EE version V1_4 deployments [WebLogicDeploymentManagerImpl.getNewConnection():158] : Connecting to admin server at akrsrv781:7002, as user lda5835 [ServerConnectionImpl.getEnvironment():286] : setting environment [ServerConnectionImpl.getEnvironment():289] : getting context using https://akrsrv781:7002 java.lang.ClassNotFoundException: com.rsa.jsafe.JSAFE_InvalidUseException at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at weblogic.security.SSL.SSLClientInfo.getSSLSocketFactory(SSLClientInfo.java:101) at weblogic.socket.ChannelSSLSocketFactory.getSocketFactory(ChannelSSLSocketFactory.java:185) at weblogic.socket.ChannelSSLSocketFactory.createSocket(ChannelSSLSocketFactory.java:77) at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:289) at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:363) at weblogic.net.http.HttpsClient.New(HttpsClient.java:518) at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239) at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:398) at weblogic.rjvm.http.HTTPClientJVMConnection.connect(HTTPClientJVMConnection.java:173) at weblogic.rjvm.http.HTTPSClientConnectionFactory.createConnection(HTTPSClientConnectionFactory.java:30) at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1792) at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321) at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260) at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238) at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200) at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165) at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340) at weblogic.jndi.Environment.getContext(Environment.java:315) at weblogic.jndi.Environment.getContext(Environment.java:285) at weblogic.jndi.Environment.createInitialContext(Environment.java:208) at weblogic.jndi.Environment.getInitialContext(Environment.java:192) at weblogic.jndi.Environment.getInitialContext(Environment.java:170) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:160) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130) at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86) at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496) at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297) at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137) at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.Deployer.run(Deployer.java:70) at weblogic.Deployer.main(Deployer.java:54) javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260009]Exception caught for class 'weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl' while attempting to create DeploymentManager: java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_InvalidUseException at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:142) at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86) at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496) at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297) at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137) at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.Deployer.run(Deployer.java:70) at weblogic.Deployer.main(Deployer.java:54) Caused by: java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_InvalidUseException at weblogic.security.SSL.SSLClientInfo.getSSLSocketFactory(SSLClientInfo.java:101) at weblogic.socket.ChannelSSLSocketFactory.getSocketFactory(ChannelSSLSocketFactory.java:185) at weblogic.socket.ChannelSSLSocketFactory.createSocket(ChannelSSLSocketFactory.java:77) at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:289) at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:363) at weblogic.net.http.HttpsClient.New(HttpsClient.java:518) at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239) at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:398) at weblogic.rjvm.http.HTTPClientJVMConnection.connect(HTTPClientJVMConnection.java:173) at weblogic.rjvm.http.HTTPSClientConnectionFactory.createConnection(HTTPSClientConnectionFactory.java:30) at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1792) at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321) at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260) at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238) at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200) at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165) at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340) at weblogic.jndi.Environment.getContext(Environment.java:315) at weblogic.jndi.Environment.getContext(Environment.java:285) at weblogic.jndi.Environment.createInitialContext(Environment.java:208) at weblogic.jndi.Environment.getInitialContext(Environment.java:192) at weblogic.jndi.Environment.getInitialContext(Environment.java:170) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:160) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130) ... 9 more Caused by: java.lang.ClassNotFoundException: com.rsa.jsafe.JSAFE_InvalidUseException at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 43 more weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'https://akrsrv781:7002': com.rsa.jsafe.JSAFE_InvalidUseException. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server. at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:316) at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137) at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.Deployer.run(Deployer.java:70) at weblogic.Deployer.main(Deployer.java:54) Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260009]Exception caught for class 'weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl' while attempting to create DeploymentManager: java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_InvalidUseException at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:142) at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86) at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496) at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297) ... 6 more Caused by: java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_InvalidUseException at weblogic.security.SSL.SSLClientInfo.getSSLSocketFactory(SSLClientInfo.java:101) at weblogic.socket.ChannelSSLSocketFactory.getSocketFactory(ChannelSSLSocketFactory.java:185) at weblogic.socket.ChannelSSLSocketFactory.createSocket(ChannelSSLSocketFactory.java:77) at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:289) at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:363) at weblogic.net.http.HttpsClient.New(HttpsClient.java:518) at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239) at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:398) at weblogic.rjvm.http.HTTPClientJVMConnection.connect(HTTPClientJVMConnection.java:173) at weblogic.rjvm.http.HTTPSClientConnectionFactory.createConnection(HTTPSClientConnectionFactory.java:30) at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1792) at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443) at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321) at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260) at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197) at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238) at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200) at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165) at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340) at weblogic.jndi.Environment.getContext(Environment.java:315) at weblogic.jndi.Environment.getContext(Environment.java:285) at weblogic.jndi.Environment.createInitialContext(Environment.java:208) at weblogic.jndi.Environment.getInitialContext(Environment.java:192) at weblogic.jndi.Environment.getInitialContext(Environment.java:170) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300) at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:160) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130) ... 9 more Caused by: java.lang.ClassNotFoundException: com.rsa.jsafe.JSAFE_InvalidUseException at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 43 more