Re: Bundle Name Problem
Re: Bundle Name Problem
- Subject: Re: Bundle Name Problem
- From: Chuck Hill <email@hidden>
- Date: Wed, 17 Aug 2011 20:00:43 -0700
I'll guess that you have some sort of recursive soft links in your project. ls -al will show you what files really are.
On 2011-08-17, at 7:01 PM, Jeff Schmitz wrote:
> OK, that got me past the bundle error. But now I'm back to a java heap space error. Other projects work fine in the workspace. I even tried creating a new Wonder project and manually moving source code, wod files, libraries and property and build files from the old project into this new one, and I'm still seeing the problem.
>
> [2011-8-17 20:28:28 CDT] <main> Initialized : er.extensions.ERXExtensions
> [2011-8-17 20:28:28 CDT] <main> Couldn't load properties file: /Users/netBrackets/WebObjects.properties at path: /Users/netBrackets
> You are referencing er.extensions.ERXPatternLayout but should use er.extensions.logging.ERXPatternLayout instead
> Aug 17 20:28:29 N/A[N/A] (ERXLogger.java:211) INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
> You are referencing er.extensions.ERXPatternLayout but should use er.extensions.logging.ERXPatternLayout instead
> Aug 17 20:28:29 N/A[N/A] (ERXLogger.java:211) INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:43) WARN NSLog - Couldn't load properties file: /Users/netBrackets/WebObjects.properties at path: /Users/netBrackets
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOMaxIOBufferSize=8196
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOWorkerThreadCountMin=16
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOSocketMonitorSleepTime=50
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WODirectConnectEnabled=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOIncludeCommentsInResponse=false
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOWorkerThreadCount=8
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOLaunchdEnabled=false
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOIDE=WOLips
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WODebuggingEnabled=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOListenQueueSize=128
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOMissingResourceSearchEnabled=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOApplicationClassName=com.netbrackets.app.Application
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOSessionStoreClassName=WOServerSessionStore
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOContextClassName=WOContext
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOCachingEnabled=false
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAcceptMalformedCookies=false
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - NSProjectSearchPath=("..")
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOMonitorEnabled=false
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAllowRapidTurnaround=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOGenerateWSDL=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOWorkerThreadCountMax=256
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAllowsConcurrentRequestHandling=false
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAdaptor=WODefaultAdaptor
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOSessionTimeOut=3600
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOMaxSocketIdleTime=180000
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WODefaultUndoStackLimit=10
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAutoOpenClientApplication=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAutoOpenInBrowser=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOApplicationBaseURL=/WebObjects
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOMaxHeaders=200
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOLifebeatEnabled=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAllowsCacheControlHeader=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOSMTPHost=smtp
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOFrameworksBaseURL=/WebObjects/Frameworks
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOAdditionalAdaptors=()
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOStatisticsStoreSessionMax=50
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOLifebeatDestinationPort=1085
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOPort=-1
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOLifebeatInterval=30
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOSocketCacheSize=100
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WOUserDirectory=/Users/netBrackets/Documents/workspace/netBrackets
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WODisplayExceptionPages=true
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - ------------------------
> Aug 17 20:28:29 N/A[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - WebObjects version = 5.4.2
> Aug 17 20:28:29 netBrackets[N/A] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Created adaptor of class WODefaultAdaptor on port 55047 and address mbp17.local/10.0.1.5 with WOWorkerThread minimum of 16 and maximum of 256
> Aug 17 20:28:29 netBrackets[55047] (ERXNSLogLog4jBridge.java:43) WARN NSLog - Application project found: Will locate resources in '/Users/netBrackets/Documents/workspace/netBrackets' rather than '/Users/netBrackets/Documents/workspace/netBrackets/' .
> Aug 17 20:28:29 netBrackets[55047] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
> Aug 17 20:28:29 netBrackets[55047] (ERXNSLogLog4jBridge.java:43) WARN NSLog - Cannot use rapid turnaround. Please start Xcode and open the project for this application.
> Aug 17 20:28:29 netBrackets[55047] (ERXNSLogLog4jBridge.java:43) WARN NSLog - Application project found: Will locate resources in '/Users/netBrackets/Documents/workspace/netBrackets' rather than '/Users/netBrackets/Documents/workspace/netBrackets/' .
> Aug 17 20:28:29 netBrackets[55047] (ERXNSLogLog4jBridge.java:46) DEBUG NSLog - Creating LifebeatThread now with: netBrackets -1 mbp17.local/10.0.1.5 1085 30000
> Aug 17 20:28:53 netBrackets[55047] (ERXNSLogLog4jBridge.java:43) WARN NSLog - A fatal exception occurred: java.lang.OutOfMemoryError: Java heap space
>
> On Aug 17, 2011, at 11:06 AM, Chuck Hill wrote:
>
>> Try closing Eclipse, deleting the build (build? that is old, should be called dist) directory, and starting Eclipse again.
>>
>>
>> On 2011-08-16, at 9:34 PM, Jeff Schmitz wrote:
>>
>>> After getting an Eclipse crash while editing a wod file (something that happens quite often these days), I can no longer run my application from eclipse. When I try, I get the below error. A quick search in the archives and on the web has turned up nothing on it. I tried restoring my project and my workspace from my time machine backup, and neither worked. I tried importing my projects into a new workspace, and that didn't work. Any other ideas?
>>>
>>> Caused by: java.lang.IllegalStateException: There was no name defined for the bundle '<com.webobjects.foundation.development.NSLegacyBundle name:'Contents' bundlePath:'/Users/netBrackets/Documents/workspace/netBrackets/build/netBrackets.woa/Contents' packages:'("com.netbrackets.components", "com.restfb.example", "com.netbrackets.app")' 112 classes >'
>>> at com.webobjects.foundation.NSBundle.InitMainBundle(NSBundle.java:683)
>>> at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:342)
>>> ... 16 more
>>>
>>> Thanks!
>>> Jeff
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> --
>> Chuck Hill Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden