java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /etc/puppetlabs/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem Missing: /etc/puppetlabs/puppet/ssl/certs/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem

JIRA | Nathaniel Smith | 9 months ago
  1. 0

    Repro steps: * make a vm with 2gb ram * install puppetserver normally (2.3.0 or lower) * attempt to start puppet server; it will not start because the RAM is too low for the default jvm heap size * add RAM to the vm * attempt to start puppet server; it will fail with: Exception in thread "main" java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /etc/puppetlabs/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem Missing: /etc/puppetlabs/puppet/ssl/certs/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem at puppetlabs.puppetserver.certificate_authority$eval13894$partial_state_error__13895$fn__13896.invoke(certificate_authority.clj:282) at puppetlabs.puppetserver.certificate_authority$eval13894$partial_state_error__13895.invoke(certificate_authority.clj:267) at puppetlabs.puppetserver.certificate_authority$eval14352$initialize_master_ssl_BANG___14353$fn__14354.invoke(certificate_authority.clj:650) at puppetlabs.puppetserver.certificate_authority$eval14352$initialize_master_ssl_BANG___14353.invoke(certificate_authority.clj:634) at puppetlabs.services.ca.certificate_authority_service$reify__19476$service_fnk__4369__auto___positional$reify__19487.initialize_master_ssl_BANG_(certificate_authority_service.clj:62) at puppetlabs.services.protocols.ca$eval19425$fn__19439$G__19417__19443.invoke(ca.clj:3) at puppetlabs.services.protocols.ca$eval19425$fn__19439$G__19416__19448.invoke(ca.clj:3) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.invoke(RestFn.java:421) at puppetlabs.services.master.master_service$reify__16375$service_fnk__4369__auto___positional$reify__16392.init(master_service.clj:39)

    JIRA | 9 months ago | Nathaniel Smith
    java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /etc/puppetlabs/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem Missing: /etc/puppetlabs/puppet/ssl/certs/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem
  2. 0

    Fresh install of puppetserver breaks on startup (after fixing SERVER-445): {code} 015-03-12 15:36:59,577 INFO [p.t.s.w.jetty9-core] Removing buggy security provider SunPKCS11-NSS version 1.7 2015-03-12 15:37:05,478 INFO [p.s.j.jruby-puppet-service] Initializing the JRuby service 2015-03-12 15:37:05,496 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2015-03-12 15:37:29,939 WARN [puppet-server] Puppet Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') 2015-03-12 15:37:29,953 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-03-12 15:37:32,142 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 1 of 3 2015-03-12 15:37:32,157 INFO [p.s.c.puppet-server-config-core] Initializing webserver settings from core Puppet 2015-03-12 15:37:42,773 WARN [puppet-server] Puppet Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') 2015-03-12 15:37:42,797 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-03-12 15:37:45,731 INFO [p.s.c.certificate-authority-service] CA Service adding a ring handler 2015-03-12 15:37:45,752 WARN [o.e.j.s.h.ContextHandler] Empty contextPath 2015-03-12 15:37:45,796 INFO [p.s.p.puppet-admin-service] Starting Puppet Admin web app 2015-03-12 15:37:45,919 ERROR [p.t.internal] Error during service init!!! java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /var/lib/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.pem Missing: /var/lib/puppet/ssl/certs/vagrant-ubuntu-trusty-64.pem at puppetlabs.puppetserver.certificate_authority$eval10120$partial_state_error__10121$fn__10122.invoke(certificate_authority.clj:213) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10120$partial_state_error__10121.invoke(certificate_authority.clj:198) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588$fn__10591.invoke(certificate_authority.clj:583) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588.invoke(certificate_authority.clj:564) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588$fn__10589.invoke(certificate_authority.clj:569) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588.invoke(certificate_authority.clj:564) ~[na:na] at puppetlabs.services.ca.certificate_authority_service$reify__14918$service_fnk__5259__auto___positional$reify__14927.initialize_master_ssl_BANG_(certificate_authority_service.clj:29) ~[na:na] at puppetlabs.services.protocols.ca$eval14880$fn__14881$G__14872__14885.invoke(ca.clj:3) ~[na:na] at puppetlabs.services.protocols.ca$eval14880$fn__14881$G__14871__14890.invoke(ca.clj:3) ~[na:na] at clojure.lang.AFn.applyToHelper(AFn.java:167) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:151) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:619) [puppet-server-release.jar:na] at clojure.core$partial$fn__4190.doInvoke(core.clj:2396) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:421) [puppet-server-release.jar:na] at puppetlabs.services.master.master_service$reify__11458$service_fnk__5259__auto___positional$reify__11471.init(master_service.clj:23) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5122$G__5087__5125.invoke(services.clj:12) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5122$G__5086__5129.invoke(services.clj:12) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fn_BANG_.invoke(internal.clj:145) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fns.invoke(internal.clj:173) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_$reify__5953.init(internal.clj:437) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5965.invoke(internal.clj:463) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:462) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:427) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:172) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:532) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:617) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:427) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:172) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:532) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:617) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:335) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:440) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:435) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:185) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:532) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] 2015-03-12 15:37:45,938 INFO [p.t.internal] Beginning shutdown sequence 2015-03-12 15:37:45,971 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-03-12 15:37:45,996 INFO [p.t.internal] Finished shutdown sequence 2015-03-12 15:37:46,678 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 2 of 3 2015-03-12 15:37:52,527 WARN [puppet-server] Puppet Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') 2015-03-12 15:37:52,546 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-03-12 15:37:53,602 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 3 of 3 {code} {{/var/lib/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.pem}} exists from the VM's creation as well. Curious, I attempted the following below: {code} root@vagrant-ubuntu-trusty-64:/var/lib/puppet/ssl# puppet cert generate vagrant-ubuntu-trusty-64 Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') Notice: vagrant-ubuntu-trusty-64 has a waiting certificate request Notice: Signed certificate request for vagrant-ubuntu-trusty-64 Notice: Removing file Puppet::SSL::CertificateRequest vagrant-ubuntu-trusty-64 at '/var/lib/puppet/ssl/ca/requests/vagrant-ubuntu-trusty-64.pem' Notice: Removing file Puppet::SSL::CertificateRequest vagrant-ubuntu-trusty-64 at '/var/lib/puppet/ssl/certificate_requests/vagrant-ubuntu-trusty-64.pem' {code} After doing this the server starts successfully. Not too sure if this is the domain of the package or even puppetserver, but it may be prudent to ensure that the host's certificate exists before startup, or just ensure that it is probably documented that the master needs a valid cert in the CA to start up correctly.

    JIRA | 2 years ago | Chris Marchesi
    java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /var/lib/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.pem Missing: /var/lib/puppet/ssl/certs/vagrant-ubuntu-trusty-64.pem
  3. 0

    Fresh install of puppetserver breaks on startup (after fixing SERVER-445): {code} 015-03-12 15:36:59,577 INFO [p.t.s.w.jetty9-core] Removing buggy security provider SunPKCS11-NSS version 1.7 2015-03-12 15:37:05,478 INFO [p.s.j.jruby-puppet-service] Initializing the JRuby service 2015-03-12 15:37:05,496 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2015-03-12 15:37:29,939 WARN [puppet-server] Puppet Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') 2015-03-12 15:37:29,953 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-03-12 15:37:32,142 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 1 of 3 2015-03-12 15:37:32,157 INFO [p.s.c.puppet-server-config-core] Initializing webserver settings from core Puppet 2015-03-12 15:37:42,773 WARN [puppet-server] Puppet Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') 2015-03-12 15:37:42,797 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-03-12 15:37:45,731 INFO [p.s.c.certificate-authority-service] CA Service adding a ring handler 2015-03-12 15:37:45,752 WARN [o.e.j.s.h.ContextHandler] Empty contextPath 2015-03-12 15:37:45,796 INFO [p.s.p.puppet-admin-service] Starting Puppet Admin web app 2015-03-12 15:37:45,919 ERROR [p.t.internal] Error during service init!!! java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /var/lib/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.pem Missing: /var/lib/puppet/ssl/certs/vagrant-ubuntu-trusty-64.pem at puppetlabs.puppetserver.certificate_authority$eval10120$partial_state_error__10121$fn__10122.invoke(certificate_authority.clj:213) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10120$partial_state_error__10121.invoke(certificate_authority.clj:198) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588$fn__10591.invoke(certificate_authority.clj:583) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588.invoke(certificate_authority.clj:564) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588$fn__10589.invoke(certificate_authority.clj:569) ~[na:na] at puppetlabs.puppetserver.certificate_authority$eval10587$initialize_master_ssl_BANG___10588.invoke(certificate_authority.clj:564) ~[na:na] at puppetlabs.services.ca.certificate_authority_service$reify__14918$service_fnk__5259__auto___positional$reify__14927.initialize_master_ssl_BANG_(certificate_authority_service.clj:29) ~[na:na] at puppetlabs.services.protocols.ca$eval14880$fn__14881$G__14872__14885.invoke(ca.clj:3) ~[na:na] at puppetlabs.services.protocols.ca$eval14880$fn__14881$G__14871__14890.invoke(ca.clj:3) ~[na:na] at clojure.lang.AFn.applyToHelper(AFn.java:167) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:151) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:619) [puppet-server-release.jar:na] at clojure.core$partial$fn__4190.doInvoke(core.clj:2396) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:421) [puppet-server-release.jar:na] at puppetlabs.services.master.master_service$reify__11458$service_fnk__5259__auto___positional$reify__11471.init(master_service.clj:23) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5122$G__5087__5125.invoke(services.clj:12) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5122$G__5086__5129.invoke(services.clj:12) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fn_BANG_.invoke(internal.clj:145) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fns.invoke(internal.clj:173) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_$reify__5953.init(internal.clj:437) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5965.invoke(internal.clj:463) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:462) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:427) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:172) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:532) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:617) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:427) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:172) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:532) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:617) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:335) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:440) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:435) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:185) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:532) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] 2015-03-12 15:37:45,938 INFO [p.t.internal] Beginning shutdown sequence 2015-03-12 15:37:45,971 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-03-12 15:37:45,996 INFO [p.t.internal] Finished shutdown sequence 2015-03-12 15:37:46,678 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 2 of 3 2015-03-12 15:37:52,527 WARN [puppet-server] Puppet Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') 2015-03-12 15:37:52,546 INFO [puppet-server] Puppet Puppet settings initialized; run mode: master 2015-03-12 15:37:53,602 INFO [p.s.j.jruby-puppet-agents] Finished creating JRubyPuppet instance 3 of 3 {code} {{/var/lib/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.pem}} exists from the VM's creation as well. Curious, I attempted the following below: {code} root@vagrant-ubuntu-trusty-64:/var/lib/puppet/ssl# puppet cert generate vagrant-ubuntu-trusty-64 Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') Notice: vagrant-ubuntu-trusty-64 has a waiting certificate request Notice: Signed certificate request for vagrant-ubuntu-trusty-64 Notice: Removing file Puppet::SSL::CertificateRequest vagrant-ubuntu-trusty-64 at '/var/lib/puppet/ssl/ca/requests/vagrant-ubuntu-trusty-64.pem' Notice: Removing file Puppet::SSL::CertificateRequest vagrant-ubuntu-trusty-64 at '/var/lib/puppet/ssl/certificate_requests/vagrant-ubuntu-trusty-64.pem' {code} After doing this the server starts successfully. Not too sure if this is the domain of the package or even puppetserver, but it may be prudent to ensure that the host's certificate exists before startup, or just ensure that it is probably documented that the master needs a valid cert in the CA to start up correctly.

    JIRA | 2 years ago | Chris Marchesi
    java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none. Found: /var/lib/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.pem Missing: /var/lib/puppet/ssl/certs/vagrant-ubuntu-trusty-64.pem
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Suppress Augeas Exceptions

    https://bugzilla.redhat.com/bugzilla/ | 7 years ago | Heiko W. Rupp
    java.lang.Exception: Discovery component invocation failed.
  6. 0

    TomEE Users - EAR IN TOMEE

    nabble.com | 11 months ago
    java.lang.IllegalStateException: Could not find beans for >>>>> Type=class >>>>> >> > com.grupokx.globalconfig.ejb.impl.EJBTest and qualifiers:[] >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider.getContextualReference(BeanManagerProvider.java:172) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> com.grupokx.mailing.controlador.inicio.LoginWebMBean.myPostConstruct(LoginWebMBean.java:40) >>>>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>> >> > at java.lang.reflect.Method.invoke(Method.java:601) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.intercept.InvocationContextImpl.proceedCommonAnnots(InvocationContextImpl.java:381) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.intercept.InvocationContextImpl.proceed(InvocationContextImpl.java:185) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.component.AbstractInjectionTargetBean.postConstructDefault(AbstractInjectionTargetBean.java:259) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.component.AbstractInjectionTargetBean.postConstruct(AbstractInjectionTargetBean.java:237) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.portable.creation.InjectionTargetProducer.postConstruct(InjectionTargetProducer.java:122) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.component.InjectionTargetWrapper.postConstruct(InjectionTargetWrapper.java:87) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:182) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.container.SerializableBean.create(SerializableBean.java:119) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.createNewInstanceOfBean(CodiUtils.java:69) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.AbstractConversationBeanEntry.createNewBeanInstance(AbstractConversationBeanEntry.java:139) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.AbstractConversationBeanEntry.getBeanInstance(AbstractConversationBeanEntry.java:84) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.AbstractGroupedConversationContext.create(AbstractGroupedConversationContext.java:100) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.ConversationContextAdapter.get(ConversationContextAdapter.java:81) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.context.CustomContextImpl.get(CustomContextImpl.java:43) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.context.CustomPassivatingContextImpl.get(CustomPassivatingContextImpl.java:42) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:154) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:114) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:108) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> com.grupokx.mailing.controlador.inicio.LoginWebMBean_$$_javassist_27.getUsuario(LoginWebMBean_$$_javassist_27.java) >>>>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>> >> > at java.lang.reflect.Method.invoke(Method.java:601) >>>>> >> > at javax.el.BeanELResolver.getValue(BeanELResolver.java:64) >>>>> >> > at >>>>> javax.el.CompositeELResolver.getValue(CompositeELResolver.java:58) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179) >>>>> >> > at org.apache.el.parser.AstValue.getValue(AstValue.java:183) >>>>> >> > at >>>>> >> >>>>> org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.webbeans.el.WrappedValueExpression.getValue(WrappedValueExpression.java:68) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96) >>>>> >> > at >>>>> >> >>>>> javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:249) >>>>> >> > at javax.faces.component.UIOutput.getValue(UIOutput.java:67) >>>>> >> > at javax.faces.component.UIInput.getValue(UIInput.java:151) >>>>> >> > at >>>>> >> > >>>>> >> >>>>> org.primefaces.util.ComponentUtils.getValueToRender(ComponentUtils.java:61) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.primefaces.component.inputtext.InputTextRenderer.encodeMarkup(InputTextRenderer.java:77) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.primefaces.component.inputtext.InputTextRenderer.encodeEnd(InputTextRenderer.java:51) >>>>> >> > at >>>>> >> > >>>>> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:663) >>>>> >> > at >>>>> >> >>>>> org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:62) >>>>> >> > at >>>>> >> > >>>>> >> >>>>> org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:46) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.primefaces.component.dialog.DialogRenderer.encodeContent(DialogRenderer.java:165) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.primefaces.component.dialog.DialogRenderer.encodeMarkup(DialogRenderer.java:94) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.primefaces.component.dialog.DialogRenderer.encodeEnd(DialogRenderer.java:42) >>>>> >> > at >>>>> >> > >>>>> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:663) >>>>> >> > at >>>>> >> > >>>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:543) >>>>> >> > at >>>>> >> > >>>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) >>>>> >> > at >>>>> >> > >>>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) >>>>> >> > at >>>>> >> > >>>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116) >>>>> >> > at >>>>> >> > >>>>> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.render(CodiLifecycleWrapper.java:126) >>>>> >> > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>>>> >> > at >>>>> org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>>>> >> > at >>>>> >> > >>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>>>> >> > at >>>>> >> > >>>>> >> >>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >>>>> >> > at >>>>> >> > >>>>> >> > >>>>> >> >>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >>>>> >> > at java.lang.Thread.run(Thread.java:722) >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > 2012/12/7 Romain Manni-Bucau < > >>>>> >> > >>>>> >> > > ear sounds fine >>>>> >> > > >>>>> >> > > you can deploy your ejb deps in tomee lib + deploy your ejb as >>>>> jar too >>>>> >> > > (in apps/ for instance) then deploy your webapps >>>>> >> > > >>>>> >> > > depends a lot of your goal and the lifecycle of each parts >>>>> >> > > >>>>> >> > > Romain Manni-Bucau >>>>> >> > > Twitter: @rmannibucau >>>>> >> > > Blog: >>>>> >> > > LinkedIn: >>>>> >> > > Github: >>>>> >> > > >>>>> >> > > >>>>> >> > > >>>>> >> > > 2012/12/7 José Luis Cetina < >: >>>>> >> > > > Hi i have a question, i always use war files for my webapp, >>>>> inside of >>>>> >> > > them >>>>> >> > > > i have ejbs,entities,classes etc, but now i need to separate >>>>> my >>>>> >> EJB's, >>>>> >> > > and >>>>> >> > > > then i am trying to use ear file for this, but honestly i am >>>>> not sure >>>>> >> > if >>>>> >> > > > this is correct. >>>>> >> > > > >>>>> >> > > > I have 3 different webapps (they are package as wars) and i >>>>> need each >>>>> >> > of >>>>> >> > > > them can call EJB's methods, but i want to have my EJB in >>>>> separate >>>>> >> > > "module" >>>>> >> > > > what can i do? Do i have to package my EJB in an EAR? All of >>>>> this in >>>>> >> > the >>>>> >> > > > same server (same jvm). >>>>> >> > > > >>>>> >> > > > Can you give some adivce? >>>>> >> > > > >>>>> >> > > > Im using TomEE 1.5.1-SNAPSHOT >>>>> >> > > > >>>>> >> > > > Thanks. >>>>> >> > > > >>>>> >> > > > >>>>> >> > > > 2012/12/7 Romain Manni-Bucau < > >>>>> >> > > > >>>>> >> > > >> Hi, >>>>> >> > > >> >>>>> >> > > >> ear shouldn't be extracted in webapps (David added the >>>>> needed conf >>>>> >> to >>>>> >> > > >> avoid it i think, @David: can you confirm please?) >>>>> >> > > >> >>>>> >> > > >> otherwise apps should work adding <Deployment dir="apps" /> >>>>> to >>>>> >> > tomee.xml >>>>> >> > > >> >>>>> >> > > >> Romain Manni-Bucau >>>>> >> > > >> Twitter: @rmannibucau >>>>> >> > > >> Blog: >>>>> >> > > >> LinkedIn: >>>>> >> > > >> Github: >>>>> >> > > >> >>>>> >> > > >> >>>>> >> > > >> >>>>> >> > > >> 2012/12/7 José Luis Cetina < >: >>>>> >> > > >> > I remember i readed time ago some troubles about TomEE >>>>> with ear >>>>> >> > files. >>>>> >> > > >> > >>>>> >> > > >> > >>>>> >> > > >> > Im trying to do a test, deploying an ear file that >>>>> contains a >>>>> >> single >>>>> >> > > EJB >>>>> >> > > >> > without war. >>>>> >> > > >> > >>>>> >> > > >> > I only drop my ear into webapps folder >>>>> >> > > >> > >>>>> >> > > >> > >>>>> >> > > >> > >>>>> >> > > >> > What can be happend? >>>>> >> > > >> > >>>>> >> > > >> > >>>>> >> > > >> > INFO: ------------------------- >>>>> >> > > >> > TomcatWebAppBuilder.init /testing-ear-1.0-SNAPSHOT >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM org.apache.openejb.util.OptionsLog >>>>> info >>>>> >> > > >> > INFO: Using >>>>> >> 'openejb.deployments.classpath.filter.systemapps=false' >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM org.apache.openejb.util.OptionsLog >>>>> info >>>>> >> > > >> > INFO: Using >>>>> >> > > >> > >>>>> >> > > >>>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM org.apache.openejb.util.OptionsLog >>>>> info >>>>> >> > > >> > INFO: Using >>>>> >> > > >> > >>>>> >> > > >>>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> org.apache.openejb.config.DeploymentLoader >>>>> >> > > >> > discoverModuleType >>>>> >> > > >> > INFO: type for >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> '/home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/lib' >>>>> >> > > >> > was not found, defaulting to WebModule >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM org.apache.openejb.util.OptionsLog >>>>> info >>>>> >> > > >> > INFO: Using >>>>> >> > > >> > >>>>> >> > > >>>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM org.apache.openejb.util.OptionsLog >>>>> info >>>>> >> > > >> > INFO: Using >>>>> >> > > >> > >>>>> >> > > >>>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > org.apache.openejb.config.ConfigurationFactory >>>>> >> > > >> > configureApplication >>>>> >> > > >> > INFO: Configuring enterprise application: >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> /home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/webapps/testing-ear-1.0-SNAPSHOT >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> org.apache.openejb.config.InitEjbDeployments >>>>> >> > > >> deploy >>>>> >> > > >> > INFO: Auto-deploying ejb EJBTest: >>>>> >> > EjbDeployment(deployment-id=EJBTest) >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> org.apache.openejb.config.AutoConfig >>>>> >> deploy >>>>> >> > > >> > INFO: Configuring PersistenceUnit(name=kx_globalconifg, >>>>> >> > > >> > >>>>> provider=org.apache.openjpa.persistence.PersistenceProviderImpl) >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> org.apache.openejb.config.AutoConfig >>>>> >> > > >> > setNonJtaDataSource >>>>> >> > > >> > INFO: Adjusting PersistenceUnit kx_globalconifg >>>>> >> > <non-jta-data-source> >>>>> >> > > to >>>>> >> > > >> > Resource ID 'GlobalConfigDataSourceNonJta' from 'null' >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > > >> > >>>>> >> > >>>>> org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties >>>>> >> > > >> apply >>>>> >> > > >> > WARNING: Removing PersistenceUnit(name=kx_globalconifg) >>>>> property >>>>> >> > > >> > openjpa.ConnectionPassword=${db.password}  [not valid in a >>>>> >> container >>>>> >> > > >> > environment] >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > > >> > >>>>> >> > >>>>> org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties >>>>> >> > > >> apply >>>>> >> > > >> > WARNING: Removing PersistenceUnit(name=kx_globalconifg) >>>>> property >>>>> >> > > >> > openjpa.ConnectionDriverName=${db.driver.class}  [not >>>>> valid in a >>>>> >> > > >> container >>>>> >> > > >> > environment] >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > > >> > >>>>> >> > >>>>> org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties >>>>> >> > > >> apply >>>>> >> > > >> > WARNING: Removing PersistenceUnit(name=kx_globalconifg) >>>>> property >>>>> >> > > >> > openjpa.ConnectionUserName=${db.username}  [not valid in a >>>>> >> container >>>>> >> > > >> > environment] >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > > >> > >>>>> >> > >>>>> org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties >>>>> >> > > >> apply >>>>> >> > > >> > WARNING: Removing PersistenceUnit(name=kx_globalconifg) >>>>> property >>>>> >> > > >> > openjpa.ConnectionURL=${db.url}  [not valid in a container >>>>> >> > > environment] >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> org.apache.openejb.config.AppInfoBuilder >>>>> >> > build >>>>> >> > > >> > INFO: Enterprise application >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> "/home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/webapps/testing-ear-1.0-SNAPSHOT" >>>>> >> > > >> > loaded. >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > org.apache.openejb.assembler.classic.Assembler >>>>> >> > > >> > createApplication >>>>> >> > > >> > INFO: Assembling app: >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> /home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/webapps/testing-ear-1.0-SNAPSHOT >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > org.apache.openejb.assembler.classic.Assembler >>>>> >> > > >> > createApplication >>>>> >> > > >> > SEVERE: Application cannot be deployed as it contains >>>>> >> deployment-ids >>>>> >> > > >> which >>>>> >> > > >> > are in use: app: >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> /home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/webapps/testing-ear-1.0-SNAPSHOT >>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>>> >> > org.apache.tomee.catalina.TomcatWebAppBuilder >>>>> >> > > >> > startInternal >>>>> >> > > >> > SEVERE: Unable to deploy collapsed ear in war >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testing-ear-1.0-SNAPSHOT] >>>>> >> > > >> > org.apache.openejb.DuplicateDeploymentIdException: >>>>> Application >>>>> >> > cannot >>>>> >> > > be >>>>> >> > > >> > deployed as it contains deployment-ids which are in use: >>>>> app: >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> /home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/webapps/testing-ear-1.0-SNAPSHOT >>>>> >> > > >> >     EJBTest >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:567) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:533) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:970) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:889) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:118) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) >>>>> >> > > >> > at >>>>> >> > > >>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >>>>> >> > > >> > at >>>>> >> > > >> >>>>> >> > >>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >>>>> >> > > >> > at >>>>> >> > > >>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114) >>>>> >> > > >> > at >>>>> >> > > >> > >>>>> >> > > >> >>>>> >> > > >>>>> >> > >>>>> >> >>>>> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673) >>>>> >> > > >> > at >>>>> >> > > >> >>>>> >> > >>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >>>>> >> > > >> > at >>>>> >> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >>>>> >> > > >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot initialize master with partial state; need all files or none. Found: /etc/puppetlabs/puppet/ssl/private_keys/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem Missing: /etc/puppetlabs/puppet/ssl/certs/vagrant-ubuntu-trusty-64.vpn.puppetlabs.net.pem

      at puppetlabs.puppetserver.certificate_authority$eval13894$partial_state_error__13895$fn__13896.invoke()
    2. puppetlabs.puppetserver
      certificate_authority$eval14352$initialize_master_ssl_BANG___14353.invoke
      1. puppetlabs.puppetserver.certificate_authority$eval13894$partial_state_error__13895$fn__13896.invoke(certificate_authority.clj:282)
      2. puppetlabs.puppetserver.certificate_authority$eval13894$partial_state_error__13895.invoke(certificate_authority.clj:267)
      3. puppetlabs.puppetserver.certificate_authority$eval14352$initialize_master_ssl_BANG___14353$fn__14354.invoke(certificate_authority.clj:650)
      4. puppetlabs.puppetserver.certificate_authority$eval14352$initialize_master_ssl_BANG___14353.invoke(certificate_authority.clj:634)
      4 frames
    3. puppetlabs.services.ca
      certificate_authority_service$reify__19476$service_fnk__4369__auto___positional$reify__19487.initialize_master_ssl_BANG_
      1. puppetlabs.services.ca.certificate_authority_service$reify__19476$service_fnk__4369__auto___positional$reify__19487.initialize_master_ssl_BANG_(certificate_authority_service.clj:62)
      1 frame
    4. puppetlabs.services.protocols
      ca$eval19425$fn__19439$G__19416__19448.invoke
      1. puppetlabs.services.protocols.ca$eval19425$fn__19439$G__19417__19443.invoke(ca.clj:3)
      2. puppetlabs.services.protocols.ca$eval19425$fn__19439$G__19416__19448.invoke(ca.clj:3)
      2 frames
    5. Clojure
      RestFn.invoke
      1. clojure.lang.AFn.applyToHelper(AFn.java:160)
      2. clojure.lang.AFn.applyTo(AFn.java:144)
      3. clojure.core$apply.invoke(core.clj:626)
      4. clojure.core$partial$fn__4228.doInvoke(core.clj:2468)
      5. clojure.lang.RestFn.invoke(RestFn.java:421)
      5 frames
    6. puppetlabs.services.master
      master_service$reify__16375$service_fnk__4369__auto___positional$reify__16392.init
      1. puppetlabs.services.master.master_service$reify__16375$service_fnk__4369__auto___positional$reify__16392.init(master_service.clj:39)
      1 frame