MaxDB on OpenSolaris 2008.11 resources problem
Hello,
I have installed MaxDB 7.6.05.09 on a server with OpenSolaris 2008.11, an Intel Core Quad CPU, 8GB RAM and have other two PCs with JBoss connected to the database. After some time running (less than three hours) and the connections used when arriving at 80 (out of 400 available) database denied connections. When trying to access the MaxDB GUI console get the message '[...] cannot create semaphore".
These are some of database parameters:
MAXCPU = 4
MAXUSERTASKS = 400
MAXLOCKS = 32040
CACHE SIZE = 400000
Please, can someone help me with this problem?
Thanks in advance.
E. Lopez
Hi Markus:
output of /etc/project:
@opensolaris2:~# cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
maxdb:100:Configuracion de MaxDB:sdb::process.max-file-descriptor=(priv,2048000,deny);
process.max-sem-nsems=(priv,2048,deny);
project.max-sem-ids=(priv,4096,deny);
project.max-shm-ids=(priv,4096,deny);
project.max-shm-memory=(priv,7516192768,deny)
output of /etc/user_attr:
adm::::profiles=Log Management
dladm::::auths=solaris.smf.manage.wpa,solaris.smf.modify
lp::::profiles=Printer Management
postgres::::type=role;profiles=Postgres Administration,All
root::::type=role;auths=solaris.*,solaris.grant;profiles=All;
lock_after_retries=no;min_label=admin_low;clearance=admin_high
zfssnap::::type=role;auths=solaris.smf.manage.zfs-auto-snapshot;
profiles=ZFS File System Management
sdb::::project=maxdb
output of prjstat command:
@opensolaris2:~# prstat -cJ
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
677 sdb 4024M 2176M sleep 59 0 0:43:23 0.4% kernel/59
681 sdb 28M 6920K sleep 59 0 0:17:03 0.1% dbmsrv/1
672 sdb 22M 13M sleep 59 0 0:12:56 0.1% dbmsrv/1
5040 root 5708K 2924K cpu0 49 0 0:00:00 0.0% prstat/1
5024 alnitak 9424K 4792K sleep 59 0 0:00:00 0.0% sshd/1
5034 root 3408K 2340K sleep 49 0 0:00:00 0.0% bash/1
639 gdm 128M 49M sleep 59 0 0:01:51 0.0% gdmgreeter/1
5027 alnitak 3416K 2348K sleep 59 0 0:00:00 0.0% bash/1
670 sdb 10M 4876K sleep 59 0 0:00:54 0.0% dbmevtdisp/1
110 daemon 8748K 4556K sleep 59 0 0:00:00 0.0% kcfd/3
582 root 323M 19M sleep 59 0 0:00:57 0.0% Xorg/1
270 root 6728K 5352K sleep 59 0 0:00:00 0.0% hald/3
606 root 3804K 1540K sleep 59 0 0:00:00 0.0% fbconsole/1
396 root 2488K 1440K sleep 59 0 0:00:00 0.0% ttymon/1
633 root 2624K 1080K sleep 59 0 0:00:00 0.0% in.ndpd/1
PROJID NPROC SWAP RSS MEMORY TIME CPU PROJECT
1 50 4115M 2198M 27% 1:14:24 0.6% user.root
10 2 1768K 8848K 0.1% 0:00:00 0.0% group.staff
0 54 115M 184M 2.3% 0:03:52 0.0% system
3 1 248K 2720K 0.0% 0:00:00 0.0% default
Total: 107 processes, 310 lwps, load averages: 0.01, 0.01, 0.01
Similar Messages
-
Problems booting OpenSolaris 2008.5
Hi all,
I can not boot OpenSolaris 2008.5 / OpenSolaris 2008.11-b98 due to a very weird bug in the ata driver.
I use Dell PowerEdge SC1435 with 4-core AMD Opteron, 12Gb RAM and 2x1.5T SATAII 7200rpm disks. Very straightforward configuration, in my view. I thought that would be painless process (it is with MS Vista and Ubuntu), but after the initial messages OpenSolaris 2008.5 seems to spin in cycle spiting:
WARNING: /pci@0,9/pci1166,36@1/pci-ide@e/ide@1/cmdk@0,0 (ata3):
timeout: abort device, target=0 lun=0
WARNING: /pci@0,9/pci1166,36@1/pci-ide@e/ide@1/cmdk@0,0 (Disk1):
Error for command 'read sector' Error Level: Informational
Sense Key: aborted command
Vendor 'Gen-ATA' error code: 0x3
I read all I could about similar issues in forums and bug databases - seems like a lot of people suffer from this issue. Here is what DOES NOT HELP:
http://docs.sun.com/app/docs/doc/820-4078/ggmsj?l=ru&a=view
http://bugs.opensolaris.org/view_bug.do?bug_id=6586621
...many other suggestions to boot with options, disable this or that.
You'd think the ata driver would be the most solid part of OpenSolaris x86 by now and it is a production quality OS. What is really depressing is that even the upcoming OpenSolaris 2008.11 has the same issue.
After wasting 8 hrs this Saturday I am very, very disappointed with OpenSolaris. This is is my last desperate attempt to fix this issue before I move on to Ubuntu or something else that actually works. Thanks in advance for any help!and 2x1.5T SATAII 7200rpm disksYou running this in RAID mode? Booting with BIOS raid can be problematic since many are quirky.
WARNING: /pci@0,9/pci1166,36@1/pci-ide@e/ide@1/cmdk@0,0 (ata3)Something is odd - not sure why it sees this as ata3 (one would presume that if this wasn't an oddball
configuration, it would be ata0, or ata2).
It would be helpful to have a little more information. Does it occur on the boot cd or after it installls? What mode is your BIOS set to now? (ide/ahci). It this is off the DVD, it might be you hit this problem:
http://forums.opensolaris.com/thread.jspa?messageID=1468&tstart=0
Think that would be more current than the -
Hi:
I have a J2EE application using Connection Pool and JDBC.
I am using Weblogic 6.1 and JDK 1.3.1.
I am running into a 'No More Resource' problem. I did some debugging and think the cause is due to all my 80 database connections are used up so no new connection is available. But all the 80 connections shouldn't be used up because I did the statement.close() and rs.close() in the finally{} statement in all my DAO methods. But it seems like the connections are not released back to the free pool.
I thought I read something that I might need to do a conn.close() too in order for the connections to be returned to the pool and marked as available. Don't the statement.close() do that? Thanks for any help!
StellaAny resolution on this? We're getting the same problem - using weblogic 6.1 and jdk131. We should never reach the max # of connections specified in the pool but periodically we do. Scraped through all the code and confirmed that for every connection we call ResultSet.close; Statement.close; Connection.Close in the finally block of the try/catch statements. But we still periodically reach the max. It's sporadic so we can't reproduce. Also, after we get the error and we check the weblogic console, we see the # of active connections drop back down below the max capacity (we have shrinking turned on). Any ideas?
thx.
--S. -
OpenSolaris 2008.05 Installer problem
I am new to Solaris and i would be very to all of you who can help me with the following problem:
Description:
The following message appears on the screen:
Installation did not complete normally.
For more information see the installation log file:
<OM Oct 11 13:11:53> Timezone setting will be TZ=UTC
<OM Oct 11 13:11:53> Set timezone
<OM Oct 11 13:12:37> disk partition info changed
<OM Oct 11 10:13:29> Timezone setting will be TZ=Europe
<OM Oct 11 10:13:29> Set timezone
<OM Oct 11 10:18:27> Set user root in password and shadow file
<OM Oct 11 10:18:27> User name not specified
<OM Oct 11 10:18:27> list_ufs_db:: The entry 'naskoo' was not found in the /etc/passwd table
<OM Oct 11 10:18:27> Set user naskoo in password and shadow file
<OM Oct 11 10:18:27> Renaming table /etc/inet/AAAjnaGGb to /etc/inet/hosts
<OM Oct 11 10:18:27> Disk was changed
<OM Oct 11 10:18:27> Disk contains valid Solaris partition
<OM Oct 11 10:18:27> whole_disk = 0
<OM Oct 11 10:18:27> diskname set = c3d0
<OM Oct 11 10:18:27> Set fdisk attrs
<TIDM_E Oct 11 10:18:27> fdisk: fdisk -n -F failed. Couldn't create fdisk partition table on disk c3d0
<TIMM_E Oct 11 10:18:27> Couldn't create fdisk partition table on disk <c3d0>
<OM Oct 11 10:18:27> Could not create fdisk target
<OM Oct 11 10:18:27> TI process completed unsuccessfully
<OM Oct 11 10:18:27> ti_create_target exited with status = -1
<OM Oct 11 10:18:27> Target instantiation failed exit_val=-1
<OM Oct 11 13:20:28> Timezone setting will be TZ=UTC
<OM Oct 11 13:20:28> Set timezone
<OM Oct 11 13:20:28> Timezone setting will be TZ=UTC
<OM Oct 11 13:20:28> Set timezone
<OM Oct 11 13:20:28> Timezone setting will be TZ=UTC
<OM Oct 11 13:20:28> Set timezone
<OM Oct 11 13:21:01> disk partition info changed
<OM Oct 11 10:21:14> Timezone setting will be TZ=Europe
<OM Oct 11 10:21:14> Set timezone
<OM Oct 11 10:22:05> Set user root in password and shadow file
<OM Oct 11 10:22:05> Set user naskoo in password and shadow file
<OM Oct 11 10:22:05> Renaming table /etc/inet/AAAm7a4Jb to /etc/inet/hosts
<OM Oct 11 10:22:05> Disk was changed
<OM Oct 11 10:22:05> Disk contains valid Solaris partition
<OM Oct 11 10:22:05> whole_disk = 0
<OM Oct 11 10:22:05> diskname set = c3d0
<OM Oct 11 10:22:05> Set fdisk attrs
<TIDM_E Oct 11 10:22:05> fdisk: fdisk -n -F failed. Couldn't create fdisk partition table on disk c3d0
<TIMM_E Oct 11 10:22:05> Couldn't create fdisk partition table on disk <c3d0>
<OM Oct 11 10:22:05> Could not create fdisk target
<OM Oct 11 10:22:05> TI process completed unsuccessfully
<OM Oct 11 10:22:05> ti_create_target exited with status = -1
<OM Oct 11 10:22:05> Target instantiation failed exit_val=-1
I have a separate partition for the solaris installation (35 GB, linux-swap, primary)
I have no idea why i cannot start the installation process ?!
Thank in advance for the help!Hi all,
I am facing the same problem when I try to install oracle 10g under fedora 9
But after work around arrive to change the file which include the line the oracle check it during the installation which include fedora 9
Remove this line and run installation again after complete the installation
Restore the original file again and all thing working normally
But I don’t know if the action can be done on unix opensolaris or not
Thanks in advance -
Dear Experts
I am trying to do High Availability Installation on MSCS , and im in the stage that trying to create Central Services Instance for ABAP (ASCS) , but when i did and im trying to start the FileServer resource i face the following error:
Cluster resource 'SAPPRD' (resource type '', DLL 'clusres.dll') either crashed or deadlocked. The Resource Hosting Subsystem (RHS) process will now attempt to terminate, and the resource will be marked to run in a separate monitor.
The cluster resource host subsystem (RHS) stopped unexpectedly. An attempt will be made to restart it. This is usually due to a problem in a resource DLL. Please determine which resource DLL is causing the issue and report the problem to the resource vendor.
i have tried almost everything even destroying the cluster and the uninstallating the fail over cluster manager feature
please advice what can i do??
thanks
Sameh EssaHi Sameh,
Have u rectified this issue.we are also facing the same problem.We have installed our BI cluster systems in Windows 2008 64bit enterprise and MS sql2008 R2.The cluster resource is getting crashed and failover to the second node.The windows error log as shown below.
Log Name: System
Source: Microsoft-Windows-FailoverClustering
Date: 12/1/2011 2:29:48 AM
Event ID: 1146
Task Category: Resource Control Manager
Level: Critical
Keywords:
User: SYSTEM
Computer:
Description:
The cluster resource host subsystem (RHS) stopped unexpectedly. An attempt will be made to restart it. This is usually due to a problem in a resource DLL.
Thanks
Arun Padikkal -
I seem to be having problems with Flash Player in all my browsers when watching streaming videos. Flash Player tends to hoard a very large percentage (often 100%) of my CPU resources. The effect on my computer is frame loss. I do not have this problem on web video like netflix. I have already stopped almost all non essential processes to maximize available CPU.
My computer specs are as follows:
Chrome: Version 34.0.1847.131 m
ActiveX Version of adobe: 13,0,0,206
Plug-in Version: 13,0,0,206
Adobe Air: 13.0.0.83
------------------Overview------------------
Processor : Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz
Memory : 8156MB(1066)
Mother Board : 0Y536R
Windows Version : Microsoft Windows 7 Professional Service Pack 1
Video Adapter : ATI Mobility Radeon HD 4670
Disk Drive : OCZ-AGILITY4 ATA Device(238GB,IDE)
DVD/CD-ROM Drive : HL-DT-ST DVDRWBD CA10N ATA Device
------------------Operating System------------------
OS Name : Microsoft Windows 7 Professional Service Pack 1
OS Version : 6.1.7601
Internet Explorer : 9.11.9600.17041
DirectX : 4.09.00.0904
------------------System Devices------------------
Motherboard Name : 0Y536R
Motherboard Manufacturer : Dell Inc.
BIOS Version : A15
System BIOS Date : 04/09/11
Video BIOS Date : 09/06/09
CPU Identification : Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz
CPU Generic Name : Intel64 Family 6 Model 7 Stepping 10
CPU Vendor : GenuineIntel
CPU Frequency : 2772 MB
L1 Code Cache : Code L1 Cache, 32 KB, 8 ways, 64 byte lines
L1 Data Cache : Data L1 Cache, 32 KB, 8 ways, 64 byte lines
L2 Cache :
CPU Socket : U2E1
Core Per Package : 2
Logical Per Core : 2
------------------Drives------------------
(C:)
Disk Letter : C:
Device Type : Local Fixed Disk
File System : NTFS
Total Bytes : 255,953,203,200 B
Bytes Free : 88,843,386,880 B
Bytes Used : 167,109,816,320 B
File Compression Enabled : Yes
Volume is Compressed : No
Long File Name Enabled : Yes
Unicode File Name Enabled : Yes
Encrypted File System : Yes
Numbers of Clusters : 62,488,575
Free Clusters : 21,690,280
Used Clusters : 40,798,295
Bytes per Cluster : 4,096 bytes
Sectors per Cluster : 8
Used Sectors : 326,386,360
Free Sectors : 173,522,240
Bytes per Sector : 4,096 bytes
Total Sectors : 499,908,600
-----------------Display------------------
Device Description : ATI Mobility Radeon HD 4670
Adapter String : ATI display adapter (0x9488
BIOS String : -
Chip Type : ATI display adapter (0x9488)
DAC Type : Internal DAC(400MHz)
Driver Date : 2013-04-29
Driver Version : 8.970.100.1100
Driver Provider : Advanced Micro Devices, Inc.
Memory Size : 1024 MB
------------------Network------------------
Network Adapter : Bluetooth Device (Personal Area Network)
Network Adapter : Broadcom NetLink (TM) Gigabit Ethernet
Network Adapter : Intel(R) WiFi Link 5300 AGN
------------------Other Devices------------------
Bluetooth Hands-free Audio
AMD High Definition Audio Device
IDT High Definition Audio CODECProblem is with Adobe On-line installer of Flash player, which is very buggy and almost always crashes with some error. Please use full Off-line installer of Flash player, download from here:
http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_f lash_player_11_osx.dmg -
K9N Platinum onboard ethernet resource problem
I am having a problem getting my onboard ethernet to work on the MSI K9N Platinum motherboard.
The device manager is giving me Error Code 12 which stands for Not enough available resources.
I have tried everything short of reinstalling Windows to get this resolved. This is a fresh windows install. Right after the install I installed the chipset drivers. Since then I have reinstalled the drivers, disabled anything that I am not using in the device manager, and even disabled everything but the onboard lan and IDE controller in the bios. Nothing has worked.
Does anybody know what I could do to get the onboard ethernet to work?
Specs:
AMD AM2 3800X2
MSI K9N Platinum (non-SLI)
Old Nvidia PCI graphics card (X1800XT is not working)
Western Digital IDE 80 gig hard drive
Generic DVD burner
XCLIO 450 watt power supplyQuote from: syar2003 on 08-July-06, 15:19:54
Did you use the "Load Optimized Defaults" in cmos settings before win-install.
Sounds to me windows didn't install the correct HAL ,meaning you may have had wrong bios settings for ACPI & MPS.
This worked. I just did a repair install of windows after loading optimized defaults in bios. Thanks for the help. -
Windows Server 2008 R2 problem
Hi there
I'm a newbie to Flash media server and I would like to explore its usage.
Does any one have experience with Flash Media Server 3.5.3 running on Windows Server 2008 R2? I installed FMS on my Windows Server 2008 R2, but the admin console cannot start.
By the way, I installed FMS on a Windows Server 2003 32-bit machine. And I'm able to use the admin console on Server 2003 to connect to the Server 2008 R2 installation.
Also, I have a separate disk that is used to hold the media content to be streamed via FMS. How can I configure FMS to use that disk as root for media file instead of using "c:\program files (x86)\...\webroot\vod"
Thanks very much in helping me to start the project.
Best Regards
Steve YauForThanks very much for your prompt response.
For (1), if I start "Flash Media Administration Console" from the Start menu, an IE prompts up and it tries to open "c:\program files(x86)\Adobe\Flash Media Server 3.5\tools\fms_adminConsole.htm" with the following in the information bar:
"An add-on for this website failed to run. Check the security settings in Internet Options for potential conflicts"
I thought it was the problem of flash player that cannot be run on 64-bit IE, so i tried 32-bit IE, but still in vain. I also tried to install flash player using 32-bit IE on Windows server 2008 R2 but the installation cannot start.
The FMSAdmin service is surely running with firewall configured. I've also installed FMS on another Windows Server 2003 32-bit. There I can start the admin console and connect to the Windows Server 2008 R2 FMSAdmin service.
For (2), I've added the line as per your kind help. But my question will be: How can I test whether my FMS is correctly streaming the video? For Windows Media Service, I can easily open URL in WMP and the streaming can be verified easily. But I don't know how to test FMS setup from web client side. Any clues? For your information, I don't have Adobe Flash or Dreamweaver stuff.
Thanks again for your kind help
Regards
Steve Yau -
SSRS-2008 reports problem in DMP 4400 standalone(tvzilla)
Hi guys,
Does anyone knows how I can to render SSRS-2008 reports in DMP 4400 standalone and its browser(tvzilla = Firefox 2.0.0.18) ?
My frimework version on DMP is 5.4.1(lastest)
I google for it and found something like an answer, but it seems to be mostly for Safari and Chrome...
http://stackoverflow.com/questions/5968082/ssrs-2008-r2-ssrs-2012-reports-are-blank-in-safari-and-chrome
Thank you in advance !
Regards,
Hristo.Hoang,
In SSRS 2005, white spaces are automatically ignored. But in 2008 this behavior gets changed and by default whitespaces are not ignored. But, There is Report property
ConsumeContainerWhitespace which is set to False by default. We can remove blank space at end by setting
ConsumeContainerWhitespace to true.
The logic to prevent the unnecessary pagebreak is
- ReportBody width should be less then Pagesize(width) – Left Margin – Right Margin
- ReportBody height should be less then Pagesize(Height) – Top Margin – Bottom Margin – Header height – Footer height
Thanks, Sandip Please "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful. -
Crystal 2008 install problems with DLL
Hello,
When I try to install Crystal Reports 2008 there was an error message:
Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\cr_report.dll failed to register. HRESULT -2147024769. Contact your support personnel.
I downloaded and ran Dependency Walker which highlighted three issues. The first was a missing MSJAVA.dll which I downlaoded and installed. There are now two remaining dependency issues:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
These relate to LIBOCAHELPERW-4-0.DLL and MPR.DLL.
Please can someone help as this problem seems to stop me being able to upload Crystal Reports to BOXI.
Thank you,
JulianLooking at my system, I do not have cr_report.dll...
Can you zip up and send that dll to Ludek.Uher @ SAP.com?
(remove the spaces in above email)
Ludek -
Crystal Reports 2008 Some problems
I'm facing few problems with Crystal Reports 2008 :
1. When you desing a reports that have its page height greater than its width the reports force you to use a Landscape even if you select portrait. this cause problem on most dotmatrix printers as they prints Landscape pages Veritically.
2. When you design a reports with paper sise A4 and set it to Landscape you cannot drow a box or line that can be longer than the page width or even move it to the right edge or the report.
3. When you double click on a report to open it with Crystal reports 2008 it bacame busy and you have to Switch to Crystal reports 2 or 3 times before it open the report.
ThanksHi
This is with reference to your first query:
Printing issues usually depend on the printer drivers; so would suggest you to update the driver to the latest version; For more information related to the Printer.
http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf.
The issue occurs when width(Horizontal) is greater than height(Vertical).
then it takes the page orientation as Landscape automatically however with Crystal Report Base version it gives the desired output.
Hope this informationis helful to you.
Regards
Asha. -
Crystal Reports 2008 - startswith problem
Hi,
I'm encountering a problem with the "startswith" function.
We have an application that is capable to run custom made reports by our users.
One of this reports has used the record selection formulas to filter out some data. And here is where the fun starts. When we open the report with our application (VB.Net 1.1) it works fine.
Meaning that when we leave some parameters empty, he doesn't take those for the filter.
Now when we open the same report under our newer application (VB.Net 2.0) without changing any code (to fill in the parameters etc.), it doesn't work anymore.
Here is the formula that is used in the record selection:
{Command.breedtecode} startswith {?breedte} and
{Command.lokatie} startswith {?lokatie} and
{Command.stocktype} startswith {?stocktype} and
{Command.materiaalgroep} startswith {?materiaalgroep} and
{Command.kwaliteitscode} startswith {?kwaliteit} and
{Command.kleur} startswith {?kleur} and
{Command.conformiteit} startswith {?conformiteit}
The user told me he had used startswith, because the parameters are optional.
The other thing is, that if i run the report in the designer, it works fine.
Is it possible that there is a change in filling in parameters between 1.1 and 2.0?
Any help would be most appreciated.
Grtz TsjelleHi there,
Here's the information:
The working application in 1.1 is:
VS2003 --> v 7.1.6030
.NET Framework 1.1 --> v 1.1.4322 SP1
The not working application in 2.0 is:
VS2008 --> v 9.0.21022.8 RTM
.Net Framework 3.5 (no extra version info found)
It's a windows application.
It's a development issue.
We're now working with CR Developer 2008, v 12.0.0.549 and the product type is the Full Version.
Grtz Tsjelle -
Resource problem when running Entity Bean
Hi,
can someone please help me with the following problem I am getting
weblogic.common.ResourceException: No resources available
at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
java:568)
at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
java:400)
at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
cator.java:368)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
ava:166)
at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
Pool.java:127)
at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
Source.java:194)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:219)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
ersistenceManager.java:313)
at CatalogueCMPEJB_WebLogic_CMP_RDBMS.__WL_exists(CatalogueCMPEJB_WebLog
ic_CMP_RDBMS.java:1381)
at CatalogueCMPEJB_WebLogic_CMP_RDBMS.__WL_create(CatalogueCMPEJB_WebLog
ic_CMP_RDBMS.java:1351)
at CatalogueCMPEJB_WebLogic_CMP_RDBMS.ejbPostCreate(CatalogueCMPEJB_WebL
ogic_CMP_RDBMS.java:1257)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:583)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at CatalogueCMPBean_knt3og_HomeImpl.create(CatalogueCMPBean_knt3og_HomeI
mpl.java:84)
at CatalogueMgrBean.createBook(CatalogueMgrBean.java:32)
at CatalogueMgrBean_pt5olq_EOImpl.createBook(CatalogueMgrBean_pt5olq_EOI
mpl.java:259)
at CatalogueMgrBean_pt5olq_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:257)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
thanks in advance,
Jason :)Increase the max. count on JDBC Connection pool, also as a good practice close
any openconnection after doing any BMP.
V
"ajay" <[email protected]> wrote:
>
Hi ,
this exception might also occur if u r not using an entity bean but using
the
conection pool to get connections and not closing them
what happens is the connection in the pool are exausted and it throws
a no resources
available exception.
regards
ajay
"Neeraj" <[email protected]> wrote:
"Jason" <[email protected]> wrote:
Hi,
can someone please help me with the following problem I am getting
weblogic.common.ResourceException: No resources available
at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
java:568)
at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
java:400)
at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
cator.java:368)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
ava:166)
at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
Pool.java:127)
at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
Source.java:194)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:219)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
ersistenceManager.java:313)
at CatalogueCMPEJB_WebLogic_CMP_RDBMS.__WL_exists(CatalogueCMPEJB_WebLog
ic_CMP_RDBMS.java:1381)
at CatalogueCMPEJB_WebLogic_CMP_RDBMS.__WL_create(CatalogueCMPEJB_WebLog
ic_CMP_RDBMS.java:1351)
at CatalogueCMPEJB_WebLogic_CMP_RDBMS.ejbPostCreate(CatalogueCMPEJB_WebL
ogic_CMP_RDBMS.java:1257)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:583)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at CatalogueCMPBean_knt3og_HomeImpl.create(CatalogueCMPBean_knt3og_HomeI
mpl.java:84)
at CatalogueMgrBean.createBook(CatalogueMgrBean.java:32)
at CatalogueMgrBean_pt5olq_EOImpl.createBook(CatalogueMgrBean_pt5olq_EOI
mpl.java:259)
at CatalogueMgrBean_pt5olq_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:257)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
thanks in advance,
Jason :)-------------
Its failing in ejbPostCreate, i.e. entering record in the database involving
CMR
fields. Please check your relationships in *.xml files. -
Visual Studio 2008 & Oracle Problem
Hi there,
I've been going through a bunch of legacy reports in a project I support, they had got out of date with the database, so I was verifying the database for each one.
They use data from an Oracle 10g database using a mixture of tables and views. The first report I came across that used a view gave me the following error:
"The database table 'HIGHEST_CLIENT_LOSS_V' cannot be found. Proceed to remove this table from the report?"
I don't want to remove the view as it is needed, so I went into the Database Expert to try and locate it. I opened up the ODBC connection we use to connect to the DB, and navigated to the required schema. Previously this showed Tables, Views and Stored Procs, but now only shows Tables and Stored Procs.
Has anyone else come up against this problem? Or have any idea what could cause it?
I'm using Visual Studio 2008 Team System Development Edition, Oracle 10g database and ODP.Net 10.2 client/ODBC driver.
I've never had this problem before.
Thanks in advance for any assistance!
James SimmJames,
I'm not sure what Crystal functionality is available in VS but try right clicking on the datasource > options and in the Data Explorer section you can select whether to see views, SPs, or tables.
As well with the CR Designer there is a default limit of 8000 Database objects that CR will see. If that limit is reached then it stops dispalying objects past that limit. Try just selecting Views in the Options and if you can then see the views you can increase the default limit within the registry (*Note that it is always a good idea to backup the registry before editing). The key would be HKEY_CURRENT_USER > Software > business objects or Crystal decisions > Suite (version) > Crystal Reports > FetchOptions > NTablesMax -
MS SQL Server 2008 performance problem
We use TopLink 10.1.3.5 to connect to MS SQL Server 2008.
What we are seeing is that when a query is being run by TopLink a lot of cursors open up and remain open. Our database CPU usage goes up and it affects the whole application.
Our DBA took a look at it and said the database shows FETCH_APICURSOR* being used for select statements.
Is there a way to tell TopLink not to use cursors for queries?
Thanks.Can you pin point a particular TopLink query tied to the " FETCH_APICURSOR* " call in the app and post how it is being created?
My guess is that the application is specifying the TopLink query object to return a cursor or stream and not closing it in all cases, or keeping them open for a long period - did you say they were leaking, or is it just that a large number are open at a time leading to performance problems?
This streams+cursors are described in the TopLink docs here
http://docs.oracle.com/cd/E21764_01/web.1111/b32441/qryadv.htm#CJGJBHGJ
or the 10g docs here:
http://sqltech.cl/doc/oas10gR3/web.1013/b13593/qryadv010.htm
If this is the case, you might want to use a different strategy such as pagination instead of cursors, described here:
http://docs.oracle.com/cd/E17904_01/web.1111/b32441/optimiz.htm#CHDIBGFE
Best Regards,
Chris
Maybe you are looking for
-
THe picture gallery functions are primative at the best Notes on the Picture gallery
I played with it this week-end for a while (Olivia did not come to visit so resorted to something to keep me busy). 1) To create a new gallery I had to go the the albumn selection screen (don't click into a albumn!) and add a picture. During that seq
-
Kde4-config: command not found (after upgrade of kde4 to version 4.6)
When I upgraded my KDE desktop to latest version, it seems that it has removed the kde4-config command. Unfortunately I don't know which package it belongs to? I get the error when I execute startkde script from ~/.xinitrc I have tested to re-install
-
Regarding Attribute Change Run failure.
Dear All, We have a process chain which contains many meta chains. Now in each chain i mean meta chain there are attribute change runs We have desegregated the attribute change run. is tere any method to place a check for attribute change run locks b
-
Mac Mini G4 shuts down during boot-up
Hi All, Just upgraded a G4 Mac Mini to Leopard, all was going fine until today. I just ran software update to install the very latest Security Update along with MobileMe and now the following happens: the machine starts to boot up as normal - grey sc
-
Error in Display Condition Records
Dear All, I am getting the following error when I am trying to display the condition reocrds for a particular Condtion type. <b>Internal error: T IVAKE F IVAKE_INSERT I MV130F0I</b> Can any one tell me what could be the reason. Thanks in advance