on 07-28-2006 6:02 PM
Trying to build a CAf project using the CBS. Could someone shed some light on this error in the build log of the EJB DC (part of a CAF project build).
Well, what is clear from the log is that the JDO class enhancer fails due to an inexplicable 'access denied' error. I have relaxed NTFS settings to a nec plus ultra, but I am still left with this very same error.
Environemnt : NW 2004S SPS8 Usage Type DI
Here's the error in the build log :
[echo] Starting JDO enhancer
[jdo.enhance] Using classfile: G:\usr\sap\CF2\JC01\j2ee\cluster\server0\temp\CBS\21\.B\151\t\150202801B834829F155F2AF4C7D0368\classes\org\ao\appl\caf\sps8\demo\besrv\customer\CustomerJDO.class
[jdo.enhance] Using metadata : G:\usr\sap\CF2\JC01\j2ee\cluster\server0\temp\CBS\21\.B\151\DCs\ao.org\appl\caf\sps8\demo\ejbmodule\_comp\ejbModule\org\ao\appl\caf\sps8\demo\besrv\customer\CustomerJDO.jdo
[jdo.enhance] Using dst : G:\usr\sap\CF2\JC01\j2ee\cluster\server0\temp\CBS\21\.B\151\t\150202801B834829F155F2AF4C7D0368\classes
<b>IO Error while enhancing: Access is denied
java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1314)
at java.io.File.createTempFile(File.java:1402)
at java.io.File.createTempFile(File.java:1439)
at com.sap.jdo.enhancer.Main.enhanceClassFile(Main.java:510)
at com.sap.jdo.enhancer.Main.enhanceInputFiles(Main.java:474)
at com.sap.jdo.enhancer.Main.process(Main.java:139)
at com.sap.jdo.anttasks.JDOEnhance.run(JDOEnhance.java:99)
at com.sap.jdo.anttasks.JDOEnhance.execute(JDOEnhance.java:82)
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.executeTarget(Project.java:1214)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:111)
at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:202)
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:324)
at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:168)
aborted with errors.
Ant runtime 7.704 seconds
Ant build finished with ERRORS
JDO enhancer failed because of internal Error.
Error: Build stopped due to an error: JDO enhancer failed because of internal Error.
Build plugin finished at 2006-07-28 18:43:53 GMT+01:00 (CEST)
Total build plugin runtime: 8.266 seconds
Build finished with ERROR</b>
Can you check the temporary directory (probably C:\WINDOWS\tmp or something like that) if there are old files left?
Compare for example with http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6325169
Regards,
Marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.