24
May
07

Installing Jetspeed 2.x on Windows

The Jetspeed project site says that installing the portal server is as simple as running the following command,

java -jar jetspeed-2.1-installer.jar

But things are not that simple if you are behind corporate firewall. :) I keep getting the following error message on my Win-XP machine which is behind proxy,

org.tp23.antinstaller.InstallException: Not able to load and read
the AntInstaller config at org.tp23.antinstaller.runtime.exe.InputStreamLoadConfigFilter
.exec(InputStreamLoadConfigFilter.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:Connection timed out: connect
at org.tp23.antinstaller.runtime.exe.LoadConfigFilter
.readConfig(LoadConfigFilter.java:179)

The installer uses few xml configuration files which are later validated using their corresponding DTDs. The program tries to load the DTDs from internet but gets blocked by the proxy. Java does not pick up proxy details automatically from the IE/FF setting. So one needs to supply the proxy details in environment. It can like,

java -Dhttp.proxyHost=<value> -Dhttp.proxyPort=<value> -jar jetspeed-2.1-installer.jar

The solution may look very trivial but it did take quite sometime to figure out the actual problem. The documentation at the Jetspeed side didn’t help much. They have this reported as a bug and it can be found in their Jira tracker. But i think this should go in as a FAQ entry or under special instructions section for windows installation guide. I am posting it here for a quick reference for others. They need not go digging in the issue tracker to solve it. :)


6 Responses to “Installing Jetspeed 2.x on Windows”


  1. May 24, 2007 at 17:15

    This is really helpful. Thanks Amit for the post.

  2. 2 mike
    May 29, 2007 at 14:09

    Man you saved me! Just the info I needed ! You’re great, thanks!

  3. 3 Vinod
    June 13, 2007 at 12:40

    hey thanks man. was struggling with this.

  4. 4 ryan
    June 30, 2007 at 06:48

    Thanks for this solution! However, our corporate firewall requires authentication, so is there any way we can supply Java with a system property corresponding with the proxy username and password? Thanks for your help!

  5. June 30, 2007 at 20:23

    Can you provide more details, like what error you get? Do you get a pop-up asking for your proxy userid, pwd?

  6. 6 ryan
    July 2, 2007 at 23:01

    @Amit, we’re getting the same kind of error:

    org.tp23.antinstaller.InstallException: Not able to load and read
    the AntInstaller config at org.tp23.antinstaller.runtime.exe.InputStreamLoadConfigFilter
    .exec(InputStreamLoadConfigFilter.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:Connection timed out: connect
    at org.tp23.antinstaller.runtime.exe.LoadConfigFilter
    .readConfig(LoadConfigFilter.java:179)

    So this means that the installer fails to successfully connect to the internet.


Leave a Reply




What You Said

Laxman on Passport for Baby in Bang…
nishi on Bangalore Property
Nilanchal on Bangalore Property
Nilanchal on Bangalore Property
suraj on Bangalore Property
Joe on Bangalore Property
Nilanchal on Bangalore Property
tgvindia on Bangalore Property
Swetha Viswanathan on Bangalore Property
Mr. Charm on Bangalore Property

History

Blog Stats

  • 129,690 views

Bookmarks