cancel
Showing results for 
Search instead for 
Did you mean: 

XSD Cant be added in BRM Rule

apu_das2
Active Contributor
0 Kudos

Hi,

I am trying to create a BRM project in NWDS. I have created one sample MT in PI ESR and exported that as an XSD file.

Imported this in mu BRM Project. Now I need to add this xsd in Project Resources Alias but unfortunately I am not able to add the xsd here but getting below -

Any idea whats wrong here.

Thanks,

Apu

Accepted Solutions (1)

Accepted Solutions (1)

former_member182412
Active Contributor
0 Kudos

Hi Apu,

It will only display XSD elements under project resources Add XSD Element Screen, double click on XSD and can you see any elements like below?

Regards,

Praveen.

apu_das2
Active Contributor
0 Kudos

Thanks Praveen . Your screen shot helped me to resolve this. I have imported onlt the XSD of MT but hee DT is also required. It resolved after importing the DT.

former_member186851
Active Contributor
0 Kudos

Hello Apu,

Your assumption is wrong.

I just have MT XSD and can use it very well in Resources.

Check your MT XSD namespace whether it is same as DT.

apu_das2
Active Contributor
0 Kudos

Hi Raghuraman,

Yes you are right. I guess there might have some issue in my NWDS. Its crating issue for custom module development as well. Its not adding external jars at the time of deployment.Tried almost all possible ways but no luck.

Come back to BRM one. Sometimes I get warning when only adding MT as XSD and sometimes not. I am accessing NWDS from Citrix. Not sure whether the issue is due to default work space or not.

I am creating one test BRM using this document -

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b07ce666-fdf1-2c10-96b0-be959a344...

At the time of deployment I am getting this big error. Any idea on that.

Thanks,

Apu

former_member186851
Active Contributor
0 Kudos

Hello Apu,

Check for correct NWDS version as well.

And for the deployment error,Scroll down a bit and post the screenshot(that will have the actual error).

apu_das2
Active Contributor
0 Kudos

Hi ,

Version seems to be ok.

My PI version is 7.4 single stack SP12 and NWDS is 7.31 SP17.

Here is the full error log -

com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.

Reason: ASJ.dpl_dc.001085 Operation [deploy] of [demo.sap.com_orderdiscount] failed

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:862)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

  at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:105)

  at com.sap.ide.tools.services.dc.EngineDcDeployService.deployFiles(EngineDcDeployService.java:257)

  at com.sap.ide.tools.services.dc.EngineDcDeployService.deploy(EngineDcDeployService.java:135)

  at com.sap.ide.dii05.ui.internal.actions.dc.DcDeployAction$5$1.run(DcDeployAction.java:282)

  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Caused by: com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 Operation [deploy] of [demo.sap.com_orderdiscount] failed

  at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:245)

  at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:71)

  at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:282)

  at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:84)

  at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:100)

  at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:39)

  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

  at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused by: com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] Operation [deploy] of [demo.sap.com_orderdiscount] failed

  at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:170)

  at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:139)

  at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:58)

  at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:212)

  ... 8 more

Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: ASJ.dpl_ds.006193 Operation [deploy] of [/usr/sap/DXE/J00/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/153/demo.sap.com~orderdiscount.sda] failed

  at com.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:3519)

  at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:315)

  at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:142)

  ... 11 more

Caused by: com.sap.engine.services.deploy.container.DeploymentException: Could not deploy SCA application.

  at com.sap.engine.services.sca.deploy.ApplicationDeploy.internalPerform(ApplicationDeploy.java:441)

  at com.sap.engine.services.sca.deploy.ApplicationDeploy.perform(ApplicationDeploy.java:212)

  at com.sap.engine.services.sca.deploy.SCACompositeContainer.invoke(SCACompositeContainer.java:189)

  at com.sun.proxy.$Proxy34.deploy(Unknown Source)

  at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:310)

  at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:519)

  at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:183)

  at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:203)

  at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:421)

  at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:473)

  at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1985)

  at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:360)

  at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:313)

  ... 12 more

Caused by: com.sap.engine.services.deploy.container.DeploymentException: Could not deploy application demo.sap.com/orderdiscount.

  at com.sap.engine.services.sca.deploy.AssembleApplication.perform(AssembleApplication.java:63)

  at com.sap.engine.services.sca.deploy.ApplicationDeploy.internalPerform(ApplicationDeploy.java:324)

  ... 24 more

Caused by: com.sap.engine.interfaces.sca.assembly.AssemblyException: Component {http://www.sap.com} demo.sap.com~orderdiscount-OrderDiscountRule does not have a valid implementation type. Verify component implementation type is correct in .composite file and corresponding implementation provider is up and running.

  at com.sap.engine.services.sca.artifacts.ComponentArtifact.<init>(ComponentArtifact.java:71)

  at com.sap.engine.services.sca.assembly.SCAAssembly.assembleComposite(SCAAssembly.java:393)

  at com.sap.engine.services.sca.standard.ImplementationCompositeProvider.introspect(ImplementationCompositeProvider.java:124)

  at com.sap.engine.services.sca.standard.ImplementationCompositeProvider.provideImplementation(ImplementationCompositeProvider.java:130)

  at com.sap.engine.services.sca.artifacts.ComponentArtifact.<init>(ComponentArtifact.java:79)

  at com.sap.engine.services.sca.assembly.SCAAssembly.contributeToDomain(SCAAssembly.java:219)

  at com.sap.engine.services.sca.assembly.SCAAssembly.assemble(SCAAssembly.java:139)

  at com.sap.engine.services.sca.standard.SCAHelperImpl.assemble(SCAHelperImpl.java:36)

  at com.sap.engine.services.sca.deploy.AssembleApplication.perform(AssembleApplication.java:59)

  ... 25 more

former_member186851
Active Contributor
0 Kudos

Hello Apu,

your PI system is up and running.Ensure the SAP as JAVA system is up and running.

Try building a new scenario and check.

apu_das2
Active Contributor
0 Kudos

Hi,

I can deploy custom module in my DEV Java Stack that's mean my as java system is up and running.

The log I have attached above is from a new scenario . I  have created a new one and send you the log.

Thanks,

Apu

nitindeshpande
Active Contributor
0 Kudos

Hello Apu,

If you closely look at the log you can find the below description of the error. Can you please check what is the implementation type of OrderDiscountRule field and is this OrderDiscount some kind of module or java you are implementing?

Caused by: com.sap.engine.interfaces.sca.assembly.AssemblyException: Component {http://www.sap.com} demo.sap.com~orderdiscount-OrderDiscountRule does not have a valid implementation type. Verify component implementation type is correct in .composite file and corresponding implementation provider is up and running.

Regards,

Nitin

apu_das2
Active Contributor
0 Kudos

Hi Nitin,

Can you please guide me how to check the implementation type.

Thanks,

Apu

nitindeshpande
Active Contributor
0 Kudos

Hello Apu,

This seem more to be internal configuration error. What is the Jdk version you are using?

It should be Jdk 1.6.0_45.

Regards,

Nitin

apu_das2
Active Contributor
0 Kudos

Hi Nitin,

I access NWDS using Citrix. How to check that.

Thanks,

Apu

nitindeshpande
Active Contributor
0 Kudos

Hi Apu,

It will show under your project, under JRE system library.

Regards,

Nitin

apu_das2
Active Contributor
0 Kudos

Hi Nitin,

This is a BRM project so cant check JRE System Library. I have created one test EJB project to check this and found below -

former_member186851
Active Contributor
0 Kudos

Apu,

Would suggest you to rebuild and check,I dont think implementation type could be an issue as you have develop in different perspective,

In the BRM did you add any External Jars in the BRM perspective.

To be more specific you can create a new DC for BRM and do BRM developments under that DC.

nitindeshpande
Active Contributor
0 Kudos

Hello Apu,


I am not sure about the BRM project. Can you try changing it to JDK in your project -

Project -> Configure Build Path -> Libraries -> Add Library -> JRE System Library -> Alternate JRE -> jdk 1.6.0-45

Regards,

Nitin

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Apu,

No additional settings are required for this.

Try creating a new BRM project.

And I can see some warning shown in your XSD.Try importing or creating new XSD and check again.