我通过JENKINS触发了我的Java应用程序的构建,但是出现了以下错误:
Error executing deployment: java.lang.RuntimeException. Error is Application "com.ibm.etools.ejbdeploy.batch_extension" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error, com.ibm.etools.rdbschemagen.bvt, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.jdt.core.JavaCodeFormatter, com.ibm.etools.sqlparse.SQLParserTest, org.eclipse.emf.codegen.ecore.Generator, com.ibm.ws.rapiddeploy.core.WRDExec, org.eclipse.emf.importer.java.Java2GenModel, com.ibm.etools.sqlmodel.bvt..
[exec] java.lang.RuntimeException: Application "com.ibm.etools.ejbdeploy.batch_extension" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error, com.ibm.etools.rdbschemagen.bvt, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.jdt.core.JavaCodeFormatter, com.ibm.etools.sqlparse.SQLParserTest, org.eclipse.emf.codegen.ecore.Generator, com.ibm.ws.rapiddeploy.core.WRDExec, org.eclipse.emf.importer.java.Java2GenModel, com.ibm.etools.sqlmodel.bvt.
[exec] at <unknown class>.<unknown method>(Unknown Source)
[exec] at <unknown class>.<unknown method>(Unknown Source)
[exec] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[exec] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[exec] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[exec] at java.lang.reflect.Method.invoke(Method.java:611)
[exec] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:494)
[exec] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:114)
[exec] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:107)
[exec] at com.ibm.etools.ejbdeploy.EJBDeploy.deploy(EJBDeploy.java:348)
[exec] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:310)
有人请帮助我。
答案 0 :(得分:2)
这通常是由deploytool目录中的损坏/过期配置缓存引起的。尝试从WAS / deploytool / itp / configuration删除所有但 config.ini文件(当然,不要删除 - 首先移动到安全的地方,如果ejbdeploy工作, 然后删除)。
也可能是由于config.ini的内容错误或FP安装损坏引起的,但上面是我看到的最常见的问题。