Topic
  • 1 reply
  • Latest Post - ‏2013-07-22T15:13:20Z by 1340_Thomas_Schlag
1340_Thomas_Schlag
1340_Thomas_Schlag
2 Posts

Pinned topic ClassNotFoundException - no security manager: RMI class loader disabled

‏2013-07-15T09:00:43Z |

Hi all,

first I should not post my question in this forum because it seems to be more a 'standard' java problem. My hope is that somebody stumbled in the same issue before and can point me to a solution.

The envornments are as follows: Linux SLES 11, WAS 7.0 FP23 ICI 8.6,

installed jdk java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr12-20121025_01(SR12))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT  - r9_20120914_26057
GC   - 20120928_AA)
JCL  - 20121014_01

I have installed 3 different environments (developing, staging and production) in our company. Three times the same Linux distribution, same jdk installation. So far everything seems to be fine. The developing and staging machines are working fine. But the third one is really a brainteaser.

Everything seems to fine until retrieving a native document from the repository. This action fails with the follwing error:

    java.lang.ClassNotFoundException: com.ser.sedna.client.bluelineimpl.exception.BluelineAdapterException (no security manager: RMI class loader disabled)
[7/4/13 13:15:44:495 CEST] 00000030 SystemErr     R     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:239)
[7/4/13 13:15:44:495 CEST] 00000030 SystemErr     R     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:154)
[7/4/13 13:15:44:495 CEST] 00000030 SystemErr     R     at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridgeProxyImpl_Stub.getNativeContentStream(RMIBridgeProxyImpl_Stub.java:867)
[7/4/13 13:15:44:495 CEST] 00000030 SystemErr     R     at com.venetica.vbr.ejb.bridge.rmibridge.RMIBridge.getNativeContentStream(RMIBridge.java:2719)
[7/4/13 13:15:44:495 CEST] 00000030 SystemErr     R     at com.venetica.vbr.ejb.access.AccessServices.getNativeContentStream(AccessServices.java:2230)
[7/4/13 13:15:44:495 CEST] 00000030 SystemErr     R     ... 40 more
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R Caused by: java.lang.ClassNotFoundException: com.ser.sedna.client.bluelineimpl.exception.BluelineAdapterException (no security manager: RMI class loader disabled)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:89)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:258)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:209)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1586)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1507)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1743)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:362)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:237)
[7/4/13 13:15:44:496 CEST] 00000030 SystemErr     R     ... 44 more
[7/4/13 13:16:03:369 CEST] 00000030 SystemErr     R com.venetica.vbr.client.VeniceBridgeException: COEJ0002E: A remote exception occurred.
[7/4/13 13:16:03:370 CEST] 00000030 SystemErr     R     at com.venetica.vbr.ejb.access.AccessServices.getNativeContentStream(AccessServices.java:2232)
[7/4/13 13:16:03:370 CEST] 00000030 SystemErr     R     at com.venetica.vbr.client.Repository.getNativeContentOfPageAsStream(Repository.java:1328)
[7/4/13 13:16:03:370 CEST] 00000030 SystemErr     R     at com.venetica.vbr.client.Repository.getNativeContentAsStream(Repository.java:1290)
[7/4/13 13:16:03:370 CEST] 00000030 SystemErr     R     at de.dbsystems.edmpa.webclient.delegate.impl.DefaultViewDocumentServiceDelegate.getByteArrayForContent(DefaultViewDocumentServiceDelegate.java:224)

I already checked if the mentioned class respectively the containing jar is in the classpath of the application and within the ICI environment.

I have also added a policy.all with

grant {
  permission java.security.AllPermission ;
}; 

and the corresponding jvm property

-Djava.security.policy=/app/fa96/IBM/ContentIntegrator/bin/policy.all

just to be sure i hit everything.

Unfortunately nothing changed, the exception is still raising.

Any help is warmly appreciated.

 

Regards

-Thomas

Updated on 2013-07-22T15:17:25Z at 2013-07-22T15:17:25Z by 1340_Thomas_Schlag
  • 1340_Thomas_Schlag
    1340_Thomas_Schlag
    2 Posts
    ACCEPTED ANSWER

    Re: ClassNotFoundException - no security manager: RMI class loader disabled

    ‏2013-07-22T15:13:20Z  

    Hi,

    just for those guys which are interessted in the solution for this issue.

    It was just a missing certificate in the keystore. If one wants to download a document the archive is configured to communicate only via https. But just for the native document download.

     

    _Thomas

  • 1340_Thomas_Schlag
    1340_Thomas_Schlag
    2 Posts

    Re: ClassNotFoundException - no security manager: RMI class loader disabled

    ‏2013-07-22T15:13:20Z  

    Hi,

    just for those guys which are interessted in the solution for this issue.

    It was just a missing certificate in the keystore. If one wants to download a document the archive is configured to communicate only via https. But just for the native document download.

     

    _Thomas