[JBoss-user] [Installation & Configuration] - log4j again

2005-02-09 Thread grinch
Sorry for the multiple post, but I am still looking for help. I have created an appender, category, and root as in the Wiki example for log4j.xml. My log is created but I get everyting that is in the server.log plus the elements that I want to only go to my log file. Is there any way to keep

[JBoss-user] [Installation & Configuration] - Re: new log4j appendar logs all

2005-02-09 Thread grinch
Ok, I solved the problem. Going off the example on the Logging Wiki page, I put in a filter for my ear file. This worked. If anyone one is still looking at this topic I have another question, can I define an appender in my package and have it deployed when I deploy? So each package can add

[JBoss-user] [Installation & Configuration] - Re: new log4j appendar logs all

2005-02-09 Thread grinch
Dont think it likes the quotes, let try again: appender name="SRSLog" class="org.apache.log4j.FileAppender" errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" param name="Append" value="flase" param name="File" value="${jboss.server.home.dir}/log/SRS.log" layo

[JBoss-user] [Installation & Configuration] - Re: new log4j appendar logs all

2005-02-09 Thread grinch
Sorry, here is the setup: " " View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865935#3865935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865935 -

[JBoss-user] [Installation & Configuration] - new log4j appendar logs all

2005-02-09 Thread grinch
I revcently added a new appender to the log4j.xml so I could log messages from my app to this file. However, along with the messages I log by "Logger myLog = Logger.getLogger("myLog")" I get everyting else that the server spits out as well. My log file is basicaly a copy of the server.log. Belo

[JBoss-user] [EJB/JBoss] - Re: Beans Cashed?

2004-10-13 Thread grinch
I am stumped here!! It is not the broweser cashing the bean, it has to be JBOSS. I open an entirely different boswer and load the page and it is still not showing me that data that is the database. The reason for this is becuase for some reason, my findAll method is not calling ejbLoad on the

[JBoss-user] [EJB/JBoss] - Re: Beans Cashed?

2004-10-12 Thread grinch
Yes, I call the set method of the bean. Then the page loads as normal which does a findAll. Then I call the corresponding get Method and the new data is not retrieved. Maybe the bean is cashed before the set method and then calling the get method using the cashed bean that does not have the n

[JBoss-user] [EJB/JBoss] - Beans Cashed?

2004-10-11 Thread grinch
Dear Friends, I have written an Enity bean that uses bean managed persitance. From a JSP page I call a findAll method that displays all the infrmation in that is stored in the database. Also on the JSP page I have the ability to edit an entry which calls a set* on the EJB then reloades the p

[JBoss-user] [Security & JAAS/JBoss] - Re: Password Encryption with DatabaseLoginModule

2004-10-04 Thread grinch
Scott, Thank you very much. One last question if you have the time: Once I compile this new class, where do I need to put it so that the login-config.xml file can find it? Can I simply JAR it and put it in the lib folder? Thanks, SJ View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Security & JAAS/JBoss] - Re: Password Encryption with DatabaseLoginModule

2004-10-04 Thread grinch
Mr. Starks, Thank you for the reply, but I think I may have been unclear on my question. For this inquery, I am not concerned about the Datasource password, but rather a User's password. I want to have all Users' passwords stored in the database encrypted. The problem will be when the user

[JBoss-user] [Security & JAAS/JBoss] - Re: Password Encryption with DatabaseLoginModule

2004-10-03 Thread grinch
Shortly after posting this I saw the DatabaseServerLoginModule class and noticed there was a convertRawPassword method. So it seems to me that I would just need to extend this class and put in my code for decrypting the database password in that method...is this correct? If so, how do I go abo

[JBoss-user] [Security & JAAS/JBoss] - Password Encryption with DatabaseLoginModule

2004-10-03 Thread grinch
Dear Friends, I would like to encrypt all users passwords in the database, meaning having the encrpyted password in the DB. However, I do not know how I can encrpyt the password recieved from the login page, j_password, so that when the DatabaseLoginModule compares the value from the form, wi

[JBoss-user] [EJB/JBoss] - ejb-jar DTD validation

2004-09-17 Thread grinch
Dear Friends, When I deploy my application the server tells me that my ejb-jar.xml file is malformed stating "unkown PUBLIC id in ejb-jar.xml". This is coming from the DOCTYPE tag. I have matched the DOCTYPE to exactly what is in the DTD but is still gives me that mesage. Any Idea? I am jboss

[JBoss-user] [Security & JAAS/JBoss] - Re: Valve or Filter?

2004-09-13 Thread grinch
Thanks, everyone, for the replys. I like the valve, so will stick with it for the time being and try to use the context.xml. Again, Thanks. -SJ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848089#3848089 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Security & JAAS/JBoss] - Valve or Filter?

2004-09-09 Thread grinch
Dear Friends, I need to pass an additional parameter to my default page from the my simple form login page. Following examples here, I have done this with a cutom Valve. However, I have also looked into Filters and it seems I may be able to do the same thing with a filter. Is a Valve or Fil

[JBoss-user] [Security & JAAS/JBoss] - Re: When does Security Context get Set

2004-09-03 Thread grinch
Stuart, That was exactly it, thank you very much!! -SJ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847224#3847224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847224 ---

[JBoss-user] [Security & JAAS/JBoss] - When does Security Context get Set

2004-09-02 Thread grinch
Dear friends, I have a web application that I am trying to modify and I cannot figure somthing out. On the default page, I check a variable and either redirect to my app.jsp or include my app.jsp into the default page. The app.jsp does the same thing in both cases, but when I immediatly redire

[JBoss-user] [Security & JAAS/JBoss] - Custom Login Valve Problems

2004-08-31 Thread grinch
Dear Friends, Following an example from this forum I wrote a custom login module to pass an extra paramter from the login page. Basically it sets a session variable that the default page looks for. All works fine when I use this wil JBOSS 3.2.3, but when I tried to use the valve from JBOSS 3.

[JBoss-user] [EJB/JBoss] - RMI/Naming with Multiple Site Hosting

2004-08-19 Thread grinch
Dear Friends, We are currently hosting multiple JBOSS sessions by running different jboss server instances on different JVM ports. I have created a client app than connects to the a server instance, but when I try to create an initial contect to a machine it always get connection refused. I