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

Can't run Wildfly image on openshift #15

Open
rmpestano opened this issue Sep 19, 2017 · 1 comment
Open

Can't run Wildfly image on openshift #15

rmpestano opened this issue Sep 19, 2017 · 1 comment

Comments

@rmpestano
Copy link

Openshift v3 accepts a docker image from docker hub (see example here) but when I use "airhacks/wildfly" I got the following error when the container starts on openshift:


=========================================================================
--
  |  
  | JBoss Bootstrap Environment
  |  
  | JBOSS_HOME: /opt/wildfly-10.1.0.Final
  |  
  | JAVA: /usr/lib/jvm/java-1.8.0/bin/java
  |  
  | JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
  |  
  | =========================================================================
  |  
  | java.lang.IllegalArgumentException: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE"
  | at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(AbstractPropertyConfiguration.java:116)
  | at org.jboss.logmanager.config.LogContextConfigurationImpl.doPrepare(LogContextConfigurationImpl.java:335)
  | at org.jboss.logmanager.config.LogContextConfigurationImpl.prepare(LogContextConfigurationImpl.java:288)
  | at org.jboss.logmanager.config.LogContextConfigurationImpl.commit(LogContextConfigurationImpl.java:297)
  | at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:546)
  | at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:97)
  | at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:514)
  | at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:476)
  | at java.util.logging.LogManager$3.run(LogManager.java:399)
  | at java.util.logging.LogManager$3.run(LogManager.java:396)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:396)
  | at java.util.logging.LogManager.access$800(LogManager.java:145)
  | at java.util.logging.LogManager$2.run(LogManager.java:345)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.util.logging.LogManager.ensureLogManagerInitialized(LogManager.java:338)
  | at java.util.logging.LogManager.getLogManager(LogManager.java:378)
  | at org.jboss.modules.Main.main(Main.java:480)
  | Caused by: java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  | at org.jboss.logmanager.config.AbstractPropertyConfiguration$ConstructAction.validate(AbstractPropertyConfiguration.java:114)
  | ... 17 more
  | Caused by: java.io.FileNotFoundException: /opt/wildfly-10.1.0.Final/standalone/log/server.log (No such file or directory)
  | at java.io.FileOutputStream.open0(Native Method)
  | at java.io.FileOutputStream.open(FileOutputStream.java:270)
  | at java.io.FileOutputStream.<init>(FileOutputStream.java:213)

I've made a fast research and found this issue on official wildfly image repository:

jboss-dockerfiles/wildfly#25

@rmpestano rmpestano changed the title Can't run Wildfly on openshift Can't run Wildfly image on openshift Sep 19, 2017
@AdamBien
Copy link
Owner

Had similar issues with payara -> will test it on openshift. Thanks!

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