It's all about the answers!

Ask a question

Starting the Jazz Build Engine (jbe) with classpath errors


James Loghry (611) | asked Nov 04 '08, 9:37 a.m.
I'm running jbe from the installdir/buildsystem/buildengine/eclipse directory and before the process starts up I see some class path errors including the following:

java.lang.NoClassDefFoundError: org.xmlsoap.schemas.soap.envelope.Envelope

at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:66)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)
at com.ibm.team.repository.transport.client.RemoteTeamServer.createTeamService(RemoteTeamServer.java:296)
at com.ibm.team.repository.common.transport.AbstractTeamServer.getService(AbstractTeamServer.java:94)
at com.ibm.team.repository.client.internal.TeamRepository.getTeamService(TeamRepository.java:1397)
at com.ibm.team.repository.client.internal.TeamRepository.getServiceInterface(TeamRepository.java:1084)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamRepository.java:334)


and:

java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.EObject
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:228)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:228)


Do I need to set a Classpath variable or use a different JRE possibly, or what is going on here?

- James

One answer



permanent link
James Loghry (611) | answered Nov 04 '08, 10:51 a.m.
I'm running jbe from the installdir/buildsystem/buildengine/eclipse directory and before the process starts up I see some class path errors including the following:

java.lang.NoClassDefFoundError: org.xmlsoap.schemas.soap.envelope.Envelope

at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:66)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)
at com.ibm.team.repository.transport.client.RemoteTeamServer.createTeamService(RemoteTeamServer.java:296)
at com.ibm.team.repository.common.transport.AbstractTeamServer.getService(AbstractTeamServer.java:94)
at com.ibm.team.repository.client.internal.TeamRepository.getTeamService(TeamRepository.java:1397)
at com.ibm.team.repository.client.internal.TeamRepository.getServiceInterface(TeamRepository.java:1084)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamRepository.java:334)


and:

java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.EObject
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:228)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:228)


Do I need to set a Classpath variable or use a different JRE possibly, or what is going on here?

- James


It seems the issue was that A) I was not running the jbe command as sudo, B) I needed to fully qualify the jbe command when running it and C) I was quoting the build engine id. Fixing these 3 issues enabled me to start the build engine. Note: I am running this on ubuntu linux.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.