Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to set up local web server for Rad-7 testing

Posted on 2012-09-13
6
Medium Priority
?
775 Views
Last Modified: 2013-04-25
I have a java / jsp web application that I maintain, but infrequently. I just tried to make a small change but can't get the local server started, it's been a while but everything worked fine in the last round of changes.

PC has since been upgraded to Windows-7 which caused a fair amount of issues, which I've been able to correct one by one. For example, Rad-7 had to be re-installed and that seems ok - I can open the application from my workspace, and that seems ok. Then I got source code control connected to Dimensions, etc. But now trying to start the server and it's not opening, see log file.
- The log file says "Server server1 open for e-business", but later says "Conflict detected on port 8881.  Likely causes: a) An instance of the server server1 is already running  b) some other process is using port 8881" (unlikely that another server is running)

The help says to open the Administrative Console, but I'm not sure how to do that.
startServer.log
0
Comment
Question by:Alaska Cowboy
  • 4
  • 2
6 Comments
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 750 total points
ID: 38403852
The short answer is that the error message is telling you all you need to know -- something is already listening on port 8881 .  Get a cmd window and type
netstat -a
and look for 8881 .  That will tell you what to kill or not to run your app.  It sounds as if RAD7 was already started when you tried to start it again.

Are you asking how to get to the RAD7 Administrative Console?  Check the basic, doc, or search ee:
http://www.experts-exchange.com/Programming/Languages/RAD/Q_24516593.html
The url is http://localhost:9060/ibm/console/ .

The long answer is that it sounds as if you are porting a webapp within RAD7 to Windows 7.  It's a lot of work, and you'd be much better off if you could have the developers of the webapp do the port, or have them answer your questions as to why it's having conflicts.

However, if you want to port it yourself, then you need to post a lot more information and source code about the problem.
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 38404006
Ok, I will check on this Monday, thank you.
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 38421833
mrcoffee,

sorry for the delay.

>>Get a cmd window and type netstat -a, and look for 8881
- did that, don't see 8881, see attached.

>>It sounds as if RAD7 was already started when you tried to start it again.
- I don't think so, after upgrading to W-7, then I had Rad-7 installed, so I doubt anything was running.

>>Are you asking how to get to the RAD7 Administrative Console?
- yes, but I thought that was done within RAD-7 itself . . . I don't understand how a URL has the Admin console. I tried the link above and those in the EE post you referenced, none of them work.

>>it sounds as if you are porting a webapp within RAD7 to Windows 7.
- not exactly sure what you are asking about porting the app . . . I have a web application, then upgraded to W-7 and re-installed Rad-7, shouldn't it work if Rad-7 is properly installed ?

The issue is my webserver won't load, so my take is the Rad-7 installation isn't in order, wouldn't this be a separate issue from porting the app ?

Thank you.
netstat-minus-a.txt
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Assisted Solution

by:mrcoffee365
mrcoffee365 earned 750 total points
ID: 38422222
You said in your original post that you had RAD7 running and that you could access it.  Now it sounds as if that's not so.

The port conflict message seems to be common -- I googled for it, and you should try that as well.  You might recognize some of the responses as matching your environment.  This site has some suggestions re: tracking down the 8881 conflict:
http://techstack.com/forum/websphere/42226-admin-console-problems.html
You're right, I don't see 8881 in the netstat you posted.

Many products use urls for their admin consoles, hence the localhost:9060 url.

We don't have a ton of RAD7 experts here, but there might be some.  Ask a different question on EE -- put Websphere, RAD7 and the port console conflict in your question -- that might help.  It sounds as if there's a problem with your RAD7 configuration, you're not yet at a problem with your Java code.
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 38491502
sorry for the delay. I will google the port conflict messages as you suggest. This is low-priority for me, but I still need to resolve it.
0
 
LVL 1

Author Closing Comment

by:Alaska Cowboy
ID: 39112792
this project is on hold for me, so I won't be able to pursue for a while. I apologize for letting this hang so long.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question