on 05-12-2012 3:02 PM
I'm experiencing strange issue with the Split deployment of Web part of SAP BO 4.0. I used the following pdf meterial 'Improving the User Experience in SAP BI Platform 4.0 with Apache and WDeploy' written by James Rapp.
My Environment consists of:
Default Tomcat
Apache 2.2- the latest release, downloaded from vendor's web
SAP BO 4 with Fp3
what I did:
1. modified Tomcat's xml file by adding <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" enableLookups="false" connectionTimeout="20000"/>
2. Downloaded approprirate mod_jk file from web, uploaded to Apache modules folder
3. Created workers file & modifid the default httpd config file as it's written in PDF guide
4. Executed wdeploy.bat tomcat6 –Das_mode=split –Dws_type=apache deployall
Result: everything is fine - all web interfaces are up and running, except WebIntelligence from BI protal, here I'm getting the following error
when I start WebIntelligence.
load: class com.sap.webi.ui.jrp.WebIAppletStartup not found.
java.lang.ClassNotFoundException: com.sap.webi.ui.jrp.WebIAppletStartup
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The default installation with Tomcat is fine, WebIntelligence interface is also running as expected, but when I modified it by adding Apache then this
error message occurs. Maybe someone can help me out, what can be cause of the error message.
I did some search in SAP Notes are, but did not find any reasonable explanation. For me it seems that the split deployment if ok, just Java is failing for some unknown reason....
Thanks in advance
Hi Ainars,
This appears to be a regression in FP03 as I have reproduced the problem internally using FP03 Patch 4. I have requested your colleague raise a support message to address this and provide me with the message number. I will ensure a reproduction environment is available to the assigned engineer so we can get this fixed in a patch.
Please let me know if you have any further questions and thanks very much for raising this to our attention. We'll do our best to get this addressed as soon as possible, and I have confirmed with your colleague that there is a temporary workaround while we get this fixed. The workaround is simply to copy the timestamp based folder that exists within $htdocs/BOE/portal so that the 0000000 directory exists as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi James,
The issue seems to exist in BI 4.0 SP04 as well. I did the full install on Linux using WebLogic 10.3.6 and Apache 2.2 for the front end. The BI 4.0 apps are built in a split mode. The Web Intelligence Application failed to open with the errors similar to one above. I could overcome it only using a workaround you suggested - copy the timestamp based folder that exists within $htdocs/BOE/portal so that the 0000000 directory exists as well.
Regards,
Inna
Hi Inna,
It does indeed exist in SP04 since that code originated from the FP03 release. I was able to have this fixed in Patch 4.3 under ADAPT01639394. You may use the workaround or consider patching to 4.3 or higher.
I've checked the forward fit rules (https://service.sap.com/bosap-maintenance-schedule) and it looks like this is also fixed in SP05.
In summary, you may use the workaround or apply Patch 4.3+ or SP05.
Regards,
Jim
Hi James,
The rename didnt really fix the error. I still get the Webi Applet not found error. The logs look like: -
/BOE/portal/0000000/AnalyticalReporting/webiApplet/language/webi_swing_client_cdp_en.jar?version-id=14.0.4.738
Content-Length: 6,578
Content-Encoding: pack200-gzip
java.util.zip.ZipException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
at com.sun.deploy.cache.Cache$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
at java.io.FilterOutputStream.close(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
at java.io.BufferedInputStream.close(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
Hello James,
I have followed your instuctions here "Improving the User Experience in SAP BI Platform - BI 4.1 and Apache 2.4 Supplement" and other documents that relate to this subject matter. I am having the same issue in this post with BOE XI 4.1 SP4 when trying to launch the WEBI applet. Error message is below, do you have any suggestions? I have tried you workaround without any success. Thank you.
load: class com.sap.webi.ui.jrp.WebIAppletStartup not found.
java.lang.ClassNotFoundException: com.sap.webi.ui.jrp.WebIAppletStartup
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: com.sap.webi.ui.jrp.WebIAppletStartup
I have gone over your post and others and still can not find a solution. Below is my Mod_jk.log
[Mon Sep 22 18:31:59 2014][5068:14352] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized [Mon Sep 22 18:31:59 2014][5068:14352] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized [Mon Sep 22 18:32:00 2014][11376:5752] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized [Mon Sep 22 18:32:00 2014][11376:5752] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized [Mon Sep 22 18:36:56 2014][11376:5144] [info] ajp_send_request::jk_ajp_common.c (1652): (ajp13) all endpoints are disconnected, detected by connect check (1), cping (0), send (0) [Mon Sep 22 18:37:49 2014][11376:5144] [info] ajp_send_request::jk_ajp_common.c (1652): (ajp13) all endpoints are disconnected, detected by connect check (2), cping (0), send (0) [Mon Sep 22 18:39:00 2014][11376:9588] [info] ajp_send_request::jk_ajp_common.c (1652): (ajp13) all endpoints are disconnected, detected by connect check (4), cping (0), send (0) [Mon Sep 22 18:39:22 2014][11376:14804] [info] ajp_send_request::jk_ajp_common.c (1652): (ajp13) all endpoints are disconnected, detected by connect check (3), cping (0), send (0)
and this is from the error.log
[Mon Sep 22 18:31:59.717583 2014] [mpm_winnt:notice] [pid 5068:tid 412] AH00455: Apache/2.4.10 (Win64) mod_jk/1.2.40 configured -- resuming normal operations [Mon Sep 22 18:31:59.717583 2014] [mpm_winnt:notice] [pid 5068:tid 412] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 12:58:29 [Mon Sep 22 18:31:59.717583 2014] [core:notice] [pid 5068:tid 412] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24' [Mon Sep 22 18:31:59.717583 2014] [mpm_winnt:notice] [pid 5068:tid 412] AH00418: Parent: Created child process 11376 [Mon Sep 22 18:32:00.233195 2014] [mpm_winnt:notice] [pid 11376:tid 360] AH00354: Child: Starting 64 worker threads.
Any suggestons. Thank you for any and all help.
and this is from the error.log
[Mon Sep 22 18:31:59.717583 2014] [mpm_winnt:notice] [pid 5068:tid 412] AH00455: Apache/2.4.10 (Win64) mod_jk/1.2.40 configured -- resuming normal operations [Mon Sep 22 18:31:59.717583 2014] [mpm_winnt:notice] [pid 5068:tid 412] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 12:58:29 [Mon Sep 22 18:31:59.717583 2014] [core:notice] [pid 5068:tid 412] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24' [Mon Sep 22 18:31:59.717583 2014] [mpm_winnt:notice] [pid 5068:tid 412] AH00418: Parent: Created child process 11376 [Mon Sep 22 18:32:00.233195 2014] [mpm_winnt:notice] [pid 11376:tid 360] AH00354
How interesting ... this means the issue was with an incorrectly cached response body from the original error. Even though you fixed the underlying problem by following the workaround, the cached error body was still being returned to our request for the Webi Applet.
You can test this easily by re-adding the mod_cache related lines, deleting the full contents of the CacheRoot directory, and restarting Apache. This would also explain why nothing showed up in the error log!
Hi James,
I have been facing the same issue with split deployment in BI40 SP07. I tried the workaround but unfortunately it didnt work. The issue only occurs for BI Launchpad Webi modify preferences set as Rich Internet Application.
Appreciate your help.
Regards,
Sohel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This guide was writen/tested with SAP BI4.0 SP2 release, it should work with all BI4.x releases , but since you are using FP3 , which is in ramp up right now - you should follow on this with your ramp up coach and SAP support, as since FP3 is not a released product it might have some bugs/change in functionality in this area and we'll need to fix it quickly if that is the case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dobrij denj Denis
Well, yes I do know that FP3 is brand new product and does hove a lot of changes since the release of Fp02.. maybe you can add your expertise - what can cause this error message in a normal environment? I did multiple searches in Notes area, but did not manage to find anything useful.
To my understanding it states that one application value can not be downloaded for some reason, also I noticed that Monitoring is not available in Split deployment which also is quite strange.
Thanks in advance
try to reach to James, I'm not sure if he monitors this forums, but I'm sure he'll respond if you send him a message thru SCN functionality.
You mentioned that default tomcat is fine, maybe split deployment and default tomcat deployment are not worki8ng together, maybe you need pure split deployment on both tomcat and apache.... (tomcat BOE app is stripped)...
It is a good point Denis. I have not yet had an opportunity to test the split deploy on FP03 and it is possible there are issues there.
The customer did reach out to me directly and we have uncovered the following thus far:
[Tue May 15 07:41:03 2012]
[error] [client 127.0.0.1] File does not exist:
D:/Apache/htdocs/BOE/portal/0000000,
[Tue May 15 07:41:03 2012]
[error] [client 127.0.0.1] File does not exist:
D:/Apache/htdocs/BOE/portal/0000000
[Tue May 15 07:41:03 2012]
[error] [client 127.0.0.1] File does not exist:
D:/Apache/htdocs/BOE/portal/0000000
[Tue May 15 07:41:03 2012]
[error] [client 127.0.0.1] File does not exist:
D:/Apache/htdocs/BOE/portal/0000000
[Tue May 15 07:41:03 2012]
[error] [client 127.0.0.1] File does not exist:
D:/Apache/htdocs/BOE/portal/0000000
WDeploy should create the static content directory within Apache using a timestamp format, such as:
1205121329
This folder name represents that WDeploy was executed at 2012, 05 (May), 12, 13:29
For some reason the mapping to Apache htdocs has become corrupt.
We're planning to investigate further this week and I will update the thread with the results of our findings.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.