Home > Archive > SQL Anywhere Mobile > October 2005 > MobiLink server-initiated synchronization









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MobiLink server-initiated synchronization
Anne Frame

2005-09-28, 8:25 pm


When I try to connect to the smtp server I get the following error:

E. 09/28 13:11:10. Error: java.lang.Exception: SMTP gateway does not
recognize the tag named 'ack_timeout'
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.SmtpGateway. verifyAllPropertyNam
es(SmtpGateway.java:12
5)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.SmtpGateway.init(SmtpGateway.java:132)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:679)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:692)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.Manager. initManageables(Mana
ger.java:701)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.Manager.construct(Manager.java:150)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.Manager. constructWithTrace(M
anager.java:116)
E. 09/28 13:11:10. Error: at
ianywhere.ml.notifier.Manager.<init>(Manager.java:107)
E. 09/28 13:11:10. Error: at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance0(Native Method)
E. 09/28 13:11:10. Error: at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance(Unknown Source)
E. 09/28 13:11:10. Error: at
sun.reflect. DelegatingConstructo
rAccessorImpl.newInstance(Unknown Source)
E. 09/28 13:11:10. Error: at
java.lang.reflect.Constructor.newInstance(Unknown Source)
E. 09/28 13:11:10. Error: at
ianywhere.ml.script.ClassInfo.alloc(ClassInfo.java:6844)
E. 09/28 13:11:10. Error: at
ianywhere.ml.script.MLServerContext. loadNotifiers(MLServ
erContext.java:6744)
E. 09/28 13:11:10. Error: Exception thrown in constructor of class:
"ianywhere.ml.notifier.Manager". Error description: "java.lang.Exception:
SMTP gateway does not recognize the tag named 'ack_timeout'".
Stack trace: "java.lang.Exception: SMTP gateway does not
recognize the tag named 'ack_timeout'

at
ianywhere.ml.notifier.SmtpGateway. verifyAllPropertyNam
es(SmtpGateway.java:12
5)

at
ianywhere.ml.notifier.SmtpGateway.init(SmtpGateway.java:132)

at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:679)

at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:692)

at
ianywhere.ml.notifier.Manager. initManageables(Mana
ger.java:701)

at
ianywhere.ml.notifier.Manager.construct(Manager.java:150)

at
ianywhere.ml.notifier.Manager. constructWithTrace(M
anager.java:116)

at
ianywhere.ml.notifier.Manager.<init>(Manager.java:107)

at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance0(Native Method)

at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance(Unknown Source)

at
sun.reflect. DelegatingConstructo
rAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown
Source)

at
ianywhere.ml.script.ClassInfo.alloc(ClassInfo.java:6844)

at
ianywhere.ml.script.MLServerContext. loadNotifiers(MLServ
erContext.java:6744)

".

Any help would be greatly appreciated.
Bob Frame



David Fishburn

2005-09-28, 8:25 pm

"Anne Frame" <aframe@nobelmed.com> wrote in news:433ae8da@forums
-2-dub
of sybase.public.sqlanywhere.mobilink:

Please ALWAYS include version and MORE importantly BUILD number
with EACH post (dbeng9 -v).

What are you trying to do?
Authenticate?
SIS?

Start ML using -v+ -ot ml.txt.
Post the full content after an attempted synchronization.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

Robert Frame

2005-09-28, 8:25 pm


Sorry, while I was waiting I installed the latest version from your site and
still have the same problem.
Adaptive Server Anywhere Database Engine Version 9.0.2.2451
I am trying to do SIS with SMS.

Here is the log.

I. 09/28 17:24:59. Adaptive Server Anywhere MobiLink Version 9.0.2.2451
I. 09/28 17:24:59.
I. 09/28 17:24:59. Copyright © 1989-2004 Sybase, Inc.
Portions Copyright © 2002-2004, iAnywhere Solutions, Inc.
I. 09/28 17:24:59. All rights reserved. All unpublished rights reserved.
I. 09/28 17:24:59.
I. 09/28 17:24:59. This software contains confidential and trade secret
information of
I. 09/28 17:24:59. iAnywhere Solutions, Inc.
Use, duplication or disclosure of the software and
documentation
I. 09/28 17:24:59. by the U.S. Government is subject to restrictions set
forth in a license
I. 09/28 17:24:59. agreement between the Government and iAnywhere Solutions,
Inc. or
I. 09/28 17:24:59. other written agreement specifying the Government's
rights to use the
I. 09/28 17:24:59. software and any applicable FAR provisions, for example,
FAR 52.227-19.
I. 09/28 17:24:59.
I. 09/28 17:24:59. iAnywhere Solutions, Inc., One Sybase Drive, Dublin, CA
94568, USA
I. 09/28 17:24:59.
I. 09/28 17:24:59. Networked Seat (per-seat) model. Access to the server is
limited to 1 seat(s).
This server is licensed to:
I. 09/28 17:24:59. Developer Edition
I. 09/28 17:24:59. Restricted Use
I. 09/28 17:25:02. <Main>: MobiLink server started
I. 09/28 17:25:02. <Main>: Option 1: -notifier
I. 09/28 17:25:02. <Main>: Option 2: -c
I. 09/28 17:25:02. <Main>: Option 3: dsn=AdServer
I. 09/28 17:25:02. <Main>: Option 4: -fr
I. 09/28 17:25:02. <Main>: Option 5: -v+
I. 09/28 17:25:02. <Main>: Option 6: -zu+
I. 09/28 17:25:02. <Main>: Option 7: -x
I. 09/28 17:25:02. <Main>: Option 8: tcpip
I. 09/28 17:25:02. <Main>: Verbose logging: show row values
I. 09/28 17:25:02. <Main>: Verbose logging: show script names when invoked
I. 09/28 17:25:02. <Main>: Verbose logging: show script contents when
invoked
I. 09/28 17:25:02. <Main>: Verbose logging: show schema for each table
I. 09/28 17:25:02. <Main>: Verbose logging: show an error when the first
read of a synchronization fails
I. 09/28 17:25:02. <Main>: Verbose logging: show translated SQL for prepared
statements
I. 09/28 17:25:02. <Main>: Verbose logging: show rowcount values
I. 09/28 17:25:02. <Main>: Individual database connections will be closed
after synchronization errors.
I. 09/28 17:25:02. <Main>: BLOB cache size: 524288
I. 09/28 17:25:02. <Main>: Maximum number of BLOB bytes to compare:
4294967295
I. 09/28 17:25:02. <Main>: Maximum number of database connections: 6
I. 09/28 17:25:02. <Main>: Maximum number of deadlock retries: 10
I. 09/28 17:25:02. <Main>: Timeout for inactive database connections: 60
minutes
I. 09/28 17:25:02. <Main>: Maximum delay between retries after deadlock: 30
seconds
I. 09/28 17:25:02. <Main>: Rowset size: 10
I. 09/28 17:25:02. <Main>: Upload cache size: 524288 bytes
I. 09/28 17:25:02. <Main>: Download cache memory size: 1048576 bytes
I. 09/28 17:25:02. <Main>: Download cache directory size: 10485760 bytes
I. 09/28 17:25:02. <Main>: Number of worker threads: 5
I. 09/28 17:25:02. <Main>: Maximum number of threads uploading concurrently:
5
W. 09/28 17:25:02. <Main>: Warning: Unknown users will be added
automatically (when there is no authenticate_user script).
I. 09/28 17:25:02. <Main>: Example scripts will not be automatically
generated for unknown versions.
I. 09/28 17:25:02. <Main>: Local file for remote synchronization logs:
'dbmlsrv.mle'
I. 09/28 17:25:02. <Main>: Stream specifier 1: tcpip
I. 09/28 17:25:03. <Main>: ODBC DBMS Name: Adaptive Server Anywhere
I. 09/28 17:25:03. <Main>: ODBC DBMS Version: 09.00.0002
I. 09/28 17:25:03. <Main>: ODBC DBMS Driver Version: 09.00.0002
I. 09/28 17:25:03. <Main>: ODBC Version supported by the driver: 3.52
I. 09/28 17:25:03. <Main>: Collation sequence of the consolidated database
is 'cp1252'
I. 09/28 17:25:03. <Main>: Translated SQL:
set temporary option chained = 'ON'
I. 09/28 17:25:03. <Main>: ODBC isolation set to: Read Committed
I. 09/28 17:25:03. <Main>: Connected
I. 09/28 17:25:03. Unable to access JVM config file:
D:\Sybase902\Shared\
Sun\jre142\lib\jvm.cfg. Assuming default JVM config
file.
I. 09/28 17:25:03. Java VM path:
D:\Sybase902\Shared\
Sun\jre142\bin\clien
t\jvm.dll
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\mlscript.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\jodbc.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\mlnotif.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\mlsupport.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\mailapi.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\pop3.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\imap.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\smtp.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\activation.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\qaconnector.jar
I. 09/28 17:25:03. Loading MobiLink support JAR:
D:\Sybase902\win32\..\java\log4j.jar
I. 09/28 17:25:03. Translated SQL:
SELECT property_set_name FROM ml_property WHERE
component_name = ? GROUP BY property_set_name
I. 09/28 17:25:03. Translated SQL:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. Cached ODBC statement:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. Cached ODBC statement:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. Cached ODBC statement:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. Cached ODBC statement:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. Cached ODBC statement:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. Cached ODBC statement:
SELECT property_name, property_value FROM ml_property
WHERE component_name = ? AND property_set_name = ?
I. 09/28 17:25:03. <Carrier(T_Mobile)>: network_provider_id:
TMOBILE
I. 09/28 17:25:03. <Carrier(T_Mobile)>: sms_email_user_prefi
x:
I. 09/28 17:25:03. <Carrier(T_Mobile)>: sms_email_domain: TMOMAIL.net
E. 09/28 17:25:03. Error: java.lang.Exception: SMTP gateway does not
recognize the tag named 'ack_timeout'
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.SmtpGateway. verifyAllPropertyNam
es(SmtpGateway.java:12
5)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.SmtpGateway.init(SmtpGateway.java:132)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:679)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:692)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.Manager. initManageables(Mana
ger.java:701)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.Manager.construct(Manager.java:150)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.Manager. constructWithTrace(M
anager.java:116)
E. 09/28 17:25:03. Error: at
ianywhere.ml.notifier.Manager.<init>(Manager.java:107)
E. 09/28 17:25:03. Error: at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance0(Native Method)
E. 09/28 17:25:03. Error: at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance(Unknown Source)
E. 09/28 17:25:03. Error: at
sun.reflect. DelegatingConstructo
rAccessorImpl.newInstance(Unknown Source)
E. 09/28 17:25:03. Error: at
java.lang.reflect.Constructor.newInstance(Unknown Source)
E. 09/28 17:25:03. Error: at
ianywhere.ml.script.ClassInfo.alloc(ClassInfo.java:7367)
E. 09/28 17:25:03. Error: at
ianywhere.ml.script.MLServerContext. loadNotifiers(MLServ
erContext.java:7267)
E. 09/28 17:25:03. Error: Exception thrown in constructor of class:
"ianywhere.ml.notifier.Manager". Error description: "java.lang.Exception:
SMTP gateway does not recognize the tag named 'ack_timeout'".
Stack trace: "java.lang.Exception: SMTP gateway does not
recognize the tag named 'ack_timeout'

at
ianywhere.ml.notifier.SmtpGateway. verifyAllPropertyNam
es(SmtpGateway.java:12
5)

at
ianywhere.ml.notifier.SmtpGateway.init(SmtpGateway.java:132)

at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:679)

at
ianywhere.ml.notifier.Manager. initGateways(Manager
.java:692)

at
ianywhere.ml.notifier.Manager. initManageables(Mana
ger.java:701)

at
ianywhere.ml.notifier.Manager.construct(Manager.java:150)

at
ianywhere.ml.notifier.Manager. constructWithTrace(M
anager.java:116)

at
ianywhere.ml.notifier.Manager.<init>(Manager.java:107)

at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance0(Native Method)

at
sun.reflect. NativeConstructorAcc
essorImpl.newInstance(Unknown Source)

at
sun.reflect. DelegatingConstructo
rAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown
Source)

at
ianywhere.ml.script.ClassInfo.alloc(ClassInfo.java:7367)

at
ianywhere.ml.script.MLServerContext. loadNotifiers(MLServ
erContext.java:7267)

".
I. 09/28 17:25:03. <Main>: Disconnected
I. 09/28 17:25:03. <Main>: MobiLink server finished



"David Fishburn" <fishburn_spam@off.ianywhere.com> wrote in message
news:Xns96DFA26CF352
3fishburnsybasecom@1
27.0.0.1...
>
> "Anne Frame" <aframe@nobelmed.com> wrote in news:433ae8da@forums
-2-dub
> of sybase.public.sqlanywhere.mobilink:
>
> Please ALWAYS include version and MORE importantly BUILD number
> with EACH post (dbeng9 -v).
>
> What are you trying to do?
> Authenticate?
> SIS?
>
> Start ML using -v+ -ot ml.txt.
> Post the full content after an attempted synchronization.
>
> --
> David Fishburn
> Certified ASA Developer Version 8
> iAnywhere Solutions - Sybase
> Professional Services
> Please only post to the newsgroup
> Please ALWAYS include version and MORE importantly BUILD number with
> EACH post (dbeng9 -v).
>
> EBFs and Maintenance Releases
> http://downloads.sybase.com/swx/sdmain.stm
>
> Developer Community / Whitepapers
> http://www.ianywhere.com/developer
>
> CaseXpress - to report bugs
> http://casexpress.sybase.com
>
> CodeXchange - Free samples
> [url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
>
>




David Fishburn

2005-09-30, 8:24 pm

"Robert Frame" < rframe@motionwireles
s.ca> wrote in
news:433b0b60$1@foru
ms-1-dub of sybase.public.sqlanywhere.mobilink:

RF> Adaptive Server Anywhere Database Engine Version 9.0.2.2451

Lets see the command line you used to start ML.
Lets see your SIS configuration files.
--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

Robert Frame

2005-10-01, 3:23 am


David Shiposh solved this for me.

He identified as

It appears to create a

property with the name "ack_timeout" instead of "confirm_timeout".

As a test, can you try the following. Connect to your Consolidated

database with Interactive SQL and run:

update ml_property set property_name = 'confirm_timeout' where

property_name = 'ack_timeout'



This solved that problem.



Bob

"David Fishburn" <fishburn_spam@off.ianywhere.com> wrote in message
news:Xns96E1AA14A3D2
5fishburnsybasecom@1
27.0.0.1...
>
> "Robert Frame" < rframe@motionwireles
s.ca> wrote in
> news:433b0b60$1@foru
ms-1-dub of sybase.public.sqlanywhere.mobilink:
>
> RF> Adaptive Server Anywhere Database Engine Version 9.0.2.2451
>
> Lets see the command line you used to start ML.
> Lets see your SIS configuration files.
> --
> David Fishburn
> Certified ASA Developer Version 8
> iAnywhere Solutions - Sybase
> Professional Services
> Please only post to the newsgroup
> Please ALWAYS include version and MORE importantly BUILD number with
> EACH post (dbeng9 -v).
>
> EBFs and Maintenance Releases
> http://downloads.sybase.com/swx/sdmain.stm
>
> Developer Community / Whitepapers
> http://www.ianywhere.com/developer
>
> CaseXpress - to report bugs
> http://casexpress.sybase.com
>
> CodeXchange - Free samples
> [url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
>
>




David Fishburn

2005-10-27, 8:20 am

"Robert Frame" < rframe@motionwireles
s.ca> wrote in news:433df4b0$1@foru
ms-
2-dub
of sybase.public.sqlanywhere.mobilink:

RF> It appears to create a
RF> property with the name "ack_timeout" instead of "confirm_timeout".
RF> As a test, can you try the following. Connect to your Consolidated
RF> database with Interactive SQL and run:
RF>
RF> update ml_property set property_name = 'confirm_timeout' where
RF> property_name = 'ack_timeout'

So I am a bit confused.

Did you make a mistake?
Did a sample have a problem? If so, what sample?
Was there a documentation error? If so, where?

We just want to make sure other people do not run into the same issue.
--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

Dave Shiposh

2005-10-27, 8:20 am

It appears to be a bug within the ML Plugin for Sybase Central. If you set
the properties through the GUI of Sybase Central, it improperly creates
'ack_timeout' instead of 'confirm_timeout'.

I've forwarded this information onto Engineering.

Kind Regards,

Dave Shiposh
Princial Systems Consultant
iAnywhere Solutions

"David Fishburn" <fishburn_spam@off.ianywhere.com> wrote in message
news:Xns96E455FA1725
5fishburnsybasecom@1
27.0.0.1...
> "Robert Frame" < rframe@motionwireles
s.ca> wrote in news:433df4b0$1@foru
ms-
> 2-dub
> of sybase.public.sqlanywhere.mobilink:
>
> RF> It appears to create a
> RF> property with the name "ack_timeout" instead of "confirm_timeout".
> RF> As a test, can you try the following. Connect to your Consolidated
> RF> database with Interactive SQL and run:
> RF>
> RF> update ml_property set property_name = 'confirm_timeout' where
> RF> property_name = 'ack_timeout'
>
> So I am a bit confused.
>
> Did you make a mistake?
> Did a sample have a problem? If so, what sample?
> Was there a documentation error? If so, where?
>
> We just want to make sure other people do not run into the same issue.
> --
> David Fishburn
> Certified ASA Developer Version 8
> iAnywhere Solutions - Sybase
> Professional Services
> Please only post to the newsgroup
> Please ALWAYS include version and MORE importantly BUILD number with
> EACH post (dbeng9 -v).
>
> EBFs and Maintenance Releases
> http://downloads.sybase.com/swx/sdmain.stm
>
> Developer Community / Whitepapers
> http://www.ianywhere.com/developer
>
> CaseXpress - to report bugs
> http://casexpress.sybase.com
>
> CodeXchange - Free samples
> [url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com