anonymous wrote : C:\dev_inst\jboss-4.0.4.GA\server\ejb3\lib
Have you created your own directory(server) under the %JBOSS_HOME%/server
directory? Because, looking at the above directory hiearchy, it looks like that
you have placed the mail.jar under %JBOSS_HOME%/server/ejb3/lib directory. If
th
hey jaikiran
this is what I get after running jar command for mail.jar
|
| C:\dev_inst\jboss-4.0.4.GA\server\ejb3\lib>jar -tf mail.jar
| META-INF/MANIFEST.MF
| META-INF/SUN_MICR.SF
| META-INF/SUN_MICR.RSA
| META-INF/
| META-INF/javamail.default.providers
| META-INF/javamail.defau
anonymous wrote : I put into the JBOSS_HOME/server/default/lib 2 jars mail.jar
and activation.jar, but I still get this error
Placing the mail.jar in the server/default/lib should have worked. Can you run
this command and post the output:
jar -tf mail.jar
This will display the contents of the
jaikiran,
thanks a lot man for the help! I really appreciate it.
it does work if I use Logger from log4j ( as you have suggested !! ).
but if I used wrapper around Logger, it did not work.
Really strange, but anyway, thanks a lot for your help!!
I am struggling with last problem regarding SMTPAppe
This has nothing to do with messaging. Put your level in a .jar file and put it
in server/default/lib
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957425#3957425
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=395742
I tried out a standalone application which creates a new Level and logs using
that level. Everything worked fine for me. I tried uploading the sample project
onto some site, but my firewall blocks those sites. So, here's the code, which
is working. There are 2 java files involved. One correspond
jaikiran,
thank you so much for your support and help.
Here is the log4.xml with my additions and modifications:
|
|
|
|
|
|
|
|
|
|
|
|
|
| http://jakarta.apache.org/log4j/";
debug="false">
|
|
|
|
|
|
|
|
|
Can you post your entire log4j.xml and the snippet of code where you are
logging the message (Use the 'Code' button to enclose the contents in a code
block, for better readability)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956945#3956945
Reply to the