OEPE invalidates other additional Eclipse plugins
Hi everybody,
we use Eclipse 3.7.2 (JEE Edition) using the "-configuration" parameter.
I´ve installed several additional plugins, for example the CDT tool. CDT is working, as I am (for example) able to open "C/C++ perspective".
Then I installed OEPE (from local oepe-indigo-repository.12.1.1.0.1.201203120349.zip, but I also tried a few other versions, also used Eclipse Marketplace ...).
After installing Oracle Tools and restarting Eclipse, all additional plugins (like CDT) seem to be inactive.
I am not able to open CDT perspective, there is absolutely no message in Error Log View or .log file, nothing at all.
I see both of them in the "About Eclipse" / "Installation Details" dialog, but no one is working.
Everything looks like a "fresh installation" of Eclipse 3.7.2
If I uninstall OEPE via the "Installation Details", CDT (or others) is working again !!!!
Does not occur with Eclipse 3.6., but also occurs when not using "-configuration" parameter.
Any hint is greatly appreciated !
Many Thanks
Martin
OEPE does not require administrative rights, write access, etc. to the Eclipse folder. No OEPE code is running when you are installing it. Only the Eclipse Provisioning System (p2) is in control of what happens during installation and what plugins start on Eclipse start. While running in this mode is nominally a feature of Eclipse, it is not a feature that has been robustly tested, so it is not at all surprising that you are running into problems. It is also not at all surprising that some plugins install fine and some don't in this mode.
If your goal is to enable regular users to install OEPE when the installation is in restricted rights mode, then we cannot help you further. Oracle recommendation is to install Eclipse in an area that user will have full rights to avoid issues with plugin installation.
If your goal is to put together an Eclipse install that is subsequently used in restricted rights mode, then you could try putting together your install in a full access area and then moving it into a restricted area like "Program Files". It is safe to move the Eclipse install folder around or copy it between systems. You can also try downloading one of the pre-packaged Eclipse distros with OEPE that are provided on OEPE download pages. I just tried one of these distros (I used the latest version: Eclipse 3.8.1 Juno SR1 and OEPE 12.1.1.2). After unzipping the distro, I made the install folder and all of its content read-only. All plugins started fine. I then moved the read-only folder to "Program Files", where admin rights are necessary. All plugins started fine.
- Konstantin
Similar Messages
-
OEPE exception with the latest plugin version.
Hi,
I updated my OEPE eclipe plugin to the latest version and I got this exception:
!ENTRY org.eclipse.core.resources 4 75 2012-01-30 13:38:39.578
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.eclipse.wst.common.project.facet.core 4 75 2012-01-30 13:38:39.578
!MESSAGE Errors running builder 'Faceted Project Validation Builder' on project 'NTCSCacheCore'.
!STACK 0
java.lang.ExceptionInInitializerError
at oracle.eclipse.tools.weblogic.WlsRuntimeUtil.getWlsRuntimeComponent(WlsRuntimeUtil.java:92)
at oracle.eclipse.tools.weblogic.internal.validation.WlsRuntimeValidator.validate(WlsRuntimeValidator.java:45)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectValidationBuilder.build(FacetedProjectValidationBuilder.java:132)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.IllegalArgumentException: Version 10.0 of runtime component type com.bea.weblogic has not been defined.
at org.eclipse.wst.common.project.facet.core.util.internal.Versionable.getVersion(Versionable.java:80)
at org.eclipse.wst.common.project.facet.core.runtime.internal.RuntimeComponentType.getVersion(RuntimeComponentType.java:1)
at oracle.eclipse.tools.weblogic.server.WebLogicServerRuntimeComponentType.<clinit>(WebLogicServerRuntimeComponentType.java:19)
... 15 more
Any idea why this is happening when I updated the plugin.
=== Eclipse configuration ===
*** Date: Monday, January 30, 2012 2:03:58 PM Western European Time
*** Platform Details:
*** System properties:
awt.toolkit=sun.awt.X11.XToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86
-showsplash
/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
-launcher
/home/guerra/devel/ide/indigo/eclipse/eclipse
-name
Eclipse
--launcher.library
/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
-startup
/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-product
org.eclipse.epp.package.jee.product
-vm
/usr/local/java/jdk1.7.0/bin/../jre/lib/i386/client/libjvm.so
eclipse.home.location=file:/home/guerra/devel/ide/indigo/eclipse/
eclipse.launcher=/home/guerra/devel/ide/indigo/eclipse/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=epp.package.jee
eclipse.product=org.eclipse.epp.package.jee.product
eclipse.startTime=1327931411385
eclipse.vm=/usr/local/java/jdk1.7.0/bin/../jre/lib/i386/client/libjvm.so
eclipse.vmargs=-Djava.library.path=/usr/lib/jni
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=51.0
java.endorsed.dirs=/usr/local/java/jdk1.7.0/jre/lib/endorsed
java.ext.dirs=/usr/local/java/jdk1.7.0/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/local/java/jdk1.7.0/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jni
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0-b147
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.7.0
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=21.0-b17
line.separator=
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.update.reconcile=false
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=2.6.35
org.osgi.framework.processor=x86
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.event,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.namespace,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.nimbus,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.spi.http,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=d0405f54-494b-0011-168c-a1c3104915a9
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=i386
os.name=Linux
os.version=2.6.35-32-generic
osgi.arch=x86
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore=/home/guerra/devel/ide/indigo/eclipse/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:/home/guerra/devel/ide/indigo/eclipse/configuration/
osgi.framework=file:/home/guerra/devel/ide/indigo/eclipse/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:/home/guerra/devel/ide/indigo/eclipse/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:/home/guerra/devel/ide/indigo/eclipse/
osgi.instance.area=file:/home/guerra/workspace/
osgi.instance.area.default=file:/home/guerra/workspace/
osgi.logfile=/home/guerra/workspace/.metadata/.log
osgi.manifest.cache=/home/guerra/devel/ide/indigo/eclipse/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.os=linux
osgi.requiredJavaVersion=1.5
osgi.splashLocation=/home/guerra/devel/ide/indigo/eclipse//plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=/home/guerra/devel/ide/indigo/eclipse/plugins
osgi.tracefile=/home/guerra/workspace/.metadata/trace.log
osgi.ws=gtk
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/usr/local/java/jdk1.7.0/jre/lib/resources.jar:/usr/local/java/jdk1.7.0/jre/lib/rt.jar:/usr/local/java/jdk1.7.0/jre/lib/sunrsasign.jar:/usr/local/java/jdk1.7.0/jre/lib/jsse.jar:/usr/local/java/jdk1.7.0/jre/lib/jce.jar:/usr/local/java/jdk1.7.0/jre/lib/charsets.jar:/usr/local/java/jdk1.7.0/jre/classes
sun.boot.library.path=/usr/local/java/jdk1.7.0/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.jnu.encoding=UTF-8
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=unknown
user.country=US
user.dir=/home/guerra
user.home=/home/guerra
user.language=en
user.name=guerra
user.timezone=Atlantic/Canary
*** Features:
com.collabnet.subversion.merge.feature (2.2.4) "CollabNet Subversion Merge Client"
oracle.eclipse.tools.indigo.common (2.0.0.201112072225) "Oracle Common Tools"
oracle.eclipse.tools.indigo.doc.javaee6 (1.0.0.201111040904) "Java EE 6 Documentation"
oracle.eclipse.tools.indigo.glassfish (2.0.0.201111040904) "Oracle GlassFish Server Tools"
oracle.eclipse.tools.indigo.webtier (2.0.0.201112072225) "Oracle Web Tier Tools"
org.eclipse.cvs (1.3.100.v20110520-0800-7B78FHk8sF7BB7VAH5AYC5) "Eclipse CVS Client"
org.eclipse.datatools.common.doc.user (1.9.1.v201108301820-26-311A16321A3557) "Data Tools Platform User Documentation"
org.eclipse.datatools.connectivity.doc.user (1.9.1.v201108301820-37D-7733L3D753L7BBF) "Data Tools Platform Connectivity User Documentation"
org.eclipse.datatools.connectivity.feature (1.9.1.v201108301820-7C7e8mEt1_wmuQjYnXQ6Zj5dM17) "Data Tools Platform Connectivity Plug-in"
org.eclipse.datatools.connectivity.oda.designer.core.feature (1.9.1.v201108301820-7B7C7DCcNBGNChHSFaYT) "DTP ODA Designer UI Framework Plug-in"
org.eclipse.datatools.connectivity.oda.designer.feature (1.9.1.v201108301820-4117w312219371456) "DTP ODA Designer UI Framework Plug-in"
org.eclipse.datatools.connectivity.oda.feature (1.9.1.v201108301820-7H7C7ICcNBHHBnJWDjSd) "DTP Open Data Access"
org.eclipse.datatools.doc.user (1.9.1.v201108301820-47C08w95ENAK6AFDFK7) "Data Tool Platform User Documentation"
org.eclipse.datatools.enablement.apache.derby.feature (1.9.1.v201108301820-77788gBmKDOGMhKwJ4Rn7QBR) "High-level Sybase Enablement Plug-in"
org.eclipse.datatools.enablement.feature (1.9.1.v201108301820-7J9B7FBWwVN7-2z-kZU_tJy1aR1t) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.hsqldb.feature (1.9.1.v201108301820-67D1AqGBKNKdIlGz0GU7QBR) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.ibm.feature (1.9.1.v201108301820-7F47SFC7sRbvSkkxaPvW) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.ingres.feature (1.9.1.v201108301820-540AkF78Z7UCRAQDB) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.jdbc.feature (1.9.1.v201108301820-4-29oB56N5N7L6PAQ) "High-level Sybase Enablement Plug-in"
org.eclipse.datatools.enablement.jdt.feature (1.9.1.v201108301820-2-07w31211518181A) "Data Tools Platform Connectivity JDT Extension Plug-in"
org.eclipse.datatools.enablement.msft.feature (1.9.1.v201108301820-542AkF79P7QCP9SDB) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.mysql.feature (1.9.1.v201108301820-546AkF78Z7Y9NBZ9A) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.oda.designer.feature (1.9.1.v201108301820-3328s73553C655B63) "Eclipse Data Tools Platform XML ODA Designer"
org.eclipse.datatools.enablement.oda.feature (1.9.1.v201108301820-7A7T78DZRDKGEeHnGlLP) "Eclipse Data Tools Platform XML ODA Runtime Driver"
org.eclipse.datatools.enablement.oracle.feature (1.9.1.v201108301820-548dAkF79Q7RAN9UFJ) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.postgresql.feature (1.9.1.v201108301820-542AkF77g7V9N9e77) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.sap.feature (1.9.1.v201108301820-540AkF77g7V9N9e77) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.sqlite.feature (1.9.1.v201108301820-541AkF79P7N8NAQ77) "Eclipse Data Tools Platform Enablement"
org.eclipse.datatools.enablement.sybase.feature (1.9.1.v201108301820-7E45F9NiNZVR6a1PMVn) "High-level Sybase Enablement Plug-in"
org.eclipse.datatools.intro (1.9.1.v201108301820-26-7w312116392911) "Eclipse Data Tools Platform Intro Plug-in"
org.eclipse.datatools.modelbase.feature (1.9.1.v201108301820-77078CcNBHCBYKYEbNV) "Eclipse Data Tools Platform SQLModel Plug-in"
org.eclipse.datatools.sqldevtools.ddlgen.feature (1.9.1.v201108301820-7A-3F7RZHLz-Hz-OlPz0Qf) "Eclipse Data Tools Platform FE UI Plug-in"
org.eclipse.datatools.sqldevtools.feature (1.9.1.v201108301820-7N847CFDsn0VdrPUJvPUshDWIPJ0) "Eclipse Data Tools Platform SQL Tools Common UI Plug-in"
org.eclipse.datatools.sqldevtools.parsers.feature (1.9.1.v201108301820-622BgJ9CR9XFcEWLP) "Eclipse Data Tools Platform SQL Parser Plugin"
org.eclipse.datatools.sqltools.doc.user (1.9.1.v201108301820-37D-7733L3D753L7BBF) "Data Tools Platform SQL Tools User Documentation"
org.eclipse.draw2d (3.7.1.v20110830-1143-4607w3122194102254) "Graphical Editing Framework Draw2d"
org.eclipse.emf (2.7.1.v20110913-1526) "EMF - Eclipse Modeling Framework Runtime and Tools"
org.eclipse.emf.codegen (2.7.0.v20110913-1156) "EMF Code Generation"
org.eclipse.emf.codegen.ecore (2.7.0.v20110913-1156) "EMF Ecore Code Generator"
org.eclipse.emf.codegen.ecore.ui (2.7.0.v20110913-1156) "EMF Ecore Code Generator UI"
org.eclipse.emf.codegen.ui (2.7.0.v20110913-1156) "EMF Code Generation UI"
org.eclipse.emf.common (2.7.0.v20110912-0920) "EMF Common"
org.eclipse.emf.common.ui (2.7.0.v20110913-1156) "EMF Common UI"
org.eclipse.emf.converter (2.7.0.v20110913-1156) "EMF Model Converter"
org.eclipse.emf.databinding (1.2.0.v20110913-1156) "EMF Data Binding"
org.eclipse.emf.databinding.edit (1.2.0.v20110913-1156) "EMF Edit Data Binding"
org.eclipse.emf.ecore (2.7.1.v20110912-0920) "EMF Ecore"
org.eclipse.emf.ecore.edit (2.7.0.v20110913-1156) "EMF Ecore Edit"
org.eclipse.emf.ecore.editor (2.7.0.v20110913-1156) "EMF Sample Ecore Editor"
org.eclipse.emf.edit (2.7.1.v20110913-1526) "EMF Edit"
org.eclipse.emf.edit.ui (2.7.0.v20110913-1156) "EMF Edit UI"
org.eclipse.emf.mapping (2.7.0.v20110913-1156) "EMF Mapping"
org.eclipse.emf.mapping.ecore (2.7.0.v20110913-1156) "EMF Ecore Mapping"
org.eclipse.emf.mapping.ecore.editor (2.7.0.v20110913-1156) "EMF Ecore Mapping Editor"
org.eclipse.emf.mapping.ui (2.7.0.v20110913-1156) "EMF Mapping UI"
org.eclipse.epp.mpc (1.1.1.I20110907-0947) "Marketplace Client"
org.eclipse.epp.package.jee.feature (1.4.1.20110909-1818) "Java EE IDE"
org.eclipse.gef (3.7.1.v20110830-1143-777D181B3Bz06C853D8863365) "Graphical Editing Framework GEF"
org.eclipse.help (1.3.0.v20110327-7i7uFFkFFp7gNobOpNgKo0) "Help System Base"
org.eclipse.jdt (3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK) "Eclipse Java Development Tools"
org.eclipse.jpt.common.eclipselink.feature (1.0.1.v201108080010-3-08s73553F3G3343) "Dali Java Persistence Tools - EclipseLink Common"
org.eclipse.jpt.common.feature (1.0.1.v201108080010-6-0AkF7BB7S9N7788) "Dali Java Persistence Tools - Common"
org.eclipse.jpt.dbws.eclipselink.feature (1.0.1.v201108303011-797B3CcNBHGCfDZAwHJ375) "Dali Java Persistence Tools - EclipseLink DBWS Support"
org.eclipse.jpt.jaxb.eclipselink.feature (1.0.1.v201108303011-7740BgJ9EE9ZC_8z0A9132) "Dali Java Persistence Tools - EclipseLink MOXy (JAXB) Support"
org.eclipse.jpt.jaxb.feature (1.0.1.v201108080010-508aAkF7BB7U8Q779A) "Dali Java Persistence Tools - JAXB Support"
org.eclipse.jpt.jpa.eclipselink.feature (3.0.1.v201108303011-7J7F78F7RZHQPJBNCKbSR7FB) "Dali Java Persistence Tools - EclipseLink JPA Support"
org.eclipse.jpt.jpa.feature (3.0.1.v201108163011-7R7F7CFC7sRdiShWvWQYU375) "Dali Java Persistence Tools - JPA Support"
org.eclipse.jst.common.fproj.enablement.jdt (3.3.0.v201102200555-377DF8s73543E5I5768) "Eclipse Faceted Project Framework JDT Enablement"
org.eclipse.jst.enterprise_ui.feature (3.3.1.v201107072200-7b7II1PFSK2WIlPwJBmNz-VWwVsTn) "Eclipse Java EE Developer Tools"
org.eclipse.jst.ws.axis2tools.feature (1.1.200.v201103022333-78-FF0DZRDKDDePSKwHj) "Axis2 Tools"
org.eclipse.jst.ws.cxf.feature (1.0.100.v201105171845-7H77DRFAKlZgjHCaHg65uE6I6I) "CXF Web Services Core"
org.eclipse.jst.ws.jaxws.feature (1.1.0.v201105171845-7E78BsF8NcJSWKvN1Rjcv) "JAX-WS Tools Core"
org.eclipse.mylyn_feature (3.6.4.v20111118-0100) "Mylyn"
org.eclipse.mylyn.bugzilla_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.context_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.ide_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.java_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.team_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.trac_feature (3.6.4.v20111118-0100) "Mylyn"
org.eclipse.mylyn.wikitext_feature (1.5.2.v20110908-0706) "Mylyn"
org.eclipse.pde (3.7.1.r37x_v20110810-0800-7b7qFVtFEx2XnmZ4jlM5mjM) "PDE"
org.eclipse.platform (3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK) "Eclipse Platform"
org.eclipse.rcp (3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A) "Eclipse RCP"
org.eclipse.rse (3.3.1.R33x_v201109141647-7L7CFGG8wqio8rz0qYtkPgn8qWd4) "Remote System Explorer End-User Runtime"
org.eclipse.rse.core (3.3.1.R33x_v201109141647-7a7JFZ3F8Fz0vz03_qRujbr0z0Nu) "RSE Core"
org.eclipse.rse.dstore (3.3.1.R33x_v201109141647-7L78FRAD2YR70wUHbQUplQ8LFC) "RSE DStore Services"
org.eclipse.rse.ftp (3.0.301.R33x_v201109141647-782F8O9KC92gz097E9EKF23225) "RSE FTP Service"
org.eclipse.rse.local (2.1.300.v201103142315-7B4FKsBgJ9EE9ICQIFYT) "RSE Local Services"
org.eclipse.rse.ssh (3.0.301.R33x_v201109141647-7A3F9xAGGB5k0C7KEATN92641) "RSE SSH Services"
org.eclipse.rse.telnet (2.2.200.v201106011538-775F8NAkF7BB7B9NEIPP) "RSE Telnet Service"
org.eclipse.rse.terminals (1.1.1.R33x_v201109141647-771Bh9uD7HbBF3u7DNO3293A3752) "RSE Terminals UI"
org.eclipse.rse.useractions (1.1.300.v201103142315-31F8N8s7355353B75DD) "Remote System Explorer User Actions"
org.eclipse.sapphire (0.4.0.201112010656) "Sapphire (Incubation)"
org.eclipse.sapphire.java (0.4.0.201112010656) "Sapphire Java Support (Incubation)"
org.eclipse.sapphire.java.jdt (0.4.0.201112010656) "Sapphire Java Developer Tools Support (Incubation)"
org.eclipse.sapphire.modeling.xml (0.4.0.201112010656) "Sapphire XML Support (Incubation)"
org.eclipse.sapphire.osgi (0.4.0.201112010656) "Sapphire OSGi Support (Incubation)"
org.eclipse.sapphire.platform (0.4.0.201112010656) "Sapphire Eclipse Platform Support (Incubation)"
org.eclipse.sapphire.ui (0.4.0.201112010656) "Sapphire User Interface (Incubation)"
org.eclipse.sapphire.ui.swt.graphiti (0.4.0.201112010656) "Sapphire Graphiti Renderer (Incubation)"
org.eclipse.sapphire.ui.swt.xml.editor (0.4.0.201112010656) "Sapphire XML Editor Support (Incubation)"
org.eclipse.tm.terminal (3.1.1.R33x_v201106281309-4007S44yaw312218292641) "Target Management Terminal Widget"
org.eclipse.tm.terminal.ssh (2.1.0.v201103142315-30-7w312212153266) "Target Management Terminal SSH Connector"
org.eclipse.tm.terminal.telnet (2.1.0.v201103142315-30-7w312213121A22) "Target Management Terminal Telnet Connector"
org.eclipse.tm.terminal.view (2.2.0.v201103142315-31-7w312214253426) "Target Management Terminal View"
org.eclipse.wst.common.fproj (3.3.0.v201102150115-377DF8s7355397B4B9B) "Eclipse Faceted Project Framework"
org.eclipse.wst.jsdt.feature (1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy) "Eclipse JavaScript Development Tools"
org.eclipse.wst.web_ui.feature (3.3.1.v201107072200-7O7IFhREMiB5vNoYqf01XHTvUndyz-yx-9kUyXXL) "Eclipse Web Developer Tools"
org.eclipse.wst.xml_ui.feature (3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL) "Eclipse XML Editors and Tools"
org.eclipse.wst.xml.xpath2.processor.feature (2.0.0.v201103310043-7A7J-CcNBGOCUIWFYMf) "Eclipse XPath 2 Developers Tools"
org.eclipse.wst.xsl.feature (1.3.1.v201109012200-7T7YFRTFIqUoIrvbEtBlSIJXGZNg) "Eclipse XSL Developer Tools"
org.tigris.subversion.clientadapter.feature (1.6.12) "Subversion Client Adapter"
org.tigris.subversion.clientadapter.javahl.feature (1.6.17) "Subversion JavaHL"
org.tigris.subversion.subclipse (1.6.18) "SVN Team Provider Core"
org.tigris.subversion.subclipse.graph.feature (1.0.9) "Subversion Revision Graph"
org.tigris.subversion.subclipse.mylyn (3.0.0) "Subclipse Integration for Mylyn 3.x"
*** Plug-in Registry:
com.collabnet.subversion.merge (2.2.4) "CollabNet Subversion Merge Client" [Active]
com.ibm.icu (4.4.2.v20110208) "International Components for Unicode for Java (ICU4J)" [Active]
com.jcraft.jsch (0.1.41.v201101211617) "JSch" [Resolved]
com.springsource.javax.jms (1.1.0) "Java Messaging System API" [Resolved]
com.sun.syndication (0.9.0.v200803061811) "Rss and atOM utilitiEs (ROME)" [Resolved]
java_cup.runtime (0.10.0.v201005080400) "Java Cup" [Resolved]
javax.activation (1.1.0.v201105071233) "Apache Geronimo Activation Plug-in" [Resolved]
javax.jws (2.0.0.v201005080400) "Web Services Metadata" [Resolved]
javax.mail (1.4.0.v201005080615) "Javax Mail Plug-in" [Resolved]
javax.persistence (2.0.3.v201010191057) "Java Persistence API 2.0" [Resolved]
javax.servlet (2.5.0.v201103041518) "Servlet API Bundle" [Resolved]
javax.servlet.jsp (2.0.0.v201101211617) "Java Server Pages API Bundle" [Resolved]
javax.transaction (1.1.1.v201105210645) "geronimo Javax Transaction API 1.1.1 spec" [Resolved]
javax.wsdl (1.5.1.v201012040544) "WSDL4J" [Resolved]
javax.wsdl (1.6.2.v201012040545) "WSDL4J" [Resolved]
javax.xml (1.3.4.v201005080400) "JAXP XML" [Resolved]
javax.xml.bind (2.1.9.v201005080401) "XML Binding for Java" [Resolved]
javax.xml.rpc (1.1.0.v201005080400) "JAX-RPC" [Resolved]
javax.xml.soap (1.2.0.v201005080501) "SAAJ" [Resolved]
javax.xml.stream (1.0.1.v201004272200) "Java XML Streaming API" [Resolved]
javax.xml.ws (2.1.0.v200902101523) "Java API for XML Web Services (JAX-WS)" [Resolved]
net.sourceforge.lpg.lpgjavaruntime (1.1.0.v201004271650) "SourceForge LPG" [Resolved]
oracle.eclipse.tools.application.common.services (4.2.0.201112072225) "Oracle Application Tools Common Services" [Active]
oracle.eclipse.tools.common (4.2.0.201112072225) "Oracle Common Tools" [Active]
oracle.eclipse.tools.common.doc (4.2.0.201112072225) "Oracle Enterprise Tools for Eclipse Documentation" [Active]
oracle.eclipse.tools.common.services (4.2.0.201112072225) "Oracle Common Services" [Active]
oracle.eclipse.tools.common.services.ui (4.2.0.201112072225) "Oracle Common Services UI" [Active]
oracle.eclipse.tools.common.templating (4.2.0.201112072225) "File Templates Plugin" [Starting]
oracle.eclipse.tools.common.ui (4.2.0.201112072225) "Oracle Common Tools UI" [Active]
oracle.eclipse.tools.common.upgrade (4.2.0.201112072225) "Oracle Upgrade Framework" [Active]
oracle.eclipse.tools.doc.javaee5 (1.0.0.201111040904) "Java EE 5 Documentation" [Starting]
oracle.eclipse.tools.doc.javaee6 (1.0.0.201111040904) "Java EE 6 Documentation" [Starting]
oracle.eclipse.tools.envcheck (4.2.0.201112072225) "Oracle Eclipse Tools Environment Checker" [Active]
oracle.eclipse.tools.glassfish (4.2.0.201111040904) "Oracle GlassFish Server Tools" [Active]
oracle.eclipse.tools.sapphire.modeling.legacy (4.2.0.201112072225) "Oracle Sapphire Modeling Framework (Legacy)" [Starting]
oracle.eclipse.tools.sapphire.ui.legacy (4.2.0.201112072225) "Oracle Sapphire Framework UI (Legacy)" [Starting]
oracle.eclipse.tools.weblogic (4.2.0.201112072225) "Oracle WebLogic Server Tools" [Active]
oracle.eclipse.tools.webtier (4.2.0.201112072225) "Oracle Web Tier Tools" [Starting]
oracle.eclipse.tools.webtier.common.services (4.2.0.201112072225) "Oracle Web Tier Tools Common Services" [Active]
oracle.eclipse.tools.webtier.doc (4.2.0.201112072225) "Oracle Web Tier Tools Documentation" [Starting]
oracle.eclipse.tools.webtier.html (4.2.0.201112072225) "Oracle Web Tier Tools HTML" [Starting]
oracle.eclipse.tools.webtier.html.ui (4.2.0.201112072225) "Oracle Web Tier Tools HTML UI" [Starting]
oracle.eclipse.tools.webtier.javawebapp (4.2.0.201112072225) "Oracle Web Tier Tools Java Web App" [Active]
oracle.eclipse.tools.webtier.jsf (4.2.0.201112072225) "Oracle Web Tier Tools JSF" [Active]
oracle.eclipse.tools.webtier.jsf.ui (4.2.0.201112072225) "Oracle Web Tier Tools JSF UI" [Active]
oracle.eclipse.tools.webtier.jsp (4.2.0.201112072225) "Oracle Web Tier Tools JSP" [Active]
oracle.eclipse.tools.webtier.jsp.ui (4.2.0.201112072225) "Oracle Web Tier Tools JSP UI" [Active]
oracle.eclipse.tools.webtier.jstl (4.2.0.201112072225) "Oracle Web Tier Tools JSTL" [Active]
oracle.eclipse.tools.webtier.jstl.ui (4.2.0.201112072225) "Oracle Web Tier Tools JSTL UI" [Starting]
oracle.eclipse.tools.webtier.struts (4.2.0.201112072225) "Oracle Web Tier Tools Apache Struts" [Starting]
oracle.eclipse.tools.webtier.struts.ui (4.2.0.201112072225) "Oracle Web Tier Tools Apache Struts UI" [Starting]
oracle.eclipse.tools.webtier.trinidad (4.2.0.201112072225) "Oracle Web Tier Tools Apache Trinidad" [Starting]
oracle.eclipse.tools.webtier.trinidad.ui (4.2.0.201112072225) "Oracle Web Tier Tools Apache Trinidad UI" [Starting]
oracle.eclipse.tools.webtier.ui (4.2.0.201112072225) "Oracle Web Tier Tools UI" [Active]
oracle.eclipse.tools.xml.edit.ui (4.2.0.201112072225) "Oracle XML Editing" [Starting]
oracle.eclipse.tools.xml.model (4.2.0.201112072225) "Oracle XML TLEI Model" [Active]
oracle.eclipse.tools.xmlbeans.library.v21 (4.2.0.201112072225) "Apache XMLBeans v2.1" [Starting]
oracle.eclipse.tools.xmlbeans.library.v22 (4.2.0.201112072225) "Apache XMLBeans v2.2" [Starting]
oracle.eclipse.tools.xmlbeans.library.v23 (4.2.0.201112072225) "Apache XMLBeans v2.3" [Starting]
org.apache.ant (1.8.2.v20110505-1300) "Apache Ant" [Resolved]
org.apache.axis (1.4.0.v201005080400) "Apache Web Services" [Resolved]
org.apache.bcel (5.2.0.v201005080400) "Apache BCEL" [Resolved]
org.apache.commons.codec (1.3.0.v201101211617) "Apache Commons Codec Plug-in" [Resolved]
org.apache.commons.collections (3.2.0.v201005080500) "Apache Commons Collections" [Resolved]
org.apache.commons.discovery (0.2.0.v201004190315) "Jakarta-Commons Discovery" [Resolved]
org.apache.commons.el (1.0.0.v201101211617) "Apache Commons JSP 2.0 Expression Language Interpreter" [Resolved]
org.apache.commons.httpclient (3.1.0.v201012070820) "Apache Commons Httpclient" [Resolved]
org.apache.commons.lang (2.1.0.v201005080500) "Apache Jakarta Commons LHi,
could you let us know what version of OEPE you were running prior to the upgrade along with the Eclipse version ? Also was the previous installation a full OEPE install or was it installed via the update site ?
thanks
Raj -
Title says it all.... Lost 3 days finding what was the problem.
The version of Oracle Eclipse Plugin 1.3.0.200909171310
is completelly unable to a version 10.3.1.0 Server.
The server starts correctly on the command line.
In Eclipse the server instance and runtime are created correctly, but when you
try to start it from eclipse bang!
Unable to validate WebLogic domain.Please make sure the running WebLogic instance is an Administration Server
java.lang.Exception:
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.validateRemote(WlsJ2EEDeploymentHelper.java:1670)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.validateRemote(WeblogicServerBehaviour.java:2647)
at oracle.eclipse.tools.weblogic.server.internal.ServerWatcher.runOnce(ServerWatcher.java:574)
at oracle.eclipse.tools.weblogic.server.internal.ServerWatcher.run(ServerWatcher.java:482)
at java.lang.Thread.run(Thread.java:619)Well, the server is not running, i just try to start it.
The message pops instantly, like in 0.5 seconds, it looks like nothing is even performed.
- what does the <name> element look like in domain/config.xml ? Does it match the server definition?
<name>dintiruni</name>
<server>
<name>intiruni0</name>
<ssl>
<name>intiruni0</name>
<enabled>true</enabled>
<listen-port>443</listen-port>
</ssl>
<listen-port>80</listen-port>
<listen-address/>
</server>
<admin-server-name>intiruni0</admin-server-name>
yep : C:\owls11gR1\domains\dintiruni\servers\intiruni0
- what is your version of JDK running Eclipse?
Sun JDK 1.6.0_17, downloaded manually.
Same JDK i use during install to run WebLogic 10.3.2.0, I had to do that, since 10.3.2.0 JDK 1.6.0_14
is not a recongnized JDK when you use -vm parameter in eclipse.ini (10.3.1.0 was working)
- Try create a new domain, make sure set it as development mode.
I think i reinstalled WebLogic more than 3 times, recreated the domain with all possible options.
Reinstalled Eclipse (J2EE with Reporting 3.5.1) with only Oracle Plugin. Recreated my workspace
3-4 times.
Additional info:
I have this message as parent item of the stacktrace in the eclipse Log tree: Another server is detected.
I had a server version 10.3.1.0, wich i just renamed the installation directory to C:\owls11gR1_10.3.1.0 and installed the 10.3.2.0 in the same directory C:\owls11gR1
I uninstalled everything, went in regedit, deleted all weblogic keys references.
Always the same problem. Im starting to loose patience... i have rarelly seen something like that.
Edit:
I also tryed with a Server version 10.3.2.0. (I abandonned 10.3.1.0 since i cannot even create the instance in eclipse)
Edited by: Rouche on Jan 7, 2010 11:42 AM -
Is there a Bug in Oracle Eclipse Plugin for OSB11gR1PS2
i have been using the Eclipse plugin for Oracle Service bus, and while desiginng the WSDL in ther design view i faced the following problem
If you create a skeleton and then add operations, they are not mapped to WSDL:binding
also if one changes the type of operation, ( from default input output in skeleton) the corrosponding changes are not reflected in WSDl....
did any1 else face the same problem while designing WSDL??
Edited by: tarang on Jun 7, 2011 4:23 PMCross post in OEPE forum as well -
Enterprise Pack for Eclipse
Regards,
Anuj -
Installing the Android Eclipse plugin: AUR vs Eclipse built-in install
The wiki suggests that you install the Android Developer Tools Eclipse plugin from the AUR. I had this running earlier in the year but, due to being away, mothballed my system for several months (I do this too often!) and found that after the update-orgy that followed, the Android plugins weren't showing up in any sense in my Eclipse interface. Since I wasn't mid-project, I decided it was easier just to entirely remove Eclipse and install it all from scratch. Then I noticed that Eclipse has a built in mechanism for installing plugins. My setup now works as before.
Of course "I did something wrong so it didn't work" is not the same as "it's a bad method", but what is the advantage of installing from the AUR as opposed to straight from Google? Should I add a comment to the wiki on this?There are a couple of things we've found that can interfere with using a CS5 Suite SN with FB4 Plug-in:
- if you have multiple copies of FB4 Plug-in installed on your machine, only the first one will be able to use a Suite SN
- with some configurations, you need to have the qualifying CS5 Suite (Web Premium or Master Collection) installed on the same machine where you're running FB4 Plug-in.
To remedy the first problem, here's an approach we've found to work:
- uninstall all copies of FB4 Plug-in
- run the CS5 Clean Script, and if it finds additional copies of FB4 Plug-in, allow it to remove them. You can find the CS5 Clean Script here: http://www.adobe.com/support/contact/cs5clean.html
- reboot before re-installing FB4 Plug-in.
After re-installing FB4 Plug-in, if you want to plug into multiple copies of eclipse on your system, you don't need to install it multiple times. Instead, just copy the link file from the dropins folder in the copy of eclipse (eclipse-host-distro) bundled with FB4 Plug-in, and paste that link file into the dropins folder of your own copy of eclipse. You can repeat this multiple times if you have more than one custom copy of eclipse to plug into.
-Chris -
Eclipse plugin for version 10.3
Is there eclipse plugin for weblogic 10.3
Yes, you can install Oracle Enterprise Pack for Eclipse.
[http://www.oracle.com/tools/enterprise-eclipse-pack.html]
[http://www.oracle.com/technology/software/products/oepe/index.html] -
Hello all,
Maybe this is more of an Eclipse question, but I'm hoping someone here has used the Eclipse plugin and can provide assistance.
Working with our admin team here at work to enable/install the CF8 plugin for Eclipse has brought me to the point of trying to debug an application.
I can see that various CF views are installed and when I click 'Test Debugger' and 'Test Connection' in the RD Configuration I have success.
I believe the problem lies in my Debug Configuration because after configuring the debug server I am able to start the debug instance but am unable to toggle a breakpoint. Additionally I noticed that syntax highlighting does not work in the .cfm I loaded to test the debugger. Could this be a sign of a misconfiguration?
Eclipse and the ColdFusion server are running on different machines so I am using the 'Mapping' option in the debug server configuration.
Thanks for any help!Check whether you have enabled the "Allow Line Debugging" under "Debugger Settings". Also check whether the port settings are correct. Alternatively, you can use ColdFusion Builder from Adobe which will automatically get the settings from the server.
-Prasanth -
Eclipse-plugin for html editor
Hallo Experts
If I change something in html-Page, I should you the strategy/tools/filemanager.jsp. But it is not convenient. There is one
eclipse-plugin. Have you ever used it and how can I get this plugin?
Thanks and
Nice regards!
PingPing,
The use of FileStore Eclipse Plug-in should only be used by developers familiar with the Netweaver Developer Infrastructure (NWDI) and the NetWeaver Developer Studio (NWDS). Strategy Management is a deployed NetWeaver project and so changes have to be done using NetWeaver Developer Studio.
Current documentation for SSM is available by clicking the HELP button within the application. That directs you to the section on http://help.sap.com directly related to that section. PAS Help is attached to the application and won't be found at help.sap.com. To access that click on the Help button in the PAS interface. Help is not going to include any information about an Eclipse Plug-in.
There is additional documentation controlled by SAP Education. There hasn't been many classes for SSM scheduled over this past year, but there is OKT - which is the online education material. There is a cost for accessing this material. The OKT material for SSM 7.5 has about 22 hours of recorded instruction that you can access, with the ability to download slides for further review (although printing of slides is disabled). My understanding is that in the 7.5 OKT material is a section entitled Integration Enhancements that provides information about using a plug-in. It is not a step-by-step guide as the assumption is that you would be familiar with NWDS.
Regards,
Bob -
Hi all, I have just installed the Flash Builder 4 Eclipse plugin and I get this error in my errors panel
Description Resource Path Location Type
unable to open 'C:\Program Files\Eclipse\eclipse\plugins\sdks\4.0.0\frameworks\locale\en_GB' HelloWorld Unknown Flex Problem
Has anyone got any ideas?We experienced same problem. This can be resolved for current project in Project -> Properties, Flex Compiler ... in Additional compiler arguments.
Change the arguments to
-locale en_US
And this will ensure that a valid localisation or localization is found. -
Error while looking up bean from Eclipse plugin
Hi all,
I am developing an Eclipse plugin which calls session bean deployed in some j2ee engine. But I am facing a problem while I try to look up the bean. It gives me an error saying <i>"com.sap.engine.services.jndi.persistent.UnsatisfiedReferenceImpl"</i>.
I tried print out the UnsatisfiedReferenceImpl stacktrace and it says
<i>java.lang.ClassNotFoundException: com.sap.engine.services.ejb.session.stateless_sp5.SerializedHomeProxy</i>.
Does anyone have any idea?
Regards,
Satyajit.
Message was edited by:
Satyajit ChakrabortyI have solved the problem. The problem was with an extra classpath entry.
Regards,
Satyajit. -
Crystal Reports for Eclipse plugin and CR XI server
I have a software requirement in which I need to support both internal (CR Eclipse plugin using the report viewer, not sure what the real name of this is) along with external (CR XI server) reporting. In other words, I should be able to display a report (.rpt) that exists on my local app server along with one that exists on the CR XI server. My question is this:
So I have both sets of jar libraries (eclipse plugin and XI server) and I see that some of the them are overlapping (some of the jars have the same name). For the ones that overlap, should I choose the ecilipse plugin or XI server ones...?
One example I found is that the eclipse plugin rasapp.jar contains the POJOResultSetHelper class whereas the rasapp.jar from the XI server does not. In this case, I presume I should use the eclipse version, right?
Thanks for your help!
LouisHello Louis,
-If you are using latest version of CR Eclipse plugin using the report viewer,then I would recommend going for JAR files of this eclipse plugin than that of CR XI Server.
-The only reason being Eclipse plugin will give you most updated JAR files.
-Before using JAR files from Eclipse plugin, I would suggest you to update your present JAR files to latest available JAR files.
This can be done through Eclipse using update option.
And once you update them, you can use those JARs.
Thanks,
Chinmay -
Error when starting weblogic from forthnet eclipse plugin?
Hi,
I'm getting an error when trying to start my weblogic server from the forthnet eclipse plugin. (However, it works to start the server from a command prompt on the machine it is running on, and also, it works to stop the server from eclipse)
Server and eclipse is running on Windows.
The error reported is:
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Error> <EmbeddedLDAP> <BEA-171519> <Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
<2004-sep-01 kl 16:13 CEST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.java:959)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:221)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:814)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)
>
<2004-sep-01 kl 16:13 CEST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
I've tried removing the "EmbeddedLDAP.lok" file, but without luck.Which version of your eclipse? I am using eclipse 3.0 and I am able to start weblogic 8.1 from eclipse.
I did the following steps:
1.create a new domain through weblogic's configuration wizard --> basic weblogic server domain --> Express --> proive the user name and password --> development mode, and sun sdk (or other jdk) --> your new domain name
2. configure weblogic setting in eclipse: preferences --> weblogic --> 8.1, C:\bea\weblogic81, your newly created domain name --> C:\bea\user_projects\domains (domain directory) --> myserver --> admin (or your user name) --> password --> localhost --> 7001
after that, you should be able to click on "start weblogic server" button from toolbar.
Hope my two cents solve your problem. -
How to start weblogic in debug mode from BEA WebLogic Eclipse plugin
I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.
Hi,
Dev Environment
weblogic eclipse plugin 2.0 beta
weblogic server 8.1
eclipse 3.1.1
Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
How do i do it?
I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
Any help is appreciated.
Mel -
"Error running javac.exe compiler" when using ant to compile Eclipse plugin
Hi
I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
<!-- ===================================================================
Compile specified plugin
target parameters:
param.plugin.dir: the plugin directory
param.plugin.targetJarFile: the name of jar file for the given plugin
param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
param.fork: indicate if another process is forked to run javac
=================================================================== -->
<target name="compilePlugin">
<!-- Prepare compile environment -->
<!-- Delete obsolete build folder -->
<delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
<!-- Delete obsolete jar file -->
<delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
<mkdir dir="${param.plugin.dir}/${build.dir}"/>
<!-- Compile source codes -->
<javac srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
destdir="${param.plugin.dir}/${build.dir}"
failonerror="${javacFailOnError}"
verbose="${javacVerbose}"
debug="${javacDebugInfo}"
deprecation="${javacDeprecation}"
optimize="${javacOptimize}"
source="${javacSource}"
target="${javacTarget}"
fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
<classpath refid="compile.classpath" />
</javac>
<!-- Create plugin jar file -->
<copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
<fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
</copy>
<jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
<delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
</target>
Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
Any help is highly appreciated.
Many thanks
OceanmanI encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
fork="${param.fork}"
memoryInitialSize="256m"
memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
fork="true"
memoryInitialSize="256m"
memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps. -
Simulation using Eclipse plugin for JCOP tools
Dear All,
In search for a simulation environment for java card applet development I tried to use Eclipse plugin for JCOP tools.
The samples which comes with the JCOP tools works fine but when try to debug my applet I receive the error: Wrong Data 6A 80.
Generic JCOP v2.4.1 is selected for Java Card Simulation.
Following is the JCOP Shell screen:
cm- /term "Remote|localhost:8050"
--Opening terminal
/card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
--Waiting for card...
ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
31 B7 1.
IOCTL().
ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOPv241"
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
(908058 nsec)
<= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 oe...........Y.e
01 FF 9F 6E 06 47 91 92 18 00 00 73 4A 06 07 2A ...n.G.....sJ..*
86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B .H..k.`...*.H..k
02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 ....c...*.H..k.d
0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 ...*.H..k...e...
2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 +...Hd...f...+..
04 01 2A 02 6E 01 02 90 00 ..*.n....
Status: No Error
cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
cm> init-update 255
=> 80 50 00 00 08 B1 04 15 2B 41 3F 62 AB 00 .P......+A?b..
(2668 usec)
<= 00 00 F9 02 71 E3 BB AD BD CD FF 02 00 00 3D 02 ....q.........=.
9C 31 C7 89 AD 44 8E 13 17 15 2E 5A 90 00 .1...D.....Z..
Status: No Error
cm> ext-auth plain
=> 84 82 00 00 10 CE 6C DC D2 8C BE 5E 33 EC 58 D0 ......l....^3.X.
57 3A 52 D2 24 W:R.$
(2288 usec)
<= 90 00 ..
Status: No Error
cm> delete -r a00000006203010c04
=> 80 E4 00 80 0B 4F 09 A0 00 00 00 62 03 01 0C 04 .....O.....b....
00 .
(1084 usec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> upload -d -b 250 "D:\JCOP\eclipse\projects\DigitalTachograph\bin\digitaltachograph\javacard\digitaltachograph.cap"
=> 80 E6 02 00 16 09 A0 00 00 00 62 03 01 0C 04 08 ..........b.....
A0 00 00 00 03 00 00 00 00 00 00 00 ............
(2100 usec)
<= 00 90 00 ...
Status: No Error
=> 80 E8 00 00 FA C4 82 84 42 01 00 25 DE CA FF ED ........B..%....
02 02 04 00 01 09 A0 00 00 00 62 03 01 0C 04 11 ..........b.....
64 69 67 69 74 61 6C 74 61 63 68 6F 67 72 61 70 digitaltachograp
68 02 00 21 00 25 00 21 00 0E 00 29 03 3E 00 CD h..!.%.!...).>..
23 D2 01 BB 04 44 00 00 09 E3 4B E5 00 11 00 05 #....D....K.....
01 A2 04 01 00 04 00 29 04 00 01 07 A0 00 00 00 .......)........
62 00 01 02 01 07 A0 00 00 00 62 01 01 02 01 07 b.........b.....
A0 00 00 00 62 01 02 02 01 07 A0 00 00 00 62 02 ....b.........b.
01 03 00 0E 01 0A A0 00 00 00 62 03 01 0C 04 01 ..........b.....
01 DF 06 00 CD 00 00 00 80 00 00 FF 00 01 00 00 ................
00 01 81 03 13 00 12 07 03 00 00 02 01 03 06 0B ................
8C 81 00 00 00 80 00 0B 00 0B 01 01 00 00 0B F9 ................
00 80 00 11 00 0F 01 01 00 10 0E A9 0D D4 0D F7 ................
0E 07 0E 18 0E 26 0E 35 0E 44 0E 50 0E 72 0E 81 .....&.5.D.P.r..
0E 90 0E 9B 0E F5 11 05 11 1A 11 50 00 80 00 05 ...........P....
00 04 01 04 00 01 13 AF 13 B5 13 BA 14 0C 13 00 ................
(6775 usec)
<= 6A 80 j.
Status: Wrong data
jcshell: Error code: 6a80 (Wrong data)
jcshell: Wrong response APDU: 6A80
Unexpected error; aborting execution
I will be very happy if you can help me. I am desperately in need of a working debugging environment.
Thanks in advance!
Kind regards,
Mehmet* Processes incoming READ_BINARY APDUs. Returns data of the currently
* selected file.
* @param apdu where the offset is carried in header bytes p1 and p2.
* @param le expected length by terminal
* @return length of the response APDU
private short processReadBinary(APDU apdu, boolean protectedApdu, short leUnprotected) {
if (!hasFileSelected()) {
ISOException.throwIt(SW_CONDITIONS_NOT_SATISFIED);
byte[] buffer = apdu.getBuffer();
// retrieve p1p2 from apdu buffer
byte p1 = buffer[OFFSET_P1];
byte p2 = buffer[OFFSET_P2];
short offset = Util.makeShort(p1, p2); // offset encoded in P1/P2, 15 lowest bit
// offset encoded in P1/P2, 15 lowest bit
// check if le != 0 <-- no response expected
if (leUnprotected == 0) {
ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
if (selectedFile == null) {
ISOException.throwIt(ISO7816.SW_FILE_NOT_FOUND);
if ((selectedFile.getAccessConditions() & READ_REQUIRES_SM) == READ_REQUIRES_SM) {
if(!protectedApdu)
ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
short fileSize = (short) selectedFile.getFileLength();
// check offset
if (offset >= fileSize) {
ISOException.throwIt(ISO7816.SW_INCORRECT_P1P2);
// check expected length
if ((short) (offset + leUnprotected) > fileSize) {
ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
//ISOException.throwIt(SW_TAMAM);
short bufferOffset = 0;
crypto.setEncryptionStatus(isSelectedFileEncrypted());
if (protectedApdu) {
bufferOffset = crypto.getApduBufferOffsetDT(leUnprotected);
if(isSelectedFileEncrypted())
bufferOffset = crypto.getApduBufferOffset(leUnprotected);
apdu.setOutgoing();
Util.arrayCopyNonAtomic(selectedFile.getData(), offset, buffer, bufferOffset, leUnprotected);
return leUnprotected;
* Processes and UPDATE_BINARY apdu. Writes data in the currently selected
* file.
* @param apdu
* carries the offset where to write date in header bytes p1 and
* p2.
private void processUpdateBinary(APDU apdu, boolean protectedApdu) {
if (!hasFileSelected() || isLocked()) {
ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
if ((selectedFile.getAccessConditions() & DigitalTachograph.UPDATE_ALW) != DigitalTachograph.UPDATE_ALW) {
if ((selectedFile.getAccessConditions() & DigitalTachograph.UPDATE_REQUIRES_SM) != DigitalTachograph.UPDATE_REQUIRES_SM) {
ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
return;
}else if(!protectedApdu){
ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
byte[] buffer = apdu.getBuffer();
byte p1 = buffer[OFFSET_P1];
byte p2 = buffer[OFFSET_P2];
short offset = Util.makeShort(p1, p2);
short readCount = (short) (buffer[ISO7816.OFFSET_LC] & 0xff);
//if (!protectedApdu){
readCount = apdu.setIncomingAndReceive();
while (readCount > 0) {
selectedFile.writeData(offset, buffer, OFFSET_CDATA, readCount);
offset += readCount;
readCount = apdu.receiveBytes(ISO7816.OFFSET_CDATA);
private short processInternalAuthenticate(APDU apdu , boolean protectedApdu) throws CryptoException {
byte[] buffer = apdu.getBuffer();
short lc = (short) (buffer[OFFSET_LC] & 0xFF);
if (lc != (short) (KID_LENGTH * 2)) {
ISOException.throwIt(SW_WRONG_LENGTH);
if (apdu.setIncomingAndReceive() != lc) {
ISOException.throwIt(ISO7816.SW_WRONG_DATA);
// Check if VU.CHR maches the one of the selected certificate on the card
if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + KID_LENGTH), keyStore.selected_KID, (short) 0, KID_LENGTH) != 0) {
ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
if (Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, Rnd1, (short) 0, (short) 8) != (short) 8) { // Receive Rnd1
ISOException.throwIt(ISO7816.SW_WRONG_DATA);
// Hash(PRnd2||K1||Rnd1||VU.CHR)
random.generateData(PRnd2, (short) 0, (short) 90);
random.generateData(K1, (short) 0, (short) 16);
crypto.shaDigest.update(PRnd2, (short) 0, (short) 90); // PRnd2
crypto.shaDigest.update(K1, (short) 0, (short) 16); // PRnd2||K1
crypto.shaDigest.doFinal(buffer, OFFSET_CDATA, lc, digest, (short) 0); //Rnd1||VU.CHR
BigNumber mod = new BigNumber((short) 128);
mod.init(keyStore.Card_PubMod, (short) 0, (short) keyStore.Card_PubMod.length, BigNumber.FORMAT_HEX);
mod.subtract(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX);
if (mod.compareTo(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX) == -1) {
mod.toBytes(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX);
// To be added: if the selected private key is considered corrupted, the processing state returned is '6400' or '6581'.
signed[0] = (byte) 0x6A;
Util.arrayCopyNonAtomic(PRnd2, (short) 0, signed, (short) 1, (short) 90);
Util.arrayCopyNonAtomic(K1, (short) 0, signed, (short) 91, (short) 16);
Util.arrayCopyNonAtomic(digest, (short) 0, signed, (short) 107, (short) 20);
signed[127] = (byte) 0xBC;
if (!keyStore.cardPrivateKey.isInitialized()) {
CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);
try {
crypto.rsaSigner.init(keyStore.cardPrivateKey, Signature.MODE_SIGN);
crypto.rsaSigner.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
} catch (Exception e) {
ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
if (!keyStore.selectedPublicKey.isInitialized()) {
CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);
try {
crypto.rsaCipher.init(keyStore.selectedPublicKey, Cipher.MODE_ENCRYPT);
crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
} catch (Exception e) {
ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
apdu.setOutgoing();
Util.arrayCopyNonAtomic(signed, (short) 0, buffer, (short) 0, (short) 128);
return (short) signed.length;
private void processExternalAuthenticate(APDU apdu) {
short equipmentType = 0;
if (keyStore.Selected_Cert != null) {
equipmentType = (short) keyStore.Selected_Cert.CHA[6]; // check equipment type
if (equipmentType != (short) 1 && equipmentType != (short) 2 && equipmentType != (short) 3 && equipmentType != (short) 4 && equipmentType != (short) 6) {
ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED); // Instead of 6F00 throw a more meaningfull SW in case CHA is not valid.
if (Util.arrayCompare(keyStore.Selected_Cert.CHA, (short) 0, TACHOGRAPH_AID, (short) 0, (short) 6) != 0) {
ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED);
byte[] buffer = apdu.getBuffer();
byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
if (p1 != 0 || p2 != 0) {
ISOException.throwIt(SW_WRONG_P1P2);
short lc = (short) (buffer[OFFSET_LC] & 0xFF);
if (lc != (short) (128)) {
ISOException.throwIt(SW_WRONG_LENGTH);
if (apdu.setIncomingAndReceive() != lc) {
ISOException.throwIt(ISO7816.SW_WRONG_DATA);
Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, signed, (short) 0, (short) 128); // receive the cryptogram from the VU
// decrypt the encrypted message with the card private key
try {
crypto.rsaCipher.init(keyStore.cardPrivateKey, Cipher.MODE_DECRYPT);
crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
} catch (Exception e) {
ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
// verify the signature with the VU public key
try {
crypto.rsaCipher.init(keyStore.selectedPublicKey, Signature.MODE_VERIFY); // Cipher.MODE_ENCRYPT
crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
} catch (Exception e) {
ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
if (signed[0] != (byte) 0x6A || signed[127] != (byte) 0xBC) {
ISOException.throwIt(Util.makeShort(signed[0], signed[127]));
try {
verifyCardCertificates();
Util.arrayCopyNonAtomic(signed, (short) 1, preDigest, (short) 0, (short) 106); // accumulate preDigest
Util.arrayCopyNonAtomic(Rnd3, (short) 0, preDigest, (short) 106, (short) 8); // accumulate preDigest
Util.arrayCopyNonAtomic(keyStore.Card_Cert.CHR, (short) 0, preDigest, (short) 114, (short) 8); // accumulate preDigest
Util.arrayCopyNonAtomic(signed, (short) 91, K2, (short) 0, (short) 16); // receive K2 value
crypto.shaDigest.update(signed, (short) 1, (short) 106); // PRnd4||K2
crypto.shaDigest.update(Rnd3, (short) 0, (short) 8); // Rnd3
crypto.shaDigest.doFinal(keyStore.Card_Cert.CHR, (short) 0, (short) 8, digest, (short) 0); //||Card.CHR
} catch (Exception e) {
ISOException.throwIt(SW_TAMAM);
if (Util.arrayCompare(signed, (short) 107, digest, (short) 0, (short) 20) != 0) {
ISOException.throwIt(SW_TAMAM);
volatileState[0] |= MUTUAL_AUTHENTICATED;
try {
DTUtil.xor(K1, (short) 0, K2, (short) 0, KaKb, (short) 0, (short) 16);
Util.arrayCopyNonAtomic(Rnd3, (short) 4, SSC, (short) 0, (short) 4); // tail of Rnd3
Util.arrayCopyNonAtomic(Rnd1, (short) 4, SSC, (short) 4, (short) 4); // tail of Rnd1
} catch (Exception e) {
ISOException.throwIt(SW_TAMAM);
try {
keyStore.setKey_Ka(KaKb, (short) 0);
keyStore.setKey_Kb(KaKb, (short) 8);
keyStore.setSecureMessagingKeys(KaKb, (short) 0, KaKb, (short) 0);
} catch (Exception e) {
ISOException.throwIt(SW_TAMAM_DEGIL);
return;
private short returnPreDigest(APDU apdu) {
byte[] buffer = apdu.getBuffer();
apdu.setOutgoing();
Util.arrayCopyNonAtomic(preDigest, (short) 0, buffer, (short) 0, (short) 122);
return (short)preDigest.length;
private short returnDigest(APDU apdu) {
byte[] buffer = apdu.getBuffer();
apdu.setOutgoing();
Util.arrayCopyNonAtomic(digest, (short) 0, buffer, (short) 0, (short) 20);
return (short)digest.length;
private short returnOriginalText(APDU apdu) {
byte[] buffer = apdu.getBuffer();
apdu.setOutgoing();
Util.arrayCopyNonAtomic(signed, (short) 0, buffer, (short) 0, (short) 128);
return (short)signed.length;
private void processVerify(APDU apdu) { // Verify_CHV(Pin_Ws)
byte[] buffer = apdu.getBuffer();
// retrieve the PIN data for validation.
byte byteRead = (byte) (apdu.setIncomingAndReceive());
// the PIN data is read into the APDU buffer
// at the offset ISO7816.OFFSET_CDATA the PIN data length = byteRead
if (pin.check(buffer, ISO7816.OFFSET_CDATA, byteRead) == false) {
ISOException.throwIt(SW_VERIFICATION_FAILED);
return;
private void processPSO(APDU apdu) { // verify certificate
byte[] buffer = apdu.getBuffer();
byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
short lc = (short) (buffer[ISO7816.OFFSET_LC] & 0xFF);
if (p1 == (byte) 0x00 && p2 == P2_VERIFYCERT) {
if (lc != TACHO_CERT_LENGTH) {
ISOException.throwIt(SW_WRONG_LENGTH);
if (apdu.setIncomingAndReceive() != lc) {
ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
try { // copy the certificate to be verified from APDU buffer to cert object
Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, cert, (short) 0, lc);
} catch (Exception e) {
ISOException.throwIt(SW_TAMAM);
if (Util.arrayCompare(keyStore.selected_KID, (short) 0, keyStore.ERCA_KID, (short) 0, KID_LENGTH) == 0) {
keyStore.VUCA_Cert.verifyCert(cert, keyStore.selectedPublicKey, keyStore.selected_KID);
} else if (Util.arrayCompare(keyStore.selected_KID, (short) 0, keyStore.VUCA_Cert.CHR, (short) 0, KID_LENGTH) == 0) {
keyStore.VU_Cert.verifyCert(cert, keyStore.selectedPublicKey, keyStore.selected_KID);
} else {
ISOException.throwIt(SW_CERT_VERIFICATION_FAILED); // Selected keyId, with MSE, is neither ERCA_KID nor VUCA_KID
} else {
ISOException.throwIt(SW_CERT_VERIFICATION_FAILED);
return;
private short processGetChallenge(APDU apdu, boolean protectedApdu) {
byte[] buffer = apdu.getBuffer();
byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
if (p1 != 0 || p2 != 0) {
ISOException.throwIt(SW_WRONG_P1P2);
random.generateData(Rnd3, (short) 0, (short) 8);
short Le = apdu.setOutgoing();
if (Le != (short) 8) {
ISOException.throwIt(SW_WRONG_LENGTH);
Util.arrayCopyNonAtomic(Rnd3, (short) 0, buffer, (short) 0, (short) 8);
return Le;
private void processMSE(APDU apdu) {
byte[] buffer = apdu.getBuffer();
if (buffer[OFFSET_P1] == (byte) 0xC1 && buffer[OFFSET_P2] == P2_DST) {
short lc = (short) (buffer[OFFSET_LC] & 0xFF);
if (lc != (short) (KID_LENGTH + 2)) {
ISOException.throwIt(SW_WRONG_LENGTH);
if (apdu.setIncomingAndReceive() != lc) {
ISOException.throwIt(ISO7816.SW_WRONG_DATA);
if (buffer[OFFSET_CDATA] != (byte) 0x83) {//check the tag of the data
ISOException.throwIt(SW_SECURE_MESSAGING_DATA_OBJECTS_MISSING);
} else if (buffer[OFFSET_CDATA + 1] != (byte) 0x08) {
ISOException.throwIt(SW_INCORRECT_DATA_OBJECT); // check if the key is already selected one
} else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.selected_KID, (short) 0, KID_LENGTH) != 0) {
if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.ERCA_KID, (short) 0, KID_LENGTH) == 0) {// KID is EUR_KID
keyStore.selected_KID = keyStore.ERCA_KID;
keyStore.selectedPublicKey = keyStore.eurPublicKey;
keyStore.Selected_Cert = null; // ERCA public key is selected
return;
} else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.VUCA_Cert.CHR, (short) 0, KID_LENGTH) == 0) {// KID is MSCA_KID
keyStore.Selected_Cert = keyStore.VUCA_Cert;
} else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.VU_Cert.CHR, (short) 0, KID_LENGTH) == 0) { // KID is VU_KID
keyStore.Selected_Cert = keyStore.VU_Cert;
} else {
ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
}// KID not found
keyStore.selectedPublicKey = keyStore.Selected_Cert.publicKey;
keyStore.selected_KID = keyStore.Selected_Cert.CHR;
} else { // if the KID is already set, just return
return;
} else {
ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
private void processSelectFile(APDU apdu) {
byte[] buffer = apdu.getBuffer();
short lc = (short) (buffer[OFFSET_LC] & 0x00FF);
// retrieve p1p2 from apdu buffer
byte p1 = buffer[OFFSET_P1];
byte p2 = buffer[OFFSET_P2];
short p1p2 = Util.makeShort(p1, p2);
apdu.setIncomingAndReceive();
if (p1 == 4) {
if (lc == (short) TACHO_AID_LENGTH) {
if (Util.arrayCompare(buffer, (short) OFFSET_CDATA, TACHOGRAPH_AID, (short) 0, (short) TACHO_AID_LENGTH) == 0) {
selectedFile = fileSystem.getDT();
fileSystem.selectDT();
volatileState[0] |= FILE_SELECTED;
return;
} else {
ISOException.throwIt(ISO7816.SW_WRONG_DATA);
} else if (lc != 2) {
ISOException.throwIt(SW_WRONG_LENGTH);
short fid = Util.getShort(buffer, OFFSET_CDATA);
if (fileSystem.getFile(fid) != null) {
selectedFile = fileSystem.getDT();
fileSystem.selectDT();
volatileState[0] |= FILE_SELECTED;
return;
} else if (p1 == 2) {
if (lc != 2) {
ISOException.throwIt(SW_WRONG_LENGTH);
short fid = Util.getShort(buffer, OFFSET_CDATA);
if (fileSystem.getFile(fid) != null) {
selectedFile = fileSystem.getFile(fid);
volatileState[0] |= FILE_SELECTED;
return;
} else {
ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
setNoFileSelected();
ISOException.throwIt(ISO7816.SW_FILE_NOT_FOUND);
public static void setNoFileSelected() {
if (hasFileSelected()) {
volatileState[0] ^= FILE_SELECTED;
public static boolean hasFileSelected() {
return (volatileState[0] & FILE_SELECTED) == FILE_SELECTED;
public static boolean hasMutuallyAuthenticated() {
return (volatileState[0] & MUTUAL_AUTHENTICATED) == MUTUAL_AUTHENTICATED;
static boolean isLocked() {
return (persistentState & LOCKED) == LOCKED;
public boolean isSelectedFileEncrypted() {
return ((selectedFile.getAccessConditions() & DigitalTachograph.ENCRYPTED) == DigitalTachograph.ENCRYPTED);
}
Maybe you are looking for
-
Calling a batch file from PL/SQL
Is there a way to call a windows batch file from within a stored program in Oracle? I need to check for error records in a table and if exists, I would like to call a batch file that invokes mail server and sends an error notification to a designated
-
IPhoto won't open photos from thumbnails.
Hi - Some weeks ago, my older version of iPhoto stopped opening photos from the thumbnails. You click on thumbnail and nothing happens, no black screen, no beach ball, no error messages - just as though you haven't clicked on it at all. So reading
-
The images in my text messages are disappearing.
The images in my text messages are disappearing. Some I've sent and some I've received. Some are weeks and weeks old, some just a couple days. I'm using iPhone 6Plus with 8.0.2. Any ideas what's happening here? Regards, John
-
NetWeaver Developer Studio NWDS 7.2 on Windows 7 Prof x64
Hello neither installing NWDS 7.2. from CD nor directly from https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/index.html does work on an x64 version of Windows 7. It seems the bundled VS-redistributable is only shipped for x86 systems wh
-
How to I get rid of Lion and get back to Leopard?
Please tell me how to get rig of Lion. Leopard was absolutley perfect, I want it back!!! Thanks.