Re: Help with "no domain found" error James 3.8.0

Tung Tran <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
Hi
Have you created a domain name yet?
By admin api, James Command line...
Ex: https://james.apache.org/server/manage-cli.html#Manage_Domains

Tung,

On 25/10/2023 22:16, Matt Pryor wrote:
> Hi, I'm seeing the following error in the logs:
>
> 16:07:55.691 [DEBUG] o.a.j.d.j.JPADomainList - No domain found
> javax.persistence.NoResultException: Query "SELECT domain FROM JamesDomain
> domain WHERE domain.name=:name" selected no result, but expected unique
> result.
> at
> org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:346)
>
> Queried the jamesdomain table and there's one result containing "localhost".
>
> What should be in there, do I set it manually in the database, or does it
> come from a config file?
>
> Thanks
> Matt
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.