You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Vladimir Blagojevic <do...@gmail.com> on 2009/02/11 18:12:30 UTC

Re: Schema creation in JGroups fails

Hi,

Our JGroups build fails on Gump because 
javax.xml.transform.TransformerFactory instance configured for the JVM 
running the build is not found. There is something wrong with classpath 
used to run the build. Take a look at the stacktraces as well.

Regards,
Vladimir

On 2/11/09 10:35 AM, Bela Ban wrote:
> Hi Vladimir,
>
> the build fails, can you take a look ? It seems it is the schem 
> creation which fails.
>
> Do we actually include the generated schema in the JARs ? And do we 
> include the schema in the protocols (XML) ?
>
>> This is the mail system at host vmgump.apache.org.
>>
>> I'm sorry to have to inform you that your message could not
>> be delivered to one or more recipients. It's attached below.
>>
>> For further assistance, please send mail to postmaster.
>>
>> If you do so, please include this problem report. You can
>> delete your own text from the attached returned message.
>>
>>                    The mail system
>>
>> <ja...@lists.sourceforge.com>: Host or domain name not 
>> found. Name
>>     service error for name=lists.sourceforge.com type=A: Host not found
>>   
>> ------------------------------------------------------------------------
>>
>> Reporting-MTA: dns; vmgump.apache.org
>> X-Postfix-Queue-ID: 1DA97AB425F
>> X-Postfix-Sender: rfc822; belaban@yahoo.com
>> Arrival-Date: Wed, 11 Feb 2009 04:22:43 -0800 (PST)
>>
>> Final-Recipient: rfc822; javagroups-build@lists.sourceforge.com
>> Original-Recipient: rfc822;javagroups-build@lists.sourceforge.com
>> Action: failed
>> Status: 5.4.4
>> Diagnostic-Code: X-Postfix; Host or domain name not found. Name 
>> service error
>>     for name=lists.sourceforge.com type=A: Host not found
>>
>> ------------------------------------------------------------------------
>>
>> Subject:
>> [GUMP@vmgump]: Project jgroups (in module jgroups) failed
>> From:
>> Bela Ban <be...@yahoo.com>
>> Date:
>> Wed, 11 Feb 2009 04:22:43 PST
>>
>> To:
>> javagroups-build@lists.sourceforge.com
>>
>>
>> To whom it may engage...
>>         This is an automated request, but not an unsolicited one. For 
>> more information please visit http://gump.apache.org/nagged.html, 
>> and/or contact the folk at general@gump.apache.org.
>>
>> Project jgroups has an issue affecting its community integration.
>> This issue affects 6 projects,
>>  and has been outstanding for 2 runs.
>> The current state of this project is 'Failed', with reason 'Build 
>> Failed'.
>> For reference only, the following projects are affected by this:
>>     - db-ojb-from-packages-1-0-release :  ObjectRelationalBridge
>>     - db-torque :  Persistence Layer
>>     - fulcrum-cache :  Services Framework
>>     - jakarta-turbine-jcs :  Cache
>>     - jgroups :  A Reliable Multicast Communication Toolkit for Java
>>     - test-ojb-from-packages-1-0-release :  ObjectRelationalBridge
>>
>>
>> Full details are available at:
>>     http://vmgump.apache.org/gump/public/jgroups/jgroups/index.html
>>
>> That said, some information snippets are provided here.
>>
>> The following annotations (debug/informational/warning/error 
>> messages) were provided:
>>  -DEBUG- Sole output [jgroups-all.jar] identifier set to project name
>>  -INFO- Failed with reason build failed
>>  -INFO- Failed to extract fallback artifacts from Gump Repository
>>
>>
>>
>> The following work was performed:
>> http://vmgump.apache.org/gump/public/jgroups/jgroups/gump_work/build_jgroups_jgroups.html 
>>
>> Work Name: build_jgroups_jgroups (Type: Build)
>> Work ended in a state of : Failed
>> Elapsed: 12 secs
>> Command Line: /usr/lib/jvm/java-6-sun/bin/java 
>> -Djava.awt.headless=true 
>> -Xbootclasspath/p:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar 
>> org.apache.tools.ant.Main 
>> -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
>> -Dbuild.sysclasspath=only jar [Working Directory: 
>> /srv/gump/public/workspace/jgroups]
>> CLASSPATH: 
>> /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/jgroups/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-classpath-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-core-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-bsf-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-util-2.0b4.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-11022009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-11022009.jar:/srv/gump/packages/dougLea/concurrent.jar:/srv/gump/packages/jms1.1/lib/jms.jar:/srv/gump/public/workspace/junit/dist/junit-11022009.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-11022009.jar:/srv/gump/packages/bouncycastle-jdk14/bcprov-130.jar:/srv/gump/public/workspace/mx4j/dist/lib/mx4j-impl.jar:/srv/gump/public/workspace/mx4j/dist/lib/mx4j-jmx.jar:/srv/gump/public/workspace/mx4j/dist/lib/mx4j.jar:/srv/gump/public/workspace/testng/testng-11022009-jdk15.jar 
>>
>> ---------------------------------------------
>>      [java]     at 
>> javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
>>      [java]     at 
>> org.jgroups.util.XMLSchemaGenerator.main(XMLSchemaGenerator.java:91)
>>      [java]     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      [java]     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>      [java]     at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>
>>      [java]     at java.lang.reflect.Method.invoke(Method.java:597)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
>>      [java]     ... 21 more
>>      [java] --- Nested Exception ---
>>      [java] javax.xml.transform.TransformerFactoryConfigurationError: 
>> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
>>      [java]     at 
>> javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
>>      [java]     at 
>> org.jgroups.util.XMLSchemaGenerator.main(XMLSchemaGenerator.java:91)
>>      [java]     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      [java]     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>      [java]     at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>
>>      [java]     at java.lang.reflect.Method.invoke(Method.java:597)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
>>      [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
>>      [java]     at 
>> org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
>>      [java]     at 
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>>      [java]     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      [java]     at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>      [java]     at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>
>>      [java]     at java.lang.reflect.Method.invoke(Method.java:597)
>>      [java]     at 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) 
>>
>>      [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
>>      [java]     at org.apache.tools.ant.Target.execute(Target.java:386)
>>      [java]     at 
>> org.apache.tools.ant.Target.performTasks(Target.java:407)
>>      [java]     at 
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
>>      [java]     at 
>> org.apache.tools.ant.Project.executeTarget(Project.java:1330)
>>      [java]     at 
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) 
>>
>>      [java]     at 
>> org.apache.tools.ant.Project.executeTargets(Project.java:1213)
>>      [java]     at org.apache.tools.ant.Main.runBuild(Main.java:775)
>>      [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
>>      [java]     at org.apache.tools.ant.Main.start(Main.java:179)
>>      [java]     at org.apache.tools.ant.Main.main(Main.java:268)
>>      [java] Java Result: -1
>>
>> jgroups-all.jar:
>>      [copy] Copying 1 file to 
>> /srv/gump/public/workspace/jgroups/classes/schema
>>       [jar] Building jar: 
>> /srv/gump/public/workspace/jgroups/dist/jgroups-all.jar
>>
>> BUILD FAILED
>> /srv/gump/public/workspace/jgroups/build.xml:129: Problem creating 
>> jar: /srv/gump/public/workspace/jgroups/dist/jgroups-all.jar (No such 
>> file or directory) (and the archive is probably corrupt but I could 
>> not delete it)
>>
>> Total time: 11 seconds
>> ---------------------------------------------
>>
>> To subscribe to this information via syndicated feeds:
>> - RSS: http://vmgump.apache.org/gump/public/jgroups/jgroups/rss.xml
>> - Atom: http://vmgump.apache.org/gump/public/jgroups/jgroups/atom.xml
>>
>> ============================== Gump Tracking Only ===
>> Produced by Gump version 2.3.
>> Gump Run 25000011022009, vmgump:vmgump-public:25000011022009
>> Gump E-mail Identifier (unique within run) #54.
>>
>> -- 
>> Apache Gump
>> http://gump.apache.org/ [Instance: vmgump]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Schema creation in JGroups fails

Posted by Vladimir Blagojevic <do...@gmail.com>.
On 2/11/09 3:30 PM, Stefan Bodewig wrote:
>
> It used to be a different error when Bela pinged you, I guess.
>
> Gump sets up Ant in a way that makes Ant ignore all your
> buildfile-internal classpath settings and initially the schema
> generation failed because Ant couldn't load your Schema-Compiler.
>
> I then changed the classpath to contain your "classes" directory and
> now we have a different error.
>
> Right now the problem is that you have a svn trunk version of
> xml-apis.jar (which is configured to uses Xalan for TraX) but no Xalan
> itself on the CLASSPATH Gump provides.
>
> Will be fixed in a second and will hopefully make the next build work
> again.
>
> Many thanks for taking care of this issue!
>
> Stefan
>    
That is what we suspected. I am glad we were able to resolve this
issue rather quickly.

Regards,
Vladimir

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Schema creation in JGroups fails

Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-02-11, Vladimir Blagojevic <do...@gmail.com> wrote:

> Our JGroups build fails on Gump because
> javax.xml.transform.TransformerFactory instance configured for the
> JVM running the build is not found. There is something wrong with
> classpath used to run the build. Take a look at the stacktraces as
> well.

It used to be a different error when Bela pinged you, I guess.

Gump sets up Ant in a way that makes Ant ignore all your
buildfile-internal classpath settings and initially the schema
generation failed because Ant couldn't load your Schema-Compiler.

I then changed the classpath to contain your "classes" directory and
now we have a different error.

Right now the problem is that you have a svn trunk version of
xml-apis.jar (which is configured to uses Xalan for TraX) but no Xalan
itself on the CLASSPATH Gump provides.

Will be fixed in a second and will hopefully make the next build work
again.

Many thanks for taking care of this issue!

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org