Hi Isomorphic,
I'm using recent 5.1p. Currently I'm building a standalone servlet (to be hit by a wget cronjob).
This works nicely so far. Now I have a child-DSRequest I spawn in the servlet.
This request hits an already existing DataSource/OperationId with existing DMI code.
This DMI code does checks on session variables, but my servletRequest is always null and therefore the checks on servletRequest.getSession().getAttribute() don't work.
My question is how to transfer the servletRequest I get from
to sub-Requests I initiate.
did not work (and is undocumented).
Is there some way to do this in standalone usage? Perhaps create a RPCManager in the servlet?
Thank you & Best regards
Blama
I'm using recent 5.1p. Currently I'm building a standalone servlet (to be hit by a wget cronjob).
This works nicely so far. Now I have a child-DSRequest I spawn in the servlet.
This request hits an already existing DataSource/OperationId with existing DMI code.
This DMI code does checks on session variables, but my servletRequest is always null and therefore the checks on servletRequest.getSession().getAttribute() don't work.
My question is how to transfer the servletRequest I get from
Code:
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {...}
Code:
mySubRequest.setRequestContext(new RequestContext(this, request, response));
Is there some way to do this in standalone usage? Perhaps create a RPCManager in the servlet?
Thank you & Best regards
Blama
Comment