Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-3455

Files missing from cesecore-common.jar

    Details

    • Issue discovered during:
      Community

      Description

      When i use the ant batchenrollment-gui tool, i chose the truststore and keystore by default ( I pick the truststore.jks and superadmin.p12 files in the p12 folder ), then I enter the password for superadin.12(ejbca), then a windows poped up that let me to chose the user (superadmin by default), then after I press the ok button, nothing appears...

      The log shows errors below ( I do not know how to fix this problem)

      root@ubuntu:/home/ejbca_ce_6_0_3/modules/batchenrollment-gui# ../../bin/batchenrollmentgui.sh

      (<unknown>:3609): IBUS-WARNING **: The owner of /root/.config/ibus/bus is not ejbca!
      0 [AWT-EventQueue-0] DEBUG org.ejbca.batchenrollmentgui.BatchEnrollmentGUIApp - No settings in file, using defaults.
      154 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/cesecore.properties
      154 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/extendedkeyusage.properties
      154 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/cache.properties
      155 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/database.properties
      155 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/databaseprotection.properties
      160 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/backup.properties
      160 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/va.properties
      160 [AWT-EventQueue-0] DEBUG org.cesecore.config.ConfigurationHolder - Add resource to configuration: /conf/ocsp.properties
      679 [AWT-EventQueue-0] DEBUG org.ejbca.batchenrollmentgui.ConnectDialog - Trying to load from file /home/ejbca_ce_6_0_3/modules/batchenrollment-gui/connect.properties
      Exception occurred during event dispatching:
      java.lang.NoClassDefFoundError: org/cesecore/certificates/certificate/CertificateStatus
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2496)
      at java.lang.Class.getConstructor0(Class.java:2806)
      at java.lang.Class.getDeclaredConstructor(Class.java:2053)
      at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:453)
      at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.hasDefaultConstructor(ReflectionNavigator.java:47)
      at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.<init>(ClassInfoImpl.java:187)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl.<init>(RuntimeClassInfoImpl.java:84)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:99)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeModelBuilder.java:70)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:228)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:89)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:70)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:198)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:84)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:70)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:313)
      at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:81)
      at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:58)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:47)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:40)
      at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:63)
      at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:61)
      at java.util.AbstractList$Itr.next(AbstractList.java:359)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:244)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:89)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:70)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:198)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:84)
      at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:70)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:313)
      at com.sun.xml.internal.bind.v2.model.impl.RegistryInfoImpl.<init>(RegistryInfoImpl.java:88)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:355)
      at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:325)
      at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:430)
      at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:277)
      at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1100)
      at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:143)
      at com.sun.xml.internal.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:95)
      at com.sun.xml.internal.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:97)
      at com.sun.xml.internal.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:148)
      at com.sun.xml.internal.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:140)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.xml.internal.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:140)
      at com.sun.xml.internal.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:83)
      at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:244)
      at com.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:710)
      at com.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:698)
      at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:330)
      at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
      at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295)
      at javax.xml.ws.Service.getPort(Service.java:112)
      at org.ejbca.core.protocol.ws.client.gen.EjbcaWSService.getEjbcaWSPort(EjbcaWSService.java:51)
      at org.ejbca.batchenrollmentgui.ConnectDialog.connectButtonActionPerformed(ConnectDialog.java:532)
      at org.ejbca.batchenrollmentgui.ConnectDialog.access$300(ConnectDialog.java:66)
      at org.ejbca.batchenrollmentgui.ConnectDialog$4.actionPerformed(ConnectDialog.java:303)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
      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:6288)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6053)
      at java.awt.Container.processEvent(Container.java:2045)
      at java.awt.Component.dispatchEventImpl(Component.java:4649)
      at java.awt.Container.dispatchEventImpl(Container.java:2103)
      at java.awt.Component.dispatchEvent(Component.java:4475)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
      at java.awt.Container.dispatchEventImpl(Container.java:2089)
      at java.awt.Window.dispatchEventImpl(Window.java:2587)
      at java.awt.Component.dispatchEvent(Component.java:4475)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
      at java.awt.EventQueue.access$300(EventQueue.java:96)
      at java.awt.EventQueue$2.run(EventQueue.java:634)
      at java.awt.EventQueue$2.run(EventQueue.java:632)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119)
      at java.awt.EventQueue$3.run(EventQueue.java:648)
      at java.awt.EventQueue$3.run(EventQueue.java:646)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
      at java.awt.Dialog$1.run(Dialog.java:1079)
      at java.awt.Dialog$3.run(Dialog.java:1133)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Dialog.show(Dialog.java:1131)
      at java.awt.Component.show(Component.java:1571)
      at java.awt.Component.setVisible(Component.java:1523)
      at java.awt.Window.setVisible(Window.java:951)
      at java.awt.Dialog.setVisible(Dialog.java:1013)
      at org.ejbca.batchenrollmentgui.BatchEnrollmentGUIView.initWS(BatchEnrollmentGUIView.java:1117)
      at org.ejbca.batchenrollmentgui.BatchEnrollmentGUIView.<init>(BatchEnrollmentGUIView.java:153)
      at org.ejbca.batchenrollmentgui.BatchEnrollmentGUIApp.startup(BatchEnrollmentGUIApp.java:40)
      at org.jdesktop.application.Application$1.run(Application.java:171)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673)
      at java.awt.EventQueue.access$300(EventQueue.java:96)
      at java.awt.EventQueue$2.run(EventQueue.java:634)
      at java.awt.EventQueue$2.run(EventQueue.java:632)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:643)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
      Caused by: java.lang.ClassNotFoundException: org.cesecore.certificates.certificate.CertificateStatus
      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
      ... 115 more

        Attachments

          Activity

            People

            • Assignee:
              tomas Tomas Gustavsson
              Reporter:
              linyuxiang LIn Yuxiang
              Verified by:
              Mike Agrenius Kushner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 weeks, 4 days, 4 hours
                3w 4d 4h
                Remaining:
                Remaining Estimate - 3 weeks, 4 days, 4 hours
                3w 4d 4h
                Logged:
                Time Spent - Not Specified
                Not Specified