I copied the dsrun from the old server running 1.5.1 and the 
CreateAdministrator is now working!  
Thanks

-----Original Message-----
From: Kantargis, Susan 
Sent: Thursday, November 12, 2009 4:07 PM
To: Kantargis, Susan; Stuart Lewis
Cc: [email protected] Tech; Swisher, G. Allan; Zaleski, Joseph
Subject: RE: [Dspace-tech] help windows installation

Here is a file compare of dsrun1 1.5.1 and dsrun2 1.5.2:



Comparing files dsrun1.bat and DSRUN2.BAT
***** dsrun1.bat
@REM
@REM Version: $Revision: 1707 $
@REM
@REM Date: $Date: 2006-12-06 20:00:33 -0800 (Wed, 06 Dec 2006) $
@REM
***** DSRUN2.BAT
@REM
@REM Version: $Revision: 3705 $
@REM
@REM Date: $Date: 2009-04-11 19:02:24 +0200 (Sat, 11 Apr 2009) $
@REM
*****

***** dsrun1.bat


***** DSRUN2.BAT

REM If JAVA_OPTS specified, use those options
REM Otherwise, default Java to using 256MB of memory

if "%JAVA_OPTS%"=="" set JAVA_OPTS=-Xmx256m

*****

***** dsrun1.bat

java -Xmx256m -classpath "%DSPACE_CLASSPATH%" %*

***** DSRUN2.BAT

java %JAVA_OPTS% -classpath "%DSPACE_CLASSPATH%" %*

*****

-----Original Message-----
From: Kantargis, Susan [mailto:[email protected]] 
Sent: Thursday, November 12, 2009 3:53 PM
To: Stuart Lewis
Cc: [email protected] Tech; Swisher, G. Allan; Zaleski, Joseph
Subject: Re: [Dspace-tech] help windows installation

"-Xmx512M -Xms64M -Dfile.encoding=UTF-8"

I thought there might have been a space but not.

-----Original Message-----
From: Stuart Lewis [mailto:[email protected]]
Sent: Thursday, November 12, 2009 3:42 PM
To: Kantargis, Susan
Cc: [email protected] Tech; Zaleski, Joseph; Swisher, G. Allan
Subject: Re: [Dspace-tech] help windows installation

Hi Sue,

> E:\dspace\bin>dsrun org.dspace.administer.CreateAdministrator
> Using DSpace installation in: E:\dspace
> -Xms64M was unexpected at this time.

> Environment Variables:
>
> JAVA_HOME C:\Program Files\Java\jdk1.6.0_13 Java_OPTS  "-Xmx512M -
> Xms64M -Dfile.encoding=UTF-8"

Are those two different environment variables that are on the same
line, or has your system somehow put them together?

It looks like your JAVA_HOME or JAVA_OPTS is upsetting the dsrun.bat
script. You have a couple of options, either hardwire the full path to
your java executable and explicitely set JAVA_OPTS in dsrun.bat so
that is doesn't use the environment variable, or remove the
JAVA_HOME / JAVA_OPTS options from your environment variable and put
them in the startup script of whatever Java application it is that
needs it. Unless you know what is making use of those options, it
might be safer to do the first of these.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


Please consider the environment before printing this e-mail.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to