I had the same thought and have just installed it in Tomcat and it is up and 
working.

Thanks for the help.

Alastair

From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it]
Sent: 29 May 2015 09:56
To: Duncan, Alastair (STFC,RAL,SC)
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace-cris

Hi Alastair,

Server:Jetty(9.2.9.v20150224)
Sorry, but Jetty is not fully supported by DSpace-CRIS (see 
http://cineca.github.io/dspace-cris/installation-stepbystep.html we suggest use 
of Tomcat).
DSpace support Jetty but DSpace-CRIS uses an advanced configuration of the 
spring mvc framework and surely there is a little issue with the resolution of 
the path that match an url (see 
https://github.com/Cineca/DSpace/blob/dspace-4_x_x-cris/dspace-cris/jspui-webapp/src/main/webapp/WEB-INF/springmvc-rp-servlet.xml).
If you have time to work for fully compliance with Jetty in DSpace-CRIS you are 
welcome!

Best,

Luigi Andrea
Il 29/05/2015 09:50, 
alastair.dun...@stfc.ac.uk<mailto:alastair.dun...@stfc.ac.uk> ha scritto:
Hi Luigi,

On both of the urls I get document not found. I've logged in as administrator 
and from the chrome developer tools you can see I've navigated from 
http://<hostname> /jspui/cris/administrator/rp/index.htm
I've removed the hostname and ip address.

Remote Address:<ipaddress>:80
Request URL:http://< hostname >/jspui/cris/administrator/rp/listTabs.htm
Request Method:GET
Status Code:404 /jspui/dspace-cris//tabs/tabList.jsp

Response Headers
view source
Content-Language:en-GB
Content-Type:text/html; charset=UTF-8
Server:Jetty(9.2.9.v20150224)
Transfer-Encoding:chunked

Request Headers
view source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Connection:keep-alive
Cookie:JSESSIONID=15ns92zschful14giohx8r3seg
Host:< hostname>
Referer:http://< hostname >/jspui/cris/administrator/rp/index.htm

I suspect the internal server error may have been a cut paste error by me :-/ 
but the document not found error can't be as I'm navigating via the user 
interface.

Thanks

Alastair

From: Pascarelli Luigi Andrea [mailto:l.pascare...@cineca.it]
Sent: 28 May 2015 17:05
To: Duncan, Alastair (STFC,RAL,SC)
Cc: dspace-tech@lists.sourceforge.net<mailto:dspace-tech@lists.sourceforge.net>
Subject: Re: [Dspace-tech] DSpace-cris

Hi Alastair,

from the stacktrace I see that you have a strange call to the controller that 
manages the metadata configuration of DSpace-CRIS entities.

I try to explain better.
First, I think you trying to reach "createTabs.htm" page directly and the logs 
error show this:


                at 
org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.extractDynamicObject(DynamicObjectDetailsController.java:238)
                at 
org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.handleDetails(DynamicObjectDetailsController.java:79)
Whoops, this controller manages the details of dynamic entities but there is 
another controller that does the createTabs work under the scene.

Try to log in with an administrator user and hit from the browser this url 
(please change host:port with your and remove jspui if you have another context 
settings for the jspui webapp):
http://host:port/jspui/cris/administrator/rp/listTabs.htm
http://host:port/jspui/cris/administrator/rp/createTabs.htm
This should be the correct url to list or create the tabs for Researcher 
Profile. I'm assuming that you writing the url directly but this issue happens 
also if you reach the page using administration links? (Administer-> Cris 
Module-> Researchers Pages -> Layout configuration (Public view))

Note that the error that you are reporting will be shown also if you remove the 
code of the entity (rp, pj, ou, journals, etc..) from url
e.g /jspui/cris/administrator//listTabs.htm (missing "rp" should be shown 
"Document not found" and the error reported in your stacktrace).
Let me know.

Luigi Andrea
Il 28/05/2015 15:37, 
alastair.dun...@stfc.ac.uk<mailto:alastair.dun...@stfc.ac.uk> ha scritto:
Sending again as I was not registered on the mailing list :-O

Alastair

From: Duncan, Alastair (STFC,RAL,SC)
Sent: 28 May 2015 09:54
To: 'Andrea Bollini'
Cc: 'dspace-tech'
Subject: RE: DSpace-cris

Hi Andrea,

Sorry this is an installation behind a firewall, I'm looking at it to see if it 
is suitable for our needs.

The listTabs.htm causes a document not found error to be displayed in the 
browser with nothing in the log files :

Error: Document Not Found

The createTabs.htm causes an InternalSystemError to be displayed in the browser 
with this exception in the log files snipped to show the cause :

Caused by: java.lang.IllegalArgumentException: id to load is required for 
loading
                at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:87)
                at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:59)
                at 
org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2421)
                at org.hibernate.internal.SessionImpl.get(SessionImpl.java:974)
                at 
it.cilea.osd.common.dao.impl.GenericDaoHibernateImpl.read(GenericDaoHibernateImpl.java:85)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                at 
it.cilea.osd.common.dao.impl.NamedQueryIntroductionAdvisor$1.invoke(NamedQueryIntroductionAdvisor.java:94)
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                at com.sun.proxy.$Proxy234.read(Unknown Source)
                at 
it.cilea.osd.common.service.PersistenceService.get(PersistenceService.java:163)
                at 
it.cilea.osd.common.service.PersistenceService$$FastClassByCGLIB$$b40d0435.invoke(<generated>)
                at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
                at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
                at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
                at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
                at 
org.dspace.app.cris.service.ApplicationService$$EnhancerByCGLIB$$63de70c9.get(<generated>)
                at 
org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.extractDynamicObject(DynamicObjectDetailsController.java:238)
                at 
org.dspace.app.webui.cris.controller.DynamicObjectDetailsController.handleDetails(DynamicObjectDetailsController.java:79)
                at 
it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116)
                at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
                at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
                at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
                at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
                at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
                ... 33 more

Alastair

From: Andrea Bollini [mailto:a.boll...@cineca.it]
Sent: 28 May 2015 08:46
To: Duncan, Alastair (STFC,RAL,SC)
Subject: Re: DSpace-cris

Hi Alastair,
as we want to keep DSpace-CRIS as close as possible to the mainstream DSpace 
community we have decided to not setup a dedicated mailing list.
To get support you can write directly to the dspace-tech mailing list 
(dspace-tech 
<dspace-tech@lists.sourceforge.net><mailto:dspace-tech@lists.sourceforge.net>), 
put dspace-cris somewhere in the subject is enough to get folks from Cineca or 
other users of DSpace-CRIS aware of your request.

The issue that you report is something new, we have never seen this kind of 
problem and it looks really strange to me that a .jsp page is directly accessed.

The url of the admin pages are
<dspace-cris-url>/cris/administrator/rp/listTabs.htm
<dspace-cris-url>/cris/administrator/rp/createTabs.htm

Is your installation publicly accessible? feel free to include dspace-tech in 
cc in your reply.

Andrea

Il 27/05/2015 17.42, 
alastair.dun...@stfc.ac.uk<mailto:alastair.dun...@stfc.ac.uk> ha scritto:
Hi Andrea,

I hope you don't mind me contacting you directly but I've not found a forum 
where I can post my query.

I'm interested in the DSpace cris that you have created and I have installed it 
using the instructions on the github website. It is up and running but I have a 
problem accessing some of the administration pages. I can access

/jspui/cris/administrator/rp/index.htm

but when I try and access the link "Layout configuration (Public view)" I get 
"Error: Document Not Found" I've tried this on different versions 4.1.0, 4.2.0, 
4.3.0 and 5.2.0 with the same results. I suspect something is configured 
incorrectly but I can't see what it is. I have also tried running the 
base-configuration-crismodule.sql script which seems to load the default values 
into the database but I still can't get to the admin pages. Looking with chrome 
developer tools I can see the failing url:

/jspui/dspace-cris//tabs/tabList.jsp

If I remove the extra / then I can get to the page ok but if I click on the 
"Create new tab" link then I get an internal server error which shows as an 
array out of bounds exception in the server logs.

Any help would be appreciated.

Regards

Alastair





--

Andrea Bollini

Soluzioni per la Ricerca Istituzionale

Cineca



Via dei Tizii, 6

00185 Roma, Italy

tel. +39 06 44 486 087 - mob. +39 348 82 77 525

http://www.cineca.it





------------------------------------------------------------------------------





_______________________________________________

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net<mailto: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 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

Reply via email to