Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-02-11T12:41:43Z by bpaskin
SystemAdmin
SystemAdmin
37422 Posts
ACCEPTED ANSWER

Pinned topic WebSphere Application Server 6.1 - Federated Repository - setup - issue

‏2013-02-06T19:30:41Z |
Hi,

I'm following this article to set up federated repository in WAS 6.1
http://www.ibm.com/developerworks/websphere/techjournal/0701_ilechko/0701_ilechko.html

Trying to run this against Oracle database.

Here is my jython script command

AdminTask.setupIdMgrDBTables('')

I get the following exception
WIMSystemException: CWWIM1999E An exception occurred during processing: oracle.jdbc.driver.OracleDriver

I tried creating the WAS 6.1 environment variable VMM_JDBC_CLASSPATH (tried at all levels i.e. cell, node and even server) and set the path to C:/oracle/lib/ojdbc14.jar . But still get the same exception.

Can anyone help me resolve this exception?

full stack

exception information: com.ibm.bsf.BSFException: exception from Jython:Traceback (innermost last):
File "<string>", line 2, in ?
com.ibm.ws.scripting.ScriptingException: com.ibm.websphere.wim.exception.WIMSystemException: com.ibm.websphere.wim.exception.WIMSystemException: CWWIM1999E An exception occurred during processing: oracle.jdbc.driver.OracleDriver

at com.ibm.ws.scripting.adminCommand.AdminCmdController.executeCmd(AdminCmdController.java:1395)
at com.ibm.ws.scripting.adminCommand.AdminCmdController.processCmd(AdminCmdController.java:217)
at com.ibm.ws.scripting.adminCommand.AdminCmdProxyHandler.invoke(AdminCmdProxyHandler.java:86)
at com.ibm.ws.scripting.adminCommand.AdminCmdProxyBase.__method3(AdminCmdProxyBase.java:53)
at com.ibm.ws.scripting.adminCommand.AdminTask.setupIdMgrDBTables(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx4.f$0(<string>:2)
at org.python.pycode._pyx4.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at com.ibm.bsf.engines.jython.JythonEngine$BSFPythonInterpreter.exec(Unknown Source)
at com.ibm.bsf.engines.jython.JythonEngine.exec(Unknown Source)
at com.ibm.bsf.BSFManager$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:241)
at com.ibm.bsf.BSFManager.exec(Unknown Source)
at com.ibm.ws.scripting.AbstractShell.executeScript(AbstractShell.java:984)
at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1926)
at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1022)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:321)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:89)

com.ibm.ws.scripting.ScriptingException: com.ibm.ws.scripting.ScriptingException
: com.ibm.websphere.wim.exception.WIMSystemException: com.ibm.websphere.wim.exce
ption.WIMSystemException: CWWIM1999E An exception occurred during processing: or
acle.jdbc.driver.OracleDriver


Thank you for your time and suggestions.
Updated on 2013-02-11T12:41:43Z at 2013-02-11T12:41:43Z by bpaskin
  • bpaskin
    bpaskin
    3903 Posts
    ACCEPTED ANSWER

    Re: WebSphere Application Server 6.1 - Federated Repository - setup - issue

    ‏2013-02-11T12:41:43Z  in response to SystemAdmin
    Hi,

    It would seem the information provided in the wimdbproperties.xml file may be incorrect or you have entered the command incorrectly. Can you please post that command you are using and the contents of the wimdbproperties.xml file?

    Regards,
    Brian