ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

java program won't run after upgrade to V7R1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • java program won't run after upgrade to V7R1

    hej

    We have some java programs which ran perfectly on V6R1 but not on V7R1 anymore.

    the error is like this:

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
    at java.security.SecureRandom.nextBytes(SecureRandom. java:292)

    There was an other program connecting to MQ with the same kind of error

    java.lang.NullPointerException
    at java.security.SecureRandom.setSeed(SecureRandom.ja va:258)

    this problem I could solve by changing the java.security file /qopensys/QIBM/ProdData/JavaVM/jdk60/32bit/jre/lib/security/java.security, making SUN as the first security provider
    security.provider.1=sun.security.provider.Sun

    But this didn't solve the problem

    the java version is set to:

    ADDENVVAR ENVVAR(JAVA_HOME) +
    VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk60+
    /32bit')


    Does anyone have a clue what causes the problem and how to solve it?


    Thanks in advance

    Remco

  • #2
    Re: java program won't run after upgrade to V7R1

    Try this

    JAVA_HOME '/QIBM/ProdData/Java400/jdk6'

    Comment

    Working...
    X