One Star

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

  • Talend MDM Server
21 REPLIES
One Star

Re: Help On "Add MDM Server Location"

Is your server running? Are you able to get to the web page and log in? http://localhost:8080/talendmdm/secure/ ?

What settings and credentials are you using for the login? Do you have a firewall enabled on your machine?
One Star

Re: Help On "Add MDM Server Location"

I have the same issue on a Windows XP machine. I've executed the Run.bat file in the JBoss server directory. It echos the variables JAVA, JBOSS_HOME, ClassPath and JAVA_OPTS then prints "Usage: Java" and lists Java options. The variables appear to be pointing to the correct paths. JAVA_OPTS has a long list and it is difficult for me to determine if they are correct. The list is below.
When the server is not running or I choose the wrong localhostSmiley Tongueort I receive a 404 error. When it is running I receive ...
"HTTP transport error: java.net.ConnectException: Connection refused: connect; nested exception is:
HTTP transport error: java.net.ConnectException: Connection refused: connect"
... error after it starts loading MDM Server Objects. User Name=admin, password=talend, server=http://localhost:28080/talend/TalendPort (I have a different app on 8080 and the MDM install chose this port for me).
Any help is appreciated.
JAVA_OPTS: -Djava.library.path="C:\TalendMDM\TMDMCE_TOSTOP-Server-All-r49467
V4.1.0\jboss-4.2.2.GA\bin\native;C:\Program Files\CA\SC\CAWIN\;C:\Program Files
Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32
Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Microsoft SQL Server
80\Tools\Binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Syst
m Center Operations Manager 2007\;C:\Program Files\Microsoft Team Foundation Se
ver 2008 Power Tools;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Pro
ram Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program F
les\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft Visual Stud
o 9.0\Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\T
ols\binn\;C:\Program Files\CA\DSM\bin;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program File
\java\jdk-6u3\jre\bin\client;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Prog
am Files\CA\SC\Csam\SockAdapter\bin;C:\Program Files\CA\SC\CBB\;C:\Program File
\System Center Operations Manager 2007\" -Dprogram.name=run.bat -server -server
-Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
One Star

Re: Help On "Add MDM Server Location"

Is your server running? Are you able to get to the web page and log in? http://localhost:8080/talendmdm/secure/ ?
What settings and credentials are you using for the login? Do you have a firewall enabled on your machine?

yes the server is running
I can't get to the web page and login ( I get a Unable to connect error message)
credential: Admin/talend
no firewall
One Star

Re: Help On "Add MDM Server Location"

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.
One Star

Re: Help On "Add MDM Server Location"

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.

thanks for the tip
are you referring to the Run.bat in the Jboss folder because if thats the case all i have in it when i open to edit it is below:

cd bin
./run.bat -b 0.0.0.0
cd -
One Star

Re: Help On "Add MDM Server Location"

Is your server running? Are you able to get to the web page and log in? http://localhost:8080/talendmdm/secure/ ?
What settings and credentials are you using for the login? Do you have a firewall enabled on your machine?

yes the server is running
I can't get to the web page and login ( I get a Unable to connect error message)
credential: Admin/talend
no firewall
I decided to do another install and i found this
the server is not running
Log4j: Error failed to create directory structure:.......
.
.
.
Jboss Shutdown; Undeploying all packes
Shutdown complete
when I try to start the JBoss service
I get the erro messsage:
Windows could not start the JBoss Application Server 5.0 service on Local Computer
Error2: The system cannot find the file specified.
One Star

Re: Help On "Add MDM Server Location"

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.
One Star

Re: Help On "Add MDM Server Location"

Hello,
I have defined a data model in Talend MDM perspective. When I try to define it in talend designer, I can't retrieve it under the MDM connection. I try with two different user and profile definition but I never find it.
I use Talend MDM Enterprise edition version 4.0.3.
I forget something ? Or It's the wrong method ? I follow the excercise book from the roadshow. It's there a mistake ?
One Star

Re: Help On "Add MDM Server Location"

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
One Star

Re: Help On "Add MDM Server Location"

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 .
10/20/2010 08:50 AM ..
...
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 server
7 File(s) 146,778 bytes
Directory of C:\TalendMDM\jboss-4.2.2.GA\bin
10/20/2010 02:45 PM .
10/20/2010 02:45 PM ..
...
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
One Star

Re: Help On "Add MDM Server Location"

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.
One Star

Re: Help On "Add MDM Server Location"

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
One Star

Re: Help On "Add MDM Server Location"

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
One Star

Re: Help On "Add MDM Server Location"

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
One Star

Re: Help On "Add MDM Server Location"

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
One Star

Re: Help On "Add MDM Server Location"

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?
Employee

Re: Help On "Add MDM Server Location"

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.
One Star

Re: Help On "Add MDM Server Location"

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!
One Star

Re: Help On "Add MDM Server Location"

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.
Employee

Re: Help On "Add MDM Server Location"

Hi chaitanyabnv,
Please use administrator/administrator as credentials to connect to the Web UI.
Regards,
Cyril.
PS : In the future, please open a new thread for any new question, in order to enable people to quickly find an answer when using the search engine.
One Star

Re: Help On "Add MDM Server Location"

Hi
I am facing same issue on 5.3.1_104014 even though server seems to be OK with the credentials.
Login Error
User 'admin' is not allowed to connect
Return to login screen
I am able to connect through admin/talend in studio.
Here is the server output
01:36:59,307 WARN No extension found for save.
01:38:00,218 INFO deploy url:C:\Program Files\TOS_MDM-Server-r104014-V5.
3.1\jboss-4.2.2.GA\server\default\deploy
01:39:22,858 INFO Logged Out User 'anonymous' in Universe
01:39:22,859 INFO login() User 'anonymous' successfully log
ged in Universe ''
01:39:22,860 INFO Logged Out User 'anonymous' in Universe
01:39:22,860 INFO login() User 'anonymous' successfully log
ged in Universe ''
01:40:26,690 INFO Logged Out User 'admin' in Universe
Appreciate any help.