Jump to content
We've recently updated our Privacy Statement, available here ×

Support for IBM JVM (J9)


phelgren

Recommended Posts

I thought the IBM JVM was supported but jasperserver (6.0.3) doesn't start with at least one of the causes being:

Caused by: java.lang.RuntimeException: java.security.NoSuchProviderException: Provider SUN is not available
    at org.owasp.csrfguard.config.PropertiesConfigurationProvider.<init>(PropertiesConfigurationProvider.java:234)
    at org.owasp.csrfguard.config.PropertiesConfigurationProviderFactory.retrieveConfiguration(PropertiesConfigurationProviderFactory.java:32)
    ... 21 more
Caused by: java.security.NoSuchProviderException: Provider SUN is not available
    at java.security.SecureRandom.getInstance(SecureRandom.java:212)
    at org.owasp.csrfguard.config.PropertiesConfigurationProvider.<init>(PropertiesConfigurationProvider.java:121)
    ... 22 more

disabling csrf protection didn't really make a difference.  Is there a different provider I should reference when using the IBM JVM?

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thanks...Actually, you misread the post.  The *name* of IBM's JVM is called the J9 (not sure why) but it has nothing to do with the Java version.  I was actually running  the Java Version 6 of the IBM J9 JVM....

I have partially fixed the issues.  The CSRF problem was resolved by adding 'org.owasp.csrfguard.PRNG.Provider=IBMJCE' to the jrs.csrfguard.properties file.  With that out of the way I then got a "java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version" error which I resolved by changing from the Java Version 6 to Java Version 7.

Currently chasing a couple of more unrelated errors but I am making progress....

Thanks for posting

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...