Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
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
Reply:     1     2     3     4  

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>&nbsp;</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>&nbsp;</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>&nbsp;</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'>&nbsp;<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'>&nbsp;<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&amp;p=irol
-newsArticle&amp;ID=585688&amp;highlight">http://investors.progress.com/phoenix
.zhtml?c=86919&amp;p=irol-newsArticle&amp;ID=585688&amp;highlight</a>=<o:p></o:p
></span></font></p>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>&nbsp;<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'>&nbsp;<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&nbsp;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'>&nbsp;<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'>&nbsp;<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.&nbsp; 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'>&nbsp;<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'>&nbsp;<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>
&nbsp;<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 &quot;Lance J. Andersen&quot; &lt
;Lance.Andersen@(protected)&gt;:
-- ---- ------ <br>
<br>
<br>
&gt; We do not bundle the Driver you listed below. <br>
&gt; <br>
&gt; We bundle the Sun JDBC driver and its configuration info is available in
<br>
&gt; the SJSAS 8.1 documentation <br>
&gt; <br>
&gt; Regards <br>
&gt; Lance <br>
&gt; <br>
&gt; Darrin Smith wrote: <br>
&gt; <br>
&gt; &gt;I need to set up a datasource to access a MS SQL Server database and I
have <br>
&gt; &gt;a couple of questions. <br>
&gt; &gt; <br>
&gt; &gt;In the Sun Java System Application Server Admin Console I do this: <br>
&gt; &gt; <br>
&gt; &gt;1) Click JDBC <br>
&gt; &gt;2) Click Connection Pool <br>
&gt; &gt; <br>
&gt; &gt;There I add a name for my pool: Call it ss_pool for example. <br>
&gt; &gt; <br>
&gt; &gt;Then I am given a choice of &quot;Resource Type:&quot;. This has three
options: <br>
&gt; &gt; <br>
&gt; &gt;a) javax. sql.Datasource <br>
&gt; &gt;b) javax.sql.ConnectionPoolDatasource <br>
&gt; &gt;c) javax.sql.Datasouce <br>
&gt; &gt; <br>
&gt; &gt;QUESTION 1&gt; Which one should I choose and what difference does it
make? <br>
&gt; &gt; <br>
&gt; &gt;Note that I would like to use the bundled DataDirect drivers if
possible. <br>
&gt; &gt;I have been able to get the JTDS driver to ping, but when I try to
install <br>
&gt; &gt;the bundled one (com.ddtek.jdbcx.sqlserver.SQLServerDataSource) I get
this: <br>
&gt; &gt; <br>
&gt; &gt;An error has occurred. <br>
&gt; &gt;Operation 'pingConnectionPool' failed in 'resources' Config Mbean.
Target <br>
&gt; &gt;exception message: Class name is wrong or classpath is not set for :
<br>
&gt; &gt;com.ddtek.jdbcx.sqlserver.SQLServerDataSource. <br>
&gt; &gt; <br>
&gt; &gt;I know that you need to place the driver's jar file in the lib
directory <br>
&gt; &gt;(or somewhere in the classpath), but I would THINK that would have
already <br>
&gt; &gt;been done for the bundled d river! <br>
&gt; &gt; <br>
&gt; &gt;QUESTION 2&gt; What am I doing wrong with the DataDirect driver (all
of the <br>
&gt; &gt;properties except the Datasource Classname are the same) given that
the one <br>
&gt; &gt;from JTDS does ping? <br>
&gt; &gt; <br>
&gt; &gt;Thanks! <br>
&gt; &gt; <br>
&gt;
&gt;===========================================================================
<br>
&gt; &gt;To unsubscribe, send email to listserv@(protected) and include in the
body <br>
&gt; &gt;of the message &quot;signoff J2EE-INTEREST&quot;. For general help,
send email to <br>
&gt; &gt;listserv@(protected) and include in the body of the message
&quot;help&quot;. <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; <br>
&gt; ===========================================================================
<br>
&gt; To unsubscribe, send email to listserv@(protected) and include in the
body <br>
&gt; of the message &quot;signoff J2EE-INTEREST&quot;. For general help, send
email to <br>
&gt; listserv@(protected) and include in the body of the message &quot;hel
p&quot;. <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>

©2008 junlu.com - Jax Systems, LLC, U.S.A.