Hello, In Merlin 3.2.5, I have proxy information ( to download the repository jars) defined in the "avalon.properties" file. There is a copy of this file in AVALON_HOME directory, and the file looks like below:
avalon.repository.cache=E:\download\maven\repository avalon.repository.hosts=http://www.ibiblio.org/maven, http://www.ibiblio.org/merlin,http://phoenixjms.sourceforge.net/repository/, http://surendrapc.internal.gxs.com/download/maven/repository/,http://bennett pc.internal.gxs.com:8080/repository avalon.repository.proxy.host=ghqproxy1.is.ge.com avalon.repository.proxy.port=80 I am running the application behind the firewall hence I must go through proxy to download some jars. I can access repository sites via browser ( means proxy server is working) fine. I am afraid somehow, merlin is not picking up the proxy information from the "avalon.properties" file. In the 3.0 version of merlin, I used to specify the "proxy" information in "kernel.xml" and it used to work fine but apparently that has changed and now proxy information needs to stored in the "avalon.properties" file. Here is what I see when I Merlin command ( to me it appears like proxy related error": C:\asx_new>merlin -repository e:\download\maven\repository http://bennettpc:8080/repository/blocks/asx-block.xml [INFO ] (kernel): installing: http://bennettpc:8080/repository/blocks/asx-block.xml ---- exception report ---------------------------------------------------------- Exception: org.apache.avalon.merlin.KernelException Message: Install failure: http://bennettpc:8080/repository/blocks/asx-block.xml ---- cause --------------------------------------------------------------------- Exception: org.apache.avalon.composition.model.ModelException Message: Could not create classloader. ---- cause --------------------------------------------------------------------- Exception: org.apache.avalon.repository.RepositoryException Message: Failed to download artifact to local cache file e:\download\maven\repository\commons-lang\jars\commons-lang-2.0.jar from hosts: http://dpml.net/ http://www.ibiblio.org/maven/ ---- cause --------------------------------------------------------------------- Exception: java.net.UnknownHostException Message: www.ibiblio.org ---- stack trace --------------------------------------------------------------- java.net.UnknownHostException: www.ibiblio.org java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) java.net.Socket.connect(Socket.java:434) java.net.Socket.connect(Socket.java:384) sun.net.NetworkClient.doConnect(NetworkClient.java:139) sun.net.www.http.HttpClient.openServer(HttpClient.java:386) sun.net.www.http.HttpClient.openServer(HttpClient.java:602) sun.net.www.http.HttpClient.<init>(HttpClient.java:303) sun.net.www.http.HttpClient.<init>(HttpClient.java:264) sun.net.www.http.HttpClient.New(HttpClient.java:336) sun.net.www.http.HttpClient.New(HttpClient.java:317) sun.net.www.http.HttpClient.New(HttpClient.java:312) sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j ava:481) sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4 72) org.apache.avalon.repository.util.LoaderUtils.getResource(LoaderUtils.java:3 04) org.apache.avalon.repository.util.LoaderUtils.getResource(LoaderUtils.java:1 14) org.apache.avalon.repository.impl.DefaultRepository.getResource(DefaultRepos itory.java:170) org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.createClass Path(DefaultClassLoaderModel.java:467) org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.<init>(Defa ultClassLoaderModel.java:212) org.apache.avalon.composition.model.impl.DefaultClassLoaderModel.createClass LoaderModel(DefaultClassLoaderModel.java:129) org.apache.avalon.composition.model.impl.DefaultContainmentModel.createConta inmentModel(DefaultContainmentModel.java:634) org.apache.avalon.composition.model.impl.DefaultContainmentModel.createConta inmentModel(DefaultContainmentModel.java:597) org.apache.avalon.composition.model.impl.DefaultContainmentModel.createConta inmentModel(DefaultContainmentModel.java:844) org.apache.avalon.composition.model.impl.DefaultContainmentModel.addContainm entModel(DefaultContainmentModel.java:376) org.apache.avalon.composition.model.impl.DefaultContainmentModel.addModel(De faultContainmentModel.java:370) org.apache.avalon.merlin.impl.DefaultFactory.create(DefaultFactory.java:488) org.apache.avalon.merlin.cli.Main.<init>(Main.java:329) org.apache.avalon.merlin.cli.Main.main(Main.java:281) ---------------------------------------------------------------------------- ---- Am I missing something, Is "avalon.properties" file not being picked up or is there any syntax error? Any help would be highly appreciated. Surendra -- Surendra Kashyap Application Component Engineering Global Exchange Services, Inc. 7101, Executive Center Drive Brentwood, TN - 37027