[Dspace-tech] Building 1.4.2 on WinXP fails with Malformed \uxxxx encoding

102 views
Skip to first unread message

John Preston

unread,
Aug 24, 2015, 5:13:43 PM8/24/15
to dspac...@lists.sourceforge.net
I'm trying to install DSpace on a Windows XP professional box. When I
come to try and build the sources with ant (1.7.0 or 1.6.1) I get the
following error running "ant fresh_install"

BUILD FAILED

java.lang.IllegalArgumentException: Malformed \uxxxx encoding.

at java.util.Properties.loadConvert(Unknown Source)

at java.util.Properties.load0(Unknown Source)

at java.util.Properties.load(Unknown Source)

at org.apache.tools.ant.taskdefs.Property.loadFile(Property.java:409)

at org.apache.tools.ant.taskdefs.Property.execute(Property.java:345)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:301)

at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:135)

at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:89)

at org.apache.tools.ant.Main.runBuild(Main.java:617)

at org.apache.tools.ant.Main.startAnt(Main.java:183)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)



Total time: 0 seconds

java.lang.IllegalArgumentException: Malformed \uxxxx encoding.

at java.util.Properties.loadConvert(Unknown Source)

at java.util.Properties.load0(Unknown Source)

at java.util.Properties.load(Unknown Source)

at org.apache.tools.ant.taskdefs.Property.loadFile(Property.java:409)

at org.apache.tools.ant.taskdefs.Property.execute(Property.java:345)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:301)

at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:135)

at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:89)

at org.apache.tools.ant.Main.runBuild(Main.java:617)

at org.apache.tools.ant.Main.startAnt(Main.java:183)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

Malformed \uxxxx encoding.


Any ideas what I'm doing wrong? I followed all the instructions from
http://wiki.dspace.org/index.php/DSpaceOnWindows and changed all the
file seperators in the dspace.cfg from "/" to "\".

Also, I already have DSpace running under fedora. Can I just copy a
few things from this installation to the XP box.

LeVan,Ralph

unread,
Aug 24, 2015, 5:13:44 PM8/24/15
to John Preston, dspac...@lists.sourceforge.net
Tossing that error message (java.lang.IllegalArgumentException:
Malformed \uxxxx encoding) at Google, I quickly run into suggestions
that there is an unescaped DOS filename in the properties file.

Did you edit that file and put filenames into it? If so, you need to
either turn the backslashes in the file name into double backslashes or
forward slashes.

Ralph
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Jayan Chirayath Kurian

unread,
Aug 24, 2015, 5:13:46 PM8/24/15
to John Preston, dspac...@lists.sourceforge.net
 
this may be of help for installing DSpace on Windows
 
Jayan


From: dspace-te...@lists.sourceforge.net on behalf of LeVan,Ralph
Sent: Thu 8/9/2007 2:23 AM
To: John Preston; dspac...@lists.sourceforge.net
Subject: Re: [Dspace-tech] Building 1.4.2 on WinXP fails with Malformed\uxxxxencoding

-------------------------------------------------------------------------

John Preston

unread,
Aug 24, 2015, 5:14:08 PM8/24/15
to dspac...@lists.sourceforge.net
Ok. I've got DSpace installed, Tomcat starts without error, and I can
get the page. Thanks to all for this. However when I try to register a
new user, the register page comes back around with the message:

The e-mail address you entered was not recognized.

But there is nothing wrong with the email address. I've looked in the
tomcat log file and I don't see any errors. Why would this message be
sent, and is there any special installation requirements for the email
system on WindowsXP.

John

Peter van Wonderen

unread,
Aug 24, 2015, 5:14:14 PM8/24/15
to John Preston, dspac...@lists.sourceforge.net
You have to register an administrator first.
Open a cmd window
cd [dspace-installation-dir]/bin
dsrun org.dspace.administer.CreateAdministrator

Then you can fill in any email address that you want. I checked it with
a non-existing email address.

Regards,
Peter van Wonderen

Vrije Universiteit
University Library
De Boelelaan 1105
1082 HV Amsterdam
The Netherlands
+31-20-5985112


-----Original Message-----
From: dspace-te...@lists.sourceforge.net
[mailto:dspace-te...@lists.sourceforge.net] On Behalf Of John
Preston
Sent: dinsdag 14 augustus 2007 13:25
To: dspac...@lists.sourceforge.net
Subject: Re: [Dspace-tech] Building 1.4.2 on WinXP fails with
Malformed\uxxxxencoding

Reply all
Reply to author
Forward
0 new messages