[OS-JIRA] Created: (WOL-954) D2WWebService Template is not working

From: Johan Henselmans (JIRA) ("Johan)
Date: Fri Jan 23 2009 - 05:36:27 EST

  • Next message: David Avendasora (JIRA): "[OS-JIRA] Created: (WOL-955) Project Build Path missing .jar files in a Framework's WebServerResources/Java/ directory"

    D2WWebService Template is not working
    -------------------------------------

                     Key: WOL-954
                     URL: http://issues.objectstyle.org/jira/browse/WOL-954
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
             Environment: Eclipse 3.4.0M20080911 WOLips 3.4.5632 Mac OS X 10.5.6
                Reporter: Johan Henselmans
                Priority: Blocker

    Creating a D2W WebService via templates leads to the following error:

    The WebServicesAssistant gives the error message:
    "Connect failed: Response from server invalid (or no response at all)!"

    The WOLips log gives the following error:

    [2009-1-23 11:32:5 CET] <main> Principal class 'Application' not found in bundle D2WService20090123
    [2009-1-23 11:32:5 CET] <main> WOMaxIOBufferSize=8196
    [2009-1-23 11:32:5 CET] <main> WOWorkerThreadCountMin=16
    [2009-1-23 11:32:5 CET] <main> WOSocketMonitorSleepTime=50
    [2009-1-23 11:32:5 CET] <main> WODirectConnectEnabled=true
    [2009-1-23 11:32:5 CET] <main> WOIncludeCommentsInResponse=false
    [2009-1-23 11:32:5 CET] <main> WOWorkerThreadCount=8
    [2009-1-23 11:32:5 CET] <main> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
    [2009-1-23 11:32:5 CET] <main> WOLaunchdEnabled=false
    [2009-1-23 11:32:5 CET] <main> WOIDE=WOLips
    [2009-1-23 11:32:5 CET] <main> WODebuggingEnabled=true
    [2009-1-23 11:32:5 CET] <main> WOListenQueueSize=128
    [2009-1-23 11:32:5 CET] <main> WOMissingResourceSearchEnabled=true
    [2009-1-23 11:32:5 CET] <main> WOApplicationClassName=nl.netsense.Application
    [2009-1-23 11:32:5 CET] <main> WOSessionStoreClassName=WOServerSessionStore
    [2009-1-23 11:32:5 CET] <main> WOContextClassName=WOContext
    [2009-1-23 11:32:5 CET] <main> WOCachingEnabled=false
    [2009-1-23 11:32:5 CET] <main> WOAcceptMalformedCookies=false
    [2009-1-23 11:32:5 CET] <main> NSProjectSearchPath=(..,../..)
    [2009-1-23 11:32:5 CET] <main> WOMonitorEnabled=false
    [2009-1-23 11:32:5 CET] <main> WOAllowRapidTurnaround=true
    [2009-1-23 11:32:5 CET] <main> WOGenerateWSDL=true
    [2009-1-23 11:32:5 CET] <main> WOWorkerThreadCountMax=256
    [2009-1-23 11:32:5 CET] <main> WOAllowsConcurrentRequestHandling=false
    [2009-1-23 11:32:5 CET] <main> WOAdaptor=WODefaultAdaptor
    [2009-1-23 11:32:5 CET] <main> WOSessionTimeOut=3600
    [2009-1-23 11:32:5 CET] <main> WOMaxSocketIdleTime=180000
    [2009-1-23 11:32:5 CET] <main> WODefaultUndoStackLimit=10
    [2009-1-23 11:32:5 CET] <main> WOAutoOpenClientApplication=true
    [2009-1-23 11:32:5 CET] <main> WOAutoOpenInBrowser=true
    [2009-1-23 11:32:5 CET] <main> WOApplicationBaseURL=/WebObjects
    [2009-1-23 11:32:5 CET] <main> WOMaxHeaders=200
    [2009-1-23 11:32:5 CET] <main> WOLifebeatEnabled=true
    [2009-1-23 11:32:5 CET] <main> WOAllowsCacheControlHeader=true
    [2009-1-23 11:32:5 CET] <main> WOSMTPHost=smtp
    [2009-1-23 11:32:5 CET] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
    [2009-1-23 11:32:5 CET] <main> WOAdditionalAdaptors=()
    [2009-1-23 11:32:5 CET] <main> WOStatisticsStoreSessionMax=50
    [2009-1-23 11:32:5 CET] <main> WOLifebeatDestinationPort=1085
    [2009-1-23 11:32:5 CET] <main> WOPort=-1
    [2009-1-23 11:32:5 CET] <main> WOLifebeatInterval=30
    [2009-1-23 11:32:5 CET] <main> WOSocketCacheSize=100
    [2009-1-23 11:32:5 CET] <main> WOUserDirectory=/Users/johan/Documents/workspace/D2WService20090123/build/D2WService20090123.woa
    [2009-1-23 11:32:5 CET] <main> WODisplayExceptionPages=true
    [2009-1-23 11:32:5 CET] <main> ------------------------
    [2009-1-23 11:32:5 CET] <main> WebObjects version = 5.4.2
    [2009-1-23 11:32:5 CET] <main> Created adaptor of class WODefaultAdaptor on port 57668 and address dhcp69.nest.nl/193.78.79.69 with WOWorkerThread minimum of 16 and maximum of 256
    [2009-1-23 11:32:5 CET] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
    [2009-1-23 11:32:10 CET] <main> Error - Couldn't contact Xcode to send XML command <openProjectsAppropriateForFile><path>/Users/johan/Documents/workspace/D2WService20090123/build/D2WService20090123.woa</path></openProjectsAppropriateForFile>
    [2009-1-23 11:32:10 CET] <main> *** The application has found the following opened, development-mode ProjectBuilderWO projects: ( <com.webobjects.appserver._private.WOProjectBundle: projectName='D2WService20090123'; bundlePath='/Users/johan/Documents/workspace/D2WService20090123/build/D2WService20090123.woa'; projectPath='/Users/johan/Documents/workspace/D2WService20090123'> )
    [2009-1-23 11:32:10 CET] <main> Application project found: Will locate resources in '/Users/johan/Documents/workspace/D2WService20090123' rather than '/Users/johan/Documents/workspace/D2WService20090123/build/D2WService20090123.woa' .
    [2009-1-23 11:32:10 CET] <main> Creating LifebeatThread now with: D2WService20090123 -1 dhcp69.nest.nl/193.78.79.69 1085 30000
    Welcome to D2WService20090123 !
    [2009-1-23 11:32:10 CET] <main> ** DirectToWeb could not find user.d2wmodel file. One will be created if you try to save changes.
    [2009-1-23 11:32:10 CET] <main> ** DirectToWeb could not find user.d2wmodel file. One will be created if you try to save changes.
    [2009-1-23 11:32:10 CET] <main> DirectToWeb using default user.d2wmodel file.
    [2009-1-23 11:32:13 CET] <main> The URL for webserver connect is:
    http://193.78.79.69/cgi-bin/WebObjects/D2WService20090123.woa/-57668
    The URL for direct connect is:
    http://193.78.79.69:57668/cgi-bin/WebObjects/D2WService20090123.woa
    [2009-1-23 11:32:13 CET] <main> null
    [2009-1-23 11:32:13 CET] <main> DirectToWeb WebAssistant launch line: appletviewer http://localhost:57668/cgi-bin/WebObjects/D2WService20090123.woa/wa/D2WActions/openWebAssistant
    [2009-1-23 11:32:13 CET] <main> Waiting for requests...
    ***** PLEASE NOTE: The assistant will be available to configure the application. To disable the assistant use a -WSAssistantEnabled NO flag when you start the application.
    [2009-1-23 11:32:23 CET] <WorkerThread1> <com.webobjects.webservices.generation._WSDirectAction>: Exception in performActionNamed() on the action "loadD2WModel" with the message: java.lang.IllegalStateException: Can't obtain rules because of protected access!
    [2009-1-23 11:32:23 CET] <WorkerThread1> <com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while handling action named "loadD2WModel" on action class "com.webobjects.webservices.generation._WSDirectAction" :java.lang.reflect.InvocationTargetException
    [2009-1-23 11:32:23 CET] <WorkerThread2> <com.webobjects.webservices.generation._WSDirectAction>: Exception in performActionNamed() on the action "loadD2WModel" with the message: java.lang.IllegalStateException: Can't obtain rules because of protected access!
    [2009-1-23 11:32:23 CET] <WorkerThread2> <com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while handling action named "loadD2WModel" on action class "com.webobjects.webservices.generation._WSDirectAction" :java.lang.reflect.InvocationTargetException
    [2009-1-23 11:32:23 CET] <WorkerThread3> <com.webobjects.webservices.generation._WSDirectAction>: Exception in performActionNamed() on the action "loadD2WModel" with the message: java.lang.IllegalStateException: Can't obtain rules because of protected access!
    [2009-1-23 11:32:23 CET] <WorkerThread3> <com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while handling action named "loadD2WModel" on action class "com.webobjects.webservices.generation._WSDirectAction" :java.lang.reflect.InvocationTargetException

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Fri Jan 23 2009 - 05:37:06 EST