Railo 4.2.1.008 Error (database)
Message
Detail Duplicate entry '7487463' for key 'PRIMARY'
SQL
INSERT INTO tShopBasket (
bskKey,
bskSessionId,
bskUserId,
bskIp,
bskOrdId,
bskStatusNr,
bskCrDt,
bskChDt
) VALUES (
7487463,
'346CBE66-4F89-4320-9340E9417744C2E8' ,
0,
'3.226.251.81',
0,
0,
{ts '2019-08-25 23:03:35'},
{ts '2019-08-25 23:03:35'}
)
DatabaseName MySQL
DatabaseVersion 5.5.62-0ubuntu0.14.04.1
DriverName MySQL-AB JDBC Driver
DriverVersion mysql-connector-java-5.1.20 ( Revision: tonci.grgin@oracle.com-20111003110438-qfydx066wsbydkbw )
Datasource knuchel_cms_cms
Stacktrace The Error Occurred in
/web-data/knuchel.swiss/http/pages/mod/basket/Basket.cfc: line 187
185: #CreateODBCDateTime(Now())#
186: )
187: </cfquery>
188: <cfreturn retKey>
189:

called from /web-data/knuchel.swiss/http/pages/mod/basket/Basket.cfc: line 44
called from /web-data/knuchel.swiss/http/Application.cfm: line 22
Java Stacktrace
  at sun.reflect.GeneratedConstructorAccessor416.newInstance(Unknown Source):-1
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45):45
  at java.lang.reflect.Constructor.newInstance(Constructor.java:526):526
  at com.mysql.jdbc.Util.handleNewInstance(Util.java:411):411
  at com.mysql.jdbc.Util.getInstance(Util.java:386):386
  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039):1039
  at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096):4096
  at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028):4028
  at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490):2490
  at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651):2651
  at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2683):2683
  at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2144):2144
  at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1379):1379
  at railo.runtime.db.driver.state.StateUtil.execute(StateUtil.java:127):127
  at railo.runtime.db.driver.state.StatePreparedStatement.execute(StatePreparedStatement.java:117):117
  at railo.runtime.type.util.QueryUtil.execute(QueryUtil.java:222):222
  at railo.runtime.type.QueryImpl.(QueryImpl.java:233):233
  at railo.runtime.tag.Query.executeDatasoure(Query.java:687):687
  at railo.runtime.tag.Query.doEndTag(Query.java:531):531
  at pages.mod.basket.basket_cfc$cf.udfCall(/web-data/knuchel.swiss/http/pages/mod/basket/Basket.cfc:187):187
  at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
  at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
  at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
  at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
  at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
  at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
  at pages.mod.basket.basket_cfc$cf.udfCall(/web-data/knuchel.swiss/http/pages/mod/basket/Basket.cfc:44):44
  at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
  at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
  at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
  at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
  at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
  at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
  at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
  at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
  at application_cfm$cf.call(/web-data/knuchel.swiss/http/Application.cfm:22):22
  at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:909):909
  at railo.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:30):30
  at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:19):19
  at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2212):2212
  at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2179):2179
  at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:331):331
  at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503):503
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103):103
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116
  at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683):683
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421):421
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070):1070
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611):611
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314):314
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
  at java.lang.Thread.run(Thread.java:745):745
 
Timestamp 25.08.19 23:03:35 MESZ