i upgrade to jboss 4.2 and my bean functions, but i become:
log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation).
log4j:WARN Please initialize the log4j system properly.
I dont no what is the appender and where should i put it?
You see those messages because you dont have a log4j.properties or log4j.xml file in the classpath of the client (MyBeanClient). Have a look at http://jaitechwriteups.blogspot.com/2006/07/i-get-log4jwarn-no-appenders-could-be.html for more details. All you have to do is place a log4j.xml or log4j.properties file in the classpath of your client
but i don't use a logger in my client or some where else! why i should
have a log4.xml or log4.properties, if i don't log any messages and so on
in my code?
They are just warns, if you dont need log4j just ignore them in the standalone program of yours and the program will still work.