Re: [Dspace-tech] Problem with ant update

2013-09-10 Thread helix84
On Tue, Sep 10, 2013 at 8:56 AM, Nemiz, Elvi  wrote:
> After following helix advice to use process monitor, I've discovered what
> could be the cause of my ant update slowing down. Process monitor returned
> an "End of File" result when copying my custom vocabulary. I just removed my
> custom vocabularies from my [dspace-src] and the problem went away. I don't
> know what's the problem with my custom vocabulary since it's working when I
> used it in [dspace]/config/controlled-vocabularies. Thanks for the inputs
> and suggestions guys. More power to you all.

I don't know either why ant cares about your vocabulary, but try to
check whether it's well-formed XML:

xmllint -noout yourvocab.xml

http://code.google.com/p/xmllint/


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem with ant update

2013-09-09 Thread Nemiz, Elvi
Dear All,

After following helix advice to use process monitor, I've discovered what
could be the cause of my ant update slowing down. Process monitor returned
an "End of File" result when copying my custom vocabulary. I just removed
my custom vocabularies from my [dspace-src] and the problem went away. I
don't know what's the problem with my custom vocabulary since it's working
when I used it in [dspace]/config/controlled-vocabularies. Thanks for the
inputs and suggestions guys. More power to you all.

Sincerely,
Elvi



On Mon, Sep 9, 2013 at 5:15 PM, helix84  wrote:

> Hello guys,
>
> I've never encountered this before (ant always takes under 2 minutes
> even on a PC-class machine for me), but from what you two are seeing,
> it seems ant is working extremely slowly. I have two suggestions which
> may or may not help:
>
> 1) Try using a different version of ant. DSpace 3.x declares it needs
> ant 1.8.x, so try both ant 1.9.2 and ant 1.8.0.
> 2) Try finding out what is so slow (it could be a filesystem
> operation, perhaps access-rights related). I don't know what an
> equivalent of strace would be on Windows, but there was a program
> called Process Monitor by Sysinternals that could be useful.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problem with ant update

2013-09-09 Thread Brian Freels-Stendel
Maybe also check how much free space the drive has.  It's been a few Windows 
versions since I've filled up a drive, but it used to have a big impact in 
copying files from one place to another.

B--

-Original Message-
From: Mark H. Wood [mailto:mw...@iupui.edu] 
Sent: Monday, September 09, 2013 6:59 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Problem with ant update

On Mon, Sep 09, 2013 at 09:41:17AM +0800, Nemiz, Elvi wrote:
> Even if I didn't run mvn clean, even if I'm just running a regular mvn 
> package, it takes way too long to finish running ant update. I 
> actually leave ant update running overnight on our production server 
> and the next morning when I checked, the message shows "BUILD 
> SUCCESSFUL Total time: 664 minutes 22 seconds" 11 hours? I don't 
> encounter this kind of promblem when I tried it on an untouched version of 
> dspace.

The first question I would try to answer is:  is ant busy, or is it waiting?  
What does Task Manager's process list show about that?
(What else does it show?  Is the system busy as a whole?)

Is the whole system slow, or just ant?

> I thought maybe some of my
> customizations messed this up? I've set JAVA_OPTS -Xms512m -Xmx1024m 
> in the environment variables of our server and also set 
> JAVA_OPTS=-Xmx1025M -Xms512M -XX:MaxPermSize=128M in the setenv.bat of 
> my tomcat server (I don't know if this will create conflicts) and it 
> still takes too long to finish running ant update.

Tomcat isn't used to run 'ant update', so that won't have any effect on this 
particular issue.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem with ant update

2013-09-09 Thread Mark H. Wood
On Mon, Sep 09, 2013 at 09:41:17AM +0800, Nemiz, Elvi wrote:
> Even if I didn't run mvn clean, even if I'm just running a regular mvn
> package, it takes way too long to finish running ant update. I actually
> leave ant update running overnight on our production server and the next
> morning when I checked, the message shows "BUILD SUCCESSFUL Total time: 664
> minutes 22 seconds" 11 hours? I don't encounter this kind of promblem when
> I tried it on an untouched version of dspace.

The first question I would try to answer is:  is ant busy, or is it
waiting?  What does Task Manager's process list show about that?
(What else does it show?  Is the system busy as a whole?)

Is the whole system slow, or just ant?

> I thought maybe some of my
> customizations messed this up? I've set JAVA_OPTS -Xms512m -Xmx1024m in the
> environment variables of our server and also set JAVA_OPTS=-Xmx1025M
> -Xms512M -XX:MaxPermSize=128M in the setenv.bat of my tomcat server (I
> don't know if this will create conflicts) and it still takes too long to
> finish running ant update.

Tomcat isn't used to run 'ant update', so that won't have any effect
on this particular issue.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problem with ant update

2013-09-09 Thread helix84
Hello guys,

I've never encountered this before (ant always takes under 2 minutes
even on a PC-class machine for me), but from what you two are seeing,
it seems ant is working extremely slowly. I have two suggestions which
may or may not help:

1) Try using a different version of ant. DSpace 3.x declares it needs
ant 1.8.x, so try both ant 1.9.2 and ant 1.8.0.
2) Try finding out what is so slow (it could be a filesystem
operation, perhaps access-rights related). I don't know what an
equivalent of strace would be on Windows, but there was a program
called Process Monitor by Sysinternals that could be useful.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Problem with ant update

2013-09-08 Thread Nemiz, Elvi
Hello Brian,

Even if I didn't run mvn clean, even if I'm just running a regular mvn
package, it takes way too long to finish running ant update. I actually
leave ant update running overnight on our production server and the next
morning when I checked, the message shows "BUILD SUCCESSFUL Total time: 664
minutes 22 seconds" 11 hours? I don't encounter this kind of promblem when
I tried it on an untouched version of dspace. I thought maybe some of my
customizations messed this up? I've set JAVA_OPTS -Xms512m -Xmx1024m in the
environment variables of our server and also set JAVA_OPTS=-Xmx1025M
-Xms512M -XX:MaxPermSize=128M in the setenv.bat of my tomcat server (I
don't know if this will create conflicts) and it still takes too long to
finish running ant update. With regards to chown'ing, I tried running
"cacls  *.*  /t  /e  /g  everyone:f" in [dspace-src] (Not sure if this is
the correct way of chown'ing in windows) and still ant update takes too
long to finish.

Thank you so much for your time.

>
> Sincerely,
> Elvi S. Nemiz
>
> On Fri, Sep 6, 2013 at 10:34 PM, Brian Freels-Stendel wrote:
> Hi Nelmi,   Try chown'ing the dspace-src directory to the dspace user.
> When I run mvn clean, it always messes up permissions.   B--   *From:*Nemiz, 
> Elvi [mailto:
> esne...@seafdec.org.ph]
> *Sent:* Friday, September 06, 2013 2:49 AM
> *To:* dspace-tech@lists.sourceforge.net
> *Subject:* [Dspace-tech] Problem with ant update   Dear All, I'm having
> trouble in running ant update. After running successfully mvn -U clean
> package, I execute ant update, I'm stuck in "Copying 111 files to
> [dspace-src]/dspace/target/dspace-3.2-build/config-temp". I don't know
> where to look for logs that may be causing this problem. I am running this
> in windows 2003, ant 1.8.2 and java 1.7.0_21. Thanks in advance.
>
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette