We are in the process of testing EAServer 6.2 to replace our
existing 5.1 servers (all on Solaris). I have experienced
some problems with finding classes.
When I deploy components on 5.1, the classes, stubs,
skeletons, helper and holder classes are all automatically
placed under java/classes. This folder we used in the
classpath for our tomcat that accesses the EAServer and also
in the classpath for our build projects. I have seen on the
class loaders in 6.2 that they also points to ~/java/classes
(and ~/html/classes) but those folders don't exist. The only
way I have found to access the EJBs is to add all
/deploy/ejbjars/* folders to the classpaths (which also
means that the tomcat needs to be restarted to be able to
find a new EJB component). Is this how it's supposed to work
or is there some other recommended way to solve this?
Best regards,
Mattias
It looks as if you have stumbled across an issue that hasn't been
reported before.
Since your tomcat server wants to see a single directory as the root for
stub classes etc, perhaps you can create a shell/batch script that
copies the classes from various deploy/... folders into ~/java/classes.
Probably we should add a "-jc" command line option to the deploy tool to
do this copying automatically (but just for the EJB-JAR being deployed).
If you are interested in the above, and happen to have a case number for
this issue, please forward the case number to me. (Without a case
number, we can't track this issue properly).
Thanks.