Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Web Services

Reply
Contributor
Posts: 18
Registered: ‎09-23-2011
My Device: BlackBerry - 8800
My Carrier: MCA

JVM Error : 104 Synchronized Exception

 

Respected Experts,

 

     I face the JVM Error : 104 Synchronized error in Blackberry Plug-ins when i am trying to develop Sybase Unwired Platform 2.0's Application in it.. and then when i continueing with this error i got another error like

 

Uncaught Exception :
ianywhere.ultralitej.implementation.JrException:
UltraLiteJ Error[-85]:
Communication error
Local Connection timed out
after ~ 120000 Details:
StreamErrorCode=0
StreamErrorMessage=0

 

Waiting for your Response.

 

Regards,

 Tapan

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: JVM Error : 104 Synchronized Exception

Hi Tapan,

 

What line of code is throwing the JVM 104?

 

The second issue simply appears to be a timeout, are you able to connect to the traget server from your workstation? Do you have the MDS-CS simulator running?

 

Regards,

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 18
Registered: ‎09-23-2011
My Device: BlackBerry - 8800
My Carrier: MCA

Re: JVM Error : 104 Synchronized Exception

 

Hi,

 

    Sorry for late reply. And thanks for your reply.

    Still i face the same error in SUP 2.0 when BB simulator trying to Retrieving data from SAP.

    Can't understand how to solve this issue ?

 

 Please Help me.

 

Thanks & Regards,

 Tapan

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: JVM Error : 104 Synchronized Exception

Hi Tapan,

If you could respond with the information requested in my earlier post it would help to get started with finding the cause of this issue.
Garett
@garettBeuk
--
Goodbye everybody!
New Contributor
Posts: 3
Registered: ‎10-12-2011
My Device: Strom
My Carrier: Airtel

Re: JVM Error : 104 Synchronized Exception

[ Edited ]

Hi Garett,

I am also facing the same issue for the past two weeks am losing my hope on BB development. Kindly give me some inputs to recover my application from this issue.

Yes, I can connect My Unwired Server from the SUP framework or Am I need to check in some other way..?? Please suggest to test the SUP server from the workstation..

Yes MDS - CS is simulator is running.

Exception am getting is:

ianywhere.ultrlitej.implmentation.jrException: UltraLiteJ Error [-85]: Communication Error Local Connection timed out after ~ 120000 Details: StreamErrorCode = 0 StreamErrorMessage = null

kindly suggest..

Thanks & Regards
Rajesh A

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: JVM Error : 104 Synchronized Exception

Hi Rajesh,

 

What line in your application is throwing this error?

What transport is specified for this connection?

Does your environment require a proxy for network connectivity?

From the simulator's Browser, are you able to browse to the destination server?

Garett
@garettBeuk
--
Goodbye everybody!
New Contributor
Posts: 3
Registered: ‎10-12-2011
My Device: Strom
My Carrier: Airtel

Re: JVM Error : 104 Synchronized Exception

hi Garett,

 

1. These lines are casuing the issue.. 

 

IncidentManagementDB.loginToSync(uname, pword);
IncidentManagementDB.synchronize();

2. I hope TCP/IP is being used for the connection

 

3. No proxy requried to connect network

 

4. I can not browse to the destination server from the simulator's browser.. but i can connect google and other sites as well.

 

 

Please let me know if you need any other info.

 

Thanks,

Rajesh A

 

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: JVM Error : 104 Synchronized Exception

Hi Rajesh,

 

Can you connect to this server using your desktop computer's Internet Browser?

Can you verify the transport used for ther connection? Please reply with the line URL format used when establishing this connection from the application.

When you browse to web sites from the simulator, do you see activity in the MDS simulator?

Is the destination server hosted internally (accessible only from the intranet)?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 18
Registered: ‎09-23-2011
My Device: BlackBerry - 8800
My Carrier: MCA

Re: JVM Error : 104 Synchronized Exception

Hello All,

        Please tell me how to used SUP 2.0 in windows server and how can i connect it from My local machine through that Server machine ?

New Contributor
Posts: 3
Registered: ‎10-12-2011
My Device: Strom
My Carrier: Airtel

Re: JVM Error : 104 Synchronized Exception

Hi Garett ,

 

Yes I can connect from my desktop browser. 

Http is being used as Transport protocol. 

I dont see any activity in the MDS simulator when browse to web sites

Yes it seems the destination server is configured internally..!! I cannot access from any other PC than the installed one. 

 

Please suggest.

 

Thanks & Regards

Rajesh A