Re: [Dspace-tech] Browse index config

2012-08-27 Thread helix84
That's weird. The bi_*_dmap and bi_*_dis tables are created by
index-init, look here:

https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L383
https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java#L981

If you look at your database, are the tables for other indexes present?

Do your index tables correspond to your webui.browse.index.* options
in dspace.cfg?

Are there any errors during index-init if you raise log level to DEBUG?

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] Browse index config

2012-08-27 Thread Hilton Gibson
Hi Ivan

The tables seem to correspond with the settings in my config file.
My config file though is setup according to the manual not the config file.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Indexes

Since I setup my BI according to the manual there are no pgsql errors
anymore.
The old log is available from here: http://staff.lib.sun.ac.za/~hgibson/tmp/
To big to attach.

Cheers

hg

On 27 August 2012 15:08, helix84 heli...@centrum.sk wrote:

 That's weird. The bi_*_dmap and bi_*_dis tables are created by
 index-init, look here:


 https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L383

 https://github.com/DSpace/DSpace/blob/dspace-1_5_x/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java#L981

 If you look at your database, are the tables for other indexes present?

 Do your index tables correspond to your webui.browse.index.* options
 in dspace.cfg?

 Are there any errors during index-init if you raise log level to DEBUG?

 Regards,
 ~~helix84




-- 
*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://library.sun.ac.za
http://scholar.sun.ac.za
attachment: pgsql-bi-tables.png

postgresql-8.4-main.log
Description: Binary data
--
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] Browse index config

2012-08-27 Thread helix84
On Mon, Aug 27, 2012 at 3:17 PM, Hilton Gibson hilton.gib...@gmail.com wrote:
 Since I setup my BI according to the manual there are no pgsql errors
 anymore.

So is it working now? What did you do to make it work? Used default indexes?

 The old log is available from here: http://staff.lib.sun.ac.za/~hgibson/tmp/

I'm getting a Forbidden error from your Apache.

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] Browse index config

2012-08-27 Thread Hilton Gibson
On 27 August 2012 15:24, helix84 heli...@centrum.sk wrote:

 On Mon, Aug 27, 2012 at 3:17 PM, Hilton Gibson hilton.gib...@gmail.com
 wrote:
  Since I setup my BI according to the manual there are no pgsql errors
  anymore.

 So is it working now? What did you do to make it work? Used default
 indexes?


Used defaults specified in the manual not the config file.



  The old log is available from here:
 http://staff.lib.sun.ac.za/~hgibson/tmp/

 I'm getting a Forbidden error from your Apache.


Try now - sorry - good old Debian permissions.


 Regards,
 ~~helix84




-- 
*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://library.sun.ac.za
http://scholar.sun.ac.za
--
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] Browse index config

2012-08-27 Thread helix84
I just looked at my testing server with 3.0 and I seem to have had the
same problem when I installed it (when my dspace.cfg didn't match the
tables in the database because I still had the default definitions,
but custom indexes in DB). But it went away after index-init. I'm none
the wiser at this moment, but it's worth investigating.

Example:
2012-08-27 14:02:02 CEST ERROR:  relation bi_4_dis does not exist at
character 30
2012-08-27 14:02:02 CEST STATEMENT:  SELECT  COUNT(*) AS num FROM
bi_4_dis, (SELECT DISTINCT bi_4_dmap.distinct_id  FROM
collection2item, bi_4_dmap WHERE
bi_4_dmap.item_id=collection2item.item_id AND
collection2item.collection_id=$1 ) ma
2012-08-27 14:02:02 CEST ERROR:  current transaction is aborted,
commands ignored until end of transaction block
2012-08-27 14:02:02 CEST STATEMENT:  SELECT  COUNT(*) AS num FROM
bi_4_dis, (SELECT DISTINCT bi_4_dmap.distinct_id  FROM
collection2item, bi_4_dmap WHERE
bi_4_dmap.item_id=collection2item.item_id AND
collection2item.collection_id=$1 ) ma
2012-08-27 14:08:35 CEST ERROR:  relation bi_1 does not exist at character 15
2012-08-27 14:08:35 CEST STATEMENT:  SELECT * FROM bi_1 LIMIT 1
2012-08-27 14:08:35 CEST ERROR:  relation bi_1_dis does not exist at
character 15
2012-08-27 14:08:35 CEST STATEMENT:  SELECT * FROM bi_1_dis LIMIT 1
2012-08-27 14:08:35 CEST ERROR:  relation bi_2 does not exist at character 15
2012-08-27 14:08:35 CEST STATEMENT:  SELECT * FROM bi_2 LIMIT 1
2012-08-27 14:08:36 CEST ERROR:  relation bi_3 does not exist at character 15
2012-08-27 14:08:36 CEST STATEMENT:  SELECT * FROM bi_3 LIMIT 1

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] Browse index config

2012-08-26 Thread helix84
Hi Hilton,
did you try index-init?
--
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] Browse index config

2012-08-26 Thread Hilton Gibson
Yes - several times !!

On 26 August 2012 12:32, helix84 heli...@centrum.sk wrote:

 Hi Hilton,
 did you try index-init?




-- 
*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://library.sun.ac.za
http://scholar.sun.ac.za
--
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] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Fred Edwards
Sorry, I should have said that I was using XMLUI.

I've deleted the cache from the cache-dir but it wasn't successful

I shut down apache and tomcat

removed the cache

I removed items from browse.index settings in dspace.cfg and did an
index-init

and then I restarted tomcat and apache

I am still also no longer able to sort the order of items in the nav panel
by changing the browse index order in the config...




Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Wed, Jan 19, 2011 at 7:12 PM, Pottinger, Hardy J. 
pottinge...@umsystem.edu wrote:

 FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:

 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir

 I have this alias set in my .bashrc file:

 alias dspace.clearcache='sudo rm
 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'

 I only empty these after I first shut down tomcat, figuring I'd rather not
 cause Cocoon undue stress. Though it's been a while since I've had to empty
 the cache.

 --Hardy

  -Original Message-
  From: Graham Triggs [mailto:grahamtri...@gmail.com]
  Sent: Wednesday, January 19, 2011 4:28 PM
  To: Fred Edwards
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] browse index config changes not reflecting in
  nav panel (1.6.2)
 
  Which UI are you using - JSP or XML?
 
  If it's XMLUI, then it sounds like it might be caching elements of the
  Cocoon pipeline, in which case you should stop the application and
  remove the cache from within the web application directory, and/or
  disable Cocoon caching.
 
 
  On 19 January 2011 15:03, Fred Edwards fred.edwa...@smu.ca wrote:
 
 
 
as a test, I've recently added a browse index to our dspace and
  initially it correctly added the items to the nav. panel...
 
however, after removing the browse index in the config file the nav
  panel is now doing weird things.
 
at the top level it is retaining menu items for browse that is no
  longer there and clicking leads to an error page obviously...
 
go down a level or two into communities and collections you start
  finding the nav panel in some areas do not show these links, others
  do...
 
I've recompiled countless times... re-indexed countless times...
  re-initialized the index countless times...
 
the last go I re-added the browse indexes and still the same
  situation... in some places on... in others off...
 
we have a quasi live collection or two in the server, and no test
  server currently, so we'd rather not have to completely rebuild...
 
I'm also loath to:  ant fresh_install   without getting some
  feedback from the community on how safe this would be...
 
 
 
 
 
 
Fred Edwards
 
Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3
 
Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/
 
--
 
 
---
  ---
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them.
  Understand
malware threats, the impact they can have on your business, and how
  you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Claudia Jürgen
Hello Fred,

just to make sure what and where you did it. As you wrote you have 
recompiled I assume you did:

Edit dspace.cfg in
[dspace-source]/dspace/config

run mvn package
run ant init_configs
run [dspace]/bin/dspace index-init

Btw which theme are you using?


Claudia Jürgen



Am 20.01.2011 14:34, schrieb Fred Edwards:
 Sorry, I should have said that I was using XMLUI.

 I've deleted the cache from the cache-dir but it wasn't successful

 I shut down apache and tomcat

 removed the cache

 I removed items from browse.index settings in dspace.cfg and did an
 index-init

 and then I restarted tomcat and apache

 I am still also no longer able to sort the order of items in the nav panel
 by changing the browse index order in the config...




 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 On Wed, Jan 19, 2011 at 7:12 PM, Pottinger, Hardy J.
 pottinge...@umsystem.edu  wrote:

 FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:

 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir

 I have this alias set in my .bashrc file:

 alias dspace.clearcache='sudo rm
 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'

 I only empty these after I first shut down tomcat, figuring I'd rather not
 cause Cocoon undue stress. Though it's been a while since I've had to empty
 the cache.

 --Hardy

 -Original Message-
 From: Graham Triggs [mailto:grahamtri...@gmail.com]
 Sent: Wednesday, January 19, 2011 4:28 PM
 To: Fred Edwards
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] browse index config changes not reflecting in
 nav panel (1.6.2)

 Which UI are you using - JSP or XML?

 If it's XMLUI, then it sounds like it might be caching elements of the
 Cocoon pipeline, in which case you should stop the application and
 remove the cache from within the web application directory, and/or
 disable Cocoon caching.


 On 19 January 2011 15:03, Fred Edwardsfred.edwa...@smu.ca  wrote:



as a test, I've recently added a browse index to our dspace and
 initially it correctly added the items to the nav. panel...

however, after removing the browse index in the config file the nav
 panel is now doing weird things.

at the top level it is retaining menu items for browse that is no
 longer there and clicking leads to an error page obviously...

go down a level or two into communities and collections you start
 finding the nav panel in some areas do not show these links, others
 do...

I've recompiled countless times... re-indexed countless times...
 re-initialized the index countless times...

the last go I re-added the browse indexes and still the same
 situation... in some places on... in others off...

we have a quasi live collection or two in the server, and no test
 server currently, so we'd rather not have to completely rebuild...

I'm also loath to:  ant fresh_install   without getting some
 feedback from the community on how safe this would be...






Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


---
 ---
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them.
 Understand
malware threats, the impact they can have on your business, and how
 you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech








 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics

Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Fred Edwards
when I rebuild this is my procedure

stop apache
stop tomcat
mvn package
ant -Dconfig=[dspace-source]/dspace/config/dspace.cfg update
ant update_configs
ant init_configs
[dspace]/bin/dspace index-init
start apache
start tomcat


I'm using a XMLUI theme, pretty much modified for look only...

not sure if it'll help, or appreciated onlist, but I've attached two
screenshots showing how the nav panel differs in different locations of the
UI...



Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


2011/1/20 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de

 Hello Fred,

 just to make sure what and where you did it. As you wrote you have
 recompiled I assume you did:

 Edit dspace.cfg in
 [dspace-source]/dspace/config

 run mvn package
 run ant init_configs
 run [dspace]/bin/dspace index-init

 Btw which theme are you using?


 Claudia Jürgen



 Am 20.01.2011 14:34, schrieb Fred Edwards:
  Sorry, I should have said that I was using XMLUI.
 
  I've deleted the cache from the cache-dir but it wasn't successful
 
  I shut down apache and tomcat
 
  removed the cache
 
  I removed items from browse.index settings in dspace.cfg and did an
  index-init
 
  and then I restarted tomcat and apache
 
  I am still also no longer able to sort the order of items in the nav
 panel
  by changing the browse index order in the config...
 
 
 
 
  Fred Edwards
 
  Systems Technician
  Patrick Power Library
  Saint Mary's University
  Halifax, Nova ScotiaB3H 3C3
 
  Phone: (902) 420-5096
  Fax:   (902) 420-5561
  E-mail:fred.edwa...@smu.ca
  Website:   http://www.smu.ca/library/
 
  --
 
 
  On Wed, Jan 19, 2011 at 7:12 PM, Pottinger, Hardy J.
  pottinge...@umsystem.edu  wrote:
 
  FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:
 
  /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir
 
  I have this alias set in my .bashrc file:
 
  alias dspace.clearcache='sudo rm
 
 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'
 
  I only empty these after I first shut down tomcat, figuring I'd rather
 not
  cause Cocoon undue stress. Though it's been a while since I've had to
 empty
  the cache.
 
  --Hardy
 
  -Original Message-
  From: Graham Triggs [mailto:grahamtri...@gmail.com]
  Sent: Wednesday, January 19, 2011 4:28 PM
  To: Fred Edwards
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] browse index config changes not reflecting
 in
  nav panel (1.6.2)
 
  Which UI are you using - JSP or XML?
 
  If it's XMLUI, then it sounds like it might be caching elements of the
  Cocoon pipeline, in which case you should stop the application and
  remove the cache from within the web application directory, and/or
  disable Cocoon caching.
 
 
  On 19 January 2011 15:03, Fred Edwardsfred.edwa...@smu.ca  wrote:
 
 
 
 as a test, I've recently added a browse index to our dspace and
  initially it correctly added the items to the nav. panel...
 
 however, after removing the browse index in the config file the
 nav
  panel is now doing weird things.
 
 at the top level it is retaining menu items for browse that is
 no
  longer there and clicking leads to an error page obviously...
 
 go down a level or two into communities and collections you
 start
  finding the nav panel in some areas do not show these links, others
  do...
 
 I've recompiled countless times... re-indexed countless times...
  re-initialized the index countless times...
 
 the last go I re-added the browse indexes and still the same
  situation... in some places on... in others off...
 
 we have a quasi live collection or two in the server, and no
 test
  server currently, so we'd rather not have to completely rebuild...
 
 I'm also loath to:  ant fresh_install   without getting some
  feedback from the community on how safe this would be...
 
 
 
 
 
 
 Fred Edwards
 
 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3
 
 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/
 
 --
 
 
 
  ---
  ---
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them.
  Understand
 malware threats, the impact they can have on your business, and
 how
  you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net

Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Claudia Jürgen
Hello Fred,


 I'm using a XMLUI theme, pretty much modified for look only...
just to make sure it's not homemade i.e. your theme, just switch to the 
reference theme and check the browse behavior there.


Hope that helps

Claudia Jürgen

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Peter Dietz
Hi Fred,

If it is still possible that the odd behavior is just bad caching, here's my
two tricks.

- Add a non-sense unique parameter to the query string of the url.
localhost:8080/xmlui/handle/1234/5678?Unique-Uncached-Parameter

- And the other would be by running the clearcache script I wrote about in:
http://permalink.gmane.org/gmane.comp.db.dspace.user/13141

http://permalink.gmane.org/gmane.comp.db.dspace.user/13141
--
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



2011/1/20 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de

 Hello Fred,


  I'm using a XMLUI theme, pretty much modified for look only...
 just to make sure it's not homemade i.e. your theme, just switch to the
 reference theme and check the browse behavior there.


 Hope that helps

 Claudia Jürgen


 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Fred Edwards
Got it folks...

it appears it WAS a cache issue...

however it doesn't seem to have been the XMLUI cache.. at least not only...

out of whimsy, actually mostly frustration, I deleted the cache in:

/var/cache/tomcat6/Catalina/localhost/_/cache-dir

reinitialized the index and then it worked...

so it's resolved...


one final question regarding this, however...

is this something that should be cron'ed as part of regular maintenance?

say, once a month/week/day shut down the services, delete the cache files
and restart?


in the meantime, thank you all for the responses!!



Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


2011/1/20 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de

 Hello Fred,


  I'm using a XMLUI theme, pretty much modified for look only...
 just to make sure it's not homemade i.e. your theme, just switch to the
 reference theme and check the browse behavior there.


 Hope that helps

 Claudia Jürgen


 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Fred Edwards
as a test, I've recently added a browse index to our dspace and initially it
correctly added the items to the nav. panel...

however, after removing the browse index in the config file the nav panel is
now doing weird things.

at the top level it is retaining menu items for browse that is no longer
there and clicking leads to an error page obviously...

go down a level or two into communities and collections you start finding
the nav panel in some areas do not show these links, others do...

I've recompiled countless times... re-indexed countless times...
re-initialized the index countless times...

the last go I re-added the browse indexes and still the same situation... in
some places on... in others off...

we have a quasi live collection or two in the server, and no test server
currently, so we'd rather not have to completely rebuild...

I'm also loath to:  ant fresh_install   without getting some feedback from
the community on how safe this would be...






Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Graham Triggs
Which UI are you using - JSP or XML?

If it's XMLUI, then it sounds like it might be caching elements of the
Cocoon pipeline, in which case you should stop the application and remove
the cache from within the web application directory, and/or disable Cocoon
caching.


On 19 January 2011 15:03, Fred Edwards fred.edwa...@smu.ca wrote:


 as a test, I've recently added a browse index to our dspace and initially
 it correctly added the items to the nav. panel...

 however, after removing the browse index in the config file the nav panel
 is now doing weird things.

 at the top level it is retaining menu items for browse that is no longer
 there and clicking leads to an error page obviously...

 go down a level or two into communities and collections you start finding
 the nav panel in some areas do not show these links, others do...

 I've recompiled countless times... re-indexed countless times...
 re-initialized the index countless times...

 the last go I re-added the browse indexes and still the same situation...
 in some places on... in others off...

 we have a quasi live collection or two in the server, and no test server
 currently, so we'd rather not have to completely rebuild...

 I'm also loath to:  ant fresh_install   without getting some feedback from
 the community on how safe this would be...






 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Pottinger, Hardy J.
FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:

/var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir

I have this alias set in my .bashrc file:

alias dspace.clearcache='sudo rm 
/var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'

I only empty these after I first shut down tomcat, figuring I'd rather not 
cause Cocoon undue stress. Though it's been a while since I've had to empty the 
cache.

--Hardy
 
 -Original Message-
 From: Graham Triggs [mailto:grahamtri...@gmail.com]
 Sent: Wednesday, January 19, 2011 4:28 PM
 To: Fred Edwards
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] browse index config changes not reflecting in
 nav panel (1.6.2)
 
 Which UI are you using - JSP or XML?
 
 If it's XMLUI, then it sounds like it might be caching elements of the
 Cocoon pipeline, in which case you should stop the application and
 remove the cache from within the web application directory, and/or
 disable Cocoon caching.
 
 
 On 19 January 2011 15:03, Fred Edwards fred.edwa...@smu.ca wrote:
 
 
 
   as a test, I've recently added a browse index to our dspace and
 initially it correctly added the items to the nav. panel...
 
   however, after removing the browse index in the config file the nav
 panel is now doing weird things.
 
   at the top level it is retaining menu items for browse that is no
 longer there and clicking leads to an error page obviously...
 
   go down a level or two into communities and collections you start
 finding the nav panel in some areas do not show these links, others
 do...
 
   I've recompiled countless times... re-indexed countless times...
 re-initialized the index countless times...
 
   the last go I re-added the browse indexes and still the same
 situation... in some places on... in others off...
 
   we have a quasi live collection or two in the server, and no test
 server currently, so we'd rather not have to completely rebuild...
 
   I'm also loath to:  ant fresh_install   without getting some
 feedback from the community on how safe this would be...
 
 
 
 
 
 
   Fred Edwards
 
   Systems Technician
   Patrick Power Library
   Saint Mary's University
   Halifax, Nova ScotiaB3H 3C3
 
   Phone: (902) 420-5096
   Fax:   (902) 420-5561
   E-mail:fred.edwa...@smu.ca
   Website:   http://www.smu.ca/library/
 
   --
 
 
   ---
 ---
   Protect Your Site and Customers from Malware Attacks
   Learn about various malware tactics and how to avoid them.
 Understand
   malware threats, the impact they can have on your business, and how
 you
   can protect your company and customers by using code signing.
   http://p.sf.net/sfu/oracle-sfdevnl
   ___
   DSpace-tech mailing list
   DSpace-tech@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech