cancel
Showing results for 
Search instead for 
Did you mean: 

SUP-Error creating Unwired Server Connection connection to MyUnwiredServer

Former Member
0 Kudos

Hi all,

I've installed the SUP 1.5.2 and selected the Evaulatiuon (30 day trial) and my Unwired Server cannot start. When i try to test the connection in Enterprise Explorer -> Unwired Servers -> My Unwired Server i get the error.

com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: HOSTNAME.DOMAIN_NAME, port: 2000.

at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:106)

at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:40)

at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)

at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)

at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:191)

at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:98)

at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:68)

at com.sybase.uep.datasources.uepprofile.UEPServerConnection.<init>(UEPServerConnection.java:59)

at com.sybase.uep.datasources.uepprofile.UEPConnectionFactory.createConnection(UEPConnectionFactory.java:16)

at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(Unknown Source)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Caused by: com.sybase.djc.SystemException: Error: Connecting to host: HOSTNAME.DOMAIN_NAME, port: 2000.

at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:619)

at com.sybase.djc.rmi.iiop.client.Connection.getInstance(Connection.java:65)

at com.sybase.djc.rmi.iiop.client.ConnectionPool.iiopConnection(ConnectionPool.java:455)

at com.sybase.djc.rmi.iiop.client.ConnectionPool.newConnection(ConnectionPool.java:410)

at com.sybase.djc.rmi.iiop.client.ConnectionPool.get(ConnectionPool.java:152)

at com.sybase.djc.rmi.iiop.client.ConnectionPool_DJC.get(ConnectionPool_DJC.java:30)

at com.sybase.djc.rmi.iiop.ObjectRef.$connect(ObjectRef.java:275)

at com.sybase.djc.org.omg.CosNaming.iiop_stubs.NamingContext._is_a(NamingContext.java:60)

at com.sybase.djc.rmi.iiop.client.ClientNamingContext.init(ClientNamingContext.java:697)

at com.sybase.djc.rmi.iiop.client.ClientNamingContext.getInstance(ClientNamingContext.java:76)

at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:99)

... 13 more

Caused by: 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:525)

at java.net.Socket.connect(Socket.java:475)

at java.net.Socket.<init>(Socket.java:372)

at java.net.Socket.<init>(Socket.java:186)

at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:607)

... 23 more

When starting the service manually in Control Panel -> Admin Tools -> Services i get error:

Could not start the SybaseUnwiredPlatformHOST_NAMEServer1 service.

All others services has started successfully.

I assume i'm not able to connect to the unwired server becuase the service is not started and i've got no idea why the service can't start. Can someone give me a direction as to what could be the problem.

Thank you.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Jack,

     I had the same issue. However i could resolve it successfully.

Try to use server ip address where sup server is installed while configuring the server in your workspace. If you have already configured the server, try to right click on the server and goto properties and change the name to ip address and IP Domain as blank.

Hope this is helpfull.

Regards

Bharath.

ram_k19
Participant
0 Kudos

Hi Bharath,

i was installed SUP 2.1.3 into my PC, i can able to create MBO's, and unable deploy project, my server connection details are

HOST            - IVY-SAP

IP domain      - Blank

Port               -     2001

user name     -     supAdmin

password      -     s3pAdmin (Which i setted earlier)

using above all infomation, when i am deploying project i am getting the error...

"error conecting to profile 'My unwired server'; could not connect to My unwired server".

.....

  1. com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: localhost, port: 2000.

                at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:94)

                at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:35)

                at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)

                at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)

                at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:240)

                at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:147)

                at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:117)

                at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:93)

                at com.sybase.uep.datasources.uepprofile.UEPServerConnection.checkCompatibility(UEPServerConnection.java:88)

                at com.sybase.uep.datasources.uepprofile.UEPServerConnection.<init>(UEPServerConnection.java:58)

                at com.sybase.uep.datasources.uepprofile.UEPConnectionFactory.createConnection(UEPConnectionFactory.java:16)

                at org.eclipse.datatools.connectivity.internal.Conn

..........

or else i need to change any thing in the system...settings...

can you please let me know to fix my problem.

br / ramesh

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ram,

I request u to post a new  thread at

http://scn.sap.com/community/developer-center/mobility-platform

Since this thread s already been closed....

Fyi... creating mbo doesnt require sup server cnnctivity. U are getting above bcoz u r nt able to connect to sup server.

In mean time you may try some stps :

Open Windows service component and chck where server is up and running. (assuming u have installed sup seever on same machine)

check whether all sup related services are up and running?

If yes and then also u are not able to connect. .. then.

Stop sup related services

Restart machine

Make sure windows server s up nd running

Start sup services.

Regards,

Jitendra

midhun_vp
Active Contributor
0 Kudos

Were you able to connect to unwired server from SUP workspace?

Make sure Unwired server up .

- Midhun VP

ram_k19
Participant
0 Kudos

Hi Jitendra,

Thanks for your reply, plz find the inserted image, is i am on the right track, if not can you plz correct me.

br / ramesh.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Your sup server is not getting connected. ..so ping would be unsuccessful.

Did you follow what are the steps I mentioned. ..didnt t wrk?

Wht s license type, is it trial version?

midhun_vp
Active Contributor
0 Kudos

Are you using a trial version of SUP ? These type of issues happens if the licence is expired.

Check the logs for more details , C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\logs

- Midhun VP

ram_k19
Participant
0 Kudos

Hi Midhun,

Thanks for your reply, and I followed all the steps what you have mentined, but i didnt get result positively.

Uninatalled sever, and i want install sup again, can you plz let me know the installation process, ists for 2.1.3 sup.

Regards / Ramesh.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Ram, Make sure you have proper license for sup installation if its not trial one. (Assuming you have admin rights ) Window server service should be up and running. Run exe file.
midhun_vp
Active Contributor
0 Kudos

     Uninstall SUP and delete the SUP folders.

1. Turn Windows UAC off and restart the system.

2. Run install as the Administrator and restart the System.

3. Delete the Sybase directory.

4. Install SUP 2.1 as the Administrator and restart the system.

5. Shut all SUP processes down and install SUP 2.1.3 (and 2.1.3
Workspace if needed).

6. (Optional), shutdown all SUP processes and install patches for SUP
2.1.3 (EBF 20512).

7. After all SUP processes are back up, connect to SCC and create a
test connection to SAP and ensure you can connect successfully.

8. Attempt to redeploy the project.

- Midhun VP

ram_k19
Participant
0 Kudos

Thanks Midhun, i am installing SUP licnce ver. into my system, how can i use the licence number, and what are id's have to use when we are using licenced ver of of the SUP.

br / ramesh.

ram_k19
Participant
0 Kudos

Hi Midhun,

Thanks for your reply, i reinstalled sup server still i am unable to conncet unwired server, plz find the error image...

can you plz share any idea to fix mu problem...

br / ramesh.

midhun_vp
Active Contributor
0 Kudos

http://enterprisemobilityblog.com/how-to-update-license-in-sybase-unwired-platform-sup-2-0/#comment-...

After installing the SUP server you need to apply the license as given above.

- Midhun VP

midhun_vp
Active Contributor
0 Kudos

Did you applied license to the server after installing the server ?

- Midhun VP

ram_k19
Participant
0 Kudos

Thanks Midhun with immediate response.

i am using evalution option, for that not necessary if i am wrong plz correct me.

if i am using license version of sup how can i use the license key, plz explain.

thanks / ramesh...

ram_k19
Participant
0 Kudos

Midhun, How can use license.

br / ramesh

midhun_vp
Active Contributor
0 Kudos

Am not sure by selecting the option "evaluation" will work properly or not in the SUP 2.2 case. The link I mentioned have the steps to apply the license to an SUP server. You need to generate license from SAP market place and apply in the SUP server.

For trial you can try this, http://scn.sap.com/docs/DOC-28279

- Midhun VP

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

for evaluation one, you need to select either served or unserved license depending on your license type. Then you need to select license file while installation.

Regards,

Jitendra

Former Member
0 Kudos

hi all

Even I have encountered the same difficulty while configuring the Unwired server connection properties. I am using SUP 2.0

The ping failed and i got an exception as..

com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: 208.44.114.154, port: 2000.

at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:89)

at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:35)

at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)

at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)

at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:191)

at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:98)

at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:68)

at com.sybase.uep.datasources.uepprofile.UEPServerConnection.checkCompatibility(UEPServerConnection.java:88)

at com.sybase.uep.datasources.uepprofile.UEPServerConnection.<init>(UEPServerConnection.java:58)

at com.sybase.uep.datasources.uepprofile.UEPConnectionFactory.createConnection(UEPConnectionFactory.java:16)

at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)

at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: com.sybase.djc.SystemException: Error: Connecting to host: 208.44.114.154, port: 2000.

at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:619)

at com.sybase.djc.rmi.iiop.client.Connection.getInstance(Connection.java:65)

at com.sybase.djc.rmi.iiop.client.ConnectionPool.iiopConnection(ConnectionPool.java:455)

at com.sybase.djc.rmi.iiop.client.ConnectionPool.newConnection(ConnectionPool.java:410)

at com.sybase.djc.rmi.iiop.client.ConnectionPool.get(ConnectionPool.java:152)

at com.sybase.djc.rmi.iiop.client.ConnectionPool_DJC.get(ConnectionPool_DJC.java:30)

at com.sybase.djc.rmi.iiop.ObjectRef.$connect(ObjectRef.java:275)

at com.sybase.djc.org.omg.CosNaming.iiop_stubs.NamingContext._is_a(NamingContext.java:60)

at com.sybase.djc.rmi.iiop.client.ClientNamingContext.init(ClientNamingContext.java:697)

at com.sybase.djc.rmi.iiop.client.ClientNamingContext.getInstance(ClientNamingContext.java:76)

at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:82)

... 14 more

Caused by: java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:529)

at java.net.Socket.connect(Socket.java:478)

at java.net.Socket.<init>(Socket.java:375)

at java.net.Socket.<init>(Socket.java:189)

at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:607)

... 24 more

Please help

Former Member
0 Kudos

Hi,

I had similat problem and I noticed in my logs that set admin password first using the bat file located

C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\bin\set-admin-password.bat

Once I set the password for my new installation, I am able to start the server from the Sybase Control Center interface and able to deploy my application.

Hope this information helps.

Former Member
0 Kudos

Hello Expert,

If you faced the Unknow Error at the time of Installation then you have to uninstall it and then

remove localhost link from your host driver files.

Path of it : Windows->run

type : drivers Then "etc" folder and then hosts file. open it in notepad and then remove localhost link.

Then sure you will not face that error.

Regards,

Tapan

Former Member
0 Kudos

I had a prolem like that, but it was caused because the ip was diefrent in the server and in the machine

Former Member
0 Kudos

ase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: HOSTNAME.DOMAIN_NAME, port: 2000.

The above error is because the unwired server properties aren't correct.

Right click on the unwired server and select properties Check if the host name ,domain and port is mentioned properly .

You can also use IP address insted of Hostname.

Regarding the SybaseUnwiredPlatformHOST_NAMEServer1 not starting.

Please check and paste the last log in sybase root\UnwiredPlatform\Servers\UnwiredServer\logs\<hostname>-http.log here

Former Member
0 Kudos

you please install SUP server in windows 2003 server as in XP/others getting problem while opening Sybase Control center.

Sybase control center is used to check the status of SUP server.

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Is 30 days over after installation? In that case, SUP server service will not be started.

Edited by: Siva Satya Prasad Yerra on Mar 15, 2011 8:14 PM

Former Member
0 Kudos

Hi Siva, i got this errors immediately after installation and it's still within the 30 day trial, i +/-1 week left now.

sivasatyaprasad_yerra
Active Contributor
0 Kudos

Before activating this service, you need activate some more services related to SUP. It is better to click on "Satrt services" shortcut which will be available in desktop.

Former Member
0 Kudos

Yes that's correct and it was after i've done that when i realised that it's the only service that's not started and i tried starting i manually. It's failing both when started on desktop shortcut and manually.

Former Member
0 Kudos

You can find out more about the error in the corresponding log file.

You find it in SUP installation under:

..Unwired Platform/Servers/UnwiredServer/logs

Check the youhost-server.log

You might find good hints why it does not start

Former Member
0 Kudos

1. Please make sure your SUP service is start, double check on window service component

2. on SUP unwiredserver profile. make sure the DOMAIN is empty and valid user was enter.

Former Member
0 Kudos

install SUP server in windows 2003 serve OS,as in others OS ,you will not able to open SCC(sybase control center)

Former Member
0 Kudos

install SUP on Windows 2003 server only

rubens_he
Explorer
0 Kudos

I did install SUP on Windows 2003 server, but got the same error that connot login in

SCC with username 'supAdmin' and password 's3pAdmin' .

I found that between the installing I got a 'Unknown Error' , the Data Tier and Unwired

Server were not completed installed. There was no more information but the sup was installed.

By the way, I only got a Sybase Unified Agent 3.0 service and it was automatic started.

Edited by: Rubens.He on May 4, 2011 6:02 AM

Former Member
0 Kudos

My laptop had 2GB RAM and I had to upgrade to 4GB RAM but becuase it's a 32 bit machine, it can only recoginze up to 3GB. My colleque's laptop is 64 bit machine with 4GB RAM and he also problmes with it. Currently waiting for a desktop with required specs and will install Windows Srver 2003 and see how it goes. Will also be generating development licenses.

Thanks.