EAR application deploy in Local Weblogic

52 views
Skip to first unread message

Mauro Fiorin Jr

unread,
Jun 23, 2016, 12:35:49 PM6/23/16
to Puppet Users
I'm trying to deploy an EAR on a existing domain: /servers/Oracle/Middleware/user_projects/domains/MyApp

I have Weblogic Server configured and running correctly on my station.


  dtp_referencia::util::download_artifact { 'myappejbear':
    gav          => $gav,
    packaging    => $packaging,
    local_source => $local_source,
    classifier   => $classifier,
    nexus_url    => $nexus_url,
    repository   => $repository,
    owner        => $owner,
    group        => $group,
  } 
...
  wls_setting { 'default':
    user              => 'root',
    weblogic_home_dir => "/servers/Oracle/Middleware/wlserver_12.1",
    connect_url       => "t3://127.0.0.1:7001",
    weblogic_user     => "weblogic",
    weblogic_password => "weblogic00",
  } -> 
  
  wls_deployment { "myappejb:
    ensure         => 'present',
    deploymenttype => 'AppDeployment',
    target         => ['AdminServer'],
    targettype     => ['Server'],
    localpath      => "/var/install/myeappejb.ear",
  }

My console errors:

log-puppet-local  | Error: Could not prefetch wls_deployment provider 'simple': end of file reached
log-puppet-local  | Error: Could not set 'present' on ensure: Broken pipe at 138:/puppet/workspace/myapp/manifests/deploy/negocio.pp
log-puppet-local  | Error: Could not set 'present' on ensure: Broken pipe at 138:/puppet/workspace/myapp/manifests/deploy/negocio.pp
log-puppet-local  | Wrapped exception:
log-puppet-local  | Broken pipe
log-puppet-local  | Error: /Stage[main]/Inss_sirc::Deploy::Negocio/Wls_deployment[sircejb.ear]/ensure: change from absent to present failed: Could not set 'present' on ensure: Broken pipe at 138:/puppet/workspace/myapp/manifests/deploy/negocio.pp

Any ideas?

bert hajee

unread,
Jul 1, 2016, 7:50:16 AM7/1/16
to Puppet Users
When you apply the manifest with --debug, you get more information what is happening.
Reply all
Reply to author
Forward
0 new messages