Is WebLogic 6.1sp3 refreshing connections in parellel?
During our tests, I found WebLogic connection pool refreshing its
connections sequentially (refresh one after another). If create a JDBC
connection costs 20 seconds (because Oracle Net 8 fail over), then
refreshing the second connection will wait 40 seconds, the third will be
60 seconds and so on. In order to isolate the problem, I wrote a stand
alone java application. This application simply starts 100 threads, for each
thread creates one JDBC connection. No matter the driver was OCI driver
or thin driver, when I use class.forName to create connection, the jobs
were done parellely.
So I investigated into the WebLogic thread dump, I noticed
weblogic.common.internal.ResourceAllocator.resetThisOne was called when
WebLogic tried to refresh a connection. I looked at the method
signature, this method,
weblogic.common.internal.ResourceAllocator.resetThisOne,
was synchronized. I think this is the place that caused refreshing JDBC
connections sequentially.
If I was right, is there anyway that can speed up connections
refreshing?
Wenji Tong wrote:
YES, this one works.
Then, my question is why this method was synchronized. If it is not
synchronized, any problem will be? Does BEA have any plan on that or it is
ok for us to use your jar file in production?
Thanks,
WenjiI unsynchronised the method because I could see no reason why it needed to be.
I will enquire before making it the official behavior, but it is likely to become so.
Joe.
>
>
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Wenji Tong wrote:
Here is one of the thread dump, we can see it was waiting at
weblogic.common.internal.ResourceAllocator.resetThisOne which was
synchronized.Ah. Thanks. Here's a test jar. Can you try it? Make sure it's at the frontof the
classpath the server constructs for itself, and let me know if this speedsthings up or not.
thanks,
Joe
I didn't put other threads dump here because they are all the same and
waiting at this method. For reconnect a connection will tak 20 seconds,
this
was confirmed by Oracle technical support. 20 seconds for connectionsfail
over is ok if WebLogic can do the job in parellel, but we just found it
didn't. We are using 40 executive threads, because we have many'transaction
requiresnew', so we put min=max=100 connections in pool.
Thanks,
Wenji
"ExecuteThread: '28' for queue: 'default'" daemon prio=5 tid=0x52a2a8
nid=0x29 waiting for monitor entry [0xd4280000..0xd42819d8]
at
weblogic.common.internal.ResourceAllocator.resetThisOne(ResourceAllocator.ja
va:872)
at
weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:48
1)
at
weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:40
0)
at
weblogic.common.internal.ResourceAllocator.reserveWaitSecs(ResourceAllocator
.java:390)
at
weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:163
at
weblogic.jdbc.common.internal.ConnectionPool.reserveWaitSecs(ConnectionPool.
java:117)
atweblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:565)
at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:115)
at
weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
va:135)
at
weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:78
at
com.cibc.bankframe.bo.retail.solutionset.impl.teller.rwusersession.eontec_bo
>
retailrwusersession_po7s97__WebLogic_CMP_RDBMS.ejbFindByPrimaryKey(eontec_
bo_retail_rwusersession_po7s97__WebLogic_CMP_RDBMS.java:1099)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.findByPrimaryKey(Persisten
ceManagerImpl.java:154)
at
weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.
java:430)
at
weblogic.ejb20.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseEntityMa
nager.java:377)
at
weblogic.ejb20.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:33
2)
at
com.cibc.bankframe.bo.retail.solutionset.impl.teller.rwusersession.UserSessi
>onCMPBean_po7s97_HomeImpl.findByPrimaryKey(UserSessionCMPBean_po7s97_HomeImp
l.java:170)
at
com.cibc.bankframe.util.retail.solutionset.impl.utilities.FindHelper.imGetUs
erSession(FindHelper.java:1074)
at
com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchBean.v
alidateUserSessionId(CustomerSearchBean.java:2711)
at
com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchBean.p
rocessDataPacket(CustomerSearchBean.java:106)
at
com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
nBean.processDataPacket(CustomerSearchSessionBean.java:75)
at
com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
>nBean_urn8bi_EOImpl.processDataPacket(CustomerSearchSessionBean_urn8bi_EOImp
l.java:1065)
at
com.bankframe.services.requestrouter.RequestRouterBean.getResponseDataPacket
s(Unknown Source)
at
com.bankframe.services.requestrouter.RequestRouterBean.processRequestWithRet
ry(Unknown Source)
at
com.bankframe.services.requestrouter.RequestRouterBean.processDataPackets(Un
known Source)
at
com.bankframe.services.requestrouter.RequestRouterBean_weyfvd_EOImpl.process
DataPackets(RequestRouterBean_weyfvd_EOImpl.java:37)
at
com.bankframe.services.requestrouter.RequestRouterUtils.processDataPackets(U
nknown Source)
at
com.bankframe.cibc.ei.servlet.CBFEEontecServlet.processDataPackets(CBFEEonte
cServlet.java:69)
at
com.bankframe.cibc.ei.servlet.CBFEEontecServlet.service(CBFEEontecServlet.ja
va:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2546)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Wenji Tong wrote:
Yes, I'm using testConnsOnReserve. I'm using 100 connections and
Oracle
Net
8 fail over. I'm doing the load test. When one Oracle server down
(the
first
one in tnsnames.ora address list), the new request for connection
will
take
more than 20 seconds (it is because tcp socket delay, it will take
so
long
any way). The problem comes out here. For load testing, it keeps
sending
request to WebLogic Server, WLS will reconnect the connection foreach
request. I believe for each request, the reconnect job was doing in
different thread, am I right?yes. With testConnsOnReserve, a given application thread will be doingthe
test-and-replace
of a connection. I hope your pool increment is 1.
The jobs supposed to do in parellel, but I
found it didn't. For example, 40 new requests comes in, WLS printed
out
'This connection will now be refreshed.' 40 times almost at sametime.
Then
after 20 seconds I got only one 'Connection for pool "xxxx"
refreshed.'
message. After another 20 seconds, I got another 'Connection forpool
"xxxx"
refreshed.' message, and so on. Obviously, there are some resources
are
synchronized. You can imagine for 100 connections, how long it willtake
to
fail over. Actually, before all 100 connections failed over, WLS washung.
Not necessarily true. Take a thread dump and see what the server
threads
are doing.
They may all be independently waiting for Oracle, ot TCPIP. How manyexecute-threads
is your server running? You should only need N pool connections if youhave N execute-threads
(again, make sure you turned off refresh).
Wenji
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Wenji Tong wrote:
During our tests, I found WebLogic connection pool refreshing
its
connections sequentially (refresh one after another). If createa
JDBC
connection costs 20 seconds (because Oracle Net 8 fail over),
then
refreshing the second connection will wait 40 seconds, the thirdwill be
60 seconds and so on. In order to isolate the problem, I wrote astand
alone java application. This application simply starts 100
threads,
for
each
thread creates one JDBC connection. No matter the driver was OCI
driver
or thin driver, when I use class.forName to create connection,
the
jobs
were done parellely.
So I investigated into the WebLogic thread dump, I noticed
weblogic.common.internal.ResourceAllocator.resetThisOne was
called
when
WebLogic tried to refresh a connection. I looked at the method
signature, this method,
weblogic.common.internal.ResourceAllocator.resetThisOne,
was synchronized. I think this is the place that caused
refreshing
JDBC
connections sequentially.
If I was right, is there anyway that can speed up connections
refreshing?Refresh is done in one thread. It is not adviseable to spawn
threads
in
a middleware system such as weblogic, because we must control the
JVM resources to do the applciation work, and can't allow power to
be drained. (Threads aren't free).
However, if you have testConnsOnReserve set true, you don't
need refresh, so you can turn it off. That way the one thread
needing
the
connection will pay (only) the cost of replacing one connection.
Joe
Similar Messages
-
WLS 8.1 SP5 Message bridge doesn't refresh connection after idle time out
Hi,
I am seeing in the log after enabling the debug flags that message bridge intermittently stops refreshing the connection without logging further info and causing a production failure.Bridge is forwarding the message from WLS 8.1..5 DQ to the remote MQ 6.0 queue.
Below is the snippet which doesn't come in the log which suggests that bridge stops refreshing the connection.
<BEA-200027> <Bridge "CASLDNSenderBridge" works in asynchronous mode and has not received messages for the predefined maximum idle time. The connections to the adapters will be interrupted and reestablished.>
The above message does appear everytime but intermittently it stops and the messages put after this leading to the exceptions.The bridge has been configured in asynchronous mode and the idle time out is configured as 60 secs.
Can somebody please let me know if there is any known issue with 8.1 SP5 where message bridge stops refreshing connection intermittently or how to debug this further.I would normally suggest raising the issue with support, but I recall hearing that 8.1 is nearing the end of its support cycle, so I'm not sure that's an option for you. Other options:
- try upgrading to a newer SP, or better yet, a new version of WebLogic
- try changing to synchronous forwarding
- examine thread dumps from when the bridge appears to be stalled
- post the exception that bridge is throwing when it tries to connect
- try patching MQ (the problem could be on the MQ side, and perhaps an older version of the bridge may not be fully capable of handling all of MQs minor quirks)
- write a program to (A) detect inactivity on the src destination, and (B) somehow restart the bridge and/or all of WL when this occurs
Tom -
we are getting error while refreshing connection on excel sheet which containing data from data source in form of power pivot.
error is "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:"
I am confused about Configuring the Analysis Service in SharePoint Mode.
What account should be used for Configuring the Analysis Service in SharePoint Mode?
what are the steps and what permissions are required and where to add it?
can you please explain in detail so i can make sure about my account permission properly in my environment?
Do we need to install Analysis service on sharepoint server box or not? if yes, then what are steps to follow it?
it is mentioned here to have two services are running under manages services under sharepoint central,
https://msdn.microsoft.com/en-us/library/jj682085.aspx#bkmk_verify_powerpivot
but we don't have SQL Server Analysis Services
running under Manage
services on server.
what need to be done here to fix this issue ?
Thanks,
Deepak PatelHi Deepak,
We are currently looking into this issue and will give you an update as soon as possible.
Thank you for your understanding and support.
Meanwhile, could you please check if there is any related ULS log for help troubleshoot the issue when error occurs.
http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshoot-powerpivot-data-refresh.aspx
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/04/02/powerpivot-for-sharepoint-manual-data-refresh-failing.aspx
Thanks
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
I am getting following error while refreshing connection on excel sheet in power pivot gallery,
my scenario,
using BISM file connection to create and refresh power pivot excel sheet in power pivot gallery
throws error and we have sql server 2014 CU6 updated installed plus sharepoint 2013. i checked following msolap110.dll is available in our environment but assembly
Microsoft.AnalysisServices.ChannelTransport is not available.
i found error in event viewer,
"Activation context generation failed for "C:\Program Files\Microsoft Analysis
Services\AS OLEDB\110\msolap110.dll". Dependent Assembly
Microsoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
not be found. Please use sxstrace.exe for detailed diagnosis.
what should i do to fix it?
Thanks for help.
Deepak PatelRebecca,
yes, this is issue i am getting.
Activation
context generation failed for "C:\Program
Files\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll".
Dependent AssemblyMicrosoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
not be found. Please use sxstrace.exe for detailed diagnosis.
let me know if you can find fix for it.
THanks, -
OBIEE 11G - The database Weblogic is trying to connect to is refusing the connection.
Hi,
The database Weblogic is trying to connect to is refusing the connection, per my error messages. Which file will have the JDBC connection information?
Thanks for your time and help.Can u paste the error log messages?
-
How does weblogic maintain idle JDBC connection
I see weblogic maintaining connections even when they are idle. (unless we explicity mention to remove)
How does weblogic maintain the socket on DB under idle condition? Does webogic do ping kind of activity to maintain/renew the socket for all idle connections in the pool.The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process. -
WebLogic 6.1SP3: CGI Script Displayed, Not Processed
I've setup CGI support in my WebLogic 6.1SP3 installation, on my Solaris box. I am attempting to run a simple script that prints a message to the screen/browser. When I attempt to run the CGI script, I see the contents of the script on screen. The script is never actually processed.
Has anyone else encountered such a problem?Hi Rick,
Just a shot in the dark, but does the script have eXecute privs? You
should ask your question in the webserver newsgroup group:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.webserver&utag=
Thanks,
Bruce
Rick wrote:
>
I've setup CGI support in my WebLogic 6.1SP3 installation, on my Solaris box. I am attempting to run a simple script that prints a message to the screen/browser. When I attempt to run the CGI script, I see the contents of the script on screen. The script is never actually processed.
Has anyone else encountered such a problem? -
Deploying JCA with WebLogic 6.1sp3
I am trying to configure kodo-jdo-3.1.2 in WebLogic 6.1sp3 using JCA
method.
But I meet follwing error:
java.lang.Throwable: Couldn't find methods :null or setRestoreMutableValues
with argtype: java.lang.Boolean
at
weblogic.connector.common.internal.ConnectionPool.invokeRemainingSetters(Con
nectionPool.java:536)
at
weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java
:464)
at
weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio
nFactory(ConnectionPoolManager.java:54)
at
weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:
189)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:360)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:285)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:239)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy34.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(
ServerMBean_CachingStub.java:2977)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
icationManager.java:372)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
r.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy48.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
ApplicationManagerMBean_CachingStub.java:480)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1234)
at weblogic.management.Admin.finish(Admin.java:644)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
at weblogic.Server.main(Server.java:35)
java.lang.Throwable: Couldn't find methods :null or setFetchBatchSize with
argtype: java.lang.Integer
at
weblogic.connector.common.internal.ConnectionPool.invokeRemainingSetters(Con
nectionPool.java:536)
at
weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java
:464)
at
weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio
nFactory(ConnectionPoolManager.java:54)
at
weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:
189)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:360)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:285)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:239)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
..java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:360)While this platform is not officially supported, are you seeing further
problems past these error messages which are usually just warnings?
Leejungryong wrote:
I am trying to configure kodo-jdo-3.1.2 in WebLogic 6.1sp3 using JCA
method.
But I meet follwing error:
java.lang.Throwable: Couldn't find methods :null or setRestoreMutableValues
with argtype: java.lang.Boolean
at
weblogic.connector.common.internal.ConnectionPool.invokeRemainingSetters(Con
nectionPool.java:536)
at
weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java
:464)
at
weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio
nFactory(ConnectionPoolManager.java:54)
at
weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:
189)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:360)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:285)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:239)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy34.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(
ServerMBean_CachingStub.java:2977)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Appl
icationManager.java:372)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
r.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy48.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(
ApplicationManagerMBean_CachingStub.java:480)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1234)
at weblogic.management.Admin.finish(Admin.java:644)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
at weblogic.Server.main(Server.java:35)
java.lang.Throwable: Couldn't find methods :null or setFetchBatchSize with
argtype: java.lang.Integer
at
weblogic.connector.common.internal.ConnectionPool.invokeRemainingSetters(Con
nectionPool.java:536)
at
weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java
:464)
at
weblogic.connector.common.internal.ConnectionPoolManager.addManagedConnectio
nFactory(ConnectionPoolManager.java:54)
at
weblogic.j2ee.ResourceAdapterComponent.deploy(ResourceAdapterComponent.java:
189)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:360)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:285)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:239)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
21)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:360)
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
Refreshing Connection Error at Welcome
Hello all,
Rebuilding the Xserve with 10.6 server.
The problem - The server is showing a solid amber light on the front panel where the ! button is. Once the installation of the server software has completed, and the machine restarts it pauses at the Welcome screen during setup. Both buttons 'Go Back' and 'Continue' are greyed out, and 'Configuring defaults' spins in the bottom left of the window. After some time a window pops up stating the following:
An error occurred while performing the following actions on the server: Refreshing connection / A network error occurred.
It won't let me proceed with setup.
Details - Network infrastructure wise nothing has changed, this all worked ok last week. I'm able to remote into the server from another Mac via VNC, so it is getting assigned an IP etc. If I boot from the install disk and run the utilities everything is reporting back as being ok in each utility. I'm unable to find any other info about this error... does any one have a solution/experience?For future reference...
Left the server running in this state over night - no better by the morning.
Turned it off and unplugged the power for a couple of hours, came back to it, plugged it all back in and turned it on - appears everything is now working correctly. -
Weblogic handling of inbound connections
OS=Solaris2.6
WLS=4.5.2
JDK=1.2.1
Can anybody answer how weblogic handles inbound TCP connections?
I have heard, but not confirmed that 3 threads are dedicated for handling
incoming connections.
My question is, what happens in the case where there are more than 3
incoming connections at a time?
Are TCP reset packets send back to the client?
Are the packets queued? if so, how and for how long?t> I have heard, but not confirmed that 3 threads are dedicated for
t> handling incoming connections.
Two threads listen for incoming connections - one for plaintext
connections, and one for SSL. Once a connection has come in, a
minimal amount of processing is done, and it is then queued to be
handled by other threads.
t> My question is, what happens in the case where there are more than
t> 3 incoming connections at a time?
They are queued in the system's TCP stack until one of the listen
threads gets to them. You can control the allowable backlog using the
weblogic.system.acceptBacklog property.
<b
Let us pray:
What a Great System.
Please Do Not Crash.
^G^IP@P6 -
Weblogic 6.1 sp2 Connection Pool will not connect to oci901 driver
ok, I am trying to get weblogic to connect to the connection pool in solaris. I created
the pool in the console with the following:
URL = jdbc:weblogic:oracle
Driver Class Name = weblogic.jdbc.oci.Driver
Properties = user=sa password=*****
I also set the LD_LIBRARY PATH as directed.
LD_LIBRARY_PATH=/usr/local/wlserver6.1/lib/solaris/oci901_8:ORACLE/lib
Oracle is on a seperate box then the box that Weblogic is installed on so I think
the problem is in my LD_LIBRARY_PATH. Here is the error I am getting. Any help
would be appreciated.
Starting Loading jDriver/Oracle .....
<Jun 7, 2002 9:04:25 AM CDT> <Error> <JDBC> <Cannot startup connection pool "FargoPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError:
/usr/local/wlserver6.1/lib/solaris/oci901_8/libweblogicoci37.so: ld.so.1: /home/bea/jdk131/jre/bin/../bin/sparc/native_threads/java:
fatal: libclntsh.so.9.0: open failed: No such file or directory
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy17.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy17.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)"Tim" <[email protected]> wrote:
>
I have the following setup.
For QA, 1 IIS Server (using plug-in from 6.1 SP2) forwarding all request
to a
cluster on the backend. (2 Physical Servers, 4 JVM's). I do have a firewall
in
between the IIS Server & the backend servers.
According to the docs, the IIS plug-in is supposed to establish a connection
pool
to the backend. I do not see this behavior.
I see a connection created/close per request.
So , I have 2 questions:
1. Does the IIS Plug-in use connection Pooling, Do you have to enable
it ?
2. How do I control the pool size ?
Thanks in advance,
TimDoes anyone from BEA monitor this newsgroup ?
I have also opened up a case (1 week old) with tech support and still do not have
an answer. This is very frustrating considering the cost of owning this environment.
Tim -
Can you run weblogic without a network connection?
I'm using weblogic platform 7.0. When I tried to start weblogic without a network
connection, it got some error trying to connect to www.bea.com. Presumably it's
trying to load the dtd in order to valid the deployment descriptors. If I downloaded
the dtds and changed my deployment descriptors to point to the local dtd file
urls, weblogic could be started while staying off the net. Is there a simpler
way to make weblogic (and applications deployed on it) work without a network
connection?
-hokiI had the same problem (when my DSL provider went out of business ;-)). If I
remember correctly, the problem was that I had public id in the descriptor
which didn't match weblogic's - all the dtd's needed are in the weblogic.jar.
Ho-Ki Au <[email protected]> wrote:
I'm using weblogic platform 7.0. When I tried to start weblogic without a network
connection, it got some error trying to connect to www.bea.com. Presumably it's
trying to load the dtd in order to valid the deployment descriptors. If I downloaded
the dtds and changed my deployment descriptors to point to the local dtd file
urls, weblogic could be started while staying off the net. Is there a simpler
way to make weblogic (and applications deployed on it) work without a network
connection?
-hoki--
Dimitri -
Weblogic 6.1sp3 Oracle 9i connectivity issue
All,
I need your help in overcoming a Connection Pool issue. Details are:
-Configuration - Weblogic 6.1 sp2, Oracle 9i (on a P4 machine)
-Connection pool entry (config.xml)
<JDBCConnectionPool CapacityIncrement="1" DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5"
MaxCapacity="25" Name="ejbPool" Properties="user=testuser;password=testpassword;dll=ocijdbc8;protocol=thin"
RefreshMinutes="10" ShrinkPeriodMinutes="5" Targets="myserver"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@delmtest:1521:SID"/>
While starting weblogic, I get the following exception:
<Oct 25, 2002 5:00:46 PM IST> <Error> <JDBC> <Cannot startup connection pool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
Any pointers will be greatly appreciated.
Thanks,
RajaProblem solved!! Solution was to include the correct classes12.jar file in the
CLASSPATH BEFORE weblogic.jar. This is because weblogic.jar also ships with an
oracle driver, which is 8.1.7 (not 9i).
Thanks for your help..
Joseph Weinstein <[email protected]> wrote:
>
>
Raja Raman wrote:
Full stack trace is:Yep. The pool never got created. The failure below is during pool creation,
and is definitely an Oracle internal problem. You should simplify the
problem
by trying (maybe with Oracle's help) to make a simple JDBC connection
to your DBMS, with their driver, in a simple standalone program.
joe
<Oct 25, 2002 7:38:25 PM IST> <Error> <JDBC> <Cannot startup connectionpool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(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(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.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(ConnectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(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(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.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)
>
Joseph Weinstein <[email protected]> wrote:
Raja Raman wrote:
All,
I need your help in overcoming a Connection Pool issue. Details
are:
-Configuration - Weblogic 6.1 sp2, Oracle 9i (on a P4 machine)
-Connection pool entry (config.xml)
<JDBCConnectionPool CapacityIncrement="1" DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5"
MaxCapacity="25" Name="ejbPool" Properties="user=testuser;password=testpassword;dll=ocijdbc8;protocol=thin"
RefreshMinutes="10" ShrinkPeriodMinutes="5" Targets="myserver"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@delmtest:1521:SID"/>
While starting weblogic, I get the following exception:
<Oct 25, 2002 5:00:46 PM IST> <Error> <JDBC> <Cannot startup connectionpool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)Let me see the whole stacktrace. From the pool definition, the pooleither
never got created,
or it did get created and made some successful connections, so I suspect
you may not be
actually trying to get pool connections.
Joe Weinstein at BEA
Any pointers will be greatly appreciated.
Thanks,
Raja -
Need help using weblogic.Deployer to refresh a webapp
I'm trying to refresh some jsp from a webapp deployed in exploded format
in WLS 8.1SP3
The original source files are not located on the machine or filesystem
running the admin server (the webapp is deployed on a cluster)
On WLS 6.1SP5, we use weblogic.refresh to upload the files to the admin
server and redeploy the refreshed files.
The documentation suggest to use weblogic.Deployer with WLS8.1 since
weblogic.refresh is deprecated.
I couldn't find the correct command line options to reproduced the
weblogic.refresh behaviour. Apparently it is not possible to upload the
files to the admin server and redeploy in a single step. weblogic.Deployer
expects the file to be already available to the admin server before
issuing the redeploy (using rsync, ftp or whatever). Is this correct ?
What did I miss ?
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/I thought you've got error of another type - that error is fixed by simple software update.
Regarding your case - it's always frightening in first time. Believe me - there's completely nothing to be afraid of.
Resizing C drive may result killing your DATA on it only in case of energy is down during the process. Process is taking about 15-20 minutes on slow programs and about 3-4 minutes on fast programs. That means that even having problems with electricity you'll be able to finish everything correctly running on battery.
I'd recommend using Acronis Disk director Suite, but it is not free. One of the best free progs for that are bootable Linux livecds PartedMagic and GParted. They're all intuitive understandable.
You will get your NOVO recovery feature lost after C resize, but you can enable it later, replacing that factory backup in hidden partition with your own backup - your NOVO button will restore your system with all your software and settings.
it will be good for you to start with some basic principles on partitions organization schemes - why, what for and how questions are briefly explained here. After reading this you'll be able to ask right questions to get right answers.
//help will save the world -
ADF 11g application on Weblogic 10.3 + JDBC connection to Oracle XE
Hello! i'm using Jdev 11g (not tp4) and i have Adf applicarion which uses BC4J, thereofre in jdev exists connection to DB.
When i start my application in Jdev, it starts Weblogic and deploys my application. And all works fine!
When i want to execute my Weblogic as standalone server, using Weblogic domain Administration console, i deploy my application as WAR archive
before deploy, i've been created JDBC DataSource in Weblogic server, using Weblogic webinterface (connection test was OK)
and now, when i start my application, entering application Url in internet explorer, i see that exception has ariced, her is the stack trace
{color:#0000ff}<17-Oct-2008 18:30:49 o'clock EEST> <Error> <HTTP> <xc002600109> <AdminServer> <ACTIVE ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1224257449182> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1410e0d - appName: 'nano', name: 'nano.war', context-path: '/nano', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@8f5e03[
GET /nano/faces/untitled3.jsp?_adf.ctrl-state=1797442774_7 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: oracle.uix=0^^GMT+3:00; JSESSIONID=wShvL4vT9h40V7TSNH9D84p3v4h48S992vJyWK6p0hnWflfZVpc2!652912999; ADMINCONSOLESESSION=r440L4XpGDJhhX3G1slmFdSzV3xSH51xGzhy912nTnpP2Zv1yVrQ!652912999
Pragma: no-cache
Cache-Control: no-cache
]] Root cause of ServletException.
java.lang.NullPointerException
at oracle.adf.model.bc4j.DCJboDataControl.findVariable(DCJboDataControl.java:2934)
at oracle.adf.model.binding.DCVariableImpl.resolveSourceVariable(DCVariableImpl.java:69)
at oracle.adf.model.binding.DCVariableImpl.getVariableKind(DCVariableImpl.java:162)
at oracle.jbo.common.VariableManagerImpl.doGetVariables(VariableManagerImpl.java:125)
at oracle.jbo.common.VariableManagerImpl.getVariablesOfKind(VariableManagerImpl.java:259)
at oracle.jbo.common.VariableManagerImpl.getVariables(VariableManagerImpl.java:253)
at oracle.jbo.common.VariableValueManagerImpl.doPassivateVariables(VariableValueManagerImpl.java:499)
at oracle.jbo.common.VariableValueManagerImpl.getPassivatableVariables(VariableValueManagerImpl.java:439)
at oracle.adf.model.binding.DCBindingContainer.buildFormToken(DCBindingContainer.java:4523)
at oracle.adf.model.binding.DCBindingContainerState.buildStringBuffer(DCBindingContainerState.java:56)
at oracle.adf.model.binding.DCBindingContainerState.toString(DCBindingContainerState.java:590)
at oracle.adf.model.binding.DCBindingContainer.getStateToken(DCBindingContainer.java:4293)
at oracle.adfinternal.controller.application.model.SaveStateTokenListener.afterPhase(SaveStateTokenListener.java:54)
at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:122)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:68)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
{color:#000000}i have learned about deployment descriptors and i have made additional files and changed web.xml file:
{color:#ff0000}web.xml:
{color:#000000}....{color}
{color} <resource-ref>
<description>Nano Datasource</description>
<res-ref-name>Nano_DB_connection</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
{color:#ff0000}weblogic.xml:{color}
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
<resource-description>
<res-ref-name>Nano_DB_connection</res-ref-name>
<jndi-name>Nano_DB_connection</jndi-name>
</resource-description>
</weblogic-web-app>
{color:#ff0000}weblogic-jdbc.xml:{color}
<?xml version = '1.0' encoding = 'windows-1252'?>
<jdbc-data-source xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jdbc.xsd" xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source">
<name>Nano_DB_connection</name>
<jdbc-driver-params>
<url>10.5.25.169</url>
<driver-name>oracle.jdbc.OracleDriver</driver-name>
<properties>
<property>
<name>user</name>
<value>chaosdb</value>
</property>
<property>
<name>servername</name>
<value>10.5.25.169</value>
</property>
<property>
<name>portnumber</name>
<value>1521</value>
</property>
<property>
<name>sid</name>
<value>XE</value>
</property>
</properties>
</jdbc-driver-params>
<jdbc-data-source-params>
<jndi-name>Nano_DB_connection</jndi-name>
<scope>Application</scope>
</jdbc-data-source-params>
</jdbc-data-source>
in BC4J project Model.jpx tells that bc4j uses connection named Nano_DB_connection.
in Weblogic datasource name is the same
Question: how to bind my application in weblogic to existed connection/datasource in weblogic?
how Jdev deploys and configures Weblogic server, that it works fine, but when i start THE SAME server manually, deploy application using JDEV the application execution failed (see above exception)
maybe i should use EAR profile instead of WAR, to deploy all connections and other stuff to weblogic?
{color:#ff0000}please help!!!{color}
{color}{color}Hi,
Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
Hope this helps
Blaise
Maybe you are looking for
-
Which table stores Condition Pricing Date
Dear SDN experts, Would like you to tell me which table stores Condition Pricing Date field (Sale Order Item)? Thanks, Khanh
-
Can not start instance SAP - ABAP Database is not available via R3trans
Dear all ! My OS : Linux RHEL 4U7 32bit Oracle 10G R2 32bit 10.2.0.2 when system running but power off suddenly and when power on -> i am having problem as below when i start instance SAP (Databse Oracle Started) Step 1 : I login user (ora<sid>) of
-
Recommendations for removal of adware on MacBook Pro
I am getting adware on my MacBook Pro that requires me to close Safari to get rid of it. Any suggestions how to best get rid of it, including software purchases?
-
Gen_bridge_metadata & CUDA
Hi, I recently switched to OSX and as a pythoneer, I'm amazed to what extent Python is supported on OSX. Thanks so much for that, keep it coming. I'm interested to see if I can generate a ScriptingBridge to the CUDA libs. Thing is that CUDA doesnt ha
-
BP Attachments cannot be opened
Hi all!! I have one issue: The attched url in BP is displayed in Attachments Assignment Block but the name does not appear as link and the user cannot open it. Any ideas???? Thank you in advance!!