Re: [Dspace-tech] pdf over https in ie8

2011-12-01 Thread Swanepoel, Barrie
Hi George

Thanks a lot for your insights! I will definitely look into that.

I found a Microsoft knowledge base article that can fix the bug in IE.

http://support.microsoft.com/kb/323308

I tested and it seems to work but is not easy to roll-out. Also impractical for 
off-site users.

I am thinking of putting a disclaimer on our homepage and listing preferred 
browsers.




-Original Message-
From: George S Kozak [mailto:g...@cornell.edu]
Sent: 01 December 2011 04:48 PM
To: Swanepoel, Barrie; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] pdf over https in ie8

Barrie:

There is a similar problem with older versions of Firefox  (I don't recall 
which releases, but it crosses http and https) and PDFs that are greater than 
5MB.   That's something that we encountered at Cornell University.

One thing you may want to consider is setting the Content Inline Disposition 
Threshold in the dspace.cfg to force the users to download the bitstream 
instead of viewing it inline.  That wouldn't fix your problem, but at least the 
content would be available to anyone no matter what browser they are using.

At Cornell University we have set this value to:
webui.content_disposition_threshold = 500 
xmlui.content_disposition_threshold = 500

so that anyone trying to view a PDF greater than 5MB gets a message asking them 
if they want to view the item or download it.

You could set that  number lower to handle all your PDFs.  I know that's not a 
perfect situation, but it could give you a temporary workaround until some 
better solution comes up.

Best wishes

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


-Original Message-
From: barries [mailto:barr...@uj.ac.za]
Sent: Thursday, December 01, 2011 12:15 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] pdf over https in ie8

I dont seem to be getting any feedback.

I presume nobody has experienced this yet?

--
View this message in context: 
http://dspace.2283337.n4.nabble.com/pdf-over-https-in-ie8-tp4106520p4126994.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] pdf over https in ie8

2011-11-24 Thread Swanepoel, Barrie
Hi list

We have just upgraded to dspace 1.7.2. Also we are running on Redhat 6 ES.

Everything is fine and actually works well. But...

We also installed an ssl certificate from Thawte in order to have secure 
connections. This works well but...

Users with Windows xp and ie8 cannot open the pdf's over this secure 
connection. It only provides an empty page.

This seems to be a well-known issue with ie8 and pdf over https.

I have tried some of the solutions proposed on for instance the pdf forums, but 
they don't work.

Installing firefox solves the issue but is not possible for all user over the 
world. ( I am thinking of placing a disclaimer on our site saying that we only 
support firefox, opera , but not ie8. Scary...)

Has anyone  experienced this? Any quick fixes that work for ie8?

I searched the dspace tech forum but could not find anything specific from the 
dspace community.

Thanks in advance.

Barrie Swanepoel
Systems Administrator
University of Johannesburg
Library and Information Centre
PO Box 524
Auckland Park
Johannesburg
Republic of South Africa
Tel: +27 11 559 2347
Cell: 082 565 7743

[Description: UJ_emailer_01]




This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za
inline: image001.jpg--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.2 memory errors

2011-11-08 Thread Swanepoel, Barrie
I had a discussion with a developer here and he had me change the startup 
script to:

CATALINA_OPTS=-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs
 -Xmx4096M -Xms2048M -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC 
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled 
-XX:MaxPermSize=512M

It seems fine but off course I have to keep monitoring!

I will appreciate if the list could have a discussion around the optimum memory 
allocations for this as well as the Postgresql.

My situation is: 24 Gb on board.

As you can see -Xmx4096M -Xms2048M for the startup as well as MaxPermSize=512M 
for Perm size.

Also my postgresql.conf is shared_buffers=1024Mb

I see it mentioned that one can take half of onboard mem for the Catalina?

Any thoughts? Will it have any advantages or even disadvantages? (Don’t want to 
waste memory!)

Thanks

Barrie Swanepoel
Systems Administrator
University of Johannesburg
Library and Information Centre
PO Box 524
Auckland Park
Johannesburg
Republic of South Africa
Tel: +27 11 559 2347
Cell: 082 565 7743




-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 08 November 2011 10:57 AM
To: Swanepoel, Barrie
Cc: dspace-tech
Subject: Re: [Dspace-tech] 1.7.2 memory errors

I'm not familiar with the jsvc setup you're using, so I'm not sure which one of 
those java/jsvc processes _actually_ runs dspace. Just to make sure, if you 
already didn't do it, restart the whole server to get rid of any processes from 
your previous configuration. Then you should be fine.

You probably know that now the correct way for you to start/stop/restart dspace 
is to use service dspace start, service dspace start, service dspace 
start respectively.

Regards,
~~helix84



This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.2 memory errors

2011-11-07 Thread Swanepoel, Barrie
 AM
To: Swanepoel, Barrie
Cc: dspace-tech
Subject: Re: [Dspace-tech] 1.7.2 memory errors

Also, your server is definitely overdimensioned, so don't worry about that. 
It's all about how much memory you instruct Tomcat to use. I actually run a 
repository of your size inside a virtual machine with
1024 MB of RAM.

Regards,
~~helix84



This email and all contents are subject to the following disclaimer:

http://disclaimer.uj.ac.za
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] 253038: CreativeCommons.patch

2008-08-11 Thread Swanepoel, Barrie
Hi,

 

 I have problems with getting the Creative Commons submit form to work.

 

I think I need this patch to solve a StringIndexOutOfBoundsException
according to tracker 1824710.

 

Do I just copy the file  CreativeCommons.patch over the existing
CreativeCommons.java and rename?

 

Will this work for version dspace 1.4.1 without issues?

 

Thanks

 

Barrie Swanepoel

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error trying to delete community

2007-11-22 Thread Swanepoel, Barrie
Hi 

 

I am trying to delete an empty community which we created earlier on our
system. I get the following internal server error:

 

An internal server error occurred on 
http://digispace.uj.ac.za:8080/dspace:

 

Date:   07/11/22 02:29

Session ID: 8DE089088EF43383E9075BFBC7136A7A

 

-- URL Was: http://digispace.uj.ac.za:8080/dspace/tools/edit-communities

-- Method: POST

-- Parameters were:

-- action: 2

-- submit: Delete this Community...

-- community_id: 5

 

 

Exception:

org.apache.jasper.JasperException: Unable to compile class for JSP

  at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:572)

  at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:305)

  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

  at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

  at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:672)

  at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:463)

  at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:398)

  at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)

  at
org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91)

  at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditC
ommunitiesServlet.java:190)

  at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.
java:147)

  at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105
)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

  at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnly
Filter.java:98)

  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)

  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)

  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)

  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)

  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)

  at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)

  at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)

  at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)

  at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)

  at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)

  at java.lang.Thread.run(Thread.java:595)

 

 

Seems to be a Java error. I reindexed and vacuumed the database. No
success. Any ideas?

 

 

Barrie Swanepoel

IT Coordinator

Library and Information Centre

University of Johannesburg

PO Box 524 Aucklandpark 2006

Johannesburg

Republic of South Africa

 

Tel +27 11 5592347

Fax +27 11 726 7723

 

Email [EMAIL PROTECTED]

 

 

 

image001.jpg-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error trying to delete community

2007-11-22 Thread Swanepoel, Barrie
Hi 
Sorry for resending, but I send the previous one as html so I do not think 
people read it.

I am trying to delete an empty community which we created earlier on our 
system. I get the following internal server error:

An internal server error occurred on http://digispace.uj.ac.za:8080/dspace:

Date:   07/11/22 02:29
Session ID: 8DE089088EF43383E9075BFBC7136A7A

-- URL Was: http://digispace.uj.ac.za:8080/dspace/tools/edit-communities
-- Method: POST
-- Parameters were:
-- action: 2
-- submit: Delete this Community...
-- community_id: 5


Exception:
org.apache.jasper.JasperException: Unable to compile class for JSP
  at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:572)
  at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
  at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
  at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
  at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91)
  at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:190)
  at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
  at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  at java.lang.Thread.run(Thread.java:595)


Seems to be a Java error. I reindexed and vacuumed the database. No success. 
Any ideas?


Barrie Swanepoel

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handle server problem

2007-07-12 Thread Swanepoel, Barrie
Dspacers

I am a newbie dspace installer!

My dspace server is behind a firewall with the following ports open for
TCP broadcast and receive:

2641 (for the handle protocol)

8080 (for http access to the dspace)server

It seems that there is also a port 8000 needed for http for a handle??
Could you please verify and explain this as I need my firewall
administrator to open this.

I am using a Dspace ver1.4.2 installation (Redhat enterprise server) and
ran the script provided by dSpace to make a config for the handle
server. The dspace.cfg file has the following:

Handle.prefix = 10210

Handle.dir = $(dspace.dir)/handle-server

I am concerned that the config.dct file is empty? Is this normal when
using a dspace handle configuration?

When trying to access a created handle I get the following email :

You submitted: Die honde

To collection: Chemistry

Your submission has been accepted and archived in DSpace,
and it has been assigned the following identifier:
http://hdl.handle.net/10210/6

Please use this identifier when citing your submission.

Many thanks!

UJ DSpace Team

And when trying to follow the provided link:

 


Error - Cannot Connect to Server


The handle you requested -- 

10210/6

-- cannot be found.

Please contact us
mailto:[EMAIL PROTECTED]body=The
%20following%20handle%20was%20not%20found:%0D%0A10210/6%20%0D%0AThe%20re
ferring%20page%20was:%20%0D%0A  if you wish to report this error.
Please include information regarding where you found the handle 



size=1 width=80% noshade color=#aca899 align=center 

 

Handle System Web Site http://www.handle.net/  

Thanks for your help.

Barrie Swanepoel

IT Coordinator

University of Johannesburg

Library  Information Centre

PO Box 524

Aucklandpark

2006

Johannesburg

South Africa

+27 11 559 2347

 

 

 

 

 

 

 

Barrie Swanepoel

IT Coordinator

University of Johannesburg

Library  Information Centre

PO Box 524

Aucklandpark

2006

Johannesburg

South Africa

+27 11 559 2347

 

image001.gif-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech