D2WS: Can't obtain rules because of protected access!

From: Fa. Simon Jackson GbR (simon_jackso..ac.com)
Date: Mon Mar 31 2008 - 09:45:50 EDT

  • Next message: Fa. Simon Jackson GbR: "Re: D2WS: Can't obtain rules because of protected access!"

    Hi,

    I'm trying to develop a D2WS project with WOLips and Eclipse. When I
    start my
    application and call the Direct To Webservice - Assistant, I receive
    the following
    error message:

    java.lang.IllegalStateException: Can't obtain rules because of
    protected access!
    [2008-3-31 14:39:16 CEST] <WorkerThread0>
    java.lang.IllegalStateException: Can't obtain rules because of
    protected access!
            at
    com
    .webobjects
    .webservices
    .generation._WSDirectAction.loadD2WModelAction(_WSDirectAction.java:224)
            at com.kontrast.cms.index.app.Session.awake(Session.java:15)
            at com.webobjects.appserver.WOSession._awakeInContext(WOSession.java:
    834)
            at
    com
    .webobjects
    .appserver
    .WOApplication._initializeSessionInContext(WOApplication.java:2111)
            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:
    1678)
            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:613)

    I tried enabling the PB.project file, .xcode and .xcodeproj files, no
    joy.
    The d2w.d2wmodel file seemed to be absent. So I created one. Nothing.
    FInally I checked the file permissions, which seem fine as well.

    What could it be?

    (OS X 10.5, WO 5.4, Eclipse 3.3, WOLips 3.3.5046)

    Thanks in advance,
    J.L.Simon



    This archive was generated by hypermail 2.0.0 : Mon Mar 31 2008 - 09:47:23 EDT