new projects work fine in the old workspace.

I've even create a new WOComponent and had it called by overriding the 
PageWithName.  It too came up with the same issue.

I guess I have to create a new project and import all my files from the old 
project.  Didn't want to do that but If there is no other way to fix the 
current problem then I have to.

I was wondering if someone could actually explain the error to me?  That way I 
would have a better understanding of it.


On 2015-03-02, at 3:19 PM, Theodore Petrosky wrote:

> I had that same problem and creating a new workspace fixed it. 
> 
> what happens when you create a new project in the new and old workspaces?
> 
> 
> On Mar 2, 2015, at 2:33 PM, Calven Eggert <[email protected]> wrote:
> 
>> being silly didn't work. :-)
>> 
>> same result.
>> 
>> No template found for component Main
>> 
>> and the browser page is blank. :-(
>> 
>> On 2015-03-02, at 10:08 AM, Theodore Petrosky wrote:
>> 
>>> be silly, create a new workspace, then import this project into the new 
>>> workspace. see what happens.
>>> 
>>> 
>>> 
>>> On Mar 2, 2015, at 9:56 AM, Calven Eggert <[email protected]> wrote:
>>> 
>>>> I've put a breakpoint in my Main's constructor and it gets there and it 
>>>> seems to be doing everything there fine.  The browser page is blank.  How 
>>>> can that be?
>>>> 
>>>> I've also done what you have suggested Chuck, but same results.
>>>> 
>>>> 
>>>> On 2015-02-27, at 5:17 PM, Chuck Hill wrote:
>>>> 
>>>>> It might be picking up a different Main.java class.  Try overriding 
>>>>> pageWithName in application and if name is null or Main, change it to 
>>>>> com.foo.bar.your.Main.class.getName()
>>>>> 
>>>>> Chuck
>>>>> 
>>>>> 
>>>>> On 2015-02-27, 1:21 PM, "Calven Eggert" wrote:
>>>>> 
>>>>> Yes, Main.java and Main.wo.
>>>>> 
>>>>> Here is the output:
>>>>> 
>>>>> [2015-2-27 16:12:22 EST] <main> Couldn't load properties file: 
>>>>> /Users/coredev/WebObjects.properties at path: /Users/coredev
>>>>> [2015-2-27 16:12:22 EST] <main> Couldn't load properties file: 
>>>>> /Users/coredev/WebObjects.properties at path: /Users/coredev
>>>>> [2015-2-27 16:12:22 EST] <main> WOMaxIOBufferSize=8196
>>>>> [2015-2-27 16:12:22 EST] <main> WOWorkerThreadCountMin=16
>>>>> [2015-2-27 16:12:22 EST] <main> WOSocketMonitorSleepTime=50
>>>>> [2015-2-27 16:12:22 EST] <main> WODirectConnectEnabled=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOIncludeCommentsInResponse=false
>>>>> [2015-2-27 16:12:22 EST] <main> WOWorkerThreadCount=8
>>>>> [2015-2-27 16:12:22 EST] <main> 
>>>>> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
>>>>> [2015-2-27 16:12:22 EST] <main> WOLaunchdEnabled=false
>>>>> [2015-2-27 16:12:22 EST] <main> WOHost=127.0.0.1
>>>>> [2015-2-27 16:12:22 EST] <main> WOIDE=WOLips
>>>>> [2015-2-27 16:12:22 EST] <main> WODebuggingEnabled=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOListenQueueSize=128
>>>>> [2015-2-27 16:12:22 EST] <main> WOMissingResourceSearchEnabled=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOApplicationClassName=Application
>>>>> [2015-2-27 16:12:22 EST] <main> 
>>>>> WOSessionStoreClassName=WOServerSessionStore
>>>>> [2015-2-27 16:12:22 EST] <main> WOContextClassName=WOContext
>>>>> [2015-2-27 16:12:22 EST] <main> WOCachingEnabled=false
>>>>> [2015-2-27 16:12:22 EST] <main> WOAcceptMalformedCookies=false
>>>>> [2015-2-27 16:12:22 EST] <main> 
>>>>> NSProjectSearchPath=(..,../..,/Users/coredev/Projects/COREFW)
>>>>> [2015-2-27 16:12:22 EST] <main> WOMonitorEnabled=false
>>>>> [2015-2-27 16:12:22 EST] <main> WOAllowRapidTurnaround=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOGenerateWSDL=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOWorkerThreadCountMax=256
>>>>> [2015-2-27 16:12:22 EST] <main> WOAllowsConcurrentRequestHandling=false
>>>>> [2015-2-27 16:12:22 EST] <main> WOAdaptor=WODefaultAdaptor
>>>>> [2015-2-27 16:12:22 EST] <main> WOSessionTimeOut=3600
>>>>> [2015-2-27 16:12:22 EST] <main> WOMaxSocketIdleTime=180000
>>>>> [2015-2-27 16:12:22 EST] <main> WODefaultUndoStackLimit=10
>>>>> [2015-2-27 16:12:22 EST] <main> WOAutoOpenClientApplication=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOAutoOpenInBrowser=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOApplicationBaseURL=/WebObjects
>>>>> [2015-2-27 16:12:22 EST] <main> WOMaxHeaders=200
>>>>> [2015-2-27 16:12:22 EST] <main> WOLifebeatEnabled=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOAllowsCacheControlHeader=true
>>>>> [2015-2-27 16:12:22 EST] <main> WOSMTPHost=smtp
>>>>> [2015-2-27 16:12:22 EST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
>>>>> [2015-2-27 16:12:22 EST] <main> WOAdditionalAdaptors=()
>>>>> [2015-2-27 16:12:22 EST] <main> WOStatisticsStoreSessionMax=50
>>>>> [2015-2-27 16:12:22 EST] <main> WOLifebeatDestinationPort=1085
>>>>> [2015-2-27 16:12:22 EST] <main> WOPort=-1
>>>>> [2015-2-27 16:12:22 EST] <main> WOLifebeatInterval=30
>>>>> [2015-2-27 16:12:22 EST] <main> WOSocketCacheSize=100
>>>>> [2015-2-27 16:12:22 EST] <main> 
>>>>> WOUserDirectory=/Users/coredev/Projects/ClinicalResearchRecord/build/ClinicalResearchRecord.woa
>>>>> [2015-2-27 16:12:22 EST] <main> WODisplayExceptionPages=true
>>>>> [2015-2-27 16:12:22 EST] <main> ------------------------
>>>>> [2015-2-27 16:12:22 EST] <main> WebObjects version = 5.4.3
>>>>> [2015-2-27 16:12:22 EST] <main> Created adaptor of class WODefaultAdaptor 
>>>>> on port 50496 and address localhost/127.0.0.1 with WOWorkerThread minimum 
>>>>> of 16 and maximum of 256
>>>>> [2015-2-27 16:12:22 EST] <main> Application project found: Will locate 
>>>>> resources in '/Users/coredev/Projects/ClinicalResearchRecord' rather than 
>>>>> '/Users/coredev/Projects/ClinicalResearchRecord/' .
>>>>> [2015-2-27 16:12:22 EST] <main> NSBundle is unable to find 
>>>>> "ExtensionsForResources.plist" in the main bundle.  Ignoring optional 
>>>>> configuration file.
>>>>> [2015-2-27 16:12:22 EST] <main> Cannot use rapid turnaround.  Please 
>>>>> start Xcode and open the project for this application.
>>>>> [2015-2-27 16:12:22 EST] <main> *** The application has found the 
>>>>> following opened, development-mode ProjectBuilderWO projects: 
>>>>> (<com.webobjects.appserver._private.WOProjectBundle: 
>>>>> projectName='COREFramework'; 
>>>>> bundlePath='/Users/coredev/Projects/COREFW/'; 
>>>>> projectPath='/Users/coredev/Projects/COREFW'>)
>>>>> [2015-2-27 16:12:22 EST] <main> Creating LifebeatThread now with: CRR -1 
>>>>> localhost/127.0.0.1 1085 30000
>>>>> [2015-2-27 16:12:22 EST] <main> Opening application's URL in browser:
>>>>> http://127.0.0.1:50496/cgi-bin/WebObjects/CRR.woa
>>>>> [2015-2-27 16:12:22 EST] <main> null
>>>>> [2015-2-27 16:12:22 EST] <main> Waiting for requests...
>>>>> [2015-2-27 16:12:22 EST] <WorkerThread0> 
>>>>> <com.webobjects.appserver._private.WOComponentDefinition> No template 
>>>>> found for component Main at "null".
>>>>> 
>>>>> 
>>>>> 
>>>>> On 2015-02-27, at 4:03 PM, Chuck Hill wrote:
>>>>> 
>>>>>> Do you have a Main.java and a Main.wo?  Is there any more to the error 
>>>>>> message, a stack trace?
>>>>>> 
>>>>>> 
>>>>>> On 2015-02-27, 12:32 PM, "Calven Eggert" wrote:
>>>>>> 
>>>>>> Hi WO Community,
>>>>>> 
>>>>>> I've imported a WO project into a new version of Eclipse and can get it 
>>>>>> running from the command line, however, I can't get it running in 
>>>>>> Eclipse, where I get the error:
>>>>>> 
>>>>>> No template found for component Main at "null".
>>>>>> 
>>>>>> 
>>>>>> Now, I've seen a thread from 2013 
>>>>>> (http://objectstyle.org/woproject/lists/woproject-dev/2003/07/0200.html) 
>>>>>> but I'm not sure how to fix it in my project.
>>>>>> 
>>>>>> Any suggestions?
>>>>>> 
>>>>>> 
>>>>>> Calven
>>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> 
> 
> 
> 



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

This email sent to [email protected]

Reply via email to