If it's a different web app then it's a different session, so it will not work. But the point right now is to get JForum to work, is it not? If you can't get to that point, then anything else is irrelevant.
Well then check the logs. If you don't find anything in catalina.out, check jforum.log (which should be created). And as regards that link in particular, I've already pointed out that it's the wrong approach.
Glad to hear you found that. Yes, that's what I meant yesterday by "Is the context listener defined properly?"
An exception? You mean a compiler error, right? Exceptions happen at runtime. Looking at WebRequestContext, the only invocation of getParameterNames is on an instance of HttpServletRequest, so I'm not sure where an error involving ServletRequestWrapper (which anyway has the same method) would come from.
Ok I solved that issue as well removed all code and added jar file in my pom.xml file Now i have to check the SSO now how it should it willl work its a big question for me i do not want user registered in forum again or login in forum if he/she login in my web application he use same session
I'll repeat what I said it before: if there is only one web app, there is no need for SSO. In fact, it makes no sense.
What you need to do is to unify the session handling of both parts of the web app so that they don't get into one another's way, for example by using session attributes with the same name for different purposes.
SSO also worked and when i login in my application it created login automatically in jforum as well but now issue is that, i want to work as admin in jforum so i can create more Jforum topic ,change mail settings and other also access all thing related to admin but i am not able to how can access jforum as a admin any idea?
JForum creates a user "Admin" automatically upon installation, check the jforum_users table. If you log in as that, you can make any other users you have created admins as well.
So What if i will make change on this entry with my email entry like right now its showing username as Admin and some password while another entry with email id so if i will change Admin entry with my emailid and also change password it should give me all rights to access admin part?
It's hard to understand your post due to the complete lack of punctuation; please don't do that.
If you log in as "Admin" (the password was mentioned during installation, maybe "admin") you can make any other user an administrator. Does that answer your question?
Did you manage to figure out what was the problem? I want to integrate jforum with my app and not sure it's working. I used the same link you used. Did it worked for you in the end?