cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Problems starting SAP GUI for HTML (Screen Personas) - not found errors (404)

0 Kudos

hi Sir,

  I got same issue in my sandbox server, did you solve this issue? I have implemented the note 2141004, but there are some resources that are still not found (error 404) . Could you kindly tell me the solution if you have fixed this issue, thanks a lot.

Best regards,

Yi

Add note link. Message was edited by: Oisin ONidh

Accepted Solutions (1)

Accepted Solutions (1)

cris_hansen
Advisor
Advisor
0 Kudos

Hello Yi,

This seems similar to a recent case I saw.

Be sure that you have set:

icm/HTTP/file_access[0] = PREFIX=/sap/public/icmandir/,DOCROOT=$(DIR_ICMAN_ROOT),ARCHIVE=$(DIR_EXECUTABLE)/ITS.SAR,CACHECTRL=+28800

This will guarantee that the ICM process extracts the content of ITS.SAR in the correct location.

I hope this helps,

Cris

cris_hansen
Advisor
Advisor
0 Kudos

Hello Yi,

I just confirmed that without the parameter set, the ICM process does not extract the ITS MIMEs from ITS.SAR, and 404 HTTP errors are expected.

Regards,

Cris

0 Kudos

hi Cris,

  thanks for your reply, I checked in my system, seems these parameters had been set...

icm/HTTP/file_access[0]        = PREFIX=/sap/public/icmandir/,DOCROOT=/usr/sap/<SID>/DVEBMGS00/data/icmandir,ARCHIVE=/usr/sap/<SID>/DVEBMGS00/exe/ITS.SAR,CACHECTRL=+28800,MAXAGE=+28800

icm/HTTP/server_cache[0]       = PREFIX=/, CACHEDIR=/usr/sap/<SID>/DVEBMGS00/data/cache

icm/HTTP/admin[0]              = PREFIX=/sap/admin,DOCROOT=/usr/sap/ZES/DVEBMGS00/data/icmandir/admin,AUTHFILE=/usr/sap/<SID>/SYS/global/security/data/icmauth.txt

icm/HTTP/auth[0]               = PREFIX=/,FILTER=SAP

so it's much strange I got these error, can I extract the ITS.SAR manually?

Best regards,

Yi

0 Kudos

hi Cris,

   Are there system logs which can show the extracting process like extract failed or can't find the ITS.SAR?  I can't find any logs about it....

Best regards,

Yi

cris_hansen
Advisor
Advisor
0 Kudos

Hello Yi,

Yes, you can check in dev_icm (via ST11) or using SMICM (Goto -> Trace File -> Display All).

You should see something like:

"...

[Thr xxxx] HttpExtractArchive: extract archive X:\usr\sap\<SID>\DVEBMGS00\exe\ITS.SAR to X:/usr/sap/<SID>/DVEBMGS00/data/icmandir

SAPCAR: processing archive X:\usr\sap\<SID>\DVEBMGS00\exe\ITS.SAR (version 2.01)

...

SAPCAR: xxxxxx file(s) extracted

..."

Kind regards,

Cris

cris_hansen
Advisor
Advisor
0 Kudos

Hello Yi,

You can follow SAP note 1575271. Even though the symptom is not what you are facing, it gives you a valid approach for your case.

Kind regards,

Cris

0 Kudos

hi Cris,

   Thanks a lot. I checked the logs in ST11, seems ICM only did the version checks, but no extracting.

logs are like these:

...

...

HttpISubHandlerAdd: Added handler HttpCacheHandler(15204c0), slot=1, flags=12293) for /, active: 1, table 1520060

Adding HttpAdminHandler: PREFIX=/sap/admin,DOCROOT=/usr/sap/<SID>/DVEBMGS00/data/icmandir/admin,AUTHFILE=/usr/sap/<SID>/SYS/global/security/data/icmauth.txt

HttpExtractArchive: files from archive /usr/sap/<SID>/DVEBMGS00/exe/icmadmin.SAR in directory /usr/sap/<SID>/DVEBMGS00/data/icmandir are up to date

...

...

Started service PORT=44300,PROT=HTTPS,TIMEOUT=15,PROCTIMEOUT=45,VCLIENT=0

SSL settings: verify_client: 0, cache_size: -1, cache_lifetime: -1, credfile: SAPSSLS.pse, ciphers: default

HttpExtractArchive: files from archive /usr/sap/<SID>/DVEBMGS00/exe/ITS.SAR in directory /usr/sap/<SID>/DVEBMGS00/data/icmandir are up to date

IcmNetCheck: network check passed without detecting problems

...

...

so I have to follow the note 1575271 ?

Best regards,

Yi

0 Kudos

hi Cris,

  Is there any parameters like icm/full_host_name must be as same as the URL I used ? I'm not sure if I used another name ( for web access ) which is not same with the parameter, it would get error, or at least the hostname which the parameter used should be accessed ? I think maybe the system used an unaccessable hostname...then can't find the resource...just guess if I add IP address and hostname in file hosts, this issue can be solved...I can't access the OS of the system for some reason...

Best regards,

Yi

cris_hansen
Advisor
Advisor
0 Kudos

Hello Yi,

Yes, I would follow the note, just to be sure that you have all the files in place.

Regards,

Cris

cris_hansen
Advisor
Advisor
0 Kudos

Hi Yi,

You should use the FQDN to access any SAP-based web service, including WEBGUI (or Personas).

The FQDN should be set in icm/full_host_name.

For some web applications the IP address is not supported (e.g. Web Dynpro ABAP applications).

Try testing the access directly to the server, not having any network device (reverse proxy, for example) between the server and the web browser.

Kind regards,

Cris

Answers (1)

Answers (1)

former_member194364
Active Contributor
0 Kudos

Hello Yi,

I have branched this question to a new thread.

Can you post system details. Kernel, SAP_BASIS and Personas details in this NEW thread?

Then others here in the ITS SCN Community maybe help to assist you further.

Regards,

Oisín

ITS SCN Moderator

0 Kudos

hi Oisin,

    Thanks a lot. the kernel is 742 splv 216 SLES-11 x86_64, and the SAP_BASIS is SAPKB74010.

Actually, I just want to use WEBGUI, I actived some services in SICF also did publish in SE80.

when loading the login page of the webgui, I can't see any picuture, and got these errors in webbrowser:


GET https://<host>/sap/public/icmandir/its/lsgui/js/its_frameset.js

webgui?sap-client=000:343

GET https://<host>/sap/public/icmandir/its/lsgui/images/img/splashscreen.jpg 404 (Not Found)

webgui?sap-client=000:50

GET https:/<host>/sap/public/icmandir/its/lsgui/js/its_utils.js

webgui?sap-client=000:48

GET https://<host>/sap/public/icmandir/its/ls/js/autorelax.js

webgui?sap-client=000:55

GET https://<host>/sap/public/icmandir/its/lsgui/js/init_websocket.js

webgui?sap-client=000:54

GET https://<host>/sap/public/icmandir/its/lsgui/js/sap-pcp-websocket.js 404 (Not Found)

webgui?sap-client=000:356

GET https:/<host>/sap/public/icmandir/its/lsgui/js/sap_secu.js

webgui?sap-client=000:343

GET https://<host>/sap/public/icmandir/its/lsgui/images/img/screenloadinganilarge.gif 404 (Not Found)

webgui?sap-client=000:343

GET https://<host>/sap/public/icmandir/its/lsgui/images/img/splashscreen.jpg 404 (Not Found)

webgui?sap-client=000:191

Uncaught ReferenceError: wguSessionBuildTerminationURL is not defined

I have implemented notes

2007142 - SAP GUI for HTML: Loading ITS MIME files from kernel (feature WEBGUILOCALMIMES)

2091386 - SAP GUI for HTML: HTML Viewer and determination of basis window name

2111099 - SAP GUI for HTML: Deactivate domain relaxing

2141004 - SAP GUI for HTML: HTML and JavaScript files cannot be loaded

Best regards,

Yi

Add note links Message was edited by: Oisin ONidh