Hi,
I wrote a small program to submit docs to Livelink and on my development server I have no problems, everything goes well.
When I run the same program on the production environment I always get an error:
The type initializer for "java.util.Locale" threw an exception.
I installed the LAPI_970_WIN executable, the environment variables is set to the bin directory and I referenced the dll's lapi_netp.dll and vjslib.dll.
I wrote some debuginfo in the program and noticed that the exception occurs in one of the following lines of code:
LLValue pwsInfo = (new LLValue()).setAssocNotSet();
if (doc.AccessEnterpriseWS(pwsInfo) != 0)
ThrowException(session, "Enterprise Workspace access Failed (AccessEnterpriseWS).");
I really don't know where to search anymore... Who can help me? Any suggestions are welcome! Thanks in advance.
I wrote a small program to submit docs to Livelink and on my development server I have no problems, everything goes well.
When I run the same program on the production environment I always get an error:
The type initializer for "java.util.Locale" threw an exception.
I installed the LAPI_970_WIN executable, the environment variables is set to the bin directory and I referenced the dll's lapi_netp.dll and vjslib.dll.
I wrote some debuginfo in the program and noticed that the exception occurs in one of the following lines of code:
LLValue pwsInfo = (new LLValue()).setAssocNotSet();
if (doc.AccessEnterpriseWS(pwsInfo) != 0)
ThrowException(session, "Enterprise Workspace access Failed (AccessEnterpriseWS).");
I really don't know where to search anymore... Who can help me? Any suggestions are welcome! Thanks in advance.