My best guess is that you have circular links (soft or hard) somewhere in the 
main executable.

Chuck


On 2015-03-07, 2:48 PM, "Mark Wardle" wrote:

Ok still having problems.

Compiling fine within eclipse.

Ant working for compiling and installing own frameworks.

Ant fails with too many open files when building main executable. Occurs with a 
random framework. Can't open info.plist.

Have increased kernel parameters per process and total to x100 more than 
defaults - it just takes longer to fail. Feels as if woproject build steps is 
doing something wrong -recursion?

May have to downgrade to java16 and an earlier eclipse. What are people running 
generally at the moment?

Any help / pointers / ideas gratefully received!

Mark



--
Dr. Mark Wardle
Consultant Neurologist, Cardiff, UK
(Sent from my mobile)


On 21 Feb 2015, at 07:27, Mark Wardle <m...@wardle.org<mailto:m...@wardle.org>> 
wrote:

Fixed this.

For any future readers - doing these steps fixed it (but I’m not sure what 
exactly solved it).

Clean everything
Delete local frameworks 
/Library/WebObjects/Versions/WebObjects543/Library/Frameworks
Rebuild wonder
Check all class paths for all homegrown frameworks and application and fix 
problems.
Move local project based frameworks so listed in dependent projects rather than 
external libraries.
Check correct wolips.properties file listed in eclipse preferences.
Delete spurious wolips.properties definition from project’s own 
build.properties that point to wrong wolips.properties files.

Mark
On 20 Feb 2015, at 15:54, Mark Wardle 
<m...@wardle.org<javascript:_e(%7B%7D,'cvml','m...@wardle.org');>> wrote:

Forgot to cc. list

Begin forwarded message:

Subject: Re: ant build error - too many open files
From: Mark Wardle 
<m...@wardle.org<javascript:_e(%7B%7D,'cvml','m...@wardle.org');>>
Date: 20 February 2015 15:54:30 GMT
Message-Id: 
<605a3035-0a99-45f7-bbc4-4f95ec615...@wardle.org<javascript:_e(%7B%7D,'cvml','605a3035-0a99-45f7-bbc4-4f95ec615...@wardle.org');>>
To: Fabian Peters 
<lists.fab...@e-lumo.com<javascript:_e(%7B%7D,'cvml','lists.fab...@e-lumo.com');>>

Thanks Fabian. Have tried that but get the error. Odd thing is that it happens 
so quickly; almost as if there is recursion. It seems to randomly throw this 
error on different frameworks each time I build.

Mark


On 20 Feb 2015, at 14:08, Fabian Peters 
<lists.fab...@e-lumo.com<javascript:_e(%7B%7D,'cvml','lists.fab...@e-lumo.com');>>
 wrote:

Hi Mark,

Have you tried a reboot? Maybe you've somehow managed to exceed kern.maxfiles 
or kern.maxfilesperproc?

Fabian

Am 20.02.2015 um 13:53 schrieb Mark Wardle 
<m...@wardle.org<javascript:_e(%7B%7D,'cvml','m...@wardle.org');>>:

I’ve upgraded to java8, eclipse4.4 and latest Wonder.

Can compile and run from within eclipse but command line ant build failing with 
“too many open files”.

Has anyone encountered this error? Rather stuck - have tried cleaning and 
re-cleaning and re-installing wonder frameworks.

Mark

[woapplication] AppFormat prepare

BUILD FAILED
/Users/mark/Dev/rsdb/Applications/RSNews/build.xml:80: Failed to process 
eclipse frameworks: Failed to load info.plist for ERPersistentSessionStorage.
at org.objectstyle.woproject.ant.FrameworkSet.getEclipseFrameworks(Unknown 
Source)
at org.objectstyle.woproject.ant.FrameworkSet.getJarsPath(Unknown Source)
at org.objectstyle.woproject.ant.FrameworkSet.jarsPathForFrameworkSets(Unknown 
Source)
at org.objectstyle.woproject.ant.AppFormat.buildFrameworkPaths(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.preparePaths(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.prepare(Unknown Source)
at org.objectstyle.woproject.ant.AppFormat.<init>(Unknown Source)
at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.RuntimeException: Failed to load info.plist for 
ERPersistentSessionStorage.
at 
org.objectstyle.woenvironment.frameworks.AbstractFolderFramework.getInfoPlist(Unknown
 Source)
at 
org.objectstyle.woenvironment.frameworks.AbstractFolderFramework.reloadLibraries(Unknown
 Source)
at 
org.objectstyle.woenvironment.frameworks.AbstractFolderFramework.<init>(Unknown 
Source)
at 
org.objectstyle.woenvironment.frameworks.ExternalFolderFramework.<init>(Unknown 
Source)
at 
org.objectstyle.woenvironment.frameworks.ExternalFolderRoot.createFramework(Unknown
 Source)
at 
org.objectstyle.woenvironment.frameworks.AbstractFolderRoot.getFrameworks(Unknown
 Source)
at org.objectstyle.woenvironment.frameworks.Root.getFrameworkWithName(Unknown 
Source)
at 
org.objectstyle.woenvironment.frameworks.FrameworkModel.getFrameworkWithName(Unknown
 Source)
... 25 more
Caused by: java.io.FileNotFoundException: 
/Library/WebObjects/Versions/WebObjects543/Library/Frameworks/ERPersistentSessionStorage.framework/Resources/Info.plist
 (Too many open files in system)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.objectstyle.woenvironment.util.Parser.<init>(Unknown Source)
... 33 more

Total time: 9 seconds
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      
(Webobjects-dev@lists.apple.com<javascript:_e(%7B%7D,'cvml','Webobjects-dev@lists.apple.com');>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com

This email sent to 
lists.fab...@e-lumo.com<javascript:_e(%7B%7D,'cvml','lists.fab...@e-lumo.com');>






--
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Deputy Sub-Dean of Assessments and Honorary Lecturer, School of Medicine, 
Cardiff University, UK
Email: mark.war...@wales.nhs.uk<mailto:mark.war...@wales.nhs.uk> or 
m...@wardle.org<mailto:m...@wardle.org>  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to