Jump to content
Excelsior Forums

zabquart

Members
  • Content count

    0
  • Joined

  • Last visited

Posts posted by zabquart


  1. "When you prepare the application for deployment using the JetPackII tool, the same problem can arise again. Typically, this happens for resource files that reside in directories, not in jar/zip files /The JET Optimizer packs resource files located in jar/zip classpath entries into executable by default. Thus, generally there is no way to forget them to include to the deployment package unless you decided to leave those jar/zip files separate from the executable./ . Classpath entries that are directories are always left separate from executable with all contained resource files. Using JetPackII, you have to add such directories to the package and assign them to respective classpath entries."

    Can this be done with ExcelsiorJet Maven plugin?


  2. I gather this is a classpath problem...

    I have the following directory structure.

    • myapp.exe
    • /config
    • /config/Config.ini

    The config directory is not part of the excelsior jet's class path so files contained within cannot be loaded. I would like to add it during runtime to the class path using a batch file which seems to be the easiest way from what I've read. Using the JETVMPROP environment variable this should be doable. However anytime I modify it I get errors that it cannot find the applications classes. So I think I'm blowing away the existing class path. I've tried things similar to 

    set JETVMPROP="-Djava.class.path=%CLASSPATH%./config"

    Still no dice however. I've tried variations using ; delimiters and fully qualified paths C:\\path\\to\\my\\config.. Still no dice.

    I am using the Excelsior Jet Maven plug in to copy the files during compilation into the config directory.

    <packageFiles>
      <packageFile>
        <path>src/main/external-resources/Config.ini</path>
        <type>file</type>
        <packagePath>config</packagePath>
      </packageFile>
    </packageFiles>

    It is important the configuration files are not part of the compilation as I don't want them to be compiled into the jar file and then the exe. I want to have them external so I can modify them without the need to do another lengthy recompilation of the application. So even within the Java app themselves they sit outside the classpath, only in my development profile do I include them in the Netbeans classpath. Whats the point of a configuration file if you have to always recompile.

    Even placing the configuration file in the same directory as the exe, it still can't find it. 

    Without Excelsior I can add the config directory to the classpath and run it just fine using the following command. Loading three separate ini files into the project via command line args.

    java -classpath pidx-1.0-jar-with-dependencies.jar:/Path/To/NetBeansProjects/com.lht.pidx/target/config com.lht.pidx.PidxApplication Config.ini Development.ini To_Local_Database.ini

    Any help, pointers or tips on how to resolve this would be greatly appreciated. 


  3. Well.. this leads to a chicken and egg problem. Using the Maven plug in, I can modify the .prj file, but upon executing the Excelsior build routine, the .prj file is wiped out and a new one is auto generated, thus undoing the modifications. 

    Is there a way to customize how it generates the .prj file?

    [UPDATE]

    Got it working!

    After perusing through the documentation I was able to find the section on setting up the POM.xml with dependency modifiers. This is how you modify the actual .prj file. Manually editing just gets overridden. 

    Quote

    As mentioned above, you may wish to set the <optimize> property to auto-detect and the <protect> property to not-required for third-party dependencies, and set both properties to all for the dependencies containing your own classes. By default, the plugin distinguishes between application classes and third-party library classes automatically using the following rule: it treats all dependencies sharing the groupId with the main artifact as application classes, and all other dependencies as third-party dependencies.

    Therefore, if some of your application classes reside in a dependency with a different groupId than your main artifact, make sure to set the <optimize> and <protect> properties for them explicitly, for instance:

    <dependencies>
        <dependency>
            <groupId>my.company.project.group</groupId>
            <protect>all</protect>
            <optimize>all</optimize>
        </dependency>
    </dependencies>

    The same mechanisms can be used to solve this issue. 

    Here is my final POM.xml plugin definition.

    <plugin>
      <groupId>com.excelsiorjet</groupId>
      <artifactId>excelsior-jet-maven-plugin</artifactId>
      <version>0.9.1</version>
      <dependencies>
        <dependency>
          <groupId>com.excelsiorjet</groupId>
          <artifactId>excelsior-jet-maven-plugin</artifactId>
          <version>0.9.1</version>
        </dependency>
      </dependencies>
    
      <configuration>
        <mainClass>com.your.company.main</mainClass>
        <vendor>Your Company</vendor>
    
        <packaging>native-bundle</packaging>
    
        <osxBundleConfiguration>
          <icon>${project.basedir}/src/main/resources/yourIcon.icns</icon>
          <!-- <developerId>com.your.company</developerId> -->
        </osxBundleConfiguration>
    
        <outputName>${project.build.finalName}</outputName>
        <jetHome>/opt/jet11.3-eval-amd64</jetHome>
    
        <dependencies>
          <dependency>
            <groupId>com.your.jar.vendor.groupid</groupId>
            <protect>nomatter</protect>
            <optimize>all</optimize>
            <pack>all</pack>
          </dependency>
        </dependencies>
      </configuration>
    </plugin>

    Thank you AlexandrFIlatov for all your help on resolving the issue. Your patience is well appreciated.

    Cheers,

    B. Greiner


  4. Had tried that earlier. Same result.

    MacBook-Pro:com.gulf.application.pidx zabquart$ export CLASSPATH=
    MacBook-Pro:com.gulf.application.pidx zabquart$ ./target/jet/app/pidx-1.0
    11:54:10.866 [main] DEBUG com.gulf.application.pidx.PidxApplication - Executing TABS : args = []
    11:54:10.870 [main] DEBUG com.gulf.application.pidx.PidxApplication - Adding default ini file : To_Local_Database.ini
    11:54:10.870 [main] DEBUG com.gulf.application.pidx.PidxApplication - PidxApplication Args : [To_Local_Database.ini]
    11:54:11.003 [main] DEBUG com.avocetsystems.common.ds.DbConnectionManager - Creating new connection pool HashMap
    11:54:11.003 [main] TRACE com.avocetsystems.common.config.IniBootstrap - Constructor Called
    11:54:11.118 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - Configuration File Added 'To_Local_Database.ini'
    11:54:11.118 [main] TRACE com.avocetsystems.common.config.IniBootstrap - readPreferences Called
    11:54:11.118 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - To_Local_Database.ini successfully loaded
    11:54:11.118 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - Available configuration preferences : {/* removed */}
    11:54:11.118 [main] TRACE com.gulf.application.pidx.Config - Constructor Called with Ini Files
    11:54:11.118 [main] DEBUG com.gulf.application.pidx.Config - HostName not specified in Config.ini, setting to 'MacBook-Pro.local'
    11:54:11.118 [main] DEBUG com.gulf.application.pidx.Config - HostAddress not specified in Config.ini, setting to '192.168.2.18'
    11:54:11.118 [main] DEBUG com.gulf.application.pidx.Config - Defaulting MaxLanes to 20
    11:54:11.118 [main] DEBUG com.gulf.application.pidx.Config - Defaulting ApplicationName to TABS
    11:54:11.118 [main] DEBUG com.gulf.application.pidx.Config - Setting TABS LaneSocketRequestListenerPort to 10201
    11:54:11.118 [main] DEBUG com.gulf.application.pidx.Config - Defaulting Version to 2.0
    11:54:11.118 [main] TRACE com.gulf.application.pidx.socket.SocketFactory - Constructor Called
    11:54:11.119 [main] TRACE com.gulf.application.pidx.pdxr.ProcessRequest - Constructor Called
    11:54:11.125 [main] TRACE com.gulf.application.pidx.socket.lane.request.Request - Constructor Called. Port = 10201, IpAddress = 192.168.2.18
    11:54:11.125 [main] TRACE com.gulf.application.pidx.PidxApplication - Constructor Called
    11:54:11.125 [main] TRACE com.gulf.application.pidx.ds.ChangeDateFormat - Constructor Called : Date format is set to MM/DD/YYYY HH24:MI:SS
    11:54:11.125 [main] TRACE com.gulf.application.pidx.ds.SetAutoCommit - Constructor Called : AutoCommit flag was set to NO_AUTO_COMMIT
    Jan 18, 2017 11:54:11 AM oracle.jdbc.driver.OracleDriver registerMBeans
    WARNING: Error while registering Oracle JDBC Diagnosability MBean.
    javax.management.NotCompliantMBeanException: Bad getMBeanInfo()
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(Unknown Source)
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver.registerMBeans(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver$1.<unknown>(Unknown Source)
    	at java.security.AccessController.<unknown>(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver.<clinit>(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver.getSystemPropertyFastConnectionFailover(Unknown Source)
    	at oracle.jdbc.pool.OracleDataSource.<clinit>(Unknown Source)
    	at com.gulf.application.pidx.ds.oracle.DbConnection.getPrimaryConnection(Unknown Source)
    	at com.gulf.application.pidx.PidxApplication.start(Unknown Source)
    	at com.gulf.application.pidx.PidxApplication.main(Unknown Source)
    Caused by: java.lang.SecurityException: sealing violation: package oracle.jdbc.driver is sealed
    	at java.net.URLClassLoader.getAndVerifyPackage(Unknown Source)
    	at java.net.URLClassLoader.definePackageInternal(Unknown Source)
    	at java.net.URLClassLoader.defineClass(Unknown Source)
    	at java.net.URLClassLoader.access$100(Unknown Source)
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.net.URLClassLoader$1.<unknown>(Unknown Source)
    	at java.security.AccessController.<unknown>(Unknown Source)
    	at java.net.URLClassLoader.findClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.Class.<unknown>(Unknown Source)
    	at java.lang.Class.forName(Unknown Source)
    	at java.lang.Class.<unknown>(Unknown Source)
    	at oracle.jdbc.driver.DatabaseError.findMessage(Unknown Source)
    	at oracle.jdbc.driver.OracleDiagnosabilityMBean.getDescription(Unknown Source)
    	at javax.management.StandardMBean.getMBeanInfo(Unknown Source)
    	... 12 more
    
    11:54:11.142 [main] DEBUG com.avocetsystems.common.ds.DbConnectionManager - Connection Hashcode = 1376650696
    11:54:11.142 [main] DEBUG com.avocetsystems.common.ds.DbConnectionManager - Creating new database connection. oracle.jdbc.pool.OracleDataSource@520e05c8
    11:54:11.144 [main] ERROR com.avocetsystems.common.ds.DbConnectionManager - sealing violation: package oracle.jdbc.driver is sealed
    11:54:11.144 [main] DEBUG com.gulf.application.pidx.ds.oracle.DbConnection - Database connection failed. Attempt 1 of 6.

     


  5. Sorry about the delay getting back to you. 

    After adding the proper arguments for the testrun command, it worked exactly as it should.. See following output.

    --- excelsior-jet-maven-plugin:0.9.1:testrun (default-cli) @ pidx ---
    The application has started with command line:
    -Djet.jit.profile.startup=/Users/zabquart/NetBeansProjects/com.gulf.application.pidx/src/main/jetresources/pidx.startup -cp /Users/zabquart/NetBeansProjects/com.gulf.application.pidx/target/pidx-1.0.jar:/Users/zabquart/.m2/repository/org/ini4j/ini4j/0.5.4/ini4j-0.5.4.jar:/Users/zabquart/.m2/repository/org/apache/logging/log4j/log4j-api/2.5/log4j-api-2.5.jar:/Users/zabquart/.m2/repository/org/apache/logging/log4j/log4j-core/2.5/log4j-core-2.5.jar:/Users/zabquart/.m2/repository/com/google/inject/guice/4.0/guice-4.0-classes.jar:/Users/zabquart/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/zabquart/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/zabquart/.m2/repository/com/google/inject/extensions/guice-assistedinject/4.0/guice-assistedinject-4.0.jar:/Users/zabquart/.m2/repository/com/google/inject/guice/4.0/guice-4.0.jar:/Users/zabquart/.m2/repository/com/google/inject/extensions/guice-throwingproviders/4.0/guice-throwingproviders-4.0.jar:/Users/zabquart/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar:/Users/zabquart/.m2/repository/org/flywaydb/flyway-maven-plugin/4.0.3/flyway-maven-plugin-4.0.3.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-project/2.2.1/maven-project-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-profile/2.2.1/maven-profile-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-artifact-manager/2.2.1/maven-artifact-manager-2.2.1.jar:/Users/zabquart/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar:/Users/zabquart/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar:/Users/zabquart/.m2/repository/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-model/2.2.1/maven-model-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/wagon-file-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-6/wagon-http-lightweight-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-http-shared/1.0-beta-6/wagon-http-shared-1.0-beta-6.jar:/Users/zabquart/.m2/repository/nekohtml/xercesMinimal/1.9.6.2/xercesMinimal-1.9.6.2.jar:/Users/zabquart/.m2/repository/nekohtml/nekohtml/1.9.6.2/nekohtml-1.9.6.2.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-http/1.0-beta-6/wagon-http-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-webdav-jackrabbit/1.0-beta-6/wagon-webdav-jackrabbit-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/jackrabbit/jackrabbit-webdav/1.5.0/jackrabbit-webdav-1.5.0.jar:/Users/zabquart/.m2/repository/org/apache/jackrabbit/jackrabbit-jcr-commons/1.5.0/jackrabbit-jcr-commons-1.5.0.jar:/Users/zabquart/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar:/Users/zabquart/.m2/repository/org/slf4j/slf4j-nop/1.5.3/slf4j-nop-1.5.3.jar:/Users/zabquart/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar:/Users/zabquart/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar:/Users/zabquart/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-repository-metadata/2.2.1/maven-repository-metadata-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar:/Users/zabquart/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-6/wagon-ssh-external-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-6/wagon-ssh-common-1.0-beta-6.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar:/Users/zabquart/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar:/Users/zabquart/.m2/repository/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar:/Users/zabquart/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-6/wagon-ssh-1.0-beta-6.jar:/Users/zabquart/.m2/repository/com/jcraft/jsch/0.1.38/jsch-0.1.38.jar:/Users/zabquart/.m2/repository/classworlds/classworlds/1.1/classworlds-1.1.jar:/Users/zabquart/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar:/Users/zabquart/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/Users/zabquart/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar:/Users/zabquart/.m2/repository/org/flywaydb/flyway-core/4.0.3/flyway-core-4.0.3.jar:/Users/zabquart/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/zabquart/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/zabquart/.m2/repository/org/dbunit/dbunit/2.5.3/dbunit-2.5.3.jar:/Users/zabquart/.m2/repository/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar:/Users/zabquart/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/zabquart/.m2/repository/org/apache/poi/poi-ooxml/3.14/poi-ooxml-3.14.jar:/Users/zabquart/.m2/repository/org/apache/poi/poi/3.14/poi-3.14.jar:/Users/zabquart/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Users/zabquart/.m2/repository/org/apache/poi/poi-ooxml-schemas/3.14/poi-ooxml-schemas-3.14.jar:/Users/zabquart/.m2/repository/org/apache/xmlbeans/xmlbeans/2.6.0/xmlbeans-2.6.0.jar:/Users/zabquart/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/zabquart/.m2/repository/com/github/virtuald/curvesapi/1.03/curvesapi-1.03.jar:/Users/zabquart/.m2/repository/org/jmock/jmock/2.8.2/jmock-2.8.2.jar:/Users/zabquart/.m2/repository/org/jmock/jmock-testjar/2.8.2/jmock-testjar-2.8.2.jar:/Users/zabquart/.m2/repository/cglib/cglib/3.2.0/cglib-3.2.0.jar:/Users/zabquart/.m2/repository/org/apache/ant/ant/1.9.4/ant-1.9.4.jar:/Users/zabquart/.m2/repository/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar:/Users/zabquart/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/Users/zabquart/.m2/repository/org/beanshell/bsh/1.3.0/bsh-1.3.0.jar:/Users/zabquart/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/zabquart/.m2/repository/org/jmock/jmock-legacy/2.8.2/jmock-legacy-2.8.2.jar:/Users/zabquart/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/zabquart/.m2/repository/com/avocetsystems/common/1.11/common-1.11.jar:/Users/zabquart/.m2/repository/com/avocetsystems/ojdbc7/1.0/ojdbc7-1.0.jar com/gulf/application/pidx/PidxApplication To_Local_Database.ini Development.ini
    ---------------------------------------------------------------------------
    
    17:38:35.183 [main] DEBUG com.gulf.application.pidx.PidxApplication - Executing TABS : args = [To_Local_Database.ini, Development.ini]
    17:38:35.193 [main] DEBUG com.gulf.application.pidx.PidxApplication - PidxApplication Args : [To_Local_Database.ini, Development.ini]
    17:38:36.814 [main] DEBUG com.avocetsystems.common.ds.DbConnectionManager - Creating new connection pool HashMap
    17:38:36.826 [main] TRACE com.avocetsystems.common.config.IniBootstrap - Constructor Called
    17:38:36.932 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - Configuration File Added 'To_Local_Database.ini'
    17:38:36.932 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - Configuration File Added 'Development.ini'
    17:38:36.932 [main] TRACE com.avocetsystems.common.config.IniBootstrap - readPreferences Called
    17:38:36.992 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - To_Local_Database.ini successfully loaded
    17:38:36.993 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - Development.ini successfully loaded
    17:38:36.993 [main] DEBUG com.avocetsystems.common.config.IniBootstrap - Available configuration preferences : {/*Removed*/}
    17:38:36.993 [main] TRACE com.gulf.application.pidx.Config - Constructor Called with Ini Files
    17:38:36.993 [main] DEBUG com.gulf.application.pidx.Config - Defaulting MaxLanes to 20
    17:38:36.993 [main] DEBUG com.gulf.application.pidx.Config - Defaulting ApplicationName to TABS
    17:38:36.993 [main] DEBUG com.gulf.application.pidx.Config - Setting TABS LaneSocketRequestListenerPort to 10201
    17:38:36.993 [main] DEBUG com.gulf.application.pidx.Config - Defaulting Version to 2.0
    17:38:36.996 [main] TRACE com.gulf.application.pidx.socket.SocketFactory - Constructor Called
    17:38:36.996 [main] TRACE com.gulf.application.pidx.pdxr.ProcessRequest - Constructor Called
    17:38:37.000 [main] TRACE com.gulf.application.pidx.socket.lane.request.Request - Constructor Called. Port = 10201, IpAddress = 192.168.2.18
    17:38:37.000 [main] TRACE com.gulf.application.pidx.PidxApplication - Constructor Called
    17:38:37.003 [main] TRACE com.gulf.application.pidx.ds.ChangeDateFormat - Constructor Called : Date format is set to MM/DD/YYYY HH24:MI:SS
    17:38:37.013 [main] TRACE com.gulf.application.pidx.ds.SetAutoCommit - Constructor Called : AutoCommit flag was set to NO_AUTO_COMMIT
    17:38:37.450 [main] DEBUG com.avocetsystems.common.ds.DbConnectionManager - Connection Hashcode = 1414008904
    17:38:37.450 [main] DEBUG com.avocetsystems.common.ds.DbConnectionManager - Creating new database connection. oracle.jdbc.pool.OracleDataSource@54481048
    17:38:38.604 [main] TRACE com.avocetsystems.common.ds.DbConnectionManager - Database connection created
    17:38:38.607 [main] TRACE com.avocetsystems.common.ds.DbConnectionManager - Posted DbConnectionEvent
    17:38:38.607 [main] TRACE com.avocetsystems.common.ds.DbConnectionManager - Placed connection in connectionPool
    17:38:39.460 [main] TRACE com.gulf.application.pidx.ds.QueryLocation - Binding values 127.0.0.1 to SQL SELECT DISTINCT LOCATION_ID FROM LANE_STATUS WHERE TABS_IP = ?
    17:38:39.830 [main] TRACE com.avocetsystems.common.ds.SqlCommandCallback - Set CallbackState : SUCCESS, RecordSet : com.avocetsystems.common.ds.CallbackResultSet@4b2e34b8
    17:38:39.833 [main] DEBUG com.gulf.application.pidx.PidxApplication - LocationId set to 5
    17:38:39.837 [main] TRACE com.gulf.application.pidx.ds.QueryExternalServiceInfo - Binding values '5' to SQL SELECT TABS_TCP_PORT, TABS_IP_ADDR, TABS_USER_NUM, TABS_PASSWORD FROM LOCATION WHERE LOCATION_ID = ?
    17:38:39.849 [main] TRACE com.avocetsystems.common.ds.SqlCommandCallback - Set CallbackState : SUCCESS, RecordSet : com.avocetsystems.common.ds.CallbackResultSet@4b829550
    17:38:39.850 [main] DEBUG com.gulf.application.pidx.PidxApplication - Application TABS : Port 50002 on 66.112.153.153 for TTSH1111/SEPT2013
    17:38:39.857 [ProcessRequest] TRACE com.gulf.application.pidx.pdxr.ProcessRequest - Running ProcessRequest
    17:38:39.857 [main] INFO  com.gulf.application.pidx.PidxApplication - TABS version 2.0 is now running.
    17:38:39.857 [Request] DEBUG com.gulf.application.pidx.socket.lane.request.Request - Starting LaneSocketRequestListener on port 10201 for 192.168.2.18
    17:38:39.857 [main] DEBUG com.gulf.application.pidx.PidxApplication - Spinning main thread loop.
    17:38:49.858 [main] DEBUG com.gulf.application.pidx.PidxApplication - Spinning main thread loop.

    Its a threading application, so once the main thread starts spinning, waiting for Socket connections everything is initialized and running.

    And yet, after the build.. Still blows up :( 

     

    As for the classpath option, still no dice with the following. Perhaps my attempt at clearing the class path is improper. I've added the Maven profile.xml sections below the specify how each action is to be run.

    <action>
            <actionName>CUSTOM-Excelsior Build</actionName>
            <displayName>Excelsior Executable Build</displayName>
            <goals>
                <goal>com.excelsiorjet:excelsior-jet-maven-plugin:build</goal>
            </goals>
            <properties>
                    <JETVMPROP>"-Djava.class.path="</JETVMPROP>
            </properties>
        </action>
        <action>
            <actionName>CUSTOM-Excelsior TestRun</actionName>
            <displayName>Excelsior Executable TestRun</displayName>
            <goals>
                <goal>com.excelsiorjet:excelsior-jet-maven-plugin:testrun</goal>
            </goals>
            <properties>
                <jet.runArgs>To_Local_Database.ini,Development.ini</jet.runArgs>
            </properties>
        </action>

     

    Cheers,

    B. Greiner


  6. Unable to upload the .prj file for some reason, so I'm pasting the contents.

    -main=com/gulf/application/pidx/PidxApplication
    -splashgetfrommanifest+
    -outputname=pidx-1.0
    -decor=ht
    -startupprofile=/Users/zabquart/NetBeansProjects/com.gulf.application.pidx/src/main/jetresources/pidx.startup
    %-jetvmprop=
    !classpathentry pidx-1.0.jar
      -optimize=all
      -protect=all
    !end
    !classpathentry lib/ini4j-0.5.4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/log4j-api-2.5.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/log4j-core-2.5.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/guice-4.0-classes.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/javax.inject-1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/aopalliance-1.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/guice-assistedinject-4.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/guice-4.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/guice-throwingproviders-4.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/guava-19.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/flyway-maven-plugin-4.0.3.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-plugin-api-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-artifact-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-project-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-settings-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-profile-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-artifact-manager-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/backport-util-concurrent-3.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-plugin-registry-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/plexus-interpolation-1.11.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/plexus-container-default-1.0-alpha-9-stable-1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-model-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-core-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-file-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-plugin-parameter-documenter-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-http-lightweight-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-http-shared-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/xercesMinimal-1.9.6.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/nekohtml-1.9.6.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-http-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-webdav-jackrabbit-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jackrabbit-webdav-1.5.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jackrabbit-jcr-commons-1.5.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/commons-httpclient-3.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/slf4j-nop-1.5.3.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/slf4j-jdk14-1.5.6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jcl-over-slf4j-1.5.6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-reporting-api-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/doxia-sink-api-1.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/doxia-logging-api-1.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-provider-api-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-repository-metadata-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-error-diagnostics-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/commons-cli-1.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-ssh-external-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-ssh-common-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-plugin-descriptor-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/plexus-interactivity-api-1.0-alpha-4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/maven-monitor-2.2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/wagon-ssh-1.0-beta-6.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jsch-0.1.38.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/classworlds-1.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/plexus-sec-dispatcher-1.4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/plexus-cipher-1.4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/plexus-utils-1.5.15.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/flyway-core-4.0.3.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/junit-4.12.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/hamcrest-core-1.3.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/dbunit-2.5.3.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/slf4j-api-1.7.21.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/commons-collections-3.2.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/poi-ooxml-3.14.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/poi-3.14.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/commons-codec-1.10.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/poi-ooxml-schemas-3.14.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/xmlbeans-2.6.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/stax-api-1.0.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/curvesapi-1.03.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jmock-2.8.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jmock-testjar-2.8.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/cglib-3.2.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/ant-1.9.4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/ant-launcher-1.9.4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/asm-5.0.4.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/bsh-1.3.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/hamcrest-library-1.3.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/jmock-legacy-2.8.2.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/objenesis-2.1.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/common-1.11.jar
      -optimize=autodetect
      -protect=nomatter
    !end
    !classpathentry lib/ojdbc7-1.0.jar
      -optimize=autodetect
      -protect=nomatter
    !end

    And there was no *.jpn file but there was a *.vaz file..

    Not sure if that helps.

    Here is the contents of the *.vaz file

    not implemented feature JSR292: com/avocetsystems/common/ds/DbConnectionManager.registerListeners(Ljava/util/List;)V
    LONGLONGTIME: oracle/jdbc/driver/OracleStatement$1.<clinit>()V
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cCloseStatement(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cDefineExecuteFetch(Loracle/jdbc/driver/OracleStatement;JIIIIZZ[BIBII[SI[B[CII[S[BIIZZ[Loracle/jdbc/driver/Accessor;[[[B[J[Ljava/nio/ByteBuffer;[Ljava/lang/Object;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cDefineFetch(Loracle/jdbc/driver/OracleStatement;JI[S[BII[Loracle/jdbc/driver/Accessor;[J[Ljava/nio/ByteBuffer;[Ljava/lang/Object;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cDescribe(J[S[BIIII[BIZ)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cEndToEndUpdate(J[BI[BI[BI[BI[BII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cFetch(Loracle/jdbc/driver/OracleStatement;JZI[Loracle/jdbc/driver/Accessor;[J[Ljava/nio/ByteBuffer;[Ljava/lang/Object;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cFetchDmlReturnParams(JLoracle/jdbc/driver/OracleStatement;[Loracle/jdbc/driver/Accessor;[B[C[S)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cGetImplicitResultSetCount(Loracle/jdbc/driver/OracleStatement;J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cGetRowsDmlReturned(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CStatement.t2cParseExecuteDescribe(Loracle/jdbc/driver/OracleStatement;JIIIZZZZ[BIBII[SI[B[CII[SII[B[CII[I[S[BIIIIZZ[Loracle/jdbc/driver/Accessor;[[[B[JZ)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.getLibraryVersionNumber()I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cAbort(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBfileClose(J[BI[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBfileExists(J[BI[Z)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBfileGetDirAlias(J[BI)Ljava/lang/String;
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBfileGetName(J[BI)Ljava/lang/String;
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBfileIsOpen(J[BI[Z)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBfileOpen(J[BI[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBlobRead(J[BIJI[BIZLjava/nio/ByteBuffer;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cBlobWrite(J[BIJI[BI[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCancel(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cClearAllApplicationContext(JLjava/lang/String;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cClobRead(J[BIJI[CIZZLjava/nio/ByteBuffer;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cClobWrite(J[BIJI[CI[[BZ)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCloseDrcpConnection(J[BII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCloseProxySession(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCommit(JI)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cConnPoolLogon(J[BI[BI[BI[BI[BIIII[Ljava/lang/String;[BI[BI[BI[BI[BI[B[B[J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCreateConnPool([BI[BI[BISIIIIIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCreateState([BI[BI[BI[BI[BI[BI[BI[BI[BISI[B[B[B[J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cCreateStatement(JJ[BILoracle/jdbc/driver/OracleStatement;ZI)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cDescribeError(JLoracle/jdbc/driver/T2CError;[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cDescribeTable(J[BI[S[BIIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cDoProxySession(JI[BI[BI[BI[BII[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetAsmVolProperty(J)B
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetConnPoolInfo(JLjava/util/Properties;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetConnectionId(J)[B
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetDefaultStreamChunkSize(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetDriverCharSetFromNlsLang()S
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetFormOfUse(JLoracle/jdbc/oracore/OracleTypeCLOB;[BII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetHandles(J[J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetHeapAllocSize(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetImplicitResultSetStatement(JJLoracle/jdbc/driver/OracleStatement;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetInstanceType(J)B
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetOciEnvHeapAllocSize(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetProductionVersion(J)[B
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetSchemaName(J[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetServerSessionInfo(JLjava/util/Properties;)S
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetTDO(J[BI[I)J
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cGetVersionNumber(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobClose(JI[BI[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobCreateTemporary(JIZIS[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobFreeTemporary(JI[BI[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobGetChunkSize(J[BI)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobGetLength(J[BI)J
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobIsOpen(JI[BI[Z)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobIsTemporary(JI[BI[Z)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobOpen(JI[BII[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLobTrim(JIJ[BI[[B)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLogoff(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cLogon(J[BI[BI[BI[BI[BI[BI[BI[BI[BII[B[B[B[J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cOpenDrcpConnection(J[BI[Z)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cPasswordChange(J[BI[BI[BI)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cPingDatabase(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cPlatformIsLittleEndian(J)Z
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cRegisterTAFCallback(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cRollback(J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cSetApplicationContext(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cSetAutoCommit(JZ)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cSetCachedServerVersion(JS)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cSetConnPoolInfo(JIIIIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cSetSessionTimeZone(Ljava/lang/String;)V
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cShutdownDatabase(JI)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cStartupDatabase(JI)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/driver/T2CConnection.t2cUseConnection(JJJJ[B[J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroCloseCallback.t2cDoXaClose(Ljava/lang/String;III)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroResource.t2cDoXaCommit(I[B[BIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroResource.t2cDoXaEnd(I[B[BIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroResource.t2cDoXaForget(I[B[BIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroResource.t2cDoXaPrepare(I[B[BIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroResource.t2cDoXaRollback(I[B[BIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXAHeteroResource.t2cDoXaStart(I[B[BIII)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXADataSource.t2cConvertOciHandles(Ljava/lang/String;[J)I
    not implemented feature NATIVE_WRAPPER: oracle/jdbc/xa/client/OracleXADataSource.t2cDoXaOpen(Ljava/lang/String;III)I
    LONGLONGTIME: oracle/jdbc/driver/T4C8TTIdty.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/NumberCommonAccessor.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/VarnumBinder.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/OraclePreparedStatementReadOnly.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/OracleParameterMetaDataParserStates.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/Redirector.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/Representation.<clinit>()V
    LONGLONGTIME: oracle/sql/LdxLibThin.<clinit>()V
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxadm([BI)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxads([BII)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxchk([B)I
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxdfd(II)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxdtd([B[I[I)V
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxdts([BLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxdts([B[BLjava/lang/String;)Ljava/lang/String;
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxdyf([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxftd([B[I[I)V
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxgdt()[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxldd([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxnxd([BI)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxrnd([BLjava/lang/String;)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxsbm([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxstd(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxsto(Ljava/lang/String;Ljava/lang/String;)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxsub([B[B[I[I)V
    not implemented feature NATIVE_WRAPPER: oracle/sql/LdxLibServer.ldxtrn([BLjava/lang/String;)[B
    LONGLONGTIME: oracle/sql/LnxLibThin.<clinit>()V
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxabs([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxacos([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxadd([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxasin([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxatan([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxatan2([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxbex([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxceil([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxcos([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxcpn(Ljava/lang/String;ZIZILjava/lang/String;)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxcsh([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxdec([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxdiv([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxexp([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxfcn(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxflo([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxfpr([BI)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxinc([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxln([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxlog([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxmin(J)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxmod([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxmul([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxneg([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxnfn([BLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxnur([B)D
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxpow([BI)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxren(D)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxrou([BI)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxsca([BII[Z)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxshift([BI)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxsin([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxsnh([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxsni([B)J
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxsqr([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxsub([B[B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxtan([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxtnh([B)[B
    not implemented feature NATIVE_WRAPPER: oracle/sql/LnxLibServer.lnxtru([BI)[B
    LONGLONGTIME: oracle/net/ns/Packet.<clinit>()V
    LONGLONGTIME: oracle/sql/converter/CharacterSetMetaData.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/CRC64.<clinit>()V
    LONGLONGTIME: oracle/sql/ZONEIDMAP.<clinit>()V
    LONGLONGTIME: oracle/sql/TypeDescriptor.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/PhysicalConnection.readConnectionProperties(Ljava/lang/String;Ljava/util/Properties;)V
    LONGLONGTIME: oracle/jdbc/driver/OracleSqlReadOnly.<clinit>()V
    LONGLONGTIME: oracle/jdbc/driver/OracleSql$1.<clinit>()V
    LONGLONGTIME: org/apache/logging/log4j/LogManager.<clinit>()V
    not implemented feature JSR292: com/avocetsystems/common/ConfigBase.parseIniFiles([Ljava/lang/String;)V
    not implemented feature JSR292: com/avocetsystems/common/ConfigBase.parseIniFiles([Ljava/lang/String;)V
    not implemented feature JSR292: com/avocetsystems/common/ConfigBase.parseIniFiles([Ljava/lang/String;)V
    not implemented feature JSR292: com/gulf/application/pidx/PidxApplication.start()V
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/transaction/Transaction.makeRequest(Ljava/util/Map;Ljava/lang/Number;)Lcom/gulf/application/pidx/pdxr/transaction/ITransactionCallback;
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/transaction/Transaction.makeRequest(Ljava/util/Map;Ljava/lang/Number;)Lcom/gulf/application/pidx/pdxr/transaction/ITransactionCallback;
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/transaction/Transaction.makeRequest(Ljava/util/Map;Ljava/lang/Number;)Lcom/gulf/application/pidx/pdxr/transaction/ITransactionCallback;
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/transaction/Transaction.makeRequest(Ljava/util/Map;Ljava/lang/Number;)Lcom/gulf/application/pidx/pdxr/transaction/ITransactionCallback;
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/ProcessRequest.lambda$processData$17(Lcom/gulf/application/pidx/ServiceProvider$DataService;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;)V
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/ProcessRequest.lambda$processData$2(Lcom/gulf/application/pidx/ServiceProvider$DataService;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)V
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/ProcessRequest.lambda$processData$25(Lcom/gulf/application/pidx/ServiceProvider$DataService;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;)V
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/ProcessRequest.lambda$processData$9(Lcom/gulf/application/pidx/ServiceProvider$DataService;Ljava/lang/Integer;)V
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/ProcessRequest.processData(Ljava/nio/ByteBuffer;)V
    not implemented feature JSR292: com/gulf/application/pidx/pdxr/ProcessRequest.processData(Ljava/nio/ByteBuffer;)V

    Cheers,

    B. Greiner


  7. I set about automating a build process for a project I am working on, using Maven with the Excelsior Maven plugin. Everything seemed to work pretty well right out of the box. After setting up the configuration, it built immediately. 

    Let me also preface this with, it works 100% perfect from Netbeans IDE and running before compiling.

    The problem occurred when I attempted to run the excelsior jet compiled native application. It fails when attempting to create an Oracle Connection instance 

    Connection conn = ods.getConnection();

    with the following stack trace. 

    Jan 05, 2017 4:37:45 PM oracle.jdbc.driver.OracleDriver registerMBeans
    WARNING: Error while registering Oracle JDBC Diagnosability MBean.
    javax.management.NotCompliantMBeanException: Bad getMBeanInfo()
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(Unknown Source)
    	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver.registerMBeans(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver$1.<unknown>(Unknown Source)
    	at java.security.AccessController.<unknown>(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver.<clinit>(Unknown Source)
    	at oracle.jdbc.driver.OracleDriver.getSystemPropertyFastConnectionFailover(Unknown Source)
    	at oracle.jdbc.pool.OracleDataSource.<clinit>(Unknown Source)
    	at com.gulf.application.pidx.ds.oracle.DbConnection.getPrimaryConnection(Unknown Source)
    	at com.gulf.application.pidx.PidxApplication.start(Unknown Source)
    	at com.gulf.application.pidx.PidxApplication.main(Unknown Source)
    Caused by: java.lang.SecurityException: sealing violation: package oracle.jdbc.driver is sealed
    	at java.net.URLClassLoader.getAndVerifyPackage(Unknown Source)
    	at java.net.URLClassLoader.definePackageInternal(Unknown Source)
    	at java.net.URLClassLoader.defineClass(Unknown Source)
    	at java.net.URLClassLoader.access$100(Unknown Source)
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.net.URLClassLoader$1.<unknown>(Unknown Source)
    	at java.security.AccessController.<unknown>(Unknown Source)
    	at java.net.URLClassLoader.findClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.Class.<unknown>(Unknown Source)
    	at java.lang.Class.forName(Unknown Source)
    	at java.lang.Class.<unknown>(Unknown Source)
    	at oracle.jdbc.driver.DatabaseError.findMessage(Unknown Source)
    	at oracle.jdbc.driver.OracleDiagnosabilityMBean.getDescription(Unknown Source)
    	at javax.management.StandardMBean.getMBeanInfo(Unknown Source)
    	... 12 more

    Now of course first thing you do when you encounter an error assume it's your own fault. So I open google and start investigating. Most posts talk about having two Jar files in the classpath, oracle then freaks out because it expects only one because its 'sealed'. However this doesn't make a whole ton of sense because that should only matter when running the java JRE, and that works fine. But maybe one of my other dependencies has a reference to the same oracle ojdbc library.. So I ran the following maven command.. 

    mvn dependency:tree -Dverbose=true
    [INFO] Scanning for projects...
    [INFO]                                                                         
    [INFO] ------------------------------------------------------------------------
    [INFO] Building com.gulf.application.pidx 1.0
    [INFO] ------------------------------------------------------------------------
    [INFO] 
    [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ pidx ---
    [INFO] com.gulf.application:pidx:jar:1.0
    [INFO] +- org.ini4j:ini4j:jar:0.5.4:compile
    [INFO] +- org.apache.logging.log4j:log4j-api:jar:2.5:compile
    [INFO] +- org.apache.logging.log4j:log4j-core:jar:2.5:compile
    [INFO] |  \- (org.apache.logging.log4j:log4j-api:jar:2.5:compile - omitted for duplicate)
    [INFO] +- com.google.inject:guice:jar:classes:4.0:compile
    [INFO] |  +- javax.inject:javax.inject:jar:1:compile
    [INFO] |  +- aopalliance:aopalliance:jar:1.0:compile
    [INFO] |  \- (com.google.guava:guava:jar:16.0.1:compile - omitted for conflict with 19.0)
    [INFO] +- com.google.inject.extensions:guice-assistedinject:jar:4.0:compile
    [INFO] |  \- com.google.inject:guice:jar:4.0:compile
    [INFO] |     +- (javax.inject:javax.inject:jar:1:compile - omitted for duplicate)
    [INFO] |     +- (aopalliance:aopalliance:jar:1.0:compile - omitted for duplicate)
    [INFO] |     \- (com.google.guava:guava:jar:16.0.1:compile - omitted for duplicate)
    [INFO] +- com.google.inject.extensions:guice-throwingproviders:jar:4.0:compile
    [INFO] |  \- (com.google.inject:guice:jar:4.0:compile - omitted for duplicate)
    [INFO] +- com.google.guava:guava:jar:19.0:compile
    [INFO] +- org.flywaydb:flyway-maven-plugin:jar:4.0.3:compile
    [INFO] |  +- org.apache.maven:maven-plugin-api:jar:2.2.1:compile
    [INFO] |  +- org.apache.maven:maven-artifact:jar:2.2.1:compile
    [INFO] |  |  \- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  +- org.apache.maven:maven-project:jar:2.2.1:compile
    [INFO] |  |  +- org.apache.maven:maven-settings:jar:2.2.1:compile
    [INFO] |  |  |  +- (org.apache.maven:maven-model:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-interpolation:jar:1.11:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-profile:jar:2.2.1:compile
    [INFO] |  |  |  +- (org.apache.maven:maven-model:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-interpolation:jar:1.11:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- (org.apache.maven:maven-model:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
    [INFO] |  |  |  +- (org.apache.maven:maven-repository-metadata:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.apache.maven:maven-artifact:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  |  \- backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
    [INFO] |  |  +- org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
    [INFO] |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  +- (org.apache.maven:maven-artifact:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
    [INFO] |  |     +- (junit:junit:jar:3.8.1:compile - omitted for conflict with 4.12)
    [INFO] |  |     +- (org.codehaus.plexus:plexus-utils:jar:1.0.4:compile - omitted for conflict with 1.5.15)
    [INFO] |  |     \- (classworlds:classworlds:jar:1.1-alpha-2:compile - omitted for conflict with 1.1)
    [INFO] |  +- org.apache.maven:maven-model:jar:2.2.1:compile
    [INFO] |  |  \- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  +- org.apache.maven:maven-core:jar:2.2.1:compile
    [INFO] |  |  +- (org.apache.maven:maven-settings:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-6:runtime
    [INFO] |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:runtime - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-6:compile
    [INFO] |  |  |  +- org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile
    [INFO] |  |  |  |  +- nekohtml:xercesMinimal:jar:1.9.6.2:compile
    [INFO] |  |  |  |  +- nekohtml:nekohtml:jar:1.9.6.2:compile
    [INFO] |  |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven.wagon:wagon-http:jar:1.0-beta-6:compile
    [INFO] |  |  |  +- (org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:1.0-beta-6:runtime
    [INFO] |  |  |  +- (org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-6:runtime - omitted for duplicate)
    [INFO] |  |  |  +- org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.0:runtime
    [INFO] |  |  |  |  +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.0:runtime
    [INFO] |  |  |  |  +- (org.slf4j:slf4j-api:jar:1.5.3:runtime - omitted for conflict with 1.5.6)
    [INFO] |  |  |  |  \- commons-httpclient:commons-httpclient:jar:3.0:runtime
    [INFO] |  |  |  |     \- (commons-codec:commons-codec:jar:1.2:runtime - omitted for conflict with 1.10)
    [INFO] |  |  |  +- org.slf4j:slf4j-nop:jar:1.5.3:runtime
    [INFO] |  |  |  |  \- (org.slf4j:slf4j-api:jar:1.5.3:runtime - omitted for duplicate)
    [INFO] |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:runtime - omitted for duplicate)
    [INFO] |  |  +- org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
    [INFO] |  |  |  \- (org.slf4j:slf4j-api:jar:1.5.6:runtime - omitted for conflict with 1.7.21)
    [INFO] |  |  +- org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
    [INFO] |  |  +- org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
    [INFO] |  |  |  +- org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
    [INFO] |  |  |  |  \- (org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile - omitted for duplicate)
    [INFO] |  |  |  \- org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
    [INFO] |  |  |     \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-30:compile - omitted for conflict with 1.0-alpha-9-stable-1)
    [INFO] |  |  +- (org.apache.maven:maven-profile:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- (org.apache.maven:maven-model:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- (org.apache.maven:maven-artifact:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-utils:jar:1.4.2:compile - omitted for conflict with 1.5.15)
    [INFO] |  |  +- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- (org.apache.maven:maven-project:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- commons-cli:commons-cli:jar:1.2:compile
    [INFO] |  |  +- (org.apache.maven:maven-plugin-api:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-6:runtime
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.4.2:runtime - omitted for conflict with 1.5.15)
    [INFO] |  |  |  +- (org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile - scope updated from runtime; omitted for duplicate)
    [INFO] |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:runtime - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
    [INFO] |  |  |  +- (org.apache.maven:maven-plugin-api:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  |  +- (org.apache.maven:maven-artifact:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile - omitted for duplicate)
    [INFO] |  |  +- org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
    [INFO] |  |  |  \- (classworlds:classworlds:jar:1.1-alpha-2:compile - omitted for duplicate)
    [INFO] |  |  +- (org.apache.maven:maven-artifact-manager:jar:2.2.1:compile - omitted for duplicate)
    [INFO] |  |  +- org.apache.maven:maven-monitor:jar:2.2.1:compile
    [INFO] |  |  +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-6:compile
    [INFO] |  |  |  +- com.jcraft:jsch:jar:0.1.38:compile
    [INFO] |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.4.2:compile - omitted for conflict with 1.5.15)
    [INFO] |  |  |  +- org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-6:compile
    [INFO] |  |  |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.4.2:compile - omitted for conflict with 1.5.15)
    [INFO] |  |  |  |  +- (org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:compile - omitted for conflict with 1.0-alpha-4)
    [INFO] |  |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  |  \- (org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile - omitted for duplicate)
    [INFO] |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.15:compile - omitted for duplicate)
    [INFO] |  |  +- classworlds:classworlds:jar:1.1:compile
    [INFO] |  |  \- (org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile - omitted for conflict with 1.4)
    [INFO] |  +- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:compile
    [INFO] |  |  +- (org.codehaus.plexus:plexus-utils:jar:1.5.5:compile - omitted for conflict with 1.5.15)
    [INFO] |  |  \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
    [INFO] |  +- org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
    [INFO] |  \- org.flywaydb:flyway-core:jar:4.0.3:compile
    [INFO] +- junit:junit:jar:4.12:compile
    [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:compile
    [INFO] +- org.dbunit:dbunit:jar:2.5.3:compile
    [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.21:compile
    [INFO] |  +- (junit:junit:jar:4.12:compile - omitted for duplicate)
    [INFO] |  +- commons-collections:commons-collections:jar:3.2.2:compile
    [INFO] |  \- org.apache.poi:poi-ooxml:jar:3.14:compile
    [INFO] |     +- org.apache.poi:poi:jar:3.14:compile
    [INFO] |     |  \- commons-codec:commons-codec:jar:1.10:compile
    [INFO] |     +- org.apache.poi:poi-ooxml-schemas:jar:3.14:compile
    [INFO] |     |  \- org.apache.xmlbeans:xmlbeans:jar:2.6.0:compile
    [INFO] |     |     \- stax:stax-api:jar:1.0.1:compile
    [INFO] |     \- com.github.virtuald:curvesapi:jar:1.03:compile
    [INFO] +- org.jmock:jmock:jar:2.8.2:compile
    [INFO] |  +- (junit:junit:jar:4.12:compile - omitted for duplicate)
    [INFO] |  +- org.jmock:jmock-testjar:jar:2.8.2:compile
    [INFO] |  +- cglib:cglib:jar:3.2.0:compile
    [INFO] |  |  +- (org.ow2.asm:asm:jar:5.0.3:compile - omitted for conflict with 5.0.4)
    [INFO] |  |  \- org.apache.ant:ant:jar:1.9.4:compile
    [INFO] |  |     \- org.apache.ant:ant-launcher:jar:1.9.4:compile
    [INFO] |  +- org.ow2.asm:asm:jar:5.0.4:compile
    [INFO] |  +- org.beanshell:bsh:jar:1.3.0:compile
    [INFO] |  \- org.hamcrest:hamcrest-library:jar:1.3:compile
    [INFO] |     \- (org.hamcrest:hamcrest-core:jar:1.3:compile - omitted for duplicate)
    [INFO] +- org.jmock:jmock-legacy:jar:2.8.2:compile
    [INFO] |  +- (org.jmock:jmock:jar:2.8.2:compile - omitted for duplicate)
    [INFO] |  \- org.objenesis:objenesis:jar:2.1:compile
    [INFO] +- com.avocetsystems:common:jar:1.1:compile
    [INFO] |  +- (org.ini4j:ini4j:jar:0.5.4:compile - omitted for duplicate)
    [INFO] |  +- (org.apache.logging.log4j:log4j-api:jar:2.5:compile - omitted for duplicate)
    [INFO] |  +- (org.apache.logging.log4j:log4j-core:jar:2.5:compile - omitted for duplicate)
    [INFO] |  +- (com.google.inject:guice:jar:classes:4.0:compile - omitted for duplicate)
    [INFO] |  +- (com.google.inject.extensions:guice-assistedinject:jar:4.0:compile - omitted for duplicate)
    [INFO] |  +- (com.google.inject.extensions:guice-throwingproviders:jar:4.0:compile - omitted for duplicate)
    [INFO] |  +- (com.google.guava:guava:jar:19.0:compile - omitted for duplicate)
    [INFO] |  +- (junit:junit:jar:4.12:compile - omitted for duplicate)
    [INFO] |  +- (org.jmock:jmock:jar:2.8.2:compile - omitted for duplicate)
    [INFO] |  \- (org.jmock:jmock-legacy:jar:2.8.2:compile - omitted for duplicate)
    [INFO] \- com.avocetsystems:ojdbc7:jar:1.0:compile
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.692 s
    [INFO] Finished at: 2017-01-05T17:20:33-05:00
    [INFO] Final Memory: 16M/440M
    [INFO] ------------------------------------------------------------------------

    But as you can see only one reference to the ojdbc7 (and also tried this with ojdbc6 as well, both work fine outside of the Jet build). So having duplicate dependencies doesn't seem to be the cause. I am left scratching my head... I can't think of any obvious things that I might have missed that would allow it to work outside of the Jet build but not inside. So I thought I would report this and perhaps it is a bug, or perhaps I did miss something obvious. In either case, wasn't able to find much help on the topic online. 

    I look forward to any assistance that can be provided.

    System information: 

    Using Excelsior Jet 11.3 for OSX

    Mac Os Sierra 10.12.1;  2.5 GHz Intel Core i7; 16 GB 1600 MHz DDR3

    Java 8 Update 101.  

     

×