Hosting a Web Dynpro App physically present on another server
Hello All,
We are on the process of seperating Web Dynpro applications onto a seperate box, and configuring iViews for them on a dedicated portal server. As part of this:-
1. I created a new system in the portal. This new system points to the Web Application server holding the Web Dynpros
2. I configured an Iview using the system mentioned in step 1.
3. On previewing the same, I am getting the following error...
java.lang.ClassNotFoundException: com.sapportals.portal.prt.registry.PortalRegistryFactory Found in negative cache -
Loader Info -
ClassLoader name: [local/CreateWell]
The Web Application Server where the Web Dynpros are deployed does'nt have portal configured. Is the error because of that? I find that it is looking for Portal specific class (which would not be there in the WAS because EP is not configured on it).
Have any one tried a scenario like this?
Thanks in advance,
SPK.
Hello All,
We are on the process of seperating Web Dynpro applications onto a seperate box, and configuring iViews for them on a dedicated portal server. As part of this:-
1. I created a new system in the portal. This new system points to the Web Application server holding the Web Dynpros
2. I configured an Iview using the system mentioned in step 1.
3. On previewing the same, I am getting the following error...
java.lang.ClassNotFoundException: com.sapportals.portal.prt.registry.PortalRegistryFactory Found in negative cache -
Loader Info -
ClassLoader name: [local/CreateWell]
The Web Application Server where the Web Dynpros are deployed does'nt have portal configured. Is the error because of that? I find that it is looking for Portal specific class (which would not be there in the WAS because EP is not configured on it).
Have any one tried a scenario like this?
Thanks in advance,
SPK.
Similar Messages
-
Error message after deploying Web Dynpro App.
Hi everyone,
I am having the following problem when trying to run my WD app after deploying it. The funny thing about this issue is I deployed this application earlier and it was working fine. But about an hour later I tried to access it again and got the following error:
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts), 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
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4012.00.0000.20050509073444.0000 (release=630_VAL_REL, buildtime=2005-05-09:20:05:04[UTC], changelist=346209, host=PWDFM026)
Web Dynpro code generators of DC local/VendorNotifnWD:
SapDictionaryGenerationCore: 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
SapMetamodelWebDynpro: 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
SapMetamodelCore: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
SapWebDynproGenerationTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
SapGenerationFrameworkCore: 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
SapIdeWebDynproCheckLayer: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
SapMetamodelDictionary: 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
SapMetamodelCommon: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
SapWebDynproGenerationCore: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
SapDictionaryGenerationTemplates: (unknown)
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
6.40 patchlevel 92160.313
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_08-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows 2003, version: 5.2, architecture: x86
Error stacktrace:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: com.eac.vendor.model.Viqmel
Loader Info -
ClassLoader name: [local/VendorNotifnWD]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:ejbserialization
sap.com/tcwddispwda
sap.com/tcwdcorecomp
service:webdynpro
service:sld
library:tcddicddicservices
library:com.sap.aii.proxy.framework
library:tcgraphicsigs
library:com.sap.mw.jco
library:com.sap.lcr.api.cimclient
library:sapxmltoolkit
library:com.sap.aii.util.rb
library:com.sap.util.monitor.jarm
library:tcddicddicruntime
library:com.sap.aii.util.xml
library:tccolapi
library:com.sap.aii.util.misc
library:tc~cmi
library:tccolruntime
Resources:
F:\usr\sap\PED\JC00\j2ee\cluster\server0\apps\local\VendorNotifnWD\webdynpro\public\lib\app.jar
Loading model: {parent,references,local}
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:378)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:186)
at com.eac.vendor.model.Zzbapi_Qmnotif_Getdetail_Input.<init>(Zzbapi_Qmnotif_Getdetail_Input.java:51)
at com.eac.vendor.VendorNotifnCust.wdDoInit(VendorNotifnCust.java:98)
at com.eac.vendor.wdp.InternalVendorNotifnCust.wdDoInit(InternalVendorNotifnCust.java:152)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:436)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:374)
at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:403)
at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
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:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:398)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:373)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
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:392)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
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:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
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:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Caused by: java.lang.ClassNotFoundException: com.eac.vendor.model.Viqmel
Loader Info -
ClassLoader name: [local/VendorNotifnWD]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:ejbserialization
sap.com/tcwddispwda
sap.com/tcwdcorecomp
service:webdynpro
service:sld
library:tcddicddicservices
library:com.sap.aii.proxy.framework
library:tcgraphicsigs
library:com.sap.mw.jco
library:com.sap.lcr.api.cimclient
library:sapxmltoolkit
library:com.sap.aii.util.rb
library:com.sap.util.monitor.jarm
library:tcddicddicruntime
library:com.sap.aii.util.xml
library:tccolapi
library:com.sap.aii.util.misc
library:tc~cmi
library:tccolruntime
Resources:
F:\usr\sap\PED\JC00\j2ee\cluster\server0\apps\local\VendorNotifnWD\webdynpro\public\lib\app.jar
Loading model: {parent,references,local}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:370)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:373)
... 46 more
What could be wrong? I have tried shutting down the J2EE engine and re-starting. I have also tried to bounce the server the J2EE is on. Still no luck. I see a ClassNotFoundException for com.eac.vendor.model.Viqmel, but Viqmel is not part of the package anyway?!?!?! What's really weird is that it was working fine a few hours ago! Please help!!
Kunal.Hi Guys,
Here's how I solved it, actually this was quite a random solution!
1. I undeployed the application from SDM
2. I shut down and restarted the J2EE Engine.
3. I re-imported the Model.
4. I rebuilt, recreated the archive and re-deployed the app.
And to my surprise it started working again.
Thanks to all of you that replied. -
Possible to run web dynpro apps without a portal??
Hi
Is it possible to run Web dynpro apps on a WAS without a portal?
ThxAh,
Absolutely possible.
Use url like
http://host:port/webdynpro/dispatcher/com.your-company/yourappdc/AppName
in your browser address bar
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
How can I automatically refresh a Web Dynpro App every 5 minutes
Hello,
I have a web dynpro that is calling a web service. I need that this web dynpro app auto-refresh (recall the web service and update the information) without any user interaction every 5 minutes.
How can I do this?
Thanks & Regards
SUyou can use timedtrigger UI element to achieve it.
Edited by: John Wu on Jun 21, 2011 5:33 AM -
How to change the web page title of a web dynpro app?
Hello,
I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
Thanks for your comments!Hi M Walter,
Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
The title you gave to this Window will be displayed as the title of your Web page.
Regards,
Ajay -
Call WAPI error in web dynpro app
I write a very simple demo workflow, there is a approve step that call a web dynpro app.
I pass workitemid to my web dynpro program, then It call fm SAP_WAPI_RESERVE_WORKITEM and SAP_WAPI_WORKITEM_COMPLETE to comlete workitem programmly.
In SAPGUI workplace ,I receive a message ,then I execute workitem,web dynpro UI page is showed.When I execute approve operation(call two wapi fm above in approve event handler),SAP_WAPI_RESERVE_WORKITEM and SAP_WAPI_WORKITEM_COMPLETE's export parameter "return_code" is 1.
But I test/execute my web dynpro program standalone in workbench,all is ok,demo workflow continue.
I have spent a plenty of time for it,help me!
I'm sorry for my poor english .Thanks for your advice. I am a new one for SAP development.
According to your advice, I use SAP_WAPI_DECISION_COMPLETE instead of SAP_WAPI_RESERVE_WORKITEM and SAP_WAPI_WORKITEM_COMPLETE, I get the same result.
test web dynpro application standalone, it's ok;in SAP workplace ,SAP_WAPI_DECISION_COMPLETE method's exporting parameter "return_code" is 1.
My code is following :
CALL FUNCTION 'SAP_WAPI_DECISION_COMPLETE'
EXPORTING
WORKITEM_ID = l_wi_id
LANGUAGE = SY-LANGU
USER = SY-UNAME
DECISION_KEY = 0001
DO_COMMIT = 'X'
IMPORTING
RETURN_CODE = returncode -
Navigating from one Web Dynpro app to another not belonging to same project
Hi All,
I wanted to know is it possible to navigate from one Web Dynpro app to another which does not belong to the same project. if yes how.
Regards
SidHi Siddarth,
If you want provide the interaction between two Web Dynpro applications then you must develop those projects as Development Components as DCs provides the reusability of the components created.
You can through these link to find out more information:
Where to start DC creation ?
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383</a>
Server Side Eventing:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3</a>
Regards,
Jhansi -
Show BI report in a Web Dynpro App
Hello,
I would like to insert a BI report into a Web Dynpro App, this is because I have some specials requirements like using a dynamic tree for selecting the user desired report and pass two parameters to this report via URL for example, this is why I cant use standard BW iView to show this reports.
Any hint, suggestion or advice is really appreciated here.
Best regards.Hi Ramien,
See this link,
Re: BW server details from webdynpro
Hope this helps you
Regards
Rohit -
Push data/ trigger event in Web Dynpro app
Hello All.
I'm a newbie with web dynpro. I have a need to push information to a web dynpro application. Is there a way I can trigger an event in web dynpro to refresh the screen from another application running on the Netweaver J2EE? Is it possible to implement an ActiveX or AJAX application to retrieve server data and communicate with a web dynpro app running on the enterprise portal?
Your help will be appreciated.
MohanHi,
You can search for portal eventing...subtscribing event and unsubscribe it etc.
Regards,
Kiran Chennapai -
How do I undeploy/delete Web Dynpro App
Hi,
I created a Web Dynpro App in NWDS for some testing. Now I want to delete this App from Server but I cannot find any button saying undeploy or delete.
Can anyone tell me how I can delete a deployed Web Dynpro App?
Cheers
ChristianHi Christian,
You definitely should! Keep in mind that the entries are NOT sorted alphabetically, so you have to go through the complete list!
You also can try to remove it via VA, there via "Services" -- "Deploy" -- choose your app -- "Remove". I'm not sure if this really removes everything from the server. You may give it a try, but as said, removing it via SDM is the most original way.
Hope it helps
Detlev -
How to close portal page by Web Dynpro App
Hi There,
I would like to close a portal page by clicking a button of a Web Dynpro App which is inside an iView on that page.
Is this possible or not?
BertilBertil,
First, it is very bad decision to make decisions instead of user. Just redirect him to logoff page and let close window himself.
In WebDynpro you may use <b>Exit plug</b> on interface view with parameter <b>Url</b> (notice the case) of type string.
Then you may previously fire this plug with JavaScript url: javascript:void(window.top.close())
In recent versions of WD this will not work. So you have to redirect user via exit plug to some static html page, that contains in header <script>window.top.close();</script>
VS -
Using Web-Dynpro Engine of a different J2EE server
Hello Gurus,
Is it possible to use a web-dynpro engine of a different J2EE server from my portal i.e. I want to use a web-dynpro engine that is stored in some other J2EE server and not my portal J2EE server.
Is there any parameter in the Visual Administrator of my portal server through which I can direct it to use the Web-dynpro engine of a different J2EE server.
Regards
Deb
[Points guranteed for helpful answers]Hello
If I unstedstand you correct, you can edit the J2EE server in the Developer Studio. Then you can publish your application on the new J2EE Server.
Press Window - Preferences - SAP J2EE Engine and change the Message Server Host and Message Server Port on the first choice "Please select an engine installed on remote host".
If you dont know the Message Server Port, open the url:
http://<portal server>:<port>/ and choose System Information
Log in with an Administrator and see the value under Message Server .
Best Regards
Kristoffer Engh -
Problem with FQDN when creating Web Dynpro App
Hi @ all,
when create a WDA the url is set like this: HTTP://SAPVM1:8000/sap/bc/webdynpro/sap/z_wda_sample.
I defined the icm/host_name_full and the SAPLOCALHOSTFULL correct*, but it did not work. I have also restarted the system more than one time. I searched a lot, but found no solution here on sdn.
*correct means : sapvm1.mydomain.de
Even if I try to start a default wda example the wrong FQDN is set. But if I start the wda at the SICF (test service) it works, the FQDN is set right.
thx in advance.
TimoHi,
it seems that the httpurlloc table was the problem. The host entry in this table was no FQDN, I changed it into FQDN and it works. Now the generated url of the web dynpro applications is correct.
Maybe this helps somebody else.
See also
http://help.sap.com/saphelp_nw70/helpdata/en/42/d547ab30b6473ce10000000a114e5d/frameset.htm
Timo -
Read only access to few users & RW to others for Web Dynpro App in EP
HI All,
I am creating few Iviews using custom development and able to display on the EP fine.. Now customers want to have red only to few users and read/write access to few users.. Can any one point me to the right documentation or the steps to be performed to acheinve this.
Thanks
RajeevHi Rajeev,
Please create role/group for WD applciation which you want to assign read/read & write to the users. Access the role/group in WD application and restrict the access to UI Element properties.
Refer to below documents for protecting Access to the Web Dynpro Application Using UME Permissions.
[help.sap.com|http://help.sap.com/saphelp_nw04/helpdata/en/f3/a64d401be96913e10000000a1550b0/content.htm]
[Exmaple|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/297f35cf-0201-0010-00b2-fe2f3e23d360?QuickLink=index&overridelayout=true]
Hope it will helps
Regards
Arun -
How to enforce a login screen when running a Web Dynpro app?
Hello,
In Web Dynpro for Java there is a way to set authentication property to true and by that enforcing a login screen in case someone is browsing this application outside of an authenticated context (for example, the portal).
My question is: How do I do this for Web Dynpro for ABAP?Roy, are you familiar with that http://help.sap.com/saphelp_nw04s/helpdata/en/ff/c7de3fc6c6ec06e10000000a1550b0/frameset.htm ?
Maybe you are looking for
-
since my last update, I see on my thumbnails several times the same old picture. When I click on it, the old picture dissapears andI can see the original ones. When I open full screen view, the pictures do not show at all. Anyone experienced this? H
-
what number should I put in "Number of Qualifying system for right to copy" in OS mountain lion up-to-date program form? I'm a newbie on mac, just bought MBA two weeks ago. I've tried software update but it is not upgraded to mountain lion. what shou
-
Carrier logo sometimes shows as 000-00 and loses signal
Hiya, My girlfriends iphone 5 sometimes loses all signal and the carrier shows as 000-00 rather than EE. Regardless of signal in the area, the only way to get a signal back is to restart the phone! The phones not jailbroken or anything and is only ab
-
Why can't I get sound on you tube or a radio station but I can on an old email? My sound is up on both items.
-
Creating a Transition Template for FCPX
So I am familiar with FCPX and editing, however I am still working on developing my skills in animated graphics. I found a great transition I want to brand my videos with but it is saved as a After Effects Project. Upon opening it AE just has transpa