0 Replies Latest reply on Jun 26, 2002 1:27 AM by Jeovanny

    HELP!  Microsoft SQL Server Configuration (ClassNotFoundExce

    Jeovanny Newbie

      I REALLY need some help with this Microsoft SQL Server Datasource configuration.

      I am using JBoss 3.0, I have downloaded the latest Microsoft JDBC drivers, I have configured my mssql-service.xml and login-config.xml files according to the Getting Started Guide. When my BMP tries to do a:

      Connection connection = datasource.getConnection();

      I get the following error message. I don't know where there ClassNotFoundException is coming from.

      Please help!

      java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
      java.lang.ClassNotFoundException: org.jboss.resource.ResourceException (
      no security manager: RMI class loader disabled)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
      217)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Sour
      ce)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
      kerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
      a:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
      java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7
      6)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy0.findByPrimaryKey(Unknown Source)
      at TestClient.main(TestClient.java:23)
      Caused by: java.lang.ClassNotFoundException: org.jboss.resource.ResourceExceptio
      n (no security manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:368)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:159)
      at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:629)
      at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
      a:200)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:150
      3)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      616)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
      30)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      636)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
      30)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      636)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
      30)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      636)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
      30)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      636)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
      215)
      ... 10 more