Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Help On "Add MDM Server Location"

I installed MDM following all the instruction and all is well until I go to setup the location and I get this error

HTTP transport error: java.net.connectException: Connection refused:
connect; nested exceptgion is:
HTTP transport error: java.net.connectException: Connection refused:
connect

I'm installing this on a Win 7 virtual machine on my mac
Thanks

Labels (1)
  • Other

21 Replies
Anonymous
Not applicable
Author

Go to the Run.bat file in your JBoss 4.2.2 bin directory. There is a Run.bat, service.bat, probe.bat, etc. in that directory.

The only .bat file in my JBoss 4.2.2 folder is the Run.bat
Below is the directory listing of my TalendMDM install. I've bolded the two run.bat locations. In my installation the C:\TalendMDM\jboss-4.2.2.GA\jboss-4.2.2.GA\run.bat simply calls the C:\TalendMDM\jboss-4.2.2.GA\bin\run.bat. It is the one in the \bin\ directory that needs to have the lines commented out. I don't know why you would only have the one run.bat. Maybe there another Jboss install on the machine?

Directory of C:\TalendMDM\jboss-4.2.2.GA
10/20/2010 08:50 AM <DIR> .
10/20/2010 08:50 AM <DIR> ..
...
10/05/2010 11:22 AM 38,608 readme.html
10/05/2010 11:22 AM 24 run.bat
10/05/2010 11:22 AM 23 run.sh
10/20/2010 08:30 AM <DIR> server
7 File(s) 146,778 bytes
Directory of C:\TalendMDM\jboss-4.2.2.GA\bin
10/20/2010 02:45 PM <DIR> .
10/20/2010 02:45 PM <DIR> ..
...
10/05/2010 11:22 AM 535 probe.bat
10/05/2010 11:22 AM 918 probe.sh
10/05/2010 11:22 AM 1,892 README-service.txt
10/05/2010 11:22 AM 106 readme.txt
10/20/2010 10:12 AM 3,970 run.bat
10/05/2010 11:22 AM 1,541 run.conf
10/05/2010 11:22 AM 43,534 run.jar
10/20/2010 02:45 PM 266,302 run.log
10/05/2010 11:22 AM 6,745 run.sh
10/05/2010 11:22 AM 3,264 service.bat
10/05/2010 11:22 AM 1,809 shutdown.bat
10/05/2010 11:22 AM 21,713 shutdown.jar
10/20/2010 02:44 PM 250 shutdown.log
10/05/2010 11:22 AM 1,903 shutdown.sh
...
35 File(s) 823,136 bytes
Anonymous
Not applicable
Author

Thanks for the info.
the JBoss is installed in a different folder under the Program Files folder I'll move it and see if this might be the culprit.
Anonymous
Not applicable
Author

Solved
thanks Mike
fwiw i used jdk 1.5
installed the jboss in the TalendMDM dir vs Program Files
and commented out the lines pointed out by Mike Peterson above
Anonymous
Not applicable
Author

I've been able to resolve my connection issue by opening Run.bat and placing REM in the following lines
REM "%JAVA%" -version 2>&1 | findstr /I hotspot > nul
REM if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
I found this suggestion in a JBoss troubleshooting thread on a different site.
I also installed on Win2k3 server but it wasn't until I commented out the lines in RUN.bat that I was able to connect.

I had the issue, and the above solution resolved my problem, Thanks
Anonymous
Not applicable
Author

I am still having this same problem that Neous was having.
While Adding MDM server location to the default location "http://localhost:8080/talend/TalendPort"
(NB: The JBoss is running in my own machine)
I commented the above lines that were in discussion. Still I am facing this exception

HTTP transport error: java.net.SocketException: Unexpected end of file from server; nested exception is:
HTTP transport error: java.net.SocketException: Unexpected end of file from server
Any help is appreciated.
Thanks,
Deba
Anonymous
Not applicable
Author

Hi
I had same problem but solved by two things.

1.set jdk file to "System" environment variables ( I was set "User" environment variables ).
2.Don't create Jboss files under C:\Program Files\ (when double click "run.bat", creating some folder and files. For creating needed "Admin" rights there)


Thanks,Hata
Anonymous
Not applicable
Author

I've been able to resolve my connection issue by opening Run.bat and placing REM in the following lines
REM "%JAVA%" -version 2>&1 | findstr /I hotspot > nul
REM if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
I found this suggestion in a JBoss troubleshooting thread on a different site.
I also installed on Win2k3 server but it wasn't until I commented out the lines in RUN.bat that I was able to connect.

I had the issue, and the above solution resolved my problem, Thanks
Having the same problem in a slightly different environment:
XP SP3 VM on Mac OS X
4.2.2 CE
MDM Server starts up automatically after the VM boots, and I can connect to the Web UI at http://localhost:8180/talendmdm as user/user and administrator/administrator.
I've commented out the lines in run.bat as described above, and rebooted.
I've also got JAVA_HOME defined as C:\Java\jdk1.6.0_26\jre in a user variable.
When I try to create a new MDM Server in the MDM Studio UI with a server address of http://localhost:8080/talend/TalendPort (the default) as admin/talend, I keep getting the following error:
HTTP transport error: java.net.ConnectException: Connection refused: connect; nested exception is:
HTTP transport error: java.net.ConnectException: Connection refused: connect
Any ideas?
Anonymous
Not applicable
Author

Hi simon_w_day,
Check the port : your server is bound on localhost:8180 whereas you try to reach localhost:8080 in the Studio.
Regards,
Cyril.
Anonymous
Not applicable
Author

Hi simon_w_day,
Check the port : your server is bound on localhost:8180 whereas you try to reach localhost:8080 in the Studio.
Regards,
Cyril.

Hello.
I was able to start the MDM studio (version 4.2) and followed the tutorial to add MDM server and encountered the login problem described in this thread.
I was able to solve it by changing the port in the add MDM server location dialog from 8080 to 8180.
Also applies for the MDM console http://localhost:8180/talendmdm/secure/
Thank you for the advice!
Anonymous
Not applicable
Author

Hi,
Iam facing the similar problem. But my jboss is running succesfully.
I try to run the talend mdmce it shows error.
HTTP transport error: java.net.ConnectException: Connection refused: connect; nested exception is:
HTTP transport error: java.net.ConnectException: Connection refused: connect
when i try this through browser for jboss
http://localhost:8180/
it runs succesfully.
When i try this through browser for talend mdm
http://localhost:8180/talendmdm/secure/
It shows login page.
When i give the credentials
login:admin
password:talend
it shows error:
User 'admin' is not allowed to connect
Any help is appreciated....
Thanks in advance.