Problem when creating connection pool for Informix
Hi all,
could you please help me to create a connection pool for informix?
I use a com.informix.jdbcx.IfxXADataSource driver and here are the properties
user=informix
password=informix
url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
dataSourceName=TestEntityPool2
portNumber=1526
databaseName=vka
ifxIFXHOST=TW010766
serverName=vka
Here is the error message :
Error during Data Source creation: weblogic.common.ResourceException: DataSource(TestEntity)
can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
Could you please tell me what's wrong with the configuration?
Many thanks in advance.
Hoang
Hoang Nguyen wrote:
For JBuilder :
URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
Driver : com.informix.jdbcx.IfxXADataSource
username : informix; password : informix
For WebLogic :
URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
Driver : com.informix.jdbcx.IfxXADataSource
Properties : password=informix
user=informixOk. The problem may have to do with your reiterating all the properties below.
url=jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
portNumber=1526
databaseName=vka
serverName=vka
ifxIFXHOST=tra019746All these above are implicit in the URL you give to jBuilder and weblogic.
Try defining the pool with only the user and password as properties.
>
>
Error:
Error during Data Source creation: weblogic.common.ResourceException:
DataSource(TestEntity)
can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
Thanks Joe
Hoang Nguyen wrote:
Joseph,
The driver that I use comes from informix.
I've tried with JBuilder and no problem. JBuilder can connect to informixand
I can see the tables from JBuilder.
There's something wrong in the configuration with Weblogic.
Many thanks for your help.I understand that there's something wrong with the configuration with
weblogic,
but the problem is due to a mistake in the input you gave to the pool
definition,
and I want to solve that. Please show me the URL, driver name and properties
you give to JBuilder to make Informix connections. Also, show me the
first few lines
that get printend out when you run the weblogic start script. I want
to see the
line that prints out the classpath used in the script for starting the
server.
thanks,
Joe
Joseph Weinstein <[email protected]> wrote:
Ok, I would like you to download Informix's driver from them, and
run one of their example programs, just to prove you can connect to
informix, using their driver, with no weblogic in the picture. We
have
to establish that, because that's all weblogic will be doing anyway.
Once
we know how to connect to informix via JDBC, we can do weblogic stuff.
Joe
Hoang Nguyen wrote:
Hi,
I forgot to mention that I'm working with Weblogic server 7 and
Informix 2000 9.20.
For the configuration, I followed the example given by Weblogic
http://edocs.bea.com/wls/docs70/jdbc/thirdparty.html#thirdparty001,
table 5.2
Here is the example given by weblogic :
user=username
url=jdbc:informix-sqli://dbserver_name_or_ip:port_num/dbname:informixserver=dbserver_name_or_ip
password=password
portNumber =port_num;
databaseName=dbname
serverName=dbserver_name
ifxIFXHOST=dbserver_name_or_ip
If you take a look at the link, you'll see a note :
"In the Properties string, there is a space between portNumber and=". I've tried
that but it seems that this bug had been resolved. When I put the
space,
I've
an number exception.
Thanks for your help.
Hoang
Joseph Weinstein <[email protected]> wrote:
Nguyen Hoang wrote:
Hi all,
could you please help me to create a connection pool for informix?
I use a com.informix.jdbcx.IfxXADataSource driver and here are
the
properties
user=informix
password=informix
url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
dataSourceName=TestEntityPool2
portNumber=1526
databaseName=vka
ifxIFXHOST=TW010766
serverName=vka
Here is the error message :
Error during Data Source creation: weblogic.common.ResourceException:DataSource(TestEntity)
can't be created with non-existent Pool (connection or multi)
(TestEntityPool2)
This means the pool was unable to make an informix connection withthe
properties
you gave. Please show me the few lines from an informix driver
example
program
that makes a successful JDBC connection to the DBMS you want, andI will
show
you how to define a pool for weblogic to do the same.
Joe
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
Could you please tell me what's wrong with the configuration?
Many thanks in advance.
Hoang
Similar Messages
-
Steps to create Connection pool for Oracle apps Adapter.
Hi All,
Could please tel me the steps to create connection pool for Oracle Apps Adapter.
Thanks,
ParkerSteps are given in section "Configuring Connection Information" in Apps Adapter User guide at below link -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
Regards,
Anuj -
Problem with creating Connection pool and JNDI, driver is not detected
Hi,
I have an issue with creating Connection Pool and JNDI.
I'm using:
- JDK 1.6
- OS: Linux(ubuntu 8.10)
- Netbeans IDE 6.5.1
- Java EE 5.0
- Apache Tomcat 6.0.18 Its lib directory contains all necessary jar files for Oracle database driver
- Oracle 11g Enterprise
My problem is that the Oracle database driver is not detected when I want to create a pool (it works pretty well and is detected without any problem when I create ordinary connection by DriverManager)
Therefore after running:
InitialContext ic = new InitialContext();
Context context = (Context)ic.lookup("java:comp/env");
DataSource dataSource = (DataSource)context.lookup("jdbc/oracle11g");
Connection connection = dataSource.getConnection();and right after dataSource.getConnection() I have the following exception:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at servlets.Servlet1.doPost(Servlet1.java:47)
at servlets.Servlet1.doGet(Servlet1.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
... 17 more
My application context file (context.xml) is:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/WebApplication3">
<Resource auth="Container"
driverClassName="oracle.jdbc.OracleDriver"
maxActive="8"
maxIdle="4"
name="jdbc/oracle11g"
username="scott"
password="tiger"
type="javax.sql.DataSource"
url="jdbc:oracle:thin:@localhost:1521:database01" />
</Context>and my web.xml is:
<resource-ref>
<description>Oracle Datasource example</description>
<res-ref-name>jdbc/oracle11g</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
...I found similar threads in different forums including sun, such as
http://forums.sun.com/thread.jspa?threadID=567630&start=0&tstart=0
http://forums.sun.com/thread.jspa?threadID=639243&tstart=0
http://forums.sun.com/thread.jspa?threadID=5312178&tstart=0
, but no solution.
As many suggest, I also tried to put context directly in the server.xml (instead of my application context) and referencing it by <ResourceLink /> inside my application context but it didn't work and instead it gave me the following message:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ' ' for connect URL 'null'
Has anyone succeeded in creating a connection pool with JNDI by using Tomcat 6 or higher ? If yes, could kindly explain about the applied method.
Regards,Hello again,
Finally I managed to run my application also with Tomcat 6.0.18. There was only two lines that had to be modified
in the context.xml file (the context of my application project and not server's)
Instead of writing
<Context antiJARLocking="true" path="/WebApplication2">
type="javax.sql.DataSource"
factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
</Context>we had to write:
<Context antiJARLocking="true" path="/WebApplication2">
type="oracle.jdbc.pool.OracleDataSource"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
</Context>- No modification was needed to be done at server level (niether server.xml nor server context.xml)
- I just added the ojdbc6.jar in $CATALINA_HOME/lib (I didn't even need to add it in WEB-INF/lib of my project)
- The servlet used to do the test was the same that I presented in my precedent post.
For those who have encountered my problem and are interested in the format of the web.xml and context.xml
with Tomcat 6.0, you can find them below:
Oracle server: Oracle 11g Enterprise
Tomcat server version: 6.0.18
Oracle driver: ojdbc.jar
IDE: Netbeans 6.5.1
The context.xml file of the web application
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/WebApplication2">
<Resource name="jdbc/oracle11g"
type="oracle.jdbc.pool.OracleDataSource"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@localhost:1521:database01"
driverClassName="oracle.jdbc.OracleDriver"
userName="scott"
password="tiger"
auth="Container"
maxActive="100"
maxIdle="30"
maxWait="10000"
logAbandoned="true"
removeAbandoned="true"
removeAbandonedTimeout="60" />
</Context>The web.xml of my web application
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<resource-ref>
<description>Oracle Database 11g DataSource</description>
<res-type>oracle.jdbc.pool.OracleDataSource</res-type>
<res-auth>Container</res-auth>
<res-ref-name>jdbc/oracle11g</res-ref-name>
</resource-ref>
<servlet>
<servlet-name>Servlet1</servlet-name>
<servlet-class>servlets.Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Servlet1</servlet-name>
<url-pattern>/Servlet1</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>Ok, now I'm happy as the original problem is completely solved
Regards -
Cant create connection Pool for MS SQL Server 2000 with Microsoft Driver
i am using bea weblogic server 6.1, i cant create connection pool while using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft website. when
i give the following class name for JDBC driver and the connection url and click
apply while selecting the available server, a number of exception appears in default
server (that is the connection pool cannot be created..... cannot load the driver
class).
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple application in Jbuilder
7.0 the application runs successfully and fetches the data deom MS SQL database
but in at Bea connection Pool is not created with these settings. i do give appropriate
username and password in properties field in connection pool. Thankx for any help!khabbab wrote:
That was the original code part from "startweblogic" :
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
echo off
and i changed it to :
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;D:\Program Files\Microsoft
SQL Server 2000 Driver for JDBC\lib\msbase.jar;D:\Program Files\Microsoft SQL
Server 2000 Driver for JDBC\lib\msutil.jar;D:\Program Files\Microsoft SQL Server
2000 Driver for JDBC\lib\mssqlserver.jar;I suggest moving or copying the three ms driver jars to a directory that has no blanks
in it so the classpath doesn't have blanks in it. Ie:
go to the "D:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib"
directory and do this:
mkdir D:\microsoft_jdbc_driver
cp *.jar D:\microsoft_jdbc_driver
Then make the classpath include D:\microsoft_jdbc_driver\msbase.jar etc.
Joe
>
>
echo off
when i save and run the bat file, server appears then disappears.
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
The class path which is echoed at server startup does not include thepaths to
driver jar files. when i edited the "startweblogic.bat" file and includedthe
driver class paths to jar files, now the server doesnot even run. tellme what
to do now???Show me what change you made to the startweblogic file.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
kindly tell me how can i check that the class paths for driver jarfiles are included
in that string? thanks. also tell me can not i use the jdriver forsql server
2000?.The startup script will echo what it's doing, including printing out
the classpath
it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
for
basic JDBC, but the MS drivfer is preferable in some ways.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
i am using bea weblogic server 6.1, i cant create connection
pool
while
using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
website.
when
i give the following class name for JDBC driver and the connectionurl and click
apply while selecting the available server, a number of exception
appears
in default
server (that is the connection pool cannot be created..... cannot
load
the driver
class).The server startup script creates a string that will become the
classpath
for the server.
This string is part of the java call to start the server with a-classpath
argument. You need to
make sure the MS driver jars are part of that classpath string.
Joe
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple applicationin Jbuilder
7.0 the application runs successfully and fetches the data deom
MS
SQL database
but in at Bea connection Pool is not created with these settings.
i
do give appropriate
username and password in properties field in connection pool.
Thankx
for any help!
khabbab wrote:
The class path which is echoed at server startup does not include thepaths to
driver jar files. when i edited the "startweblogic.bat" file and includedthe
driver class paths to jar files, now the server doesnot even run. tellme what
to do now???
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
kindly tell me how can i check that the class paths for driver jarfiles are included
in that string? thanks. also tell me can not i use the jdriver forsql server
2000?.The startup script will echo what it's doing, including printing out
the classpath
it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
for
basic JDBC, but the MS drivfer is preferable in some ways.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
i am using bea weblogic server 6.1, i cant create connection
pool
while
using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
website.
when
i give the following class name for JDBC driver and the connectionurl and click
apply while selecting the available server, a number of exception
appears
in default
server (that is the connection pool cannot be created..... cannot
load
the driver
class).The server startup script creates a string that will become the
classpath
for the server.
This string is part of the java call to start the server with a-classpath
argument. You need to
make sure the MS driver jars are part of that classpath string.
Joe
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple applicationin Jbuilder
7.0 the application runs successfully and fetches the data deom
MS
SQL database
but in at Bea connection Pool is not created with these settings.
i
do give appropriate
username and password in properties field in connection pool.
Thankx
for any help! -
Unable create Connection pool for Oracle apps Adapter.
Hi All,
We are trying to create a connection pool for Oracle Apps adapter in 11G SOA suite.
However during the process getting the following error:
An error occurred during activation of changes, please see the log for details.
A <jndi-name> is specified for the resource adapter bean in weblogic-ra.xml, however no <resourceadapter-class> element is specified in ra.xml
Can any one help us on this.
Thanks
Parker.Please refer section "Configuring Connection Information" at below link -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
Regards,
Anuj -
Problem creating connection pool for Sybase
I'm trying to create a connection pool with Sybase as the database, as follows:
weblogic.jdbc.connectionPool.demoPool=\
url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
driver=com.sybase.jdbc.SybDriver
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=dbdev;password=dbdev,\
allow=system
I get the following error:
java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
nection(..., Properties).
Any pointers on what's wrong?
RgdsHi. there's no line continuation stuff after the driver line.
Try:
weblogic.jdbc.connectionPool.demoPool=\
url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
driver=com.sybase.jdbc.SybDriver,\
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=dbdev;password=dbdev,\
allow=system
and make sure there's no whitespace in the properties file after any of
the '\'s in these lines.
Joe
Eeshan wrote:
>
I'm trying to create a connection pool with Sybase as the database, as follows:
weblogic.jdbc.connectionPool.demoPool=\
url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
driver=com.sybase.jdbc.SybDriver
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=dbdev;password=dbdev,\
allow=system
I get the following error:
java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
nection(..., Properties).
Any pointers on what's wrong?
Rgds -
Creating Connection Pool for DB2 V6.1
Hi,
I have created the Connection Pool to point to the DB2 database and has successfully
created the entity bean jar file. However,
when I encountered the following error:
The pool TestPool could not be found. Please make sure that it is declared in
your config.xml file.
The following in from my config.xml file:
<JDBCConnectionPool DriverName="COM.ibm.db2.jdbc.app.DB2Driver"
Name="TestPool"
Properties="user=mydata;server=examplesServer" URL="jdbc:db2:mydata"/>
Hope to hear from you soon. Thanks.Hi Jimmy,
You need to assign a target for your connection pool.
You may do it by going to console, selecting Target
tab on the pool and chose servers your want to run
the connection pool. If you use pre-6.1 version of
weblogic, you will need to reboot the server after you
assigned targets to it.
Regards,
Slava Imeshev
"Jimmy" <[email protected]> wrote in message
news:3c04ad6b$[email protected]..
>
Hi,
I have created the Connection Pool to point to the DB2 database and hassuccessfully
created the entity bean jar file. However,
when I encountered the following error:
The pool TestPool could not be found. Please make sure that it is declaredin
your config.xml file.
The following in from my config.xml file:
<JDBCConnectionPool DriverName="COM.ibm.db2.jdbc.app.DB2Driver"
Name="TestPool"
Properties="user=mydata;server=examplesServer" URL="jdbc:db2:mydata"/>
Hope to hear from you soon. Thanks. -
Problem when creating a tcode for maintainence view
when i'm trying to create a tcode for maintainence view of table ,i used to fields view name: here i gave the table name;
update : x
now when i activated and executed the tocde the screen is showing some abnormal values in the display..this is happening in the development server..can any one help me on this..i can send the screen shot if required..thanks in advance,,
challahi,
thank you.
i have done the same...but here i dont want to skip the intial screen...so i didnt check that box..now comes the problem ..i can see some boxes with 'x' at the end of the paarameters..give me u r mail id i can send u the screen shot..
thanks,
challa -
Problem when create connection to SQl Server ( charecter set cp1255 not found ))
Hello my name is Ron ,
i want to connect to SQL SERVER with the microsoft driver
from Java ( with jDeveloper ) .
then i did the following steps:
1) i download and install the jdbc driver for Sql server
on my machine ( windows XP with , JDK 1.3 )
2) i update my classpath with the .Jar lib file of the driver .
3) when creating the connection
i'm using the
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
this is Ok , the driver was loaded .
4) when trying the GetConnction
Connection conn = DriverManager.getConnection
("jdbc:microsoft:sqlserver://server1:1433","username","secret");
i get the following error:
[Microsoft][SQLServer 2000 Driver for JDBC]Character set CP1255 not found in com.microsoft.util.transliteration.properties.
please help me with this . any idea ?
thanks in advance
RoniRon,
Try following this document
http://otn.oracle.com/products/jdev/howtos/bc4j/bc_psqlserverwalkthrough.html
from the how-tos archive.
Also, try to change the compiler encoding to UTF-8. you do this in the project setting window.
http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/unicode.gif
http://otn.oracle.com/products/jdev/htdocs/vcmigration/weblogic/unicode2.gif
good luck -
Problem when creating receiver agreement for File to IDOC scenario
I have done the following :
1. Created two business systems one for the file system and other for the R3 system and also I created two communication channel, one as sender communication channel and one as receiver communication channel.
2. Created the receiver determination
3. Created the interface determination
4. Created the sender agrement
5. Now when I was trying to create the receiver agreement I want to assign the receiver communication channel i have created to the receiver agreement but the F4 help gives me no records and I am thus stuck at this point.
Please suggest me how to proceed forward from here.Hi ,
<i>5. Now when I was trying to create the receiver agreement I want to assign the receiver communication channel i have created to the receiver agreement but the F4 help gives me no records and I am thus stuck at this point.</i>
Make sure that your created communication channel for reciever is under the respective reciever business system and give the same while creating the reciver agrement.
sekhar -
Error Creating Connection Pool for Microsoft SQL Server
I am trying to create a connection pool that connects to a MS SQl Server but it keeps giving me an error
Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
Missing class: com.microsoft.sqlserver.jdbc.SQLServerDriver Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils Loader: oc4j:10.1.3 Code-Source: /D:/jdevstudiobase1013/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\jdevstudiobase1013\j2ee\home\oc4j.jar This load was initiated at system.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
I have added the Microsoft Jar to the D:/jdevstudiobase1013/j2ee/home/lib/ and also to D:/jdevstudiobase1013/j2ee/home/. Please any suggestion would be welcomeI am trying to create a connection pool that connects to a MS SQl Server but it keeps giving me an error
Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
Missing class: com.microsoft.sqlserver.jdbc.SQLServerDriver Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils Loader: oc4j:10.1.3 Code-Source: /D:/jdevstudiobase1013/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\jdevstudiobase1013\j2ee\home\oc4j.jar This load was initiated at system.root:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
I have added the Microsoft Jar to the D:/jdevstudiobase1013/j2ee/home/lib/ and also to D:/jdevstudiobase1013/j2ee/home/. Please any suggestion would be welcome -
Error creating connection pool for WLS6.1 for DB2 connect
Hi,
We have installed licensed copy of Weblogic 6.1 Applciation server on HPUX 11.0.
Our backend system is DB2 on Mainframe (S/390). We have installed DB2Connect
JDBC driver ver 7.1 on HPUX. While creating pool throught weblogic console with
following parameters:
Name: DB2Pool
URL:jdbc:db2:INFOSYSG
Driver Classname: COM.ibm.db2.jdbc.app.DB2Driver
Properties:
user=jargon
password=jargon
Then appropriate Target was selected.
When server was started following error was recevied on console:
"CLI0647E Error allocating DB2 environment handle, rc=db2jdbc"
Any pointers to the solution are welcome.
Regards,
Punam Chordia
Infosys Technologies Ltd, Pune
Phone: 91-20-2932000 Ext. 5650
Fax: 91-20-2932832Hi,
thank you for your answer, but i already fixed my problem.
i simply put the profile-script of the db2-instance into the start script of the
weblogic server.
i didn´t really figure out so far which variable was missing, but now it works.
unfortunately i found that this driver supports only 2 connections at the same
time when using jdk 1.3.0 :-(.
Regards,
Andreas Koch
Netfidelity Consulting GmbH
tel +49 211 6012330
fax +49 211 6012320
mail [email protected]
Joseph Weinstein <[email protected]> wrote:
If you can connect to DB2 on your own, using their
driver and their JDBC examples, then show me the code
that works, and show me the classpath and OS environment
you're running in, and I'll show you what should be
done for the server.
Andreas Koch wrote:
Hi,
unfortunately i have the same problem and found no solution so far.
you may check my start-script, but in my eyes all db/2 stuff shouldbe
found.
thanks for urgent help
Andreas Koch
NetFidelity Consulting Gmbh
[email protected]
"Slava Imeshev" <[email protected]> schrieb im Newsbeitrag
news:[email protected]...
Hi Punam,
You need to make sure that all driver's native libraries are
available to the Weblogic. Check if SQLLIB\bin is on the path
and let us know if it helps.
Regards,
Slava Imeshev
"Punam" <[email protected]> wrote in message
news:[email protected]...
Hi,
We have installed licensed copy of Weblogic 6.1 Applciation server
on
HPUX
11.0.
Our backend system is DB2 on Mainframe (S/390). We have installedDB2Connect
JDBC driver ver 7.1 on HPUX. While creating pool throught weblogic
console
with
following parameters:
Name: DB2Pool
URL:jdbc:db2:INFOSYSG
Driver Classname: COM.ibm.db2.jdbc.app.DB2Driver
Properties:
user=jargon
password=jargon
Then appropriate Target was selected.
When server was started following error was recevied on console:
"CLI0647E Error allocating DB2 environment handle, rc=db2jdbc"
Any pointers to the solution are welcome.
Regards,
Punam Chordia
Infosys Technologies Ltd, Pune
Phone: 91-20-2932000 Ext. 5650
Fax: 91-20-2932832
Name: startWebLogic.sh
startWebLogic.sh Type: Kornshell Script File (application/x-unknown-content-type-mks_shell)
Encoding: x-uuencode -
Error Message while creating connection pool
Hi all,
I got the following error message while creating connection pool for the
SQL Server thru the Application Server Admin Console.
The message is,
An error has occured.
Operation 'create.Jdbc.ConnectionPool' failed in 'resources' Config Mbean. Target exception message :
JdbcConnectionPool Already Exists: cannot add duplicate.
But the connection pool for the SQL Server was not there in the list.
What may be the possible reason for this error.
i was trying to deploy a BMP entiy bean using the Sun Application Server.
Prior deploying i just tried to create connection pool and test the connection using the Admin Console
Please help me by providing a solution.Kriti Sundar Mazumder wrote:
Hi
I am getting an following error message, while creating database connection pool
in weblogic 7.
"<Jun 18, 2004 4:52:36 AM CDT> <Error> <JDBC> <001060> <Cannot startup connection
pool "MyJDBCConnectionPool" java.sql.SQLException: [IBM][JDBC Driver] CLI0647E
Error allocating DB2 environment handle, rc=-1.>"
Can anyone help me out in this regard
Regards
KritiHi. I am no expert, but it sounds like a problem with the privileges the user
has... The best thing is to step back to a simpler environment. Can you try
connecting to DB2 with a simple program like utils.dbping? Please look at our
driver docs for the DB2 driver, because there are several variations in connect
properties depending on the type of DB2 you are connecting to...
Joe -
Website structure causing problems when creating livecopy based on a blueprint
Hi,
Our website structure goes like this:
company/
products/
services/
contact us/
etc...
Our site is single language and hence the structure. Now we have a problem when creating a livecopy (for mobile site) based on a blueprint.
It seems that for the livecopy (based on a blueprint) to work, the site structure needs to be like this:
company/
en/
products/
etc...
It's too late for us to include another layer. What's the best way to create a livecopy based on a blueprint? Or should we just go with livecopy without the blueprint? But then are we missing out on the sync benefit from the blueprint?
Thanks!!Hi Chaack,
Thanks for this idea. I have tried this before but couldn't get the livecopy to sync.
I tried to do it through the blueprint by right click and select 'rollout'. But nothing happens. The 'blueprint' tab on the page properties on the livecopy site is grayed out. I think the blueprint I created is not associated with the livecopy and that's why the rollout does not work. If the livecopy was created through 'Create site' then the blueprint is available to choose on step1. But not when you 'create live copy'. Is there anyway to link the blueprint to the livecopy if the livecopy was created through 'create live copy'?
Thanks!!! -
Problem creating a connection pool for mssql server
Hi
i downloaded the microsoft type 4 driver for JDBC and i have installed it. now i am trying to create a connection pool for MS Sql server but each time i ping i keep getting an error telling me
Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
please can someone help out on this
IfeanyichukwuI assume that you installed the driver correctly. You did go into the app sever admin and set the JVM path? You do this by going to Application Server | JVM Settings | Path Settings and putting in an entry for Classpath Prefix.
If that is done and it's not something basic like your database isn't turned on, then it must be your settings. To to Sun's site and search for dbping. http://developers.sun.com/prodtech/appserver/utilities/dbping/dbping_overview.html
Deploy this program and run it. It is a very simple tool that lets you test different property settings. Play around with different settings until you get a ping.
If that doesn't work post your connect pool settings.
Good luck
Mike
Maybe you are looking for
-
How do I access my Apps in iTunes on my computer
I'm trying to access my apps on iTunes from my computer but it will only stay on my music won't let me go no were else but to the iTunes store
-
SQL Server Management Studio or DB13?
Hi all, I would like to know if there are some best practices for maintaining a SAP System on SQL Server 2008 R2 Enterprise Edition 64bit. I am interested in administrative tasks like backup db, backup t-log, checkdb, reindex, alerting, notifications
-
apps icon shows updates when i go there the update all icon is not highlighted if you go to any of the UPDATE box's you are directed to the application????
-
Problems with event import on iMovie 10.0.3
My complete movie libraries works fine with iMovie 9.0.9. There are no other malfunctions. The filessystem is clean. After upgrading to iMovie 10.0.3 the initial startup event and project update process fails on serveral older events and I have probl
-
Problem with binding in rich:tabPanel
I have the problem with binding in rich component. In the first request the tabPanel work fine, but in the second request the component is not displayed. When i remove binding="#{organizationController.tabPanel}" everything works well. Anybody can he