Bug 1126252
| Summary: | Installer fails on Windows 7 | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jason Shepherd <jshepherd> |
| Component: | Installer | Assignee: | Miroslav Sochurek <msochure> |
| Status: | CLOSED UPSTREAM | QA Contact: | Len DiMaggio <ldimaggi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 GA | CC: | soa-p-jira |
| Target Milestone: | --- | ||
| Target Release: | 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:42:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
Jason Shepherd
2014-08-04 01:27:49 UTC
We tried changing all the 127.0.0.1 entries in standalone*.xml to 'localhost' but the installation still failed with the 'database schema creation failed' message. Attached in the installation log from that attempt. Created attachment 924112 [details]
installation log when attempting to update 127.0.0.1 to localhost part way through install
If you look at that Installation log, the connect to localhost only fails on the first attempt. Subsequent attempts to connect with the CLI work OK. I can't recreate this locally, but I was using the default database. I asked the customer to try this as well, and report back. Hey Jason, The attachment you've added seems to be the output of some kind of port / ip tracing software, can you upload the log please? Also I've changed the BZ "Version" to 6.0.0.GA (because this is the version with the problem) and the "Target Release" to 6.1.0, because this is where the fix will go. Created attachment 924258 [details]
Loopback test
Hello,
I also cannot create this situation locally. I tested with MSSQL.
It is possible that a packet filter/firewall is causes the issues stated above.
You may want to turn of any firewalls to see if this is the problem.
Attached is a java class to query the machines loopback address and localhost.
Download the file and run "java LoopBack".
Ensure that you do not receive any exceptions.
Below is the output I received, it indicates that my loopback and localhost connections are indeed a loopback address.
"""
[Loopback] InetAddress = localhost/127.0.0.1
[Loopback] InetAddress.isAnyLocalAddress = false
[Loopback] InetAddress.isLinkLocalAddress = false
[Loopback] InetAddress.isLoopbackAddress = true
[Loopback] InetSocketAddress = localhost/127.0.0.1:8080
[Loopback] InetSocketAddress.isUnresolved = false
[LocalHost] InetAddress = John-PC/10.0.2.15
[LocalHost] InetAddress.isAnyLocalAddress = false
[LocalHost] InetAddress.isLinkLocalAddress = false
[LocalHost] InetAddress.isLoopbackAddress = false
[LocalHost] InetSocketAddress = John-PC/10.0.2.15:8080
[LocalHost] InetSocketAddress.isUnresolved = false
[0.0.0.0] InetAddress = /0.0.0.0
[0.0.0.0] InetAddress.isAnyLocalAddress = true
[0.0.0.0] InetAddress.isLinkLocalAddress = false
[0.0.0.0] InetAddress.isLoopbackAddress = false
[0.0.0.0] InetSocketAddress = /0.0.0.0:8080
[0.0.0.0] InetSocketAddress.isUnresolved = false
"""
Comment on attachment 924112 [details]
installation log when attempting to update 127.0.0.1 to localhost part way through install
I uploaded the output of netstat instead of the log.
Created attachment 924352 [details]
Installation Logs from various attempts by customer to run the installer
InstallationLog.txt.localhostChange is the log which we attempted to change standalone*.xml from 127.0.0.1 to localhost during the installation process.
Got some more updates from the customer, they will send more details of how to setup the static IP in Windows 7. They claim that this issue only happens on workstations which are configured with a static IP address. They ran the java LoopBack program you offered, and the output looks as expected: [Loopback] InetAddress = localhost/127.0.0.1 [Loopback] InetAddress.isAnyLocalAddress = false [Loopback] InetAddress.isLinkLocalAddress = false [Loopback] InetAddress.isLoopbackAddress = true [Loopback] InetSocketAddress = localhost/127.0.0.1:8080 [Loopback] InetSocketAddress.isUnresolved = false [LocalHost] InetAddress = AUD113047D/10.10.10.10 [LocalHost] InetAddress.isAnyLocalAddress = false [LocalHost] InetAddress.isLinkLocalAddress = false [LocalHost] InetAddress.isLoopbackAddress = false [LocalHost] InetSocketAddress = AUD113047D/10.10.10.10:8080 [LocalHost] InetSocketAddress.isUnresolved = false [0.0.0.0] InetAddress = /0.0.0.0 [0.0.0.0] InetAddress.isAnyLocalAddress = true [0.0.0.0] InetAddress.isLinkLocalAddress = false [0.0.0.0] InetAddress.isLoopbackAddress = false [0.0.0.0] InetSocketAddress = /0.0.0.0:8080 [0.0.0.0] InetSocketAddress.isUnresolved = false Thanks for following up on this Jason; note that the underlying issue is that the jboss-cli.sh cannot start. It's possible there's a bug in the jboss-as-cli code that is causing this issue, looking at the output of the LoopBack program Customer stated this is now they configure their network on Windows 7: 1. Click on 'Start Menu', then 'Control Panel'. 2. Click on 'Network and Sharing Center'. 3. On the left, click on 'Change adapter settings'. 4. Right click on the relevant connection, and select properties. 5. Double click on the 'Internet Protocol Version 4 (TCP/IPv4) option. 6. Select 'Use the following IP address' Enter the appropriate details. 7. Select 'Use the following DNS server addresses' Enter the appropriate details. (in our case there are two DNS servers) 8. Click on Advanced, then click on the 'DNS' tab. Select 'Append these DNS suffixes (in order)' Enter the appropriate details. (in our case there are two domains). 9. Click Ok, Ok, OK to finish. Wait a minute for settings to apply. Hello,
I've configured my VM with the steps provided above,
but I am not encountering the problems indicated in attachment 924352 [details].
It is looking like a problem with their network configuration.
I am not able to emulate the problem.
Any more news on this issue? I'd like to figure out the root cause so that it can be addressed in future releases. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |