Re: [base] Base 3.2 installation on Mac OS 10.6 server
On 2013-09-10 16:35, Laurent Troxler wrote: > Thank you Nicolas for your answer. > It helped me to find out that I had missed the base.config file password > setting. > I thus could go through the all process. Great. > I am now facing an other problem linked to Tomcat. > After setting the symbolic link between Tomcat and Base, when I go on > the webpage http://hostname:8080/base2 > I get alternatively : The /Library/Tomcat/work directory and subdirectories are directories where Tomcat store temporary working files. Usually this is not something one has to worry about. I can think of two reasons why the directory referenced in the error message is empty: 1. The Tomcat process doesn't have write permission on the directory 2. The disk is full It might be possible that there is more information in one of Tomcat's log files (though I can't tell which one, the logging setup of Tomcat is still a bit of a mystery to me...). At least, it seems like Tomcat is up and running so it shouldn't be a Java issue. /Nicklas -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to basedb-users-requ...@lists.sourceforge.net
Re: [base] Base 3.2 installation on Mac OS 10.6 server
Thank you Nicolas for your answer. It helped me to find out that I had missed the base.config file password setting. I thus could go through the all process. I am now facing an other problem linked to Tomcat. After setting the symbolic link between Tomcat and Base, when I go on the webpage http://hostname:8080/base2 I get alternatively : Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception org.apache.jasper.JasperException: Impossible de charger la classe pour la JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:630) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:69) cause mère java.lang.ClassNotFoundException: org.apache.jsp.index_jsp java.net.URLClassLoader$1.run(URLClassLoader.java:202) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(URLClassLoader.java:190) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:628) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:69) Or Etat HTTP 500 - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception java.io.FileNotFoundException: /Library/Tomcat/work/Catalina/localhost/base2/org/apache/jsp/index_jsp.java (No such file or directory) java.io.FileOutputStream.open(Native Method) java.io.FileOutputStream.(FileOutputStream.java:194) java.io.FileOutputStream.(FileOutputStream.java:84) org.apache.jasper.compiler.Compiler.setupContextWriter(Compiler.java:298) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:230) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:69) I have looked in for the /Library/Tomcat/work/Catalina/localhost/base2/org/apache/jsp/index_jsp.java file but the /Library/Tomcat/work/Catalina/localhost/base2 directory is empty. Another configuration problem ? I guess with Java this time. I am using Java 6 About Jari's suggestion for the firewall. Could it be also blocked when I am doing the test on the server it's self ? Thanks for your help. Le 10 sept. 2013 à 10:06, Jari Häkkinen a écrit : > Make sure that the firewall isn't blocking the connection. I am not sure > how server internal connections to the database manager are treated by > the firewall. > > Cheers, > > Jari > > On 2013-09-10 09:37, Nicklas Nordborg wrote: >> On 2013-09-09 16:04, Laurent Troxler wrote: >>> Hello all, Ì am new at Base and trying to install it on a Mac OS >>> 10.6 server. Looking in the mailing list archives did not bring me >>> any helping information, Mac OS does not appear often. Therefore I >>> submit you my problem. After downloading and unpacking Base, setting >>> Apache, MySQL, TomCat, and configuring Base I reached the step of the >>> database initialization with the instruction : ./initdb.sh >>> [base_root_login] base_root_password Below is what I get in return on >>> my terminal. I am using the Base root login and password defined in >>> MySQL but it looks like it is not recognized. Is there anyone having >>> faced such problem in simi
Re: [base] Base 3.2 installation on Mac OS 10.6 server
Make sure that the firewall isn't blocking the connection. I am not sure how server internal connections to the database manager are treated by the firewall. Cheers, Jari On 2013-09-10 09:37, Nicklas Nordborg wrote: > On 2013-09-09 16:04, Laurent Troxler wrote: >> Hello all, Ì am new at Base and trying to install it on a Mac OS >> 10.6 server. Looking in the mailing list archives did not bring me >> any helping information, Mac OS does not appear often. Therefore I >> submit you my problem. After downloading and unpacking Base, setting >> Apache, MySQL, TomCat, and configuring Base I reached the step of the >> database initialization with the instruction : ./initdb.sh >> [base_root_login] base_root_password Below is what I get in return on >> my terminal. I am using the Base root login and password defined in >> MySQL but it looks like it is not recognized. Is there anyone having >> faced such problem in similar configuration or having suggestion > > It seems like the root problem is that MySQL is not letting the BASE > installation to connect to the database. > > The first step is to verify/make sure that you can connect manually to > MySQL using the same username and password as you have specified in the > base.config file. Depending on how networking is set up it may help to > replace 'localhost' with '127.0.0.1' when granting access to MySQL and > in the 'base.config' file (db.url setting). > > /Nicklas > > > -- > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk > ___ > The BASE general discussion mailing list > basedb-users@lists.sourceforge.net > unsubscribe: send a mail with subject "unsubscribe" to > basedb-users-requ...@lists.sourceforge.net > -- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." - Richard P. Feynman, Rogers Commission Report 1986 -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to basedb-users-requ...@lists.sourceforge.net
Re: [base] Base 3.2 installation on Mac OS 10.6 server
On 2013-09-09 16:04, Laurent Troxler wrote: > Hello all, Ì am new at Base and trying to install it on a Mac OS > 10.6 server. Looking in the mailing list archives did not bring me > any helping information, Mac OS does not appear often. Therefore I > submit you my problem. After downloading and unpacking Base, setting > Apache, MySQL, TomCat, and configuring Base I reached the step of the > database initialization with the instruction : ./initdb.sh > [base_root_login] base_root_password Below is what I get in return on > my terminal. I am using the Base root login and password defined in > MySQL but it looks like it is not recognized. Is there anyone having > faced such problem in similar configuration or having suggestion It seems like the root problem is that MySQL is not letting the BASE installation to connect to the database. The first step is to verify/make sure that you can connect manually to MySQL using the same username and password as you have specified in the base.config file. Depending on how networking is set up it may help to replace 'localhost' with '127.0.0.1' when granting access to MySQL and in the 'base.config' file (db.url setting). /Nicklas -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to basedb-users-requ...@lists.sourceforge.net