Hello, guys...
Sorry for the noise on the list. I was right-clicking on the project name and choosing Run As -> WOApplication. I should be right clicking on Application.java... Dude, how embarrassing... Best regards, Flavio On 31/10/2014, at 16:28, Flavio Donadio <[email protected]> wrote: > Ramsey, > > > I think the problem might be in a different place. > > Some projects that were running OK before just stopped working. New projects > don't work at all. > > And now Eclipse went berserk, trying to run a different project than the one > I am trying to run. > > I tried deleting this workspace and creating a new one, but to no avail. > > > Cheers, > Flavio > > > On 31/10/2014, at 15:23, Ramsey Gurley <[email protected]> wrote: > >> Try removing JavaXML framework. You won’t miss it until you try to deploy >> with monitor/wotaskd. >> >> >> On Oct 31, 2014, at 10:11 AM, Flavio Donadio <[email protected]> wrote: >> >>> Theodore, >>> >>> >>> Yes, the Build Path are more or less the same. Since I don't have a model >>> (nor a framework), two items are not on the Library pane: H2Plugin and >>> BlogModel. >>> >>> Here's the console output when I run the app: >>> >>>> [2014-10-31 15:1:55 BRST] <main> Principal class '' not found in bundle >>>> ERModernLook >>>> [2014-10-31 15:1:55 BRST] <main> Principal class '' not found in bundle >>>> ERCoolComponents >>>> [2014-10-31 15:1:55 BRST] <main> Principal class '' not found in bundle >>>> ERModernDefaultSkin >>>> [2014-10-31 15:1:55 BRST] <main> Principal class '' not found in bundle >>>> ERModernDirectToWeb >>>> [2014-10-31 15:1:55 BRST] <main> Principal class >>>> 'er.directtoweb.ERDirectToWeb' not found in bundle ERDirectToWeb >>>> [2014-10-31 15:1:55 BRST] <main> Principal class '' not found in bundle >>>> JavaWOExtensions >>>> [2014-10-31 15:1:55 BRST] <main> Principal class '' not found in bundle >>>> WOLips >>>> [2014-10-31 15:1:55 BRST] <main> Principal class 'your.app.Application' >>>> not found in bundle DummyTest >>>> [2014-10-31 15:1:55 BRST] <main> WOMaxIOBufferSize=8196 >>>> [2014-10-31 15:1:55 BRST] <main> WOWorkerThreadCountMin=16 >>>> [2014-10-31 15:1:55 BRST] <main> WOSocketMonitorSleepTime=50 >>>> [2014-10-31 15:1:55 BRST] <main> WODirectConnectEnabled=true >>>> [2014-10-31 15:1:55 BRST] <main> WOIncludeCommentsInResponse=false >>>> [2014-10-31 15:1:55 BRST] <main> WOWorkerThreadCount=8 >>>> [2014-10-31 15:1:55 BRST] <main> >>>> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects >>>> [2014-10-31 15:1:55 BRST] <main> WOLaunchdEnabled=false >>>> [2014-10-31 15:1:55 BRST] <main> WOHost=127.0.0.1 >>>> [2014-10-31 15:1:55 BRST] <main> WOIDE=WOLips >>>> [2014-10-31 15:1:55 BRST] <main> WODebuggingEnabled=true >>>> [2014-10-31 15:1:55 BRST] <main> WOListenQueueSize=128 >>>> [2014-10-31 15:1:55 BRST] <main> WOMissingResourceSearchEnabled=true >>>> [2014-10-31 15:1:55 BRST] <main> >>>> WOApplicationClassName=com.webobjects.appserver.WOApplication >>>> [2014-10-31 15:1:55 BRST] <main> >>>> WOSessionStoreClassName=WOServerSessionStore >>>> [2014-10-31 15:1:55 BRST] <main> WOContextClassName=WOContext >>>> [2014-10-31 15:1:55 BRST] <main> WOCachingEnabled=false >>>> [2014-10-31 15:1:55 BRST] <main> WOAcceptMalformedCookies=false >>>> [2014-10-31 15:1:55 BRST] <main> >>>> NSProjectSearchPath=(..,../..,/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERExtensions,/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERJars,/Users/fdonadio/Projects/WonderSource/Frameworks/Core/JavaWOExtensions,/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERPrototypes,/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook,/Users/fdonadio/Projects/WonderSource/Frameworks/Core/WOOgnl,/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERDirectToWeb,/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDirectToWeb,/Users/fdonadio/Projects/WonderSource/Frameworks/Ajax/Ajax,/Users/fdonadio/Projects/WonderSource/Frameworks/Ajax/ERCoolComponents,/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDefaultSkin,/Users/fdonadio/Projects/WonderSource/Frameworks/Misc/WOLips) >>>> [2014-10-31 15:1:55 BRST] <main> WOMonitorEnabled=false >>>> [2014-10-31 15:1:55 BRST] <main> WOAllowRapidTurnaround=true >>>> [2014-10-31 15:1:55 BRST] <main> WOGenerateWSDL=true >>>> [2014-10-31 15:1:55 BRST] <main> WOWorkerThreadCountMax=256 >>>> [2014-10-31 15:1:55 BRST] <main> WOAllowsConcurrentRequestHandling=false >>>> [2014-10-31 15:1:55 BRST] <main> WOAdaptor=WODefaultAdaptor >>>> [2014-10-31 15:1:55 BRST] <main> WOSessionTimeOut=3600 >>>> [2014-10-31 15:1:55 BRST] <main> WOMaxSocketIdleTime=180000 >>>> [2014-10-31 15:1:55 BRST] <main> WODefaultUndoStackLimit=10 >>>> [2014-10-31 15:1:55 BRST] <main> WOAutoOpenClientApplication=true >>>> [2014-10-31 15:1:55 BRST] <main> WOAutoOpenInBrowser=true >>>> [2014-10-31 15:1:55 BRST] <main> WOApplicationBaseURL=/WebObjects >>>> [2014-10-31 15:1:55 BRST] <main> WOMaxHeaders=200 >>>> [2014-10-31 15:1:55 BRST] <main> WOLifebeatEnabled=true >>>> [2014-10-31 15:1:55 BRST] <main> WOAllowsCacheControlHeader=true >>>> [2014-10-31 15:1:55 BRST] <main> WOSMTPHost=smtp >>>> [2014-10-31 15:1:55 BRST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks >>>> [2014-10-31 15:1:55 BRST] <main> WOAdditionalAdaptors=() >>>> [2014-10-31 15:1:55 BRST] <main> WOStatisticsStoreSessionMax=50 >>>> [2014-10-31 15:1:55 BRST] <main> WOLifebeatDestinationPort=1085 >>>> [2014-10-31 15:1:55 BRST] <main> WOPort=-1 >>>> [2014-10-31 15:1:55 BRST] <main> WOLifebeatInterval=30 >>>> [2014-10-31 15:1:55 BRST] <main> WOSocketCacheSize=100 >>>> [2014-10-31 15:1:55 BRST] <main> >>>> WOUserDirectory=/Users/fdonadio/Documents/workspace/DummyTest/build/DummyTest.woa >>>> [2014-10-31 15:1:55 BRST] <main> WODisplayExceptionPages=true >>>> [2014-10-31 15:1:55 BRST] <main> ------------------------ >>>> [2014-10-31 15:1:55 BRST] <main> WebObjects version = 5.4.3 >>>> [2014-10-31 15:1:55 BRST] <main> Created adaptor of class WODefaultAdaptor >>>> on port 50072 and address localhost/127.0.0.1 with WOWorkerThread minimum >>>> of 16 and maximum of 256 >>>> [2014-10-31 15:1:55 BRST] <main> NSBundle is unable to find >>>> "ExtensionsForResources.plist" in the main bundle. Ignoring optional >>>> configuration file. >>>> [2014-10-31 15:1:55 BRST] <main> Cannot use rapid turnaround. Please >>>> start Xcode and open the project for this application. >>>> [2014-10-31 15:1:55 BRST] <main> Application project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Documents/workspace/DummyTest/build/DummyTest.woa' rather >>>> than '/Users/fdonadio/Documents/workspace/DummyTest/build/DummyTest.woa' . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERExtensions/build/ERExtensions.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERExtensions/build/ERExtensions.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERPrototypes/build/ERPrototypes.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERPrototypes/build/ERPrototypes.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Ajax/ERCoolComponents/build/ERCoolComponents.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Ajax/ERCoolComponents/build/ERCoolComponents.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDefaultSkin/build/ERModernDefaultSkin.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDefaultSkin/build/ERModernDefaultSkin.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDirectToWeb/build/ERModernDirectToWeb.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDirectToWeb/build/ERModernDirectToWeb.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERDirectToWeb/build/ERDirectToWeb.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERDirectToWeb/build/ERDirectToWeb.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/JavaWOExtensions/build/JavaWOExtensions.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Core/JavaWOExtensions/build/JavaWOExtensions.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Ajax/Ajax/build/Ajax.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Ajax/Ajax/build/Ajax.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Framework project found: Will locate >>>> resources in >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Misc/WOLips/build/WOLips.framework' >>>> rather than >>>> '/Users/fdonadio/Projects/WonderSource/Frameworks/Misc/WOLips/build/WOLips.framework' >>>> . >>>> [2014-10-31 15:1:55 BRST] <main> Creating LifebeatThread now with: >>>> DummyTest -1 localhost/127.0.0.1 1085 30000 >>>> [2014-10-31 15:1:55 BRST] <main> ** DirectToWeb could not merge d2wmodel >>>> from >>>> file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel >>>> for reason: ** DirectToWeb exception - a rule cannot be instantiated if >>>> its right hand side is null. LHS=(look = 'ERModernLook') RHS=null >>>> [2014-10-31 15:1:55 BRST] <main> ** DirectToWeb could not merge d2wmodel >>>> from >>>> file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDirectToWeb/build/ERModernDirectToWeb.framework/Resources/d2w.d2wmodel >>>> for reason: ** DirectToWeb exception - a rule cannot be instantiated if >>>> its right hand side is null. LHS=null RHS=null >>>> [2014-10-31 15:1:55 BRST] <main> ** DirectToWeb could not merge d2wmodel >>>> from >>>> file:/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERDirectToWeb/build/ERDirectToWeb.framework/Resources/d2w.d2wmodel >>>> for reason: ** DirectToWeb exception - a rule cannot be instantiated if >>>> its right hand side is null. LHS=null RHS=null >>>> [2014-10-31 15:1:55 BRST] <main> Opening application's URL in browser: >>>> http://127.0.0.1:50072/cgi-bin/WebObjects/DummyTest.woa >>>> [2014-10-31 15:1:55 BRST] <main> null >>>> [2014-10-31 15:1:55 BRST] <main> DirectToWeb WebAssistant launch line: >>>> appletviewer >>>> http://localhost:50072/cgi-bin/WebObjects/DummyTest.woa/wa/D2WActions/openWebAssistant >>>> [2014-10-31 15:1:55 BRST] <main> Waiting for requests... >>>> [2014-10-31 15:1:57 BRST] <WorkerThread0> >>>> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception >>>> occurred while handling request: >>>> java.lang.IllegalArgumentException: >>>> <com.webobjects.appserver.WOApplication> Class 'Session' exists (interface >>>> org.apache.axis.session.Session) but is not a subclass of WOSession. >>>> [2014-10-31 15:1:57 BRST] <WorkerThread0> >>>> java.lang.IllegalArgumentException: >>>> <com.webobjects.appserver.WOApplication> Class 'Session' exists (interface >>>> org.apache.axis.session.Session) but is not a subclass of WOSession. >>>> at >>>> com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934) >>>> at >>>> com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973) >>>> at >>>> com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110) >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319) >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369) >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) >>>> at >>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>> at >>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) >>>> at >>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) >>>> at java.lang.Thread.run(Thread.java:695) >>>> >>>> _ignoredPackages:: ("com.webobjects", "java.applet", "java.awt", >>>> "java.awt.datatransfer", "java.awt.event", "java.awt.image", "java.beans", >>>> "java.io", "java.lang", "java.lang.reflect", "java.math", "java.net", >>>> "java.rmi", "java.rmi.dgc", "java.rmi.registry", "java.rmi.server", >>>> "java.security", "java.security.acl", "java.security.interfaces", >>>> "java.sql", "java.text", "java.util", "java.util.zip") >>>> [2014-10-31 15:1:57 BRST] <WorkerThread0> <WOApplication> Exception >>>> occurred in WOExceptionPage: java.lang.IllegalArgumentException: >>>> <com.webobjects.appserver.WOApplication> Class 'Session' exists (interface >>>> org.apache.axis.session.Session) but is not a subclass of WOSession. >>>> [2014-10-31 15:1:57 BRST] <WorkerThread0> >>>> java.lang.IllegalArgumentException: >>>> <com.webobjects.appserver.WOApplication> Class 'Session' exists (interface >>>> org.apache.axis.session.Session) but is not a subclass of WOSession. >>>> at >>>> com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934) >>>> at >>>> com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973) >>>> at >>>> com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110) >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319) >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369) >>>> at >>>> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) >>>> at >>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>> at >>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) >>>> at >>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) >>>> at java.lang.Thread.run(Thread.java:695) >>> >>> >>> As you see, my experience is very limited... >>> >>> >>> Cheers, >>> Flavio >>> >>> On 31/10/2014, at 14:29, Theodore Petrosky <[email protected]> wrote: >>> >>>> So, class paths. you created a new D2W app. did you compare the “Build >>>> Path” of your app to the screen shot of the Build Path on the tutorial >>>> page? >>>> >>>> Ted >>>> >>>> On Oct 31, 2014, at 10:05 AM, Flavio Donadio <[email protected]> wrote: >>>> >>>>> Fabian, >>>>> >>>>> >>>>> I just noticed something really strange in the error message. I just >>>>> created a dummy D2W app (no model, as suggested by Theodore) and ran it >>>>> as a WOApplication. >>>>> >>>>> Here's the full error message, as shown in the browser: >>>>> >>>>>> Application: DummyTest >>>>>> Error: java.lang.IllegalStateException exception >>>>>> Reason: >>>>>> java.lang.IllegalStateException: An Exception occurred while generating >>>>>> the Exception page 'WOExceptionPage'. This is most likely due to an >>>>>> error in 'WOExceptionPage' itself or WebObjects encountered an uncaught >>>>>> exception while creating a Session object. >>>>>> >>>>>> >>>>>> Below are the logs of the original Exception which occured in >>>>>> com.webobjects.appserver.WOApplication, then the later Exception in >>>>>> WOExceptionPage. >>>>>> >>>>>> Original Exception: >>>>>> java.lang.IllegalArgumentException: >>>>>> <com.webobjects.appserver.WOApplication> Class 'Session' exists >>>>>> (interface org.apache.axis.session.Session) but is not a subclass of >>>>>> WOSession. >>>>>> at >>>>>> com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110) >>>>>> at >>>>>> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319) >>>>>> at >>>>>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369) >>>>>> at >>>>>> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>>>> at >>>>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) >>>>>> at >>>>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) >>>>>> at java.lang.Thread.run(Thread.java:695) >>>>>> >>>>> >>>>>> WOExceptionPage Exception: >>>>>> java.lang.IllegalArgumentException: >>>>>> <com.webobjects.appserver.WOApplication> Class 'Session' exists >>>>>> (interface org.apache.axis.session.Session) but is not a subclass of >>>>>> WOSession. >>>>>> at >>>>>> com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110) >>>>>> at com.webobjects.appserver.WOContext.session(WOContext.java:369) >>>>>> at >>>>>> com.webobjects.appserver.WOContext.componentActionURL(WOContext.java:1208) >>>>>> at >>>>>> com.webobjects.appserver._private.WOHyperlink._appendComponentActionURLToResponse(WOHyperlink.java:183) >>>>>> at >>>>>> com.webobjects.appserver._private.WOHyperlink.appendAttributesToResponse(WOHyperlink.java:219) >>>>>> at >>>>>> com.webobjects.appserver._private.WOHTMLDynamicElement._appendOpenTagToResponse(WOHTMLDynamicElement.java:493) >>>>>> at >>>>>> com.webobjects.appserver._private.WOHyperlink._appendOpenTagToResponse(WOHyperlink.java:133) >>>>>> at >>>>>> com.webobjects.appserver._private.WOHTMLDynamicElement.appendToResponse(WOHTMLDynamicElement.java:443) >>>>>> at >>>>>> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) >>>>>> at >>>>>> com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94) >>>>>> at >>>>>> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) >>>>>> at >>>>>> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) >>>>>> at >>>>>> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) >>>>>> at >>>>>> com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135) >>>>>> at >>>>>> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) >>>>>> at >>>>>> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) >>>>>> at >>>>>> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122) >>>>>> at >>>>>> com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1574) >>>>>> at >>>>>> com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1543) >>>>>> at >>>>>> com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1538) >>>>>> at >>>>>> com.webobjects.woextensions.WOExceptionPage.generateResponse(WOExceptionPage.java:47) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication._handleError(WOApplication.java:3095) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication.handleException(WOApplication.java:3245) >>>>>> at >>>>>> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:389) >>>>>> at >>>>>> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) >>>>>> at >>>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>>>> at >>>>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) >>>>>> at >>>>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) >>>>>> at java.lang.Thread.run(Thread.java:695) >>>>> >>>>> >>>>> The error is not in my application... >>>>> >>>>> >>>>> Cheers, >>>>> Flavio >>>>> >>>>> On 30/10/2014, at 14:24, Fabian Peters <[email protected]> wrote: >>>>> >>>>>> Hi Flavio, >>>>>> >>>>>> It looks like your classpath isn't as it should be. Instead of a >>>>>> WOSession you get a org.apache.axis.session.Session. And the d2wmodel >>>>>> files don't seem to get referenced correctly either. You could open one >>>>>> of them, e.g. >>>>>> /Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel >>>>>> in RuleModeler and see whether it can be opened at all and whether the >>>>>> contents look OK. >>>>>> >>>>>> Fabian >>>>>> >>>>>> Am 30.10.2014 um 16:01 schrieb Flavio Donadio <[email protected]>: >>>>>> >>>>>>> Fabian, >>>>>>> >>>>>>> >>>>>>> I see these on the console with no debugging enabled: >>>>>>> >>>>>>> [2014-10-30 12:45:55 BRST] <main> ** DirectToWeb could not merge >>>>>>> d2wmodel from >>>>>>> file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel >>>>>>> for reason: ** DirectToWeb exception - a rule cannot be instantiated >>>>>>> if its right hand side is null. LHS=(look = 'ERModernLook') RHS=null >>>>>>> [2014-10-30 12:45:55 BRST] <main> ** DirectToWeb could not merge >>>>>>> d2wmodel from >>>>>>> file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDirectToWeb/build/ERModernDirectToWeb.framework/Resources/d2w.d2wmodel >>>>>>> for reason: ** DirectToWeb exception - a rule cannot be instantiated >>>>>>> if its right hand side is null. LHS=null RHS=null >>>>>>> [2014-10-30 12:45:55 BRST] <main> ** DirectToWeb could not merge >>>>>>> d2wmodel from >>>>>>> file:/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERDirectToWeb/build/ERDirectToWeb.framework/Resources/d2w.d2wmodel >>>>>>> for reason: ** DirectToWeb exception - a rule cannot be instantiated >>>>>>> if its right hand side is null. LHS=null RHS=null >>>>>>> >>>>>>> >>>>>>> Cheers, >>>>>>> Flavio >>>>>>> >>>>>>> On 29/10/2014, at 18:36, Fabian Peters <[email protected]> wrote: >>>>>>> >>>>>>>> Hi Flavio, >>>>>>>> >>>>>>>> Assuming you're starting out with an empty rule file, you're probably >>>>>>>> missing one or more d2w.d2wmodel files from ERDirectToWeb or >>>>>>>> JavaDirectToWeb. If you enable debug logging on >>>>>>>> er.directtoweb.ERD2WModel, you'll see which files get loaded. >>>>>>>> >>>>>>>> Fabian >>>>>>>> >>>>>>>> Am 29.10.2014 um 20:46 schrieb Flavio Donadio <[email protected]>: >>>>>>>> >>>>>>>>> Hello, all! >>>>>>>>> >>>>>>>>> >>>>>>>>> I am getting this error when I run the app for the first time: >>>>>>>>> >>>>>>>>> [2014-10-29 17:37:34 BRST] <WorkerThread1> >>>>>>>>> <br.com.codeprint.website.DirectAction>: Exception in >>>>>>>>> performActionNamed() on the action "login" with the message: >>>>>>>>> com.webobjects.directtoweb.D2WModelException: Error - could not find >>>>>>>>> any rule that returns a pageName using the current context >>>>>>>>> <D2WContext task=list, entity=Product, propertyKey=null, >>>>>>>>> pageConfiguration=null> >>>>>>>>> - Error with action >>>>>>>>> login:com.webobjects.directtoweb.D2WModelException: Error - could not >>>>>>>>> find any rule that returns a pageName using the current context >>>>>>>>> <D2WContext task=list, entity=Product, propertyKey=null, >>>>>>>>> pageConfiguration=null>, formValues:{username = (""); password = >>>>>>>>> (""); wosid = ("WnGhLWoSK3H0Bvw752rq0g"); WOSubmitAction = ("login"); >>>>>>>>> } >>>>>>>>> com.webobjects.directtoweb.D2WModelException: Error - could not find >>>>>>>>> any rule that returns a pageName using the current context >>>>>>>>> <D2WContext task=list, entity=Product, propertyKey=null, >>>>>>>>> pageConfiguration=null> >>>>>>>>> at >>>>>>>>> com.webobjects.directtoweb.D2WContext.pageName(D2WContext.java:734) >>>>>>>>> at >>>>>>>>> com.webobjects.directtoweb.D2W._pageWithContextTaskEntity(D2W.java:874) >>>>>>>>> at >>>>>>>>> com.webobjects.directtoweb.D2W._pageWithContextTaskEntity(D2W.java:859) >>>>>>>>> at >>>>>>>>> com.webobjects.directtoweb.D2W.pageForTaskAndEntityNamed(D2W.java:896) >>>>>>>>> at >>>>>>>>> com.webobjects.directtoweb.D2W.listPageForEntityNamed(D2W.java:1034) >>>>>>>>> at >>>>>>>>> br.com.codeprint.website.MainNavigationController.listPageForEntityName(MainNavigationController.java:32) >>>>>>>>> at >>>>>>>>> br.com.codeprint.website.MainNavigationController.homeAction(MainNavigationController.java:26) >>>>>>>>> at >>>>>>>>> br.com.codeprint.website.DirectAction.loginAction(DirectAction.java:72) >>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>>>>> at >>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>>>>>>> at >>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>>>> at java.lang.reflect.Method.invoke(Method.java:601) >>>>>>>>> at >>>>>>>>> com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:144) >>>>>>>>> at >>>>>>>>> er.extensions.appserver.ERXDirectAction.performActionNamed(ERXDirectAction.java:418) >>>>>>>>> at >>>>>>>>> er.directtoweb.ERD2WDirectAction.performActionNamed(ERD2WDirectAction.java:456) >>>>>>>>> at >>>>>>>>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259) >>>>>>>>> at >>>>>>>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158) >>>>>>>>> at >>>>>>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>>>>>>> at >>>>>>>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) >>>>>>>>> at >>>>>>>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) >>>>>>>>> at java.lang.Thread.run(Thread.java:722) >>>>>>>>> >>>>>>>>> It's a new application and I triple-checked the boilerpate code that >>>>>>>>> should go into MainNavigationController.java. NavigationMenu.plist >>>>>>>>> also seems to be good. >>>>>>>>> >>>>>>>>> d2w.d2wmodel is empty, which seems strange. I had never looked into >>>>>>>>> that file before, I think. >>>>>>>>> >>>>>>>>> I still did not implement authentication, but changed the code >>>>>>>>> according to the tutorial at >>>>>>>>> http://wiki.wocommunity.org/display/WEB/Your+First+D2W+Project . >>>>>>>>> >>>>>>>>> Eclipse 4.4 (Luna) and WOLips 4.4 compiled by myself. >>>>>>>>> >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> Flavio >>>>>>>>> _______________________________________________ >>>>>>>>> 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/lists.fabian%40e-lumo.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/rgurley%40smarthealth.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/flavio%40donadio.com.br > > 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]
