Skip to Content
author's profile photo Former Member
Former Member

JDI & CAF : EJB DC build error during JDO enhancement

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>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 09:19 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.