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

Matt Pryor <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <CABpRBaZiWRpKbAPSNw9u4dFdt+jULF3BScbChtdGS3r2iaASxg@mail.gmail.com>
Many thanks René!

On Thu, 26 Oct 2023 at 03:32, René CORDIER <[email protected]> wrote:

> Hi Matt,
>
> On addition to using the cli, you have also other ways:
>
> - using webadmin:
> https://james.apache.org/server/manage-webadmin.html#Administrating_domains
>
> -  the domainlist.xml file. localhost is configured as defaultDomain, but
> you can add extra domains in `domainnames.domainname`, which is a list,
> spearated by "," I think... it's undocumented, looks rather obscur (as a
> name) and doesn't seem really tested in the code I realized though... Might
> need to add a little something there :)
>
> Best regards,
>
> Rene.
>
>
> On Oct 26, 2023 1:36 AM, from Matt Pryor 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: 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]
> >
> >
>
>
>

-- 
Kind regards
Matt Pryor
Software Developer

The International Presence Group of Companies
EMAIL: [email protected]
URL: www.International-presence.com
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.