hi,

I started using the orion feature, that you can declare a child application 
of another one. at first it worked fine but I'm beginning to get more and 
more weird errors, e.g.

say I have three applications named parent, child1 and child2.

in addition to that I have used the global-application to import some 
common utility classes used by all applications.

when I start orion I get an error message saying that one of the utility 
classes (in the library path of the global application) cannot be found 
when deploying child1 and child2:

Error loading package at 
file:/home/krueger/devel/projekte/s7procurement-deployment/devel/ejb/, 
Error loading class 
'com.signal7.procurement.ejb.administration.CompanyBean': 
java.lang.NoClassDefFoundError: com/signal7/ejb/EntityAdapter

when i remove child1, child2 from server.xml store, put them back in, they 
deploy normally and work.

on another orion installation I have the effect that the narrow operation 
on a looked up home interface leeds to a class cast exception because there 
is an object of some internal com.evermind.server... class instead of my 
home interface wrapper. the identical deployment settings, freshly checked 
out from cvs work well on the same version of orion on the development 
machine. suddenly after a few requests on the servlet it works. before I 
incest more effort trying to find a pattern in this weird behaviour I would 
like to hear from others who have used this stuff if they think it works. 
if I'm the first to use it extensively I don't know if I have the nerve to 
go on and would consider solving my problem some other way.

any input appreciated,

maybe magnus or karl could share some internals on how this 
parent/child/global application stuff works internally (classloader 
hierachy, jndi tree, implications) so I can bo better than with just 
brainless trial and error.

robert



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


Reply via email to