Reported by [http://code.google.com/u/johan.eriksson.hem/
johan.eriksson.hem], Jul 13, 2009
*What steps will reproduce the problem?*
1. Sätt hsatools.hriv.webcomp.accessibilityDatabaseIntegrationGetIdUrl and
hsatools.hriv.webcomp.accessibilityDatabaseIntegrationGetInfoUrl till
URL:er som inte är åtkomliga från klient.
2. Sätt hsatools.hriv.webcomp.useAccessibilityDatabaseIntegration=false
3. Kör applikationen, gör en sökning och välj en enhet
*What is the expected output? What do you see instead?*
Exception kastas:
2009-07-09 08:31:59,602 INFO
[se.vgregion.kivtools.search.presentation.DisplayUnitDetailsFlowSupport
Bean] -
<se.vgregion.kivtools.search.presentation.DisplayUnitDetailsFlowSupportBean::get
UnitDetails
(
hsaId=SE2321000115-O15652)>
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress
(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:837)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConnection.java:778)
at
sun.net.www.protocol.http.HttpURLConnection.connect
(HttpURLConnection.java:703)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1026)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at
se.vgregion.kivtools.search.presentation.DisplayAccessibilityDatabaseBean.assign
Accessibi
lityDatabaseId(DisplayAccessibilityDatabaseBean.java:149)
*What version of the product are you using? On what operating system?*
Rev: 1450 Win XP
*Please provide any additional information below.*
Föreslagna förändringar i DisplayAccessibilityDatabaseBean.java
public void assignAccessibilityDatabaseInfo(Unit u,
AccessibilityDatabaseFilterForm accessibilityDatabaseFilterForm)
throws IOException, SAXException,
ParserConfigurationException {
// If propery set to false, just return
if(useAccessibilityDatabaseIntegration.equalsIgnoreCase("false"))
return;
...
public boolean assignAccessibilityDatabaseId(Unit u) {
try {
// If propery set to false, just return
if(useAccessibilityDatabaseIntegration.equalsIgnoreCase("false"))
return false;
...
Original issue reported on code.google.com by jonas.li...@gmail.com on 20 Aug 2009 at 9:12
Original issue reported on code.google.com by
jonas.li...@gmail.com
on 20 Aug 2009 at 9:12