Skip to Content
avatar image
Former Member

Strange CBS Build error on activation

Hi,

i'm using NWDS 7.2 with JDK 1.6.0_22 and NW CE 7.2 together with NWDI. I created an WebDynpro DC in my SC, checked in the DC and tried to activate it (for deployment to Dev Web AS).

But every time the CBS tries to build during activation, javac.exe compiler throws an exception:

Edited by: Manuel Schlestein on Oct 13, 2010 4:21 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 13, 2010 at 02:24 PM

    [javac] Compiling 14 source files to D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\t\FCEAC2FB519A6DCC1E3E08088017AD93\classes

    [javac] Reading options and classpath from file D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\options6964.tmp

    [javac] Reading list of classes to be compiled from file D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\classes6965.tmp

    Error: D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\build.xml:240: Error running C:\Progra~1\Java\sapjvm6\bin\javac.exe compiler

    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)

    at com.sap.tc.buildplugin.gen.JavacAdapter.executeExternalCompile(JavacAdapter.java:94)

    at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)

    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)

    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)

    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

    at org.apache.tools.ant.Task.perform(Task.java:364)

    at org.apache.tools.ant.Target.execute(Target.java:341)

    at org.apache.tools.ant.Target.performTasks(Target.java:369)

    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)

    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)

    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:195)

    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:167)

    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

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

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

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

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

    at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)

    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)

    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)

    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)

    at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:318)

    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1432)

    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1414)

    at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:713)

    at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:478)

    at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:401)

    at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:278)

    at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:187)

    at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:143)

    Caused by: java.io.IOException: CreateProcess: C:\Progra~1\Java\sapjvm6\bin\javac.exe -J-Xmx1040515072 @D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\options6964.tmp @D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\classes6965.tmp error=14001

    at java.lang.ProcessImpl.create(Native Method)

    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)

    at java.lang.ProcessImpl.start(ProcessImpl.java:30)

    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)

    at java.lang.Runtime.exec(Runtime.java:591)

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

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

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

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

    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)

    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)

    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)

    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)

    ... 33 more

    --- Nested Exception ---

    java.io.IOException: CreateProcess: C:\Progra~1\Java\sapjvm6\bin\javac.exe -J-Xmx1040515072 @D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\options6964.tmp @D:\usr\sap\YNW\JC00\j2ee\cluster\server0\temp\CBS\91\.B\1583\DCs\aoksystems.de\manuelui\_comp\gen\default\logs\classes6965.tmp error=14001

    at java.lang.ProcessImpl.create(Native Method)

    at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)

    at java.lang.ProcessImpl.start(ProcessImpl.java:30)

    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)

    at java.lang.Runtime.exec(Runtime.java:591)

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

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

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

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

    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)

    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)

    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)

    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)

    at com.sap.tc.buildplugin.gen.JavacAdapter.executeExternalCompile(JavacAdapter.java:94)

    at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)

    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)

    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)

    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

    at org.apache.tools.ant.Task.perform(Task.java:364)

    at org.apache.tools.ant.Target.execute(Target.java:341)

    at org.apache.tools.ant.Target.performTasks(Target.java:369)

    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)

    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)

    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:195)

    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:167)

    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

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

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

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

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

    at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)

    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)

    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)

    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)

    at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:318)

    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1432)

    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1414)

    at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:713)

    at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:478)

    at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:401)

    at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:278)

    at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:187)

    at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:143)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      error=14001 on process creation in Windows means:

      14001 ERROR_SXS_CANT_GEN_ACTCTX This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

      So I think, Ervin is on the right track and there is something wrong with the JDK installation. I had asimiliar problem once with a JDK6 that I installed with the official installer and later moved to another directory in the file system by just copy&paste. The installer had manipulated the Windows registry and some entry was still pointing to the old directory.

      Regards

      Michael

  • Oct 15, 2010 at 10:27 AM

    Hi Manuel,

    yes, I am wondering that the SAPVM comes with the engine installation with a specific location as mentioned in my earlier post, so I was wondering how come yours is located under the Program Files.

    OR: if you have downloaded it from the sap service marketplace, you did not follow the correct procedure which is:

    #1133020 -- How to import a SAP JVM patch into an AS Java

    (http://service.sap.com/sap/support/notes/1133020)

    If this is fine, then ensure that the CBS service settings are pointing to the default location as described previously.

    I hope this helps.

    Best Regards,

    Ervin

    Add comment
    10|10000 characters needed characters exceeded