LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Error running JDBC nodes

    Employee
    Posted 10-31-2011 09:22

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams

    I'm encountering the following errors while trying to run a JDBC node on a newly installed 4.5.2 Server instance:

    ERROR getting java class:
    Can't locate node class: com/lavastorm/brain/node/QueryDump
    
    Installing log (10/31/2011 16:01:30) ...
    2011-10-31 16:01:30; Level: 2; Type: 0; Desc: "Can't locate node class: com/lavastorm/brain/node/QueryDump"; File: "build/linux-x86-64/release/code/source/brain/node/nodeJava/com_lavastorm_brain_node_old_NodeControl.cpp"; Line: 1389; Context: ""
    Uninstalling log (10/31/2011 16:01:30) ...
    
    Exception in thread "main" java.lang.NoClassDefFoundError: com/lavastorm/brain/node/QueryDump	at com.lavastorm.brain.node.old.NodeControl.nodeMain(Native Method)	at com.lavastorm.brain.node.old.NodeControl.controlMain(NodeControl.java:59)	at com.lavastorm.brain.node.old.NodeControl.main(NodeControl.java:28)Caused by: java.lang.ClassNotFoundException: com.lavastorm.brain.node.QueryDump	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)	... 3 more
    I've checked the install, I can see the class in the lae.jar. We're running with Java JDK 1.6.0u29.


  • 2.  RE: Error running JDBC nodes

    Employee
    Posted 10-31-2011 10:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Are you sure that you are running the latest core.brg against that server?

    The location of QueryDump.java was changed from com.lavastorm.brain.node.QueryDump to com.lavastorm.brain.node.old.QueryDump.

    If in Tools->Preferences->Search Paths one of the entries is for a 4.1 LAE version, then an old version of core.brg will be picked up.
    If this is the case, the JDBC Query node will search for the QueryDump class in com.lavastorm.brain.node.QueryDump instead of com.lavastorm.brain.node.old.QueryDump.

    Once you have modified your search paths to ensure that only the 4.5.2 core library is in the search path, it may be necessary to exit & restart BRE.

    Tim.


  • 3.  RE: Error running JDBC nodes

    Employee
    Posted 11-01-2011 03:25

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams

    Yes, the 4.1 folder was still included in the search path and higher ordered than the 4.5 folder, so it was selecting the old core.brg file.

    Thanks again Tim.