On Wed, Jun 27, 2012 at 8:34 AM, Mark Kariuki <[email protected]> wrote:
> I think I spoke too soon, I have not been able to modify the configurations
> to do as you instructed above. I tried changing the context by following
> http://stackoverflow.com/questions/7276989/howto-set-the-context-path-of-a-web-application-in-tomcat-7-0
> These instructions from StackOverflow  but I am stuck with the same issue of
> not being able to run a search with the SUNScholar theme. I am using Tomcat
> 7 on Windows currently, so I cannot really run the commands that Hilton gave
> that are for Ubuntu environment, but eventually I shall run them on the
> Ubuntu server on Rackspace. Please help

The instructions I and Hilton gave you are two different ways to
achieve the same goal. Using only one of them is enough.

In Hilton's instructions you don't have to use commands. The commands
are simply copying files around. You can do it using drag&drop or
whatever the current fashion in Windows is.

The instructions on Stack Overflow are similiar to mine, but there are
a few differences. First, I told you to edit context elements in
server.xml (only because it's easier). In fact, I use and recommend
the SO approach of context fragments - separate xml file with one
context element for each webapp. The instructions also mention the
path where you need to place them. So with context fragments, all of
them are called like the webapp, e.g. jspui.xml, except the root
webapp, which is called ROOT.xml. The instructions are however wrong
in that they switched the meaning of docBase and path. This is correct
(of course, use your Windows path):

<!Context path="/" docBase="/dspace/webapps/xmlui" debug="0"
        reloadable="true" cachingAllowed="false"
        allowLinking="true"/>

Tomcat has a nice feature (I don't know if it works in Windows,
though) that every time you modify a context fragment file, in several
seconds Tomcat will detect it and reload that webapp.

One more thing to change is dspace.url in dspace.cfg. Change
dspace.url = ${dspace.baseUrl}/xmlui
to
dspace.url = ${dspace.baseUrl}

Let us know if you have any more problems.

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to