dspace6 xmlui Error - 404

962 views
Skip to first unread message

Ahmed Maher

unread,
Nov 21, 2016, 9:15:10 AM11/21/16
to DSpace Technical Support
Hi All,
i installed Dspace-6 on debian-8 jessi 
and xmlui didn't start or deployed , only /solr deployed sucessfully 
i using openjdk1.8 , tomcat8 , postgresql 9.4 

all installation steps successfully completed 
when browse to /xmlui  said 404 error 
the tomcat error file didn't contains error messages 

thanks

Bruno Nocera Zanette

unread,
Nov 21, 2016, 2:43:51 PM11/21/16
to Ahmed Maher, DSpace Technical Support
Ahmed,
First of all, did you add "8080" to the address? If you didn't alter tomcat's default options the correct address is something like: http://[HOSTNAME]:8080/[INTERFACE] (or https://[HOSTNAME]:8443/[INTERFACE] for REST-API)

So, if you're running it on localhost and you're trying to access xmlui interface, the address is:
http://localhost:8080/xmlui

Besides that, it all depends on how you configured tomcat. If that's the case, post your tomcat's config (remember to remove sensitive informations) that we will try to figure it out.


--
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 dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Bruno Nocera Zanette
+55 41 9992-2508

Ahmed Maher

unread,
Nov 22, 2016, 12:47:16 AM11/22/16
to Bruno Nocera Zanette, DSpace Technical Support
yes , 
i use port 8080 
this is the url  

and this is the xmlui.xml Context  file

<?xml version='1.0'?>
<Context
    docBase="/dspace/webapps/xmlui"
    reloadable="true"
    cachingAllowed="false"/>



On Mon, Nov 21, 2016 at 9:43 PM, Bruno Nocera Zanette <brunon...@gmail.com> wrote:
Ahmed,
First of all, did you add "8080" to the address? If you didn't alter tomcat's default options the correct address is something like: http://[HOSTNAME]:8080/[INTERFACE] (or https://[HOSTNAME]:8443/[INTERFACE] for REST-API)

So, if you're running it on localhost and you're trying to access xmlui interface, the address is:
http://localhost:8080/xmlui

Besides that, it all depends on how you configured tomcat. If that's the case, post your tomcat's config (remember to remove sensitive informations) that we will try to figure it out.


Em seg, 21 de nov de 2016 às 12:15, Ahmed Maher <ama...@kwareict.com> escreveu:
Hi All,
i installed Dspace-6 on debian-8 jessi 
and xmlui didn't start or deployed , only /solr deployed sucessfully 
i using openjdk1.8 , tomcat8 , postgresql 9.4 

all installation steps successfully completed 
when browse to /xmlui  said 404 error 
the tomcat error file didn't contains error messages 

thanks

--
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 dspace-tech+unsubscribe@googlegroups.com.

To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Francisco

unread,
Nov 25, 2016, 12:47:00 PM11/25/16
to DSpace Technical Support
If you are working with mirage2

To my step I had not generated the necessary files to raise mirage2
Make sure that in the folder webapp / xmlui / themes you find the folder mirage2
you need to do
In the source folder .... mvn package -Dmirage2.on = true

and then
In the source folder / dspace / target / dspace-installer

   ant fresh_install

Then the folder object webapp copy xmlui and solr to tomcat webapp and tomcat raise to see what happens

Ahmed Maher

unread,
Nov 26, 2016, 3:49:47 AM11/26/16
to Francisco, DSpace Technical Support

i use Mirage theme not Mirage2

and also jspui not working 

only /solr deployed successfully 
and the catalina.out is empty




--
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/IXbfCFBJZyU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech+unsubscribe@googlegroups.com.

Tim Donohue

unread,
Nov 28, 2016, 12:07:41 PM11/28/16
to Ahmed Maher, DSpace Technical Support

Ahmed,

Could you describe the steps you've taken to install DSpace 6 (especially the maven build process & ant 'fresh_install' steps)?  This is very unusual to not have anything install, but also not see anything in the log files. It makes me suspect that your Maven build & Ant Install were either run from the wrong directories, or failed in some other way.

I'd also recommend checking *all* log files for errors (not just the tomcat logs, DSpace also has its own logs in [dspace]/logs). Here's a guide for finding those logs: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

The more information you can provide us on what you've checked and how you did this installation, the better. Please send all this information to this mailing list, obviously.

Thanks,

Tim

--
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 dspace-tech...@googlegroups.com.

To post to this group, send email to dspac...@googlegroups.com.
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

Ahmed Maher

unread,
Nov 30, 2016, 2:03:53 AM11/30/16
to Tim Donohue, DSpace Technical Support
Hi ,
i follow these steps , from documentation step by step 

i downloaded the latest dspace6  source through GITHUB command 
 
createuser --username=postgres --no-superuser --pwprompt dspace
createdb --username=postgres --owner=dspace --encoding=UNICODE dspace
psql --username=postgres dspace -c "CREATE EXTENSION pgcrypto;"
cd [dspace-source]/dspace/config/
cp local.cfg.EXAMPLE local.cfg
vi local.cfg
mkdir [dspace]
chown dspace [dspace]
su - dspace
cd [dspace-source]
mvn package
cd [dspace-source]/dspace/target/dspace-installer
ant fresh_install
cp -r [dspace]/webapps/* [tomcat]/webapps
/etc/init.d/tomcat start
[dspace]/bin/dspace create-administrator



On Mon, Nov 28, 2016 at 7:07 PM, Tim Donohue <tdon...@duraspace.org> wrote:

Ahmed,

Could you describe the steps you've taken to install DSpace 6 (especially the maven build process & ant 'fresh_install' steps)?  This is very unusual to not have anything install, but also not see anything in the log files. It makes me suspect that your Maven build & Ant Install were either run from the wrong directories, or failed in some other way.

I'd also recommend checking *all* log files for errors (not just the tomcat logs, DSpace also has its own logs in [dspace]/logs). Here's a guide for finding those logs: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

The more information you can provide us on what you've checked and how you did this installation, the better. Please send all this information to this mailing list, obviously.

Thanks,

Tim


On 11/21/2016 8:15 AM, Ahmed Maher wrote:
Hi All,
i installed Dspace-6 on debian-8 jessi 
and xmlui didn't start or deployed , only /solr deployed sucessfully 
i using openjdk1.8 , tomcat8 , postgresql 9.4 

all installation steps successfully completed 
when browse to /xmlui  said 404 error 
the tomcat error file didn't contains error messages 

thanks

--
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 dspace-tech+unsubscribe@googlegroups.com.

To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Ahmed Maher

unread,
Nov 30, 2016, 2:39:36 AM11/30/16
to Tim Donohue, DSpace Technical Support
i checked log files and there is no errors 

/dspace/log/dspace.log
/dspace/log/cocoon.log
/var/log/tomcat8/catalina.out



Tim Donohue

unread,
Nov 30, 2016, 12:29:08 PM11/30/16
to Ahmed Maher, DSpace Technical Support

Ahmed,

In your Tomcat log, does it attempt to *load* all the other DSpace webapps (xmlui, jspui, etc)?  The catalina.out file should give information about which webapp it is loading (and then whether or not each webapp is loaded successfully or an error results).

If you are not seeing any information from Tomcat, that'd imply that Tomcat doesn't see the DSpace webapps. If that's the case, either you copied them into the wrong Tomcat, or perhaps you should simple point Tomcat at the [dspace]/webapps/ webapps you wish to load.  For example, see step #10 in the detailed Installation Instructions: https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-Installation

- Tim

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.

To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages