Re: Errors compiling JMS 0.7.7

Daniel Otero <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Try invoking maven like so

maven -Dmaven.test.skip -Dmaven.castor.fork

that will get rid of the problem with the test.

With regards to the downloading of the jcert, jsse and jnet... try  
following the instructions (go download them yourself and place them  
in the maven repository - probably in C:\WINNT\Profiles\EdiLocal 
\.maven\repository\jsse\jars and they should be called  
'jcert-1.0.3.jar jnet-1.0.3.jar  jsse-1.0.3.jar').

The thing is that due to legal reasons maven cannot download these  
files automatically.

Suerte
Daniel

On May 25, 2005, at 10:41 AM, [email protected] wrote:

> Hello,
>
> I tried to compile the 0.7.7 version of openJMS in my Win2k machine  
> and I got some errors (see below).
> I don't know anything about maven, so its difficult to investigate  
> the origin of the problem.
> I was trying this to be able to use the Tunneling functionality to  
> allow jms clients behind a firewall to receive messages. Is there,  
> perhaps, a more simple solution to this problem than compiling all  
> the openJMS modules?
> Could I use only some parts of the 0.7.7 version while maintaining  
> the 0.7.6.1 running?
>
> Thanks in advance
>
> ====================================================================== 
> ======
>
> F:\DESARROLLO\OPENJMS\openjms>maven
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
> Starting the reactor...
> Our processing order:
> OpenJMS: Proxy Generator plugin
> +----------------------------------------
> | Installing proxygen plugin OpenJMS: Proxy Generator plugin
> | Memory: 3M/5M
> +----------------------------------------
> build:start:
>
> o:build:
> multiproject:install:
> build:start:
>
> plugin:plugin:
> java:prepare-filesystem:
>
> java:compile:
>    [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules 
> \proxygen-plugin/ta
> rget/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>    [echo] No test source files to compile.
>
> test:test:
>    [echo] No tests to run.
>
> jar:jar:
>
>
> plugin:install-now:
>    [delete] Deleting 1 files from C:\WINNT\Profiles\EdiLocal\.maven 
> \plugins
>    [delete] Deleting 16 files from C:\WINNT\Profiles\EdiLocal\.maven 
> \cache
>    [delete] Deleted 7 directories from C:\WINNT\Profiles\EdiLocal 
> \.maven\cache
>
> build:end:
>
> multiproject:projects-init:
>    [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> OpenJMS: Common
> OpenJMS: HTTP tunnel
> OpenJMS: Network
> OpenJMS: JMS
> OpenJMS: Examples
> OpenJMS: Tools
> +----------------------------------------
> | Gathering project list OpenJMS: Common
> | Memory: 6M/7M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list OpenJMS: HTTP tunnel
> | Memory: 6M/7M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list OpenJMS: Network
> | Memory: 6M/7M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list OpenJMS: JMS
> | Memory: 6M/7M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list OpenJMS: Examples
> | Memory: 6M/7M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list OpenJMS: Tools
> | Memory: 6M/7M
> +----------------------------------------
> Starting the reactor...
> Our processing order:
> OpenJMS: Common
> OpenJMS: HTTP tunnel
> OpenJMS: Network
> OpenJMS: JMS
> OpenJMS: Examples
> OpenJMS: Tools
> +----------------------------------------
> | Executing multiproject:install-callback OpenJMS: Common
> | Memory: 6M/7M
> +----------------------------------------
>
> multiproject:goal:
> build:start:
>
> multiproject:install-callback:
>    [echo] Running jar:install for OpenJMS: Common
> java:prepare-filesystem:
>
> java:compile:
>    [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules\common/ 
> target/clas
> ses
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>    [junit] Running org.exolab.jms.common.threads.ThreadPoolTest
>    [junit] log4j:ERROR Could not open [file:./log4j.xml].
>    [junit] java.io.FileNotFoundException: .\log4j.xml (El sistema  
> no puede hall
> ar el archivo especificado)
>    [junit]     at java.io.FileInputStream.open(Native Method)
>    [junit]     at java.io.FileInputStream.<init> 
> (FileInputStream.java:103)
>    [junit]     at java.io.FileInputStream.<init> 
> (FileInputStream.java:66)
>    [junit]     at  
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLCo
> nnection.java:69)
>    [junit]     at  
> sun.net.www.protocol.file.FileURLConnection.getInputStream(Fi
> leURLConnection.java:148)
>    [junit]     at java.net.URL.openStream(URL.java:955)
>    [junit]     at org.apache.log4j.xml.DOMConfigurator.doConfigure 
> (DOMConfigura
> tor.java:602)
>    [junit]     at  
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(O
> ptionConverter.java:460)
>    [junit]     at org.apache.log4j.LogManager.<clinit> 
> (LogManager.java:113)
>    [junit]     at org.apache.log4j.Logger.getLogger(Logger.java:85)
>    [junit]     at  
> org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLo
> gger.java:229)
>    [junit]     at org.apache.commons.logging.impl.Log4JLogger.<init> 
> (Log4JLogge
> r.java:65)
>    [junit]     at  
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>    [junit]     at  
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
> onstructorAccessorImpl.java:39)
>    [junit]     at  
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
> egatingConstructorAccessorImpl.java:27)
>    [junit]     at java.lang.reflect.Constructor.newInstance 
> (Constructor.java:27
> 4)
>    [junit]     at  
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
> gFactoryImpl.java:529)
>    [junit]     at  
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
> gFactoryImpl.java:235)
>    [junit]     at  
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
> gFactoryImpl.java:209)
>    [junit]     at org.apache.commons.logging.LogFactory.getLog 
> (LogFactory.java:
> 351)
>    [junit]     at  
> org.exolab.jms.common.threads.ThreadPoolTest.<clinit>(ThreadP
> oolTest.java:74)
>    [junit]     at java.lang.Class.forName0(Native Method)
>    [junit]     at java.lang.Class.forName(Class.java:130)
>    [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
> <init>(JUnitTestRunner.java:237)
>    [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
> <init>(JUnitTestRunner.java:210)
>    [junit]     at  
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
> main(JUnitTestRunner.java:532)
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 35,296 sec
>    [junit] Testsuite: org.exolab.jms.common.threads.ThreadPoolTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed:  
> 35,296 sec
>    [junit]
>    [junit] ------------- Standard Error -----------------
>    [junit] log4j:WARN No appenders could be found for logger  
> (org.exolab.jms.co
> mmon.threads.ThreadPoolTest).
>    [junit] log4j:WARN Please initialize the log4j system properly.
>    [junit] ------------- ---------------- ---------------
> Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\common\target 
> \openjms-commo
> n-0.7.7-dev.jar' to: 'C:\WINNT\Profiles\EdiLocal\.maven\repository 
> \openjms\jars\
> openjms-common-0.7.7-dev.jar'
> Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\common 
> \project.xml' to: 'C:
> \WINNT\Profiles\EdiLocal\.maven\repository\openjms\poms\openjms- 
> common-0.7.7-dev
> .pom'
> +----------------------------------------
> | Executing multiproject:install-callback OpenJMS: HTTP tunnel
> | Memory: 7M/7M
> +----------------------------------------
>
> jar:jar:
>
> jar:install:
>
>
> build:end:
>
> build:start:
>
> multiproject:install-callback:
>    [echo] Running war:install for OpenJMS: HTTP tunnel
> war:init:
>
> war:war-resources:
>    [copy] Copying 1 file to F:\DESARROLLO\OPENJMS\openjms\modules 
> \tunnel\target
> \openjms-tunnel\WEB-INF
>
> java:prepare-filesystem:
>
> java:compile:
>    [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules\tunnel/ 
> target/clas
> ses
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>    [echo] No test source files to compile.
>
> test:test:
>    [echo] No tests to run.
>
> war:webapp:
>    [echo] Assembling webapp openjms-tunnel
>    [copy] Copying 1 file to F:\DESARROLLO\OPENJMS\openjms\modules 
> \tunnel\target
> \openjms-tunnel\WEB-INF\lib
>
> war:war:
>    [echo] Building WAR openjms-tunnel
>    [jar] Building jar: F:\DESARROLLO\OPENJMS\openjms\modules\tunnel 
> \target\open
> jms-tunnel.war
> Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\tunnel\target 
> \openjms-tunne
> l.war' to: 'C:\WINNT\Profiles\EdiLocal\.maven\repository\openjms 
> \wars\openjms-tu
> nnel-0.7.7-dev.war'
> Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\tunnel 
> \project.xml' to: 'C:
> \WINNT\Profiles\EdiLocal\.maven\repository\openjms\poms\openjms- 
> tunnel-0.7.7-dev
> .pom'
> +----------------------------------------
> | Executing multiproject:install-callback OpenJMS: Network
> | Memory: 6M/10M
> +----------------------------------------
> Intentando descargar jcert-1.0.3.jar.
> íATENCION!: íImposible descargar jcert-1.0.3.jar!
> Intentando descargar jsse-1.0.3.jar.
> íATENCION!: íImposible descargar jsse-1.0.3.jar!
> Intentando descargar jnet-1.0.3.jar.
> íATENCION!: íImposible descargar jnet-1.0.3.jar!
>
> BUILD FAILED
> File...... C:\WINNT\Profiles\EdiLocal\.maven\cache\maven- 
> multiproject-plugin-1.3
> .1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> íEl proceso no puede seguir! Faltan las siguientes dependencias:
>
> jcert-1.0.3.jar; version override doesn't exist: 1.0.3 (try  
> downloading from htt
> p://java.sun.com/products/jsse/)
> jsse-1.0.3.jar; version override doesn't exist: 1.0.3 (try  
> downloading from http
> ://java.sun.com/products/jsse/)
> jnet-1.0.3.jar; version override doesn't exist: 1.0.3 (try  
> downloading from http
> ://java.sun.com/products/jsse/)
>
> Total time: 1 minutes 3 seconds
> Finished at: Wed May 25 16:25:32 CEST 2005
>
>
>
>
>
> <edi.sanchez.vcf>
>



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.