I was asking regarding frontend proxy like Apache or nginx
I would read Tomcat related articles regarding this

On Mon, 10 Dec 2018 at 16:08, Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:

> We use AOP auto proxy.Yes, the problem occurs in the Aspect class.
>
> We have configured this <aop:aspectj-autoproxy/>
>
> How do I resolve this?
>
>
>
> *Thanks And RegardsSibi.ArunachalammCruncher*
>
>
> On Mon, Dec 10, 2018 at 4:42 PM Maxim Solodovnik <solomax...@gmail.com>
> wrote:
>
> > Are you using frontend proxy?
> >
> > On Mon, 10 Dec 2018 at 15:39, Arunachalam Sibisakkaravarthi <
> > arunacha...@mcruncher.com> wrote:
> >
> > > But, It didn't give remote address when run the app in Tomcat, but in
> > Jetty
> > > It gives correct remote address
> > >
> > > RequestCycle requestCycle = RequestCycle.get();
> > > ServletRequest containerRequest = (ServletRequest)
> > > requestCycle.getRequest().getContainerRequest();
> > > return containerRequest.getRemoteAddr();
> > >
> > > Can you all help me why I can't get the remoteAddr when run the app in
> > > Tomcat?
> > >
> > >
> > >
> > > *Thanks And RegardsSibi.ArunachalammCruncher*
> > >
> > >
> > > On Fri, Dec 7, 2018 at 11:30 AM Arunachalam Sibisakkaravarthi <
> > > arunacha...@mcruncher.com> wrote:
> > >
> > > > It woks. Thank you.
> > > >
> > > >
> > > > *Thanks And RegardsSibi.ArunachalammCruncher*
> > > >
> > > >
> > > > On Thu, Dec 6, 2018 at 3:18 PM Ernesto Reinaldo Barreiro <
> > > > reier...@gmail.com> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> See
> > > >>
> > > >> http://wicketinaction.com/2014/07/working-with-background-jobs/
> > > >> https://github.com/reiern70/antilia-bits/tree/master/bgprocess
> > > >>
> > > >>
> > > >>
> > > >> On Thu, Dec 6, 2018 at 7:35 AM Arunachalam Sibisakkaravarthi <
> > > >> arunacha...@mcruncher.com> wrote:
> > > >>
> > > >> > Hi guys,
> > > >> > I am facing problem when try to get current session in separate
> > > thread.
> > > >> > Have a button in a page to import contacts.
> > > >> > When user clicks the button, it invoke Spring Async method in
> > service
> > > >> > class.
> > > >> > The method saves the contacts.
> > > >> > Inside the method I have used Sessiong.get() to get username.
> > > >> >
> > > >> > But it throws following exception
> > > >> >
> > > >> > org.apache.wicket.WicketRuntimeException: There is no application
> > > >> attached
> > > >> > to current thread commonTaskExecutor-2
> > > >> >     at org.apache.wicket.Application.get(Application.java:235)
> > > >> >     at org.apache.wicket.Session.get(Session.java:175)
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> > *Thanks And RegardsSibi.ArunachalammCruncher*
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >> Regards - Ernesto Reinaldo Barreiro
> > > >>
> > > >
> > >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>


-- 
WBR
Maxim aka solomax

Reply via email to