Have you packaged your web apps and EJBs in an ear? If yes, then place the
users.properties directly under the ear
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897691#3897691
Reply to the post :
As far as diabling the authentication is concerned, i guess you can remove the
following statement from the jboss.xml of your EJB module:
security-domainjava:/jaas/http-invoker/security-domain
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897697#3897697
Thanks Raja05
Thank you for putting me on the right path. By using currentThread() I was
able to resolve my immediate problem.
Maybe you can answer another question that I have with this deployment. As I
described above I have the Duke's Bank with 1 EBJ project and 2 web app
projects. I
Again, how are you loading the property file? You should use something like
Thread.currentThread().getContextClassLoader().getResource(users.properties)
That should get you the users.properties if its in the WEB-INF/classes. As far
your other question, i havent done much JAAS programming , you
I'm not loading the user.properties file directly, JBoss does that and not my
code.
I think what I'm asking is JBoss specific, right?
Tek
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897439#3897439
Reply to the post :
Regarding your point No. 1 above, you should *never* use Class.forName unless u
want to load one of the standard java classes. Loading classes dynamically
should be done using
Thread.currentThread().getContextClassLoader().getClass(foo).
Please refer to
Hello gulapalarajasekhar
Thank you for your response to the above question, however if you could be more
specific that would be very much appreciated.
I have a situation where I have a (1) and web application and (1) ejb module
inside of the Enterprise App (.ear). The 2 problems that I
Hi Andrew,
For the first case,
Assume we have 2 webserver/appserver for e.g., jboss and
tomcat, then it is not possible to access a file present in tomcat under
a.b.c.Src where a.b.c.Src is a class from jboss by default.
Because the jboss classloader doesn't know anything
The container is not able to load com.meerkat.jfr.par.Address class and so the
ClassNotFound Exception
It might be due to various reasons. Few which I know are
1. If we user more than 1 container, then there should be mapping in one
container saying the path of the other container.
2. If
gulaplaarajasekhar wrote : The container is not able to load
com.meerkat.jfr.par.Address class and so the ClassNotFound Exception
| It might be due to various reasons. Few which I know are
|
| 1. If we user more than 1 container, then there should be mapping in one
container saying the
10 matches
Mail list logo