Pooled connections management
Hi,
I am using the api which can found in oracle.jdbc.pool.* (OracleDataSource,OracleConnectionPooledDataSource) and connection caching.
From the documentation, I understands that we can create a number (say conn1, conn2, conn3 - each getConnection request was done sequentially) of pooled connections for one physical connections. When the program that uses conn1 releases conn1, does conn2 will be automatically be able to presume its operation as though it was put into an execution queue.
Regards.
Hi Friends,
I configured the 'PAM' in my company, but save the note appears an error in abap, Could you please help me?
Follows step by step the held configuration, where the dump was presented.
Notification Types ->
Define Notification Types:
Copy standard M1, create MF notification – Pool resquest
Overview of Notification Type -> Screen Areas in Notification Header:
Screen type hdr: H100
Scrn type object: O100
Screen Structure for Ext View:
10\TAB01 (screen area) 850, 065
10\TAB23 (screen area) 850 (Pool Asset)
Priority Type: PM
Transaction CL01 – Create class
Class: ClassPam
Type Class: PAM
Pool Asset Management
Basic Settings for Pool Asset Management:
New Entries
Application: Pool Asset Management
Reservation TXT: Test
Class Type: PAM
Class: Classpam
Edit Object Processing
New Entries
Application: Pool Asset Management
Actv.Entry: flag
typ: MF
Transaction PAM01 – Create pool test
PAM Pool: 01
Category: T
Description: Pam Test
Fac.Calendar ID: none
Holiday cal. ID: none
Functional Loc: Enterprise
Test:
Transaction IW21
Notification type: MF
fill the required fields (ex: Text, PAM Pool and Maintain account assignment)
Clicking save, dump is reported.
Similar Messages
-
Hi,
I'm not able to access the term store. I get an below mentioned error.
"The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator. "
Since this is happening on my local machine (Dev environment). I have full control on the term store and the all the site collections.
Hence, this is not a permission issue.
I have checked, the Metadata service is active on the machine. All the application pools in IIS is running.
After reading one of the recommendation on internet, I created a new Managed Metadata Service.
After which I was able access both (old and new) MMS from Central Admin only (highlight the MMS from manage service applications and click Manage ) and not from the site collection (term store management).
Now again its not working after I did an IISRESET.
The managed metadata service (Managed Metadata Service Connection) is grayed out.
ULS Error says:
Failed to create ManageLink for service proxy 'Managed Metadata Service'. Exception: System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout
value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/7a91ec90b46843e995c144be48d804f0/MetadataWebService.svc' has exceeded the allotted
timeout of 00:00:09.9990000. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
Please let me know if you need more information.Hi Victoria,
Thanks for your reply
I tried making all the changes you had recommended and which are mentioned in the link you have provided.
I tried making all possible combination of changes to the web.config and client.config files but it does not make any difference to the environment.
One thing is that, my error in ULS logs has changed.
Error 1:
Exception returned from back end service. System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted
to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/b1640facdf8b49b0886fea1bd37b8eb3/MetadataWebService.svc' has exceeded the allotted timeout of 00:00:09.9990000. The time
allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() --- End of inner exception stack trace ---
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2f.<ReadApplicationSettings>b__2e(IMetadataWebServiceApplication serviceApplication)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b()
Error 2:
Error encountered in background cache check System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time
allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://mitkar4:32843/b1640facdf8b49b0886fea1bd37b8eb3/MetadataWebService.svc' has exceeded the allotted timeout of 00:00:09.9990000.
The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() --- End of inner exception stack trace ---
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication.GetServiceSettings(Guid rawPartitionId)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2f.<ReadApplicationSettings>b__2e(IMetadataWebServiceApplication serviceApplication)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2b()
at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.<>c__DisplayClass2c.<RunOnChannel>b__2a()
at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.RunOnChannel(CodeToRun codeToRun, Double operationTimeoutFactor)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.ReadApplicationSettings(Guid rawPartitionId)
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.get_ServiceApplicationSettings()
at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplicationProxy.TimeToCheckForUpdates()
at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.CheckForChanges()
at Microsoft.SharePoint.Taxonomy.Internal.TaxonomyCache.<LoopForChanges>b__0(). -
NET8 CONNECTION MANAGER 설치와 설정방법
제품 : SQL*NET
작성날짜 : 2003-01-15
NET8 CONNECTION MANAGER 설치와 설정방법
=======================================
Purpose
Oracle Connection Manager(v3.0.x)의 설치와 설정 방법을
알아 보고 시작시켜 봅니다.
V3.0.x은 Oracle8 Enterprise Edition에 같이 들어 있으며
Oracle8의 일부는 아닙니다.
1. 설치 방법
2. 설정 방법
3. 시작 하기 (Windows NT)
Explanation
1. 설치 방법
다음 세가지의 실행 파일이 설치 됩니다.
CMGW, CMADMIN, CMCTL (Unix 와 VMS)
CMGW80, CMADM80, CMCTL80(desktop Oracle8에서)
CMGW, CMADMIN, CMCTL(desktop Oracle8i에서)
CMGW/CMGW80
이 것은 Connection Manager의 hub와 같은 역할을 하는
gateway process입니다.
CMGW의 기능은 다음과 같습니다.
- CMADMIN를 등록합니다.
- SQL*Net 2.x와 NET 8.x에서 오는 접속 요청에 대해 대기합니다.
기본적으로 1610 port를 사용합니다.
- NET 8.x listeners에 접속 요청을 발생 시킵니다.
- client와 server사이의 data를 전달합니다.
- CMCTL/CMCTL80에 의해 발생되는 요청에 응답합니다.
CMADMIN/CMADM80
Connection Manager의 모든 관리적인 문제들을 처리하는 multi-threaded
process입니다.
SQL*Net 2.x 와 NET 8.x clients들을 위해
Oracle Names Server에 있는 주소정보를 유지하는 기능을 합니다.
- CMGW/CMGW80 등록 작업을 합니다.
- local Oracle Names Server를 찾습니다.
- 하나이상의 db instance를 서비스하는 모든 listener들을 관리합니다.
- CMGW/CMGW80 와 listener에 대한 주소 정보를 등록합니다.
- 네트워크와 Names Server의 수정된 정보를 감시합니다.
- CMCTL/CMCTL80의 요청에 응답합니다.
CMGW, CMADMIN/CMGW80, 와 CMADM80 의 서로간의 정보전달은 IPC를 통해
이루어 집니다.
CMAN은 주기적으로 Names Server의 바뀐 정보를 cache에 반영합니다.
CMCTL/CMCTL80
CMADM/CMADM80 와 CMGW/CMGW80 를 관리하는 일을 합니다.
현재 제공되는 명령은 start, stop, status, 그리고 version 입니다.
CMCTL START [CMAN | CM | ADM]
이 명령은 Connection Manager 또는 그 구성요소를 시작 시킵니다.
- 인자가 없는 경우 또는 CMAN을 준 경우는 gateway 와
administration process를 시작시킵니다.
- CM 을 주면 gateway process 만 시작됩니다.
- ADM 을 주면 administration process 만 시작됩니다.
CMCTL STOP [CM]
Connection Manager process들을 중지 시킵니다.
- 인자가 없는 경우 또는 CM 을 준 경우 gateway 와
administration process 모두를 중지시킵니다.
gateway process가 중단될 경우 administration process는 자동으로
중단됩니다.
현재 진행중인 접속이 있는 경우 CMAN 는 중지될 수 없습니다.
CMCTL STATUS [CMAN | CM | ADM]
이 명령은 Connection Manager의 요소들의 상태를 보여줍니다.
- 인자가 없거나 CMAN이나 CM일 경우 gateway process의 상태를 보여 줍니다.
- ADM은 administration process의 상태를 보여 줍니다.
CMCTL VERSION
이 명령은 control utility의 버젼을 보여 줍니다.
CMGW/CMGW80 와 CMADM/CMADM80의 버젼은 status명령으로 볼 수 있습니다.
2. 설정 방법
client들은 tnsnames.ora 이나 Oracle Names Server 가 필요합니다.
Connection Manager는 cman.ora 가 필요하며 server는 init.ora에 MTS설정이
필요합니다.
client설정
tnsnames.ora파일의 예 입니다.
EXAMPLE=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=SERVER.US.ORACLE.COM)
(PORT=1521)
(CONNECT_DATA=
(SID=ORCL)
하나의 protocol로 Connection Manager를 사용하는 tnsnames.ora파일 예입니다.
EXAMPLE_CMAN=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=CMAN.US.ORACLE.COM)
(PORT=1610)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=SERVER.US.ORACLE.COM)
(PORT=1521)
(CONNECT_DATA=
(SID=ORCL)
(SOURCE_ROUTE=YES)
ADDRESS_LIST가 path입니다.
첫번째 주소가 CMAN에 접속하는 정보이고, 두번째 주소가 서버에
접속할때 CMAN에 의해 사용되는 주소입니다.
필요하다면 ADDRESS_LIST 안에 여러개의 CMAN 의 주소를 설정할
수 있습니다. CMAN은 기본적으로 라우터처럼 동작합니다.
접속 요청을 다음 hop으로 지정합니다.
여러개의 protocol로 Connection Manager를 사용하는
tnsnames.ora파일 예입니다.
EXAMPLE_CMAN=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=SPX)
(SERVICE=CMAN)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=SERVER.US.ORACLE.COM)
(PORT=1521)
(CONNECT_DATA=
(SID=ORCL)
(SOURCE_ROUTE=YES)
위의 예에서 CMAN에 접속하기 위해서 client는 SPX를 사용하고
server에 접속하기 위해서 CMAN은 TCP/IP를 사용하게 됩니다.
Oracle7에서 소개된 Oracle Multi-Protocol Interchange (MPI)과
같은 기능을 합니다.
만일 서버까지 가는데 한개 이상의 router가 있는 경우
SQL*Net 2.3에서 소개된 DESCRIPTION_LIST를 사용할 수 있습니다.
다음은 DESCRIPTION_LIST를 사용한 tnsnames.ora 파일의 예 입니다.
EXAMPLE_ROUTES=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=CMAN1.US.ORACLE.COM)
(PORT=1610)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=SERVER.US.ORACLE.COM)
(PORT=1521)
(CONNECT_DATA=
(SID=ORCL)
(SOURCE_ROUTE=YES)
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=CMAN2.US.ORACLE.COM)
(PORT=1610)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=SERVER.US.ORACLE.COM)
(PORT=1521)
(CONNECT_DATA=
(SID=ORCL)
(SOURCE_ROUTE=YES)
만일 Oracle Names Server를 사용하면 Connection Manager는 자동으로
CMAN을 위한 주소를 Names Server에 있는 기존의 주소에 추가하게 됩니다.
SQLNET.ORA파일에 다음과 같은 parater를 설정할 수 있습니다.
USE_CMAN = [TRUE | FALSE]
- TRUE 라고 설정하면 CMAN이 무작위로 뽑은 간접적인 경로를 이용해
client를 접속시킵니다. ( 적어도 하나의 CMAN address가 있는
address list)
- TRUE 그리고 description에 간접 경로가 없는 경우에는 무작위로 뽑은
경로가 사용됩니다.
- FALSE 이거나 설정이 안된 경우 무작위로 뽑힌 경로가 사용됩니다.
Connection Manager 설정
CMAN 은 한개의 파일(CMAN.ORA)로 설정된다.
CMAN.ORA 파일은 다음 세개의 부분으로 구성된다.
1) CMAN - Connection Manager를 위한 listening주소를 포함한다.
2) CMAN_PROFILE - CMAN 설정 parameter들을 포함한다.
3) CMAN_RULES - 접속 요청에 대한 필터링에 관련된 규칙을 포함한다.
CMAN=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=SPX)
(SERVICE=CMAN)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=CMAN.US.ORACLE.COM)
(PORT=1610)
이 CMAN의 예에서는 SPX 와 TCP/IP 두개의 주소에서 listening하고 있습니다.
CMAN 은 CMAN이 실행되는 장비에서 oracle이 지원하는 모든 protocol에 대해
listen할 수 있습니다.
CMAN_PROFILE=
(PARAMETER_LIST=
(MAXIMUM_RELAYS=64)
(LOG_LEVEL=0)
(TRACING=YES)
(RELAY_STATISTICS=YES)
(SHOW_TNS_INFO=NO)
(USE_ASYNC_CALL=YES)
(AUTHENTICATION_LEVEL=0)
각 parameter들에 대한 정의 :
MAXIMUM_RELAYS = n
- 허용되는 최대 동시 접속수
- 기본값 8
- 최대값 1024
LOG_LEVEL = n
- CMAN에 의해 수행되는 logging의 level설정
- 기본값 0 ( logging이 안됨 )
- 0에서부터 4까지의 값을 설정할 수 있음
TRACING = [YES | NO]
- YES로 설정하면 CMAN은 파일에 tracing을 한다.
- 기본값 NO
주의: trace파일을 읽기위새허는 Oracle Trace를 사용하면 됩니다.
RELAY_STATISTICS = [YES | NO]
- YES는 I/O활동에 대한 통계정보를 저장하게 합니다.
예를 들어 :
- IN bytes 수
- OUT bytes 수
- IN packets 수
- OUT packets 수
- 기본값 NO
SHOW_TNS_INFO = [YES | NO]
- Yes로 설정하면 log 파일에 TNS events를 포함하게 합니다.
- 기본값 NO
USE_ASYNC_CALL = [YES | NO]
- YES로 설정하면 CMAN 접속을 실행하고 받아들이고 대답하는 과정에서
모든 비동기적인 기능을 사용할 수 있게 합니다.
- 기본값 NO
주의: CMAN은 out-of-band breaks를 지원합니다.
CMAN은 그것을 서버로 전달합니다.
AUTHENTICATION_LEVEL = [0 | 1]
- 1로 설정하게 되면 CMAN은 Secure Network Services를 사용하지 않은
접속 요청은 거절하게 됩니다
Secure Network Services은 Advanced Networking Option의 일부입니다.
- 기본값은 0 입니다.
즉 Secure Network Services가 필요없다는 뜻입니다.
CMAN_RULES=
(RULE_LIST=
(RULE=
(SRC = shost)
(DST = dhost)
(SRV = services)
(ACT = accept | reject)
CMAN_RULES에 정의된 parameter들:
- shost 는 client에서 session을 요청한 source hostname 이거나
IP address입니다.
- dhost 는 서버쪽의 hostname 이거나 IP address 입니다.
- services 는 SID 이름입니다.
- ACT: 위 세개의 parameter들의 값을 근거로한 들어오는 접속요청에
대한 승인이나 거절입니다.
주의: wild-card는 'x'입니다. IP address (d.d.d.d)인 경우에
각 'd'는 wild-card character인 'x'로 교체될 수 있습니다.
RULE_LIST내에 여러 RULE들이 정의될 수 있습니다.
여러 rule들 중에 처음에 맞는 rule이 그 요청에 적용됩니다.
CMAN_RULES이 존재하는 경우 Connection Manager는 규칙에 허용되지 않은
것들은 모두 허락되지 않게 합니다.
만일 CMAN_RULES이 정의되지 않았다면 모든것이 허용됩니다.
Connection Manager의 제한
만일 connection path에 사용된 Connection Manager가 한개 이상이라면 (1개
이상의 hop이라면), tnsnames.ora를 직접 설정해야 하며 Oracle Names Server
를 사용할 수 없습니다.
TCP/IP network에서만 Connection Manager는 접근 통제(CMAN_RULES)를 할 수
있습니다.
Oracle Multi-Protocol Interchange (MPI) 과의 호환성
client와 server사이에 단 하나의 MPI만 있다면, MPI를
Connection Manager로 교체하십시요.
client와 server사이에 여러개의 MPI가 있다면,
tnsnames.ora를 수정해서 MPI들을 Connection Manager들로
교체하십시요.
SQL*Net V2.x client와의 호환성
Connection Manager를 SQL*Net 2.x clients과 Oracle 8사이의
중심이나 접속 필터로 사용하기 위해서는 다음과 같은 일을
해야 합니다.
1) Connection Manager를 설치하고 설정합니다..
2) SQL*Net v2.x client들을 Connection Manager를 MPI처럼 사용
하도록 설정 합니다.
Server 설정
===========
NET8의 새로운 기능을 이용하기 위해서는 Connection Manager를 설정
해야 하며 서버를 Multi-Threaded Server (MTS)로 설정해야 합니다.
MTS parameter들은 각 instance의 INIT.ORA파일에 설정합니다.
NET8 MTS를 위한 parameter들은 SQL*Net 2과 다르지 않습니다.
다음 Connection Pooling 과 Multiplexing 기능을 사용할때
MTS_DISPATCHERS parameter의 경우만 제외하면 말입니다.
MTS_DISPATCHERS parameter:
MTS_DISPATCHERS ="(PROTOCOL=TCP)(POOL=NO)(MULT=ON)"
이 예에서 TCP/IP를 위해 dispatcher들을 설정하고 Connection Pooling
기능을 사용하지 못하게 하고, Multiplexing를 가능하게 합니다.
만일 Connection Pooling 과 Multiplexing 를 사용하지 않을 거라면
SQL*Net 2.x용으로 정의된 MTS parameter들을 사용하실 수 있습니다.
좀더 자세한 내용은 MTS관련 문서를 참조 하시기 바랍니다.
Connection Manager를 사용하는 경우, INIT.ORA에 새로운 parameter를
설정해야 합니다. Connection Manager는 한개 이상의 physical connection
을 만들기 때문에 instance의 dispatcher가 허용할 client sessions의 최대값을
알아야 합니다. SESSIONS라는 parameter가 이 값을 설정합니다.
이 값은 'LSNRCTL SERVICES' 명령으로 볼 수 있습니다.
3. 시작 하기 (Windows NT)
Oracle Names server 환경에서 :
- command line utility 사용하기
1. 작업 표시줄에서 시작->실행
열기: x:\CMCTL80.exe (8i에서는 CMCTL.exe)
OK<click>
2. CMCTL> start CMAN <enter>
- Windows NT 제어판 사용하기
1. 제어판>SERVICES <double click>
2. 다음을 찾아 시작 시킵니다.
(주의: 순서대로 시작시켜야 합니다.)
OracleCMAdminService80 <click start>
OracleCMANService80 <click start>
NON-Oracle Names server 환경에서 :
- command line utility 사용하기
1. 작업 표시줄에서 시작->실행
열기: x:\CMCTL80.exe (8i에서는 CMCTL.exe)
OK<click>
2. CMCTL> start CM <enter>
- Windows NT 제어판 사용하기
1. 제어판>SERVICES <double click>
2. 다음을 찾아 시작 시킵니다.
(주의: 순서대로 시작시켜야 합니다.)
OracleCMANService80 <click start>
Reference Ducumment
---------------------Hi
You must install the Connection Manager, available on the Oracle8 distribution media, onto the Web server host. You can find the installation instructions in the Net8 Administrator's Guide.
On the Web server host, create a CMAN.ORA file in the [ORACLE_HOME]/NET8/ADMIN directory. The options you can declare in a CMAN.ORA file include firewall and connection pooling support
Here is an example of a very simple CMAN.ORA file. Replace <web-server-host> with the name of your Web server host. The fourth line in the file indicates that the connection manager is listening on port 1610. You must use this port number in your connect string for JDBC.
cman = (ADDRESS_LIST =
(ADDRESS = (PROTOCOL=TCP)
(HOST=<web-server-host>)
(PORT=1610)))
cman_profile = (parameter_list =
(MAXIMUM_RELAYS=512)
(LOG_LEVEL=1)
(TRACING=YES)
(RELAY_STATISTICS=YES)
(SHOW_TNS_INFO=YES)
(USE_ASYNC_CALL=YES)
(AUTHENTICATION_LEVEL=0)
Ariel G. -
Could not create pool connection.The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correct userid,password
and HostString using OracleClient, I couldnt able to do with connectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connection pool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logon denied - (Obj
ectel/********@ora8i)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Poller started
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "examplesServer" for domain "examples" running in Development Mode>URL=jdbc:weblogic:oracle:oracle8i(server)
Driver Classname=weblogic.jdbc.oci.Driver
AClname=weblogic.jdbc.connectionPool.oraclePool
intialcapacity=1
MaximumCapacity=10
Capacity Increment=2
Login Delay Seconds=1sec
Refresh Period=15 Minutes
Supports Local Transaction=No
Allow Shrinking=No
Shrink Period=15
Prepared Statement Cache Size=10
TargetServer=ExamplesServer
Properties
user=Objectel
password=superman
Test table=yes
Test Reserved Connections=yes
Test Released Connections=Yes
I could able to connect to oracledataBase if I use
user=scott
password=tiger
with any other database user Iam getting the following error
Could not create pool connection. The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
"Neo Gigs" <[email protected]> wrote:
By end of the error you shown:
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode>
You are running the Examples application shipped with WLS, which I guest
the
correct DB to connect with is Cloudscape yet to Oracle, unless you make
changes to the original ConnectionPool in the examples. Anyhow, please
show
us your configuration of the ConnectionPool used when this error pops.
"Raj" <[email protected]> wrote in message
news:[email protected]...
Could not create pool connection.The DBMS driver exceptionwas:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correctuserid,password
and HostString using OracleClient, I couldnt able to do withconnectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogicAdmin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connectionpool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logondenied - (Obj
ectel/********@ora8i)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Pollerstarted
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discoveryof
Manag
ed Server... This feature is on by default, you may turn this off bypassing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode> -
Connection Management Error in Biller Direct Application
Hi Experts,
We are in the process of implementing Biller Direct Solution for the Suppliers/Vendor!
All the XCM Settings , Backend Settings , Portal Settings have been in place and we were able to run the application without any difficulties but all of a sudden now , when we run the Biller Direct Application , an error appears which says "Error" (Thats it) .
In NWA , i get the below errors but not sure what can be the issue or how can i resolve it. I am sure it relates to Connection Management Pool but not sure what settings does it requires.
Errors in NWA:
1) The Standard Pool Connection BillerDirect_#bd" for language "EN" could not be created. There is an existing connection with this name.
2) Recurring Error in the initialization of the application "ConnectionManager.initdefaultpool failed
3) Could not create Connection Manager Scenario-Biller Direct
4) Java Exception "java.lang.NullPointerException has occurred". Check the trace for location "com.sap.fin.webbase.taglib.LogExceptionTag"
Much appreciate the Prompt Responses , Thanks!
Just to highlight , I have reverted all my code modifications and now have deployed the original .sca , Still have the same Errorhi,
Check your XCM connection settings...Goto your custom xcm configuration page and check if pool details are mentioned properly.
Also, check this link for help - http://scn.sap.com/thread/1881735
cheers,
sen -
Could not create pool connection
After running the server, when I am continously firing queries on the server. The server is giving this error for some of the queries. But it is working for other cases. Any idea why this error is coming?
database : informix
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8881, ip address 23.248.10.15>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <Cluster> <BEA-000102> <Joining cluster GREFCluster on 237.0.0.1:7001>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "grefMaintManaged2" for domain "gref203" running in Production Mode>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jul 12, 2005 9:45:55 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 9:45:56 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: Message text will be provided in later releases java.lang.NullPointerException>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>Hi Anish. Very odd. What versio of weblogic are you running, and what Informix
driver are you using?
Joe
Anish Mathur wrote:
After running the server, when I am continously firing queries on the server. The server is giving this error for some of the queries. But it is working for other cases. Any idea why this error is coming?
database : informix
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8881, ip address 23.248.10.15>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <Cluster> <BEA-000102> <Joining cluster GREFCluster on 237.0.0.1:7001>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "grefMaintManaged2" for domain "gref203" running in Production Mode>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jul 12, 2005 9:45:55 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 9:45:56 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: Message text will be provided in later releases java.lang.NullPointerException>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19> -
Hi, I get a java.lang.StringIndexOutOfBoundsException when making a JDBC
pool connection via the console of WLS 7.0. I use SQL Server 2000 in Win2K
SP2 environment. Exactly the same configuration works perfectly in WinXP
Pro. Can anyone advise me what might cause this problem? Thanks a lot.
Log message
####<May 13, 2002 5:15:52 PM CEST> <Error> <JDBC> <abcdefgh> <vtsserver>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001060> <Cannot startup connection pool
"ejbTestConnectionPool" java.lang.StringIndexOutOfBoundsException: String
index out of range: -1>
Exception
java.lang.NullPointerException
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
53)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
56)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException - with nested exception:
[weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]]
at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:190)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Current Date
Mon May 13 17:15:52 CEST 2002
Console Release Build
null
Console Build
null
Server Release Build
7.0.0.0
Server Build
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
All Server Product Versions
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
WebLogic XMLX Module 7.0 Thu Apr 25 17:26:07 PDT 2002 180709
Request Info
Protocol: HTTP/1.1
ServerName: localhost
ServerPort: 7001
Secure: false
ContextPath: /console
ServletPath: /common/error.jsp
QueryString:
MBean=vtsdomain%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPool
PathInfo: null
PathTranslated: null
RequestURI: /console/common/error.jsp
AuthType: null
ContentType: application/x-www-form-urlencoded
CharacterEncoding: null
Locale: en_US
Method: POST
Session:
weblogic.servlet.internal.session.MemorySessionData@1926bd
RequestedSessionId:
8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37849198!1021299872710
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: vts
RemoteUser: vts
RemoteAddr: 127.0.0.1
RemoteHost: 127.0.0.1
Parameters
MBean = vtsdomain:Name=ejbTestConnectionPool,Type=JDBCConnectionPool
chosen_wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.
Targets-Server = vtsdomain:Name=vtsserver,Type=Server
weblogic.console.submit_form = dataposted
wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.Targets
-Server = vtsdomain:Name=vtsserver,Type=Server
Attributes
wlinternalaction =
weblogic.management.console.actions.internal.InternalActionContext@4372d8
java.util.Locale = en_US weblogic.management.console.catalog.Catalog =
weblogic.management.console.catalog.XmlCatalog@3ca759
weblogic.management.console.helpers.BrowserHelper = User-Agent: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) IE: true Netscape:
false Supported: true JavscriptHrefs: false TableCellClick: true
DocumentReloadedOnResize: false DropdownStretchable: true CellSpacingBlank:
false EmptyCellBlank: false ImgOnclickSupported: true TableBorderFancy: true
PartialToWideTables: false DisabledControlSupported: true
weblogic.management.console.helpers.DebugHelper =
weblogic.management.console.helpers.DebugHelper@16ed83
weblogic.management.console.helpers.UnitsHelper =
weblogic.management.console.helpers.UnitsHelper@ae2d9
weblogic.management.console.helpers.UrlHelper =
weblogic.management.console.helpers.UrlHelper@28fd41
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
*/* Accept-Encoding = gzip, deflate Accept-Language = en-us Cache-Control =
no-cache Connection = Keep-Alive Content-Length = 304 Content-Type =
application/x-www-form-urlencoded Cookie =
ADMINCONSOLESESSION=8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37
849198 Host = localhost:7001 Referer =
http://localhost:7001/console/actions/mbean/DoEditMBeanAction?MBean=vtsdomai
n%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPool User-Agent =
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.0.3705)
IE: true
Netscape: false
Supported: true
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
DisabledControlSupported: trueThanks, Joe. It works now!
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
>
Vladimir wrote:
Here are the definitions of the two pools - both encounter the same
problem:
<JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver"
Name="ejbTestConPool"
Properties="db=ejbTest;user=sa;port=1433;password=test;server=localhost"
TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
TestTableName="accounts" URL="weblogic:jdbc:mssqlserver4"/>yep, as I thought. A JDBC URL always starts with 'jdbc'. It should be
'jdbc:weblogic:mssqlserver4'. Also, make TestConnectionsOnRelease="false"
(it's a waste of cycles).
Joe
<JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver"
Name="ejbTestConnectionPool" Password="{3DES}sCmdDszi61I="
Properties="user=sa;db=ejbTest;port=1433;password=test;server=localhost"
Targets="vtsserver" TestTableName="accounts"
URL="weblogic:jdbc:mssqlserver4"
XAPassword="{3DES}sCmdDszi61I="/>
>>
Vladimir
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
show us your pool definitions from the config.xml file. There's
probably a
problem
with the URL or properties.
Joe
Vladimir wrote:
Hi, I get a java.lang.StringIndexOutOfBoundsException when making a
JDBC
pool connection via the console of WLS 7.0. I use SQL Server 2000in
Win2K
SP2 environment. Exactly the same configuration works perfectly in
WinXP
Pro. Can anyone advise me what might cause this problem? Thanks alot.
>>>>
Log message
####<May 13, 2002 5:15:52 PM CEST> <Error> <JDBC> <abcdefgh><vtsserver>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'><kernel
identity> <> <001060> <Cannot startup connection pool
"ejbTestConnectionPool" java.lang.StringIndexOutOfBoundsException:String
index out of range: -1>
Exception
java.lang.NullPointerException
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
53)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
56)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException - with nestedexception:
[weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]]
atweblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:190)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Current Date
Mon May 13 17:15:52 CEST 2002
Console Release Build
null
Console Build
null
Server Release Build
7.0.0.0
Server Build
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
All Server Product Versions
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
WebLogic XMLX Module 7.0 Thu Apr 25 17:26:07 PDT 2002 180709
Request Info
Protocol: HTTP/1.1
ServerName: localhost
ServerPort: 7001
Secure: false
ContextPath: /console
ServletPath: /common/error.jsp
QueryString:
MBean=vtsdomain%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPool
PathInfo: null
PathTranslated: null
RequestURI: /console/common/error.jsp
AuthType: null
ContentType: application/x-www-form-urlencoded
CharacterEncoding: null
Locale: en_US
Method: POST
Session:
weblogic.servlet.internal.session.MemorySessionData@1926bd
RequestedSessionId:
8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37849198!1021299872710
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: vts
RemoteUser: vts
RemoteAddr: 127.0.0.1
RemoteHost: 127.0.0.1
Parameters
MBean = vtsdomain:Name=ejbTestConnectionPool,Type=JDBCConnectionPool
chosen_wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.
Targets-Server = vtsdomain:Name=vtsserver,Type=Server
weblogic.console.submit_form = dataposted
wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.Targets
-Server = vtsdomain:Name=vtsserver,Type=Server
Attributes
wlinternalaction =
weblogic.management.console.actions.internal.InternalActionContext@4372d8
java.util.Locale = en_US weblogic.management.console.catalog.Catalog=
weblogic.management.console.catalog.XmlCatalog@3ca759
weblogic.management.console.helpers.BrowserHelper = User-Agent:Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) IE: trueNetscape:
false Supported: true JavscriptHrefs: false TableCellClick: true
DocumentReloadedOnResize: false DropdownStretchable: trueCellSpacingBlank:
false EmptyCellBlank: false ImgOnclickSupported: true
TableBorderFancy:
true
PartialToWideTables: false DisabledControlSupported: true
weblogic.management.console.helpers.DebugHelper =
weblogic.management.console.helpers.DebugHelper@16ed83
weblogic.management.console.helpers.UnitsHelper =
weblogic.management.console.helpers.UnitsHelper@ae2d9
weblogic.management.console.helpers.UrlHelper =
weblogic.management.console.helpers.UrlHelper@28fd41
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint,application/msword,
*/* Accept-Encoding = gzip, deflate Accept-Language = en-usCache-Control =
no-cache Connection = Keep-Alive Content-Length = 304 Content-Type =
application/x-www-form-urlencoded Cookie =
ADMINCONSOLESESSION=8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37
849198 Host = localhost:7001 Referer =
http://localhost:7001/console/actions/mbean/DoEditMBeanAction?MBean=vtsdomai
n%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPoolUser-Agent
=
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.0.3705)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; WindowsNT
5.0;
.NET CLR 1.0.3705)
IE: true
Netscape: false
Supported: true
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
DisabledControlSupported: true -
Setting properties on pooled connections
If I get a connection from a pool and call setReadOnly(true) and setTransactionIsolation(ex:
read uncommited)
Do I have to manage resetting these values back myself at the end of my method?
OR
Does the pool automatically reset the connection back when it is returned to the
pool?
JasonJason wrote:
Joseph Weinstein <[email protected]_this> wrote:
Jason wrote:
If I get a connection from a pool and call setReadOnly(true) and setTransactionIsolation(ex:
read uncommited)
Do I have to manage resetting these values back myself at the end ofmy method?
OR
Does the pool automatically reset the connection back when it is returnedto the
pool?
JasonWhat version of weblogic are you using? We will reset the isolation level
when you close
the connection (putting it back into the pool). I don't think we reset
the read-only status,
and this is a gap in our coverage.
Joe
Version is WL 6.1 sp4.
So, if transaction level is reset, but not setReadOnly() - perhaps I just need
to reset the 'readOnly' attribute on the pooled connection in a 'finally' block
at the end of the method to ensure it is reset.That would be perfect. Thanks.
Here's the safest form of a finally block:
finally
if (conn != null)
// each call in it's own 'try' so all are definitely done
try {conn.setReadOnly(false);} catch (Exception ignore){}
try {conn.close();} catch (Exception ignore){}
>
>
Jason -
Multi-Thread vs. ConnectionPool vs. Connection Management
Hi there,
In an OCI8-JDBC context - do I have three choices ????
Multi-Trhead / one connection:
Share one connection for all requests using
one thread for each client
Connection-Pool:
Create one connection for each client
Connection-Management:
multiplex over one connection using
getConnection(jdbc:oracle:oci8:@description...."
nullHi there,
In an OCI8-JDBC context - do I have three choices ????
Multi-Trhead / one connection:
Share one connection for all requests using
one thread for each client
Connection-Pool:
Create one connection for each client
Connection-Management:
multiplex over one connection using
getConnection(jdbc:oracle:oci8:@description...."
null -
Dear Cisco Expert,
We are facing problem terminating PPPoE users on Cisco 7206VXR NPE-G2 router where in user connects to router but policy-map is not applying on user interface.
Below mentioned message is logged on router.
%SW_MGR-3-CM_ERROR_FEATURE_CLASS: Connection Manager Feature Error: Class SSS: (QoS) - install error, ignore.
Below is the "show version" output.
Cisco IOS Software, 7200 Software (C7200P-ADVIPSERVICESK9-M), Version 12.2(33)SRC, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Fri 11-Jan-08 02:44 by prod_rel_team
ROM: System Bootstrap, Version 12.4(12.2r)T, RELEASE SOFTWARE (fc1)
aggr03 uptime is 1 day, 6 hours, 4 minutes
System returned to ROM by reload at 05:45:18 IST Wed Sep 3 2014
System restarted at 05:46:53 IST Wed Sep 3 2014
System image file is "disk2:c7200p-advipservicesk9-mz.122-33.SRC.bin"
Last reload reason: Reload command
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
Cisco 7206VXR (NPE-G2) processor (revision A) with 1966080K/65536K bytes of memory.
Processor board ID 31782123
MPC7448 CPU at 1666Mhz, Implementation 0, Rev 2.2
6 slot VXR midplane, Version 2.7
Last reset from power-on
PCI bus mb1 (Slots 1, 3 and 5) has a capacity of 600 bandwidth points.
Current configuration on bus mb1 has a total of 0 bandwidth points.
This configuration is within the PCI bus capacity and is supported.
PCI bus mb2 (Slots 2, 4 and 6) has a capacity of 600 bandwidth points.
Current configuration on bus mb2 has a total of 0 bandwidth points.
This configuration is within the PCI bus capacity and is supported.
Please refer to the following document "Cisco 7200 Series Port Adaptor
Hardware Configuration Guidelines" on Cisco.com <http://www.cisco.com>
for c7200 bandwidth points oversubscription and usage guidelines.
1 FastEthernet interface
3 Gigabit Ethernet interfaces
2045K bytes of NVRAM.
500472K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).
65536K bytes of Flash internal SIMM (Sector size 512K).
Configuration register is 0x2102
Can somebody help please?
Thanks,
Nilesh.Hi Inayath,
We are applying policy-map on user virtual-interface via radius attributes.
Cisco-Avpair+="lcp:interface-config#1=service-policy input 256k"
Cisco-Avpair+="lcp:interface-config#2=service-policy output 256k"
Below is the relevant configuration for cisco router.
aggri03#sh policy-map 256k
Policy Map 256k
Class 256k
police cir 520000 bc 32000
conform-action transmit
exceed-action drop
aggri03#sh run int virtual-te1
Building configuration...
Current configuration : 398 bytes
interface Virtual-Template1
mtu 1492
ip unnumbered Loopback100
no ip redirects
no ip unreachables
no ip proxy-arp
no logging event link-status
peer default ip address pool poolname
no snmp trap link-status
keepalive 60
ppp authentication pap callin
ppp ipcp dns 203.187.x.y 203.187.x.y
ppp timeout ncp 30
ppp timeout authentication 20
ppp timeout idle 480
end
Below is the complete log line on router.
Sep 3 16:41:31: %SW_MGR-3-CM_ERROR_FEATURE_CLASS: Connection Manager Feature Error: Class SSS: (QoS) - install error, ignore.
-Traceback= 4A9C88 4AAC20 4AB350 12B6040 12C8B38 2C2F24C 2C2F2FC 12C8E0C 12C9000 12C94D0 12B4788 12B4D40 12B4E84 12AFEB0 12B02FC
Please let me know if you want further information & thanks for your inputs.
Thanks,
Nilesh. -
When Are Pooled Connections Freed?
Hi,
If I get a connection from a connection-pool while in a transaction, and if I never
explicitly free the connection via the connection.close() method, will the connection
ever be returned to the pool?
If I have a thread that starts a transaction, gets a pooled connection, and ends
the transaction without closing the connection, will or can the same thread get the
same connection when it again starts another transaction and starts the cycle all
over?
Thanks,
MarkMark Glatzer wrote:
Joseph,
We are inside a transaction, but the connection is from a non-transaction data
source. It is our practice to always close the connection as soon as we are done
with it. However, we forgot to close the connection in one place in the code.
MarkOk. For non-transactional data sources you are on your own, and should
definitely close them in a finally block so it gets back into the pool for sure.
Depending on the server version, there may be an RMI-related reference
to the connection which prevents it from being gc'ed and returned to the pool.
If you use the pool driver directly, the gc stuff will work.
>
>
Joseph Weinstein <[email protected]> wrote:
Hi. How are you obtaining your connection? If it's from a TxDataSource,
and if
the transaction is in-progress, and maintained by our transaction manager,
then
we will close the connection and return it to the pool when the tx ends,
whether
you're done or not. It is good practice nevertheless, to close all JDBC
objects
as soon as possible.
Mark Glatzer wrote:
Hi,
If I get a connection from a connection-pool while in a transaction,and if I never
explicitly free the connection via the connection.close() method, willthe connection
ever be returned to the pool?
If I have a thread that starts a transaction, gets a pooled connection,and ends
the transaction without closing the connection, will or can the same threadget the
same connection when it again starts another transaction and starts thecycle all
over?
Thanks,
Mark -
Remote Desktop Connection Manager can only open 6 sessions at a time on Server 2012
I am only able to open, and view thumbnails, for a maximum of 6 RDP sessions on my Server 2012 box at a time in Remote Desktop Connection Manager (RDCM). If I add more sessions I just get a variety of connection errors for the additional sessions. If I activate
a 7th session one of the existing 6 sessions goes off-line with a connection error message. Sometimes the error says 3334, sometimes the error says 0x8345000E, and sometimes it just says there is a connection error.
I have checked Group Policy on the server to ensure I don't have any settings restricting the number of RDP sessions.
In fact, I will often have 30 or 40 RDP simultaneous sessions opened, I am just not able to view them all in RDCM. I have seen reviews of RDCM with screenshots showing dozens of thumbnails so it seems to be something that's possible to do.
Are there any settings I should make on the server to allow RDCM to connect to more than 6 simultaneous RDP sessions?
Just to be clear, all these RDP sessions are running on the same server. Also, I am just using the trial license for Server 2012 and Remote Desktop Services right now. I don't think that should have an impact, but I wanted to be thorough.Thanks Jakub for "corflags" info.
Unfortunatelly it doesn't work because running mRemoteNG.exe process in 64bit can't load MSTSC ActiveX component (referenced assemblies) because original files were assembled from 32bit dll [mstscax.dll]?
Error message when making RDP connection:
Could not load file or assembly 'Interop.MSTSCLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I was able to create new AxInterop.MSTSCLib.dll and Interop.MSTSCLib.dll assemblies from 64bit dll version and now it works with "AnyCPU":-)
http://www.filedropper.com/axinteropmstsclib-mremoteng
Using AxImp.exe and TlbImp.exe didn't worked for me because it creates assemblies in wrong namespace "MSTSCLib" instead of "Interop.MSTSCLib" (AxImp.exe) and TlbImp.exe for changing namespace generated many "marshaled errors"
so final .dll wasn't working.
Adding MSTSCAX.dll reference in Visual Studio directly created correct and functional assemblies. Who don't know how to create 64bit compatible assemblies or don't have Visual Studio, feel free to check linked file.
Hope it helps
P.S. Sorry for possible technical misinterpretation, I am not programmer so creating new assemblies was trial-error process... -
Excel Connection Manager suddenly can no longer connect to Excel from SSIS package
<p>During the last 3 months, I used 32 bit SSIS 2008 (v 10.50.2500.0) on an WinXp machine (v 5.1.2600 SP3 Build 2600) to create a package that writes multiple query results (reports) to an excel spreadsheet. Each report is written to a different
tabbed sheet in the same spreadsheet. </p><p>The package was working just fine until May 9 2013, when suddenly every single Data Flow task with an Excel Destination displayed error icons and raised the following
error message when opening the Advanced Editor:</p><p>SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005 Description: "Unspecified error". <br />Error at <DataFlow task name>: SSIS
error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager <Excel connection Manager> failed with error code 0xC0202009. There may be error messages posted before this with more
information on why the Acquire Connection method call failed. Exception from HRESULT: 0Xc020801c (Microsoft.SQlServer.DTSPipelineWrap)</p><p>Originally the error message reported that the Error Code was "0x8000FFFF", but I can't seem
to reproduce that error code since. Now I am only getting the above error message.</p><p>From the time I created the original package (when it worked fine) until now, I have been using the same computer, writing to a (32 bit) 2010 Excel file in
a local folder. The filename and location have not changed. The ConnectionString has not changed. The Connnection String I am using is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Conversion\Conversion Results_dt01.xlsx;Extended Properties="EXCEL
12.0 XML;HDR=YES;". </p><p>Now an attempt to create and test a NEW Connection Manager yields me this error. "Test connection failed because of an error in initializing provider. Unspecified error.", whereas before I had
no problems creating a new connection manager.</p><p>I checked a second SSIS package, which I also built during the past 3 months, which loads multiple sheets from multiple Excel files to a SQL Server 2008 database holding table. It uses the same
ACE OLE DB 12.0 connection to load the Excel speadsheets and this package continues to work fine on the same workstation.</p><p>In desparation, wondering if the Microsoft ACE OLE DB 12.0 driver had become corrupt (even though the second package
was raising no errors), I did download and install the Microsoft ACE OLE DB 12.0 driver. That did not solve my problems with the first package.</p><p>I need to get this package running again ASAP as it is targeted for UAT testing in a
matter of days. Any help with this issue would be greatly appreciated!</p>I submitted this issue above and now I am having the same problem again. I am using the same local computer, the same operating system (WinXp v 5.1.2600 SP3 Build 2600) as originally described. I am working with the same SSIS package that
writes multiple query results (reports) to an excel spreadsheet. This package has been successfully executed multiple times, but now I am suddenly getting the same error as follows:
Error at 1ConversionContacts [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
Error at DFlow Write soft deleted duplicate claims to Excel sheet [Excel Destination - write duplicate claim nbrs that have been removed to Excel [61]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method
call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
The package will not run because of these multiple errors (multiple because it occurs on every single excel destination in the package).
I have Run64BitRuntime set to false on the project. I have triple checked that the excel file name (which I created and can access) exists with the correct name in the correct path, which is local on my machine. The file is the same file in the same
location as when the package worked. I am running the SSIS service under my own network login, as I was when the package worked. I have been consistently getting this same error whenever I change my network password without updating the password
in the SSIS service, but I have triple verified that the service is using my latest password. If I try to open and edit the Excel Destination in any DataFlow task I get the same error. I can successfully create a new Excel Connection Manager pointing
to the same excel file. However if I try to assign the newly created Excel Connection Manager in the data flow, I cannot activate the drop down to choose the Excel sheet without getting an 'Unspecified error' message. I then swapped out
the file with its template version, and ensured the name was updated as correct. I still get the same errors.
Oh, and the SSIS package is extracting data from a SQL Server 2008 database with an ADO.net Connection Manager using Windows authentication. I have no problems with the SQL Server connection, it has always worked and still does. It is only
the connection to excel output file which is locally stored on my machine.
Has anyone got any suggestions for me? -
USB no longer available in Connection Manager afte...
Hi! I had the Init MediaControl2 problem, which I managed to fix after running through numerous reinstallations and cleaning (with the Nokia registry cleaner 3.3)
However I found that even though the PC suite is now installed, the USB is no longer shown as one of the options under Connection Manager. Also I found that there is no 'Nokia Connectivity Cable Driver' installed (checking the Add/Remove Program). I have only
Nokia PC Suite
Nokia Connectivity Solution
Tried to reinstall many times but never get Nokia Connectivity Cable Driver back. Here's what I've done so far
- Repair
- Used all options under Nokia Cleaner 3.3 - Deleted all registry entries that contain the word "PCSuite" or "Nokia" by using some registry management tools
- Reinstalled PCS 6.7, and updated to 6.8
- Used the regsrv32 on the dll that manages the USB connection - C:\Program Files\Common Files\PCSuite\Transports\NCLUSBMM.dll, but returned error 0x8040020
- Tried to install older version of USB cable driver 1.59 but the installer said there's new version
- Tried to reinstall the current "Nokia Connectivity Cable Driver" by taking the installer from other good PC, but it said PC configuration corrupted, contact nokia support
I'm very frustrated with this problem.. it took me 5 hours yesterday to work till 3am and it has still no cure! What I need is simple, a way to remove EVERYTHING by PC Suite, and have a clean installation which I can use the USB connection. I know I could use Bluetooth, but I just don't want to give in to this problem.
My PC Specs
Operating system:
Microsoft Windows XP Build 2600 Service Pack 2
Language: English (United States)
Nokia PC Suite: Version 6.80.20
Language: English
Connectivity Cable Drivers: Unable to install!Apple has never fully committed support of the Time Machine/Airport Extreme combination. I have a Airport Extreme 6th gen that supposedly supports the Time Machine, (page 13 of the installation manual). After a year of experience I have concluded that it does not work - period. If you have any critical data on your system(s) I would recommend that you use a dedicated backup/recovery product like Carbon Copy Cloner.
-
Failure in ORACLE POOL connection
Hi friends,
I have worked as a developer, My platform front-end is .net and back end is oracle, this product live chat, My problem is I have receive a problem from server that’s is, mysql POOL connection is automatically cut from the connection, I have try to fix that bug but unexpectedly I cannot fix that, Anybody say some suggestion about that.
Thanks in advance for your help.
Regards,
Gilbertsavier.
Live chat By miootYou missed the following
1. Oracle Version
2. OS
3. Error Number
4. Error Message
Please Fill the above details.
Regards,
Maybe you are looking for
-
IPhone 5s is not receiving incoming calls
Hi everyone, I am having problems with receiving incoming calls after I got the 5s. Sometimes, it didn't even ring, just went straight to voice mail even though the signal was strong. Sometimes they have to call me up to 8 - 10 times for the phone to
-
I am not good with computers. I am trying to get my iTunes onto this new laptop but it says I am only allowed to have it on 5 computers and I must take it off one to ut it on this new laptop. Problem is, apart from my iPad, I have lost one laptop a
-
Issue with gauges in dashboard
Hi everyone. I have an issue with a gauge. I made the configuration for the alerts by value and percent, but show me and incoherent result. I'm working with filtered values. All is good but when i run the dashboard the result is this. What can i do t
-
Supported printers not showing up in printer device drop down list
I'm new to Mac so hopefully this is a problem that has been solved a hundred times over. I have a Canon i960 and an HP LaserJet 1012. Both Canon and HP state that Tiger 10.4.6 have built in drivers to support the printers. When I plug either printer
-
How to import CDs into iTunes 12 library without CD 'breaking up' into dozens of icons?
I realize this question has been asked before; however, nothing I do (according to the solutions I've read thus far) fixes these two problems described below (with examples) (BTW, using a Dell PC). I lie not when I state that I've spent HOURS on th