Re: Empty error at end of installation

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Hi,

The last stable version of Jahia is the 4.0.5. Actually Jahia 4.5 is a non 
stable version
Jahia 4.0.5 hasn't be tested with MySQL 4.1. So you should first upgrage 
the jdbc libs to use MySQL 4.1 to MySQL Connector/J 3.1
Also the jdbc url has changed; I'm not sure that the 
?useUnicode=true&characterEncoding=UTF-8 query in jahia.propertis file is 
supported by MySQL 4.1. Did you try to use a non-UTF8 database or/and 
remove the query?

Best regards,

Philippe

At 28.02.2005 10:33, you wrote:
>It's the latest Jahia. (4.5 I think). I have Mysql 4.1 - it seems to have 
>problems with utf-8, so that was out the window. I narrowed my problem 
>down to email addresses (well that's what I left out and the installation 
>worked!) Not sure if it was the info on the administrator or the second 
>page, but when I left out the email addresses, the installation completed. 
>Once it was installed, I could then go in through the admin console and 
>add the information later.
>
>Only problem I have now is trying to make the site url look a little more 
>attractive. If anyone knows how to set Jahia up so that www.mydomain.com 
>works without loads of trailing subdirectories, please let me know.
>
>Cheers
>
>Martin
>
>Serge Huber wrote:
>
>>
>>This is very strange, and certainly the first time I've seen this error.
>>
>>- Which version of Jahia did you encounter this with ?
>>- Are you running the default Tomcat packaged with Jahia ?
>>- Did you have any errors before this, that could have triggered this 
>>problem ?
>>
>>Finally if you don't have any need for the web applications and they are 
>>causing the problem, you can simply delete all the files in 
>>jahia/WEB-INF/var/shared_components.
>>
>>Regards,
>>  Serge Huber.
>>
>>Martin Crowe wrote:
>>
>>>Hi,
>>>
>>>Right, I was wondering if anyone can help me. I've been searching the 
>>>mailing list archives, and can't find any help with my problem.
>>>
>>>Basically, I have set up a Redhat Enterprise server with MySQL 4.1.10, 
>>>and j2sdk 1.4.2_07
>>>
>>>I've set everything up as per the documentation, and have added a user 
>>>and database to mysql for jahia. I've then installed jahia as per the 
>>>instructions, and have then got on with the installation through the web 
>>>browser part.
>>>
>>>I change the default database over to mysql (i changed the jdbc driver 
>>>as well, as it was causing errors here, but now we're sound), and carry 
>>>on. I get to the end and read the summary of my settings and then submit 
>>>the page, and I get a page saying :
>>>    Jahia Configuration Wizard generates some error(s) :
>>>
>>>        Error :
>>>
>>>And then no error information.
>>>
>>>So I then went and set the error logging on the tomcat server to DEBUG, 
>>>and here's what I get in catalina.out:
>>>
>>>.......
>>>4729688 [http-8080-Processor3] DEBUG - Creating table [jahia_locks] ...
>>>4729695 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_objects] ...
>>>4729702 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_children] ...
>>>4729709 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_links] ...
>>>4729716 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_permissions] ...
>>>4729723 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_locks] ...
>>>4729730 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_revisions] ...
>>>4729737 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_workingrev] ...
>>>4729744 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_latestrev] ...
>>>4729751 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_branches] ...
>>>4729758 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_revision] ...
>>>4729765 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_label] ...
>>>4729772 [http-8080-Processor3] DEBUG - Creating table 
>>>[jahia_slide_property] ...
>>>4729779 [http-8080-Processor3] DEBUG - Inserting customized settings 
>>>into database...
>>>4729783 [http-8080-Processor3] DEBUG - Inserting default database 
>>>content from file 
>>>/usr/local/jahia/jahia405_build6020/tomcat/webapps/jahia/WEB-INF/var/db/default_corporate_port 
>>>
>>>al_templates.values...
>>>4729970 [http-8080-Processor3] DEBUG - Installing templates...
>>>4730095 [http-8080-Processor3] DEBUG - jahiaSettingsPathJahiaFiles is 
>>>$context/WEB-INF
>>>4730097 [http-8080-Processor3] DEBUG - JahiaXmlDocument.loadFile> 
>>>Entityresolver is null
>>>4730203 [http-8080-Processor3] DEBUG - Installing web applications...
>>>4730209 [http-8080-Processor3] DEBUG - Exception
>>>java.lang.NullPointerException
>>>        at java.util.Hashtable.put(Hashtable.java:393)
>>>        at java.util.Properties.setProperty(Properties.java:102)
>>>        at 
>>> org.jahia.utils.properties.PropertiesManager.setProperty(PropertiesManager.java:152) 
>>>
>>>        at 
>>> org.jahia.bin.JahiaConfigurationWizard.setPropertiesObject(JahiaConfigurationWizard.java:1863) 
>>>
>>>        at 
>>> org.jahia.bin.JahiaConfigurationWizard.processValues(JahiaConfigurationWizard.java:1217) 
>>>
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>        at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>
>>>        at java.lang.reflect.Method.invoke(Method.java:324)
>>>        at org.jahia.utils.ActionHandler.call(ActionHandler.java:126)
>>>        at 
>>> org.jahia.bin.JahiaConfigurationWizard.dispatcher(JahiaConfigurationWizard.java:390) 
>>>
>>>        at 
>>> org.jahia.bin.JahiaConfigurationWizard.service(JahiaConfigurationWizard.java:236) 
>>>
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>>>        at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) 
>>>
>>>        at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>        at 
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>        at 
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>        at 
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>        at 
>>> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>>>        at 
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>>>        at 
>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
>>>
>>>        at 
>>> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) 
>>>
>>>        at 
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>>>        at 
>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>        at 
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>        at 
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
>>>
>>>        at 
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>        at 
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>        at 
>>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>>>        at 
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>>>        at 
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) 
>>>
>>>        at 
>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>>>        at 
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) 
>>>
>>>        at java.lang.Thread.run(Thread.java:534)
>>>4730210 [http-8080-Processor3] DEBUG - Dispatching to 
>>>target=[/jsp/jahia/configuration_wizard/includer.jsp?jsp=error_save]
>>>4730213 [http-8080-Processor3] DEBUG - --[ POST Request End ] --
>>>
>>>
>>>It's a null pointer exception, and I can't see where it's coming from. 
>>>It seems to be something to do with deployment of the webapp, and a 
>>>friend says it will have something to do with trying to write a null 
>>>value to something in this properties file for the webapp. I haven't put 
>>>any spaces in anything I've entered at all. I just can't figure it out
>>>
>>>Anyone lend any help?
>>>
>>>Cheers
>>>
>>>Martin
>>>
>>
>>
>
>--
>Martin Crowe
>Developer
>
>MitchellConnerSearson
>3-5 High Pavement
>The Lace Market
>Nottingham  NG1 1HF
>Tel +44 (0)115 959 6455
>Fax +44 (0)115 959 6456
>Direct +44 (0)115 959 6469
>www.choosemcs.co.uk
>
>Confidentiality: This e-mail and its attachments are intended for the 
>above named only and may be confidential. If they have come to you in 
>error you must take no action based on them, nor must you copy or show 
>them to anyone; please reply to this e-mail and highlight the error.
>
>Security Warning: Please note that this e-mail has been created in the 
>knowledge that Internet e-mail is not a 100% secure communications medium. 
>We advise that you understand and observe this lack of security when 
>e-mailing us.
>
>Viruses: Although we have taken steps to ensure that this e-mail and 
>attachments are free from any virus, we advise that in keeping with good 
>computing practice the recipient should ensure they are actually virus free.
>
>
>
>

----------=[ pvollenweider at jahia dot com ]=-------------
Jahia : The Open Java CMS and Corporate Portal Solution
www.jahia.org Community and product web site
www.jahia.com Commercial services company
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.