cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

Java Applet issue in SAP MII 12.1

Former Member
0 Likes
638

Hi Everyone,

Recently we have updated the SAP MII  12.1 instance from SP09 to SP10. I have Java 6u45 and Java 7u25 on my client system. I cannot have any other versions of Java or uninstall any one among them. With this Java versions I see that the Java applets in .irpt page doesn't load. It shows 'No Data Available'.

I'm I missing any additional settings to be made? Can you help with this?

SAP MII Version- Version 12.1.10 Build(61)

Thanks

Anudeep KM

Accepted Solutions (0)

Answers (4)

Answers (4)

swaroop_anasane
Active Contributor
0 Likes

Yes Anudeep,

JRE 7.17 and below should be able to help you here. Explicitly if you want to handle it from code, you can use a code bit to prompt the processor to use a specific version of JRE.

This way there would not be any need to uninstall later version.

Following link can help you further on this. Using a <Object> tag.

http://www.oracle.com/technetwork/java/javase/index-141751.html

Using the               <applet> tag to select a particular JRE version for an individual applet:

  <applet codebase="http://foo.bar.com/" code="MyApplet" ...>  
<param name="java_version" value="1.5.0_11">
</applet>
  <applet codebase="http://foo.bar.com/" code="MyApplet" ...>  
<param name="java_version" value="1.5*">
</applet>
  <applet codebase="http://foo.bar.com/" code="MyApplet" ...>  
<param name="java_version" value="1.5+">
</applet>

Hope this helps.

Regards,

Swaroop

saumya_govil
Active Contributor
0 Likes

Dear Anudeep,

Can you also try by setting the Internet explorer compatibility view mode to be on and then try to view the .irpt page?

I understand from experience that it sometimes helps to show the applets.

Hope this helps!

Regards,

Saumya Govil

swaroop_anasane
Active Contributor
0 Likes

Hi Anudeep,

Just check on client system if you have other jre versions as well on the system. Only one of those would have been enabled. You can have it checked from control panel.

If you have anything below jre7_17, then you can modify your javascript to use that exact version and not the latest 7_25 as in your case. I don't exactly remember the syntax, but have seen it implemented for one of the projects.

Hope this helps.

Thanks,

Swaroop

Former Member
0 Likes

Hi Swaroop,

I do have Java 6u45 & 7u25. As per you, it wouldnt work for 7u25, right?

Thanks

Anudeep KM

Former Member
0 Likes

Hi Anudeep,

There is one repeated error in your console logs:

jaGrid_Areas [ERROR] - Couldn't set query template: No Query Defined

Could you please check if the path specified for your query and display template are correct.

Regards,

Anushree

swaroop_anasane
Active Contributor
0 Likes

Yes Anudeep,

JRE 7.17 and below should be able to help you here. Explicitly if you want to handle it from code, you can use a code bit to prompt the processor to use a specific version of JRE.

This way there would not be any need to uninstall later version.

Following link can help you further on this. Using a <Object> tag.

http://www.oracle.com/technetwork/java/javase/index-141751.html

Using the               <applet> tag to select a particular JRE version for an individual applet:

  <applet codebase="http://foo.bar.com/" code="MyApplet" ...>  
<param name="java_version" value="1.5.0_11">
</applet>
  <applet codebase="http://foo.bar.com/" code="MyApplet" ...>  
<param name="java_version" value="1.5*">
</applet>
  <applet codebase="http://foo.bar.com/" code="MyApplet" ...>  
<param name="java_version" value="1.5+">
</applet>

Hope this helps.

Regards,

Swaroop

Former Member
0 Likes

Hi Anudeep,

"No data available' simply means that the applet is not getting any data to display. The reason for this could be anything. Either there was a problem is calling underlying query, or the underlying query has some error, or the data could not be returned to the applet...the list goes on.

You can get to the root cause if you examine the java console. you will see an exception while running java applets. You can also add 'Trace' and 'Debug' parameters to the applet to get further information.

Regards,

Anushree

Former Member
0 Likes

HI Anushree,

Thanks for the reply.

To check if the issue is with the query/applet, I did try accessing application on my colleagues machine. Its working absolutely fine on his system which has only Java 6u43.

Later, I did uninstall all the other versions of Java, installed Java 6u43 and tried the same on 2 other systems. It works fine.

I hope the issue is not with the query/data. I assume that it has got some thing with Java settings.

Any suggestion?

Thanks

Anudeep KM

Former Member
0 Likes

Hi Anudeep,

You will need to investigate through java console logs. As soon as java console come up press 5. After that run your applets and see what gets logged on the console.

In all probability this is a security issue due updates by Oracle within JRE7.

Regards,

Anushree

Former Member
0 Likes

Hi Anushree,

I just did press 5 as soon as Java console popped up. I have attached the logs that I get to see. Can you help me to findout how can I fix it?

System prompts me to update Java version. Later I see the applets with the message 'No Data Available'.
Then I copied the logs from console and pasted in the attached txt file.

Thanks

Anudeep KM