Stream: containers

Topic: dev environment setup issues


view this post on Zulip Sakshi Jain (Oct 30 2023 at 17:00):

Hi @Philip Durbin , I've created this new topic for the setup issues I'm facing. Like I mentioned earlier, on opening localhost:8080 I'm getting the Payara screen and not the one like https://demo.dataverse.org/
Any idea what could be the issue here?

view this post on Zulip Sakshi Jain (Oct 30 2023 at 17:03):

I checked the container logs and in them I'm seeing this error:

Exception while loading the app : EJB Container initialization error
2023-10-30 22:24:03 java.util.NoSuchElementException: Unable to find property with name dataverse.pid.ezid.api-url
2023-10-30 22:24:03     at fish.payara.nucleus.microprofile.config.spi.ConfigValueResolverImpl.throwWhenNotExists(ConfigValueResolverImpl.java:256)
2023-10-30 22:24:03     at fish.payara.nucleus.microprofile.config.spi.PayaraConfig.getValue(PayaraConfig.java:162)
2023-10-30 22:24:03     at edu.harvard.iq.dataverse.settings.JvmSettings.lookup(JvmSettings.java:351)
2023-10-30 22:24:03     at edu.harvard.iq.dataverse.settings.JvmSettings.lookup(JvmSettings.java:322)
2023-10-30 22:24:03     at edu.harvard.iq.dataverse.DOIEZIdServiceBean.<init>(DOIEZIdServiceBean.java:24)
2023-10-30 22:24:03     at edu.harvard.iq.dataverse.__EJB31_Generated__DOIEZIdServiceBean__Intf____Bean__.<init>(Unknown Source)
2023-10-30 22:24:03     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2023-10-30 22:24:03     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2023-10-30 22:24:03     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2023-10-30 22:24:03     at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
2023-10-30 22:24:03     at java.base/java.lang.reflect.ReflectAccess.newInstance(Unknown Source)
2023-10-30 22:24:03     at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(Unknown Source)
2023-10-30 22:24:03     at java.base/java.lang.Class.newInstance(Unknown Source)
2023-10-30 22:24:03     at com.sun.ejb.containers.BaseContainer.instantiateOptionalEJBLocalBusinessObjectImpl(BaseContainer.java:3809)
2023-10-30 22:24:03     at com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:216)
2023-10-30 22:24:03     at com.sun.ejb.containers.StatelessContainerFactory.createContainer(StatelessContainerFactory.java:63)
2023-10-30 22:24:03     at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:225)
2023-10-30 22:24:03     at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:286)
2023-10-30 22:24:03     at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:104)
2023-10-30 22:24:03     at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:218)
2023-10-30 22:24:03     at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:334)
2023-10-30 22:24:03     at com.sun.enterprise.v3.server.ApplicationLifecycle.prepare(ApplicationLifecycle.java:580)
2023-10-30 22:24:03     at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:570)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:556)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:552)
2023-10-30 22:24:03     at java.base/java.security.AccessController.doPrivileged(Unknown Source)
2023-10-30 22:24:03     at java.base/javax.security.auth.Subject.doAs(Unknown Source)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:551)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:582)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:574)
2023-10-30 22:24:03     at java.base/java.security.AccessController.doPrivileged(Unknown Source)
2023-10-30 22:24:03     at java.base/javax.security.auth.Subject.doAs(Unknown Source)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:573)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1497)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1879)
2023-10-30 22:24:03     at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1755)
2023-10-30 22:24:03     at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:183)
2023-10-30 22:24:03     at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.run(CommandExecutorImpl.java:96)
2023-10-30 22:24:03     at fish.payara.boot.runtime.BootCommand.execute(BootCommand.java:69)
2023-10-30 22:24:03     at fish.payara.boot.runtime.BootCommands.executeCommands(BootCommands.java:166)
2023-10-30 22:24:03     at fish.payara.boot.runtime.BootCommands.executeCommands(BootCommands.java:160)
2023-10-30 22:24:03     at com.sun.enterprise.v3.bootstrap.BootCommandService.doBootCommands(BootCommandService.java:81)
2023-10-30 22:24:03     at com.sun.enterprise.v3.bootstrap.BootCommandService.postConstruct(BootCommandService.java:91)
2023-10-30 22:24:03     at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:303)
2023-10-30 22:24:03     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:351)
2023-10-30 22:24:03     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
2023-10-30 22:24:03     at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:281)
2023-10-30 22:24:03     at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:65)
2023-10-30 22:24:03     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2103)
2023-10-30 22:24:03     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
2023-10-30 22:24:03     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
2023-10-30 22:24:03     at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
2023-10-30 22:24:03     at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
2023-10-30 22:24:03     at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:762)
2023-10-30 22:24:03     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2023-10-30 22:24:03     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2023-10-30 22:24:03     at java.base/java.lang.Thread.run(Unknown Source)

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 30 2023 at 17:26):

Huh. It's really weird to see dataverse.pid.ezid.api-url in there. EZID is an optional feature.

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 30 2023 at 17:34):

Can you please paste more of the output?

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 03 2023 at 12:58):

@Sakshi Jain hi! We talked briefly about your trouble during the container meeting yesterday: https://harvard.zoom.us/rec/share/-s-zXjWpkUUuxOm18BBXcdJk4OsxzWkEj8JJRJ0qUm2I_22QlpMNtJb8es_o1s0E.nFGj85s7iBqiNSsc

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 03 2023 at 12:59):

I think we need more information. More logs. There were some doubts about how you're starting the containers. I'm assuming you're using mvn from the quickstart.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 03 2023 at 13:00):

You're very welcome to come to these weekly meetings by the way. I haven't posted an agenda to https://ct.gdcc.io yet but I will soon.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 03 2023 at 14:20):

Also, since you're on Windows, you might need some extra steps that @Juan Pablo Tosca Villanueva is figuring out at #containers > Current steps required for windows development.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 03 2023 at 16:31):

@Sakshi Jain ok, we have a workaround you can try if you like.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 03 2023 at 16:31):

Please let me know if you're interested and I'll explain.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 04 2023 at 02:33):

Now that we've merged #10092 and #10094 the fixes are in the develop branch.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 04 2023 at 02:33):

@Sakshi Jain if you do a git pull and try again, I'm hoping it'll work! :sweat_smile:

view this post on Zulip Oliver Bertuch (Nov 06 2023 at 12:01):

Here's a draft PR to the DMP plugin project: https://github.com/fabric8io/docker-maven-plugin/pull/1718 But as always, we're opening pandoras box: https://github.com/fabric8io/docker-maven-plugin/issues/888#issuecomment-1794659876 No healthchecks at runtime supported so far (which we need to make sure Postgres is ready to go)

view this post on Zulip Oliver Bertuch (Dec 14 2023 at 21:34):

There is now https://github.com/fabric8io/docker-maven-plugin/pull/1733 and I'm hacking on code for it. So far, I've made some nice progress. Still needs more tests and docs. Might setup a draft PR soon.

view this post on Zulip Oliver Bertuch (Dec 14 2023 at 21:53):

Here we go... https://github.com/fabric8io/docker-maven-plugin/pull/1736

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 14 2023 at 22:52):

Ooh, I like their CI: "Added lines #L25 - L26 were not covered by tests"

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 14 2023 at 22:53):

But more importantly, thanks for working on this, @Oliver Bertuch!


Last updated: Oct 30 2025 at 05:14 UTC