TmHttpclientPool-664 [com.sybase.sup.server.http.TmApplicationHandler] [] [] On connection expired .....
Hello,
We have SAP CRM REX 3.1.9 installed for our client with iPad as frontend. Im getting following error in the SUP prod environment.
this error did not occur in QA or Dev system anytime during our testing.
2014-04-01 15:26:12.687 INFO MMS TmHttpclientPool-664 [com.sybase.sup.server.http.TmApplicationHandler] [] [] On connection expired .....
2014-04-01 15:27:08.419 INFO MMS TmHttpclientPool-664 [com.sybase.sup.server.http.TmApplicationHandler] [] [] On connection expired .....
2014-04-01 15:28:05.939 INFO MMS TmHttpclientPool-664 [com.sybase.sup.server.http.TmApplicationHandler] [] [] On connection expired .....
2014-04-01 15:30:39.481 INFO MMS TmHttpclientPool-664 [com.sybase.sup.server.http.TmApplicationHandler] [] [] On connection expired .....
2014-04-01 15:31:16.950 INFO MMS TmHttpclientPool-664 [com.sybase.sup.server.http.TmApplicationHandler] [] [] On connection expired .....
Sync doesn't work at first time for most of the Users but repeated sync requests finally end up having a successful sync at some point of time.
System landscape is
- 2 SUP server
- 1 DB server
- devices are connecting through reverse proxy to SUP server from outside
- Users connect using 3G/4G network or Wifi, I know there is known issue with 3G/4G network connecting to SUP, but Users face same issue while on WIFI also.
Share your thought if someone has faced/fixed similar issue.
Regards
Sameer
Hi Michael and all,
I am also facing the same issue as you, I have installed SUP 2.01 and using Sybase Mobile Sales 1.2.
I have deployed Mobile Sales application on my windows Mobile simulator also connect to the device created in Sybase control center.
When i try to connect Mobile Sales application to the server, initially it shows downloading Activity,leads, Opportunity etc in the status bar, but after some time, it kept saying Checking for Initial Data, and runs never ending. And we are not facing any connectivity issues.
In DOE Session Monitoring we can see status of all the data Objects without errors.
When we checked in the DOE logs, we are getting below 2 warning.
Unable to determine dialect of the StAX implementation at jar:file:/C:/Sybase/UnwiredPlatform/Servers/UnwiredServer/lib/ext/sup-ds.jar!/
Anonymous transaction context. Any attempt to acquire a transactional resource in this context might result in a resource
Micheal, did it work for you further, can you suggest anything on this issue.
Your help will be appreciated.
Thanks and Regards,
Peter Dinesh.
Similar Messages
-
hi, i am trying to open and view a report that comes from another server with different odbc connection
i created a crystal report for a mysql database on my machine and everything works great
but we have other reports that come from other machines with different odbc connection
and this its not working when opens the report asks for credentials
and i cannot use the remote ip for these reports that come from other machine
question
if i cannot connect to remote ip to open the report
for each report i have to create a database the report database on my machine and then open the report ?
or there is some other way to open the report ?
i am using visual studio 2013 and mysql and
<add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
thanksshort
i have a report that it was created on another server with a specific dsn
now i am trying to open the report on my machine
the database from the other server does not exist on my machine
the server machine where the report was created the ip its not accessible
question ?
can i open the report on my machine or its impossible ?
thanks -
Server unexpectedly dropped the connection ...
Safari 4.0.3
This has just started happening
Safari can’t open the page “http://store.apple.com/” because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.
Using Firefox there is no problem
Have cleared cache and reset Safari
What next
john thorneHi!
I'm having the same problem here. Tried to delete cache and disable all internet plugins, but that didn't help either. However, I created a clean new user and tried to surf those pages from that account and it worked flawlessly. Thus I think that there's something messed up with my user account. Any ideas anybody?
Christian -
Hi,
In one of our web application deployed in OC4J( Oracle9ias 9.0.2.3) containers we are getting "com.evermind.server.http.HttpIOException: There is no process to read data written to a pipe." Exception.
The Stack Trace:
com.evermind.server.http.HttpIOException: There is no process to read data written to a pipe.
at com.evermind.server.http.EvermindServletOutputStream.flush(EvermindServletOutputStream.java(Compiled Code))
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java(Compiled Code))
at java.io.OutputStreamWriter.close(OutputStreamWriter.java(Compiled Code))
at com.ramco.security.servlet.Dispatcher.sendResponse(Dispatcher.java(Inlined Compiled Code))
at com.ramco.security.servlet.Dispatcher.service(Dispatcher.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
at java.lang.Thread.run(Thread.java:513)
Can anyone help us in resolving this issue?
Regards,
Suresh.MHi,
No... It is yet to be resolved.
Oracle Recommends us to go to 10g ( at least 9.0.4 ) to check the issue.
Thanks and Regards,
Suresh.M -
Hi
I get an this stack on the server side while doing a forward using RequestDispatcher.
com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
at com.evermind.server.http.EvermindServletOutputStream.flushBuffer(EvermindServletOutputStream.java:81)
at com.evermind.server.http.EvermindHttpServletResponse.flushBuffer(EvermindHttpServletResponse.java:1818)
at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:52)
The funniest part is, i get this exception while i submit the request second time i get this error.. First time it works fine. :)
ANy solution on this would be greatly appreciated.
Thanks
ManjuHi!
I posted a TAR on metalink for this "read timed out" problem. This is the answer I got:
apparently the messages that you listed seem refer to a problem in reading request data from the client - so the HttpIOException is triggered.
I have made a little research on HttpIOException in request-reading context. There are only
two situations in which HttpIOException can be raised without an causing IOExce
ption, and I think none of them applies. So we'd have some kind of IOException t
hat causes the HttpIOException. It might well be a SocketException, because the
text "Read timed out" is as far as I know the standard text for SocketException
if the socket's SoTimeout has been reached.
In fact there is a configuration parameter for OC4J (though undocumented), which allows you to set the Socket's SoT
imeout -- and the default is 15000 (measured in milliseconds). The name is "orac
le.j2ee.http.socket.timeout", and it should be available in OC4J 9.0.3.1 and hig
her (I am definitely sure that it exists in OC4J 9.0.4.1).
So can you please add something like "-Doracle.j2ee.http.socket.timeout=120000" to the startup comma
nd for your standalone OC4J container to increase the timeout from 15 seconds to
2 minutes?
It helped us, although some requests time out "normally" instead.
/jonas -
Com.evermind.server.http.HttpIOException: Broken pipe
i am getting this error at my server. Can anybody help me in solving this. I am using Oracle 9iAs..and this is the full error that i get
com.evermind.server.http.HttpIOException: Broken pipe
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at com.evermind.server.http.HttpIOException.<init>(Compiled Code)
at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
ode)
at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
ode)
at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
ode)
at com.evermind.server.http.HttpApplication.include(Compiled Code)
at com.evermind.server.http.FileRequestDispatcher.forwardInternal(Compil
ed Code)
at com.evermind.server.http.FileRequestDispatcher.forward(Compiled Code)
at Premier.RegistrationServlet.createHTML(Compiled Code)
at Premier.RegistrationServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.evermind.server.http.ServletRequestDispatcher.invoke(Compiled Cod
e)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Com
piled Code)
at com.evermind.server.http.HttpRequestHandler.processRequest(Compiled C
ode)
at com.evermind.server.http.HttpRequestHandler.run(Compiled Code)
at com.evermind.util.ThreadPoolThread.run(Compiled Code)I suggest you recompile your servlet RegistrationServlet with the debug option that way you will get the line in your source code that has triggered the Exception instead of (Compiled Code). From then on it will be easier for you to start undestanding what's going on.
-
Com.evermind.server.http.HttpIOException: Read timed out
Hello,
I am using embded oracle oc4j server and getting following exception, and I cant fine httpd.conf file to increase KeepTimeout
ERROR : HttpRequestHandler-1229 com.tcs.sgv.common.exception.BaseException - The stack trace is:
com.evermind.server.http.HttpIOException: Read timed out
at com.evermind.server.http.EvermindServletInputStream.read(EvermindServletInputStream.java:92)
at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
at com.hhc.MultipartInputStreamHandler.readLine(MultipartRequest.java:831)
at com.hhc.MultipartInputStreamHandler.readLine(MultipartRequest.java:808)
at com.hhc.MultipartRequest.readRequest(MultipartRequest.java:394)
at com.hhc.MultipartRequest.<init>(MultipartRequest.java:222)
at com.tcs.sgv.fms.requesthandler.NotingRequestHandler.getNotings(NotingRequestHandler.java:1250)
at com.tcs.sgv.fms.requesthandler.NotingRequestHandler.processRequest(NotingRequestHandler.java:304)
at com.tcs.sgv.common.servlet.FrontServlet.processRequest(FrontServlet.java:171)
at com.tcs.sgv.common.servlet.FrontServlet.doPost(FrontServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
- 10 Jul 2009 05:10:24,782 - 703516 milliseconds
Please help me regarding this problemOracle have their own support forums at http://otn.oracle.com
You may also want to search MetaLink. -
Getting com.evermind.server.http.NotFoundServlet Exception
Hi!
My OC4J 9.0.4 is throwing "com.evermind.server.http.NotFoundServlet" exception messages in its application.log file, It is preceded by "Connection reset by peer: socket write error" or "Connection aborted by peer: socket write error". The whole text of messages are:
"com.evermind.server.http.NotFoundServlet: destroy" or
"com.evermind.server.http.NotFoundServlet: init"
It appears without any explanation, My application consists of an EAR File that contains a WAR file with the JSP's of my application..
Please could you help me with this issue?.
Thanks for any support!Hi Tugdual
You can find the full stack trace you requested obtained from the application.log file bellow:
05/03/13 22:14:31 applicationWAR: jsp: init
05/03/13 22:14:31 applicationWAR: 9.0.4.0.0 Started
05/03/14 06:59:23 applicationWAR: Connection reset by peer: socket write error
05/03/14 07:12:46 applicationWAR: Connection reset by peer: socket write error
05/03/14 07:12:47 applicationWAR: Connection reset by peer: socket write error
2005/03/14 07:12:47 applicationWAR: Connection reset by peer: socket write error
05/03/14 08:06:42 applicationWAR: com.evermind.server.http.NotFoundServlet: init
05/03/14 09:34:03 Started
05/03/14 09:34:04 applicationWAR: jsp: init
05/03/14 09:34:04 applicationWAR: 9.0.4.0.0 Started
05/03/14 09:35:18 applicationWAR: com.evermind.server.http.NotFoundServlet: init
05/03/14 15:00:02 applicationWAR: Connection reset by peer: socket write error
05/03/14 16:47:01 applicationWAR: Connection reset by peer: socket write error
05/03/14 16:47:01 applicationWAR: Connection reset by peer: socket write error
My http-web-access.log file shows that the application keeps running until 09:03:33, so the server was restarted at 09:34:03 and I don't have any further information, I expect it to be enough.
Thanks!! -
Hi,
I'm using jdev 11.1.2.1.0.
In my web.xml i have :
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
<init-param>
<param-name>static_text_in_chars</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>generic_servlet_mode</param-name>
<param-value>single</param-value>
</init-param>
<init-param>
<param-name>page_provider</param-name>
<param-value>oracle.adf.library.webapp.ADFJspResourceProvider</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>When i start tomcat, i have this exception :
GRAVE: Servlet /Gf threw load() exception
[exec] java.lang.ClassNotFoundException: com.evermind.server.http.EvermindJSPFactory
[exec] at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
[exec] at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
[exec] at java.lang.Class.forName0(Native Method)
[exec] at java.lang.Class.forName(Class.java:169)
[exec] at oracle.jsp.runtimev2.JspServlet.loadClass(JspServlet.java:1050)
[exec] at oracle.jsp.runtimev2.JspServlet.init(JspServlet.java:376)
[exec] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
[exec] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
[exec] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
[exec] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
[exec] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
[exec] at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
[exec] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
[exec] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
[exec] at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
[exec] at org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.startContainer(AbstractRunMojo.java:767)
[exec] at org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.execute(AbstractRunMojo.java:353)
[exec] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
[exec] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
[exec] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[exec] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[exec] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
[exec] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
[exec] at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
[exec] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[exec] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[exec] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[exec] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[exec] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:597)
[exec] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
[exec] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
[exec] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
[exec] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)I opened the class "oracle.jsp.runtimev2.JspServlet" and saw this default factory : "com.evermind.server.http.EvermindJSPFactory", but i can't find this class anywhere!
Any idea?
Thanks in advance
ClémentI have the same problem than before : all pages are working excepts the ones using "jsp:include" or "region" (cf. jsp code in html source code! ).
This is the web.xml :
<?xml version = '1.0' encoding = 'UTF-8'?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
<param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
<param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
<param-value>differentDomain</param-value>
</context-param>
<!-- <filter>
<filter-name>JpsFilter</filter-name>
<filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
<init-param>
<param-name>enable.anonymous</param-name>
<param-value>true</param-value>
</init-param>
</filter>-->
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<!-- <filter-mapping>
<filter-name>JpsFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>-->
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<!-- <listener>
<listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
</listener>
<listener>
<listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
</listener>
<listener>
<listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
</listener>-->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGAUGESERVLET</servlet-name>
<servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>MapProxyServlet</servlet-name>
<servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/afr/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<url-pattern>/servlet/GraphServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGAUGESERVLET</servlet-name>
<url-pattern>/servlet/GaugeServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MapProxyServlet</servlet-name>
<url-pattern>/mapproxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/bi/*</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>swf</extension>
<mime-type>application/x-shockwave-flash</mime-type>
</mime-mapping>
<mime-mapping>
<extension>amf</extension>
<mime-type>application/x-amf</mime-type>
</mime-mapping>
<resource-ref>
<res-ref-name>jdbc/visarhDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>Any help?
Thanks
Clément
Edited by: Clement Visa on 7 févr. 2012 09:18 -
Hi,
I am trying to fetch data from SMP 2.3 Server through SMP 2.3 SDK. i have followed all steps which have been mentioned in SYBASE INFOCENTER for Native Android Platfom. i am getting the following error
com.sybase.persistence.SynchronizeException: com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-1305]: MobiLink communication error -- code: 86, parameter: 404, system code: 0Details:
if anybody has dea about this error. please respondHi viru,
No, i am not connecting via relay server. i am connecting to organisation's SMP Cloud Server. We used the same RFC for creating MBO for iOS application and it worked.
This is my code:
import java.util.Hashtable;
import SampleTest.SampleTestDB;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button;
import android.widget.ListView;
import android.widget.Toast;
import com.sybase.collections.GenericList;
import com.sybase.collections.StringList;
import com.sybase.collections.StringProperties;
import com.sybase.mobile.Application;
import com.sybase.mobile.ApplicationCallback;
import com.sybase.mobile.ConnectionProperties;
import com.sybase.mobile.ConnectionStatus;
import com.sybase.mobile.RegistrationStatus;
import com.sybase.persistence.DefaultCallbackHandler;
import com.sybase.persistence.LoginCredentials;
import com.sybase.persistence.SynchronizationAction;
import com.sybase.persistence.SynchronizationContext;
import com.sybase.persistence.SynchronizationGroup;
import com.sybase.persistence.SynchronizationStatus;
public class ReadActivity extends Activity {
private static final int REQUEST_DETAIL = 99;
private static String USERNAME = "supAdmin";
private static String PASSWORD = "pass";
private static String HOST = "cloudsap1.ltisap.com";
private static int PORT = 5001;
private static int TIMEOUT = 600;
private EmployeeAdapter adapter;
private static volatile boolean initializationDone = false;
ListView ltList;
Button btnNext;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_read);
initializeApplication();
protected void onActivityResult(int requestCode, int resultCode, Intent data)
if (requestCode == REQUEST_DETAIL)
if (resultCode == RESULT_OK)
ReadActivity.this.adapter.refreshUI(true);
private void initializeApplication()
final ProgressDialog dialog = new ProgressDialog(this);
dialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
dialog.setTitle("on boarding ...");
dialog.setMessage("Please wait while download initial data...");
dialog.setIndeterminate(false);
dialog.setProgress(100);
dialog.setCancelable(true);
dialog.show();
new Thread()
@Override
public void run()
try
int count = 0;
while (!initializationDone)
dialog.setProgress(++count);
Thread.sleep(100);
if (count == 100)
count = 0;
dialog.cancel();
catch (Exception e)
dialog.cancel();
}.start();
Application app = Application.getInstance();
app.setApplicationIdentifier("SampleTest");//== important!!!!!!!!!!!!!!!!!
app.setApplicationContext(getApplicationContext());
new Thread(new Runnable()
public void run()
try
Application app = Application.getInstance();
ApplicationCallback appCallback = new MyApplicationCallback();
app.setApplicationCallback(appCallback);
SampleTestDB.registerCallbackHandler(new CustomerDBCallback());
SampleTestDB.setApplication(app);
SampleTestDB.getSynchronizationProfile().setServerName(HOST); // Convenience only
ConnectionProperties connProps = app.getConnectionProperties();
LoginCredentials loginCredentials = new LoginCredentials(USERNAME, PASSWORD);
connProps.setLoginCredentials(loginCredentials);
connProps.setServerName(HOST);
connProps.setPortNumber(PORT);
if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED)
try {
app.registerApplication(TIMEOUT);
catch (Exception e)
Log.e("Emp101","Cannot register " + e.getMessage());
else
app.startConnection(TIMEOUT);
Log.i("Emp101","Application REGISTERED");
if (!SampleTestDB.isSynchronized("default"))//
Log.i("Emp101","Starting Initial Sync");
SampleTestDB.disableChangeLog();
SampleTestDB.synchronize(); // AFTER THIS STATEMENT IT IS GIVING THAT ERROR
SynchronizationGroup sg = SampleTestDB.getSynchronizationGroup("default");
sg.setEnableSIS(true);
sg.save();
// SampleTestDB.subscribe();
Log.i("Emp101","Subscribe");
SampleTestDB.synchronize();
Log.i("Emp101","Initial Sync COMPLETED");
SampleTestDB.enableChangeLog();
catch (Exception e)
e.printStackTrace();
finally
initializationDone = true;
ReadActivity.this.runOnUiThread(new Runnable()
public void run()
btnNext = (Button) findViewById(R.id.btn_create);
adapter = new EmployeeAdapter(ReadActivity.this);
ltList = (ListView) findViewById(R.id.lvRead);
ltList.setAdapter(adapter);
}).start();
// Start of ApplicationCallback
class MyApplicationCallback implements ApplicationCallback
public void onApplicationSettingsChanged(StringList nameList)
Log.i("Emp101","Application Settings Changed: "+ nameList);
public void onConnectionStatusChanged(int connectionStatus, int errorCode, String errorMessage)
switch (connectionStatus)
case ConnectionStatus.CONNECTED:
System.out.println("Device is Connected");
Log.i("ERROR1", "Device is Connected");
break;
case ConnectionStatus.CONNECTING:
System.out.println("Device is Connecting");
Log.i("ERROR2", "Device is Connecting");
break;
case ConnectionStatus.CONNECTION_ERROR:
System.out.println("Connection Error: " + errorMessage);
Log.i("ERROR3", errorMessage);
break;
case ConnectionStatus.DISCONNECTED:
System.out.println("Device is Disconnected");
Log.i("ERROR4", "Device is Disconnected");
break;
case ConnectionStatus.DISCONNECTING:
System.out.println("Device is Disconnecting");
Log.i("ERROR5", "Device is Disconnecting");
break;
public void onRegistrationStatusChanged(int registrationStatus, int errorCode, String errorMessage)
switch (registrationStatus)
case RegistrationStatus.REGISTERED:
System.out.println("Device is REGISTERED");
Log.i("ERROR6", "Device is REGISTERED");
break;
case RegistrationStatus.REGISTERING:
System.out.println("Device is REGISTERING");
Log.i("ERROR7", "Device is REGISTERING");
break;
case RegistrationStatus.REGISTRATION_ERROR:
System.out.println("Registration Error: " + errorMessage);
Log.i("ERROR8", errorMessage);
break;
case RegistrationStatus.UNREGISTERED:
System.out.println("Device is UNREGISTERED");
Log.i("ERROR9", "Device is UNREGISTERED");
break;
case RegistrationStatus.UNREGISTERING:
System.out.println("Device is UNREGISTERING");
Log.i("ERROR10", "Device is UNREGISTERING");
break;
public void onHttpCommunicationError(int errorCode, String errorMessage, StringProperties httpHeaders)
System.out.println("ERROR - HTTP Communication Error: "+ errorMessage);
public void onDeviceConditionChanged(int condition)
System.out.println("Device Condition Status: "+ condition);
public void onCustomizationBundleDownloadComplete(String arg0,
int arg1, String arg2) {
// TODO Auto-generated method stub
public int onPushNotification(Hashtable arg0) {
// TODO Auto-generated method stub
return 0;
//....End of ApplicationCallback
private class CustomerDBCallback extends DefaultCallbackHandler
@Override
public int onSynchronize(GenericList<SynchronizationGroup> groups, SynchronizationContext context)
if (context.getStatus() == SynchronizationStatus.STARTING)
ReadActivity.this.runOnUiThread(new Runnable()
public void run()
Toast.makeText(ReadActivity.this, "Synchronizing ... ", Toast.LENGTH_LONG).show();
else if (context.getStatus() == SynchronizationStatus.FINISHING || context.getStatus() == SynchronizationStatus.ASYNC_REPLAY_UPLOADED)
ReadActivity.this.runOnUiThread(new Runnable()
public void run()
Toast.makeText(ReadActivity.this, "Synchronize done", Toast.LENGTH_SHORT).show();
if (ReadActivity.this.adapter != null)
ReadActivity.this.adapter.refreshUI(false);
return SynchronizationAction.CONTINUE;
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.read, menu);
return true; -
Sup Error While Sending Date Parameter to SUP server?
Hi Every one,
I am developing an iOS app using Sybase Unwired Platform 2.1.3 I am getting error While sending Date parameter to Database. How to send DATE format to the sales_order table for order_date column from iOS.
I tried like this..
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date=[NSDate date];
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
In server log:
2014-02-28 16:39:41.833 WARN Other Thread-182 [SUP105.server.SUP105DB]{"_op":"C","level":5,"code":412,"eisCode":"257","message":"com.sybase.jdbc3.jdbc.SybSQLException:SQL Anywhere Error -157: Cannot convert '' to a timestamp","component":"Sales_order","entityKey":"3210004","operation":"create","requestId":"3210005","timestamp":"2014-02-28 11:09:41.646","messageId":0,"_rc":0}
I strongly believe the above error for because of Date format..i have tried different ways to send Date to Sup server ..but i didn't get any solution.. Can any one help me me how to send date to database in SUP in iOS??
Message was edited by: Michael ApplebyHi Jitendra,
Thanks for your Quick reply..Any way i have tried what you said,but i didn't get any solution.
Here is my Code:
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
[formatter setDateFormat:@"dd-MM-YYYY HH:mm:ss"];
NSDate *tempDate =(NSDate *) [formatter stringFromDate:[NSDate date]];
NSLog(@"%@",tempDate);
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date =tempDate;
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
Error is :
Exception---SUPPersistenceException: exception is in createCore: unexpected null value for 'order_date' -
Migrate to 10g from Sybase Adaptive Server Anywhere 8
Hi,
My company is planning to migrate from Sybase Adaptive Server Anywhere 8 to Oracle10g.
Does anyone have any experience with this particular case?
I need some advice on how to make the migration 'smooth'.
Thanks a lot,
=adley=No we don't support that Sybase database type currently. Have you looked at the migration tools from Ispirer?
http://www.ispirer.com/products/
Donal -
Hi Every one,
How to send DATE format to the sales_order table for order_date column from iOS.
I tried like this..
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date=[NSDate date];
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
In server log:
2014-02-28 16:39:41.833 WARN Other Thread-182 [SUP105.server.SUP105DB]{"_op":"C","level":5,"code":412,"eisCode":"257","message":"com.sybase.jdbc3.jdbc.SybSQLException:SQL Anywhere Error -157: Cannot convert '' to a timestamp","component":"Sales_order","entityKey":"3210004","operation":"create","requestId":"3210005","timestamp":"2014-02-28 11:09:41.646","messageId":0,"_rc":0}
I strongly believe the above error for because of Date format..
Can any one help me me how to send date to database in SUP in iOS??I Found solution after long time, use Timestamp datatype instead of Date datatype..it works for me..
-
Creating atomic subscription in Sybase Replication Server
I am trying to create atomic subscription in sybase repserver where my primary database is ORACLE and target database is Sybase ASE. For non materialization the subscription is created but for atomic subscription its not creating.
Do I need to have any pre-requisites for that?????Hi Kenny,
please see here:
https://training.sap.com/de/de/search?query=Sybase+replication+server
You can change the country in the drop-down menu at the top.
Regards,
Arnold -
Sybase replication server training
Hi,
We are looking for classroom based Sybase replication server training courses (English) in Germany or other European countries.
It seems like SAP is no longer running classroom based course and none of it's listed training partners are running Sybase replication server courses.
Does anyone know of a training facility that still runs the replication server course in English ?
Thanks in advance,
Regards,
KennyHi Kenny,
please see here:
https://training.sap.com/de/de/search?query=Sybase+replication+server
You can change the country in the drop-down menu at the top.
Regards,
Arnold
Maybe you are looking for
-
How to create posting period veriant
Hi Gurus, I Want to create posting period veriant for update periods , Say per exmple : in UAT phase project ... need to update posting periods with diffrent dates .. meaning of that we need see all periods like monthly jobs ,yearly jobs also ... s
-
Switching off summarization of postings from T&E to FI- URGENT
HI All This is a Statutory requirement for Poland 1.In PR05 When the Expense types are Same but appear as 2 different line items ( e.g claimant going from Mumbai too Pune and then from Pune to Nasik there is two entries but the Expense type used is t
-
[SOLVED] Ugly fonts :/
Hi, I dont know why did this happen. I'm a Gnome user and I wanted to take a look on KDE, so I've instaled KDEmod. I didn't have polish language charecters, so I wantet to change the font in KDE (using KDE Settings Tool) while I was switching through
-
I cannot slide to answer calls or to turn my phone off please help
Can anyone help?
-
How to add keyboard control on our tree.
hi, any body can kindly tell me that how can we add keyboard control on out tree widget. I am also anxious to know that when I compiled and loaded the PnlTreeView sample in Debug mode, keyboard control on this panel was also not working fine, it work