[Dspace-tech] [SPAM] Re: [SPAM] Re: [SPAM] Re: Sample Manakin Theme

2012-06-27 Thread Mark Kariuki

helix84 wrote
 
 
 I just checked and the reason why you're getting a blank page is that
 you instructed Tomcat to make the XMLUI webapp available at the
 /xmlui URL. It seems this theme assumes that XMLUI is bount to the
 root URL: /. You can change this Context configuration in server.xml
 
 

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


--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-tech-Sample-Manakin-Theme-tp3287443p4655919.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [SPAM] Re: [SPAM] Re: [SPAM] Re: Sample Manakin Theme

2012-06-27 Thread helix84
On Wed, Jun 27, 2012 at 8:34 AM, Mark Kariuki mark.kari...@fao.org 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 dragdrop 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [SPAM] Re: [SPAM] Re: [SPAM] Re: Sample Manakin Theme

2012-06-27 Thread Hilton Gibson
Hi All

The DSpace config is here:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace#Step_4._.2A.2A.2A_Edit_the_DSpace_configuration_.2A.2A.2A

Cheers

hg

On 27 June 2012 09:26, helix84 heli...@centrum.sk wrote:

 On Wed, Jun 27, 2012 at 8:34 AM, Mark Kariuki mark.kari...@fao.org
 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 dragdrop 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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://www.sun.ac.za/library
--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] [SPAM] Re: [SPAM] Re: [SPAM] Re: Sample Manakin Theme

2012-06-26 Thread Mark Kariuki
Thank you, this is the reason for the blank page, I am not used to the Tomcat
environment at all, so I apologise if this is just too obvious. Thanks
again.


helix84 wrote
 
 
 I just checked and the reason why you're getting a blank page is that
 you instructed Tomcat to make the XMLUI webapp available at the
 /xmlui URL. It seems this theme assumes that XMLUI is bount to the
 root URL: /. You can change this Context configuration in server.xml
 
 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
 DSpace-tech@.sourceforge
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-tech-Sample-Manakin-Theme-tp3287443p4655908.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech