Re: [Dspace-tech] displaying full titles for pool tasks
Please, always reply to the mailing list. I don't have XMLWorkflow turned on, so I didn't try with that, but removing the ifs works with my regular submission. Perhaps you overlooked that the shortening branch is there 3 times for each of the sections on that page? https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L206-207 https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L292-293 https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L394-395 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Fri, Mar 6, 2015 at 7:22 PM, Bran, Adela adela.b...@gesis.org wrote: Thank you for the reply. Yes, I am sure we are using XMLWorkflow. And I have also tried commenting the ifs which shorten the displayTitle from the other classes, without any success. Any other hints? Best regards, Adela Bran GESIS - Leibniz-Institut für Sozialwissenschaften Computational Social Science Unter Sachsenhausen 6-8, 50667 Köln adela.b...@gesis.org www.gesis.org -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] displaying full titles for pool tasks
I am aware it appears three times: once for the claimed tasks, once for the tasks in the pool and one for all the submissions that this user has submitted which are currently under review. I have commented out all of them, still without any success. Except packaging and updating the code, is there anything else I need to do? Thanks. Best, Adela From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] on behalf of helix84 [heli...@centrum.sk] Sent: Saturday, March 07, 2015 10:19 AM To: Bran, Adela Cc: dspace-tech Subject: Re: [Dspace-tech] displaying full titles for pool tasks Please, always reply to the mailing list. I don't have XMLWorkflow turned on, so I didn't try with that, but removing the ifs works with my regular submission. Perhaps you overlooked that the shortening branch is there 3 times for each of the sections on that page? https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L206-207 https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L292-293 https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java#L394-395 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Fri, Mar 6, 2015 at 7:22 PM, Bran, Adela adela.b...@gesis.org wrote: Thank you for the reply. Yes, I am sure we are using XMLWorkflow. And I have also tried commenting the ifs which shorten the displayTitle from the other classes, without any success. Any other hints? Best regards, Adela Bran GESIS - Leibniz-Institut für Sozialwissenschaften Computational Social Science Unter Sachsenhausen 6-8, 50667 Köln adela.b...@gesis.org www.gesis.org -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] displaying full titles for pool tasks
I only do a mvn package in [dspace-source], so maybe that is the issue. I will see if ant-update solves the issue on Monday. Thanks. Best regards, Adela GESIS - Leibniz-Institut für Sozialwissenschaften Computational Social Science Unter Sachsenhausen 6-8, 50667 Köln From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] on behalf of helix84 [heli...@centrum.sk] Sent: Saturday, March 07, 2015 11:50 AM To: Bran, Adela Cc: dspace-tech Subject: Re: [Dspace-tech] displaying full titles for pool tasks On Sat, Mar 7, 2015 at 11:03 AM, Bran, Adela adela.b...@gesis.org wrote: I am aware it appears three times: once for the claimed tasks, once for the tasks in the pool and one for all the submissions that this user has submitted which are currently under review. I have commented out all of them, still without any success. Except packaging and updating the code, is there anything else I need to do? Thanks. Are you sure that you're using the full rebuild? In general, you should run maven from [dspace-source], not in [dspace-source]/dspace/. https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease The procedure is: mvn package (in [dspace-source]) ant update (in [dspace-source]/dspace/target/dspace-installer/) restart tomcat If you're switching between DSpace releases or working with the master branch, do a mvn clean package to avoid multiple versions of the same .jar being present in the build, in which case it's generally unpredictable which version tomcat will pick up. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] (no subject)
Sincerely yours, Spiros Skevas On Thu, Mar 5, 2015 at 12:36 AM, Skevas Spiridon ros...@gmail.com wrote: I've installed the dspace and when i go to browse Authors or By Issue Date or Titles as Administrator i get an error. This happens also when i try to browse Private Items or Withdraw items again as administrator.What happens? stacktrace is: pre id=stacktracejava.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:365) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1582) at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189) at org.dspace.browse.SolrBrowseDAO.doCountQuery(SolrBrowseDAO.java:230) at org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:761) at org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:721) at org.dspace.browse.BrowseEngine.browseByItem(BrowseEngine.java:264) at org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:100) at org.dspace.app.xmlui.aspect.administrative.WithdrawnItems.getBrowseInfo(WithdrawnItems.java:719) at org.dspace.app.xmlui.aspect.administrative.WithdrawnItems.addBody(WithdrawnItems.java:237) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy27.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy27.startElement(Unknown Source) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy27.startElement(Unknown Source) at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at
Re: [Dspace-tech] displaying full titles for pool tasks
On Sat, Mar 7, 2015 at 11:03 AM, Bran, Adela adela.b...@gesis.org wrote: I am aware it appears three times: once for the claimed tasks, once for the tasks in the pool and one for all the submissions that this user has submitted which are currently under review. I have commented out all of them, still without any success. Except packaging and updating the code, is there anything else I need to do? Thanks. Are you sure that you're using the full rebuild? In general, you should run maven from [dspace-source], not in [dspace-source]/dspace/. https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease The procedure is: mvn package (in [dspace-source]) ant update (in [dspace-source]/dspace/target/dspace-installer/) restart tomcat If you're switching between DSpace releases or working with the master branch, do a mvn clean package to avoid multiple versions of the same .jar being present in the build, in which case it's generally unpredictable which version tomcat will pick up. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Dspace 5.1 installation failed
Dear team, I'm trying to install dspace 5.1 on Ubuntu server LTS 14.4.01 64bit. I used apt-get command to install OpenJDK 7, Tomcat, postgresql, mvn, ant. The version of OpenJDK and Tomcat: OpenJDK 7u75, Tomcat 7.0.52.0 My problem is: I always got problem when deploying rest. Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2271) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140) at java.util.jar.JarInputStream.getBytes(JarInputStream.java:113) at java.util.jar.JarInputStream.checkManifest(JarInputStream.java:94) at java.util.jar.JarInputStream.init(JarInputStream.java:86) at java.util.jar.JarInputStream.init(JarInputStream.java:62) If I remove rest from webappst, everything was ok. I can access web interface, login and perform all administration tasks (there is only 1 issue in jspui: The recently added item doesn't appear) I did some research and found that: This problem happens when the server doesn't have enough memory (describer in parameter: Xmx) for Tomcat to deploy 1 application. But my server is 8Gb of memory and I tried many ways to setup Tomcat option to increase Xms, Xmx, MaxPermSize.. Below are some commands that I tested: Export TOMCAT_OPTS=-Xms6144M -Xmx6144M -XX:MaxPermSize=512M Export JAVA_OPTS=-Xms6144M -Xmx6144M -XX:MaxPermSize=512M export CATALINA_OPTS=-Xms6144M -Xmx6144M -XX:MaxPermSize=512M I don't know why REST application requires so much memory like that and I really want to know how much memory is enough for REST. From the wiki, high end dspace system only requires 8Gb: https://wiki.duraspace.org/display/DSPACE/EndUserFaq#EndUserFaq-Whatsortofha rdwaredoesDSpacerequire%3FWhataboutsizingtheserver%3FHowmuchdiskspacedoIneed %3F Could someone help me on this? I really appreciate your help. Thanks, Phong -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette