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.
Timo
Hi,
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
Similar Messages
-
Error when Creating Web Dynpro Model in CAF-Service
Hi All,
I reaaly need help. AFter updating to SPS 9, it was necessary to redeploy my Entity Service. That contains to "Create a Web Dynpro Model" in the Service Explorer,
to get an interface of the Service in my Web Dynpro Application.
Before I update to SPS 9, the Application works fine.
But now, when I want to "Create a Web Dynpro Model" in the NWDS I get the following Error-Message (its not a useful Error-Message):
<i>Error cannot create Web Dynpro Model:
Creation of Web Dynpro model failed. Reason: null </i>
Thanks for helping me
SteveHi Aliaksei,
the problem in the thread is the same I got.
When I use only 7 letters for the operation name, the creation work. When I use more then 7 letters the creation doesnt work.
But its hard to find a methodname with only 7 letters.
In SPS 8 I didnt have problems with the length of method names. Why is it so?
The workspace log:
!ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.577
!MESSAGE Oct 10, 2006 3:12:45 PM com.sap.ip.mmr.foundation.AssociationsOfObject [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
!ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.592
!MESSAGE Oct 10, 2006 3:12:45 PM com.sap.ip.mmr.foundation.AssociationsOfObject [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
!ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
!MESSAGE Oct 10, 2006 3:12:48 PM com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
!ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
!MESSAGE Oct 10, 2006 3:12:48 PM com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
!ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
!MESSAGE Oct 10, 2006 3:12:48 PM com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
!ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
!MESSAGE Oct 10, 2006 3:12:48 PM com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
Thanks
Steve -
Strange JCO error when running Web Dynpro App
I am developing a new WebDynpro application to be deployed on our SAP
Portal interfacing with a SAP R/3 backend. The application uses
multiple JCo destinations (two for each model) all of which were
configured according the SAP guides (userid/password for metadata and
ticket for model data). The tests work fine for all connections.
However, we get HTTP 500 errors when executing the application. The
main message is : "com.sap.mw.jco.JCO$Exception: (101)
RFC_ERROR_PROGRAM: 'password' missing".
I have not been able to find anything to help and SAP themselves have yet to provide us an explanation.
- I was able to run the application fine in dev and it worked with this error occasionally appeared but now it always appears.
- Our portal is 2004s SP 10
- All of the JCOs are configured properly as per SAP instructions
- modeldata use SSO with user configured in R/3
- metadata use userid/password
- Another prototype Web Dynpro application has the same error.
- All of the Web Dynpro models are Adaptave RFC.
Any ideas would be greatly appreciated.Here is the full exception I am getting.
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.pwc.servicecenter.sapwai.wdmodel.types.Klassenart could not be loaded: com.sap.dictionary.runtime.DdException: failed to create provider: 'password' missing
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:250)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:213)
at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
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.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:932)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:176)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
at com.pwc.servicecenter.sapwai.wdcomponents.Z_CLASS_COPY_MAIN.wdDoInit(Z_CLASS_COPY_MAIN.java:97)
at com.pwc.servicecenter.sapwai.wdcomponents.wdp.InternalZ_CLASS_COPY_MAIN.wdDoInit(InternalZ_CLASS_COPY_MAIN.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
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.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
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.doApplicationProcessingPortal(ClientSession.java:772)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:707)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1248)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:353)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:551)
at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:190)
at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
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.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
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:752)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
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: failed to create provider: 'password' missing
at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:254)
at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:146)
at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:97)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:79)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:242)
... 63 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:229)
... 70 more
Caused by: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1015)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3238)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:91)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:123)
... 75 more -
Problem with external libraries and Web DynPro
Hello,
we're stuck here.
We're trying for a week now to include external libraries(e.g. Hibernate) into our Web DynPro Project, without success so far.
We read every single forum and blog entry we could find on this topic.
E.g.: /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
We're running Netweaver 2004s SP9 Trial Version.
The biggest problem is, that when we deploy an J2EE Server Component Library DC exactly like described in the blog entry above, although it is deployed correctly an lists under Server->Libraries in Visual Administrator, the external hibernate.jar doesn't get deployed onto the server. It's just an empty container named hib/lib without any entries in "Jars Contained". The sda file of the library DC also has only 2K and doesn't include the hibernate.jar which we added as used dc...
Any help would be greatly appreciated.
Or is there a simpler way to include external jars into Web DynPro Projects and deploy them to the server? (We already tried putting them into the lib folder without luck, we always get "NoClassDefFound...")
Edited by: Christian Wieland on Jan 31, 2008 11:22 AMHallo Christian,
this is a bug which should be fixed in NW 7.0 SP9 patch1: [Look at this forum thread on the same issue: External Library DC in NW2004s SP09|External Library DC in NW2004s SP09].
Regards, Bertram -
Problems with encoding when creating link in mail
A user inputs some text in a field at a webpage.
From this I build a mail that has a link that looks like this:
http://www.domain.com/a/controller/action/?name=[INPUT VALUE]
My problem is that when I try to get the value in the receiving action, using params.name, it does not so good. The real problem is about odd characters like our swedish �,�,� for example.
What I have tried to do when building the link is to use URLEncoder.encode([INPUT VALUE], 'UTF-8') and then using URLDecoder.decode(params.name, 'UTF-8') but it does not work at all. Is there any other way I should attack this problem?def name = "Mattias Sands�ter";
def email = params.email;
name = URLEncoder.encode(name, 'UTF-8');
println(name)
def message = http://domain.com/a/b/download/?name=" + name
MailSender.sendMail(email, "Subject", message);{code}
{code}def download = {
println(params.name)
println("download after decode" + URLDecoder.decode(params.name, 'UTF-8')){code}
The first println looks fine, it says Mattias+Sands%C3%A4er
The second println looks horrible, Mattias Sands��ter
The third looks the same.
Then I send this to my gsp(jsp) page and wants to put this in a standard textfield, but it of course looks like Mattias Sands��ter there too.
This is on a linux-server, on my local computer, everything works as expected.
Whatever it its, something happens to the name-variable when it is clicked on in the e-mail. It looks good in the e-mail, get pasted in the address-field in the browser correctly, but when retreiving the variable with params.name it is screwed
Edited by: sandsater on Jul 8, 2008 8:44 AM -
Problem with dnsextd when creating Wide-Area-Bonjour
Hello,
I've been struggling for some time trying to create a WAB test environment but without success and would appreciate some help.
Im using a mac mini (later 2014) running Yosemite to run bind (9.10) and ISC for a testing zone with DDNS enabled. This setup is running perfectly with or without TSIG (both ways run perfectly).
When I try to include dnsextd in this setup for LLQ is where the problem start. No more DDNS updates. When I run dnsextd in debug mode, it shows the following message:
"Rejecting Update Request with 2 additions but no lease".
The dhcp logs report RCODE 5 (from dnsextd), which means REFUSED.
Any ideias?
I see a lot of website (including DNS-SD.org) with very simple cookbooks explaining how to create the WAB environment, but I cant make it work. Even if I configure the zone keys in dnsextd, it wont work. The error change to a new one (dnsextd responds without TSIG, which is not accepted by the DHCP server) and it wont work also.
Any idea of fix would be appreciated.thanks for the quick reply AndrewTJ - I did notice the typo after posting and corrected however the problems remains. below is the contents of my up.com.dns file - i can see nothing out of place but cannot get a resolution
; Database file up.com.dns for up.com zone.
; Zone version: 22
@ IN SOA dns1.up.com. hostmaster.up.com. (
22 ; serial number
900 ; refresh
600 ; retry
86400 ; expire
3600 ) ; default TTL
; Zone NS records
@ NS dns1.up.com.
; Zone records
_http._tcp.up.com. PTR website._http._tcp.up.com.
website._http._tcp.up.com. TXT ( "txt path=/" )
SRV 0 0 80 dns1.up.com.
_services._dns-sd._udp.up.com. PTR _http._tcp.up.com.
b._dns-sd._udp.up.com. PTR @
lb._dns-sd._udp.up.com. PTR @
dns1.up.com. A 192.168.1.153
Any ideas? -
Problem with pixelation when creating a pdf
Hi,
A client sent me an InDesign file and a PDF of what that file made. I was asked to make some text edits. I finish and export to pdf. When viewing my new pdf at 100% the images are pixelated really bad. The original pdf they are high quality images at 100%. I didn't mess with the images at all. I don't know what I am doing wrong.
Any help would be appreciated.
Extra info
ID CS6
Images are jpegs
High quality prin settings
Compress jpegs (maximum quality)
Do not downsampleInDesign creates low resolution previews of placed graphics (to enable quicker screen draws).
When you opened the file you should have been alerted that the document contained missing links.
During the work time on the file, the links panel would have shown similair to
InDesign probably also alerted when you exported to pdf.
If you have instructed InDesign to disable warnings, you should consider turning them back on from the Preferences panel
Edit > Preferences > General -
Hi everyone, I have problems with the notification, in a few apps I don't see the red circle even when I do have notifications in it.
You'll get no solution until you say what the problem is, rather than just ranting. "Software breakdown" down is as meaningful as "car won't go".
If you read the terms and conditions that you agreed to in order to post here, you would know that Apple is not "our company". Nobody here works for Apple, we are users that voluntarily try to help, so raving at us is valueless. -
Problems with navigation when deploy application on WebLogic 10.3
Hi! I have problems with navigation when I deploy my application on Weblogic server 10.3. In my application I have two pages. One page where I can see the records. In this page I have button Create with action to secound jspx page. When I press this button then the first form (where I could see all records) is empty - the create operation worked, but navigation to second page not. Navigation rules is in adf task flow. In default server all works correct. Where is the problem?
Maybe when I deploy my application I need specialy deploy adf task flow or somewhere write something? If so, then can you explain me where? Any suggestions what to do.
Best regards!I have in log:
2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
l setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
lize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
sourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
trap add
INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
tchCredential
WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
mains\base_domain\config\oracle.
2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
Exception
WARNING: Incomplete connection information
Edited by: Debuger on Mar 26, 2009 11:18 AM -
Error when inserting Web Dynpro script
Hello,
I am trying to create a new form using fields from KNA1 and am using ISR controls. When I try to insert Webdynpro scripts i get message "Error when inserting Web Dynpro script" Message no. FPUIFB094.
Has anyone faced this error? no notes are available regarding this and in SDN.
Regards
PrasadIt must be atleast ALD 7.1. Check this [Thread|Re: Problem on Button; having the same issue. Also check the SAPNOTE 962763.
-
Abap error when using Web Dynpro assistance class
Hello All,
I created Web Dynpro component with assistance class.
On the component controller I can see the attribute "WD_ASSIST".
I also can use Goto -> text symbols and create net text key.
But when I tried to read the text:
wd_assist->get_text( '001' ).
There is abap error:
Method get_text is unknown protected or private.
I can see the method get_text inside my assistance class like this:
IF_WD_COMPONENT_ASSISTANCE~GET_TEXT visibility - public.
I think I missed something while creating the assistance class?
Thanks in advanced for the help.
NirYour method call should be:
wd_assist->IF_WD_COMPONENT_ASSISTANCE~get_text( '001' ).
You have to supply the interface name or go into the class definition and create a public alias for that method. -
Problems with error-page in web.xml and page caching
Having a few problems with error pages and web.xml with browsers caching the error pages and strange errors coming out of weblogic.servlet.intenal.WebAppServletContext
I'm trying to set a web app up so that all http errors and all exceptions are routed thruogh predefined resources. For now, I'm simply send 400 errors to 400.html and the ServletException, IOException and RuntimeException to respective html pages.
What I'm finding is that the error codes work fine but the exceptions are only be routed to the correct error page for the first call to the servlet after server restart.
So for example, I have my servlet throwing a ServletException as a test case. The weblogic server log shows that ServletException is thrown, and the correct error page for ServletExceptions is shown.
If I change the Servlet code to throw IOException in place of SevletException, the weblogic.log shows that IOExceptyion is being thrown (so the servlet has deployed successfully), however the Servletxception error page is shown on the browser.
I'm using IE6 and I've changed the setting such that a new page is requested every time using the tools-internet options-temp internet files-settings option to "check for new versions of stored pages: Every visit to the page".
Despite this, the servlet exception error page still appears.
If you clear the cache from the temp intenet files->delete files IE option, the correct errror page will be shown so it appears that the browser cache is being used after all.
everytime I delete the temp intenet files I get the correct error page on the first request after but then not after that.
I have implemented the service method for this test to throw the exceptions - does this make a differecne?
As a test, I have moved the imlpementation to the doGet method instead bu I now get a strange eror from weblogic comlpaining about an arrayOutOfBoundsException because eror codes in the web.xml are not supported! - see error above.
Any help is appreciatedAfter further investigation: -
There are no problems with error pages based on error codes, only error exceptions.
As a test case, I have a service method in a servlet throwing either one of the three exception types that servlets can throw (Runtime, Servlet & IO) the following rules apply. The exception to be thrown is hardcoded and is changed and the web app rebuilt each time. The correct web.xml has been deployed to the app server (checked through console). the webapp is being redeployed correctly - this can be seen in the weblogic log, where the correct exception is reported.
I am using WLS 8.1, Servlet 2.3, JDK 1.4.1_02
In all cases, the weblogic log reports that the servlet is throwing the exception as expected.
Despite having set error-page for exception javax.servlet.ServletException, the exceptions are diverted to the error page that has been set up for http error code 500
The error page for ServletException is therefore never reached.
I have the browser set to request pages every time it is asked.
Once the servlet has thrown an IOException, the only way to get the browser to report an IO or Runtime exception error-page is to clear the browser cache. Restarting the server has no effect.
Once the servlet has responded with ANY exception, it is not possible to get it to report a ServletException (which is incorrectly reported as a 500 anyway) unless the cache is cleared. Restarting the server has no effect.
In the case where the servlet throws ServletException, it has no root exception. The servlet 2.3 spec states that if ServletException is thrown but cannot be found in the error pages, the root excpetion will be extracted and the error page list traversed again. Knowing that the RuntimeException error page is correct shown when RuntimeException is throwm, I have nested this inside the ServletException, however error page for http error 500 is still shown.
I don't believe this is a WLS 8.1 problem, as the console shows that the correct exception is thrown each time. this is backed up by the fact that the correct exception page is thrown when the cache is cleared regardless of what exception was previousdly thrown by the servlet. This excludes ServletException which is always incorrectly thrown as a 500. -
Steps to Create Web Dynpro iview
Hi,
i created web dynpro application using Netweaver Developer Studio.
Now i want to show that on portal.
so please let me know the steps to create web dynpro iview.
regards
mmukeshHi,
Logon to portal with administrator uid/pwd. Content Administration->Portal Content. Right Click on the folder 'Portal Content' and select 'iView'->'New'. In the Template Selection, select 'SAP Web Dynpro iView' and click 'Next'. In the 2nd step, provide iView Name and iView ID and a prefix.
Salect 'Java' in the 3rd step. n the 4th step, select the System (WAS System), give the project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace and the Application Name. An iView will be available now.
After creating an iView, you should create a page and add the iView to it. Then create a role and add your page to it. Then assign this role to your user. Set the role property 'Entry Point' to true.
Then when you log into the portal you'll see your role in the top level navigation, click on it to see your iView.
Regards
Srinivasan T -
Authentication Screen when accessing Web Dynpro Application
Hi,
We are encountering a situation wherein when we call the Web dynpro application, it asks for Authentication. The way we do is a bit tricky. We have the following set up;
1. We access the CRM_IC ( Web Gui) in CRM and from where we try to create orders in the backend system i.e., ECC6.0 (IS_Utilities).
2. For creating orders we launch the FOP ( in our case it is DYNPRO) from CRM. So ECC screen is opened through ITS using SSO.
3. In addition to this we built a web dynpro application to be called from the DYNPRO (step 2).
4. When the Web dynpro application is accessed it asks for Login details though it has already logged into ECC using SSO.
PROBLEM: CRM -- using ITS / SSO --> ECC --> Web dynpro ?? Authentication screen.
Design:
We are using WDY_EXECUTE_IN_PLACE to open the Web dynpro in SAPGUI. It is working fine when we run the Web dynpro application from SAPGUI, only the problem is when we do the above steps 1 - 4.
Tried using the following logic as well but the same result.
CREATE OBJECT viewer EXPORTING parent = empty_container.
CALL METHOD viewer->enable_sapsso
CALL METHOD viewer->DETACH_URL_IN_BROWSER
EXPORTING url = urlc.
cl_gui_cfw=>flush( ).
So is it possible to over come the problem. Basically, we don't want the Authentication screen it should use SSO.
SSO is already set up in the system.
Any inputs will be highly appreciated.
Thanks,
Roopeshresolved!!!!
CRM had wrong url to connect to web dynpro aplication
Edited by: Aditya Deshpande on Mar 3, 2010 9:59 AM -
How to create Web dynpro ABAP iview in EP ?
Hi guys,
I have created Web dynpro iview in EP but when I execute it I'm getting errpr msg.
page cann't display.
Application neme= correct
namespace= correct
System allias=correct.
Could u plz tell me where is the problem?
Thanks
Prakash
Edited by: Prakash Rout on May 12, 2009 9:39 AMHii ,
Check this article for settings of Web dynpro abap iview, might be helpful
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0235c19-9493-2b10-64a5-8487b23a7a41
Hope it helps..
Sonal...
Maybe you are looking for
-
Adobe Acrobat 7 Professional - OCR Function
I have scanned documents that were saved in Adobe Acrobat 7 Professional. I'm trying to do text comparisons. I try to convert them to searchable text using OCR but it's telling me that it's below the minimum of 144 dpi. Any suggestions as to how I ca
-
How to run oracle 10g enterprise manager
hi how can i run oracle 10g enterprise manager? thanks
-
Open in external browser?
Hi folks, basically I have a HTML file being added to a JEditorPane, all working fine. When you click one of the hyperlinks in the file it opens the website in the java application! i.e. it updates the editorPane with the website. Question: How can I
-
Hi, my new Lion server has a problem relaying mails to my ISP's server. I configured it with the same parameters than my old Snow Leopard box, wich worked fine. Lion cues all mails localy with an error saying that no "SASL mechanism" was found. Can a
-
FM to update and add price in consignment info-reocrd
Hi People, Can anyone tell me if we have any Function Module to update Price in Consignment info-record (ME12). I also need to add a consignment info-record if no Condtion is maintained for the given Info-record. To upate i tried using ME_UPDATE_INFO