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

Il 05/01/2016 20:22, Mohamad CHAITOU ha scritto:
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*

*On Saturday, January 2, 2016 at 8:49:00 PM UTC+2, Mohamad CHAITOU wrote:

    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
    <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
    <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
    <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
    <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

--
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+unsubscr...@googlegroups.com <mailto:dspace-tech+unsubscr...@googlegroups.com>. To post to this group, send email to dspace-tech@googlegroups.com <mailto:dspace-tech@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
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

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to