Re: Problem identifying DirectAction [Solved]
Re: Problem identifying DirectAction [Solved]
- Subject: Re: Problem identifying DirectAction [Solved]
- From: Susanne Schneider <email@hidden>
- Date: Fri, 22 Jul 2011 10:33:05 +0200
Hi Chuck,
thanks you very much for your help! It turned out, that WO 5.3 indeed
does not accept an application name in the form "ST21/application" like
it did before in previous versions. Because I do not have much to do
with deployment, I missed this obvious problem at first sight and
suspected the "/sic/" part of intallation URL.
Changing the name to "ST21-application" makes everything work again.
Regards,
Susanne
Am 21.07.2011 21:09, schrieb Chuck Hill:
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
--
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