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
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
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
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
-
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
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
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
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
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
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
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
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
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
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
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
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
---
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
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.
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
19 matches
Mail list logo