Stream: troubleshooting

Topic: โœ” 404 Not Found


view this post on Zulip Mohsen Jafari (Mar 08 2024 at 15:04):

I installed dataverse in my MacBook M1. When I head to http://localhost:8080 I see "Page Not Found - The page you are looking for was not found."

I looked at the /usr/local/payara6/glassfish/domains/domain1/logs/server.log and saw this log:

jakarta.ejb.EJBException: getSingleResult() did not retrieve any entities.
at com.sun.ejb.containers.EJBContainerTransactionManager.processSystemException(EJBContainerTransactionManager.java:723)
at com.sun.ejb.containers.EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:652)
at com.sun.ejb.containers.EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:482)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4601)...

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 08 2024 at 15:21):

On your MacBook? Which guide were you following?

view this post on Zulip Mohsen Jafari (Mar 08 2024 at 15:24):

https://guides.dataverse.org/en/latest/installation/installation-main.html

view this post on Zulip Mohsen Jafari (Mar 08 2024 at 15:42):

The following is the installation process:

mohsen@Mohsens-Air dvinstall % sudo python3 install.py

This appears to be a MacOS X system; good.

####################################################################
It is recommended that this script not be run as root.
Consider creating the service account "dataverse", giving it ownership
on the glassfish/domains/domain1/ and glassfish/lib/ directories,
along with the JVM-specified files.dir location, and designate
that account to launch and run the Application Server (Payara),
AND use that user account to run this installer.
####################################################################

hit return to continue (or ctrl-C to exit the installer)
Checking for required components...
dataverse.war available to deploy. Good.
Checking if jq is available...
jq-1.7.1
good!
Found java version java version "17.0.3.1" 2022-04-22 LTS
Java(TM) SE Runtime Environment (build 17.0.3.1+2-LTS-6)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.3.1+2-LTS-6, mixed mode, sharing)

Welcome to the Dataverse installer.

You will be guided through the process of setting up a NEW
instance of the dataverse application
Please enter the following configuration values:
(hit [RETURN] to accept the default value)
Fully Qualified Domain Name of your host:(enter numeric IP address, if FQDN is unavailable)[Mohsens-Air] localhost
Payara service account username:This user will be running the App. Server (Payara) service on your system.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 08 2024 at 17:00):

Yikes. Do you use Docker? Would you like to try this new tutorial? https://preview.guides.gdcc.io/en/develop/container/running/demo.html

view this post on Zulip Mohsen Jafari (Mar 10 2024 at 13:27):

Philip Durbin said:

Yikes. Do you use Docker? Would you like to try this new tutorial? https://preview.guides.gdcc.io/en/develop/container/running/demo.html

I will try and let you know about the result.

view this post on Zulip Mohsen Jafari (Mar 11 2024 at 07:55):

Mohsen Jafari said:

Philip Durbin said:

Yikes. Do you use Docker? Would you like to try this new tutorial? https://preview.guides.gdcc.io/en/develop/container/running/demo.html

I will try and let you know about the result.

I have used the docker version and it worked. Thanks. One question: Is it okay to use the dockerized version in a real production environment?

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 11 2024 at 11:15):

Hmm, that's a good question. It's probably ok, especially if you create a more secure "demo" persona as explained in that tutorial. We could start a new topic about this under #containers if you like, to get others' opinions.

view this post on Zulip Mohsen Jafari (Mar 11 2024 at 11:35):

Philip Durbin said:

Hmm, that's a good question. It's probably ok, especially if you create a more secure "demo" persona as explained in that tutorial. We could start a new topic about this under #containers if you like, to get others' opinions.

Others' opinions could be precious, too.

view this post on Zulip Notification Bot (Mar 11 2024 at 11:35):

Mohsen Jafari has marked this topic as resolved.


Last updated: Oct 30 2025 at 06:21 UTC