Hi,
When I deploy CMP bean on JBoss 3.2.3 and/or 3.2.5
I get 'warning' logs:
<log>
[EjbModule]
Deploying Account
[ServiceController]
Problem starting service jboss.j2ee:jndiName=AccountLocal,service=EJB
RuntimeErrorException: java.lang.NoSuchMethodError:
org.apache.bcel.generic.InstructionFactory.createNewArray
(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instruction;
Cause: java.lang.NoSuchMethodError:
org.apache.bcel.generic.InstructionFactory.createNewArray
....
</log>
Deployment descriptors, home and business interfaces are generated
by 'xdoclet' [1.2.1] (with goal <jboss version="3.2" ...)
This case is strange for me because when I set 'xdoclet' to
generate files for JBoss 3.0 (by: <jboss version="3.0" ...)
and when I deploy such generated CMP bean on JBoss 3.0.6
there is no problem!?
[So I can suppose that bean code is good]
Did you have simillar problem?
My platform is: Windows NT (SP6a) and J2SDK 1.4.1
Naturally, if needed I can give more details.
Thank you for your attention and help.
Grzegorz Trafny
Grzegorz Trafny - 15 Aug 2004 13:34 GMT
> When I deploy CMP bean on JBoss 3.2.3 and/or 3.2.5
> I get 'warning' logs:
> RuntimeErrorException: java.lang.NoSuchMethodError:
OK, after many waste time I found reason of 'my' troubles:
When I installed Java Web Services Development
Pack (1.2) I had to upgrade some 'xml libraries' of my
JVM distribution
[located in $JAVA_HOME/jre/lib/endorsed].
This new libraries doesn't properly work with BCEL
libraries from JBoss [3.2.x] distribution (actually
doesn't work at all)
When I removed above mentioned libraries from
$JAVA_HOME/jre/lib/endorsed my CMP beans
begin to work properly.
[But there is new question: what now with JWSDP distribution?]
Greetings
Grzegorz Trafny