[Security & JAAS/JBoss] - Obtaining SecurityManagerService failed
by awanisz
My collegue developed a programme for security during login..but upon login i get this error...how do i fix it??could u guys help me out...i really am a beginner...
2006-12-26 15:51:36,453 DEBUG [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Obtaining SecurityManagerService failed::
java.lang.ClassCastException: org.jnp.interfaces.NamingContext
at org.jboss.web.tomcat.security.SecurityFlushSessionListener.getSecurityManagerService(SecurityFlushSessionListener.java:193)
at org.jboss.web.tomcat.security.SecurityFlushSessionListener.getSubjectAndSecurityDomain(SecurityFlushSessionListener.java:160)
at org.jboss.web.tomcat.security.SecurityFlushSessionListener.sessionDestroyed(SecurityFlushSessionListener.java:79)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:645)
at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1090)
at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:149)
at com.utm.iumis.sadm.struts.action.penyelenggaraansistem.AuthenticationAction.execute(AuthenticationAction.java:106)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
2006-12-26 15:51:36,453 DEBUG [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Unable to obtain SecurityDomain
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996249#3996249
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996249
19 years, 4 months
[JBoss AOP] - Compile Error in org\jboss\aop\Advisor.java
by jagadeeshvn
Hi All,
I am trying to compile the latest AOP source and I am getting a few compilation errors in Advisor.java ( ln:360 ).
[execmodules] E:\JavaSource\JBoss_AOP\aop\src\main\org\jboss\aop\Advisor.java:36
0: hasAnnotation(java.lang.Class) in org.jboss.repository.spi.MetaDataContext ca
nnot be applied to (java.lang.String)
[execmodules] if (metadataContext.hasAnnotation(annotation)) return tru
e;
[execmodules] ^
[execmodules] E:\JavaSource\JBoss_AOP\aop\src\main\org\jboss\aop\Advisor.java:37
8: getAnnotation(java.lang.Class) in org.jboss.repository.spi.MetaDataContext ca
nnot be applied to (java.lang.reflect.Method,java.lang.Class)
[execmodules] Object val = metadataContext.getAnnotation(m, annotation)
;
[execmodules] ^
[execmodules] E:\JavaSource\JBoss_AOP\aop\src\main\org\jboss\aop\Advisor.java:42
3: hasAnnotation(java.lang.Class) in org.jboss.repository.spi.MetaDataContext ca
nnot be applied to (java.lang.reflect.Method,java.lang.String)
[execmodules] if (metadataContext.hasAnnotation(m, annotation)) return
true;
[execmodules] 3 errors
[execmodules] 2 warnings
I understand that the problem is with jboss-container.jar and the version I have downloaded from svn when I executed build.bat is relatively new, but Advisor.java is looking for a previous version. I couldn't find that version anywhere in SVN. I would really appreciate if you can point me to a repository from where I can download that version of jboss-container.jar.
Thanks
Jugs
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996248#3996248
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996248
19 years, 4 months
[JBoss Seam] - Re: Any experience with SeamFaceletViewHandler?
by SmokingAPipe
Ok, I'll try that. I'm now thinking that the problem is I don't have the Facelets Servlet installed in my web.xml. That would make sense; it's a load-on-startup servlet which probably does set up factories, etc.
But then I'm totally confused about URLs. Right now my files are .jsp files, but they are actually served by Seam, so the URLs are all .seam URLs. I notice in the Facelets examples they are all .xhtml files. What is the logic for getting these .xhtml files to be processed by both Seam and Facelets? I'm totally confused.
One good thing about changing them from .jsp to .xhtml is that NetBeans has a good built-in xhtml editor that will spot xhtml syntax errors, so I won't have to worry about that. I just have to worry about getting Seam and Faclets to operate on the same files, right?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996246#3996246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996246
19 years, 4 months