Categories

JAVA DATEBASE
Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Java
Desktop
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Architecture
Migration and Modernization
E-Business Suite
Siebel
PeopleSoft Enterprise
JD Edwards World
Industries
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Primavera
ATG
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums

 



Tags

New To Java


Luna Exception,class com.chrysalisits.crypto.LunaException message = LunaSe


Dear Friends,  I am getting the following exception while trying to generate GUID. Could you please help me on this.  Stack Trace: com.chrysalisits.crypto.LunaException: LunaSession: slot uninitialized 	at com.chrysalisits.crypto.LunaSession.OpenNewTokenSession(LunaSession.java:182) 	at com.chrysalisits.crypto.LunaSession.<init>(LunaSession.java:191) 	at com.chrysalisits.crypto.LunaSession.GetNewInstance(LunaSession.java:144) 	at com.chrysalisits.crypto.LunaRandom.engineNextBytes(LunaRandom.java:46) 	at java.security.SecureRandom.nextBytes(SecureRandom.java:381) 	at casa_utils.UUIDGenerator.generateRandomBasedUUID(UUIDGenerator.java:54) 	at casa_utils.UUIDGenerator.generateRandomBasedUUID(UUIDGenerator.java:49) 	at casa_utils.GuidGen.getShortGUID(GuidGen.java:27)  Thanks Rajkumar

That's a good start; however, chrysalisits.com doesn't appear to be a correct name, so: 1. Where's that library? 2. Did you seed the random generator properly, per its JavaDoc? 3. If 2, what are lines 44 to 54 of UUIDGenerator.java?

Thanks for your response. 1.It is in LunaJCASP.jar. 2.I verified the code and the seed settings are proper. Could please provide the root cause for this exception.  Thanks Rajkumar.

You're asking in the wrong place, on the wrong site. Try chrysalisits.com or whatever it is. These forums are for the Sun JDK.


Related Links

Problem with ChatGUI
whats the different between getattribute() and getParameter() in servlet?
Work with MS Access 'OLE Objects'
Integrating MockStrutsTestCase
Java Server Pages
Calling a Java application from a web page
Copy file&gt;&gt;&gt;Plese help me to correct this code....
Open with MyJavaTextViewer when double-click on the file icon&#8230;. (In Windows
Adding an icon to the Windows system tray....
Newbie Binary question
How to check JDK for 64bit installation?
JDialogs
Problem with DTD XML
stopping a for loop
Radio Button Click Prompts Text Field to Open
File Date Change in Java