N1 Service Provisioning System - Error accessing User-Database from Jython CLI

Hi All,

once again, we experience a problem, when running udb commands from the Jython CLI, namely one of 'udb.g.la' or 'udb.u.la' (Others may be affected as well).

Our user is logged on and the application handle works well for any other CLI calls.

Our code looks something like this:

app = PyCLUI()

app.execRaw('udb.login'{...})# as admin user

app.execRaw('udb.g.la',{})

This fails with a ClientException. I have printed the stack-trace:

com.sun.n1.sps.model.util.ClientException

at com.sun.n1.sps.model.util.ClientException.wrap(ClientException.java:96)

at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.innerExecute(CommandManagerImpl.java:312)

at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.execute(CommandManagerImpl.java:170)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)

at org.python.core.PyMethod.__call__(PyMethod.java:99)

at org.python.core.PyObject.__call__(PyObject.java:650)

at clui$py.execRaw$4(clui.py:46)

at clui$py.call_function(clui.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyTableCode.call(PyTableCode.java:437)

at org.python.core.PyTableCode.call(PyTableCode.java:333)

at org.python.core.PyFunction.__call__(PyFunction.java:195)

at org.python.core.PyMethod.__call__(PyMethod.java:99)

at org.python.core.PyObject.__call__(PyObject.java:650)

at org.python.pycode._pyx0.dumpUsers$36(cli_base.py:327)

at org.python.pycode._pyx0.call_function(cli_base.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyTableCode.call(PyTableCode.java:437)

at org.python.core.PyFunction.__call__(PyFunction.java:189)

at org.python.core.PyObject._callextra(PyObject.java:786)

at org.python.pycode._pyx0.main$44(cli_base.py:556)

at org.python.pycode._pyx0.call_function(cli_base.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyTableCode.call(PyTableCode.java:277)

at org.python.core.PyFunction.__call__(PyFunction.java:174)

at org.python.pycode._pyx0.f$0(cli_base.py:563)

at org.python.pycode._pyx0.call_function(cli_base.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyCode.call(PyCode.java:14)

at org.python.core.Py.runCode(Py.java:1211)

at org.python.core.__builtin__.execfile_flags(__builtin__.java:319)

at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:158)

at org.python.util.jython.main(jython.java:190)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)

at java.lang.reflect.Method.invoke(Method.java:386)

at com.raplix.rolloutexpress.node.bootstrap.BootStrap.run(BootStrap.java:254)

at com.raplix.rolloutexpress.node.bootstrap.BootStrap.main(BootStrap.java:52)

java.lang.ArrayStoreException

at com.raplix.util.proxy.ProxyManager.privateToPublicInstance(ProxyManager.java:422)

at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.innerExecute(CommandManagerImpl.java:304)

at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.execute(CommandManagerImpl.java:170)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)

at org.python.core.PyMethod.__call__(PyMethod.java:99)

at org.python.core.PyObject.__call__(PyObject.java:650)

at clui$py.execRaw$4(clui.py:46)

at clui$py.call_function(clui.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyTableCode.call(PyTableCode.java:437)

at org.python.core.PyTableCode.call(PyTableCode.java:333)

at org.python.core.PyFunction.__call__(PyFunction.java:195)

at org.python.core.PyMethod.__call__(PyMethod.java:99)

at org.python.core.PyObject.__call__(PyObject.java:650)

at org.python.pycode._pyx0.dumpUsers$36(cli_base.py:327)

at org.python.pycode._pyx0.call_function(cli_base.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyTableCode.call(PyTableCode.java:437)

at org.python.core.PyFunction.__call__(PyFunction.java:189)

at org.python.core.PyObject._callextra(PyObject.java:786)

at org.python.pycode._pyx0.main$44(cli_base.py:556)

at org.python.pycode._pyx0.call_function(cli_base.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyTableCode.call(PyTableCode.java:277)

at org.python.core.PyFunction.__call__(PyFunction.java:174)

at org.python.pycode._pyx0.f$0(cli_base.py:563)

at org.python.pycode._pyx0.call_function(cli_base.py)

at org.python.core.PyTableCode.call(PyTableCode.java:217)

at org.python.core.PyCode.call(PyCode.java:14)

at org.python.core.Py.runCode(Py.java:1211)

at org.python.core.__builtin__.execfile_flags(__builtin__.java:319)

at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:158)

at org.python.util.jython.main(jython.java:190)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)

at java.lang.reflect.Method.invoke(Method.java:386)

at com.raplix.rolloutexpress.node.bootstrap.BootStrap.run(BootStrap.java:254)

at com.raplix.rolloutexpress.node.bootstrap.BootStrap.main(BootStrap.java:52)

I am not able to dig deeper, unfortunately. Is this worth filing a bug?

Regards,

Frank

[6847 byte] By [maverick_1601a] at [2007-11-26 23:12:40]
# 1
I believe there was a bug filed on this issue. A patch for this issue has been released. I think following solaris patches address this issue for MS/CLI 122989-02, 122990-02, 122991-02, 122992-02. hope this helps,Aj
aj.a at 2007-7-10 14:10:27 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 2
Unfortunately, we are using the CLI on AIX 5.3, so if one of these patches really affects the CLI program, we will have a big problem.Regards,Frank
maverick_1601a at 2007-7-10 14:10:27 > top of Java-index,Administration Tools,N1 Service Provisioning System...