cancel
Showing results for 
Search instead for 
Did you mean: 

htmlb:chart + https not working

thomasalexander_ritter
Active Contributor
0 Kudos

Hi,

yesterday I noticed that my htmlb:chart element wasn't working anymore. At first I thought it had something to do with the new Support Package 47 but today I realized that I switched to https and that it causes the problem. So when using http it works without any problems.

I debugged the chart element especially the do_at_end() method and everything seems to be fine. But this is the exception from the java console (IE6.0 JRE 1.5):

<i>java.lang.ClassNotFoundException: com.sap.miniapps.graphics.Piglet.class

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)</i>

I am using https only for a few weeks so perhaps my setup has some errors. I already checked my sicf services but they seem to be fine. Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

eddy_declercq
Active Contributor
0 Kudos

Hi, In order to determine the possible cause some questions from my side.

Does any other BSP app work in https? Does the charts work within the sample BSP application HTMLB_SAMPLES

and sbspext_htmlb? Are icm/plugin and icm/server_port defined for https in the profile?

Eddy

thomasalexander_ritter
Active Contributor
0 Kudos

Hi Eddy,

we are currently switching to https so we have only a few applications using https but they are all working without any problems. The Example application from SAP works because HTMLB_SAMPLES doesn't use HTTPS.

I checked the icm parameters and they seem to be fine. Is it correct that we using the same plugin for http and https (httpplugin.dll)?

eddy_declercq
Active Contributor
0 Kudos

Hi,

We're working on AIX, so I can't compare for sure.

Some application make use of the HTTPURLLOC table to override URL generation. And if you use the SAP Web Dispatcher there is a parameter

wdisp/add_clientprotocol_header = 1 "(note 727133) to inform the WEB AS that HTTPS is used.

We had some problems with a reverse proxy switching between http and https. We needed to add into the redirect line in SICF for our BSP application:

&bspdontforcehttps=X

This will avoid the switch from HTTP to HTTPS

Eddy

former_member181879
Active Contributor
0 Kudos

Thomas,

This is not a problem of plugings, etc. If you can run one page in HTTPS, that all is well at that layer.

Please test .../sbspext_htmlb/button.bsp in http and https mode. It should work in both cases. Then test .../sbspext_htmlb/chart.bsp in http and https mode. Should it fail the https mode, open an OSS message.

I have tested this tonight in our development system, and the chart worked perfectly in https mode. But I do know that the graphics group made some minor changes in the recent weeks. Can not remember what and why. Thus the OSS message for it to be tracked down.

brian

thomasalexander_ritter
Active Contributor
0 Kudos

Hi Brain,

the chart in the example application isn't working in https mode, too. I have opened an OSS Message.

Thomas