See here: http://msdn2.microsoft.com/en-us/library/ms378428.aspx
I think it will be this value in your case: jdbc:sqlserver://localhost:1455;databaseName=PDV Jeff Butler On 1/29/07, André Rodrigues Pena <[EMAIL PROTECTED]> wrote:
Jeff, thanks for replying I really skipped ConnectionURL property because the DataSource component that comes with the JDBC driver I'm using does ask for connection URL and I don't know how to set it. On 1/29/07, Jeff Butler <[EMAIL PROTECTED]> wrote: > > You are missing the JDBC.ConnectionURL property in your datasource > configuration. SIMPLE datasource is documented in the iBATIS developers > guide. > > Jeff Butler > > > > On 1/29/07, André Rodrigues Pena < [EMAIL PROTECTED]> wrote: > > > > Brandon, thanks, in this moment I'm seeing some of the material you > > suggested me > > > > Chris, thanks but my project seems ok. As you know, After the > > application initializes it crashes with that message: "Could not find the > > main class. The program will exit". I did'nt mentioned it yet. May be it > > will help, but at the console, the first phrase is: > > > > SEVERE: SimpleDataSource: Error while loading properties. Cause: > > java.lang.RuntimeException: SimpleDataSource: Some properties were not > > set. > > > > At my first post I wrote the configuration XML file. > > > > Do you think a mis-configuration may be generating a message like > > that, or do you think that the mis-configuration error message is due to > > other issues? > > > > Thank you all in advance > > > > > > > > On 1/29/07, Chris Lamey <[EMAIL PROTECTED] > wrote: > > > > > > On Mon, 2007-01-29 at 09:26 -0700, Chris Lamey wrote: > > > > On Mon, 2007-01-29 at 11:43 -0200, André Rodrigues Pena wrote: > > > > > > > > > >Is Tests your Main-Class in the mainfest? > > > > > > > > > > I don't have a MANIFEST file because I'm not packaging it into a > > > JAR. > > > > > I'm just compiling and executing it locally :) > > > > > > > > Sounds like a CLASSPATH issue. > > > > > > > > Here's what I would do. > > > > > > > > - Select your main class in the Package Explorer > > > > - Right-click and select the "Run As"->"Run..." item > > > > - In the Main tab, verify that "Tests" is in the "Main class" > > > textfield > > > > - In the Classpath tab, verify the project is listed in the "User > > > > Entries" list. > > > > > > > > If that is correct, I would delete that Run configuration for the > > > class > > > > Tests and create a new one. > > > > > > Whups! I meant to say, if that looks correct *and* the problem > > > still > > > happens, I would delete the current Run config and create a new one. > > > > > > Sorry about that. > > > > > > > If it's still not running your class correctly, I would: > > > > > > > > - Select the project in the Package Explorer > > > > - Right-click and select the "Properties" item > > > > - In the Source tab, verify that the "Default build folder" exists > > > on > > > > the filesystem and you have read/write access to it > > > > - Also take a look at the "Order and Export" tab and make sure it > > > all > > > > looks ok > > > > > > > > If after that it's still failing, I would exit Eclipse and use > > > java and > > > > javac (probably with ant) at the shell to build and run the > > > class. Then > > > > I would set Eclipse to use the same directories. > > > > > > > > Cheers, > > > > topher > > > > > > > > > > > -- > > André Rodrigues Pena > > > -- André Rodrigues Pena