Where to find 'com.sap.tc.webdynpro.repository.api' file in EP server
Hi All,
I am getting below exception while deploying a custom component in sand-box server.
Failed to deploy application freescale.com/c_uwl for deployment state listener com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook.
[EXCEPTION]
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to deploy the file '/usr/sap/RIA/JC30/j2ee/cluster/server0/./temp/webdynpro/public/freescale.com/c_uwl/webdynpro/ComponentInterfaces/com.sap.netweaver.bc.uwl.ui.UWLCustomDetail/UWLCustomDetail.xml' into the database. Reason: Development Object 'sap.com/tckmcbc.uwl.ui~wd_ui' contains already same repository content. Hint: fully qualified name of the repository VMO must be globally unique.
at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.checkVMOsExistInOtherDC(RepositoryUpdateManager.java:504)
at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.deployRepositoryContent(RepositoryUpdateManager.java:98)
at com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook.onDeploy(RepositoryContainerHook.java:232)
It seems it is using checkVMOsExistInOtherDC method from RepositoryUpdateManager.java file.
I want to remove this method from that java file.
Can any one please tell me at which location in server i can find that RepositoryUpdateManager.java file.
Or from where i can find 'com.sap.tc.webdynpro.repository.api' file, so that i can trace that jave file.
Regards,
Sambaran Chakraborty
Jiandong,
Add the required jar webdynprobasesvrc.jar file from follwoing path and check if the imports are added correctly.
C:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc_.wd_.basesrvc_1.0.0.071030103936\lib
Chintan
Similar Messages
-
Dear All,
We are facing a problem in accessing a exception runtime error in portal application( i have the error log below). I have found the discussion in forum for same exception error, but while deploying object. whereas i am getting the error like "com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object --- does not exist"
But this error is not occurring all the time , but more often to the end users. Please help me out to fix this issue.
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object hrmd.iws.HrMasterData/ComponentInterface:HrMasterDataInterface associated via relation RepositoryObjectRelation(HrMasterData, UsedComponent) does not exist.
at com.sap.tc.webdynpro.repository.RelationToOne.resolveTargets(RelationToOne.java:124)
at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:108)
at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:72)
at com.sap.tc.webdynpro.repository.RelationToOne.getTarget(RelationToOne.java:174)
at com.sap.tc.webdynpro.repository.RepositoryObject.getRelatedModelObject(RepositoryObject.java:348)
Edited by: Raja Gopal on Jul 16, 2010 5:50 PMHi tooCann,
Some times XML-Repository content in the database gets corrupted (XML not valid) during the upgrade. Therefore some WebDynpro applications (e.g. Universal Worklist (UWL)) may not work properly after the upgrade.
Undeploy your DC first via SDM and deploy again.
Check the SAP Note : <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_wd/~form/handler">986460</a>
Regards,
Mithu -
Com.sap.tc.webdynpro.repository.RepositoryException
Hi Guys,
A runtime exception is coming when we are running the Travel and Expenses standard application. The error message is displayed below:
com.sap.tc.webdynpro.repository.RepositoryException: Did not find application 'com.sap.xss.tra.app.AllMyTrips' in repository
Please suggests what needs to be done to rectify the error. This error is encountered at the very first page of the Travel and Expenses application.
Regards,
SudhakarHi Friend,
We have come to know that when ever we are checkin the DC is is build successfully but it is giving status as red when the DC is deployed but it is successfully build and activated. The DC is available in the transport view as well.
Moreover I have checked with CBS, the log does not show any error. Still we are getting RepositoryRuntimeException for the application.Please give us your suggestions for the same.
Kind Regards,
Sudhakar Reddy Alavala -
Hi,
When i deployed BPM application it was successfully deployed.If again i want to deploy it is giving below exception..What could be the problem??Please can anyone help me on this...
Caused by: com.sap.tc.webdynpro.repository.utils.RepositoryRuntimeException: Failed to deploy because other development objects already contain the same repository content (see note 784677).The following are (deployableObjectName, qualifiedName, typeName) tuples: (bpm.demo.hos/purchase4, approvepurchaseapp.ApprovePurchaseApp, com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo) (bpm.demo.hos/purchase4, purchasereq.PurchaseReq, com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo) (bpm.demo.hos/purchase4, approvepurchase.ApprovePurchase, com.sap.tc.webdynpro.progmodel.repository.IWDComponentInfo) (bpm.demo.hos/purchase4, com.sap.demo.module_5_excercise_3.purchaserequest.PurchaseRequest, com.sap.tc.webdynpro.progmodel.repository.IWDComponentInfo)
at com.sap.tc.webdynpro.repository.deploy.RepositoryUpdateManager.deployRepositoryContent(RepositoryUpdateManager.java:103)
at com.sap.tc.webdynpro.serverimpl.wdc.repository.RepositoryContainerHook.onDeploy(RepositoryContainerHook.java:187)
at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.notifyOnDeploy(DeployableObjectFactory.java:305)
... 27 moreHi Sri,
Might it be the case that you have a component with the same names in some other DC which is also deployed on the server. Web Dynpro does not allow this (as stated in the message below).
Thus you could use the "Deployment Perspective" to undeploy the other DC before deploying the new one.
Cheers,
Martin -
Hi,
I am trying to debug the ESS web dynpro ERP 2004 with NWDS 7.0 , i am getting below error. I can build and deploy the EAR file without any problem form development configuration prospective. But when i try to build and deploy from web dynpro prospective it give me the same error.
com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:493)
at com.sap.tc.webdynpro.repository.xml.XMLLayerDataParserWriter.startParsing(XMLLayerDataParserWriter.java:169)My WAS version is 1.4.2_12-b03
NWDS version is JDK1.4_HOME=C:\j2sdk1.4.2_12
I see some Error message when i click ConfigurationDetails to see NWDS details..
!STACK 0
com.sap.cms.util.exception.client.CMSClientVersionConflictException: Version conflict: to call method "readSystemMessages" the minimum server version is "Release6.40 SP16 Patch level 00" but the used server has only version "Release 6.40 SP15 Patch level 00"
at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.versionCheck(CMSTransportOrganizerAPI.java:1232)
at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.readSystemMessages(CMSTransportOrganizerAPI.java:1164)
at com.sap.cms.client.ideAPI.CmsConfiguration.readSystemMessagesMap(CmsConfiguration.java:445)
at com.sap.ide.eclipse.component.devconf.DevConfManager.getSystemMessages(DevConfManager.java:744)
at com.sap.ide.eclipse.component.provider.listener.DevConfLoginListener.showSystemMessages(DevConfLoginListener.java:97)
at com.sap.ide.eclipse.component.provider.listener.DevConfLoginListener.loginPerformed(DevConfLoginListener.java:91)
at com.sap.ide.login.UserValidator$1.run(UserValidator.java:161)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
at com.sap.ide.login.UserValidator.getData(UserValidator.java:411)
at com.sap.ide.login.UserValidator.getDefaultServerData(UserValidator.java:131)
at com.sap.ide.login.UserValidator.getDefaultServerData(UserValidator.java:116)
at com.sap.ide.metamodel.core.plugin.DtrHelper.logon(DtrHelper.java:401)
at com.sap.ide.metamodel.core.repository.RepositoryServices.showReadonlyRepositoryObjectsAndCheckout(RepositoryServices.java:345)
at com.sap.ide.metamodel.core.repository.RepositoryServices.checkWriteability(RepositoryServices.java:279)
at com.sap.ide.webdynpro.controllereditor.implementation.JavaImplementationEditor$ImplementationKeyListener.keyPressed(JavaImplementationEditor.java:301)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:120)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:41:50.517
!MESSAGE Saving Metadata for project J2E_ESSTRACK_Dessben~sap.com
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:41:50.752
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/confirmnavigation/ConfirmNavigationView.wdcontroller
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:41:50.752
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/printenroform/PrintEnroFormView.wdcontroller
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:45:04.909
!MESSAGE Saving Metadata for project J2E_ESSTRACK_Dessben~sap.com
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:45:04.972
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/confirmnavigation/ConfirmNavigationView.wdcontroller
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:51:49.896
!MESSAGE Saving Metadata for project J2E_ESSTRACK_Dessben~sap.com
!ENTRY com.sap.ide.metamodel.core 1 1 Mar 12, 2007 11:51:49.943
!MESSAGE refreshing<0ms>: /J2E_ESSTRACK_Dessben~sap.com/src/packages/com/sap/xss/hr/ben/confirmnavigation/ConfirmNavigationView.wdcontroller
!ENTRY org.eclipse.jdt.debug 4 120 Mar 12, 2007 11:56:02.695
!MESSAGE Internal error logged from JDI Debug:
!STACK 0
com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
at org.eclipse.jdi.internal.connect.PacketSendManager.sendPacket(PacketSendManager.java:79)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:169)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:191)
at org.eclipse.jdi.internal.VirtualMachineImpl.classesBySignature(VirtualMachineImpl.java:513)
at org.eclipse.jdi.internal.VirtualMachineImpl.classesByName(VirtualMachineImpl.java:540)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.jdiClassesByName(JDIDebugTarget.java:1273)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.getTypesToBytes(JavaHotCodeReplaceManager.java:536)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.redefineTypesJDK(JavaHotCodeReplaceManager.java:474)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.doHotCodeReplace(JavaHotCodeReplaceManager.java:384)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager.access$0(JavaHotCodeReplaceManager.java:357)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager$1.run(JavaHotCodeReplaceManager.java:286)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceManager$3.run(JavaHotCodeReplaceManager.java:1097)
at java.lang.Thread.run(Thread.java:534) -
hi,
In every view, the "com.sap.tc.webdynpro.progmodel.api.IWDView view" is the parameter of the mothed wdDoModifyView(). I wonder, if we can make type com.sap.tc.webdynpro.progmodel.api.IWDView parameter in other methods which are designed by ourself. Thank you!Hi Daniel,
This method wdDoModifyView will be raised every time the view is changed or refreshed (i.e. button pressed, drop down selected). This should cover all cases where you need IWDView, personally I can't think of another case where you need this parameter.
As far as I know it is not possible but even if it is it's not recommended.
But perhaps I'm wrong, I'll be happy to hear more opinions from more experienced SDNers...
Roy -
Hi,
can u tell me how to create supply function???
i just gone through the PDF(Advanced Input Help - The Object Value Selector (OVS))
In that he created supplufunction and 4 methods
1)getOVSInputNode-com.sap.tc.webdynpro.programmodel.api.IWDNode
2)getOVSListener-com.sap.tc.webdynpro.programmodel.api.IWDOVSContextNotificationlistener
3)getOVSOutputtNode-com.sap.tc.webdynpro.programmodel.api.IWDNode
4)SwithchOVSListener-String
Can u plz tell me how to get these return types and how to create supply function just by clicking new in methods tabHi Padma
Follow These Steps of Implementing <i>Object Value Selector</i>
<u><b>Component Controller</b></u>
Create the Following Contexts in Component Controller
Node1(Name,Location)
Node2(Name,Age,Location)
Source(Name,Age,Location)
/*All are Type String*/
Add the Following Code in Component Controller
public void wdDoInit()
//@@begin wdDoInit()
String name[] = {"Arun","Boopathi","Bala"};
String age[] = {"24","22","24"};
String location[] = {"Erode","Gobi","Gingee"};
IPublicOVS_Model_Comp.ISourceElement ele;
for(int i=0;i<name.length;i++)
ele = wdContext.nodeSource().createSourceElement();
ele.setName(name<i>);
ele.setAge(age<i>);
ele.setLocation(location<i>);
wdContext.nodeSource().addElement(ele);
//@@end
<b>Create a inner Class called ovslist between the begin and others in the Component controller which is found at the end of the code. If you created somewhere the coding will be lost. After creating the class type app and pres ctrl space you will be shown the list of api's with apply input values, on querry and apply result</b>
//@@begin others
public class ovslist implements IWDOVSContextNotificationListener
/* (non-Javadoc)
* @see com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener#applyInputValues(com.sap.tc.webdynpro.progmodel.api.IWDNodeElement, com.sap.tc.webdynpro.progmodel.api.IWDNodeElement)
public void applyInputValues(IWDNodeElement applicationNodeElement,IWDNodeElement queryInputNodeElement)
// TODO Auto-generated method stub
queryInputNodeElement.setAttributeValue("Name",applicationNodeElement.getAttributeAsText("Name"));
queryInputNodeElement.setAttributeValue("Location",applicationNodeElement.getAttributeAsText("Location"));
/* (non-Javadoc)
* @see com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener#onQuery(com.sap.tc.webdynpro.progmodel.api.IWDNodeElement, com.sap.tc.webdynpro.progmodel.api.IWDNode)
public void onQuery(IWDNodeElement queryInputNodeElement,IWDNode queryOutputNode)
// TODO Auto-generated method stub
IPublicOVS_Model_Comp.INode1Element input = (IPublicOVS_Model_Comp.INode1Element)queryInputNodeElement;
IPublicOVS_Model_Comp.INode2Node output = (IPublicOVS_Model_Comp.INode2Node)queryOutputNode;
String str_name = queryInputNodeElement.getAttributeAsText("Name");
String str_location = queryInputNodeElement.getAttributeAsText("Location");
String name_str = " ";
String location_str = " ";
String age_str = " ";
boolean one,two;
for(int i=0;i<wdContext.nodeSource().size();i++)
one = two = true;
name_str = wdContext.nodeSource().getSourceElementAt(i).getName();
location_str = wdContext.nodeSource().getSourceElementAt(i).getLocation();
age_str = wdContext.nodeSource().getSourceElementAt(i).getAge();
if(str_name.length()!=0)
one = str_name.matches(name_str);
if(str_location.length()!=0)
two = str_location.matches(location_str);
if(one && two)
IPublicOVS_Model_Comp.INode2Element ele = output.createNode2Element();
ele.setName(wdContext.nodeSource().getSourceElementAt(i).getName());
ele.setAge(wdContext.nodeSource().getSourceElementAt(i).getAge());
ele.setLocation(wdContext.nodeSource().getSourceElementAt(i).getLocation());
wdContext.nodeNode2().addElement(ele);
/* (non-Javadoc)
* @see com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener#applyResult(com.sap.tc.webdynpro.progmodel.api.IWDNodeElement, com.sap.tc.webdynpro.progmodel.api.IWDNodeElement)
public void applyResult(IWDNodeElement applicationNodeElement,IWDNodeElement queryOutputNodeElement)
// TODO Auto-generated method stub
IPrivateOVS_Model_View.IView_DisplayElement disp = (IPrivateOVS_Model_View.IView_DisplayElement)applicationNodeElement;
IPublicOVS_Model_Comp.INode2Element out = (IPublicOVS_Model_Comp.INode2Element)queryOutputNodeElement;
disp.setAttributeValue("Name",out.getAttributeAsText("Name"));
disp.setAttributeValue("Age",out.getAttributeAsText("Age"));
disp.setAttributeValue("Location",out.getAttributeAsText("Location"));
//@@end
<b>Create a method ovslistener with the return type , while creating the method chosse return type in that select java native type and click browse,you will be showned a window Java Native Type Selection in that type IWDovscontextnotificationlistener and select that return type displayed click ok</b>.
public com.sap.tc.webdynpro.progmodel.api.IWDOVSContextNotificationListener ovs_listener( )
//@@begin ovs_listener()
ovslist ovslist_obj = new ovslist();
return ovslist_obj;
//@@end
<u><b>View Controller</b></u>
Create the Following Context
View_Display(Name,Age.Location) /* All are type String only */
Create the UI Elements for the Name age location
public void wdDoInit()
//@@begin wdDoInit()
IWDAttributeInfo info[] = {wdContext.nodeView_Display().getNodeInfo().getAttribute("Name"),wdContext.nodeView_Display().getNodeInfo().getAttribute("Location")};
IWDOVSContextNotificationListener obj = wdThis.wdGetOVS_Model_CompController().ovs_listener();
WDValueServices.addOVSExtension(" ",info,wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode1(),wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode2(),obj);
//@@end
public static void wdDoModifyView(IPrivateOVS_Model_View wdThis, IPrivateOVS_Model_View.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
//@@begin wdDoModifyView
IWDAttributeInfo name = wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode1().getNodeInfo().getAttribute("Name");
name.getModifiableSimpleType().setFieldLabel("Name");
IWDAttributeInfo location =wdThis.wdGetOVS_Model_CompController().wdGetContext().nodeNode1().getNodeInfo().getAttribute("Location");
location.getModifiableSimpleType().setFieldLabel("Location");
//@@end
<b>Let me know You Understand My Code or Not
Regards
Chandran</b> -
hi,everybody,
As we all know, there is a com.sap.tc.webdynpro.progmodel.api.IWDView object in wdDoModifyView() parameters.We can use the IWDView object in the method or after the method.But in my project, I want to use the IWDView object before wdDoModifyView() method.I don't know how to create a IWDView object. Would you please help me.Thank you!Hi daniel,
wdModifyView is called by framework while rendering the view & IWDView is used for it. Before wdDoModifyView its not possible according to me , may be u can check with armin.
Hi Manoj,
First of all, even if u declare a variable , u can't initializae it before weDoModifyView. Apart from that its always suggested , not to access the IWDView outside the wdModifyView . i think that's why wdDoModifyView is static & called everytime ,u do anything with the view.
regards
Sumit -
Com.sap.tc.webdynpro.services jar file
Hi,
I need to use the class IWDClientUser, but I don't have the jar file that includes it within my IDE.
Does anyone know where I can download it from?
Sorry found it in com.sap.tc.webdynpro.runtime_2.0.0
Thanks
Edited by: Phillip Smith on Oct 27, 2008 10:18 AMHi,
follow below procedure to add jars,
Right click on webdynpro project->properties->Java Build path->Libraries->Add variable-> WD_Runtime->extend->plugins->com.sap.security->lib->com.sap.security.api.jar.
Hope this helps you
Regards,
ramesh -
Hi Gurus,
This is the error I am getting when I open WebDynpro Page of Content Administration.
<b>The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.repository.RepositoryException: Did not find application 'com.sap.tc.webdynpro.tools.explorer.Explorer' in repository.</b>
Can any one suggest a better solution for this.
Thanks,
Akella.Hi Gurus,
Please take a look onto this problem.I have tried many ways.I dont want to reinstall the portal.If any body has this application please give me.
Thanks,
Akella. -
Hi All,
I want to define a parameter in a method, type of parameter is com.sap.tc.webdynpro.progmodel.api.IWDNode,
But when I browse on type and tehn in local dictionary, I do not find this type of datatype, please suggest how to assign this data type to any method's parameter.
Thanks in Advance.Hello Amit,
Please include webdynproprogmodel.jar to build path, which can be found at /sap/eclipse/plugins/com.sap.tc.webdynpro.runtime/lib
Then you could able to user datatype IWDNode in your code
Let me know if you need the jar file
Regards,
Madhu -
Hi All,
I have created and deployed an EJB application in CE7.1,I am using this jars "_webdynpro_pdfobject.jar",for read the xml data in pdf ,For that time i am getting following errors",
Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDataat com.sap.tc.webdynpro.pdfobject.api.WDPDFObjectFactory.getPDFObject(WDPDFObjectFactory.java:43)
Plz anyone suggest
Regards,
Vinoth Raja.VWell, first of all, you should not use a Web Dynpro API in an EJB app. Web Dynpro is a UI technology, EJB implements the business logic.
Furthermore, the PDFObject API has been deprecated. For more information and guidance, please refer to its [javadoc|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/pdfobject/api/package-summary.html].
HTH!
\-- Vladimir
P.S.: Please read the [Rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], in particular regarding cross-posting. -
Hello,
Im having trouble running a Web Dynpro Application. When running, the application is showing me the following exception,
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
at pe.com.minsur.wd_po_ws.wd_po_ws_model.Wd_po_ws_Model.<init>(Wd_po_ws_Model.java:124)
at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.Wd_po_ws_Comp.wdDoInit(Wd_po_ws_Comp.java:120)
at pe.com.minsur.wd_po_ws.wd_po_ws_app.comp.wdp.InternalWd_po_ws_Comp.wdDoInit(InternalWd_po_ws_Comp.java:195)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
This is in the DoInit() method, In the line,
Wd_po_ws_Model wd_po_ws_ModelModel = new Wd_po_ws_Model();
It could be the METADATA or MODELDATA destination configuration?
Thanks
SUHello,
The problem is solved following these steps,
"NWDS IDE is in SP04 whereas the WebDynpro Runtime is in SP01. So yo have to upgrade your WebDynpro in WebAS to SP04.
All WebDynpro for Java patches are available on SAP Service Marketplace.Note 330793 explains how to download patches from SAP Service Marketplace. Note 1395865 explains how to find the Web Dynpro for Java related SCAs.
Update your system via JSPM.
Please refer the link to the official documentation for JSPM
http://help.sap.com/saphelp_nwpi711/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm
From WebDynpro perspective, we recommend you to apply both WD-RUNTIME.SCA and FRAMEWORK.SCA. So if any one of the archive is not mentioned in the 'SP Patch Level' tab, it is recommended to apply the same which is available in the service market place."
Regards
SU -
Dear All,
We have taken a par file from another project and deployed in the J2EE engine using SDM.It was succesfully deployed with out any warnings.I have created an iview also.When we are trying to access that i view i am getting an error as follows:
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)
at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:586)
at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)
at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:95)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
... 51 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Mon Mar 03 21:11:10 GMT+05:30 2008
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: ia64
Session & Other
Session Locale en
Time of Failure Thu Apr 10 14:31:31 GMT+05:30 2008 (Java Time: 1207818091497)
Web Dynpro Code Generation Infos
local/WDHolidayCalendar
SapDictionaryGenerationCore 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:24:21[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:12:57[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:00[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:46[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:38[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:21:59[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:26:52[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
SapWebDynproGenerationCore 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:11[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type extern:com.bel.holidaycal.model.types.WDModelHolical:com.bel.holidaycal.model.types.Zhrt029 could not be loaded: com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:234)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:448)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:386)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:415)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:79)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:121)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:117)
at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:212)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.dictionary.runtime.DdException: Type com.bel.holidaycal.model.types.Zhrt029 does not exist
at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:400)
at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:586)
at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:286)
at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:95)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:164)
at com.sap.dictionary.runtime.DdBroker.getStructure(DdBroker.java:180)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:303)
... 49 more
I have created the JCO connections also ,i am able to test them also.I have imported the same into NWDS and deployed the application , its deploying but the out put is the same error.
I have cross checked the models and found that the Model is there in the model types.
Can any one help me regarding this.
Waiting for the response ASAP.
Thanks
Ravi.SHi,
I think you mean ear file and not par file. Check these threads. The exception is mentioned to be because of JCo problems only.
Type com.sap.xss.ser.xssmenu.model.types.P_Pernr does not exist
WDTypeNotFoundException: type model.types.Zbtr_Wbselement could not be load
WebDynpro using BAPI has an error
Regards,
Harini S -
Com.sap.tc.webdynpro.services.session.LockExceptio
Hi,
From my WD Java application, i'm calling some URL and displaying the content from that in my WD application.
The performance of this is very slow and it seems to be hang for some time.
Portal version is 7.0 and patch is SP 18.
When i checked the log it throws an exception :
com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#psaxena#177552##n/a##4b50da90170c11de857c00145e23c9af#SAPEngine_Application_Thread[impl:3]_20##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application . The causing exception is nested.
[EXCEPTION]
#2#sap.com/pb/PageBuilder#com.sap.tc.webdynpro.services.session.LockException: Thread SAPEngine_Application_Thread[impl:3]_20 failed to acquire exclusive lock on client session ClientSession(id=(J2EE12791800)ID1709694850DB02709529586100848222End_5108164). Existing locks: LockingManager(ThreadName:SAPEngine_Application_Thread[impl:3]_20, exclusive client session lock: ClientSessionLock(SAPEngine_Application_Thread[impl:3]_30), shared client session locks: ClientSessionSharedLockManager([]), app session locks: ApplicationSessionLockManager([]), current request: sap.com/pb/PageBuilder).Hint: Take a thread dump of the server node to find the blocking thread that causes the problem.
at com.sap.tc.webdynpro.clientserver.session.ClientSession$LockingManager.lock(ClientSession.java:1511)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:233)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
Any idea why this problem is coming and what is the solution for this.
Thanks and Regards
PuneetHi Puneet,
I am getting same exception in using FileDownload UI element as a Table Cell Editor.
I am loading input stream in FileDownload UI element on demand (that when user actually clicks on download link)
Can you please share what exact optimization you did in code and it worked for you?
Please help me with this issue.
Awaiting for your reply.
Thanks and regards,
Amey Mogare
Maybe you are looking for
-
Why do i get a forbidden 403 error message on a site i have had no trouble with before?
I go to a particular music site sometimes via a bookmark in firefox. all of a sudden I am getting message saying forbidden 403 and that I cant access it anymore from this server. what is going on? is there a solution? what may have caused it?
-
Error in delta load activation in ODS
Hello every one, we have generated generic data source and assigned delta on Shipment number with lower limit 10. when we loaded data through initial load it got all the records from R3 and scheduled delta (suppose to get 0 records because no data wa
-
Firefox 33.1.1 crashes after closing program
Everytime this new release closes, it hangs and crashes. Happens on all my computers, thus something in Firefox 33.1.1. There are dozens and dozens of crashes since this new release. My last crash was in 2013 and prior to that, 2012. Mozilla Crash Re
-
Convert an internal table from ABAP to an xml file on the Unix server
I'm trying to convert an internal table to an xml file. This file will be downloaded to a unix server. Can someone help?
-
What happens when I click "Order" - SRM 5.0
I have a scenario where shopping carts were marked complete, but purchase orders were not created. We had some application server problems, and RFC connections were working intermittently for a short while - which caused this problem. The shopping ca