Coder Social home page Coder Social logo

Comments (21)

indiv0 avatar indiv0 commented on July 30, 2024

Can you post your pom.xml?

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

I just tested on CentOS 6.3 with Maven 3.1.0 and mvn package ran without issue. I suspect there is something with your environment.

Please attach the output of:
java -version
mvn -version
alternatives --display java
env

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

Thanks for your help. As I say, It's probably not from the Hikari lib.

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:5
2+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /opt/jdk1.7.0_51/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.5.1.el6.x86_64", arch: "amd64", family: "
unix"

java - status est manuel.
le lien pointe actuellement sur /opt/jdk1.7.0_51/bin/java
/opt/jdk1.7.0_51/bin/java - priorité 2
La « meilleure » version courante est /opt/jdk1.7.0_51/bin/java.

HOSTNAME=DEV-HOPPERTIZ
SHELL=/bin/bash
TERM=cygwin
HISTSIZE=1000
SSH_CLIENT=10.29.1.250 55979 22
OLDPWD=/home/tomcat/test
SSH_TTY=/dev/pts/0
USER=tomcat
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd
=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;4
2:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:
*.lzma=01;31:
.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:
*.gz=01;31:
.lz=01;31:.xz=01;31:.bz2=01;31:.tbz=01;31:.tbz2=01;31:.bz=01;31
:
.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.rar=01;31:.ace=01;31:.zoo=01
;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bm
p=01;35:
.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:
*.tif=01;35:
.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=
01;35:
.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.ogm=01;35:
.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;
35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv
=01;35:
.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.e
mf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=01;36:.au=01;36:
.flac=01;36:.mid=01;36:.midi=01;36:.mka=01;36:.mp3=01;36:.mpc=01;36:.ogg=
01;36:
.ra=01;36:.wav=01;36:.axa=01;36:.oga=01;36:.spx=01;36:*.xspf=01;36:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
MAIL=/var/spool/mail/root
PWD=/home/tomcat/hoppertiz
JAVA_HOME=/opt/jdk1.7.0_51/
LANG=fr_FR.UTF-8
HISTCONTROL=ignoredups
HOME=/home/tomcat
SHLVL=2
LOGNAME=tomcat
SSH_CONNECTION=10.29.1.250 55979 10.29.1.161 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env


4.0.0
com.whcsc.hoppertiz
hoppertiz
0.1-SNAPSHOT
war

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.0.0.RC4</version>
</parent>

<profiles>
    <profile>
        <id>dev</id>
        <!--
                    <activation>
                        <activeByDefault>true</activeByDefault>
                    </activation>-->
        <properties>
            <!-- Spring profile to use -->
            <spring.profiles.active>dev</spring.profiles.active>
            <!-- log configuration -->
            <logback.loglevel>DEBUG</logback.loglevel>
        </properties>
    </profile>
    <profile>
        <id>prod</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <!-- Spring profile to use -->
            <spring.profiles.active>prod</spring.profiles.active>
            <!-- log configuration -->
            <logback.loglevel>INFO</logback.loglevel>
            <logback.appender>CONSOLE</logback.appender>
        </properties>
        <build>
            <plugins>
                <plugin>
                    <groupId>com.github.trecloux</groupId>
                    <artifactId>yeoman-maven-plugin</artifactId>
                    <version>0.1</version>
                    <configuration>
                        <yeomanProjectDirectory>${project.basedir}</yeomanProjectDirectory>
                    </configuration>
                    <executions>
                        <execution>
                            <id>run-grunt</id>
                            <phase>generate-resources</phase>
                            <goals>
                                <goal>build</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                        <filesets>
                            <fileset>
                                <directory>dist</directory>
                            </fileset>
                            <fileset>
                                <directory>.tmp</directory>
                            </fileset>
                            <fileset>
                                <directory>node_modules</directory>
                            </fileset>
                        </filesets>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <configuration>
                        <arguments>
                            <argument>--spring.profiles.active=prod</argument>
                        </arguments>
                    </configuration>
                </plugin>
                <!--
                <plugin>
                    <artifactId>maven-war-plugin</artifactId>
                    <version>2.3</version>
                    <configuration>
                        <webResources>
                            <resource>
                                <directory>src/main/webapp/dist</directory>
                            </resource>
                        </webResources>
                    </configuration>
                </plugin>
                -->
            </plugins>
        </build>
    </profile>
</profiles>

<properties>
    <!-- Maven build properties -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.version>1.7</java.version>

    <metrics-spring.version>3.0.0-RC4</metrics-spring.version>
    <HikariCP.version>1.3.3</HikariCP.version>
    <commons-lang.version>2.6</commons-lang.version>
    <commons-io.version>2.4</commons-io.version>
    <javax.inject.version>1</javax.inject.version>
    <joda-time-hibernate.version>1.3</joda-time-hibernate.version>
    <geronimo-javamail_1.4_mail.version>1.8.3</geronimo-javamail_1.4_mail.version>
    <usertype.core.version>3.1.0.CR10</usertype.core.version>
    <springloaded.version>1.2.0.BUILD-20140214.165636-1</springloaded.version>
    <awaitility.version>1.4.0</awaitility.version>
    <json-path.version>0.9.1</json-path.version>
    <assertj-core.version>1.5.0</assertj-core.version>
    <maven-enforcer-plugin.version>1.3.1</maven-enforcer-plugin.version>
    <sonar-maven-plugin.version>2.2</sonar-maven-plugin.version>

    <postgresql.version>9.3-1100-jdbc41</postgresql.version>
</properties>

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>http://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
    <repository>
        <id>spring-snapshots</id>
        <name>Spring Snapshots</name>
        <url>http://repo.spring.io/snapshot</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
    <repository>
        <id>org.jboss.repository.releases</id>
        <name>JBoss Maven Release Repository</name>
        <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>
<pluginRepositories>
    <pluginRepository>
        <id>spring-snapshots</id>
        <url>http://repo.spring.io/libs-snapshot</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </pluginRepository>
    <pluginRepository>
        <id>spring-milestones</id>
        <url>http://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </pluginRepository>
</pluginRepositories>

<prerequisites>
    <maven>3.0.0</maven>
</prerequisites>

<dependencies>
    <dependency>
        <groupId>com.codahale.metrics</groupId>
        <artifactId>metrics-core</artifactId>
    </dependency>
    <dependency>
        <groupId>com.codahale.metrics</groupId>
        <artifactId>metrics-ehcache</artifactId>
        <version>${codahale-metrics.version}</version>
    </dependency>
    <dependency>
        <groupId>com.codahale.metrics</groupId>
        <artifactId>metrics-graphite</artifactId>
    </dependency>
    <dependency>
        <groupId>com.codahale.metrics</groupId>
        <artifactId>metrics-jvm</artifactId>
        <version>${codahale-metrics.version}</version>
    </dependency>
    <dependency>
        <groupId>com.codahale.metrics</groupId>
        <artifactId>metrics-servlet</artifactId>
        <version>${codahale-metrics.version}</version>
    </dependency>
    <dependency>
        <groupId>com.codahale.metrics</groupId>
        <artifactId>metrics-servlets</artifactId>
        <exclusions>
            <exclusion>
                <groupId>com.codahale.metrics</groupId>
                <artifactId>metrics-healthchecks</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>com.fasterxml.jackson.datatype</groupId>
        <artifactId>jackson-datatype-json-org</artifactId>
        <version>${jackson.version}</version>
    </dependency>
    <dependency>
        <groupId>com.fasterxml.jackson.datatype</groupId>
        <artifactId>jackson-datatype-hppc</artifactId>
        <version>${jackson.version}</version>
    </dependency>
    <dependency>
        <groupId>com.fasterxml.jackson.datatype</groupId>
        <artifactId>jackson-datatype-joda</artifactId>
    </dependency>
    <dependency>
        <groupId>com.ryantenney.metrics</groupId>
        <artifactId>metrics-spring</artifactId>
        <version>${metrics-spring.version}</version>
    </dependency>
    <dependency>
        <groupId>com.zaxxer</groupId>
        <artifactId>HikariCP</artifactId>
        <version>${HikariCP.version}</version>
        <exclusions>
            <exclusion>
                <groupId>com.sun</groupId>
                <artifactId>tools</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <!-- The HikariCP Java Agent is disabled by default, as it is experimental
    <dependency>
        <groupId>com.zaxxer</groupId>
        <artifactId>HikariCP-agent</artifactId>
        <version>1.3.0</version>
    </dependency>
    -->
    <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
        <version>${commons-lang.version}</version>
    </dependency>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io.version}</version>
    </dependency>
    <dependency>
        <groupId>javax.inject</groupId>
        <artifactId>javax.inject</artifactId>
        <version>${javax.inject.version}</version>
    </dependency>
    <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
    </dependency>
    <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time-hibernate</artifactId>
        <version>${joda-time-hibernate.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.geronimo.javamail</groupId>
        <artifactId>geronimo-javamail_1.4_mail</artifactId>
        <version>${geronimo-javamail_1.4_mail.version}</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>${hibernate-entitymanager.version}</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-entitymanager</artifactId>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-ehcache</artifactId>
        <version>${hibernate-entitymanager.version}</version>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-validator</artifactId>
    </dependency>
    <dependency>
        <groupId>org.jadira.usertype</groupId>
        <artifactId>usertype.core</artifactId>
        <version>${usertype.core.version}</version>
    </dependency>
    <dependency>
        <groupId>org.liquibase</groupId>
        <artifactId>liquibase-core</artifactId>
    </dependency>
    <dependency>
        <groupId>org.liquibase.ext</groupId>
        <artifactId>liquibase-hibernate4</artifactId>
        <version>3.3</version>
        <exclusions>
            <exclusion>
                <groupId>org.hibernate.javax.persistence</groupId>
                <artifactId>hibernate-jpa-2.0-api</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-actuator</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-autoconfigure</artifactId>
        <version>${spring-boot.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-loader-tools</artifactId>
        <version>${spring-boot.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-logging</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-aop</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-security</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-tomcat</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-thymeleaf</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context-support</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springsource.loaded</groupId>
        <artifactId>springloaded</artifactId>
        <version>${springloaded.version}</version>
        <scope>provided</scope>
    </dependency>

    <!-- Database dependencies-->
    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>9.3-1100-jdbc41</version>
    </dependency>


    <!-- Test dependencies -->
    <dependency>
        <groupId>com.jayway.awaitility</groupId>
        <artifactId>awaitility</artifactId>
        <version>${awaitility.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.jayway.jsonpath</groupId>
        <artifactId>json-path</artifactId>
        <version>${json-path.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.assertj</groupId>
        <artifactId>assertj-core</artifactId>
        <version>${assertj-core.version}</version>
        <scope>test</scope>
    </dependency>
</dependencies>
<build>
    <resources>
        <resource>
            <directory>src/main/resources</directory>
            <filtering>true</filtering>
            <includes>
                <include>**/*</include>
            </includes>
        </resource>
    </resources>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
            <version>${maven-enforcer-plugin.version}</version>
            <executions>
                <execution>
                    <id>enforce-versions</id>
                    <goals>
                        <goal>enforce</goal>
                    </goals>
                    <configuration>
                        <rules>
                            <requireMavenVersion>
                                <message>You are running an older version of Maven. JHipster requires at least Maven
                                    3.0
                                </message>
                                <version>[3.0.0,)</version>
                            </requireMavenVersion>
                            <requireJavaVersion>
                                <message>You are running an older version of Java. JHipster requires at least JDK
                                    1.7
                                </message>
                                <version>[1.7.0,)</version>
                            </requireJavaVersion>
                        </rules>
                    </configuration>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
                <argLine>-XX:MaxPermSize=128m -Xmx256m</argLine>
                <forkCount>1</forkCount>
                <reuseForks>false</reuseForks>
                <!-- Force alphabetical order to have a reproducible build -->
                <runOrder>alphabetical</runOrder>
                <classpathDependencyExcludes>
                    <classpathDependencyExclude>org.springsource.loaded:springloaded</classpathDependencyExclude>
                </classpathDependencyExcludes>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <configuration>
                <packagingExcludes>WEB-INF/lib/tomcat-*.jar</packagingExcludes>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-eclipse-plugin</artifactId>
            <configuration>
                <downloadSources>true</downloadSources>
                <downloadJavadocs>true</downloadJavadocs>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>sonar-maven-plugin</artifactId>
            <version>${sonar-maven-plugin.version}</version>
        </plugin>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <configuration>
                <arguments>
                    <argument>--spring.profiles.active=dev</argument>
                </arguments>
            </configuration>
        </plugin>
    </plugins>
</build>

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

Everything looks fine, two things you might try:

First, try setting the type of the HikariCP dependency to jar in your pom: <type>jar</type>. Then try the build.

If you get a similar error, can you try the HikariCP 1.3.4-SNAPHOT? I noticed you had some exclusions for HikariCP:

<exclusions>
   <exclusion>
       <groupId>com.sun</groupId>
       <artifactId>tools</artifactId>
   </exclusion>
</exclusions>

I've removed these from the 1.3.4 pom, so you can remove those exclusions:

git clone https://github.com/brettwooldridge/HikariCP.git
cd HikariCP
git checkout dev
mvn install

Then reference version 1.3.4-SNAPSHOT in your pom.

Can you paste the error you are getting if all of that still fails?

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

I've try it and it's still fail.

Here are the .git zip with the project and a maven.log with -X -e

http://goo.gl/pFJUQN

Thanks a lot

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

Ok, I think I found the issue. Due to how we used to do things back when we used JVM instrumentation to generate proxy classes, we were setting the Thread context ClassLoader in a static initializer before proxy generation. I think this is no longer necessary.

Basically, the exception you see in the stack comes from the static initialization of HikariConfig, which causes the static initialization in JavassistProxyFactory to run, and in that static initializer an exception was being thrown (probably due to using the context ClassLoader).

I have checked in a proposed fix to the dev branch. If you can do a "git pull" and "mvn install" of HikariCP again, I think it should work now.

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

Thanks a lot for your reactivity.

I check and build with :

public final class JavassistProxyFactory
{
private ClassPool classPool;

static
{
    try
    {
        JavassistProxyFactory proxyFactoryFactory = new JavassistProxyFactory();
        proxyFactoryFactory.modifyProxyFactory();
    }
    catch (Exception e)
    {
        throw new RuntimeException(e);
    }
}

It's strange if you've reproduced the issue and fixed it. I hope i don't miss something.

My pom have Hikari with 1.3.4-SNAPSHOT (i've updated the maven.log from http://goo.gl/pFJUQN)

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

It was just a guess based on the exception stack trace. I tried to build
your project but it fails installing one of the npm modules (from
npm-debug.log):

447 http GET https://registry.npmjs.org/maxmin
448 http 304 https://registry.npmjs.org/findup-sync
449 silly registry.get cb [ 304,
449 silly registry.get { date: 'Thu, 20 Mar 2014 15:47:50 GMT',
449 silly registry.get server: 'Apache',
449 silly registry.get via: '1.1 varnish',
449 silly registry.get 'last-modified': 'Thu, 20 Mar 2014 15:47:02 GMT',
449 silly registry.get 'cache-control': 'max-age=1',
449 silly registry.get etag: '"61FQ6KRDJ9SM2YOBCMNS5EFKY"',
449 silly registry.get 'x-served-by': 'cache-ty66-TYO',
449 silly registry.get 'x-cache': 'HIT',
449 silly registry.get 'x-cache-hits': '2',
449 silly registry.get 'x-timer': 'S1395330470.656370401,VS0,VE0',
449 silly registry.get vary: 'Accept',
449 silly registry.get 'content-length': '0',
449 silly registry.get 'keep-alive': 'timeout=10, max=50',
449 silly registry.get connection: 'Keep-Alive' } ]
450 verbose etag findup-sync from cache
451 silly lockFile 66eef810-findup-sync-0-1-2 findup-sync@^0.1.2
452 silly lockFile 66eef810-findup-sync-0-1-2 findup-sync@^0.1.2
453 verbose about to build
/Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks
454 info /Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks
unbuild
455 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks/package.json
456 info preuninstall [email protected]
457 info uninstall [email protected]
458 verbose
true,/Users/brettw/Downloads/git/bar/node_modules,/Users/brettw/Downloads/git/bar/node_modules
unbuild [email protected]
459 info postuninstall [email protected]
460 error Error: No compatible version found: findup-sync@'^0.1.2'
460 error Valid install targets:
460 error ["0.1.0","0.1.1","0.1.2","0.1.3"]
460 error at installTargetsError
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:719:10)
460 error at
/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:641:10
460 error at saved
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
460 error at Object.oncomplete (fs.js:107:15)
461 error If you need help, you may report this log at:
461 error http://github.com/isaacs/npm/issues
461 error or email it to:
461 error [email protected]
462 error System Darwin 13.1.0
463 error command "/usr/local/Cellar/node/0.10.12/bin/node"
"/usr/local/bin/npm" "install"
464 error cwd /Users/brettw/Downloads/git/bar
465 error node -v v0.10.12
466 error npm -v 1.2.32
467 verbose exit [ 1, true ]

In the meantime, I did just checking another change that will hopefully log
a more detailed error when the exception occurs. You can pull and "mvn
install" and give it a try. If you get a log with a stack trace send it to
me.

Brett

On Fri, Mar 21, 2014 at 12:03 AM, ggaulard [email protected] wrote:

Thanks a lot for your reactivity.

I check and build with :

public final class JavassistProxyFactory
{
private ClassPool classPool;

static
{
try
{
JavassistProxyFactory proxyFactoryFactory = new JavassistProxyFactory();
proxyFactoryFactory.modifyProxyFactory();
}
catch (Exception e)
{
throw new RuntimeException(e);
}
}

It's strange if you've reproduced the issue and fixed it. I hope i don't
miss something.

My pom have Hikari with 1.3.4-SNAPSHOT (i've updated the maven.log from
http://goo.gl/pFJUQN)

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38177593
.

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

I don't know why, but I did "mvn clean" then "mvm package" again an it got
further, then failed. Then I did it again, and it got further. But now,
it seems I am at the end and it always fails here now:

2393 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/grunt-contrib-connect/package.json
2394 silly addNameRange { name: 'gaze', range: '>=0.5.1- <0.6.0-', hasData:
false }
2395 verbose readDependencies using package.json deps
2396 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/grunt-contrib-connect/package.json
2397 error Error: No compatible version found: findup-sync@'^0.1.2'
2397 error Valid install targets:
2397 error ["0.1.0","0.1.1","0.1.2","0.1.3"]
2397 error at installTargetsError
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:719:10)
2397 error at
/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:641:10
2397 error at saved
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
2397 error at Object.oncomplete (fs.js:107:15)
2398 error If you need help, you may report this log at:
2398 error http://github.com/isaacs/npm/issues
2398 error or email it to:
2398 error [email protected]
2399 error System Darwin 13.1.0
2400 error command "/usr/local/Cellar/node/0.10.12/bin/node"
"/usr/local/bin/npm" "install"
2401 error cwd /Users/brettw/Downloads/git/bar
2402 error node -v v0.10.12
2403 error npm -v 1.2.32
2404 verbose exit [ 1, true ]

On Fri, Mar 21, 2014 at 12:52 AM, Brett Wooldridge <
[email protected]> wrote:

It was just a guess based on the exception stack trace. I tried to build
your project but it fails installing one of the npm modules (from
npm-debug.log):

447 http GET https://registry.npmjs.org/maxmin
448 http 304 https://registry.npmjs.org/findup-sync
449 silly registry.get cb [ 304,
449 silly registry.get { date: 'Thu, 20 Mar 2014 15:47:50 GMT',
449 silly registry.get server: 'Apache',
449 silly registry.get via: '1.1 varnish',
449 silly registry.get 'last-modified': 'Thu, 20 Mar 2014 15:47:02
GMT',
449 silly registry.get 'cache-control': 'max-age=1',
449 silly registry.get etag: '"61FQ6KRDJ9SM2YOBCMNS5EFKY"',
449 silly registry.get 'x-served-by': 'cache-ty66-TYO',
449 silly registry.get 'x-cache': 'HIT',
449 silly registry.get 'x-cache-hits': '2',
449 silly registry.get 'x-timer': 'S1395330470.656370401,VS0,VE0',
449 silly registry.get vary: 'Accept',
449 silly registry.get 'content-length': '0',
449 silly registry.get 'keep-alive': 'timeout=10, max=50',
449 silly registry.get connection: 'Keep-Alive' } ]
450 verbose etag findup-sync from cache
451 silly lockFile 66eef810-findup-sync-0-1-2 findup-sync@^0.1.2
452 silly lockFile 66eef810-findup-sync-0-1-2 findup-sync@^0.1.2
453 verbose about to build
/Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks
454 info /Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks
unbuild
455 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks/package.json
456 info preuninstall [email protected]
457 info uninstall [email protected]
458 verbose
true,/Users/brettw/Downloads/git/bar/node_modules,/Users/brettw/Downloads/git/bar/node_modules
unbuild [email protected]
459 info postuninstall [email protected]
460 error Error: No compatible version found: findup-sync@'^0.1.2'
460 error Valid install targets:
460 error ["0.1.0","0.1.1","0.1.2","0.1.3"]
460 error at installTargetsError
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:719:10)
460 error at
/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:641:10
460 error at saved
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
460 error at Object.oncomplete (fs.js:107:15)
461 error If you need help, you may report this log at:
461 error http://github.com/isaacs/npm/issues
461 error or email it to:
461 error [email protected]
462 error System Darwin 13.1.0
463 error command "/usr/local/Cellar/node/0.10.12/bin/node"
"/usr/local/bin/npm" "install"
464 error cwd /Users/brettw/Downloads/git/bar
465 error node -v v0.10.12
466 error npm -v 1.2.32
467 verbose exit [ 1, true ]

In the meantime, I did just checking another change that will hopefully
log a more detailed error when the exception occurs. You can pull and "mvn
install" and give it a try. If you get a log with a stack trace send it to
me.

Brett

On Fri, Mar 21, 2014 at 12:03 AM, ggaulard [email protected]:

Thanks a lot for your reactivity.

I check and build with :

public final class JavassistProxyFactory
{
private ClassPool classPool;

static
{
try
{
JavassistProxyFactory proxyFactoryFactory = new JavassistProxyFactory();
proxyFactoryFactory.modifyProxyFactory();
}
catch (Exception e)
{
throw new RuntimeException(e);
}
}

It's strange if you've reproduced the issue and fixed it. I hope i don't
miss something.

My pom have Hikari with 1.3.4-SNAPSHOT (i've updated the maven.log from
http://goo.gl/pFJUQN)

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38177593
.

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

I was wrong, it is failing at random places:

https://gist.github.com/brettwooldridge/9667171

On Fri, Mar 21, 2014 at 12:58 AM, Brett Wooldridge <
[email protected]> wrote:

I don't know why, but I did "mvn clean" then "mvm package" again an it got
further, then failed. Then I did it again, and it got further. But now,
it seems I am at the end and it always fails here now:

2393 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/grunt-contrib-connect/package.json
2394 silly addNameRange { name: 'gaze', range: '>=0.5.1- <0.6.0-',
hasData: false }
2395 verbose readDependencies using package.json deps
2396 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/grunt-contrib-connect/package.json
2397 error Error: No compatible version found: findup-sync@'^0.1.2'
2397 error Valid install targets:
2397 error ["0.1.0","0.1.1","0.1.2","0.1.3"]
2397 error at installTargetsError
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:719:10)
2397 error at
/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:641:10
2397 error at saved
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
2397 error at Object.oncomplete (fs.js:107:15)
2398 error If you need help, you may report this log at:
2398 error http://github.com/isaacs/npm/issues
2398 error or email it to:
2398 error [email protected]
2399 error System Darwin 13.1.0
2400 error command "/usr/local/Cellar/node/0.10.12/bin/node"
"/usr/local/bin/npm" "install"
2401 error cwd /Users/brettw/Downloads/git/bar
2402 error node -v v0.10.12
2403 error npm -v 1.2.32
2404 verbose exit [ 1, true ]

On Fri, Mar 21, 2014 at 12:52 AM, Brett Wooldridge <
[email protected]> wrote:

It was just a guess based on the exception stack trace. I tried to build
your project but it fails installing one of the npm modules (from
npm-debug.log):

447 http GET https://registry.npmjs.org/maxmin
448 http 304 https://registry.npmjs.org/findup-sync
449 silly registry.get cb [ 304,
449 silly registry.get { date: 'Thu, 20 Mar 2014 15:47:50 GMT',
449 silly registry.get server: 'Apache',
449 silly registry.get via: '1.1 varnish',
449 silly registry.get 'last-modified': 'Thu, 20 Mar 2014 15:47:02
GMT',
449 silly registry.get 'cache-control': 'max-age=1',
449 silly registry.get etag: '"61FQ6KRDJ9SM2YOBCMNS5EFKY"',
449 silly registry.get 'x-served-by': 'cache-ty66-TYO',
449 silly registry.get 'x-cache': 'HIT',
449 silly registry.get 'x-cache-hits': '2',
449 silly registry.get 'x-timer': 'S1395330470.656370401,VS0,VE0',
449 silly registry.get vary: 'Accept',
449 silly registry.get 'content-length': '0',
449 silly registry.get 'keep-alive': 'timeout=10, max=50',
449 silly registry.get connection: 'Keep-Alive' } ]
450 verbose etag findup-sync from cache
451 silly lockFile 66eef810-findup-sync-0-1-2 findup-sync@^0.1.2
452 silly lockFile 66eef810-findup-sync-0-1-2 findup-sync@^0.1.2
453 verbose about to build
/Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks
454 info /Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks
unbuild
455 verbose from cache
/Users/brettw/Downloads/git/bar/node_modules/load-grunt-tasks/package.json
456 info preuninstall [email protected]
457 info uninstall [email protected]
458 verbose
true,/Users/brettw/Downloads/git/bar/node_modules,/Users/brettw/Downloads/git/bar/node_modules
unbuild [email protected]
459 info postuninstall [email protected]
460 error Error: No compatible version found: findup-sync@'^0.1.2'
460 error Valid install targets:
460 error ["0.1.0","0.1.1","0.1.2","0.1.3"]
460 error at installTargetsError
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:719:10)
460 error at
/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/lib/cache.js:641:10
460 error at saved
(/usr/local/Cellar/node/0.10.12/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
460 error at Object.oncomplete (fs.js:107:15)
461 error If you need help, you may report this log at:
461 error http://github.com/isaacs/npm/issues
461 error or email it to:
461 error [email protected]
462 error System Darwin 13.1.0
463 error command "/usr/local/Cellar/node/0.10.12/bin/node"
"/usr/local/bin/npm" "install"
464 error cwd /Users/brettw/Downloads/git/bar
465 error node -v v0.10.12
466 error npm -v 1.2.32
467 verbose exit [ 1, true ]

In the meantime, I did just checking another change that will hopefully
log a more detailed error when the exception occurs. You can pull and "mvn
install" and give it a try. If you get a log with a stack trace send it to
me.

Brett

On Fri, Mar 21, 2014 at 12:03 AM, ggaulard [email protected]:

Thanks a lot for your reactivity.

I check and build with :

public final class JavassistProxyFactory
{
private ClassPool classPool;

static
{
try
{
JavassistProxyFactory proxyFactoryFactory = new JavassistProxyFactory();
proxyFactoryFactory.modifyProxyFactory();
}
catch (Exception e)
{
throw new RuntimeException(e);
}
}

It's strange if you've reproduced the issue and fixed it. I hope i don't
miss something.

My pom have Hikari with 1.3.4-SNAPSHOT (i've updated the maven.log from
http://goo.gl/pFJUQN)

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38177593
.

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

Sorry, some of NPM dependencies are hard to configure for centos.

I've share new pom at http://goo.gl/pFJUQN this skip the Javascript build and just focus on Java.
With a mvn test you should reproduice the issue.

I hope you don't lose to much time trying to make the previous configuration running.

Thanks again.

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

Good news. I checked in another change to dev last night, and with your
new pom and the latest 1.3.4-SNAPSHOT, everything ran successfully:

DEBUG] org.jboss.logging - Logging Provider:
org.jboss.logging.Slf4jLoggerProvider
[DEBUG] com.whcsc.hoppertiz.config.AsyncConfiguration - Creating Async Task
Executor
[DEBUG] com.whcsc.hoppertiz.config.DatabaseConfiguration - Configuring
Datasource
[DEBUG] com.zaxxer.hikari.HikariPool - Initial fill Pool stats (total=10,
inUse=0, avail=10, waiting=0)
...

[INFO]

[INFO] BUILD SUCCESS

[INFO]

[INFO] Total time: 1:30.277s
[INFO] Finished at: Fri Mar 21 18:03:01 JST 2014
[INFO] Final Memory: 44M/374M

[INFO]

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

Full gist: https://gist.github.com/brettwooldridge/9682402

On Fri, Mar 21, 2014 at 5:59 PM, ggaulard [email protected] wrote:

Sorry, some of NPM dependencies are hard to configure for centos.

I've share new pom at http://goo.gl/pFJUQN this skip the Javascript build
and just focus on Java.
With a mvn test you should reproduice the issue.

I hope you don't lose to much time trying to make the previous
configuration running.

Thanks again.

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38258208
.

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

Last commit on dev is : 'Add a exception log for JavassistProxyFactory static initiaiization.'
Is the one you talking about?

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

Actually, I'm not sure what point you had 1.3.4. I made a class loader
change, and it broke some unit tests on my box, so I rolled it back. But I
also was never able to run your project until your latest pom. For me, as
you can see from the gist I sent, the tip of 1.3.4 (and likely
revisions-back), works for me running your pom.

I think I have a CentOS 6.4 virtual machine, I'll give that a try later.
It works on my Mac.

On Fri, Mar 21, 2014 at 6:24 PM, ggaulard [email protected] wrote:

Last commit on dev is : 'Add a exception log for JavassistProxyFactory
static initiaiization.'
Is the one you talking about?

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38259600
.

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

I have the issue only with centos not on Windows :(

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

Have you looked at the class path? Is there a Javassist library installed
somewhere that is getting picked up in the boot class path of Java?

On Fri, Mar 21, 2014 at 8:34 PM, ggaulard [email protected] wrote:

I have the issue only with centos not on Windows :(

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38268130
.

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

I don't see anything like this. But to be sure i'll try with a virtualbox centos.
I would say if the issue is still here or not.

from hikaricp.

brettwooldridge avatar brettwooldridge commented on July 30, 2024

I have successfully built your project on CentOS 6.4 under JDK 1.7.0-45
with no issues. I'm going to close this as environmental, if that is ok.
One thing you might try is wiping out your .m2 repository completely and
allowing it to re-populate. I was also able to build it successfully using
HikariCP 1.3.3.

On Fri, Mar 21, 2014 at 9:51 PM, ggaulard [email protected] wrote:

I don't see anything like this. But to be sure i'll try with a virtualbox
centos.
I would say if the issue is still here or not.

Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-38272879
.

from hikaricp.

ggaulard avatar ggaulard commented on July 30, 2024

ok no problem.
Thanks a lot.

from hikaricp.

theresajayne avatar theresajayne commented on July 30, 2024

I am getting the same issue, but i am wondering, the MVN repos what version of java is it compiled with i and the op are compiling with Java 1.7 and if the repo is compiled with 1.8 that may cause the issue.

from hikaricp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.