Some more remarks...
You said you are using IBM Java 1.5. There are two problems.
1. The error log said you are using 1.3. That means you have another 1.3 
java for running your tomcat instance. Or you have added a parameter to 
enforce your 1.5 java to act like a 1.3 java.
2. Use only Sun's java. IBM's java may not be 100% compatible with Sun's.

Hope it helps.

Allen Lam.
HKU Hub Administrator, http://hub.hku.hk


Brouns, Francis wrote:
> Hi all,
>
> We are trying to install Dspace 1.5.2 on a Linux SLES server, using Oracle as 
> database. After some initial problem with database setup, I now can create 
> communities and collection and submit an item. However, when I try to access 
> MyDSpace to take the workflow task, I get an Internal System error. The 
> webpage source lists 2 errors while compiling /mydspace/main_jsp
>
> Could this be related to the Java version we are running? We are running IBM 
> Java 1.5.
>
> ---------
>
>         <!--
>     Unable to compile class for JSP
>
> An error occurred at line: 78 in the jsp file: /mydspace/main.jsp
> Generated servlet error:
> /srv/www/tomcat5/base/work/Catalina/localhost/jspui/org/apache/jsp/mydspace/main_jsp.java:132:
>  generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
>     List<String> exportsAvailable = 
> (List<String>)request.getAttribute("export.archives");
>         ^
>
>
> An error occurred at line: 448 in the jsp file: /mydspace/main.jsp
> Generated servlet error:
> /srv/www/tomcat5/base/work/Catalina/localhost/jspui/org/apache/jsp/mydspace/main_jsp.java:805:
>  for-each loops are not supported in -source 1.3
> (try -source 1.5 to enable for-each loops)
> for(String fileName:exportsAvailable){
>                    ^
> 2 errors
> -------------
>
> Kind regard,
> Francis Brouns
> Open Universiteit Nederland
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to