DATA Step, Macro, Functions and more

SAS/IOM connection

Reply
Learner
Posts: 1

SAS/IOM connection

[ Edited ]

i'm using SAS/IOM connection to get table details. when i run my code through intellij i'm able to establish connection. Then i converted my code to a runnable jar. when i execute the jar, i'm getting beflow error

 

Exception in thread "AWT-EventQueue-0" java.lang.Error: Problem loading Module.4
 at com.rsa.cryptoj.o.by.f(Unknown Source)
 at com.rsa.cryptoj.o.by.c(Unknown Source)
 at com.rsa.cryptoj.o.cf.a(Unknown Source)
 at com.rsa.cryptoj.o.ce.b(Unknown Source)
 at com.rsa.cryptoj.o.ce.<clinit>(Unknown Source)
 at com.rsa.jsafe.CryptoJ.getFIPS140Context(Unknown Source)
 at com.sas.net.crypto.rsa.RsaCipher.keyExchange(GHTQ)
 at com.sas.iom.orb.brg.Engine.handleStatus(Engine.java:4973)
 at com.sas.iom.orb.brg.Engine0200.flowSendReqs(Engine0200.java:187)
 at com.sas.iom.orb.brg.Engine.flow(Engine.java:712)
 at com.sas.iom.orb.brg.Engine.initClient(Engine.java:674)
 at com.sas.iom.orb.brg.ORBImpl.uri_to_object(ORBImpl.java:114)
 at com.sas.services.connection.ClusterEnvelope.createObject(ClusterEnvelope.java:293)
 at com.sas.services.connection.ClusterEnvelope.getConnection(ClusterEnvelope.java:78)
 at com.sas.services.connection.AggregationKernel.doGetConnection(AggregationKernel.java:242)
 at com.sas.services.connection.ConnectionFactoryKernel.getConnection(ConnectionFactoryKernel.java:325)
 at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:69)
 at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:56)
 at com.sas.services.connection.ConnectionFactory.getConnection(ConnectionFactory.java:71)
 at com.sas.services.connection.ConnectionFactory.getConnection(ConnectionFactory.java:46)
 at com.sas.rio.RIOUtil.getWorkspace(RIOUtil.java:1877)
 at com.sas.rio.RIOUtil.<init>(RIOUtil.java:302)
 at com.sas.rio.MVAConnection.<init>(MVAConnection.java:254)
 at com.sas.rio.MVADriver.connect(MVADriver.java:280)
 at java.sql.DriverManager.getConnection(DriverManager.java:664)
 at java.sql.DriverManager.getConnection(DriverManager.java:208)
 at XXs.main1(XXs.java:94)
 at XXs$1.actionPerformed(XXs.java:39)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
 at java.awt.Component.processMouseEvent(Component.java:6525)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
 at java.awt.Component.processEvent(Component.java:6290)
 at java.awt.Container.processEvent(Container.java:2234)
 at java.awt.Component.dispatchEventImpl(Component.java:4881)
 at java.awt.Container.dispatchEventImpl(Container.java:2292)
 at java.awt.Component.dispatchEvent(Component.java:4703)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
 at java.awt.Container.dispatchEventImpl(Container.java:2278)
 at java.awt.Window.dispatchEventImpl(Window.java:2750)
 at java.awt.Component.dispatchEvent(Component.java:4703)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.awt.EventQueue$4.run(EventQueue.java:729)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:497)
 ... 64 more
Caused by: java.lang.SecurityException
 at com.rsa.jcm.f.hz.a(Unknown Source)
 at com.rsa.jcm.f.js.b(Unknown Source)
 at com.rsa.crypto.jcm.ModuleLoader.a(Unknown Source)
 at com.rsa.crypto.jcm.ModuleLoader.load(Unknown Source)
 ... 68 more
 
can some help to resolve this issue
 
Thanks,
Soundar
Community Manager
Posts: 2,955

Re: SAS/IOM connection

Posted in reply to soundar619

Is it possible that when running outside of the IDE, your classpath is different and your application is picking up a different set of jars?  Especially for the Crypto-J components?

Ask a Question
Discussion stats
  • 1 reply
  • 116 views
  • 0 likes
  • 2 in conversation