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

Matt Pryor <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <CABpRBaYhxfjRCxDCkUqKMz9Oz6d3Vo-can=jgN01okxeVM1-TA@mail.gmail.com>
Thanks a lot Tung will try that tomorrow.


On Wed, 25 Oct 2023 at 16:33, Tung Tran <[email protected]> wrote:

> 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
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
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.