Hooooooooooops...!!!
I'm forgetting to add types.rdb registry in which XImplementationLoader is registered.



Adriano Colaianni wrote:

Hy Kay,
I've installed the OOo 2 and OOo SDK 2.0.
After setting evironment variable by setsdkenv_unix script and adding /javaldx/ output to LD_LIBRARY_PATH, I launch the:

[EMAIL PROTECTED] program]$ regcomp -register -r test.rdb -br services.rdb -c file:///etc/openoffice.org-1.9/program/UnoExeMain.jar -l com.sun.star.loader.Java2 register component 'file:///etc/openoffice.org-1.9/program/UnoExeMain.jar' in registry 'test.rdb' failed! error (RuntimeException): javaloader error - mapping of java XImplementationLoader to c++ failed

with the strace in attachment.




Kay Ramme - Sun Germany - Hamburg wrote:

Adriano,

Adriano Colaianni wrote:

I've tried to compile a register for a new component implementation in UnoExeMain.jar. The result is segmentation Fault.
What is the reason?


[EMAIL PROTECTED] eclipsews]$ regcomp -register -br /sp/home/acolaianni/OpenOffice.org1.1.5/program/types.rdb -br /sp/home/acolaianni/OpenOffice.org1.1.5/program/services.rdb -r test.rdb -c ./UnoExeMain.jar -l com.sun.star.loader.Java2
Segmentation fault
[EMAIL PROTECTED] eclipsews]$



it is much easier to see what's going wrong, if you provide a stack trace, e.g. by using gdb. Also, often "strace regcomp .. |& grep open" helps, to see if a file missing.

Kay


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to