You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Hi Israel Freitas,
I did not find an other way to contact you so I chose to write a comment. I am very interested in your brain project. I am getting an error message saying that the OrientDB could not be startet when I try to start the webapplication. Do you know how to solve this error or can we get in contact about it?
The reason will be displayed to describe this comment to others. Learn more.
Hi Johnny.
Thank you for your interest in Brain.
I don't know what this error is, but I can help to solve it. Which web
server (name and version) are you using and which Java version? I just
tested on Tomcat (both 8.0.45 and 9.0.0.M26) with Java 1.8.0_144 and it
worked on both servers.
PS.: ProgramD (a Brain's dependency) is having trouble reading xml files
(xmlns issues). So, for now you can only model the knowledge base and
export it to AIML files, but you can't test the chat itself directly within
Brain. In the next few days Brain will use ProgramAB (for AIML version
1.0.1, still) to enable this feature again.
Regards,
Israel Freitas
2018-03-09 9:09 GMT-03:00 johnny187 <[email protected]>:
Hi Israel Freitas,
I did not find an other way to contact you so I chose to write a comment.
I am very interested in your brain project. I am getting an error message
saying that the OrientDB could not be startet when I try to start the
webapplication. Do you know how to solve this error or can we get in
contact about it?
Thank you a lot!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<2cc2c6e#commitcomment-28013342>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAg02IzDXKyZ-vgro1M0Jl6iSHpe9Ek7ks5tcnD3gaJpZM4SkLOW>
.
The reason will be displayed to describe this comment to others. Learn more.
Hi Israel Freitas,
Thank you a lot for your fast response. Sorry that I could not answer your
mail as fast as you.
I am using the Apache Tomcat 9.0.5 and the Java jdk-9.0.4. I attached the
server error file.
I apologise for the possibly obvious question, but why does the application
need to communicate with a database?
Thank you very much for the Support you offered.
Regards
Johnny
2018-03-09 15:10 GMT+01:00 Israel Freitas <[email protected]>:
Hi Johnny.
Thank you for your interest in Brain.
I don't know what this error is, but I can help to solve it. Which web
server (name and version) are you using and which Java version? I just
tested on Tomcat (both 8.0.45 and 9.0.0.M26) with Java 1.8.0_144 and it
worked on both servers.
PS.: ProgramD (a Brain's dependency) is having trouble reading xml files
(xmlns issues). So, for now you can only model the knowledge base and
export it to AIML files, but you can't test the chat itself directly within
Brain. In the next few days Brain will use ProgramAB (for AIML version
1.0.1, still) to enable this feature again.
Regards,
Israel Freitas
2018-03-09 9:09 GMT-03:00 johnny187 ***@***.***>:
> Hi Israel Freitas,
>
> I did not find an other way to contact you so I chose to write a comment.
> I am very interested in your brain project. I am getting an error message
> saying that the OrientDB could not be startet when I try to start the
> webapplication. Do you know how to solve this error or can we get in
> contact about it?
>
> Thank you a lot!
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <2cc2c6e
38718217f2#commitcomment-28013342>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAg02IzDXKyZ-
vgro1M0Jl6iSHpe9Ek7ks5tcnD3gaJpZM4SkLOW>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<2cc2c6e#commitcomment-28015073>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQSxWsWzmOafPWokySEAN-r17HNdMfYeks5tco1QgaJpZM4SkLOW>
.
08-Mar-2018 13:49:57.470 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
08-Mar-2018 13:49:57.470 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
08-Mar-2018 13:49:57.470 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@f8908f6')
08-Mar-2018 13:52:22.226 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed()
08-Mar-2018 13:52:22.226 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed()
08-Mar-2018 13:54:46.674 SCHWERWIEGEND [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [brain.web.WebAppListener]
java.lang.Exception: Unable to start the Database.
at brain.db.OrientDbServer$.start(OrientDbServer.scala:34)
at brain.web.WebAppListener.contextInitialized(WebAppListener.scala:35)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4637)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5099)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1847)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:761)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:964)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at com.orientechnologies.orient.server.OServer.startup(OServer.java:167)
at com.orientechnologies.orient.server.OServer.startup(OServer.java:158)
at brain.db.OrientDbServer$.serverInstance$lzycompute(OrientDbServer.scala:47)
at brain.db.OrientDbServer$.serverInstance(OrientDbServer.scala:47)
at brain.db.OrientDbServer$.start(OrientDbServer.scala:30)
... 42 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
... 47 more
08-Mar-2018 13:54:46.737 SCHWERWIEGEND [main] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class [brain.web.WebAppListener]
java.lang.NullPointerException
at brain.models.ProgramD$.shutdown(ProgramD.scala:31)
at brain.web.WebAppListener.contextDestroyed(WebAppListener.scala:44)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4684)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5321)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1847)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:761)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:964)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:682)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
08-Mar-2018 13:54:46.955 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
08-Mar-2018 13:54:46.955 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
08-Mar-2018 13:54:46.955 INFORMATION [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@4f1dbd13')
The reason will be displayed to describe this comment to others. Learn more.
Hi Johnny.
After a search, I realized that Brain is not yet ready for Java 9.
What happened on your server is due an litle "issue" in Java 9 because "The
JAXB APIs are considered to be Java EE APIs, and therefore are no longer
contained on the default class path in Java SE 9."[1]. So, to solve this
problem you could do something like: JAVA_OPTS="$JAVA_OPTS --add-modules
java.xml.bind" (either catalina.sh or setenv.sh). But after this, other
exceptions are throwed.
For a better understanding about the need for a database, please see the
Brain's demo[2]. It has a help, but you can start by right-click on Root.
[1] -
https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j
[2] - http://ifreitas.github.io/brain/
Regards,
Israel Freitas
The reason will be displayed to describe this comment to others. Learn more.
Hello Johnny,
Yes, you're right. In addition, in your user home directory (~) Brain will
create a folder called 'brain' that contains the following subdirectories:
* databases - created by OrientDB
* knowledge_base - contains all AIML files created by Brain
* programmed - the AIML interpreter used to test the knowledge base
directly on Brain
Regards,
Israel Freitas
The reason will be displayed to describe this comment to others. Learn more.
Hi Israel Freitas,
Yes, I saw the folder you are talking about. I have one additional question: If I didn't want my data to be stored in a database owned by somebody but be, would it be possible to use my one database or is there no other possibility?
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Israel Freitas,
I did not find an other way to contact you so I chose to write a comment. I am very interested in your brain project. I am getting an error message saying that the OrientDB could not be startet when I try to start the webapplication. Do you know how to solve this error or can we get in contact about it?
Thank you a lot!
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Israel Freitas,
Thank you a lot! Brain is now working. Am I right to say that everything I edit in Brain is stored in your OrientDB?
Regards,
Johnny
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Israel Freitas,
Yes, I saw the folder you are talking about. I have one additional question: If I didn't want my data to be stored in a database owned by somebody but be, would it be possible to use my one database or is there no other possibility?
Thank you again, for your good and fast support.
Regards
Johnny
2cc2c6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Johnny.
It's not possible.
Regards
Israel Freitas