Login is not working Properly in ecommerce

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Login is not working Properly in ecommerce

arpit singh pandya
Hello All,

In Ecommerce, while i follow the steps

1) Login with admin and ofbiz
2) click on Logout
3) and again try to login, it shows the Error


ControlServlet.java:204:ERROR]
---- exception report
----------------------------------------------------------
Error in request handler:
Exception: org.ofbiz.webapp.control.RequestHandlerException
Message: Unknown request [&]; this request does not exist or cannot be
called directly.
---- stack trace
---------------------------------------------------------------
org.ofbiz.webapp.control.RequestHandlerException: Unknown request [&];
this request does not exist or cannot be called directly.


here i find that the request will  came after *"jsessionid"  in address bar
*it looks like

http://localhost:8080/ecommerce/control/*&;jsessionid=FED1E7D3AFB69576F4723865F32FA877.jvm1#47;*checkLogin/main

but request should be
http://localhost:8080/ecommerce/control/**checkLogin/main


I am currently working on revision number  744088

and login is working fine before revision number 742013.



Thanks and Regards

Arpit Singh Pandya
Reply | Threaded
Open this post in threaded view
|

Re: Login is not working Properly in ecommerce

arpit singh pandya
there is some correction in url.
comment inline,


Arpit Singh Pandya wrote:

> Hello All,
>
> In Ecommerce, while i follow the steps
>
> 1) Login with admin and ofbiz
> 2) click on Logout
> 3) and again try to login, it shows the Error
>
>
> ControlServlet.java:204:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.webapp.control.RequestHandlerException
> Message: Unknown request [&]; this request does not exist or cannot be
> called directly.
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.webapp.control.RequestHandlerException: Unknown request [&];
> this request does not exist or cannot be called directly.
>
>
> here i find that the request will  came after "jsessionid"  in address
> bar
> it looks like
>
> http://localhost:8080/ecommerce/control/&;jsessionid=FED1E7D3AFB69576F4723865F32FA877.jvm1#47;checkLogin/main 
>
>
> but request should be
> http://localhost:8080/ecommerce/control/**checkLogin/main
but it should be
http://localhost:8080/ecommerce/control/checkLogin

>
>
> I am currently working on revision number  744088
>
> and login is working fine before revision number 742013.
>
>
>
> Thanks and Regards
>
> Arpit Singh Pandya
>
Reply | Threaded
Open this post in threaded view
|

Re: Login is not working Properly in ecommerce

Adrian Crum
In reply to this post by arpit singh pandya
I had the same problem in the Webtools component.

-Adrian

Arpit Singh Pandya wrote:

> Hello All,
>
> In Ecommerce, while i follow the steps
>
> 1) Login with admin and ofbiz
> 2) click on Logout
> 3) and again try to login, it shows the Error
>
>
> ControlServlet.java:204:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.webapp.control.RequestHandlerException
> Message: Unknown request [&]; this request does not exist or cannot be
> called directly.
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.webapp.control.RequestHandlerException: Unknown request [&];
> this request does not exist or cannot be called directly.
>
>
> here i find that the request will  came after *"jsessionid"  in address bar
> *it looks like
>
> http://localhost:8080/ecommerce/control/*&;jsessionid=FED1E7D3AFB69576F4723865F32FA877.jvm1#47;*checkLogin/main 
>
>
> but request should be
> http://localhost:8080/ecommerce/control/**checkLogin/main
>
>
> I am currently working on revision number  744088
>
> and login is working fine before revision number 742013.
>
>
>
> Thanks and Regards
>
> Arpit Singh Pandya
>
Reply | Threaded
Open this post in threaded view
|

Re: Login is not working Properly in ecommerce

David E Jones-3

This should be fixed in SVN rev 744232.

-David

On Feb 13, 2009, at 8:26 AM, Adrian Crum wrote:

> I had the same problem in the Webtools component.
>
> -Adrian
>
> Arpit Singh Pandya wrote:
>> Hello All,
>> In Ecommerce, while i follow the steps
>> 1) Login with admin and ofbiz
>> 2) click on Logout
>> 3) and again try to login, it shows the Error
>> ControlServlet.java:204:ERROR]
>> ---- exception report  
>> ----------------------------------------------------------
>> Error in request handler:
>> Exception: org.ofbiz.webapp.control.RequestHandlerException
>> Message: Unknown request [&]; this request does not exist or cannot  
>> be called directly.
>> ---- stack trace  
>> ---------------------------------------------------------------
>> org.ofbiz.webapp.control.RequestHandlerException: Unknown request  
>> [&]; this request does not exist or cannot be called directly.
>> here i find that the request will  came after *"jsessionid"  in  
>> address bar
>> *it looks like
>> http://localhost:8080/ecommerce/control/*&;jsessionid=FED1E7D3AFB69576F4723865F32FA877.jvm1#47 
>> ;*checkLogin/main but request should be
>> http://localhost:8080/ecommerce/control/**checkLogin/main
>> I am currently working on revision number  744088
>> and login is working fine before revision number 742013.
>> Thanks and Regards
>> Arpit Singh Pandya

Reply | Threaded
Open this post in threaded view
|

Re: Login is not working Properly in ecommerce

David E Jones-3

On a side note: the general html encoding won't hurt URLs (the browser  
is fine with them), but if they are encoded before being passed to the  
@ofbizUrl tag then it causes problems.

As an alternate fix for this I was thinking of making the @ofbizUrl  
tag handle encoded Strings instead of requiring them to not be encoded  
as it is now... if anyone has thoughts on that please share!

-David


On Feb 13, 2009, at 1:35 PM, David E Jones wrote:

>
> This should be fixed in SVN rev 744232.
>
> -David
>
> On Feb 13, 2009, at 8:26 AM, Adrian Crum wrote:
>
>> I had the same problem in the Webtools component.
>>
>> -Adrian
>>
>> Arpit Singh Pandya wrote:
>>> Hello All,
>>> In Ecommerce, while i follow the steps
>>> 1) Login with admin and ofbiz
>>> 2) click on Logout
>>> 3) and again try to login, it shows the Error
>>> ControlServlet.java:204:ERROR]
>>> ---- exception report  
>>> ----------------------------------------------------------
>>> Error in request handler:
>>> Exception: org.ofbiz.webapp.control.RequestHandlerException
>>> Message: Unknown request [&]; this request does not exist or  
>>> cannot be called directly.
>>> ---- stack trace  
>>> ---------------------------------------------------------------
>>> org.ofbiz.webapp.control.RequestHandlerException: Unknown request  
>>> [&]; this request does not exist or cannot be called directly.
>>> here i find that the request will  came after *"jsessionid"  in  
>>> address bar
>>> *it looks like
>>> http://localhost:8080/ecommerce/control/*&;jsessionid=FED1E7D3AFB69576F4723865F32FA877.jvm1#47 
>>> ;*checkLogin/main but request should be
>>> http://localhost:8080/ecommerce/control/**checkLogin/main
>>> I am currently working on revision number  744088
>>> and login is working fine before revision number 742013.
>>> Thanks and Regards
>>> Arpit Singh Pandya
>

Reply | Threaded
Open this post in threaded view
|

Re: Login is not working Properly in ecommerce

Jacques Le Roux
Administrator
In reply to this post by David E Jones-3
Thanks David,

I needed an "ant clean-all" but it works now

Jacques

From: "David E Jones" <[hidden email]>

>
> This should be fixed in SVN rev 744232.
>
> -David
>
> On Feb 13, 2009, at 8:26 AM, Adrian Crum wrote:
>
>> I had the same problem in the Webtools component.
>>
>> -Adrian
>>
>> Arpit Singh Pandya wrote:
>>> Hello All,
>>> In Ecommerce, while i follow the steps
>>> 1) Login with admin and ofbiz
>>> 2) click on Logout
>>> 3) and again try to login, it shows the Error
>>> ControlServlet.java:204:ERROR]
>>> ---- exception report  
>>> ----------------------------------------------------------
>>> Error in request handler:
>>> Exception: org.ofbiz.webapp.control.RequestHandlerException
>>> Message: Unknown request [&]; this request does not exist or cannot  
>>> be called directly.
>>> ---- stack trace  
>>> ---------------------------------------------------------------
>>> org.ofbiz.webapp.control.RequestHandlerException: Unknown request  
>>> [&]; this request does not exist or cannot be called directly.
>>> here i find that the request will  came after *"jsessionid"  in  
>>> address bar
>>> *it looks like
>>> http://localhost:8080/ecommerce/control/*&;jsessionid=FED1E7D3AFB69576F4723865F32FA877.jvm1#47 
>>> ;*checkLogin/main but request should be
>>> http://localhost:8080/ecommerce/control/**checkLogin/main
>>> I am currently working on revision number  744088
>>> and login is working fine before revision number 742013.
>>> Thanks and Regards
>>> Arpit Singh Pandya
>