Hi Paul

Problem SORTed by upgrading to Tomcat 5.5.26

DSpace 1.5 works fine now :)))

Thanks very much indeed

Clive



> Hi Clive
>
>   AFAIK the problem is something to do with the Eclipse JDT compiler -
> Tomcat versions 5.5.9 or less won't work as is with DSpace 1.5, versions
> 5.5.10 or greater will...
>
>   Cheers
>   Paul
>
> Clive Gould <[EMAIL PROTECTED]> wrote:
>   Hi Paul
>
> And you have DSpace 1.5 running fine on the server?
>
> You reckon I may need to upgrade Tomcat??
>
> Thanks
>
> Clive
>
>
>> Hi Clive
>>
>> It's running java version "1.5.0_01"
>>
>> Cheers
>> Paul
>>
>> Clive Gould wrote:
>> Hi Paul
>>
>> Thanks for the prompt reply :)
>>
>> What version of Java are you running?
>>
>> I'm running
>>
>> [EMAIL PROTECTED] bin]# /usr/java/jdk/bin/java -version
>> java version "1.5.0_04"
>>
>> Thanks :)
>>
>> Clive
>>
>>
>>
>>> Hi Clive
>>>
>>> I think you may need to upgrade to a newer version of Tomcat. I had a
>>> similar issue on my test server - I was running Tomcat 5.5.7 and an
>>> upgrade to version 5.5.26 solved the problem.
>>>
>>> Cheers
>>> Paul
>>>
>>> Clive Gould wrote:
>>> Hi
>>>
>>> I've somewhat solved the problem by manually editing the following
>>> files
>>> to correct the path to dspace.cfg:
>>>
>>> /home/dspace/tomcat/webapps/dspace/WEB-INF/web.xml
>>> /home/dspace/tomcat/webapps/dspace-oai/WEB-INF/web.xml
>>>
>>> Tomcat now starts without any errors and I can see our communities and
>>> collections as expected.
>>>
>>> However when I try to do a search I get an internal error message
>>> generated and the dspace.log file contains:
>>>
>>> 2008-08-11 09:45:08,472 WARN
>>> org.dspace.app.webui.servlet.InternalErrorServlet @
>>> :session_id=7F6C14A4FE8574EE60C1EC7765568F26:internal_error:-- URL Was:
>>> http://testvle.bromley.a
>>> c.uk/dspace/simple-search?query=photo&submit=Go
>>> -- Method: GET
>>> -- Parameters were:
>>> -- submit: "Go"
>>> -- query: "photo"
>>>
>>> org.apache.jasper.JasperException: Unable to compile class for JSP
>>>
>>> An error occurred at line: 234 in the jsp file: /search/results.jsp
>>> Generated servlet error:
>>> Syntax error on token "<", invalid AssignmentOperator
>>>
>>> An error occurred at line: 234 in the jsp file: /search/results.jsp
>>> Generated servlet error:
>>> Syntax error on token "=", != expected
>>>
>>> An error occurred at line: 242 in the jsp file: /search/results.jsp
>>> Generated servlet error:
>>> Syntax error on token(s), misplaced construct(s)
>>>
>>> An error occurred at line: 242 in the jsp file: /search/results.jsp
>>> Generated servlet error:
>>> Syntax error on token ")", : expected
>>>
>>>
>>> at
>>> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
>>> at
>>> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
>>> at
>>> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
>>> at
>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
>>> at
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
>>> at
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>
>>> What Have I got wrong now?
>>>
>>> Thanks all :)
>>>
>>> Clive
>>>
>>>
>>>
>>>> Hi
>>>>
>>>> Can anyone please help?
>>>>
>>>> I'm still trying to upgrade from DSpace 1.4.2 to 1.5.0 on our test
>>>> server.
>>>>
>>>> I get through the complete upgrade process successfully with no
>>>> apparent
>>>> error messages but when I go to our repository home page I get the
>>>> following error message within the DSpace main window:
>>>>
>>>> null >
>>>> Internal System Error
>>>> The system has experienced an internal error. Please try to do what
>>>> you
>>>> were doing again, and if the problem persists, please contact us so we
>>>> can
>>>> fix the problem.
>>>> Leave a message for the null administrators.
>>>> Go to the DSpace home page
>>>>
>>>>
>>>> On checking the tomcat log catalina.out it contains the following
>>>> lines:
>>>>
>>>> INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
>>>> FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
>>>> java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No
>>>> such
>>>> file or directory)
>>>>
>>>> I have double checked /home/dspace/config/dspace.cfg and it all
>>>> appears
>>>> to
>>>> be correctly and fully completed.
>>>>
>>>>
>>>> When I do a grep on /home/dspace/config for dspace.dir I get:
>>>>
>>>> [EMAIL PROTECTED] logs]$ grep -R "dspace.dir" /home/dspace/config/*
>>>> /home/dspace/config/dspace.cfg:dspace.dir = /home/dspace
>>>> /home/dspace/config/dspace.cfg:# log.init.config =
>>>> ${dspace.dir}/config/log4j.xml
>>>> /home/dspace/config/dspace.cfg:# log.init.config =
>>>> ${dspace.dir}/config/log4j-console.properties
>>>> /home/dspace/config/dspace.cfg:#authentication.x509.ca.cert =
>>>> ${dspace.dir}/config/MyClientCA.pem
>>>> /home/dspace/config/templates/apache13.conf: #SSLCertificateFile
>>>> @@dspace.dir@@/etc/https-server-cert.crt
>>>> /home/dspace/config/templates/apache13.conf: SSLCertificateFile
>>>> @@dspace.dir@@/etc/dspace.pem
>>>> /home/dspace/config/templates/apache13.conf: #SSLCertificateKeyFile
>>>> @@dspace.dir@@/etc/https-key.pem
>>>>
>>>> Help please what have I missed??
>>>>
>>>> Thanks in advance :)
>>>>
>>>> Clive
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> 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=100&url=/
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>>
>>
>>
>>
>
>
>


-------------------------------------------------------------------------
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=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to