Help: jTDS doesn't work with j2ee sdk 1.4

Hello there!
I'm wonrking with Win2k sp4, MS-Sql Server 7 and j2ee sdk 1.4 (the newest release).
I'm trying to use the jTDS JDBC driver to access a MSSql database. This is the connection pool configuration:
<jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="net.sourceforge.jtds.jdbcx.TdsDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="cmc" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
<description>mydb</description>
<property name="DatabaseName" value="mydb"/>
<property name="LoginTimeout" value="6000"/>
<property name="Password" value="mypass"/>
<property name="User" value="myuser"/>
<property name="PortNumber" value="1433"/>
<property name="ServerName" value="localhost"/>
</jdbc-connection-pool>
I set up the configuration and restarted the server. I put the jtds-0.7.1.jar file on
c:\sun\appserver\domains\domain1\lib folder and restarted the server. I've checked for the port 1433 and it's working fine.
but when I ping, I always get the same error: Operation 'pingConnectionPool' failed in 'resources' Config Mbean.
I'm getting nuts trying to solve this problem and I don't get it!.
Please, any help would be appreciatted!!
Thanx

Hey! Alin! Thankyou!
I finally solved the problem with your responses!!!
I downloaded the final RC version of jTDS (0.8). I copyed the JAR file in c:\sun\appserver\domains\domain1\lib
The final configuration in the domain.xml is:
<description>mydb</description>
<property name="DatabaseName" value="mydb"/>
<property name="LoginTimeout" value="6000"/>
<property name="Password" value="mypass"/>
<property name="User" value="myuser"/>
<property name="PortNumber" value="1433"/>
<property name="ServerName" value="localhost"/>
<property name="Server_type" value="sqlserver"/> <--- VERY IMPORTANT
<property name="Charset" value="Unidoce"/> <--- VERY IMPORTANT
</jdbc-connection-pool>
An now it's pinging without problems!!!
My only concern is that "Unicode" is a valid value for the "charset" property.
Regards!

Similar Messages

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • I use an online application that doesn't work with FF, but I had been able to use an IE plugin within FF and it worked fine. After the last update (3.6.12), it says plugin is not compatable with version. Help?

    I use an online application that doesn't work with FF, but I had been able to use an IE plugin within FF and it worked fine. After the last update (3.6.12), it says plugin is not compatable with version. Help

    go to '''TOOLS '''then '''OPTIONS''' then '''ADVANCED''' then '''NETWORK tab''' then '''SETTINGS tab''' and select the options '''NO PROXY''' click '''OK''' and '''OK '''again in the next screen. With that you have disabled the proxy settings.
    ''if you like to not disable the proxy settings choose'' : '''Auto-detect proxy settings for this network''' (it is in the same session)
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • My iPod doesn't work with iTunes 10. Help please!

    Greetings to all!
    Help please! I updated to iTunes10, and now my ipod nano 4th generation doesn't work with it. Actually the "Devices" menu doesn't show up, although the operating system recognizes it. What should i do? I refuse to buy another one. Should i install an older version of itunes? If i do so, may i loose my musics and stuff that i have in library?
    Thanks a lot in advance.
    Laters,

    You should always have backup of your iTunes folder.
    Downgrading to iTunes 9 will not cause you to lose your music etc.
    Have you checked via Software Update in the System Preferences for any updates.
    Have you tried the 5 R's for the iPod?
    MJ

  • Microsoft word doesn't work with Yosemite. Please Help

    Microsoft word doesn't work with Yosemite. Please Help

    Office 2008 and 2011 work with Yosemite. If you had Office 2004 installed, then it will not work. If you had Office 2008 I would upgrade to Office 2011. In any event you should try completely uninstalling Office and then reinstalling it.

  • Quicklook doesn't work with .avi files

    Hello, i've got a little problem right here on my mac. The thing is that I used to have Snow Leopard as a OS and quicklook used to work great, it opened all the extensions I used to work with. The thing change when I format my HDD and installed a clean copy of Lion OS. Now quicklook works fine as it used to but not any more with .avi files. I remember that this feature was working great on my previous OS, and it's really important for me to find a solution because quicklook is an absolutely amazing feature of our Macs.
    I've tryed to download plugins, restoring permissions or even trying it with a guest user, but no success.
    Please help me. If you need more info about specs or something i'll be glad to give them to you.
    Thank you!!!

    Also doesn't work with Grapher (.gcx) documents (an Apple format).

  • Media Encoder CS4 doesn't work with Premiere (pic related)

    Oh hai!
    I just got Adobe Master Collection CS4 and my Media Encoder doesn't work with Premiere CS4. When I try to export the file, Encoder starts normally. Then I click "Start queue" and Encoder starts loading. Loading takes almost five minutes, which is a long time, because my project is very simple. After that nothing happens, just a warning sign appears. When I click it open, some kind of log file open and it says:
    Encoding failed
    Could not read from the source. Please check if it has moved or been deleted.
    And I didn't deleted anything. So what does that mean? Why that "Source Name's" path is different than my project files path? Can this problem relate that somehow?
    I have also another problem with Premiere CS4, maybe there's a link between these two problems. I can't get Premiere projects linked to open in Premiere CS4. When I right-click the project icon, and click “Open with…”, I can't find Premiere from the list. When I click "Browse", I can find Premiere.exe from my computer, but if i doubel-clicked it, nothing happens. It won't appear to the list or anywhere else. Or have I missed something? So now the project files are linked to open in After Effects. Of course I can open projects from Premiere, but how do I get them open straight from file?
    I have long experience using Adobe Premiere and this is the first time I got this kind of problems. I have also downloaded new updates for Premiere and Encoder, this didn't help. Does that matter, that I didn't installed Premiere in C-drive? However it's in my computers internal drive, I have divided my hard drive for five parts, one part contains all of my softwares. My scratch disks are in different hard drive (external), does that matter? I tried different location, but that didn't help.
    Please help, I can't do any video editing, because of this problem. And sorry for my english, ask if you didn't understand something. =)

    Hello, this is terrible problem, which i found in CS 6 softwares ...
    solution i found only working, is uninstall and reinstall full package.. but it is not all,
    you need to do BRAND NEW admin account in windows, and install it there.
    that means, i could not export after repair from encoder in my original account never more (!!)   .. this is really terrible way how to repair this issue, because :
    1.by reinstalling of software, client WASTE HIS TIME
    2.by necessity to begin work in another windows profile you again WASTE YOUR TIME because of learning and migrating all other profile modifications, which i see really unaccpetable. Adobe means, this solution of repair is ok, and they did not do till today any steps of creating some "clever" solution.
    I ask everybody, who will meet this issue in future, guys, please, complain about this situation, give "BUG Report" to them, and write "feature request" to them , in the way of creating some repair tool, which check actual  "broken" connections between encoder and premiere, which refuses to "take material" from it and encode, and REPAIR it automatically..  
       I am not IT, but ..does it seems so hard to create this ? Adobe IT developers should know their systems, and should create such utility tool really easy.
    History of this problem and detailed description, HOW i did "repair" this. With wasting of app 2,5 days of my working time :
    1. after repairing "error 5" problem , i solved it by reinstalling the suite from the new admin user profile (profile B) . 
    I continued my work on my normal working windows profile . (profile A)
    Every cooperation (AE+Pr, export media via "queue" to Encoder) was working fine . . .
    2. suddenly it stop working (without knowing any possible reason - i did not do installations )
    and showed in error export log file :
    "Could not read from the source. Please check if it has moved or been deleted."
    3.repair via procedure(procedure "a"):
    i did this procedure on the profile B (profile from last time installation of repairing problem error 5)
    I did these steps :
    a-uninstall master coll suite
    b-i used Adobe cleaner tool (remove ALL)
    c-removed raw directories in locations
    •C:\Program Files\Adobe
    •C:\Program Files(x86)\Adobe
    •C:\Program Files\Common Files\Adobe
    •C:\Program Files(x86)\Common Files\Adobe
    •C:\ProgramData\Adobe
    d-removed these links from registry file
    •HKEY_LOCAL_MACHINE\SOFTWARE\Adobe
    •HKEY_CURRENT_USER\Software\Adobe
    •HKEY_LOCAL_MACH INE\SOFTWARE\Wow6432Node\Adobe
    •HKEY_CURRENT_USER \Software\Wow6432Node\Adobe
    e-restarted the PC
    f- newly installed the Master Coll CS6
    g-update the software
    result of repair of "3" : problem still exists
    4.Ok i find out after coordination with support, it should have been created  ANOTHER NEW admin account.
    4a:so i did the same procedure (uninstalling) in profile B
    4b: and then i created brand new admin profile (profile C)for INSTALLATION of software
    4c: restarted the pc (and did not updated it yet)
    result :
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile C) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile B) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile A) : export DOES NOT WORK ! ! !
    (in profile A, is possible to export some raw video material in encoder which is imported to it via "drag and drop)
    problem i see:, i have my basic profile A, which i am interested to work, because of all my directory modifications are in there..
    this issue should be some "broken" connections between encoder and premiere, which refuses to "take material" from it and encode.
    what i expect :
    to get from Adobe some repair tool, which automatically checks these connections and repair if necessary, without necessity of founding the new profile and reinstallation of whole software.. this is madness !
    what i do NOT expect from Adobe:
    to get from Adobe advice of kind : you have to reinstall full software in new admin profile. sorry , we do not know the solution, because we do not know, how do behave our software.

  • Apple Keyboard with number pad doesn't work with Mac Pro?

    I have a Mac Pro, and have used an Apple Keyboard with a number pad (not bluetooth) with it for quite a while, with no problems. But then my keyboard broke and I ordered a replacement Apple Keyboard with a number pad (not bluetooth). This keyboard doesn't work with my Mac Pro. I have it plugged in, but I can't get the Mac Pro to consistently recognize that there is a USB keyboard connected to it. What magical stuff do I have to do to get the keyboard to be fit for purpose?

    It would not hurt to try an SMC Reset. (But if it does not help, it adds credence to lllaass assertion that the keyboard is not working.)
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

  • Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and  both carriers verizon and Yemen mobile work by the CDMA system don't know whey

    Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and  both carriers verizon and Yemen mobile work by the CDMA system don't know whey can anyone help me please..

    A Verizon-model iPad can only work on CDMA with Verizon. You cannot use it with any other carrier. Apple, to my knowledge, has not released the iPad in Yemen, so there is no iPad you can use with any carrier there that works only on CDMA. You would need to find a GSM carrier and then get an unlocked GSM iPad.
    Regards.

  • Apple Firewire to Thunderbolt doesn't work with my Infrasonic Deux sound card

    Hello! My soundcard "Infrasonic Deux" doesn't work with Apple Thunderbolt to Firewire adaptor on my macbook pro 15 retina. On the other mac's the same problem! Via Firewire my soundcard work as well! but it doesn't work with Adapter! Help, please!

    If you purchased an unlocked iPhone at an Apple store, it should be useable with any SIM.  Its possible they just made a mistake and gave you the wrong model phone or there is something wrong with that phone.  If that is the case, just take the phone and your receipt to an Apple store, explain the situation and they should swap it out for an actual unlocked one.

  • Horizontal scrolling doesn't work with ItemsStackPanel in ListView(GridView)

    Hi,
    In Win 8.1 App Store Project I have a ListView with fixed width and listen for ContainerContentChanging event because of performance issues.
    When ListView width is less than content width, horizontal scrolling doesn't work. If we change ItemsStackPanel to VirtualizingStackPanel, horizontal scrolling works fine. But ContainerContentChanging doesn't work with VirtualizingStackPanel.
    Is it possible to make horizontal scrolling work with ItemsStackPanel?
    Here simple example to reproduce this problem:
    <Page
    x:Class="App8.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App8"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Resources>
    <DataTemplate x:Key="ContinuousViewItemTemplate">
    <Border Width="800"
    Background="Green"
    Margin="10"
    Padding="5">
    <Border x:Name="root" Height="800" Background="{Binding}"/>
    </Border>
    </DataTemplate>
    <Style x:Key="ListViewStyle1" TargetType="ListView">
    <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Visible"/>
    <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled"/>
    <Setter Property="ItemTemplate" Value="{StaticResource ContinuousViewItemTemplate}"/>
    </Style>
    </Page.Resources>
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="100"/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition Width="100"/>
    </Grid.ColumnDefinitions>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="1">
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="3">
    <ListView.ItemsPanel>
    <ItemsPanelTemplate>
    <VirtualizingStackPanel/>
    </ItemsPanelTemplate>
    </ListView.ItemsPanel>
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    </Grid>
    </Page>

    Hi Mikhail Maksyuta,
    Welcome back!
    Yes, you are right! I have reproduced it on VS 2013 professional.
    I will report it as bug, Thanks for your valuable suggestions!
    If you have any other questions about this, please feel free let me know!
    Thanks again!
    Regards! 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My Custom Converter Doesn't Work With DataModel

    Hi,
    I have this simple object with its custom converter taken from the Core JSF Book. It works fine, but when I put it in DataModel, somehow it didn't get updated. I don't put the whole codes here, only the important parts.
    Any1 knows what is the reason? I have been looking for an answer but I haven't found one. Plz help.
    public class CreditCard {
    private String number;
    public CreditCard(String number) { this.number = number; }
    public String toString() { return number; }
    public class CreditCardConverter implements Converter, Serializable {
    private String separator;
    public void setSeparator(String newValue) { separator = newValue; }
    public Object getAsObject(............);
    return new CreditCard(builder.toString());
    public String getAsString(..............)
    throws ConverterException {
    return result.toString();
    public class MyBackBean{
    private DataModel creditCardDataModel;
    private static final CreditCard[] ccs = {
    new CreditCard("1111 111 111 111"),
    new CreditCard("2222 222 222 222")
    public DataModel getCards(){
    if (creditCardDataModel == null) {
    creditCardDataModel = new ArrayDataModel(ccs);
    return creditCardDataModel;
    <h:dataTable value="#{myBackBean.cards}" var="card">
    <h:column>
    <h:inputText id="card" value="#{card}"/>
    </h:column>
    </h:dataTable>
    Edited by: JW77 on Dec 3, 2009 12:47 AM

    Please explain.
    What does "cellcom line doesn't work with my iPhone" mean?
    What are you trying?  What is happening?
    Where did you buy the iphone?
    Any info abnout your issue at all?

  • Mozilla firefox 3.6.4 doesn't work with real player.because of this i don't want to update MF 3.6.3...What can i do

    mozilla firefox 3.6.4 doesn't work with real player...can't download any videos...what can i do
    == This happened ==
    Just once or twice
    == update to 3.6.4. version

    If you install 3.6.3 and don't want it to automatically upgrade you need to open the browser and select "Tools" from the menu bar. Go to "Options". Select the "Advanced" icon. Go to the "update" tab on the "Advanced" menu. Here you can configure how and what Firefox updates.
    Hope that helps.

  • [SOLVED] openbox menu command doesn't work with &&

    I'm now using openbox-session only.
    I'd like to run a program after something was done correctly:
    zenity --question && killall openbox
    I used "obmenu" and it seems that it fixes & to & correctly in the menu.xml.
    However, the previous command "zenity" is run only.
    In terminal, there's no problem, but it doesn't work with "command" in openbox menu.
    <item label="Exit">
    <action name="Execute">
    <execute>
    zenity --question --title="Exit" --text="Are you sure to go back to console?" && killall openbox
    </execute>
    </action>
    </item>
    Please, give me any idea. Thank you.
    Last edited by mairoo (2009-09-09 10:06:17)

    hbekel wrote:
    You'll need to use a shell explicitly:
    <execute>
    sh -c 'command1 && command2'
    </execute>
    I flagged "solved" thanks to your help. It works good. Thank you.

  • Buffalo Nas Navigator2 doesn't work with Mavericks

    Hello,
    On my Mac Pro (5.1) Buffalo Nas Navigator2 (v2.69 & v1.71) doesn't work with Mavericks :-(
    The window opens and closes immediately (approximately 2s).
    According the Buffalo support, all the versions works with Mac OS (including Mavericks ?)
    Thank you for your help.
    Regards
    Olivier
    PS: the firewall is not enabled

    Hello Mark,
    Thank you for your message.
    For your information, I have no problem with the Finder (I don't use cifs), I can see my LinkStation. The problem is only with Nas Navigator.
    Yesterday I tried to use LinkNavigator: Link Navigator installs Nas Navigator and tried to connect to the Link Station, and I could see a message like "no Link Station found on the network" while I have 4 Link Station :-(
    I believe that Finder and Nas Navigator do not use the same protocol.
    It's curious that the support of Buffalo are not aware about the problem between Nas Navigator and Maverick.
    Olivier
    PS: I also use fixed IP ;-)

Maybe you are looking for

  • I MacBook need exchange, exchange and exchange again when i just unbox!!

    I buy a MacBook an MacBook from Online Store when i just launch, and got both on 20/10 morning. When I just unbox it, the MacBook Pro unibody was damaged. The other, MacBook can read the DVD, the DVD driver out of order. Then I call hotline, they col

  • Photoshop Elements Version 7 - ohne Menüzeile

    Hallo Kann mir jemand helfen? Ich verwende Windows 7 und Adobe Photoshop Elements Version 7. Das Problem ist, es wird keine Menüzeile (oben am Rand) angezeigt. Wie kann ich diese wieder aktivieren? Danke im Voraus. Gruss Mario

  • Help me install adobe flash player on my mac ?

    Can you help me istall flash player on my Mac

  • ITunes Drag and Drop - dead!

    Using my MacBook Pro I was able to drag and drop in iTunes to transfer music to my iPad Air and iPhone - until recently. On 21 November, I tried to drag and drop some tracks - would not work. I tried dragging and dropping to both iPad Air and iPhone

  • Monitor suddenly goes dark

    My monitor has recently started suddenly going dark.  I get a little blue box that says "No signal, analog" and then the computer keeps running but the monitor won't come back on till I shut down and disconnect the power cord 2 or 3 times. This happe