  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Setting up a datasource in Sun 's App Server PE 8.1 | Setting up a datasource in Sun 's App Server PE 8.1 2005-03-17 - By Pradyut Bhattacharya
Back May be using the jar file (JDBC connector) for sql server available at Microsoft.com can help
Thanks
Pradyut <http://pradyut.tk> http://pradyut.tk <http://groups.yahoo.com/group/d_dom/> http://groups.yahoo.com/group/d_dom/ <http://groups-beta.google.com/group/oop_programming> http://groups-beta.google.com/group/oop_programming India
__ __
From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] On Behalf Of Darrin Smith Sent: Thursday, March 17, 2005 10:14 PM To: J2EE-INTEREST@(protected) Subject: Re: Setting up a datasource in Sun's App Server PE 8.1
I sure thought that's what I read...if not in so many words:
http://www.gridtoday.com/04/0705/103476.html
http://investors.progress.com/phoenix.zhtml?c=86919 <http://investors.progress.com/phoenix.zhtml?c=86919&p=irol-newsArticle&ID=5 85688&highlight> &p=irol-newsArticle&ID=585688&highlight=
http://www.devx.com/Java/Article/20876/0/page/1
Funny too that the name I mentioned below (com.ddtek.jdbcx.sqlserver.SQLServerDataSource) AUTO POPULATED in the Datasource box!
Maybe this was planned at one time and taken out?
Anyway, thanks for clarifying. I'll try to dig around to find the documentation you mention.
Thanks.
Darrin
-- ---- ------ Original message from "Lance J. Andersen" <Lance.Andersen@(protected)>: -- ---- ------
> We do not bundle the Driver you listed below. > > We bundle the Sun JDBC driver and its configuration info is available in > the SJSAS 8.1 documentation > > Regards > Lance > > Darrin Smith wrote: > > >I need to set up a datasource to access a MS SQL Server database and I have > >a couple of questions. > > > >In the Sun Java System Application Server Admin Console I do this: > > > >1) Click JDBC > >2) Click Connection Pool > > > >There I add a name for my pool: Call it ss_pool for example. > > > >Then I am given a choice of "Resource Type:". This has three options: > > > >a) javax. sql.Datasource > >b) javax.sql.ConnectionPoolDatasource > >c) javax.sql.Datasouce > > > >QUESTION 1> Which one should I choose and what difference does it make? > > > >Note that I would like to use the bundled DataDirect drivers if possible.
> >I have been able to get the JTDS driver to ping, but when I try to install > >the bundled one (com.ddtek.jdbcx.sqlserver.SQLServerDataSource) I get this: > > > >An error has occurred. > >Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target
> >exception message: Class name is wrong or classpath is not set for : > >com.ddtek.jdbcx.sqlserver.SQLServerDataSource. > > > >I know that you need to place the driver's jar file in the lib directory > >(or somewhere in the classpath), but I would THINK that would have already > >been done for the bundled d river! > > > >QUESTION 2> What am I doing wrong with the DataDirect driver (all of the > >properties except the Datasource Classname are the same) given that the one > >from JTDS does ping? > > > >Thanks! > > > >===========================================================================
> >To unsubscribe, send email to listserv@(protected) and include in the body > >of the message "signoff J2EE-INTEREST". For general help, send email to > >listserv@(protected) and include in the body of the message "help". > > > > > > =========================================================================== > To unsubscribe, send email to listserv@(protected) and include in the body > of the message "signoff J2EE-INTEREST". For general help, send email to > listserv@(protected) and include in the body of the message "hel p".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1= "urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC -html40"> <!-- BEGIN WEBMAIL STATIONERY -->
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region "/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>May be using the jar file (JDBC connector) for sql server available at Microsoft.com can help<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Pradyut </span></font><font size=2 color="#5f5f5f" face=Arial><span style='font-size:10.0pt;font-family:Arial; color:#5F5F5F'><br> <a href="http://pradyut.tk"><font color="#5f5f5f"><span style='color:#5F5F5F' >http://pradyut.tk</span></font></a><br> <a href="http://groups.yahoo.com/group/d_dom/"><font color="#5f5f5f"><span style='color:#5F5F5F'>http://groups.yahoo.com/group/d_dom/</span></font></a><br> <a href="http://groups-beta.google.com/group/oop_programming"><font color="#5f5f5f"><span style='color:#5F5F5F'>http://groups-beta.google.com/group /oop_programming</span></font></a><br> </span></font><st1:country-region w:st="on"><st1:place w:st="on"><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial; color:navy'>India</span></font></st1:place></st1:country-region><font color="#5f5f5f"><span style='color:#5F5F5F'><o:p></o:p></span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:<st1:PersonName w:st="on" >J2EE-INTEREST@(protected)</st1:PersonName>] <b><span style='font-weight:bold'>On Behalf Of </span></b>Darrin Smith<br> <b><span style='font-weight:bold'>Sent:</span></b> Thursday, March 17, 2005 10:14 PM<br> <b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">J2EE -INTEREST@(protected)</st1:PersonName><br> <b><span style='font-weight:bold'>Subject:</span></b> Re: Setting up a datasource in Sun's App Server PE 8.1</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>I sure thought that's what I read...if not in so many words:<o:p></o:p></span></font>< /p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'><a href="http://www.gridtoday.com/04/0705/103476.html">http://www.gridtoday.com/04 /0705/103476.html</a><o:p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'><a href="http://investors.progress.com/phoenix.zhtml?c=86919&p=irol -newsArticle&ID=585688&highlight">http://investors.progress.com/phoenix .zhtml?c=86919&p=irol-newsArticle&ID=585688&highlight</a>=<o:p></o:p ></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'><a href="http://www.devx.com/Java/Article/20876/0/page/1">http://www.devx.com/Java /Article/20876/0/page/1</a><o:p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Funny too that the name I mentioned below (com.ddtek.jdbcx.sqlserver.SQLServerDataSource) AUTO POPULATED in the Datasource box!<o:p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Maybe this was planned at one time and taken out?<o:p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Anyway, thanks for clarifying. I'll try to dig around to find the documentation you mention.<o:p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Thanks.<o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'> <o :p></o:p></span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Darrin<o :p></o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br> <o:p></o:p></span></font></p>
<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>-- ---- ------ Original message from "Lance J. Andersen" < ;Lance.Andersen@(protected)>: -- ---- ------ <br> <br> <br> > We do not bundle the Driver you listed below. <br> > <br> > We bundle the Sun JDBC driver and its configuration info is available in <br> > the SJSAS 8.1 documentation <br> > <br> > Regards <br> > Lance <br> > <br> > Darrin Smith wrote: <br> > <br> > >I need to set up a datasource to access a MS SQL Server database and I have <br> > >a couple of questions. <br> > > <br> > >In the Sun Java System Application Server Admin Console I do this: <br> > > <br> > >1) Click JDBC <br> > >2) Click Connection Pool <br> > > <br> > >There I add a name for my pool: Call it ss_pool for example. <br> > > <br> > >Then I am given a choice of "Resource Type:". This has three options: <br> > > <br> > >a) javax. sql.Datasource <br> > >b) javax.sql.ConnectionPoolDatasource <br> > >c) javax.sql.Datasouce <br> > > <br> > >QUESTION 1> Which one should I choose and what difference does it make? <br> > > <br> > >Note that I would like to use the bundled DataDirect drivers if possible. <br> > >I have been able to get the JTDS driver to ping, but when I try to install <br> > >the bundled one (com.ddtek.jdbcx.sqlserver.SQLServerDataSource) I get this: <br> > > <br> > >An error has occurred. <br> > >Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target <br> > >exception message: Class name is wrong or classpath is not set for : <br> > >com.ddtek.jdbcx.sqlserver.SQLServerDataSource. <br> > > <br> > >I know that you need to place the driver's jar file in the lib directory <br> > >(or somewhere in the classpath), but I would THINK that would have already <br> > >been done for the bundled d river! <br> > > <br> > >QUESTION 2> What am I doing wrong with the DataDirect driver (all of the <br> > >properties except the Datasource Classname are the same) given that the one <br> > >from JTDS does ping? <br> > > <br> > >Thanks! <br> > > <br> > >=========================================================================== <br> > >To unsubscribe, send email to listserv@(protected) and include in the body <br> > >of the message "signoff J2EE-INTEREST". For general help, send email to <br> > >listserv@(protected) and include in the body of the message "help". <br> > > <br> > > <br> > <br> > =========================================================================== <br> > To unsubscribe, send email to listserv@(protected) and include in the body <br> > of the message "signoff J2EE-INTEREST". For general help, send email to <br> > listserv@(protected) and include in the body of the message "hel p". <o:p></o:p></span></font></p>
</blockquote>
</div>
<!-- END WEBMAIL STATIONERY --> </body>
</html> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |