I am a bit concerned that nobody is experiencing the same problem. I am running on Win 2000.
For version 3.0.1 we simply installed a vanilla version of jboss. Placed the required classes in the default lib dir and then deployed our beans to the deploy dir.
Have even got as far as using cmp and cmr.
Have scanned through the quickstart guide but nothing stands out.
I would really appreciate some pointers here. Do my library jars need to be defined in one of the config files?
Any help welcome.
You probably need to be more explicit about the error you are getting, the classes involved and so on. Perhaps a stacktrace dump of the error, whether it was client-side or server-side, that sort of thing. Unfortunately, as most of us have other things going on, we are sometimes just going to go for the low hanging fruit and answer questions for which answers come easily. ;)
Heres the stack trace from jboss.
11:00:28,825 ERROR [LogInterceptor] Unexpected Error:
at mvdc.ejb.benefit.BenefitLookupBean.getBenefitSummary(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I have two ejb jars.
benLookup.jar (stateless session references benRef and mvdcforms)
mvdcForms.jar (holds value object)
Heres the rub. mvdcForms.jar references struts.jar
(not brilliant design but stay with me)
The above error is a result of the strats.jar not being
in the classpath.
Seems a bit of a misleading error is it a JBoss bug?
It works now with the struts jar, thanks for making me think a little more about the problem.
This is a pure Java stack trace - which has nothing really to do with JBoss. The reason the trace can't tell you anything more is that it is not directly working with the object, but through a reflection.
good point in v3.0.1 JBoss cant use reflection I guess
because it gives this.
13:26:31,215 ERROR [LogInterceptor] Unexpected Error:
at java.lang.ClassLoader.defineClass0(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
A more exact message.
Make sure you put the jar file with the required class ( org/apache/struts/action/ActionForm ) in the /lib directory of the new installation of JBoss