| Author |
Getting Logging jar is sealed Error
|
Harpreet Singh janda
Ranch Hand
Joined: Jan 14, 2010
Posts: 317
|
|
Can anyone please let me know how to resolve below error:
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8143
|
|
You need to tell us what exactly are you doing and which version of JBoss AS is this? From some other posts of yours in this forum, I see that you are running into exceptions which are really weird unless you changed something in the default JBoss installation.
|
[My Blog] [JavaRanch Journal]
|
 |
Harpreet Singh janda
Ranch Hand
Joined: Jan 14, 2010
Posts: 317
|
|
We are trying to run jboss under emma. Emma is a code coverage tool. To find out the coverage of some application it should run under emma.
We are using jboss-4.2.3.GA.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8143
|
|
Harpreet Singh janda wrote:We are trying to run jboss under emma. Emma is a code coverage tool. To find out the coverage of some application it should run under emma.
Looking at the exception stacktrace (from this and some of your other posts), it appears that you have instrumented the JBoss code/jars using Emma. Is that correct? If yes, why do you have to instrument JBoss code if you want to find the code coverage of your application?
|
 |
Harpreet Singh janda
Ranch Hand
Joined: Jan 14, 2010
Posts: 317
|
|
No. We have not instrumented the jboss code.
We want to calculate the code coverage of a web application deployed in jboss and we want on-the-fly (Runtime) coverage.
We have deployed the instrumented war file.
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8143
|
|
|
To narrow down things, here's what you could try - Remove your application (and any of its configs) from the server and restart the clean server. See if the server starts up fine. If it does, then it would mean that there's some problem with your application.
|
 |
Harpreet Singh janda
Ranch Hand
Joined: Jan 14, 2010
Posts: 317
|
|
|
We are already trying with a clean jboss.
|
 |
Vikram Saxena
Ranch Hand
Joined: Dec 16, 2008
Posts: 53
|
|
Hello,
My guess would be that you have multiple log4j jars in your classpath.
Could you please double check that ?
|
Vikram
SCJP 5 , SCBCD [Prep Started ] , WLS 8.1 Server Admin
|
 |
 |
|
|
subject: Getting Logging jar is sealed Error
|
|
|