You may also want to check your Tomcat logs to see if any errors are being
reported there.  You noted checking the DSpace logs, but it's unclear if
you've also looked closely at the Tomcat logs. It's possible the Tomcat
logs will tell you exactly why Tomcat is failing to load the DSpace webapp.

- Tim

On Wed, Mar 20, 2019 at 2:44 PM <[email protected]> wrote:

> Hi Terry,
>
> I tried your suggestions but catalina.out is reporting that the doucument
> base does not exist or is not a readable directory. I change the directory
> to be owned by tomcat but still the same error.
> Im not seeing any information in the dspace log area becauise the dspace
> app never loads in tomcat.
> When I mvn -U package, I'm see only success, here is the report:
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] DSpace Parent Project ............................. SUCCESS [9.285s]
> [INFO] DSpace Services Framework :: API and Implementation  SUCCESS
> [3.793s]
> [INFO] DSpace Kernel :: API and Implementation ........... SUCCESS
> [10.179s]
> [INFO] DSpace Addon Modules .............................. SUCCESS [0.083s]
> [INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS
> [1.354s]
> [INFO] DSpace XML-UI (Manakin) ........................... SUCCESS [4.095s]
> [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SUCCESS [7.638s]
> [INFO] DSpace JSP-UI ..................................... SUCCESS [1.952s]
> [INFO] DSpace JSP-UI :: Local Customizations ............. SUCCESS [6.120s]
> [INFO] DSpace RDF ........................................ SUCCESS [5.343s]
> [INFO] DSpace RDF :: Local Customizations ................ SUCCESS [9.175s]
> [INFO] DSpace REST :: API and Implementation ............. SUCCESS [5.702s]
> [INFO] DSpace REST :: Local Customizations ............... SUCCESS [8.817s]
> [INFO] DSpace SWORD ...................................... SUCCESS [0.865s]
> [INFO] DSpace SWORD :: Local Customizations .............. SUCCESS [4.787s]
> [INFO] DSpace SWORD v2 ................................... SUCCESS [0.764s]
> [INFO] DSpace SWORD v2 :: Local Customizations ........... SUCCESS [4.937s]
> [INFO] Apache Solr Webapp ................................ SUCCESS [8.977s]
> [INFO] DSpace SOLR :: Local Customizations ............... SUCCESS [5.082s]
> [INFO] DSpace OAI-PMH .................................... SUCCESS [0.458s]
> [INFO] DSpace OAI-PMH :: Local Customizations ............ SUCCESS [6.059s]
> [INFO] DSpace Assembly and Configuration ................. SUCCESS
> [21.954s]
> [INFO] DSpace XML-UI Mirage2 Theme ....................... SUCCESS [0.187s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:08.781s
> [INFO] Finished at: Wed Mar 20 15:39:33 EDT 2019
> [INFO] Final Memory: 88M/783M
>
>
> Then I've run the ant fresh_install command in the following location
> dspace/target/dspace-installer
>
> copy_webapps:
>      [copy] Copying 2683 files to /home/dspace/webapps
>      [copy] Copying 10 files to /home/dspace/webapps
>
> build_webapps_wars:
>
> check_geolite:
>
> init_geolite:
>
> update_geolite:
>      [echo] Downloading:
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
>       [get] Getting:
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
>       [get] To: /home/dspace/config/GeoLiteCity.dat.gz
>       [get] Error opening connection java.io.FileNotFoundException:
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
>       [get] Error opening connection java.io.FileNotFoundException:
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
>       [get] Error opening connection java.io.FileNotFoundException:
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
>       [get] Can't get
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz to
> /home/dspace/config/GeoLiteCity.dat.gz
>      [echo]
>      [echo]
> ====================================================================
>      [echo] WARNING : FAILED TO DOWNLOAD GEOLITE DATABASE FILE
>      [echo]           (Used for DSpace Solr Usage Statistics)
>      [echo]
>      [echo] Underlying Error: Can't get
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz to
> /home/dspace/config/GeoLiteCity.dat.gz
>      [echo]
>      [echo] In order to use DSpace Solr Usage Statistics, you will need to
>      [echo] manually re-run:
>      [echo]
>      [echo] ant update_geolite
>      [echo]
>      [echo] OR
>      [echo]
>      [echo] You may manually install this file by following these steps:
>      [echo] (1) Download the file from
> http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
>      [echo] (2) Unzip it to create a file named 'GeoLiteCity.dat'
>      [echo] (3) Copy that file to '/home/dspace/config/GeoLiteCity.dat'
>      [echo]
>      [echo]
> ====================================================================
>      [echo]
>      [echo]
>      [echo]
> ====================================================================
>      [echo]  The DSpace code has been installed.
>      [echo]
>      [echo]  To complete installation, you should do the following:
>      [echo]
>      [echo]  * Setup your Web servlet container (e.g. Tomcat) to look for
> your
>      [echo]    DSpace web applications in: /home/dspace/webapps/
>      [echo]
>      [echo]    OR, copy any web applications from /home/dspace/webapps/ to
>      [echo]    the appropriate place for your servlet container.
>      [echo]    (e.g. '$CATALINA_HOME/webapps' for Tomcat)
>      [echo]
>      [echo]  * Start up your servlet container (e.g. Tomcat). DSpace now
> will
>      [echo]    initialize the database on the first startup.
>      [echo]
>      [echo]  * Make an initial administrator account (an e-person) in
> DSpace:
>      [echo]
>      [echo]    /home/dspace/bin/dspace create-administrator
>      [echo]
>      [echo]  You should then be able to access your DSpace's 'home page':
>      [echo]
>      [echo]    http://xxx.xxx.xxx.xxx:8090
>      [echo]
>      [echo]
> ====================================================================
>      [echo]
>
> BUILD SUCCESSFUL
> Total time: 8 seconds
>
>
> I'm at a loss as to why apps will not load in tomcat.
>
> Thanks for any help.
>
>
> On Monday, March 18, 2019 at 2:45:07 PM UTC-4, Terry Brady wrote:
>>
>> For our installation, we create the following symlinks
>>
>>    - /opt/tomcat8/webapps/xmlui -> dspace-install/webapps/xmlui
>>    - /opt/tomcat8/webapps/ROOT -> xmlui
>>
>> If you cannot find an error in one of the dspace logs, did you also check
>> the catalina log file for tomcat?
>>
>> On Fri, Mar 15, 2019 at 1:26 PM <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I'm installing Dspace version 5.9 in a centos 7 machine from source
>>> code. After running both mvn -U package and then doing an ant
>>> fresh_install, I move the xmlui folder to be the ROOT folder of tomcat but
>>> Dspace will not load. I'm not getting any errors when compiling, and no
>>> errors are showing up in the log files. Does anyone have an idea where I
>>> should look to troubleshoot?
>>>
>>> Thanks
>>>
>>> --
>>> All messages to this mailing list should adhere to the DuraSpace Code of
>>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> https://github.com/terrywbrady/info
>> 425-298-5498 (Seattle, WA)
>>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to