Shortage of file descriptors to service new connections

Hi,
On 2 of the 3 directory servers, the readwaiters are almost equal to currentconnections.
These 3 systems accept connections from Cisco 1100 series switches. Most of the traffic is from Sun web server with cold fusion application.
These systems are running as read only spoke replicas. These systems are HP-UX 11 systems.
monitor script output:
dn: cn=monitor
objectclass: top
objectclass: extensibleObject
cn: monitor
version: Netscape-Directory/4.16 B01.301.0629
threads: 20
currentconnections: 169
totalconnections: 5991
dtablesize: 2048
readwaiters: 165
opsinitiated: 15961
opscompleted: 15960
entriessent: 4140
bytessent: 5770895
currenttime: 20060309030458Z
starttime: 20060309013655Z
nbackends: 1
dataversion: ldap4.mycompany.com:389 020060222184645 0
ldapserverconfigdn: cn=ldap://:389,dc=ldap4,dc=mycompany,dc=com
backendmonitordn: cn=monitor,cn=ldbm
From the log file I can analyse that :
1. connections are getting closed (with U1 tag).
2. Server is not loaded much with heavy traffic.
It boils down to that Directory server is not releasing file descriptors cleanly. Error log often reports the error of unavailable File Descriptors and the service stops responding until the service is restarted.
Any idea on how to go about solving this ?
Thanks,
Vivek

additionally, if the CLIENT is broke and doesn't close connections cleanly AND its not using pooled connections. Enable idle timeout on your consumer to remove old connections.
But ensure your coders fix THEIR problem ;)

Similar Messages

  • How to increase the per-process file descriptor limit for JDBC connection 15

    If I need JDBC connection more that 15, the only solution is increase the per-process file descriptor limit. But how to increase this limit? modify the oracle server or JDBC software?
    I'm using JDBC thin driver connect to Oracle 806 server.
    From JDBC faq:
    Is there any limit on number of connections for jdbc?
    No. As such JDBC drivers doesn't have any scalability restrictions by themselves.
    It may be it restricted by the no of 'processes' (in the init.ora file) on the server. However, now-a-days we do get questions that even when the no of processes is 30, we are not able to open more than 16 active JDBC-OCI connections when the JDK is running in the default (green) thread model. This is because the no. of per-process file descriptor limit exceeded. It is important to note that depending on whether you are using OCI or THIN, or Green Vs Native, a JDBC sql connection can consume any where from 1-4 file descriptors. The solution is to increase the per-process file descriptor limit.
    null

    maybe it is OS issue, but the suggestion solution is from Oracle document. However, it is not provide a clear enough solution, just state "The solution is to increase the per-process file descriptor limit"
    Now I know the solution, but not know how to increase it.....
    pls help.

  • I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    Hi mshields1162,
    Great question, and welcome to Apple Support Communities.
    First, you may want to choose to have the sidebar displayed for familiarity:
    iTunes 11: Frequently used features
    http://support.apple.com/kb/HT5649
    Afterwards, your device should be displayed if connected:
    We'll want to click on it, and choose the Music tab at the top. Let's make sure "Sync Music" is checked:
    Afterwards, you'll have the option to sync either the entire music library (for your first iPod), or "Selected playlists, artists, albums, and genres" (for the secondary device). Upon selecting this option, four larger option boxes will appear allowing you to pick and choose what content will be synced. For audiobooks, you may need to do the above in the "Books" section. For a visual instruction on how to do this, see the following:
    iTunes 10: Sync to your iPod
    http://support.apple.com/kb/VI72
    Thanks,
    Matt M.

  • An unexpected exception while resolving a new connection to an Adobe Service.

    Hi
       i am new to LC and trying to generate pdf from doc using java API . while doing this i am geting error an unexpected exception while resolving a new connection to an Adobe Service.what is exact reason of this error.from.
    thanks in advance
    N1223

    Hi
       i am new to LC and trying to generate pdf from doc using java API . while doing this i am geting error an unexpected exception while resolving a new connection to an Adobe Service.what is exact reason of this error.from.
    thanks in advance
    N1223

  • How to create new connection in directory service manager

    Hello,
    I have upgraded OID from 10.1.4.3 to 11.1.1.6. after upgrade i used below url to connect directory service manager.
    http://hosname:7005/odsm
    trying to create new connection but not able to connect getting below error
    "Bind Failed. Host='dog1044' Details : dog1044:3060"
    using below value while creating new connection
    select OID
    Name : 11goid
    server : oidserver01
    port : 3060
    username : cn=orcladmin
    Thanks
    Karthick K

    Karthick,
    Or try to bind it from your ODSM server, eg: ldapbind -h oidserver01 -p 3060 -D "cn=orcladmin" -w xpto
    I hope this helps,
    Thiago Leoncil.

  • ALC-UTIL-001-001: Unexpected exception while resolving a new connection to an Adobe Service

    Hi,
    I am getting the following exception while invoking ConvertPdfService
    ERROR [STDERR] (ProcessResource@46e269ca(name=convertpdf.exe,pid=0) Error Reader) /e2/jboss-5.1.0/server/pdf/svcnative/ConvertPdfService/bin/convertpdf: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS64
    WARN  [com.adobe.service.ProcessResource] (ProcessResource@46e269ca(name=convertpdf.exe,pid=0) Error Reader) ALC-BMC-001-024: Service ConvertPdfService: Process ProcessResource@46e269ca(name=convertpdf.exe,pid=0) terminated abnormally with error code {3}
    INFO  [com.adobe.service.ProcessResource] (http-0.0.0.0-8080-10) ALC-BMC-001-505: Service ConvertPdfService: Starting native process with command line "/e2/jboss-5.1.0/server/pdf/svcnative/ConvertPdfService/bin/convertpdf.exe" -MyPath /e2/jboss-5.1.0/server/pdf/svcnative/ConvertPdfService -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616E616765723A312E30000 000000000020000000000000104000102000000000D31302E37382E3135322E383500000DC8000000193732363 33332353935312F42522D32302F0100000000000000000000000000050000000000000008000000004A4143000 000000100000020000000000501000100000001000100010001010900000002050100010001010000000021000 0007000000000000000010000000000000024000000200000007E00000000000000010000000D31302E37382E3 135322E383500000DC900400000000000080606678102010101000000170401000806066781020101010000000 764656661756C7400000000000000000000000000000000000000002000000004000000000000001F000000040 0000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003   -AppServer jboss
    ERROR [com.adobe.util.ConnectionFactoryReflectionWrapper] (http-0.0.0.0-8080-10) ALC-UTIL-001-001: Unexpected exception while resolving a new connection to an Adobe Service
    java.lang.reflect.InvocationTargetException
    Thanks in Advance

    Hi,
    May be of use
    1. Open the visual admin at <installdrive>:\usr\sap\J2E\JC00\j2ee\admin\go.bat
    2. Login is Administrator + admin-password you defined during installation.
    3. Under the Server 0... node select Services->Deploy
    4. Select the "Application" radio button at the bottom.
    5. Check if there exists an application sap.com/tcwdtools
    And the following applications are running
    sap.com/tcwdcorecomp
    sap.com/tcwddispwda
    sap.com/tcwdtools.
    Last thing was their any errors in the installation.
    Regards
    Ayyapparaj

  • GeneratePDFService : An unexpected exception while resolving a new connection to an Adobe Service.

    Hi,
    I'm using LC ES on Windows XP, turnkey installation.
    I've created a workbench process that suppose to convert word document to pdf using GeneratePDFService. When I invoke the process it fails with the next error:
    2008-04-28 09:30:32,781 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract com.adobe.native2pdf.bmc.ResultStruct com.adobe.pdfg.bmc.invoker.NativeToPDFInvokerLocal.convertPDFMToPdf(java.lang.String,java .lang.String,java.lang.String,int,byte[],java.lang.String,byte[],com.adobe.native2pdf.bmc. AppMonData,boolean):
    java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.adobe.util.ConnectionFactoryReflectionWrapper.getConnection(Utilities.java:953)
    Also I get the Windows error message :PDFGenerator Process Launcher has encountered a problem and needs to close.
    Any Ideas ?
    Thanks!

    Nevermind everyone. I figured out that I can do a manual change and just add the user to one of the groups and everything should be ok. Something happened silently within the system that caused it.

  • [SOLVED] Maximun TCP open connections and Open File Descriptors

    Hi,
    back when I was using XP I needed to patch a system file to increase max amount of open TCP connections - you surely know about this. I'm wondering how do I do the same in GNU/Linux and if that's real important here.
    Also, by default open files are set to 1024, how do I change that? I'm running x86_64 + KDE SC 4.4.2
    Last edited by martin77 (2010-04-12 04:17:27)

    Thanks for replying.
    I mean "open file handler" or in a better GNU/Linux terminology "open file descriptors" aka the maximun number of files that can be accessed at a given time.
    For instance, VMWare will need you increase them to 4096 to work properly - and I presume something in the order of 5120 would be ok.
    Following The Arch Way, already found the solution and want to share it with all of you fellow n00bs:
    1. you need to open for edit /etc/security/limits.conf file with root privileges
    2. at the end of the file add:
    * soft nofile nn
    * hard nofile nn
    where nn is the number of open file descriptors you want. I set them to 8196 (probably too high) so for instance it should read:
    * soft nofile 8192
    * hard nofile 8192
    Read the embedded help for a better understanding of this crucial configuration file.
    As usual, thank you very much to this great community, devs and users, best!
    Last edited by martin77 (2010-04-12 04:18:47)

  • Can't connect on wired network - Bad file descriptor

    Hi everybody...
    I'm using wicd daemon and never had any trouble before... in fact, I can connect normally to other wired and wireless networks. But recently I stambled onto a network which I can connect on Windows normally, but on Arch, wicd log says the following:
    2009/09/15 21:01:12 :: Putting interface down
    2009/09/15 21:01:12 :: Releasing DHCP leases...
    2009/09/15 21:01:12 :: Setting false IP...
    2009/09/15 21:01:12 :: Flushing the routing table...
    2009/09/15 21:01:12 :: Putting interface up...
    2009/09/15 21:01:12 :: Running DHCP
    2009/09/15 21:01:12 :: dhcpcd: version 5.0.7 starting
    2009/09/15 21:01:12 ::
    2009/09/15 21:01:12 :: dhcpcd: eth0: rebinding lease of 192.168.0.194
    2009/09/15 21:01:12 ::
    2009/09/15 21:01:22 :: dhcpcd: eth0: broadcasting for a lease
    2009/09/15 21:01:22 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: offered 172.16.1.196 from 172.16.1.254
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: acknowledged 172.16.1.196 from 172.16.1.254
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: checking for 172.16.1.196
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: hardware address 00:00:5a:72:ef:5f claims 172.16.1.196
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: send_raw_packet: Bad file descriptor
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:33 :: dhcpcd: eth0: rebinding lease of 192.168.0.194
    2009/09/15 21:01:33 ::
    2009/09/15 21:01:42 :: dhcpcd: timed out
    2009/09/15 21:01:42 ::
    2009/09/15 21:01:42 :: DHCP connection failed
    2009/09/15 21:01:42 :: exiting connection thread
    2009/09/15 21:01:42 :: Sending connection attempt result dhcp_failed
    I also tried to disable wicd and bring back the network daemon up, but I couldn't connect this way either. Any clues?
    Thanks a lot!

    I got the log from /var/log/everything... Here's what happens the I select the wired network on Wicd:
    Sep 16 21:12:27 leandro dhcpcd: dhcpcd not running
    Sep 16 21:12:28 leandro kernel: input: b43-phy0 as /devices/virtual/input/input14
    Sep 16 21:12:28 leandro kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
    Sep 16 21:12:28 leandro kernel: Registered led device: b43-phy0::radio
    Sep 16 21:12:28 leandro kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Sep 16 21:12:28 leandro dhcpcd: dhcpcd not running
    Sep 16 21:12:28 leandro kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
    Sep 16 21:12:28 leandro dhcpcd: version 5.0.7 starting
    Sep 16 21:12:28 leandro dhcpcd: eth0: rebinding lease of 192.168.0.194
    Sep 16 21:12:38 leandro dhcpcd: eth0: broadcasting for a lease
    Sep 16 21:12:38 leandro dhcpcd: eth0: offered 172.16.1.196 from 172.16.1.254
    Sep 16 21:12:38 leandro dhcpcd: eth0: acknowledged 172.16.1.196 from 172.16.1.254
    Sep 16 21:12:38 leandro dhcpcd: eth0: checking for 172.16.1.196
    Sep 16 21:12:39 leandro dhcpcd: eth0: hardware address 00:00:5a:72:ef:5f claims 172.16.1.196
    Sep 16 21:12:39 leandro dhcpcd: eth0: send_raw_packet: Bad file descriptor
    Sep 16 21:12:39 leandro kernel: eth0: no IPv6 routers present
    Sep 16 21:12:49 leandro dhcpcd: eth0: rebinding lease of 192.168.0.194
    Sep 16 21:12:58 leandro dhcpcd: timed out
    Appreciate any help! I don't think this is a common problem because Google desn't return many results on "dhcpcd" and "bad file descriptor".
    Thanks!

  • Network file descriptor is not connected

    Hi all
    I'm getting lots of these errors on my gateway:
    10/4/04 5:33:51 PM CDT: Thread[Thread-124,5,main]
    ERROR: RProxy caught exception
    org.mozilla.jss.ssl.SSLSocketException: PR_GetSockName failed: (-5978) Network file descriptor is not connected.
    at org.mozilla.jss.ssl.SSLSocket.getPort(Native Method)
    at com.sun.portal.util.SRAPSocket.getPort(Unknown Source)
    at com.sun.portal.rproxy.connectionhandler.Session.getLoggingInfo(Unknown Source)
    at com.sun.portal.rproxy.connectionhandler.Session.<init>(Unknown Source)
    at com.sun.portal.rproxy.connectionhandler.HTTPSession.<init>(Unknown Source)
    at com.sun.portal.rproxy.connectionhandler.HTTPSession.<init>(Unknown Source)
    at com.sun.portal.rproxy.server.RequestProcessor.processRequestInGWTheadPool(Unknown Source)
    at com.sun.portal.rproxy.server.RequestProcessor.processRequestInGWTheadPool(Unknown Source)
    at com.sun.portal.netlet.eproxy.RProxyConnection$RProxyThread.run(Unknown Source)
    at com.sun.portal.util.ThreadPoolThread.run(Unknown Source)
    any ideas of what could be happening ???
    Thanks a lot

    Could you elaborate your problem sympton and GW/Portal environment? RProxy (Rewrite Proxy) used ssl tlking to GW and extended secure connection from client web browser all the way to Intranet. However, this can be replaced by regualr web proxy from DMZ to your Intranet which perform the same function with less overhead (http instead).
    Is the attached log from gateway or rproxy? Youa lso need to tell which version of Portal/GW? Are there steps to reproduce your problem? Jerry

  • Having trouble creating new connection in SQLDeveloper

    When I try to create a new connection in SQLDeveloper, I get the following message:
    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The username and password are the same as the ones I use to connect to sqlplus, right? I am a complete newb to sql, so I would really appreciate if someone could provide a step-by-step solution.

    C:\Users\Admin>lsnrctl
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-APR-2013 21:00
    :01
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 26-APR-2013 17:55:47
    Uptime 0 days 3 hr. 4 min. 19 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\Admin\product\11.2.0\dbhome_2\network\admin\lis
    tener.ora
    Listener Log File c:\app\admin\diag\tnslsnr\Admin-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Admin-PC)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB.gateway.2wire.net" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: ADMIN-PC, pid: 4496>
    (ADDRESS=(PROTOCOL=tcp)(HOST=Admin-PC)(PORT=49224))
    The command completed successfully
    LSNRCTL>

  • Sudden increase in open file descriptors

    Our system is live since an year and half and for the first time I encountered the following exception
    "java.net.SocketException: Too many open files"
    When our internet application stopped responding I immediately checked the number of open file descriptors on my Solaris machine by using the "lsof" command and found that it was an abnormal 600 value and as I continued monitoring it reached 1024 in matter of minutes and WebLogic gave the above exception. The current setting for file descriptors is 1024. But all these days the average number of open file descriptors was well below 220.
    I also took thread dumps and found that most of the threads were stuck at the following location
    ""ExecuteThread: '3' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x00883a90 nid=0x10 runnable [6d080000..6d0819c0]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at com.sybase.jdbc2.timedio.RawDbio.reallyRead(RawDbio.java:202)
         at com.sybase.jdbc2.timedio.Dbio.doRead(Dbio.java:243)
         at com.sybase.jdbc2.timedio.InStreamMgr.readIfOwner(InStreamMgr.java:512)
         at com.sybase.jdbc2.timedio.InStreamMgr.doRead(InStreamMgr.java:273)
         at com.sybase.jdbc2.tds.TdsProtocolContext.getChunk(TdsProtocolContext.java:561)
         at com.sybase.jdbc2.tds.PduInputFormatter.readPacket(PduInputFormatter.java:229)
         at com.sybase.jdbc2.tds.PduInputFormatter.read(PduInputFormatter.java:62)
         at com.sybase.jdbc2.tds.TdsInputStream.read(TdsInputStream.java:81)
         at com.sybase.jdbc2.tds.TdsInputStream.readUnsignedByte(TdsInputStream.java:114)
         at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:1850)
         at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)"
    There is no file descriptor leak in the application. My question is since all the threads are hung at JDBC and socket level, does it mean that a faulty query would have triggered this problem(may be the database was too busy executing a faulty query).
    I suspect this because I recieved a database exception soon after the problem appeared. One of my database insert transaction had timed out after 300 seconds. Also this was the first time I recieved this kind of an exception
    java.sql.SQLException: The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 299 seconds
    Xid=BEA1-11FE69525362E51BFA16(6404670),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=299,seconds left=60,activeThread=Thread[ExecuteThread: '22' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=started,assigned=none),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@a68c0),SCInfo[Mizuho-RWS+myserver]=(state=active),properties=({weblogic.jdbc=t3://10.104.8.81:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+10.104.8.81:7001+Mizuho-RWS+t3+, XAResources={},NonXAResources={})],CoordinatorURL=myserver+10.104.8.81:7001+Mizuho-RWS+t3+)]'. No further JDBC access is allowed within this transaction.
         at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118)
         at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127)
    Any inputs regarding this problem?

    Raghu S wrote:
    Hi,
    I am using WebLogic 8.1 SP2 on a Solaris machine.Ok, good enough. Once WebLogic times out a transaction, it rolls it back on the
    connection. That Sybase driver's rollback doesn't unfortunately affect it's
    own running statements. For 81sp3 we added code to explicitly cancel any ongoing
    statement during a rollback. This may be what you need to free up those
    threads and the socekts the driver may be keeping open. If you can upgrade
    to a newer version of 8.1, this code will free you up. Alternately, you can
    try either upgrading to Sybase'e latest driver or to our BEA driver for Sybase.
    Ask support for the latest BEA driver package for 8.1.
    Joe
    >
    Stacktrace of one of the threads at the time I took the thread dump....All the threads at the time of taking the thread dump are stuck in a similar fashion.
    ExecuteThread: '3' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x00883a90 nid=0x10 runnable [6d080000..6d0819c0]
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at com.sybase.jdbc2.timedio.RawDbio.reallyRead(RawDbio.java:202)
    at com.sybase.jdbc2.timedio.Dbio.doRead(Dbio.java:243)
    at com.sybase.jdbc2.timedio.InStreamMgr.readIfOwner(InStreamMgr.java:512)
    at com.sybase.jdbc2.timedio.InStreamMgr.doRead(InStreamMgr.java:273)
    at com.sybase.jdbc2.tds.TdsProtocolContext.getChunk(TdsProtocolContext.java:561)
    at com.sybase.jdbc2.tds.PduInputFormatter.readPacket(PduInputFormatter.java:229)
    at com.sybase.jdbc2.tds.PduInputFormatter.read(PduInputFormatter.java:62)
    at com.sybase.jdbc2.tds.TdsInputStream.read(TdsInputStream.java:81)
    at com.sybase.jdbc2.tds.TdsInputStream.readUnsignedByte(TdsInputStream.java:114)
    at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:1850)
    at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
    at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:204)
    at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:187)
    at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1698)
    at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1690)
    at com.sybase.jdbc2.jdbc.SybCallableStatement.execute(SybCallableStatement.java:129)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:68)
    at com.mizuho.rws.report.business.dao.FIReportsDAO.getReportList(FIReportsDAO.java:3463)
    at com.mizuho.rws.report.business.businessObject.FIReports.getReportList(FIReports.java:98)
    at com.mizuho.rws.report.business.ejb.FIReportsBean.getReportList(FIReportsBean.java:96)
    at com.mizuho.rws.report.business.ejb.FIReports_4f92ds_EOImpl.getReportList(FIReports_4f92ds_EOImpl.java:270)
    at com.mizuho.rws.report.client.delegates.FIReportsBusinessDelegates.getReportList(FIReportsBusinessDelegates.java:173)
    at com.mizuho.rws.report.client.web.FIReportsAction.handleFIReportsBean(FIReportsAction.java:1759)
    at com.mizuho.rws.report.client.web.FIReportsAction.performAction(FIReportsAction.java:349)
    at com.mizuho.foundation.presentation.AppBaseAction.perform(AppBaseAction.java:143)
    at com.mizuho.foundation.presentation.AppActionServlet.processActionPerform(AppActionServlet.java:518)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
    at com.mizuho.foundation.presentation.AppActionServlet.doPost(AppActionServlet.java:562)
    at com.mizuho.foundation.presentation.AppActionServlet.doGet(AppActionServlet.java:544)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    And the stack trace of the exception I recieved.
    java.sql.SQLException: The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 299 seconds
    Xid=BEA1-11FE69525362E51BFA16(6404670),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=299,seconds left=60,activeThread=Thread[ExecuteThread: '22' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=started,assigned=none),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@a68c0),SCInfo[Mizuho-RWS+myserver]=(state=active
    ),properties=({weblogic.jdbc=t3://10.104.8.81:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+10.104.8.81:7001+Mizuho-RWS+t3+, XAResources={},NonXAResources={})],CoordinatorURL=myserver+10.104.8.81:7001+Mizuho-RWS+t3+)]'. No further JDBC access is allowed within this transaction.
    at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118)
    at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127)
    at weblogic.jdbc.wrapper.Statement.checkStatement(Statement.java:222)
    at weblogic.jdbc.wrapper.PreparedStatement.setString(PreparedStatement.java:414)
    at com.mizuho.rws.services.mail.business.dao.FIReportMailDAO.insertMailClientDetails(FIReportMailDAO.java:2790)
    at com.mizuho.rws.services.mail.business.businessObject.FIReportMail.sendMail(FIReportMail.java:645)
    at com.mizuho.rws.services.mail.business.ejb.MailerBean.sendFIReportMail(MailerBean.java:87)
    at com.mizuho.rws.services.mail.business.ejb.Mailer_fyyt2g_EOImpl.sendFIReportMail(Mailer_fyyt2g_EOImpl.java:662)
    at com.mizuho.rws.services.mail.client.delegates.MailerBeanBusinessDelegates.sendFIReportMail(MailerBeanBusinessDelegates.java:153)
    at com.mizuho.rws.services.mail.business.businessObject.SendMailHandler.sendFIReportMail(SendMailHandler.java:181)
    at com.mizuho.rws.services.mail.business.businessObject.SendMailHandler.resolveMail(SendMailHandler.java:429)
    at com.mizuho.rws.services.mail.business.businessObject.SendMailHandler.notify(SendMailHandler.java:651)
    at com.mizuho.foundation.utils.AppNotificationListener.handleNotification(AppNotificationListener.java:66)
    at weblogic.time.common.internal.TimerListener$1.run(TimerListener.java:48)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.TimerListener.deliverNotification(TimerListener.java:44)
    at weblogic.management.timer.Timer.deliverNotifications(Timer.java:578)
    at weblogic.time.common.internal.TimerNotification$1.run(TimerNotification.java:118)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    Regards
    Raghu

  • Could not create a new connection in STRUTS

    Hi,
    I have done a application in STRUTS using JBOSS as application server, IDE myeclipse, database is MYSQL, current while executing the application at the time of connecting the database it is giving the error as 'could not create a connection ; nested throwable i have given below the server console message can anybody help in this regard to solve this issue.
    Thanks
    12:37:14,950 INFO  [Server] Starting JBoss (MX MicroKernel)...
    12:37:14,966 INFO  [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
    12:37:14,981 INFO  [Server] Home Dir: F:\vln\jboss-4.0.3
    12:37:14,981 INFO  [Server] Home URL: file:/F:/vln/jboss-4.0.3/
    12:37:14,981 INFO  [Server] Patch URL: null
    12:37:14,981 INFO  [Server] Server Name: default
    12:37:14,981 INFO  [Server] Server Home Dir: F:\vln\jboss-4.0.3\server\default
    12:37:14,981 INFO  [Server] Server Home URL: file:/F:/vln/jboss-4.0.3/server/default/
    12:37:14,981 INFO  [Server] Server Temp Dir: F:\vln\jboss-4.0.3\server\default\tmp
    12:37:14,981 INFO  [Server] Root Deployment Filename: jboss-service.xml
    12:37:15,809 INFO  [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
    12:37:15,809 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
    12:37:15,809 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
    12:37:16,919 INFO  [Server] Core system initialized
    12:37:19,591 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    12:37:50,544 INFO  [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_before_completion=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibernate.hbm2ddl.auto=create-drop, hibernate.connection.datasource=java:/DefaultDS, hibernate.connection.release_mode=after_statement}
    12:37:50,653 INFO  [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://169.254.109.142:3873/0.0.0.0:3873]
    12:38:23,387 INFO  [AspectDeployer] Deployed AOP: file:/F:/vln/jboss-4.0.3/server/default/deploy/ejb3-interceptors-aop.xml
    12:38:43,294 INFO  [WebService] Using RMI server codebase: http://madhu:8083/
    12:38:44,981 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    12:38:45,059 INFO  [TreeCache] setEvictionPolicyConfig(): [config: null]
    12:38:45,091 WARN  [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
    12:38:45,169 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.CacheLoaderInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    class org.jboss.cache.interceptors.CacheStoreInterceptor
    12:38:45,419 INFO  [TreeCache] cache mode is REPL_SYNC
    12:38:46,559 INFO  [STDOUT]
    GMS: address is MADHU:1860
    12:38:48,606 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:38:48,606 INFO  [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
    12:38:48,606 INFO  [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
    12:38:48,606 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:38:48,637 INFO  [TreeCache] viewAccepted(): new members: [MADHU:1860]
    12:38:48,934 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
    12:38:48,966 INFO  [TreeCache] setEvictionPolicyConfig(): [config: null]
    12:38:58,528 INFO  [MailService] Mail Service bound to java:/Mail
    12:39:04,981 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
    12:39:05,106 INFO  [DefaultPartition] Initializing
    12:39:05,200 INFO  [STDOUT]
    GMS: address is MADHU:2004 (additional data: 20 bytes)
    12:39:07,216 INFO  [DefaultPartition] Number of cluster members: 1
    12:39:07,216 INFO  [DefaultPartition] Other members: 0
    12:39:07,216 INFO  [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
    12:39:07,512 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
    12:39:07,528 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=169.254.109.142:1100
    12:39:09,591 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    12:39:09,606 INFO  [TreeCache] cache mode is REPL_SYNC
    12:39:09,653 INFO  [STDOUT]
    GMS: address is MADHU:2034
    12:39:11,669 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:39:11,669 INFO  [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
    12:39:11,669 INFO  [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
    12:39:11,669 INFO  [TreeCache] viewAccepted(): new members: [MADHU:2034]
    12:39:11,669 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:39:18,497 INFO  [Embedded] Catalina naming disabled
    12:39:21,294 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    12:39:21,309 INFO  [Catalina] Initialization processed in 2656 ms
    12:39:21,309 INFO  [StandardService] Starting service jboss.web
    12:39:21,325 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
    12:39:21,512 INFO  [StandardHost] XML validation disabled
    12:39:21,637 INFO  [Catalina] Server startup in 328 ms
    12:39:23,200 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    12:40:12,434 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
    12:40:16,966 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp44694jboss-ws4ee-exp.war/
    12:40:17,481 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
    12:40:17,856 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    12:40:18,450 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    12:40:23,731 INFO  [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
    12:40:23,747 INFO  [TreeCache] interceptor chain is:
    class org.jboss.cache.interceptors.CallInterceptor
    class org.jboss.cache.interceptors.LockInterceptor
    class org.jboss.cache.interceptors.UnlockInterceptor
    class org.jboss.cache.interceptors.ReplicationInterceptor
    12:40:23,747 INFO  [TreeCache] cache mode is REPL_ASYNC
    12:40:24,184 INFO  [STDOUT]
    GMS: address is MADHU:2576
    12:40:26,184 INFO  [TreeCache] viewAccepted(): new members: [MADHU:2576]
    12:40:26,184 INFO  [TreeCache] new cache is null (maybe first member in cluster)
    12:40:26,184 INFO  [TreeCache] state could not be retrieved (must be first member in group)
    12:40:27,794 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    12:40:28,231 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    12:40:28,559 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    12:40:28,934 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    12:40:29,325 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    12:40:29,762 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    12:40:34,544 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    12:40:36,762 INFO  [A] Bound to JNDI name: queue/A
    12:40:36,778 INFO  Bound to JNDI name: queue/B
    12:40:36,778 INFO [C] Bound to JNDI name: queue/C
    12:40:36,778 INFO [D] Bound to JNDI name: queue/D
    12:40:36,778 INFO [ex] Bound to JNDI name: queue/ex
    12:40:36,856 INFO [testTopic] Bound to JNDI name: topic/testTopic
    12:40:36,872 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    12:40:36,872 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    12:40:36,872 INFO [testQueue] Bound to JNDI name: queue/testQueue
    12:40:37,044 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    12:40:37,200 INFO [DLQ] Bound to JNDI name: queue/DLQ
    12:40:37,903 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    12:40:38,262 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS'
    12:40:38,512 INFO [TomcatDeployer] deploy, ctxPath=/EIISWEB, warUrl=.../deploy/EIISWEB.war/
    12:40:39,622 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12:40:39,637 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    12:40:40,731 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
    12:40:40,747 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    12:40:40,856 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
    12:40:41,106 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    12:40:41,700 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    12:40:42,216 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
    12:40:42,356 INFO [JkMain] Jk running ID=0 time=0/234 config=null
    12:40:42,372 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 3m:27s:391ms
    12:41:21,684 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,700 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12:41:21,731 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
    12:41:21,919 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12:41:31,262 INFO [STDOUT] In ServiceLocator: creating datasource
    12:41:31,262 INFO [STDOUT] Referencejava:MySqlDS
    12:41:31,262 INFO [STDOUT] [email protected]9
    12:41:31,419 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis)
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:164)
         at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519)
         at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:208)
         at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:529)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:410)
         at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:342)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:462)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
         at com.lsil.eiis.validator.main.common.QueryManager.getInfo(QueryManager.java:65)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.lsil.eiis.utility.XMLDTHttpServlet.getInfo(XMLDTHttpServlet.java:186)
         at com.lsil.eiis.utility.XMLDTHttpServlet.doGet(XMLDTHttpServlet.java:44)
         at com.lsil.eiis.utility.XMLDTHttpServlet.doPost(XMLDTHttpServlet.java:121)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:291)
         at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:153)
         ... 37 more
    12:41:32,403 INFO [STDOUT] Help XML:<Data><Record><RESULT>Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis))</RESULT></Record></Data>

    Hi Abhshek,
    Please go through the link:Error in Seeburger SFTP : Cannot create pending keystore PENDING/SSH_hosts
    Also check certificate expiry date. Take help of basis team so that they could be able to assist you regarding this.
    Regards,
    Naveen

  • Download a XML file from Web Services Using Flex

    Hi All...
    I am new for flex, im developing a windows application using Flex/Air, i have connected the web services with user authentication, now I want to download a xml file using web services in flex,
    how can i do this?? please reply...
    Thanks in advance
    Vasanth

    Hi All....
    I have done this myself using sample tutorials...
    here is the code for your reference guys
              plyLoginName = txtEmailIdDownload.text;                
                     var urlpath:String = new String("your url p?LoginName=");
                    urlpath = new String(urlpath.concat(plyLoginName));
                    urlpath = new String(urlpath.concat("&PlayerType="));
                    urlpath = new String(urlpath.concat(chkseasonvalue));
                    Alert.show(urlpath);
                var request:URLRequest = new URLRequest(urlpath)
                var fileRef:FileReference = new FileReference();           
                fileRef.download(request,"yourfilename.xml");
                Alert.show('File downloaded Successfully');   
                 txtEmailIdDownload.text = "";
                txtPWDownload.text = "";
    thanks
    Vasanth

  • [SOLVED] Cups refuses to work: "bad file descriptor"

    I am not getting CUPS to work on a new installation.
    I need to use cups as a client printing to a printer attached to a separate server. What I did:
    1. I installed  the cups package and started/enabled the service in systemd.
    2. The remote server has a working CUPS installation (accessible and working from other computers)
    3. I can see the remote printer listed among the printers in CUPS's local  web interface
    However, every job sent to the printer (from the GUI: KDE based apps such as Okular, etcetera) silently fails.
    No job is ever listed on the CUPS web interface.
    If I try to check on CUPS status with lstat I get the following error:
    $> lpstat
    lpstat: bad file descriptor
    Any suggestion on how to fix the problem?
    Edit: more info
    It seems that cups is running fine according to systemd:
    [stefano@gorgias ~]$ systemctl status cups
    ● cups.service - CUPS Printing Service
    Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
    Active: active (running) since Mon 2014-08-04 17:56:32 CDT; 16h ago
    Main PID: 2832 (cupsd)
    Status: "Scheduler is running..."
    CGroup: /system.slice/cups.service
    └─2832 /usr/bin/cupsd -f
    Aug 04 17:56:32 gorgias systemd[1]: Started CUPS Printing Service.
    but not so according to CUPS itself:
    [stefano@gorgias ~]$ lpstat -t
    scheduler is not running
    no system default destination
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    So systemd tells me the scheduler is running, while CUPS claims it is not
    Last edited by stefano (2014-08-06 22:15:53)

    Stefano,
    I can't thank you enough for posting your solution! I have spent the last several days trying to get libreoffice and evince to even see my printer. I've been up and down so many cups web interface sessions, I lost count long ago. Finally, I came across some commands I'd never seen before, in particular 'lpstat' which also gave me the 'bad file descriptor' message. Googling provided next to nothing in help, but it did produce a link to your post, which is like finding a needle in a haystack! Anyway, I updated /etc/cups/client.conf as you suggested, and now my applications can finally see my Brother HL-2280DW.
    For what it's worth, I'm running a fresh archlinux install (as of a week or two ago), and just installed cups a few days ago:
    root<t1>@benito:/etc/cups# uname -a
    Linux benito 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux
    root<t1>@benito:/etc/cups# pacman -Qs cups
    local/brother-hl2280dw 2.0.4_2-3
        Brother HL-2280DW CUPS Driver
    local/cups 1.7.5-1
        The CUPS Printing System - daemon package
    local/cups-filters 1.0.57-1
        OpenPrinting CUPS Filters
    local/cups-pdf 2.6.1-2
        PDF printer for cups
    local/libcups 1.7.5-1
        The CUPS Printing System - client libraries and headers
    local/python2-pycups 1.9.66-2
        Python CUPS Bindings
    local/system-config-printer 1.4.4-1
        A CUPS printer configuration tool and status applet
    Again, my sincere thanks!!
    (BTW, I'd also like to know why /etc/cups/client.conf doesn't work as advertised...)
    Last edited by archzen (2014-08-24 06:44:58)

Maybe you are looking for