Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Startup Issue with Payara #373

Closed
smillidge opened this issue Jul 13, 2015 · 4 comments
Closed

Possible Startup Issue with Payara #373

smillidge opened this issue Jul 13, 2015 · 4 comments

Comments

@smillidge
Copy link
Contributor

Very very occasionally typically after unzipping a brand new installation we see the following error

MultiException stack 1 of 5
org.glassfish.hk2.api.UnsatisfiedDependencyException: There was no object available for injection at SystemInjecteeImpl(requiredType=HazelcastRuntimeConfiguration,parent=HazelcastCore,qualifiers={@javax.inject.Named(value=default-instance-name)},position=-1,optional=false,self=false,unqualified=null,525022973)
…
MultiException stack 2 of 5
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of fish.payara.nucleus.hazelcast.HazelcastCore errors were foundMultiException stack 3 of 5
java.lang.IllegalStateException: Unable to perform operation: resolve on fish.payara.nucleus.hazelcast.HazelcastCoreMultiException stack 4 of 5
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of fish.payara.nucleus.exec.ClusterExecutionService errors were foundMultiException stack 5 of 5
java.lang.IllegalStateException: Unable to perform operation: resolve on fish.payara.nucleus.exec.ClusterExecutionService

and the server fails to start. Restarting the server always results in a successful start up.

I unzipped and started a domain 10+ times and saw the error once.

@mikecroft
Copy link
Contributor

I created a new branch in the payara-vagrant repo to work with Payara prerelease on Ubuntu 15.04 (with OpenJDK 8u45 from the default repos) and I see this issue repeatedly. Running asadmin start-domain payaradomain always fails with that Vagrant box with the above MultiException, it doesn't start on subsequent attempts.

@mikecroft
Copy link
Contributor

To use the Vagrantfile above to verify:

  1. Install Vagrant from http://www.vagrantup.com/downloads.html
  2. git clone -b prerelease https://github.com/payara/payara-vagrant.git
  3. run vagrant up to download the Virtual Box machine image and start up (starts with 4GB ram by default)
  4. run vagrant ssh to log in to the box
  5. cd /opt/payara/payara-prerelease/payara41
  6. bin/asadmin start-domain payaradomain

@smillidge
Copy link
Contributor Author

Try adding

<batch-runtime-configuration></batch-runtime-configuration>
<hazelcast-runtime-configuration></hazelcast-runtime-configuration>
<diagnostic-service></diagnostic-service>

empty hazelcast-runtime-configuration between the batch-runtime and the diagnostic-service sections before running it to see if that resolves it.

@mikecroft
Copy link
Contributor

that worked first time. There were two diagnostic-service empty elements and no batch-runtime-configuration element, though, so before it looked like:

76       <connector-service></connector-service>
77       <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs"></transaction-service>
78       <diagnostic-service />
79       <security-service>

and after, the empty element got expanded and the batch element added:

76       <connector-service></connector-service>
77       <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs"></transaction-service>
78       <hazelcast-runtime-configuration></hazelcast-runtime-configuration>
79       <batch-runtime-configuration></batch-runtime-configuration>
80       <diagnostic-service></diagnostic-service>
81       <security-service>

smillidge added a commit that referenced this issue Jul 29, 2015
@smillidge smillidge added this to the Payara Server 4.1.154 milestone Sep 6, 2015
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this issue Jun 9, 2021
FISH-1315 Improve loading time for REST application when there are many password aliases payara#5177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants