Unable to configure Jenkins Weblogic plugin

586 views
Skip to first unread message

pratyoosh sharma

unread,
Nov 27, 2013, 4:14:59 PM11/27/13
to jenkins...@googlegroups.com
I am trying to setup Jenkins Weblogic plugin on a Unix server, Jenkins is installed on the same server as Weblogic
I have configured the weblogic plugin in configuration, pointed it to the weblogic.jar & created a configuration xml & updated the path to it.

However when i try to setup deploy as a post build action, it fails with the error 
"Before using it, the plugin has to be configured.
Please do so from the system configuration."

Here is how the XML config looks like
<?xml version="1.0" encoding="UTF-8"?>
xsi:schemaLocation="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin plugin-configuration.xsd">
<weblogic-targets>
        <weblogic-target>
                <name>DEV_Weblogic<name>
                <host>localhost</host>
                <port>7001</port>
                <login>weblogic</login>
                <password>*******</password>
                <authMode>BY_LOGIN</authMode>
        </weblogic-target>
</weblogic-targets>
</config>

I am trying to find any logs that spits out the exact error details but the java.uti.logging logs don't have a trace of anything abnormal, where should i be looking to debug this issue? Appreciate some help :)

Pawan Soni

unread,
Nov 6, 2015, 2:04:53 AM11/6/15
to Jenkins Users
Hi pratyoosh sharma ,

Have u found any solution I am also facing same issue.
Message has been deleted

Marcos Queiroz

unread,
Jan 28, 2016, 3:21:50 PM1/28/16
to Jenkins Users
I chose the system option (defined in java.home) in jdk configuration and had returns below:

[WeblogicDeploymentPlugin] - Pay attention of Jdk version {selected version is 1.7.0_79} compatibility with Weblogic Deployer API (see Oracle documentation).
[WeblogicDeploymentPlugin] - The JDK /usr/java/jdk1.7.0_79/jre will be used.
[WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on null]...
[WeblogicDeploymentPlugin] - 3546 files found under workspace
java.lang.NullPointerException
	at java.util.regex.Pattern.<init>(Pattern.java:1336)
	at java.util.regex.Pattern.compile(Pattern.java:1022)
	at java.util.regex.Pattern.matches(Pattern.java:1128)
	at org.jenkinsci.plugins.deploy.weblogic.FreeStyleJobArtifactSelectorImpl.selectArtifactRecorded(FreeStyleJobArtifactSelectorImpl.java:70)

probably, lack the configuration for target server.
Reply all
Reply to author
Forward
0 new messages