Re: Problem identifying DirectAction
Re: Problem identifying DirectAction
- Subject: Re: Problem identifying DirectAction
- From: Chuck Hill <email@hidden>
- Date: Thu, 21 Jul 2011 12:09:12 -0700
On 2011-07-21, at 5:10 AM, Susanne Schneider wrote:
> Hi list,
>
> after a long time I need some more help by you:
>
> one of our customers makes a new installation of a simple WO application on his own server. For inner reasons he installed the application not in the standard way.
Uh oh.
> This results in an url of the type:
>
> https://st03.mi.med.example.de/sic/cgi-bin/WebObjects/ST21/application.woa/wa/contact
I don't think that is going to work unless you handle the URL yourself in the application. WO expects the URL to be in a certain form. Is this using Apache? If so, use re-write rules to make the URL the app sees "normal".
Chuck
>
> The application now cannot identify any existing direct action (like the
> one in the example). The error message in the log is:
>
> ...
> [110721 13:16:43] ERROR <WorkerThread0 > pd.general - action
> request error: java.lang.IllegalStateException:
> <com.webobjects.appserver._private.WODirectActionRequestHandler> Direct
> Action type URL '( 1, wa, contact )' doesn't contain direct action
> class and/or action name.
> at
> com.webobjects.appserver._private.WOActionRequestHandler.getRequestActionClas
> sAndNameForPath(WOActionRequestHandler.java:414)
> at
> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOAct
> ionRequestHandler.java:226)
> at
> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActi
> onRequestHandler.java:158)
> at
> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:168
> 7)
> at Application.dispatchRequest(Application.java:685)
> 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:595)
> [110721 13:16:43] ERROR <WorkerThread0 > pd.general - action
> request error reason: InvalidPathError
> ...
>
> So, anybody ever seen this? Any input welcome!
>
> Regards,
> Susanne
> --
> Susanne Schneider
> Coordinator secuTrial Development
>
> iAS interActive Systems GmbH
> Dieffenbachstraße 33 c, 10967 Berlin
>
> fon +49 30 22 50 50 - 498
> fax +49 30 22 50 50 - 451
> mail email@hidden
> web http://www.interActive-Systems.de
>
> ----------------------------------------------------
> Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
> Sitz der Gesellschaft: Berlin
> Amtsgericht Berlin Charlottenburg, HRB 106103B
> ----------------------------------------------------
> _______________________________________________
> 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
_______________________________________________
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