SUN PORTAL 7.2安装在windows 的问题解决办法!

简介:
Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz help    
2008-6-23 ??9:33 
  
Click to email this message 

  Hi all,

I want to install Java System Portal Server 7.2 on Windows.

I hava unzip the file to C:/ drive.

but when I run the command "setup.bat", it returned failure " Webcontainer Ports are unavailable" 

Here is the error message:


Buildfile: C:"PS7.2"share"psrepo"auto"ant"Migrate-Host.xml

init:

set-wc-props:

setprops:

change:

init:

set-wc-props:

setprops:

validate-platform:
[echo] Using [localhost] as the FQDN Hostname
[input] Continue? : (y, [n])
y
[echo] Checking for Port conflicts

init:

set-wc-props:

checkports:

init:

set-wc-props:

check-wc-port:
[echo] Checking Webcontainer Port Conflicts...
[echo] Ports: 8080 / 8181
[echo] Ports: 3700 / 4848

BUILD FAILED
C:"PS7.2"share"psrepo"auto"ant"Migrate-Host.xml:56: The following error occurred
while executing this line:
C:"PS7.2"share"psrepo"auto"ant"Env.xml:216: The following error occurred while e
xecuting this line:
C:"PS7.2"share"psrepo"auto"ant"Env.xml:171: Webcontainer Ports are unavailable

did i do anything wrong?

plz help! Thx!

 
 cygnusecks 
Posts:6 
Registered: 5/15/06
Re: Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz    
2008-6-23 ??1:48 (reply 1 of 5) 
 Helpful 
Click to email this message 

  The failure is because the script is unable to bind to those TCP/IP ports on your local machine.

Do you have other processes running that are bound to those TCP/IP ports on your machine? 

To find out, try to run 'netstat -a -o' and look for processes listening on 8080/8081/3700/4848.
If you find any, kill them (by looking at the 'PID' column and then killing the process with that
PID using the task manager, e.g. ctrl-alt-delete).

Do you have a C:"windows"system32"drivers"etc"hosts file? Does it look like the one here:

http://en.wikipedia.org/wiki/Hosts_file#Default_content_on_Windows_operating_systems

If not, try to add a 'localhost' entry and as above and try again.
 
 wilsonfv 
Posts:3 
Registered: 6/23/08
Re: Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz    
2008-6-23 ??6:27 (reply 2 of 5) 
  
Click to email this message 

  Thanks for your replay.

I've already tried running the "netstat -abn" command, and the result showed that no process was listening on 8080/8181/3700/4848.

That' why I feel puzzle and turn to you guys for help!

I have installed Java System Application Server 9.1 before, but I have stopped its service. 

And here is the funny thing, Running "setup.bat" returns failure.

but when I run"startportal.bat", it seems that it's working.
i tried "http://localhost:8080/psconsole" on the IE, there is a response on the IE, it shows the Portal Server Console Front Page, the Login Page.

I tried username: psadmin , and password: password. But then it happened nothing.

But if i input the wrong username or password, it returned a error message"Authentication Failure"

What's wrong? Thanks!

 
 ruppalapati 
Posts:9 
Registered: 8/29/07
Re: Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz    
2008-6-24 ??4:19 (reply 3 of 5) 
 Correct 
Click to email this message 

  Please try the following:
1] C:"PS7.2"bin"stopportal.bat
2] Remove C:"PS7.2
3] Unzip from the downloaded zip file at C:"PS7.2
4] Edit C:"PS7.2"share"psrepo"auto"ant"Migrate-Host.xml and comment out the antcall for target checkports. Diff shown below
5] Turn off any Firewalls
6] Execute C:"PS7.2"bin"setup.bat
7] Report any issue you might have observed. This will help me help you further.

Index: Migrate-Host.xml
===================================================================
--- Migrate-Host.xml (revision 2806)
+++ Migrate-Host.xml (working copy)
@@ -53,7 +53,7 @@
<record name= action=/>
<!-- Check port conflicts before setting up -->
<echo message=/>
- <antcall target=/>
+ <!-- <antcall target=/> -->
<!-- Update the pattens file which is used to token replace strings -->
<replace file= token= value=/>
<replace file= token= value=/>


thanks,
_raju
 
 wilsonfv 
Posts:3 
Registered: 6/23/08
Re: Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz    
2008-6-26 ??8:16 (reply 4 of 5) 
  
Click to email this message 

  Huge Thanks to ruppalapati!

Following your instruction, Setup has been successfully completed!

Thanks again!

But, may I ask why commenting those code will build the setup successfully?

Edited by: wilsonfv on Jun 26, 2008 11:17 PM

 
 ruppalapati 
Posts:9 
Registered: 8/29/07
Re: Portal Server 7.2 on Windows XP, fail to run "setup.bat" command, plz    
2008-6-27 ??1:58 (reply 5 of 5) 
  
Click to email this message 

  That check was added to ensure that another version of Glassfish or Tomcat is not already running there by impacting the setup. But it appears on some systems that check itself fails :-(
That you confirmed there is no other process on listening on these ports, I suggested that you disable the check.
Each flavor of Windows (even security fixes) make a difference. Also firewalls and other spyware sniffing software might impact the code that checks if a Port on Windows is currently occupied.

_raju

本文转自kenty博客园博客,原文链接http://www.cnblogs.com/kentyshang/archive/2008/07/04/1235716.html如需转载请自行联系原作者


kenty

相关文章
|
1天前
|
Windows
Windows 系统下安装
在Windows上安装Julia,从官网下载安装程序。32位版本兼容32/64位系统,但64位仅用于64位Windows。运行安装向导,简单点击Next,建议选中添加到PATH选项。完成后,Julia将可在终端使用,默认路径如C:\Users\BAIDU\AppData\Local\Programs\Julia 1.7.2。
|
2天前
|
并行计算 Windows
23.10.02更新 Windows下CUDA和CUDNN的安装和配置(图多详细)
23.10.02更新 Windows下CUDA和CUDNN的安装和配置(图多详细)
10 1
|
2天前
|
并行计算 Ubuntu TensorFlow
23.10.02更新 windows系统下的Tensorflow安装(图多详细)
23.10.02更新 windows系统下的Tensorflow安装(图多详细)
11 0
23.10.02更新 windows系统下的Tensorflow安装(图多详细)
|
3天前
|
安全 测试技术 数据库
达梦数据库Windows安装教程:从准备到完成
达梦数据库Windows安装教程:从准备到完成
|
3天前
|
安全 虚拟化 Windows
手把手教你如何在虚拟机上安装Windows 10
手把手教你如何在虚拟机上安装Windows 10
|
3天前
|
NoSQL Linux Redis
Redis的介绍,以及Redis的安装(本机windows版,虚拟机Linux版)和Redis常用命令的介绍
Redis的介绍,以及Redis的安装(本机windows版,虚拟机Linux版)和Redis常用命令的介绍
17 0
|
3天前
|
编解码 安全 关系型数据库
祝福CSDN的小伙伴2024年快乐!Windows7安装MySQL
祝福CSDN的小伙伴2024年快乐!Windows7安装MySQL
|
3天前
|
SQL Windows
保姆级:Windows Server 2012上安装.NET Framework 3.5
保姆级:Windows Server 2012上安装.NET Framework 3.5
|
4天前
|
计算机视觉 Windows
OpenCV + CLion在windows环境下使用CMake编译, 出现Mutex相关的错误的解决办法
OpenCV + CLion在windows环境下使用CMake编译, 出现Mutex相关的错误的解决办法
10 0
|
7天前
|
Oracle Java 关系型数据库
windows 下 win11 JDK17安装与环境变量的配置(配置简单详细,包含IJ中java文件如何使用命令运行)
本文介绍了Windows 11中安装JDK 17的步骤,包括从官方网站下载JDK、配置环境变量以及验证安装是否成功。首先,下载JDK 17的安装文件,如果没有Oracle账户,可以直接解压缩文件到指定目录。接着,配置系统环境变量,新建`JAVA_HOME`变量指向JDK安装路径,并在`Path`变量中添加。然后,通过命令行(cmd)验证安装,分别输入`java -version`和`javac -version`检查版本信息。最后,作者分享了如何在任意位置运行Java代码,包括在IntelliJ IDEA(IJ)中创建的Java文件,只需去掉包声明,就可以通过命令行直接运行。

热门文章

最新文章