39
Points
Questions
16
Answers
14
-
hi ,
i have 8 event handlers (with subscribers) that runs oracle script that publishes doc. each of them is running with differenet roles and privileges in order to show differenet affected items subclasses.
the script is running a closed function of agile export so i cannot filter the subclasses hardcoded. (this is the reason im using different handler with different read privileges)
i want to trigger each of the subscribers explicittly on an api code in order to determine which of them to run accroding to some conditions .
somthing like:“if(x…)
event1.doaction
if (y…)
event2. do action“
triggering them by doing the event action (updating attachments table/title block etc… ) is not an option.- 1631 views
- 2 answers
- 0 votes
-
- 2175 views
- 3 answers
- 0 votes
-
- 1715 views
- 2 answers
- 0 votes
-
- 2364 views
- 3 answers
- 0 votes
-
- 2311 views
- 2 answers
- 0 votes
-
i not sure i understand what you are asking.
the jsp loads fine and it imports the class as it should be. (i even tested some “hello world’ functions that i wrote in Myclass.class) and called them from the jsp , the exception seems to happen only whe trying to log in with agile api session instance (which is ode due to the reason that the process should work the same as when opening a session from the IDE )
- 5630 views
- 17 answers
- 0 votes
-
- 5630 views
- 17 answers
- 0 votes
-
- 5630 views
- 17 answers
- 0 votes
-
thanks again.
i have tried initializing a seesion with an harcoded username and password . it throws an exception in the following line:
session = fact.createSession(params);
i get the following exception :
“you have not logged in”You have not logged in.60002com/agile/pc/common/CMWarnin
i even printed the
UserName = (String)params.get(AgileSessionFactory.USERNAME);
and the
password= (String)params.get(AgileSessionFactory.PASSWORD);and saw that the credentials on the params were OK. but still right after it, in the
fact.createSession(params);i get the error
- 5630 views
- 17 answers
- 0 votes
-
yes of course.
excatly as i have been using in non utl px to test it on the IDE (created a session on main method and than debugging a px)the only think that i can assume that causes this is something with the cookies…
in general, im running a JSP page on tomcat that imports myclass.class
in myclass.class constructor i am creating the session excatly as you described.
what am i missing?
- 5630 views
- 17 answers
- 0 votes