You have to explicitly register Valuetype factory implementation with ORB.
The error says that a factory wasn't found - creating and registering
a valuetype factory will fix the problem. But you don't always need
one with JacORB. If you've named your Impl correctly and followed a
few other simple rules, you can get away without having to mess with
implementing and registering a factory.
From the JacORB Programmer's Guide:
JacORB's convenience mechanism is straightforward:
If the implementation class for an IDL value type A is named AImpl,
resides in the same package as A, and has a no-argument constructor,
then no value factory is needed for that type.
In other words, if your implementation class follows the common naming
convention ("...Impl"), and it provides a no-arg constructor so that
the ORB can instantiate it, then the ORB has all that it needs to (a)
find the implementation class, and (b) create an instance of it (which
is then initialized with the unmarshaled state from the wire).
BTW, if you do decide to create and register a valuetype factory, the
generated ValueFactory class is simply an interface and you still need
to provide an implementation.
Good luck,
David
> You have to explicitly register Valuetype factory implementation with ORB.
>
[quoted text clipped - 48 lines]
> > should find it automatically.
> > Why doesn't this happen?