HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved

980 views
Skip to first unread message

Mohamad CHAITOU

unread,
Jan 2, 2016, 1:49:00 PM1/2/16
to DSpace Technical Support
Dear All,

I have been struggling since a week to solve this problem without success.
I installed Dspace CRIS (4.x.x) on ubuntu inside a vmware virtual machine. Everything has compiled successfully. However, when I try to invoke Dspace from tomact it gives me the following error (plz see below).
It seems that the uri
http://www.dspace.org/dspace-tags.tld is not active (I tried to open it from browser but i gives HTTP error 404).
Please find below the error details and the specifications of my installation.


HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or the jar files deployed with this application

type Exception report

message The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or the jar files deployed with this application

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or the jar files deployed with this application
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:56)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:445)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:117)
    org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:311)
    org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:152)
    org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410)
    org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1427)
    org.apache.jasper.compiler.Parser.parse(Parser.java:138)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
Apache Tomcat/7.0.42

Installation specification
apache-ant-1.8.4
apache-maven-3.0.4
apache-tomcat-7.0.42
psql (PostgreSQL) 9.4.5
Oracle JDK 7 (1.7.0_79)


Thanks in advance,
Mohamad Chaitou

a.bollini

unread,
Jan 2, 2016, 3:25:15 PM1/2/16
to Mohamad CHAITOU, DSpace Technical Support
Dear Mohamad,
the absolute uri that you refer is only for internal reference of the application and it doesn't need to exist at all.
Can you check if additional information are available in the catalina.out at the starting of tomcat? A dspace-tags.tld file should be present in the unpackaged jspui webapp.
It could be related to an issue with files permission.
Hope this help,
Andrea 



Inviato dal mio dispositivo Samsung


-------- Messaggio originale --------
Da: Mohamad CHAITOU <mohamad...@gmail.com>
Data: 02/01/2016 19:49 (GMT+01:00)
A: DSpace Technical Support <dspac...@googlegroups.com>
Oggetto: [dspace-tech] HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Mohamad CHAITOU

unread,
Jan 2, 2016, 4:27:11 PM1/2/16
to DSpace Technical Support, mohamad...@gmail.com, a.bo...@cineca.it
Dear Andrea,

The file dspace-tags.tld exists well in the WEB-INF directory:

net@ubuntu:~/apache-tomcat-7.0.42/webapps/ROOT/jspui/WEB-INF$ ls | grep tld
dspace-tags.tld
fmt.tld
researcher.tld
stats.tld

Even though, the error occurs.

I had no permission issues (I executed all commands using sudo, even firefox I started it using gksudo)

Tomcat runs normally. Below is what I get when I start tomcat:

Jan 02, 2016 1:14:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 759 ms
Jan 02, 2016 1:14:24 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 02, 2016 1:14:24 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Jan 02, 2016 1:14:24 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/manager
Jan 02, 2016 1:14:41 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [17,308] milliseconds.
Jan 02, 2016 1:14:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/ROOT
Jan 02, 2016 1:14:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/host-manager
Jan 02, 2016 1:14:42 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/examples
Jan 02, 2016 1:14:42 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/docs
Jan 02, 2016 1:14:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8090"]
Jan 02, 2016 1:14:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18435 ms

Any clues ?

Thanks!

a.bollini

unread,
Jan 3, 2016, 3:53:55 AM1/3/16
to Mohamad CHAITOU, DSpace Technical Support
Hi Mohamed,
you need to move the jspui folder outside the ROOT directory or, alternatively, move the content of the jspui folder inside the ROOT folder i.e. one of the following path need to exists
/apache-tomcat-7.0.42/webapps/jspui/WEB-INF

Or
/apache-tomcat-7.0.42/webapps/ROOT/WEB-INF

If you go for the second option (preferred) you will be able to reach the dspace webapp without using the jspui path in the browser
I.e
Xxx.xxx.xxx.xxx:8080/

Andrea


Inviato dal mio dispositivo Samsung


-------- Messaggio originale --------
Da: Mohamad CHAITOU <mohamad...@gmail.com>
Data: 02/01/2016 22:27 (GMT+01:00)
A: DSpace Technical Support <dspac...@googlegroups.com>
Cc: mohamad...@gmail.com, a.bo...@cineca.it
Oggetto: Re: [dspace-tech] HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved

Mohamad CHAITOU

unread,
Jan 3, 2016, 2:31:47 PM1/3/16
to DSpace Technical Support, mohamad...@gmail.com, a.bo...@cineca.it
Dear Andrea,

I moved the jspui folder outside the ROOT. Below is the content of tomcat webapps folder (I moved folder ROOT outside tomcat webapps, and I copied all the content of dspcae webapps folder inside tomcat webapps folder)

net@ubuntu:~/apache-tomcat-7.0.42/webapps$ ls
docs  examples  host-manager  jspui  manager  oai  rest  solr  sword  swordv2  xmlui

I tried to run tomact but I faced java.lang.OutOfMemoryError: Java heap space error, which I solved by adding the line CATALINA_OPTS="-Xmx1024m -Xms1024m -XX:MaxPermSize=512m" at the top of tomcat/bin/catalina.sh and by increasing the default heap values into [dspace]/bin/dspace (I modified JAVA_OPTS to: JAVA_OPTS=-Xmx1024m -Xms1024m -XX:MaxPermSize=512m).

Now I managed to run dspace correctly after I made the above changes. However, I faced another issue!

The home dspace page opens normally (localhost:8080/jspui), but I do not see the administration link (administer-> cris module). In addition, I invoked the command:
psql -h localhost -d dspace -U dspace -f [dspace]/etc/postgres/base-configuration-crismodule.sql

But I see no database on
localhost:8080/jspui even though I checked that a database called dspace has been well created into postgresql for user dspace.

I can do nothing with the home page (it is empty) and if I try to create an account (by clicking on Sign on to Dspace on the right top corner of the page), It prompts me to enter an email/password.
I placed those of the administrator account I created during the installation procedure but It claims that email and passwd are not valid.
Even If I want to register for a new account (from the page itself) It kicked me with an Internal error!

Any help is appreciated, thank you in advance!
Mohamad

Andrea Bollini

unread,
Jan 4, 2016, 6:43:22 AM1/4/16
to Mohamad CHAITOU, DSpace Technical Support
Dear Mohamad,
you are very close to have a running dspace installation, so stay strong.
The email and password that you have entered during the setup process should work.
If no, you could have noted them wrongly or maybe the account creation is failed.
Anyway, you can try to reset your password using the forget password link in the login screen. If you get an internal error or if you don't receive any email you could have setup wrongly the mail server, see
https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-DSpaceEmailSettings

Another option is to create a new administrative account, go to the [dspace-installdir]/bin folder and execute
./dspace create-administrator

if you face with other errors please be sure to include the stack trace from your dspace.log files and/or catalina.out

Best,
Andrea
-- 
Andrea Bollini
International Business Development, Deputy Leader
Open Source & Open Standards Strategy, Head
Cineca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it 

Mohamad CHAITOU

unread,
Jan 5, 2016, 2:22:11 PM1/5/16
to DSpace Technical Support
Hi Andrea,

1) First I tried to create a new admin account using create-administrator . I got an exception:
Exception: null
java.lang.NullPointerException
    at java.util.regex.Matcher.getTextLength(Matcher.java:1234)
    at java.util.regex.Matcher.reset(Matcher.java:308)
    at java.util.regex.Matcher.<init>(Matcher.java:228)
    at java.util.regex.Pattern.matcher(Pattern.java:1088)
    at org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.java:507)
    at org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:475)
    at org.dspace.eperson.Group.find(Group.java:688)
    at org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdministrator.java:239)
    at org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails(CreateAdministrator.java:216)
    at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:82)
    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.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
    at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

2) I have a local SMTP (exim4) and IMAP (dovecot) servers running well on my localhost (I can use them to send my local account without problems). But Dspace does not
send any email when I click on forgot password (It gives internal error).
It seems that dspace cannot use the local SMTP server.

3) Below my catalina.log

INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Jan 04, 2016 11:24:16 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/manager
Jan 04, 2016 11:24:40 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [23,312] milliseconds.
Jan 04, 2016 11:24:40 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/host-manager
Jan 04, 2016 11:24:40 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/examples
Jan 04, 2016 11:24:40 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/jspui
Jan 04, 2016 11:24:41 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/net/apache-tomcat-7.0.42/webapps/jspui/WEB-INF/lib/jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Jan 04, 2016 11:24:53 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Jan 04, 2016 11:25:11 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory /home/net/apache-tomcat-7.0.42/webapps/docs
Jan 04, 2016 11:25:11 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 04, 2016 11:25:11 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 04, 2016 11:25:11 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 54954 ms
Jan 04, 2016 11:25:21 AM org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

4) If I want to change something in the dspace.cfg (I want to try another SMTP server). Should I modify build.properties and rebuild dspace from scratch ? or can I edit dspace.cfg manually ?

5) The administration link is absent on my home dspace page

Any advice will be surely helpful,
Thanks!
Mohamad

Andrea Bollini

unread,
Jan 6, 2016, 11:22:19 AM1/6/16
to Mohamad CHAITOU, DSpace Technical Support
Hi Mohamad,
1) are you sure that the dspace database has been setup sucessful? what do you see if you try to access it using pgadmin or another GUI? how many tables? do you have any rows in the epersongroup, metadatafieldregistry, cris_rp_pdef tables?

 2) you can test the email configuration using the command
[dspace-installDir]/bin$
./dspace dsrun org.dspace.core.Email

if it doesn't work check your dspace.cfg configuration
https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-DSpaceEmailSettings

3) there are no errors in the tomcat startup, you can now focus on the dspace log files

4) to fast test a configuration change you can apply your changes directly to the dspace.cfg and the other files in the configuration folder but it is better to keep track of them in the build.properties file or in the corresponding source file when the change is not possible trough the build.properties so to preserve them in case of a rebuild of the system. Don't forget to restart tomcat to make active a configuration changes. Without restart changes to the dspace.cfg or other configuration files are not visible

5) the administration link appears only after a successful login with an administrator account

Andrea
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Mohamad CHAITOU

unread,
Jan 8, 2016, 2:33:51 PM1/8/16
to DSpace Technical Support, mohamad...@gmail.com, a.bo...@cineca.it
Hi Andrea,

I tested the email configuration and it is OK (I received the test email sent from dspace to my gmail account).

Then, I tried to log in to dspace using my admin account but it did not work as usual. Hence, following your advice I clicked on "forgot password" and I placed my gmail address which I previously tested successfully. I received nothing.
I examined the dspace log file (please see below); It seems that the problem comes from postgresql. It claims that eperson relation does not exist.
Using pgAdmin I examined the database "dspace": I found 90 tables (the majority of them begin by cris). However, I did not found epersongroup and metadatafieldregistry tables (though I found cris_rp_pdef table which has 20 columns but with no rows).

Thanks!
Mohamad

Below is my dspace.log:


2016-01-08 11:02:36,601 INFO  org.dspace.authenticate.PasswordAuthentication @ anonymous:session_id=9D7C3E48034CBFE34449B57211F17B82:ip_addr=127.0.0.1:authenticate:attempting password auth of user=xxxx
2016-01-08 11:02:36,601 INFO  org.dspace.app.webui.servlet.PasswordServlet @ anonymous:session_id=9D7C3E48034CBFE34449B57211F17B82:ip_addr=127.0.0.1:failed_login:email=xxxx, result=4
2016-01-08 11:04:00,101 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ anonymous:session_id=9D7C3E48034CBFE34449B57211F17B82:ip_addr=127.0.0.1:database_error:org.postgresql.util.PSQLException\colon; ERROR\colon; relation "eperson" does not exist
  Position\colon; 15
org.postgresql.util.PSQLException: ERROR: relation "eperson" does not exist
  Position: 15
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
    at org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:223)
    at org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseManager.java:364)
    at org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.java:513)
    at org.dspace.eperson.EPerson.findByEmail(EPerson.java:193)
    at org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:222)
    at org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
    at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
    at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Mohamad CHAITOU

unread,
Jan 14, 2016, 8:41:37 AM1/14/16
to DSpace Technical Support
Hi,
Do you have any clues about the solution to this problem? Should I delete the database and add again?

Thanks in advance,

Kamal Beydoun

unread,
Feb 9, 2016, 4:35:09 AM2/9/16
to DSpace Technical Support
Dear all,
We really need to complete this installation but we still face this problem.
Thanks in advance.
Kamal Beydoun

Andrea Bollini

unread,
Feb 9, 2016, 8:23:40 AM2/9/16
to Kamal Beydoun, DSpace Technical Support
Dear Kamal,
can you specify better which is your current issue?
the issue in the subject was due to the wrong copy of the jspui webapp inside the ROOT webapp folder of tomcat. Restoring the right location you colleague Mohamad has reported that the problem go away.
After that you have said to have some issue with the database, with some DSpace fundamental tables missing so I really suggest you to start from scratch with a new installation following all the steps of the installation process.
If you want to install DSpace-CRIS please use the latest code from github
https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris

git clone https://github.com/Cineca/DSpace --branch dspace-5_x_x-cris
edit the build.properties file according to your environment
mvn package
cd [dspace-source]/dspace/target/dspace-installer
ant fresh_install

when the installation is completed to load the default cris configuration run two times this command
[dspace-installdir]/bin$ dspace load-cris-configuration -f ../etc/configuration-tool-demo.xls

Let me know if the new installation succeed.

Andrea
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Chao Ma

unread,
Mar 30, 2016, 9:04:08 PM3/30/16
to DSpace Technical Support

Dear Mohamad,

I am a student from JLU University in China. I encountered the same error as yours. Would you solve the problem? Please teach me.

My English is poor. Please don't mind.

Thanks in advance,
Chao Ma.

在 2016年1月3日星期日 UTC+8上午2:49:00,Mohamad CHAITOU写道:

Chao Ma

unread,
Mar 30, 2016, 9:25:07 PM3/30/16
to DSpace Technical Support, kamal....@gmail.com, a.bo...@cineca.it
Dear Andrea,

I have ran the command
[dspace-installdir]/bin$ dspace load-cris-configuration -f ../etc/configuration-tool-demo.xls
and it appears an error.
But when I change the relative path to the absolute path,the command has worked.

However the error  still exists.

HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or the jar files deployed with this application

type Exception report

message The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or the jar files deployed with this application

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: The absolute uri: http://www.dspace.org/dspace-tags.tld
 cannot be resolved in either web.xml or the jar files deployed with this application
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:56)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:445)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:117)
	org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:325)
	org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:154)
	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:419)
	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:484)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1421)
	org.apache.jasper.compiler.Parser.parse(Parser.java:138)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
	org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.68 logs.


I have tried two versions (DSpace-dspace-cris-5.4.0 and DSpace-dspace-5_x_x-cris)


Installation specification

apache-ant-1.9.6

apache-maven-3.3.9

apache-tomcat-7.0.68

JDK-1.8.0_73

pgsql-9.4.5


Please help me.


I am a Chinese student. My English is poor. Please don't mind.


Thank you very much,

Chao Ma.



在 2016年2月9日星期二 UTC+8下午9:23:40,Andrea Bollini写道:

a.bollini

unread,
Mar 31, 2016, 2:15:28 AM3/31/16
to Chao Ma, DSpace Technical Support, kamal....@gmail.com, DSpace Technical Support
Dear Chao,
If possible use the dspace-5_x_x-cris branch to rely on the latest code.

You have probably copied the jspui folder in the wrong location. It needs to go inside the tomcat webapps folder at the  same level than ROOT, manager and other sample applications provided with tomcat.

Finally,  be sure to add the -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true parameter to the tomcat startup

and remember to execute the load-cris-configuration command two times as noted in the documentation

Let me know how this proceed,
Andrea 


Inviato dal mio dispositivo Samsung


-------- Messaggio originale --------
Da: Chao Ma <mach...@gmail.com>
Data: 31/03/2016 03:25 (GMT+01:00)
A: DSpace Technical Support <dspac...@googlegroups.com>
Cc: kamal....@gmail.com, a.bo...@cineca.it
Oggetto: Re: [dspace-tech] Re: HTTP Status 500 - The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved

Walter Rutherford

unread,
Feb 16, 2017, 2:14:14 PM2/16/17
to DSpace Technical Support, mohamad...@gmail.com, a.bo...@cineca.it
Thank you - that was the solution to the last problem I was having, I moved xmlui up one directory level.
Well, actually I created symlinks to ROOT/xmlui and ROOT/jspui from the ROOT level. That feels like a
kludge but it worked. I'll have to test to see if anything else needs to move or be symlinked.

I don't think I did anything wrong during the configuration steps, so why would the DSpace installation
software put the necessary directories where they aren't accessible? Your post is from over a year ago
and I just installed DSpace6, the current release. But to finally get it to work I had to upgrade Tomcat
and openJDK to the newest releases and start fresh. So I suspect the installation documentation hasn't
quite caught up with the current version of DSpace.

天启崇祯

unread,
Mar 3, 2017, 11:28:07 PM3/3/17
to DSpace Technical Support
Dear  every people struggling in this problem:
    First,I have this problem for some time.I install tomcat8 in my virtualbox machine.It is a debian8 linux system.
I use the debian8's version tomcat8.It is build in debian8. I just copy everything in directory of my dspace webapps to 
/var/lib/tomcat8/webapps/ROOT according to the official tutorial,which is default web root directory for debian8 tomcat.
And i have the trouble above i said.
   I look over the tutorial again and i find a wrong i made,which i copy the content to wrong directory.And then I delete things in ROOT
directory,copying things in dspace webapps to /var/lib/tomcat8/webapps,that is tomcat's webapps directory.And then I restart the service of
tomcat8. I have a new problem when i view the tomcat logs----catalina.out. It's like this-----java.lang.OtOfMemoryError: Java heap space.
I set the environment variable JAVA_OPTS according the toturial and it isn't work. Thinking a lot,I consider that it's a bug for tomcat8 built in debian8.
So,I remove my tomcat in debian and install new tomcat release version----tomcat8_5.I do every step according the tutorial with new tomcat,and i start 
the service.God bless me,it is work!----install dspace6 in debian 8 success!
    Hope to help you! 
Reply all
Reply to author
Forward
0 new messages