hi,
sometimes I hit the refresh button a couple of times in quick succession (cheaper than hitting the screen with the keyboard...). Then the SSL certificate in my browser session is somehow.. corrupt? and I have to close ALL my browserwindows to be able to access any of the ofbiz https pages again. In firefox I get this message: "Could not establish an encrypted connection because certificate presented by localhost is invalid or corrupted. Error Code: -8182" Is this a normal behaviour? A bug? Does it have to do with my server configuration or the SSL certificate? (I'm still using the original bogus certificates) Here is the stacktrace, not so sure if the second error(Could not save ServerHit) has something to do with that but I think it shouldn't happen anyway. -------------------------------------------------------------------------------- 2955717[ ControlServlet.java:208:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2955717[ ControlServlet.java:215:ERROR] Including errorPage: /error/error.jsp 2955717[ PoolTcpEndpoint.java:530:ERROR] Socket error caused by remote host /127.0.0.1 java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6275) at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake(JSSESocketFactory.java:119) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:520) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:534) Could not save ServerHit: Exception: org.ofbiz.entity.GenericEntityException Message: Exception while inserting the following entity: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][createdTxStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][hitStartDateTime,2006-02-22 20:45:44.611(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,http://localhost:8080/mystore/control/main;jsessionid=AAACFBE1AB81D55AC609AC3EB6FD1EC4.jvm1(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,172(java.lang.Long)][serverHostName,host39(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10431(java.lang.String)] (while inserting: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][createdTxStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][hitStartDateTime,2006-02-22 20:45:44.611(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 20:45:44.783(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,http://localhost:8080/mystore/control/main;jsessionid=AAACFBE1AB81D55AC609AC3EB6FD1EC4.jvm1(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,172(java.lang.Long)][serverHostName,host39(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10431(java.lang.String)] (SQL Exception while executing the following:INSERT INTO SERVER_HIT (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, ID_BY_IP_CONTACT_MECH_ID, REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10431-mystore.viewprofile-2006-02-22 20:45:44-REQUEST' for key 1))) ---- stack trace --------------------------------------------------------------- -- DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Are you sure those 2 errors have anything to do with each other? The first looks like it is caused because the browser broke the connection. The second appears to most likely be an unrelated issue, but I can't really tell because a good bit of the error message (specifically the stack trace) is missing. Which revision of OFBiz are you running, BTW? -David On Feb 22, 2006, at 1:00 PM, Anna Schietz wrote: > hi, > > sometimes I hit the refresh button a couple of times in quick > succession > (cheaper than hitting the screen with the keyboard...). Then the SSL > certificate in my browser session is somehow.. corrupt? and I have > to close > ALL my browserwindows to be able to access any of the ofbiz https > pages > again. > In firefox I get this message: "Could not establish an encrypted > connection > because certificate presented by localhost is invalid or corrupted. > Error > Code: -8182" > > > Is this a normal behaviour? A bug? Does it have to do with my server > configuration or the SSL certificate? (I'm still using the original > bogus > certificates) > > > Here is the stacktrace, not so sure if the second error(Could not save > ServerHit) has something to do with that but I think it shouldn't > happen > anyway. > > > ---------------------------------------------------------------------- > ---------- > > 2955717[ ControlServlet.java:208:ERROR] An error occurred, > going to the > errorPage: /error/error.jsp > 2955717[ ControlServlet.java:215:ERROR] Including errorPage: > /error/error.jsp > 2955717[ PoolTcpEndpoint.java:530:ERROR] Socket error caused by > remote > host /127.0.0.1 > java.net.SocketException: Software caused connection abort: recv > failed > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(SocketInputStream.java:129) > at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake > (DashoA6275) > at > org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake > (JSSESocketFactory.java:119) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > (PoolTcpEndpoint.java:520) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:534) > > > > Could not save ServerHit: > Exception: org.ofbiz.entity.GenericEntityException > Message: Exception while inserting the following entity: > [GenericEntity:ServerHit][contentId,mystore.viewprofile > (java.lang.String)][createdStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][createdTxStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][hitStartDateTime,2006-02-22 > 20:45:44.611(java.sql.Timestamp)][hitTypeId,REQUEST > (java.lang.String)][lastUpdatedStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][partyId,10010(java.lang.String)] > [referrerUrl,http://localhost:8080/mystore/control/ > main;jsessionid=AAACFBE1AB81D55AC609AC3EB6FD1EC4.jvm1 > (java.lang.String)][requestUrl,https://localhost:8443/mystore/ > control/viewprofile(java.lang.String)][runningTimeMillis,172 > (java.lang.Long)][serverHostName,host39(java.lang.String)] > [serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test > (java.lang.String)][visitId,10431(java.lang.String)] > (while inserting: > [GenericEntity:ServerHit][contentId,mystore.viewprofile > (java.lang.String)][createdStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][createdTxStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][hitStartDateTime,2006-02-22 > 20:45:44.611(java.sql.Timestamp)][hitTypeId,REQUEST > (java.lang.String)][lastUpdatedStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 > 20:45:44.783(java.sql.Timestamp)][partyId,10010(java.lang.String)] > [referrerUrl,http://localhost:8080/mystore/control/ > main;jsessionid=AAACFBE1AB81D55AC609AC3EB6FD1EC4.jvm1 > (java.lang.String)][requestUrl,https://localhost:8443/mystore/ > control/viewprofile(java.lang.String)][runningTimeMillis,172 > (java.lang.Long)][serverHostName,host39(java.lang.String)] > [serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test > (java.lang.String)][visitId,10431(java.lang.String)] > (SQL Exception while executing the following:INSERT INTO SERVER_HIT > (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, > INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, > PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, > ID_BY_IP_CONTACT_MECH_ID, > REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) > VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > (Duplicate entry '10431-mystore.viewprofile-2006-02-22 20:45:44- > REQUEST' for > key 1))) > ---- stack trace > --------------------------------------------------------------- > > > > -- > DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: > GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
No I don't know whether they have anything to do with each other but they
have the same cause and so they happen at the same time, that's why I wnted to metnion both of them. But if the server hit error has no other consequences than a hit not being count.. well.. I can live with that... :) I'm using rev. 6725. And here's the complete stacktrace: 1070260[ PoolTcpEndpoint.java:530:ERROR] Socket error caused by remote host /127.0.0.1 java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6275) at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275) at org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake(JSSESocketFactory.java:119) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:520) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:534) 1070275[ ServiceDispatcher.java:447:DEBUG] [[Sync service finished- total:0.015,since last(Begin):0.015]] - 'ecommerce / getOrderedSummaryInformation' 1070353[ ModelScreenWidget.java:371:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [main-decorator] 1070369[ ModelScreenWidget.java:371:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [main-decorator] 1070463[ GenericDelegator.java:588:ERROR] ---- exception report ---------------------------------------------------------- Failure in create operation for entity [ServerHit]: org.ofbiz.entity.GenericEntityException: Exception while inserting the following entity: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (while inserting: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (SQL Exception while executing the following:INSERT INTO SERVER_HIT (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, ID_BY_IP_CONTACT_MECH_ID, REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10441-mystore.viewprofile-2006-02-22 21:20:34-REQUEST' for key 1))). Rolling back transaction. Exception: org.ofbiz.entity.GenericEntityException Message: Exception while inserting the following entity: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (while inserting: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (SQL Exception while executing the following:INSERT INTO SERVER_HIT (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, ID_BY_IP_CONTACT_MECH_ID, REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10441-mystore.viewprofile-2006-02-22 21:20:34-REQUEST' for key 1))) ---- stack trace --------------------------------------------------------------- org.ofbiz.entity.GenericEntityException: Exception while inserting the following entity: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (while inserting: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (SQL Exception while executing the following:INSERT INTO SERVER_HIT (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, ID_BY_IP_CONTACT_MECH_ID, REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10441-mystore.viewprofile-2006-02-22 21:20:34-REQUEST' for key 1))) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:140) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:75) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:570) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:543) org.ofbiz.entity.GenericValue.create(GenericValue.java:121) org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:659) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:216) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:93) org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:66) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:257) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) org.ofbiz.entity.GenericEntityException: while inserting: [GenericEntity:ServerHit][contentId,mystore.viewprofile(java.lang.String)][createdStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][createdTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][hitStartDateTime,2006-02-22 21:20:34.17(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2006-02-22 21:20:35.822(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 21:20:35.791(java.sql.Timestamp)][partyId,10010(java.lang.String)][referrerUrl,https://localhost:8443/mystore/control/login(java.lang.String)][requestUrl,https://localhost:8443/mystore/control/viewprofile(java.lang.String)][runningTimeMillis,1481(java.lang.Long)][serverHostName,myhost(java.lang.String)][serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test(java.lang.String)][visitId,10441(java.lang.String)] (SQL Exception while executing the following:INSERT INTO SERVER_HIT (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, ID_BY_IP_CONTACT_MECH_ID, REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10441-mystore.viewprofile-2006-02-22 21:20:34-REQUEST' for key 1)) org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:195) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:137) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:75) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:570) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:543) org.ofbiz.entity.GenericValue.create(GenericValue.java:121) org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:659) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:216) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:93) org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:66) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:257) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) org.ofbiz.entity.GenericDataSourceException: SQL Exception while executing the following:INSERT INTO SERVER_HIT (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, ID_BY_IP_CONTACT_MECH_ID, REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate entry '10441-mystore.viewprofile-2006-02-22 21:20:34-REQUEST' for key 1) org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:439) org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:190) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:137) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:75) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:570) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:543) org.ofbiz.entity.GenericValue.create(GenericValue.java:121) org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:659) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:216) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:93) org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:66) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:257) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) java.sql.SQLException: Duplicate entry '10441-mystore.viewprofile-2006-02-22 21:20:34-REQUEST' for key 1 com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921) com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570) com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1085) com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:670) com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1159) com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1076) com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1061) org.ofbiz.minerva.pool.jdbc.PreparedStatementInPool.executeUpdate(PreparedStatementInPool.java:82) org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:436) org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:190) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:137) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:75) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:570) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:543) org.ofbiz.entity.GenericValue.create(GenericValue.java:121) org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:659) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:216) org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:93) org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:66) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:257) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- > --- Ursprüngliche Nachricht --- > Von: "David E. Jones" <[hidden email]> > An: OFBiz Users / Usage Discussion <[hidden email]> > Betreff: Re: [OFBiz] Users - SSL problem when hitting refresh a couple > of times (and fast) > Datum: Wed, 22 Feb 2006 13:07:20 -0700 > > > Are you sure those 2 errors have anything to do with each other? > > The first looks like it is caused because the browser broke the > connection. The second appears to most likely be an unrelated issue, > but I can't really tell because a good bit of the error message > (specifically the stack trace) is missing. > > Which revision of OFBiz are you running, BTW? > > -David > > > On Feb 22, 2006, at 1:00 PM, Anna Schietz wrote: > > > hi, > > > > sometimes I hit the refresh button a couple of times in quick > > succession > > (cheaper than hitting the screen with the keyboard...). Then the SSL > > certificate in my browser session is somehow.. corrupt? and I have > > to close > > ALL my browserwindows to be able to access any of the ofbiz https > > pages > > again. > > In firefox I get this message: "Could not establish an encrypted > > connection > > because certificate presented by localhost is invalid or corrupted. > > Error > > Code: -8182" > > > > > > Is this a normal behaviour? A bug? Does it have to do with my server > > configuration or the SSL certificate? (I'm still using the original > > bogus > > certificates) > > > > > > Here is the stacktrace, not so sure if the second error(Could not save > > ServerHit) has something to do with that but I think it shouldn't > > happen > > anyway. > > > > > > ---------------------------------------------------------------------- > > ---------- > > > > 2955717[ ControlServlet.java:208:ERROR] An error occurred, > > going to the > > errorPage: /error/error.jsp > > 2955717[ ControlServlet.java:215:ERROR] Including errorPage: > > /error/error.jsp > > 2955717[ PoolTcpEndpoint.java:530:ERROR] Socket error caused by > > remote > > host /127.0.0.1 > > java.net.SocketException: Software caused connection abort: recv > > failed > > at java.net.SocketInputStream.socketRead0(Native Method) > > at java.net.SocketInputStream.read(SocketInputStream.java:129) > > at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6275) > > at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275) > > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake > > (DashoA6275) > > at > > org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake > > (JSSESocketFactory.java:119) > > at > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > > (PoolTcpEndpoint.java:520) > > at > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > > (LeaderFollowerWorkerThread.java:80) > > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > > (ThreadPool.java:684) > > at java.lang.Thread.run(Thread.java:534) > > > > > > > > Could not save ServerHit: > > Exception: org.ofbiz.entity.GenericEntityException > > Message: Exception while inserting the following entity: > > [GenericEntity:ServerHit][contentId,mystore.viewprofile > > (java.lang.String)][createdStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][createdTxStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][hitStartDateTime,2006-02-22 > > 20:45:44.611(java.sql.Timestamp)][hitTypeId,REQUEST > > (java.lang.String)][lastUpdatedStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][partyId,10010(java.lang.String)] > > [referrerUrl,http://localhost:8080/mystore/control/ > > main;jsessionid=AAACFBE1AB81D55AC609AC3EB6FD1EC4.jvm1 > > (java.lang.String)][requestUrl,https://localhost:8443/mystore/ > > control/viewprofile(java.lang.String)][runningTimeMillis,172 > > (java.lang.Long)][serverHostName,host39(java.lang.String)] > > [serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test > > (java.lang.String)][visitId,10431(java.lang.String)] > > (while inserting: > > [GenericEntity:ServerHit][contentId,mystore.viewprofile > > (java.lang.String)][createdStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][createdTxStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][hitStartDateTime,2006-02-22 > > 20:45:44.611(java.sql.Timestamp)][hitTypeId,REQUEST > > (java.lang.String)][lastUpdatedStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][lastUpdatedTxStamp,2006-02-22 > > 20:45:44.783(java.sql.Timestamp)][partyId,10010(java.lang.String)] > > [referrerUrl,http://localhost:8080/mystore/control/ > > main;jsessionid=AAACFBE1AB81D55AC609AC3EB6FD1EC4.jvm1 > > (java.lang.String)][requestUrl,https://localhost:8443/mystore/ > > control/viewprofile(java.lang.String)][runningTimeMillis,172 > > (java.lang.Long)][serverHostName,host39(java.lang.String)] > > [serverIpAddress,192.168.1.189(java.lang.String)][userLoginId,test > > (java.lang.String)][visitId,10431(java.lang.String)] > > (SQL Exception while executing the following:INSERT INTO SERVER_HIT > > (VISIT_ID, CONTENT_ID, HIT_START_DATE_TIME, HIT_TYPE_ID, > > INTERNAL_CONTENT_ID, NUM_OF_BYTES, RUNNING_TIME_MILLIS, USER_LOGIN_ID, > > PARTY_ID, STATUS_ID, REQUEST_URL, REFERRER_URL, > > ID_BY_IP_CONTACT_MECH_ID, > > REF_BY_WEB_CONTACT_MECH_ID, SERVER_IP_ADDRESS, SERVER_HOST_NAME, > > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > > CREATED_TX_STAMP) > > VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) > > (Duplicate entry '10431-mystore.viewprofile-2006-02-22 20:45:44- > > REQUEST' for > > key 1))) > > ---- stack trace > > --------------------------------------------------------------- > > > > > > > > -- > > DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: > > GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl > > > > _______________________________________________ > > Users mailing list > > [hidden email] > > http://lists.ofbiz.org/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++ _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
I'm having the same problem (bad certificate error using FireFox); if I
switch ofbizssl.jks certificate to the previous version everything is fine. Are we sure that the current certificate in SVN is good? Maybe IE doesn't complain because it remembers the old one? Jacopo Anna Schietz wrote: > No I don't know whether they have anything to do with each other but they > have the same cause and so they happen at the same time, that's why I wnted > to metnion both of them. But if the server hit error has no other > consequences than a hit not being count.. well.. I can live with that... :) > > I'm using rev. 6725. > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Jacopo,
I don't think this is anything to do with IE remembering the old one, because my Firefox works fine for a while then suddenly breaks. It seems that requesting a page more than once in rapid succession causes the problem. That'll teach me for being impatient :-) -- Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |