Jwsdp: after more than one day live the server send a socket exception.

Hello,
I built a beginning of an application using bookstore2 as a template. The main difference is that I am using mysql DBMS. The application runs fine, but when I leave the server running overnight, the following day I get this error:
Your request cannot be completed. The server got the following error:
Communication link failure: java.net.SocketException
every time I use a jsp involved in the database access. The other jsps like cart checking are working fine.
I checked the database server (even thru a socket), it works fine and worse, manager: a context not depending on the database doesn't work anymore when I try to use ant reload I get this error:
/home/jeanct/jwsdp/dvl/dciweb/build.xml:62: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/reload?path=%2Fdciweb
After a server shutdown and a startup it works fine again.
Thank you if you can give me any clue
Jean-Claude Tebbal
Senior Analyst progammer
DCI ltd UK
PS:
here follow the application context an logs:
Property Value
JNDI Name: Localwebdb
Data Source URL: jdbc:mysql://localhost:3306/dciweb
JDBC Driver Class: org.gjt.mm.mysql.Driver
User Name: root
Password: *********
Max. Active Connections: 4
Max. Idle Connections: 2
Max. Wait for Connection: 5000
context.xml
<Context path="/dciweb" docBase="../dvl/dciweb/build" debug="0">
<ResourceLink name="jdbc/dciweb" global="Localwebdb" />
</Context>
logs:
access_log.2002-10-16.txt:
127.0.0.1 - - [16/Oct/2002:09:56:40 00] "GET /dciweb/ HTTP/1.1" 302 -
127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/index.jsp HTTP/1.1" 200 -
127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/browser_checker.js HTTP/1.1" 304 -
127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/start.jsp?browser=ok HTTP/1.1" 200 -
127.0.0.1 - - [16/Oct/2002:09:56:50 00] "GET /dciweb/offerlist.jsp HTTP/1.1" 200 -
catalina.out:
DbcpDataSourceFactory: driverClassName=com.informix.jdbc.IfxDriver, url=jdbc:informix-sqli://bti:3003/cell:INFORMIXSERVER=sh_bti, use
r=informix
DbcpDataSourceFactory: driverClassName=org.gjt.mm.mysql.Driver, url=jdbc:mysql://localhost:3306/dciweb, user=root
Starting service Internal Services
Java Web Services Developer Pack/1.0_01-fcs
Starting service Java Web Services Developer Pack
Java Web Services Developer Pack/1.0_01-fcs
jwsdp_log.2002-10-16.txt:
2002-10-16 09:24:34 jsp: init
2002-10-16 09:30:51 jsp: init
2002-10-16 09:56:42 jsp: init
2002-10-16 09:56:50 jsp: init
localhost_admin_log.2002-10-16.txt:
2002-10-16 09:49:29 jsp: init
2002-10-16 09:49:37 jsp: init
2002-10-16 09:49:52 jsp: init
2002-10-16 09:49:54 jsp: init
2002-10-16 09:49:55 jsp: init
2002-10-16 09:49:59 jsp: init
2002-10-16 09:50:02 action: Entered TreeControlTestAction:perform()
2002-10-16 09:50:02 action: tree param is null
2002-10-16 09:50:02 action: Select event on Globally Administer Data Sources
2002-10-16 09:50:03 jsp: init
2002-10-16 09:50:11 jsp: init
services_log.2002-10-15.txt:
2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploying class repositories to work directory /home/jeanct/jwsdp/work/Services
Engine/jwsdp-services/jaxm-provideradmin
2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy class files /WEB-INF/classes to /home/jeanct/jwsdp/services/jaxm-provide
radmin/WEB-INF/classes
2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy JAR /WEB-INF/lib/provider.jar to /home/jeanct/jwsdp/services/jaxm-provid
eradmin/WEB-INF/lib/provider.jar
2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy JAR /WEB-INF/lib/struts.jar to /home/jeanct/jwsdp/services/jaxm-provider
admin/WEB-INF/lib/struts.jar
2002-10-15 13:26:45 ContextConfig[jaxm-provideradmin]: WARNING: Security role name provider used in an <auth-constraint> without bein
g defined in a <security-role>
2002-10-15 13:26:47 ContextConfig[jaxm-provideradmin]: Configured an authenticator for method BASIC
2002-10-15 13:26:47 StandardManager[jaxm-provideradmin]: Seeding random number generator class java.security.SecureRandom
2002-10-15 13:26:47 StandardManager[jaxm-provideradmin]: Seeding of random number generator has been completed
2002-10-15 13:26:47 StandardWrapper[jaxm-provideradmin:default]: Loading container servlet default
2002-10-15 13:26:47 default: init
2002-10-15 13:26:47 StandardWrapper[jaxm-provideradmin:invoker]: Loading container servlet invoker
2002-10-15 13:26:47 invoker: init
2002-10-15 13:26:47 action: init
2002-10-15 13:26:49 jsp: init
2002-10-15 13:26:52 WebappLoader[jaxm-provider]: Deploying class repositories to work directory /home/jeanct/jwsdp/work/Services Engi
ne/jwsdp-services/jaxm-provider
2002-10-15 13:26:52 WebappLoader[jaxm-provider]: Deploy JAR /WEB-INF/lib/provider.jar to /home/jeanct/jwsdp/services/jaxm-provider/WE
B-INF/lib/provider.jar
2002-10-15 13:26:53 StandardManager[jaxm-provider]: Seeding random number generator class java.security.SecureRandom
2002-10-15 13:26:53 StandardManager[jaxm-provider]: Seeding of random number generator has been completed
2002-10-15 13:26:53 providerservlet: init
2002-10-15 13:26:54 StandardWrapper[jaxm-provider:default]: Loading container servlet default
2002-10-15 13:26:54 default: init
2002-10-15 13:26:54 StandardWrapper[jaxm-provider:invoker]: Loading container servlet invoker
2002-10-15 13:26:54 invoker: init
2002-10-15 13:26:54 receiverservlet: init
2002-10-15 13:26:54 jsp: init
2002-10-15 13:26:54 digest: init

I found the answer to my question, I give it here for those using mysql as a DBMS.
Two variables in MySql have to be tuned: INTERACTIVE_TIMEOUT and WAIT_TIMEOUT. They default to 8 hours, so after 8 hours the two remaining idle connections were killed
and a socket exception was thrown to the first use of the connection pool.

Similar Messages

  • On my iPad 3, how do I make calendar items lasting more than one day appear as such on the monthly view of my calendar? Right now only the first day of the item appears.

    On iPad 3, all of my calendar items lasting more than one day do not appear correctly when looking at the monthly view of the calendar; only the first day of the appointment appears. For example, if I am taking a vacation for 4 days, only the first day of the vacation is marked on the calendar, instead of being listed on all 4 days. When I look at the weekly view, however, it is correct and is listed on all 4 days. The problem here of course is that at a glance, there is no way to look at my monthly schedule. On my iPhone, everything is correct, regardless of month or week view, so clearly this is an iPad problem I guess? Please advise on how this can be corrected. Thank you!

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • Mayday, maday !!! could someone teach me how to run my passport more than one day

    I just got my passport yesterday ,could someone teach me how to run my passport more than one day.
    please see the picture, I just received some calls and surf the internet less than 1h today.
              thank you a lot.

    press both volume keys down for 30 seconds and see if it persists after
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • More than one library (on the same computer) open?

    In the new iTunes 9 it is possible to access several libraries on my home network from the open iTunes window, which is really cool. I wondered if this means it may now be possible to have access to several libraries on the same computer (or connected drives) at the same time. I use 3 different libraries on my work PC and my mac at home and the process of shutting down iTunes, holding down shift/option, reopening itunes, selecting library is rather cumbersome. Having each of the libraries accessible the same way they are for other libraries on the network would be really useful.
    Is it possible?

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • Can i create more than one library on the same computer?

    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • HT1657 Can you rent more than one movie at the same time?

    Can you rent more than one movie at the same time on itunes?

    I think Justin is correct and you should have statistics in place and a reasonable partition scheme so that the optimizer selects the correct partitions rather than telling it what to do. You paid a lot for partitioning after all.
    There are some, possibly misguided, examples in the manuals showing how to create a view so you can delete from a single partition without specifying the partition criteria in the delete statement. This in effect turns partitioning back into DIY partitioning i.e. separate tables, union all and pretend its a single logical table using a view. But backwards.
    So to do what you want you just assume the partitions are separate tables, and then use union all to glue the ones you want back together.
    select * from sales partition (sales_q1_2000)
    union all
    select * from sales partition (sales_q1_2001)
    union all
    select * from sales partition (sales_q1_2003)
    union all
    select * from sales partition (sales_q1_2004);It probably goes without saying that as well as making the expensive version of partitioning behave like the free alternative, there is the possibility that it will perform like it as well.

  • Lightroom won't export more than one image at the time

    I am having trouble exporting my RAW files as JPEG files. At first Lightroom 4.4 seemed to skip certain photos when exporting and now I'm unable to export more than one image at the time. How can I fix this? I didn't seem to have this problem before the 4.4 update, but then again, the 4.4 update has been running for a few days now. I run on a 32bit Windows 7 with 4GB of RAM.
    Lightroom has also been a considerable lot slower since the last couple of days, yet there have been no changes at all to my computer or system or anything - nothing's changed expect for the fact that Lightroom isn't behaving as it used to.
    Can anyone help me?

    I think I've found the problem - I've accidentally 'synced' my folder instead of importing the RAW files. Which brings me to my next problem and question - I've already edited the RAW files and would really like it if there's a way I could re-import the files without losing my changes/metadata, is there anyway that's possible?

  • Trouble playing music on more than one "airport" at the sae time

    Now that I havew added a second airport base..I cannot play music in more than one room at the same time...when I try and choose multiple speakers...it states that the particular airport cannot play simultaneously...i have an HP Pavillion, a Mac Book on a Netgear network router....Is there a set up procedure to allow playing music simultaneosly?
    Sorry for the run on question..
    also is there Apple live telephone support? i cannot seem to find it
    Thanks Mike

    Are all the Airport Express units using firmware 6.3?
    iFelix

  • WebLogic Error : Registered more than one instance with the same objectName

    HI there, I'm facing a big problem. I have two environments installed on the same physical machine.
    I have ALSB and WLI servers running out there.
    Environment 1 - WLI port running at 7011 domain name : stp_wli_domain and ALSB port running at 8011 domain name: stp_alsb_homo1 - folders- stp_wli_domain / stp_bea_alsb_homo
    Environmnet 2 - WLI port running at 7211 domain name : stp_wli_domain2 and ALSB port tunning at 8211 domain name : stp-alsb_homo2 - folders - stp_wli_domain2 / stp_bea-alsb_homo2
    Everything was working fine, but these days I had install new deployments on both environment and I got this error :
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : stp_wli_domain:ServerRuntime=wli_wls01,Name=stp_wli_domain,Location=wli_wls01,Type=AIRuntime new:com.bea.wlai.management.AIRuntimeMBeanImpl@bcf22dc existing com.bea.wlai.management.AIRuntimeMBeanImpl@de02e6c
    The weird is : There is no same object name, as you can see, domains are different, folders are different and ports are diferrent, including multicast addresses.
    Have you guys seen this before ?
    I'm under pressure here, 'cause some projects had stopped to work.
    Please I would appreciate any help.
    Tks.
    Edson

    HI there, thanks for attention..
    See ...
    There's a lot of confusion with these env's .
    I did not built this, so... I'm cleaning my hands.... anyway... :)
    I must fix....
    Well basically if we have two env's, so we have different project each one right ?
    Ok, but I was told that if you have on the same network and same physical machine the name of AdminServer as "AdminServer" in all domains, so it goes with problems... I never heard about it... but is a good practice you put the names for example :
    WLI - WLIAdminServer
    ALSB - AlsbAdminServer
    WLI2 - WLiadminServer2
    ALSB2 - ALsbAdminServer2
    I would do it.. this way..
    But how it wasn't me...
    We got..
    WLI - WliAdminServer
    ALsb - AdminServer
    WLI2 - AdminServer
    ALsb2 - AdminServer
    Have you got it ?
    So... I was told that this could be a problem, almost all AdminServers with the same name... guess what ?Some Projects are back to work. but not at all.. only some.. so I 'm breathing better now... but I would like to know if you seen this before ?
    I would appreciate your help again.
    Unfortunately there's no detailed stack trace to track this
    Tks.

  • IPhone will not display calendar items more than one day in advance.

    iPhone will not display calendar items more than one day in advance. 
    I used to have a droid and loved the calendar on the main screen that used to show me the next few appointments coming up - so far I have only figured out how to put in to show for next day or 2 days or etc....
    is there any way to show tomorrow and next few days in notification, or is there a good app out there that will greet me. dont have 4s to ask just a 4
    i used google calendar and they all show up in calendar but REALLY need the functionality to see what is coming up, kind of like what you see in outlook or any other email program.
    please help out this noob.

    Is this what you're doing:
    OS X Yosemite: Recover your entire system

  • In Apple Mail, I cannot add more than one address to the "To" line

    In Apple Mail, I cannot add more than one address to the "To" line by typing just the initial

    HHow are you. Trying to add the second address? Normal procedure after the first address is to type a comma, then start typing the name for the second address.

  • How to set more than one day in calendar?

    Hello.
    Is there a way to set more than one day in calendar and every selected day would create new record?
    Thanks.

    Not without creating your own calendar and maintaining the code to do so yourself.

  • AE 12.1 Crash: "There was more than one edit in the video track"

    Here's the last log message: Last log message was: <140735209366288> <ImporterQuicktime::NativeReaderGetInfo> <5> There were more than one edit in the video track, defer to non-native quicktime for 0x1308a73a8.
    iMac 27-inch, Late 2012
    Software OS X 10.9
    Graphics:  NVIDIA GeForce GTX 680MX 2048 MB
    Memory  24 GB 1600 MHz DDR3
    Processor  3.4 GHz Intel Core i7
    Areca 8050 RAID6 config (Thunderbolt)
    AE 12.1 (Crash initially occured in previous version, which I don't know what it was - AE CC, but I don't know exact number - problably whatever the most recent update was)
    My project has a bunch of ProRes files referenced... even when I move them, and After Effects marks them as offline, I just get this: Last log message was: <140735209366288> <ae.blitpipe> <2> Making New Context.
    I have done some searching, and even if I go to Google, and put the search in quotes, I get nothing. It doesn't sound like anyone else has had just this problem.
    Help?

    Sounds like the ProRes files are encoded oddly in a format that AE's own handler can't understand and while falling back to QT it crashes. I believe there are some known issues with this for ProRes 444, but then again I'm not a Mac guy...
    Mylenium

  • How do you attach/email more than one document from the pages app?

    How do you send more than one document from the pages app on an iPad?

    This is entirely frustrating and I have yet to find an answer for this question even though people have been asking it on the internet for over a year!
    I am relatively new to apple and I was considering staying with them for my next iphone because of my apps, but after paying for this app and discovering I can't email more than one document "page" at a time? This makes no sense. Please fix this apple, I'd like to say you have replaced my tablet PC for home-office work but now I am reconsidering...

  • REQUEST RUNNING FOR MORE THAN ONE DAY - HOW INVESTIGATE ABOUT THIS

    Hi Everyone ...
    As you know when you submit any request throigh concurrent manager . The request completed normal or give warning or error .
    My probelm I have request running for more than one day .but I don't know right tool how invetigate about this issue .
    I checked alert log and database lock but nothing wierd .
    We are using 11.5.10.2 with 10.2.0.4 DB .
    Thanks in advance ...
    Edited by: user12010537 on 26/09/2010 05:39 ص
    Edited by: user12010537 on 26/09/2010 05:46 ص

    Hi,
    schavali wrote:
    Use MOS Doc 735119.1 (How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running) to determine the PID of the concurrent request, then follow the steps identified in MOS Doc 1058210.6 (How to Enable SQL_TRACE for Another Session or in MTS Using Oradebug)
    enable tha trace
    Re: enable tha trace
    Thanks,
    Hussein

Maybe you are looking for

  • Satellite A350 - Toshiba service station for Win 7 is not working

    I am using a Toshiba A 350 and downloaded Toshiba Servc\ice Station utility for win 7. It fails to open (even if admin rights). The TsmachInfo service is started in srvices. Any workarounds or do i have to install somthing more to this working?

  • Restriction of Tcode SQ01 based on Company code

    We are running one customized query using Tcode SQ01.  We need to restrict Tcode SQ01 in company code level.  We have checked about authorization object in st01. But there is no check of authorization object. Can anybody help to restrict SQ01 based o

  • Double click in a JTable row

    Hi, I have the following problem. I would like to have a JTable with single selection (this is ok so far), but I would like it to have the following behaviour. If a row is clicked, it becomes selected. If a selected row is clicked again it becomes de

  • Upgrade path for old Dreamweaver templates?

    Is there anything that will upgrade old (MX 2004) templates and files to CS3?

  • I can't upload images into CS6 due to a plugin error that hasn't occurred before.

    As the title says, I keep getting an error when I try to upload an image into CS6. It hasn't done this before, and I don't know what to do. I've even tried opening my previous images I've used in works before in CS6 and they are all greyed out as wel