Same error. Dang. I'll bug the Artifactory people. -K
On 4/25/07 2:13 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote: > That's kind of what I suspected. I'm running JDK1.5.0_07. JDK1.6 isn't yet > available in a stable version for Mac OS X. Also, none of my production > RedHat servers are running 1.6. > > I rather suspect that a 1.6 dependency has crept into the latest > Artifactory, despite their attempts to fall back to Java5. > > I'm rebuilding from source now and we'll see what happens. > > -K > > > On 4/25/07 2:06 PM, "Wayne Fay" <[EMAIL PROTECTED]> wrote: > >> Check your JDK version. I found the following on Java.net forums which >> seems to be related (??): >> http://forums.java.net/jive/message.jspa?messageID=177256 >> >> Wayne >> >> On 4/25/07, Kathryn Huxtable <[EMAIL PROTECTED]> wrote: >>> Are you sure? I'm getting the following in my catalina.out file: >>> >>> 2007-04-25 12:47:19,655 [INFO ] webapp.servlet.ArtifactoryContextConfigurer >>> - Starting Artifactory... >>> 2007-04-25 12:47:19,715 [INFO ] >>> webapp.spring.ArtifactoryWebApplicationContext - Refreshing >>> [EMAIL PROTECTED]: >>> display name [Root WebApplicationContext]; startup date [Wed Apr 25 12:47:19 >>> CDT 2007]; root of context hierarchy >>> 2007-04-25 12:47:20,197 [INFO ] >>> webapp.spring.ArtifactoryWebApplicationContext - Bean factory for >>> application context >>> [EMAIL PROTECTED]: >>> [EMAIL PROTECTED] >>> 2007-04-25 12:47:20,459 [INFO ] repo.spring.CentralConfigFactoryBean - >>> Loading configuration (using >>> '/Users/huxtable/dev/artifactory-1.2.1-rc0/etc/artifactory.config.xml')... >>> 2007-04-25 12:47:20,459 [INFO ] repo.spring.CentralConfigFactoryBean - >>> Trying to load configuration from url... >>> 2007-04-25 12:47:20,460 [INFO ] repo.spring.CentralConfigFactoryBean - >>> Could not load configuration from url >>> '/Users/huxtable/dev/artifactory-1.2.1-rc0/etc/artifactory.config.xml'. (no >>> protocol: >>> /Users/huxtable/dev/artifactory-1.2.1-rc0/etc/artifactory.config.xml). >>> 2007-04-25 12:47:20,460 [INFO ] repo.spring.CentralConfigFactoryBean - >>> Trying to load configuration from regular path file reosurce.... >>> 2007-04-25 12:47:20,853 [ERROR] repo.spring.CentralConfigFactoryBean - >>> Failed to load configuration from >>> '/Users/huxtable/dev/artifactory-1.2.1-rc0/etc/artifactory.config.xml'. >>> java.lang.RuntimeException: Failed to read object from stream. >>> at org.artifactory.repo.jaxb.JaxbHelper.read(JaxbHelper.java:98) >>> ... >>> Caused by: java.lang.ClassFormatError: Illegal class modifiers in class >>> org/artifactory/repo/package-info: 0x1600 >>> at java.lang.ClassLoader.defineClass1(Native Method) >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620) >>> at >>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) >>> at >>> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo >>> ader.java:1650) >>> at >>> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav >>> a:856) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav >>> a:1305) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav >>> a:1187) >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Class.java:242) >>> at java.lang.Package.getPackageInfo(Package.java:350) >>> at java.lang.Package.getAnnotation(Package.java:361) >>> at >>> com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getPackag >>> eAnnotation(RuntimeInlineAnnotationReader.java:85) >>> at >>> com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getPackag >>> eAnnotation(RuntimeInlineAnnotationReader.java:17) >>> at >>> com.sun.xml.bind.v2.model.impl.TypeInfoImpl.parseElementName(TypeInfoImpl.ja >>> va:86) >>> at >>> com.sun.xml.bind.v2.model.impl.ClassInfoImpl.<init>(ClassInfoImpl.java:127) >>> at >>> com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.<init>(RuntimeClassInfoI >>> mpl.java:51) >>> at >>> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeMo >>> delBuilder.java:58) >>> at >>> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(RuntimeMo >>> delBuilder.java:40) >>> at >>> com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:1 >>> 23) >>> at >>> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModel >>> Builder.java:48) >>> at >>> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModel >>> Builder.java:40) >>> at >>> com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:18 >>> 9) >>> at >>> com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:20 >>> 4) >>> at >>> com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.j >>> ava:356) >>> at >>> com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:217) >>> at >>> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76) >>> at >>> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 >>> ) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl >>> .java:25) >>> at java.lang.reflect.Method.invoke(Method.java:585) >>> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) >>> at javax.xml.bind.ContextFinder.find(ContextFinder.java:368) >>> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) >>> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) >>> at org.artifactory.repo.jaxb.JaxbHelper.read(JaxbHelper.java:80) >>> ... >>> >>> Any ideas? >>> >>> -K >>> >>> >>> On 4/25/07 2:18 AM, "Yoav Landman" <[EMAIL PROTECTED]> wrote: >>> >>>> >>>> Not anymore. Starting with 1.2.1rc0 the codebase is compiled against 1.5 >>>> and >>>> the war can be deployed inside any java5 servlet container. >>>> (see: https://www.jfrog.org/jira/browse/RTFACT-75) >>>> >>>> >>>> Kathryn Huxtable wrote: >>>>> >>>>> The *only* problem with Artifactory is that it seems to require Java6 and >>>>> we're not yet running that on anything. >>>>> >>>>> -K >>>>> >>>>> >>>>> On 4/24/07 3:28 PM, "Wayne Fay" <[EMAIL PROTECTED]> wrote: >>>>> >>>>>> The general concept behind all of these Maven Proxy tools is the same. >>>>>> If one works for you and others do not, then I would just use that >>>>>> one. >>>>>> >>>>>> Wayne >>>>>> >>>>>> On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>>>>>> is there an additionnal configuration that I missed, one to make Tomcat >>>>>>> access the internet for central mirroring ? >>>>>>> >>>>>>> because >>>>>>> when I installed Artifactory (and reinstalled maven 2.0.6 right now !) >>>>>>> everything is looking fine (Artifactory looking up external >>>>>>> repositories from the first hit !) >>>>>>> >>>>>>> this is the first log : >>>>>>> (sorry for the first mail ) >>>>>>> >>>>>>> (miko$oft bad commad prompt truncated my log ! grrr !) >>>>>>> >>>>>>> 164K downloaded >>>>>>> Downloading: >>>>>>> http://localhost:8081/artifactory/repo/commons-httpclient/commons-h >>>>>>> ttpclient/2.0.2/commons-httpclient-2.0.2.jar >>>>>>> 220K downloaded >>>>>>> WAGON_VERSION: 1.0-beta-2 >>>>>>> [INFO] >>>>>>> ------------------------------------------------------------------------>>>>>>> - >>>>>>> --- >>>>>>> [INFO] Building Unnamed - com:TutelecOJV-v1.3:jar:1.3 >>>>>>> [INFO] task-segment: [compile] >>>>>>> [INFO] >>>>>>> ------------------------------------------------------------------------>>>>>>> - >>>>>>> --- >>>>>>> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: >>>>>>> checking for >>>>>>> up >>>>>>> dates from central >>>>>>> Downloading: >>>>>>> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/mav >>>>>>> en-resources-plugin/2.2/maven-resources-plugin-2.2.pom >>>>>>> 1K downloaded >>>>>>> Downloading: >>>>>>> http://localhost:8081/artifactory/repo/org/apache/maven/plugins/mav >>>>>>> en-plugins/1/maven-plugins-1.pom >>>>>>> 3K downloaded >>>>>>> Downloading: >>>>>>> http://localhost:8081/artifactory/repo/org/apache/maven/maven-paren >>>>>>> t/1/maven-parent-1.pom >>>>>>> 6K downloaded >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
