Reg : Try tail recursion issue

Wednesday, 4 January 2023 · 6 messages · last reply 6 Jan 2023
CN
chandra sekhar n4 Jan 2023 07:08 #
Dear team, We are facing the issue below when we add more than 1 lakh xml to the collection,is there any solution? issue : org.basex.core.BaseXException: Stack Overflow: Try tail recursion? Regards, Chandrasekhar
CG
Christian Grün4 Jan 2023 09:07 #
Hi Chandrasekhar, I’m pretty sure there is a solution, bit we definitely need more information… Which command or operation is responsible for the exception? How does the full stack trace look like? Do you use the latest version of BaseX? Best, Christian
Quoted text · chandra sekhar n · 10 lines
chandra sekhar n <vcsred at gmail.com> schrieb am Mi., 4. Jan. 2023, 07:08: > Dear team, > We are facing the issue below when we add more than 1 lakh xml to the > collection,is there any solution? > > issue : org.basex.core.BaseXException: Stack Overflow: Try tail recursion? > > Regards, > Chandrasekhar >
CG
Christian Grün4 Jan 2023 12:10 #
Hi Chandrasekhar (cc to the list), Can the behavior be reproduced with the latest version of BaseX? Best, Christian
Quoted text · chandra sekhar n · 34 lines
On Wed, Jan 4, 2023 at 10:34 AM chandra sekhar n <vcsred at gmail.com> wrote: > > Dear Christian, > 1)We are using java,and getting connection using ClientSession and after that we are adding xml to collection using below methods > cliectsession.add("<<FILENAME>>", <<INPUTSTREAM OBJECT>>) OR cliectsession.execute("ADD <<XML PATH>>"); > 2) Using basex 9.4.5 > 3) I am attaching full stack trace . > Regards, > Chandrasekhar > > On Wed, Jan 4, 2023 at 1:37 PM Christian Grün <christian.gruen at gmail.com> wrote: >> >> Hi Chandrasekhar, >> >> I’m pretty sure there is a solution, bit we definitely need more information… >> >> Which command or operation is responsible for the exception? >> How does the full stack trace look like? >> Do you use the latest version of BaseX? >> >> Best, >> Christian >> >> >> >> chandra sekhar n <vcsred at gmail.com> schrieb am Mi., 4. Jan. 2023, 07:08: >>> >>> Dear team, >>> We are facing the issue below when we add more than 1 lakh xml to the collection,is there any solution? >>> >>> issue : org.basex.core.BaseXException: Stack Overflow: Try tail recursion? >>> >>> Regards, >>> Chandrasekhar
CN
chandra sekhar n4 Jan 2023 12:58 #
Hi Christian, Not checked with basex latest version,any way i will check Regards, Chandrasekhar
Quoted text · Christian Grün · 52 lines
On Wed, Jan 4, 2023 at 4:40 PM Christian Grün <christian.gruen at gmail.com> wrote: > Hi Chandrasekhar (cc to the list), > > Can the behavior be reproduced with the latest version of BaseX? > > Best, > Christian > > > On Wed, Jan 4, 2023 at 10:34 AM chandra sekhar n <vcsred at gmail.com> wrote: > > > > Dear Christian, > > 1)We are using java,and getting connection using ClientSession and after > that we are adding xml to collection using below methods > > cliectsession.add("<<FILENAME>>", <<INPUTSTREAM OBJECT>>) OR > cliectsession.execute("ADD <<XML PATH>>"); > > 2) Using basex 9.4.5 > > 3) I am attaching full stack trace . > > Regards, > > Chandrasekhar > > > > On Wed, Jan 4, 2023 at 1:37 PM Christian Grün <christian.gruen at gmail.com> > wrote: > >> > >> Hi Chandrasekhar, > >> > >> I’m pretty sure there is a solution, bit we definitely need more > information… > >> > >> Which command or operation is responsible for the exception? > >> How does the full stack trace look like? > >> Do you use the latest version of BaseX? > >> > >> Best, > >> Christian > >> > >> > >> > >> chandra sekhar n <vcsred at gmail.com> schrieb am Mi., 4. Jan. 2023, > 07:08: > >>> > >>> Dear team, > >>> We are facing the issue below when we add more than 1 lakh xml to the > collection,is there any solution? > >>> > >>> issue : org.basex.core.BaseXException: Stack Overflow: Try tail > recursion? > >>> > >>> Regards, > >>> Chandrasekhar >
CN
chandra sekhar n6 Jan 2023 13:18 #
Dear basex team, I downloaded basex latest version ,but I am not able to get a client session.i used below code ClientSession session = new ClientSession("localhost", 1984, "admin", "admin"); Getting below exception :
org.basex.server.LoginException: Access denied: admin.
at org.basex.api.client.ClientSession.<init>(ClientSession.java:123)
at org.basex.api.client.ClientSession.<init>(ClientSession.java:76)
Regards,
Chandrasekhar
Quoted text · chandra sekhar n · 62 lines
On Wed, Jan 4, 2023 at 5:28 PM chandra sekhar n <vcsred at gmail.com> wrote: > Hi Christian, > Not checked with basex latest version,any way i will check > > Regards, > Chandrasekhar > > On Wed, Jan 4, 2023 at 4:40 PM Christian Grün <christian.gruen at gmail.com> > wrote: > >> Hi Chandrasekhar (cc to the list), >> >> Can the behavior be reproduced with the latest version of BaseX? >> >> Best, >> Christian >> >> >> On Wed, Jan 4, 2023 at 10:34 AM chandra sekhar n <vcsred at gmail.com> >> wrote: >> > >> > Dear Christian, >> > 1)We are using java,and getting connection using ClientSession and >> after that we are adding xml to collection using below methods >> > cliectsession.add("<<FILENAME>>", <<INPUTSTREAM OBJECT>>) OR >> cliectsession.execute("ADD <<XML PATH>>"); >> > 2) Using basex 9.4.5 >> > 3) I am attaching full stack trace . >> > Regards, >> > Chandrasekhar >> > >> > On Wed, Jan 4, 2023 at 1:37 PM Christian Grün < >> christian.gruen at gmail.com> wrote: >> >> >> >> Hi Chandrasekhar, >> >> >> >> I’m pretty sure there is a solution, bit we definitely need more >> information… >> >> >> >> Which command or operation is responsible for the exception? >> >> How does the full stack trace look like? >> >> Do you use the latest version of BaseX? >> >> >> >> Best, >> >> Christian >> >> >> >> >> >> >> >> chandra sekhar n <vcsred at gmail.com> schrieb am Mi., 4. Jan. 2023, >> 07:08: >> >>> >> >>> Dear team, >> >>> We are facing the issue below when we add more than 1 lakh xml to the >> collection,is there any solution? >> >>> >> >>> issue : org.basex.core.BaseXException: Stack Overflow: Try tail >> recursion? >> >>> >> >>> Regards, >> >>> Chandrasekhar >> >
CG
Christian Grün6 Jan 2023 13:26 #
You'll need to set a password for the admin account. See [1] for more details on migrating existing applications. [1] https://docs.basex.org/wiki/BaseX_10#Migrating_Applications
Quoted text · chandra sekhar n · 17 lines
chandra sekhar n <vcsred at gmail.com> schrieb am Fr., 6. Jan. 2023, 13:21: > Dear basex team, > I downloaded basex latest version ,but I am not able to get a client > session.i used below code > > ClientSession session = new ClientSession("localhost", 1984, "admin", > "admin"); > > Getting below exception : > > org.basex.server.LoginException: Access denied: admin. > at org.basex.api.client.ClientSession.<init>(ClientSession.java:123) > at org.basex.api.client.ClientSession.<init>(ClientSession.java:76) > Regards, > Chandrasekhar > >

⚡Generated with XQuery