CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 JSP MSSQL

Print topic Send  topic

Author Message
Carsten Webering
Posted: 03/03/2003, 8:21 AM

Hi

Somebody manage to get the JSP code generation to work on

Tomcat 4.1
Microsofts SQL Server 2000
Java SDK 1.4
Microsofts JDBC driver

I'm confused on how to configure a data connection. Should I use the ODBC
Data Source or the Bind Connection string.
In the Java/JSP developer guide there are three ways of configuring for
Tomcat 1.4 but this tree ways of doing it isn't descibed with examples on
how to do it in the DB connection dialog.

When using the Data Source configuration with Data extensions the Tomcat
doesn't install the war file.

When configuring with Connection string binding I got an error can't connect
to Connection1. When using the Data Source configuration with Data
extensions it isn't possible to add configuration as shown in Tomcat 4.1
server.xml?

Best Regards Carsten


jc
Posted: 03/04/2003, 12:25 AM

Carsten Webering wrote:
> Hi
>
> Somebody manage to get the JSP code generation to work on
>
> Tomcat 4.1
> Microsofts SQL Server 2000
> Java SDK 1.4
> Microsofts JDBC driver
>
> I'm confused on how to configure a data connection. Should I use the ODBC
> Data Source or the Bind Connection string.

For design time(tab Design) you can use either Bind Connection string or
ODBC Data Source, as you wish. Using Bind Connection string is better.
For example:
Provider=SQLOLEDB.1;Persist Security Info=False;User ID=<login>;Initial
Catalog=<dbName>;Data Source=<server>

For runtime(tab Server) you should configure the Server connection.
JDBC Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
DataBase URL:
jdbc:microsoft:sqlserver://<server>:<port>;DatabaseName=<dbname>


> In the Java/JSP developer guide there are three ways of configuring for
> Tomcat 1.4 but this tree ways of doing it isn't descibed with examples on
> how to do it in the DB connection dialog.
>
> When using the Data Source configuration with Data extensions the Tomcat
> doesn't install the war file.
>
> When configuring with Connection string binding I got an error can't connect
> to Connection1. When using the Data Source configuration with Data
> extensions it isn't possible to add configuration as shown in Tomcat 4.1
> server.xml?
>
> Best Regards Carsten
>
>
>

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.