portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ate Douma <...@douma.nu>
Subject Re: Jetspeed Installer: What is it trying to download?
Date Wed, 14 Mar 2007 19:53:25 GMT
Timony, Michael wrote:
> I am trying to run the installer, on a Windows box I get the following
> error:
I think you might have the same problem Michael Lipp already created the following
JIRA issue for: https://issues.apache.org/jira/browse/JS2-657

It turns out ant-installer is trying to load is config dtd from the web:
   http://antinstaller.sourceforge.net/dtd/antinstall-config-0.8.dtd

This hadn't been reported before (and the Jetspeed-2.0 installer also was using ant-installer)
so this was an unknown issue for me as well.

In the JIRA issue, Michael Lipp provides a workaround for this though: you can specify your
proxy server on the command line like this:

   java -Dhttp.proxyHost=your-proxy.com -Dhttp.proxyPort=some-port -jar jetspeed-2.1-demo-installer.jar

HTH,

Ate

> 
> 
> 	C:\>java -jar jetspeed-2.1-demo-installer.jar
> 	org.tp23.antinstaller.InstallException: Not able to load and
> read the AntInstaller config
> 	        at
> org.tp23.antinstaller.runtime.exe.InputStreamLoadConfigFilter.exec(Input
> StreamLoadConfigF
> 	ilter.java:45)
> 	        at
> org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
> 	        at
> org.tp23.antinstaller.selfextract.NonExtractor.main(NonExtractor.java:59
> )
> 	Caused by: java.io.IOException: DomFactory error: caused
> by:class java.net.ConnectException:Connecti
> 	on timed out: connect
> 	        at
> org.tp23.antinstaller.runtime.exe.LoadConfigFilter.readConfig(LoadConfig
> Filter.java:179)
> 	        at
> org.tp23.antinstaller.runtime.exe.LoadConfigFilter.readConfig(LoadConfig
> Filter.java:134)
> 	        at
> org.tp23.antinstaller.runtime.exe.InputStreamLoadConfigFilter.exec(Input
> StreamLoadConfigF
> 	ilter.java:40)
> 	        ... 2 more
> 	--- Nested Exception ---
> 	java.io.IOException: DomFactory error: caused by:class
> java.net.ConnectException:Connection timed ou
> 	t: connect
> 	        at
> org.tp23.antinstaller.runtime.exe.LoadConfigFilter.readConfig(LoadConfig
> Filter.java:179)
> 	        at
> org.tp23.antinstaller.runtime.exe.LoadConfigFilter.readConfig(LoadConfig
> Filter.java:134)
> 	        at
> org.tp23.antinstaller.runtime.exe.InputStreamLoadConfigFilter.exec(Input
> StreamLoadConfigF
> 	ilter.java:40)
> 	        at
> org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:85)
> 	        at
> org.tp23.antinstaller.selfextract.NonExtractor.main(NonExtractor.java:59
> )
> 	Install failedorg.tp23.antinstaller.InstallException
> 	Not able to load and read the AntInstaller config
> 
> On a Linux server I ran strace on it is see that the installer is trying
> to access a resources on the web, specifically at a Sourceforge address:
> 
> 	getpid()                                = 20958
> 	open("/etc/resolv.conf", O_RDONLY)      = 6
> 	fstat64(6, {st_mode=S_IFREG|0644, st_size=104, ...}) = 0
> 	mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa4f3e000
> 	read(6, "nameserver *********\n#nameserve"..., 4096) = 104
> 	read(6, "", 4096)                       = 0
> 	close(6)                                = 0
> 	munmap(0xa4f3e000, 4096)                = 0
> 	socket(PF_FILE, SOCK_STREAM, 0)         = 6
> 	connect(6, {sa_family=AF_FILE, path="/var/run/.nscd_socket"},
> 110) = 0
> 	writev(6, [{"\2\0\0\0\4\0\0\0\35\0\0\0", 12},
> {"antinstaller.sourceforge.net\0", 29}], 2) = 41
> 	read(6,
> "\2\0\0\0\1\0\0\0\31\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\1\0\0"..., 32) = 32
> 	readv(6, [{"projects.sourceforge.net\0", 25}, {"\35\0\0\0", 4},
> {"B#\372\321", 4}], 3) = 33
> 	read(6, "antinstaller.sourceforge.net\0", 29) = 29
> 	close(6)                                = 0
> 	...
> 	connect(6, {sa_family=AF_INET, sin_port=htons(80),
> sin_addr=inet_addr("66.35.250.209")}, 16) = -1 ETIMEDOUT (Connection
> timed out)
> 
> I'm behind a proxy-server which is why the IP address isn't resolving,
> but I'm not really comfortable with the installer requesting resources
> from somewhere without asking permission first. So what is the installer
> trying to download from Sourceforge and why? 
> 
> 
> Mick Timony
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message