I went back to the default server.xml and updated the webapps portion and 
things appear to be how we want them. Thanks for your help!


--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756
This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail. Thank you.

From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> On Behalf Of 
Tim Donohue
Sent: Wednesday, October 31, 2018 11:29 AM
To: Cameron, Jacob <jacob.came...@uleth.ca>
Cc: dspace-tech@googlegroups.com
Subject: Re: [dspace-tech] XMLUI as Root DSpace 6.3

Hi Jake,

In your catalina.log there are a large number of "SEVERE" errors which are the 
main problem (s).  Most of them seem to say something like:

"Caused by: java.lang.IllegalArgumentException: The main resource set specified 
[C:\dspace\webapps\ROOT] is not valid"

This sounds to me like, as Sean just noted, you *may* have a "double 
deployment" issue.  I wonder if you've made so many changes that your <Host> 
appBase and your <Context> docBase no longer match up.  Could you revert out 
your changes and start fresh with just a 
[tomcat]/conf/Catalina/localhost/ROOT.xml ?   Or, could you share more of your 
current configuration with us?  It seems like it's essentially "confused" 
Tomcat into not knowing how to start your webapps.

Also, since you look to be using Windows, you may want to change any 
backslashes (\) to forward slashes (/).  So, in your Tomcat configs, use paths 
like "C:/dspace/webapps/xmlui" instead of "C:\dspace\webapps\xmlui".  In many 
Java applications (including DSpace), forward slashes are recommended, no 
matter what Operating System you are using.

- Tim

On Wed, Oct 31, 2018 at 12:15 PM Cameron, Jacob 
<jacob.came...@uleth.ca<mailto:jacob.came...@uleth.ca>> wrote:
Hi Tim,

I’ve attached the tomcat and catalina logs.  I don’t know what to look for in 
there.  If you could help point me in the right direction, that would be 
fantastic.

The current config I’m running is what I described below, with the context path 
in the server.xml.

The context fragments don’t appear to do anything.  I had setup symbolic links 
to point a ROOT symbolic link to C:\dspace\webapps\xmlui  but that didn’t do 
anything either.  I’m at my wits end with this.

--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756<tel:(403)%20329-2756>
This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail. Thank you.

From: Tim Donohue <tdono...@duraspace.org<mailto:tdono...@duraspace.org>>
Sent: Wednesday, October 31, 2018 10:21 AM

To: Cameron, Jacob <jacob.came...@uleth.ca<mailto:jacob.came...@uleth.ca>>
Cc: dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>
Subject: Re: [dspace-tech] XMLUI as Root DSpace 6.3

Hi Jake,


A simple Tomcat Context fragment should work.  That's all I tend to use.  So, 
for example, having a file named:

[tomcat]/conf/Catalina/localhost/ROOT.xml

All that file needs to contain is one line...something like this:

<Context docBase="[dspace path]/webapps/xmlui" />

Technically, this same sort of configuration should also work in your 
server.xml, under the <Host> section (though, in that situation you'd want to 
specify a "path="/"" attribute, like in your example)

If that's *not* working for you, you may want to look closer at whether Tomcat 
is reporting errors in its log files.  The errors in the Tomcat logs may 
provide us with more information about what Tomcat doesn't like about your 
configuration.  So, please send any errors to this list and hopefully we can 
help you figure them out.

Tim

On Wed, Oct 31, 2018 at 10:13 AM Cameron, Jacob 
<jacob.came...@uleth.ca<mailto:jacob.came...@uleth.ca>> wrote:
Hi Everyone,

Windows Server 2016, Tomcat 8.5, DSpace 6.3.

I’ve setup the context path in server.xml to be path=“/” docBase=”[dspace 
path]\webapps\xmlui” and I get a blank page when I go to 
http://localhost:8080/, however if I go to http://localhost:8080/xmlui it works 
fine.

I’ve tried the context fragments, with ROOT.xml in 
tomcat\conf\catalina\localhost\ and still have the same issue.  Restarted the 
tomcat server, restarted the server, still having not luck.  Any suggestions?

                <Host name="localhost"  appBase="[dspace path]webapps"   
unpackWARs="true" autoDeploy="true">
                                <context path="/" docBase="[dspace 
path]\webapps\xmlui" reloadable="true" cachingAllowed="False" 
allowLinking="true"/>

Jake
--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756<tel:(403)%20329-2756>
This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail. Thank you.

--
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 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@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
--
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 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@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
--
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 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

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