Activate DM in 10g?
Hi pals, I got a problem while following the 9i Data Mining Admin guide to activate the data mining. In which I need to activate the odm and odm_mtr user at the beginning, however those users are not existed in my database. I checked the database in DBCA and found that the data mining option is included. So is there any one knows how to solve this problem? Also is there any difference on the activation process between 9i and 10g? Thank you very much in advance.
P.S. Both 10g and db are new install.
Regards,
Eddie
In 10g there a two new schemas for Data Mining: DMSYS for the repository and a new one for the odm users. You must first unlock the dmsys account and then build the user schema with the script $ORACLE_HOME/dm/admin/odmuser.sql <username> <password> <tablespace>.
You must use the new ODM Client 10g for DB 10g, with the ODM Browser you must have a DB 9x.
Similar Messages
-
Dear all
how to activate archives on 10g
i think it is lillt bit defernt from 9i;
below code does nt work
*.log_archive_start=true
*.log_archive_dest='/u01/app/oracle/Archives'
*.log_archive_format=SID_%s_%t_%r.arc
Please helpSetting the initialization parameters is required but not enough, you should verify if your database is already in archivelog mode, to check this you can verify it from a sqlplus prompt:
SQL> ARCHIVE LOG LIST
If this shows you are on archivelog mode then this should start generating the archivelog files at the target location.
Otherwise, you will have to set database in archivelog mode. Startup the database up to the mount point (make sure you have shutdown it with normal/immediate or transactional)
SQL> STARTUP MOUNT
SQL> ALTER DATABASE ARCHIVELOG
SQL> ALTER DATABASE OPEN
Your database will be in archivelog mode now.
~ Madrid
http://hrivera99.blogspot.com/ -
Activate 3Gb option in Windows Database Oracle 10g
Hi
We are facing ORA 4030 - Oracle Out of memory issues after upgrade to Oracle 10.2.0.4 (32 Bit Machine).
We want to activate the 3GB option in Windows by adding /3GB at the end of boot.ini file.
We will make sure to take the backup of boot.ini file.
But
One of the prerequisite is
An additional prerequisite for using 3GB of address space is a corresponding indicator in the header of the executable. You use this indicator to signal to NT that the application (ORACLE.EXE) can work with
3GB of address space. If this indicator is not set, this means that only 2GB is available to the application, even though you are using the 3GB option and the NT Enterprise Edition.
1. How can we put the corresponding indicator in the header of the executable?
2. And in which Executable?
Much appreciate the response..
RegardsHello Rajesh,
you don't havt to changa any executable.
You just have to add the entries /PAE /3GB to your boot.ini.
The user account under which Oracle Database runs (SAPSERVICESID), must have the "Lock memory pages" Windows 2000 and Windows XP privilege.
USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the initialization parameter file for the database instance that will use VLM support. If this parameter is not set, then Oracle Database 10g Release 1 (10.1) or later behaves in exactly the same way as previous releases.
Initialization parameters DB_BLOCK_BUFFERS and DB_BLOCK_SIZE must be set to values you have chosen for Oracle Database.
Dynamic SGA and multiple block size are not supported with VLM. When VLM is enabled, the following new buffer cache parameters are not supported:
DB_CACHE_SIZE
DB_2K_CACHE_SIZE
DB_4K_CACHE_SIZE
DB_8K_CACHE_SIZE
DB_16K_CACHE_SIZE
DB_32K_CACHE_SIZE
To select the block size for the instance, use the initialization parameter DB_BLOCK_SIZE. The buffer cache size is set by the initialization parameter DB_BLOCK_BUFFERS.
Registry parameter AWE_WINDOW_MEMORY must be created and set in the appropriate key for your Oracle home. This parameter is specified in bytes and has a default value of 1 GB. AWE_WINDOW_MEMORY tells Oracle Database how much of its 3 GB address space to reserve for mapping in database buffers.
This memory comes from the 3 GB virtual address space in Oracle Database, so its value must be less than 3 GB. Setting this parameter to a large value has the effect of using more of the address space for buffers and using less AWE memory for buffers. However, since accessing AWE buffers is somewhat slower than accessing virtual address space buffers, Oracle recommends that you tune these parameters to be as large as possible without adversely limiting database operations.
In general, the higher AWE_WINDOW_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle Database. The lower AWE_WINDOW_MEMORY is set, the lower the performance.
Once this parameter is set, Oracle Database can be started and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced because more Oracle Database data blocks can be cached in the System Global Area (SGA).
For more details please see ...
SAP Note 441663 - USING > 3 GB of memory for Oracle on WINDOWS platforms
or
http://download.oracle.com/docs/cd/B19306_01/win.102/b14304/architec.htm#i1005826
Regards
Sascha -
How to activate OEM in oracle 10G
Hi, I want to know how to activate oracle enterprise manager, not grid control. This is and old database in oracle 10g,
running in IBM server with OS AIX 5.3. It was unused, but now we need to execute some process in it, and I need a tool
to help with this process.
I got other databases in other server, but they are in clusters (RAC), with these DBs I don't have any problems,
when I go to ORACLE_HOME/bin I see emctl, but in the old db when I go to ORACLE_HOME/bin
I don't see emctl. My doubt is, how can I activate OEM in this DB? Do I need to download something?
Thanks for your help.
ANGHi mnazim;
I executed the command and I got this:
INFO: Repository successfully created
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig updateReposVars
SEVERE: File/directory /home/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log for more details.
Could not complete the configuration. Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log
for more details.
I verified the aforementioned log and these are the last lines:
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Error executing /home/oracle/product/10.2.0/sysman/admin/scripts/emca/emcaDbUtil
/home/oracle/product/10.2.0/perl/lib:/home/oracle/product/10.2.0/perl/lib/site_perl:/home/oracle/product/10.2.0/sysman/admin/scripts:/home/oracle/product/10.2.0/bin:
%s_perlBin%/perl /home/oracle/product/10.2.0/sysman/admin/scripts/emca/emcaDbUtil.pl /home/oracle/product/10.2.0 IPTVLAB SYS SYSDBA declare repos_pwd varchar2(30);
view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user);
select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN
execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Failed to unlock mgmt_view account
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /home/oracle/product/10.2.0/cfgtoollogs/emca/MDBLAV/emca_2009-10-28_11-26-52-AM.log for more details.
Oct 28, 2009 11:27:58 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:253)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
This is the line in emca_2009-10-28_11-26-52-AM.log (another log) in same dir as previous.
SP2-0310: unable to open file "/home/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"
Thanks for your help. -
Satellite S50D-A-10G - Windows cannot activate at this time
Good Afternoon One & All
Can anybody help or advise me please on a few issues that I am having.
I have a Toshiba Satellite S50-D, which I bought from Laptop Outlet Ltd through Amazon in Setember 2014.
Was really happy with it until recently.
I activated Windows 8.1 when I first received it but just lately I am getting messages saying that I need to activate Windows.
This I have tried to do several times & each time that I do the screen shows that " Windows cannot activate at this time please try later " I dont get get a telephone option to phone, and so am confused as to why I am being asked to re-activate.
I tried to contact the vendor who told me to contact Microsoft, this I did & was told that the product key that came with my laptop is for Windows7 or Windows 8 not 8.1, he told me to get in touch with Toshiba for a new Product code,this I did & after an hour on the phone where the Toshiba engineer remotely went through my laptop informed me that I have a trojan (which Norton nor Eset Nod 32 discovered BTW) & that he could sell me an AV software for 99, at no point did he try to give me any advise on why the product ID would not work nor did he try to give me another code to try.
Is anybody else out there finding that they are being asked to re-activate Windows 8.1 which comes pre-installed on their laptops or anyone who knows how to fix this issue?
Sorry for the long winded post, but needed to vent as getting quite frustrated & dont really want to take laptop back to factory settings & lose all my stuff.
StephenHi Stephen.
Just some essential information:
the notebook was preinstalled with Win 8.1 64bit OS.
This OS is preconfigured and will be activated automatically connection the notebook to internet for the first time!
More info:
Windows 8 has not been automatically activated after the first boot of your new Notebook
http://aps2.toshiba-tro.de/kb0/TSB2A03ET0000R01.htm
if the system cannot be activated even connection to the internet, perform the HDD recovery and try again.
You said you are novice: well, the notebook contains preinstalled user manual. I recommend you to read the whole document.
There you can find necessary and useful info about the notebook. -
DBCA errors while installing Oracle 10g on Windows 7
Hi all,
I'm trying to install Oracle 10g database on Windows 7 operating system. Software is installed without any error. But it gets following exceptions while running dbca from $ORACLE_HOME/bin/ directory...
java.lang.NullPointerException
at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:553)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(
OiicStandardInventorySession.java:426)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS
tandardInventorySession.java:254)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS
tandardInventorySession.java:229)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS
tandardInventorySession.java:178)
at oracle.sysman.emcp.util.OUIInventoryUtil.getInstallInventory(OUIInven
toryUtil.java:117)
at oracle.sysman.emcp.util.OUIInventoryUtil.getAllCentralAgentHomeLoc(OU
IInventoryUtil.java:586)
at oracle.sysman.emcp.util.CentralAgentUtil.getCentralAgentHomeAndURL(Ce
ntralAgentUtil.java:296)
at oracle.sysman.emcp.EMConfig.getCentralAgentHomeAndURL(EMConfig.java:6
16)
at oracle.sysman.assistants.util.OsUtilsBase.enumerateAgents(OsUtilsBase
.java:1638)
at oracle.sysman.assistants.dbca.ui.ManagementOptionsPage.initializePage
(ManagementOptionsPage.java:402)
at oracle.sysman.assistants.util.wizard.WizardPageExt.onSetActive(Wizard
PageExt.java:94)
at oracle.sysman.assistants.dbca.ui.ManagementOptionsPage.onSetActive(Ma
nagementOptionsPage.java:482)
at oracle.sysman.assistants.util.wizard.WizardExt.wizardSelectionChanged
(WizardExt.java:166)
at oracle.ewt.wizard.BaseWizard.processWizardEvent(Unknown Source)
at oracle.ewt.wizard.BaseWizard.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at oracle.ewt.wizard.BaseWizard.selectPage(Unknown Source)
at oracle.ewt.wizard.BaseWizard.doNext(Unknown Source)
at oracle.sysman.assistants.util.wizard.WizardExt.doNext(WizardExt.java:
237)
at oracle.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)
at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at oracle.ewt.button.PushButton.activate(Unknown Source)
at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source)
at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
It might be possible that I'm using wrong installation source for the same. It would be nice if anyone can lemme know which link from http://download.oracle.com to access for Oracle 10g R2 source on Windows 7?
Can anyone pls help me out to solve this query??
Thanks in anticipation.At which point did it occur to you that Windows 7 was developed and released after any version of Oracle 10g and was both uncertified and untested on this platform? ;)
10g will fall off the cliff into desupport in just two weeks. Toss it out and install 11.2.0.1. -
Installation of Oracle AS 10g on Red Hat ES 3.0
Installation of Oracle AS 10g on RedHat ES 3.0 (All issues are cleared and u will b done with no error like Java Configuration Failed and make files errors)
Red Hat Enterprise Linux 3 Custom Installation
Copy from OTN Note
Start
Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
1. Boot the server using the first CD.
o You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
o Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
o The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
3. Language Selection
o Accept the default.
4. Keyboard Configuration
o Accept the default.
5. Welcome Screen
o Click on Next.
6. Mouse Configuration
o Accept the default.
7. Installation Type
o Select Custom.
8. Disk Partitioning Setup
o A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
(WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
This article uses the following partitioning scheme, with ext3 for each filesystem:
The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
- 100MB /boot partition
-1,500MB swap partitionâSet this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
-7,150MB root partitionâ This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
9. Boot Loader Configuration
o Accept the default.
10. Network Configuration
o It is usually best to configure database servers with a static IP address. To do so, click on Edit.
o A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
o In the Hostname box, select manually and enter the hostname.
o In the Miscellaneous Settings box, enter the remaining network settings.
11. Firewall Configuration
o For the purposes of this walk-through, no firewall is configured. Select No firewall.
12. Additional Language Support
o Accept the default.
13. Time Zone Selection
o Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
14. Set Root Password
o Enter a password for root, and enter it again to confirm.
15. Package Group Selection
o Select only the package sets shown here. Leave all others unselected.
o Desktop
- X Window System
- Gnome
- KDE
- See my comments in the RHES 2.1 section regarding choice of GUI.
o Applications
- Editors
- Graphical Internet
o Servers
- Do not select anything in this group.
o Development
- Development Tools
o System
- Administration Tools
o Red Hat Enterprise Linux
- Do not select anything in this group.
o Miscellaneous
- Legacy Software Development
o Click on Next to proceed.
16. About to Install
o Click on Next.
17. Installing Packages
o Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
18. Graphical Interface (X) Configuration
o Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
19. Monitor Configuration
o Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
20. Customize Graphical Configuration
o Accept the defaults.
21. Congratulations
o Remove the installation media from the system, and click on Next.
22. The system automatically reboots and presents a new welcome screen.
o Click on Next.
23. License Agreement
o Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
24. Date and Time
o Set the Date and Time.
o If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
25. User Account
o Create an account for yourself.
o Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
26. Red Hat Network
o If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
27. Additional CDs
o Click on Next.
28. Finish Setup
o Click on Next.
29. A graphical login screen appears.
30. Congratulations! Your Linux software is now installed.
End of OTN Note
Now just install compat-db-4.0.14-5.i386.rpm
Gnome-libs-1.4.1.2.90-34.1.i386.rpm
Libpng10-1.0.13-8.i386.rpm
ORBit-0.5.17-10.4.i386.rpm
Install patch 3006854
Copy libcwait.so file from /etc to /lib
And make links
mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln âsf /usr/bin/gcc296 /usr/bin/gcc
ln âsf /usr/bin/g++296 /usr/bin/g++
Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 256 65000 200 256
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmnb=65556
kernel.msgmni=4096
Then restart the computer
Login with Oracle user
now path setting as
I have done this by make two environment files
Infra.env
TMP=/tmp
Export TMP
TMPDIR=$TMP
Export TMPDIR
ORACLE_BASE=/oracle
Export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/appsrv/infra
Export ORACLE_HOME
ORACLE_SID=asdb (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
Export ORACLE_SID
PATH=/usr/bin:/usr/sbin
Export PATH
PATH=$PATH:$ORACLE_HOME/bin (u can include command paths like dcm as u needed)
Export PATH
LD_ASSUME_KERNEL=2.4.19
Export LD_ASSUME_KERNEL
Copy this file with name as.env and change ORACLE_HOME from infra to as.
. ./infra.env
DISPLAY=localhost:0.0; export DISPLAY
Xhost +
Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
Start installation from CD 1 .
. ./runInstaller
Press Y (There is no need to disturb, upgrade, degrade any package)
Press Y
Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
] âo [ and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
There will no error in installation in infrastructure
Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructureâs installation plz rename that 3 files as
Mv coredb coredb-infra
Mv dbhome dbhome-infra
Mv ora ⦠oraâ¦-infra
If u overwrite that files by creating same name of middle tier files no problem.
When problem comes?
AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
Zeeshan
@CES
[email protected]Hi,
I tried uname -a and it returns the following:
Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
We have the following problems:
1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
oracleasmlib-1.0.0-1.i386.rpm \
oracleasm-support-1.0.3-1.i386.rpm \
When I tried to install these files, I got the following error:
Checking for Red Hat enterprise kernel: [FAILED]
Also when I try to run /etc/init.d/oracleasm , I get the same error
Checking for Red Hat enterprise kernel: [FAILED]
2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
[root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
then tried this:
SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
2 failgroup c1 disk '/dev/raw/raw1'
3 failgroup c2 disk '/dev/raw/raw2';
create diskgroup dg1 normal redundancy
ERROR at line 1:
ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
[3939617408], [], [], [], [], []
ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
Any help is appreciated.
Irshad A. Buchh
Senior Principal Consultant -
Installation of OracleAS 10g on Red Hat Linux ES 3.0
Installation of Oracle AS 10g on RedHat ES 3.0
Red Hat Enterprise Linux 3
Copy from OTN Note
Start
Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
1. Boot the server using the first CD.
o You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
o Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
o The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
3. Language Selection
o Accept the default.
4. Keyboard Configuration
o Accept the default.
5. Welcome Screen
o Click on Next.
6. Mouse Configuration
o Accept the default.
7. Installation Type
o Select Custom.
8. Disk Partitioning Setup
o A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
(WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
This article uses the following partitioning scheme, with ext3 for each filesystem:
The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
- 100MB /boot partition
-1,500MB swap partitionâSet this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
-7,150MB root partitionâ This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
9. Boot Loader Configuration
o Accept the default.
10. Network Configuration
o It is usually best to configure database servers with a static IP address. To do so, click on Edit.
o A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
o In the Hostname box, select manually and enter the hostname.
o In the Miscellaneous Settings box, enter the remaining network settings.
11. Firewall Configuration
o For the purposes of this walk-through, no firewall is configured. Select No firewall.
12. Additional Language Support
o Accept the default.
13. Time Zone Selection
o Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
14. Set Root Password
o Enter a password for root, and enter it again to confirm.
15. Package Group Selection
o Select only the package sets shown here. Leave all others unselected.
o Desktop
- X Window System
- Gnome
- KDE
- See my comments in the RHES 2.1 section regarding choice of GUI.
o Applications
- Editors
- Graphical Internet
o Servers
- Do not select anything in this group.
o Development
- Development Tools
o System
- Administration Tools
o Red Hat Enterprise Linux
- Do not select anything in this group.
o Miscellaneous
- Legacy Software Development
o Click on Next to proceed.
16. About to Install
o Click on Next.
17. Installing Packages
o Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
18. Graphical Interface (X) Configuration
o Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
19. Monitor Configuration
o Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
20. Customize Graphical Configuration
o Accept the defaults.
21. Congratulations
o Remove the installation media from the system, and click on Next.
22. The system automatically reboots and presents a new welcome screen.
o Click on Next.
23. License Agreement
o Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
24. Date and Time
o Set the Date and Time.
o If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
25. User Account
o Create an account for yourself.
o Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
26. Red Hat Network
o If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
27. Additional CDs
o Click on Next.
28. Finish Setup
o Click on Next.
29. A graphical login screen appears.
30. Congratulations! Your Linux software is now installed.
End of OTN Note
Now just install compat-db-4.0.14-5.i386.rpm
Gnome-libs-1.4.1.2.90-34.1.i386.rpm
Libpng10-1.0.13-8.i386.rpm
ORBit-0.5.17-10.4.i386.rpm
Install patch 3006854
Copy libcwait.so file from /etc to /lib
And make links
mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln âsf /usr/bin/gcc296 /usr/bin/gcc
ln âsf /usr/bin/g++296 /usr/bin/g++
Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 256 65000 200 256
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmnb=65556
kernel.msgmni=4096
Then restart the computer
Login with Oracle user
now path setting as
I have done this by make two environment files
Infra.env
TMP=/tmp
Export TMP
TMPDIR=$TMP
Export TMPDIR
ORACLE_BASE=/oracle
Export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/appsrv/infra
Export ORACLE_HOME
ORACLE_SID=asdb (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
Export ORACLE_SID
PATH=/usr/bin:/usr/sbin
Export PATH
PATH=$PATH:$ORACLE_HOME/bin (u can include command paths like dcm as u needed)
Export PATH
LD_ASSUME_KERNEL=2.4.19
Export LD_ASSUME_KERNEL
Copy this file with name as.env and change ORACLE_HOME from infra to as.
. ./infra.env
DISPLAY=localhost:0.0; export DISPLAY
Xhost +
Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
Start installation from CD 1 .
. ./runInstaller
Press Y (There is no need to disturb, upgrade, degrade any package)
Press Y
Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
] âo [ and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
There will no error in installation in infrastructure
Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructureâs installation plz rename that 3 files as
Mv coredb coredb-infra
Mv dbhome dbhome-infra
Mv ora ⦠oraâ¦-infra
If u overwrite that files by creating same name of middle tier files no problem.
When problem comes?
AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
Zeeshan Ali
@CES
[email protected]Hi,
I tried uname -a and it returns the following:
Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
We have the following problems:
1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
oracleasmlib-1.0.0-1.i386.rpm \
oracleasm-support-1.0.3-1.i386.rpm \
When I tried to install these files, I got the following error:
Checking for Red Hat enterprise kernel: [FAILED]
Also when I try to run /etc/init.d/oracleasm , I get the same error
Checking for Red Hat enterprise kernel: [FAILED]
2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
[root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
then tried this:
SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
2 failgroup c1 disk '/dev/raw/raw1'
3 failgroup c2 disk '/dev/raw/raw2';
create diskgroup dg1 normal redundancy
ERROR at line 1:
ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
[3939617408], [], [], [], [], []
ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
ORA-15076: Emulating I/O errors on the OSM disk
Any help is appreciated.
Irshad A. Buchh
Senior Principal Consultant -
Logical Standby Database with 10g+ASM on both sides??
Hi out there,
is there a known way to establish a logical standby database on 10g, if both
sides are running with an ASM setup?
I've tried to create one out of a physical standby database (which is set up
and running w/o any problems), like a book suggested me to do.
The procedure was:
1. switch on supplemental logging
2. prepare initiation parameters (for archive logging etc.) on both sides for
logical stb.
3. shut down the phyiscal standby
4. alter database create logical standby controlfile as '<path>'; on the
primary, transfer the controlfile to the standby db. Here I had to use RMAN
to copy the controlfile into the ASM System, and modify the initfile/spfile
in order to use the controlfile. No problem so far.
5. mount the standby database, alter database recover managed standby database
disconnect; -> At this point, the alert log complained about non-available
datafiles.
6. alter database activate standby database; --> fails ("needs recovery") due
to last point.
The trouble is, the controlfile created at point 4 cointains wrong paths to
the datafiles. Since I can not have the same disk group name on the standby
system, and since ASM renames the stored datafiles by its own, the complaints
of point 5 are comprehensible, but nevertheless annoying.
I tried to backup a controlfile to trace and change the paths, but at after
mounting the standby with this controlfile and proceeding at point 5, the
system says "<path> is not a standby controlfile"
Is there a different way of creating a "Logical Standby Database with 10g+ASM
on both sides"? Metalink said nothing about LogStby and ASM.
Best regards and thanks in advance,
MartinI'm not sure if this will work but try:
1. create trace control file (you did it)
2. change paths (you did it)
3. recrate control file (you did it)
... there was error occured during mount before
so mount database (not as standby)
4. create standby control file (from recreated control file)
5. shutdown instance, replace control file with new standby control file or replace the control filename in parameter file.
6. mount as standby
What happend?
Update: Tested on my side and it has worked fine... How about you?
Message was edited by:
Ivan Kartik -
What is the best option to upgrade oracle 9i to 10g with standby?
I have a production DB with standby on 9.2.0.6. We plan to upgrade it to 10.2.0.4. The database is about 500GB. The network between primary and DR is limited at 10m bit/second. Primary is at Atlanta and DR is at Virginia.
The choices are, I think, that I can do an upgrade at primary and send the db copy to DR to build the standby db (this may take a whole day at least). Or I can upgrade primary to 10g. At same time bring the standby to normal database to upgrade to 10g and then bring it back to DR mode (can I do this technically?).
What is the best in term of minimum down time? Or do we have any other choices? Thanks.Hi
Thanks a lot for prompt reply! My understanding is that you recommend option1:
Option1 (in my understanding way):
0. Stop both application and standby database
1. upgrade primary to 10g
2. Re-start application to point primary on 10g
3. Take a backup (eiterh rman or manual hot) - this could take while 3-4 hours
4. Send backup to standby site - this will be while 6-8 hours
5. Create a standby control file from primary to send over to standby
6. Create and start standby DB and let it apply all logs generated during the priod of step 2,3,4,5. (this could be while as the database is very active)
I thought possible option2:
Option2:
0. Stop application, primary, and stadby databases.
1. Upgrade primary to 10g. At same time, activate the standby to normal db and upgrade it to 10g. At end of the step, hopefull, both primary and standby is still in sync.
2. Re-start the application to point primary on 10g
2. Create a standby control file from primary to send over to standby
3. Create and start stadnby DB and let it apply all logs generated during the period of step 2.
It looks that option2 will be taking shorter time overall as no duplication needed. Would that be possible technically and practically?
Thanks for any advice! -
Hi,
I have some trigger problems. I created a trigger to update a certain column each time a new record is inserted or an existent record is updated. I use Oracle 10g. If I create the trigger and execute an insert query via the XE client everything works fine. However, when I use a spring 3.1 setup with Hibernate and OJDBC driver, I get an
java.sql.SQLException: ORA-04098: trigger 'LOCALUSER_PROP_TRIG' is invalid and failed re-validation
And if I execute a show error trigger query I get an invalid SQL query error.
I can easily activate Hibernate debugging and I can see that the prepared statement by Hibernate is just fine, but I was wondering if I could see the full sql sent by the JDBC driver to the server. Maybe seeing the actual query sent to the server would provide new insight of what could be wrong in the Hibernate setup. Does any one what could be wrong and eventually how could setup jdbc to output debug info? Thanks a lot,
CristianWhich platform is the database running on ??
Other things you should check -
when debugging the EJB, JDev
3.1 looks through your IIOP connections to find the one to use.
Make sure that the IIOP connection that JDev is using for the debugging matches the IIOP connection that the EJB client application is using.
raghu
null -
Exception after switching to Oracle 10g
I have a working application running on weblogic server 9.1. The server has
a DataSource pointing to an Oracle 9i instance (i am using the Oracle Thin
XA driver).
Now I tried to connect to an identical database schema running in Oracle 10g
(with the same driver). Now weblogic throws errors while deploying the
application:
The problem seems to be with an cmp entity bean for the table G_ZM_FAB which
is a synonym to a view in another schema. I have no problem accessing
G_ZM_FAB with any database tool or with sqlplus. Only weblogic gives
errors. Another entity bean pointing to a similar table works perfectly
(the second entity bean has bean managed persistence).
Do you have any idea where the problem might be? I have tried other drivers
with no success (they give other errors). When I make G_ZM_FAB a normal
table with the same structure and content, everyting works fine.
Here is the server log with the exception that is thrown:
=== SNIP ===
JAVA Memory arguments: -Xmx1536m -Xgc:parallel -d64
WLS Start Mode=Production
CLASSPATH=:/opt/bea/patch_weblogic910/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/jrockit150/lib/tools.jar:/opt/bea/weblogic91/server/lib/weblogic_sp.jar:/opt/bea/weblogic91/server/lib/weblogic.jar:/opt/bea/weblogic91/server/lib/webservices.jar::/opt/bea/weblogic91/common/eval/pointbase/lib/pbclient51.jar:/opt/bea/weblogic91/server/lib/xqrl.jar::/opt/bea/weblogic91/integration/lib/util.jar:
PATH=/opt/bea/weblogic91/server/bin:/opt/bea/jrockit150/jre/bin:/opt/bea/jrockit150/bin:/opt/bea/user_projects/domains/Systemtest8010/bin:/opt/bea/user_projects/domains/Systemtest8010/runtime/bin:/opt/bea/user_projects/domains/Systemtest8010:/opt/ora10g/bin:/opt/bea/weblogic91/common/bin:/opt/bea/weblogic91/server/bin:/opt/sfw/bin:/usr/local/bin:/usr/bin::/usr/openwin/bin:/usr/local/kde/bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
BEA JRockit(R) (build
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9, compiled mode)
Starting WLS with line:
/opt/bea/jrockit150/bin/java -jrockit -Xmx1536m -Xgc:parallel -d64 -Dpython.cachedir=/opt/bea/user_projects/domains/Systemtest8010/wlstTemp -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dpegasus.serverTyp=test -Dpegasus.application.description="Systemtestumgebung
1" -da -Dplatform.home=/opt/bea/weblogic91 -Dwls.home=/opt/bea/weblogic91/server -Dwli.home=/opt/bea/weblogic91/integration -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/bea/patch_weblogic910/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=xxxxxxxx -Dweblogic.Name=Pegasus -Djava.security.policy=/opt/bea/weblogic91/server/lib/weblogic.policy
weblogic.Server
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with BEA JRockit(R) Version
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9 from BEA Systems,
Inc.>
<28.08.2007 8.33 Uhr CEST> <Info> <Management> <BEA-141107> <Version:
WebLogic Server 9.1 Mon Dec 12 19:26:33 EST 2005 689178 >
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded
License : /opt/bea/license.bea>
<28.08.2007 8.33 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 8.33 Uhr CEST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<28.08.2007 8.33 Uhr CEST> <Notice> <Log Management> <BEA-170019> <The
server log
file /pegasus_test/Systemtest8010/servers/Pegasus/logs/Pegasus.log is
opened. All server side log events will be written to this file.>
<28.08.2007 8.34 Uhr CEST> <Notice> <Security> <BEA-090082> <Security
initializing using security realm myrealm.>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STANDBY>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 9.14 Uhr CEST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1 FROM
DUAL" set up for pool "pegasus" failed with
exception: "javax.transaction.xa.XAException".>
<28.08.2007 9.14 Uhr CEST> <Error> <JTA> <BEA-110412>
<Xid=BEA1-015D84121B5A4CC38D9
(35424095),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
since begin=41,seconds left=82,activeThread=Thread[[ACTIVE]
ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)',5,Pooled
Threads],XAServerResourceInfo[pegasus]=(ServerResourceInfo[pegasus]=(state=committed,assigned=Pegasus),xar=pegasus,re-Registered
=
false),SCInfo[Systemtest8010+Pegasus]=(state=committed),properties=({}),local
properties=({weblogic.jdbc.jta.pegasus=[ No XAConnection is attached to
this
TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+,
XAResources={WLStore_Systemtest8010_FileStore-0,
pegasus2},NonXAResources={})],CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+)
completed heuristically: (pegasus, HeuristicHazard, ()) >
<28.08.2007 9.14 Uhr CEST> <Error> <Deployer> <BEA-149231> <Unable to set
the activation state to true for the application 'Pegasus-Application'.
weblogic.application.ModuleException: Exception activating module:
EJBModule(deploy/DEBTMR-G-EJB.jar)
Unable to deploy EJB: G_ZM_FAB from deploy/DEBTMR-G-EJB.jar:
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:422)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
Truncated. see log file for complete stacktrace
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
NestedException Message is :(pegasus, HeuristicHazard, ())
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:311)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
Truncated. see log file for complete stacktrace
=== SNIP ===
Greetings,
ChristianChristian Schmolzi wrote:
I have a working application running on weblogic server 9.1. The server has
a DataSource pointing to an Oracle 9i instance (i am using the Oracle Thin
XA driver).
Now I tried to connect to an identical database schema running in Oracle 10g
(with the same driver). Now weblogic throws errors while deploying the
application:
The problem seems to be with an cmp entity bean for the table G_ZM_FAB which
is a synonym to a view in another schema. I have no problem accessing
G_ZM_FAB with any database tool or with sqlplus. Only weblogic gives
errors. Another entity bean pointing to a similar table works perfectly
(the second entity bean has bean managed persistence).
Do you have any idea where the problem might be? I have tried other drivers
with no success (they give other errors). When I make G_ZM_FAB a normal
table with the same structure and content, everyting works fine.Odd. Well, we can assume that the issue is a difference in the
JDBC-access behavior of the two DBMS versions. I would start by
updating the ojdbc14.jar in your WLS's server\lib directory. Download
and try Oracle's latest driver, and let me know if that solves it.
Joe
>
Here is the server log with the exception that is thrown:
=== SNIP ===
JAVA Memory arguments: -Xmx1536m -Xgc:parallel -d64
WLS Start Mode=Production
CLASSPATH=:/opt/bea/patch_weblogic910/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/jrockit150/lib/tools.jar:/opt/bea/weblogic91/server/lib/weblogic_sp.jar:/opt/bea/weblogic91/server/lib/weblogic.jar:/opt/bea/weblogic91/server/lib/webservices.jar::/opt/bea/weblogic91/common/eval/pointbase/lib/pbclient51.jar:/opt/bea/weblogic91/server/lib/xqrl.jar::/opt/bea/weblogic91/integration/lib/util.jar:
PATH=/opt/bea/weblogic91/server/bin:/opt/bea/jrockit150/jre/bin:/opt/bea/jrockit150/bin:/opt/bea/user_projects/domains/Systemtest8010/bin:/opt/bea/user_projects/domains/Systemtest8010/runtime/bin:/opt/bea/user_projects/domains/Systemtest8010:/opt/ora10g/bin:/opt/bea/weblogic91/common/bin:/opt/bea/weblogic91/server/bin:/opt/sfw/bin:/usr/local/bin:/usr/bin::/usr/openwin/bin:/usr/local/kde/bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
BEA JRockit(R) (build
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9, compiled mode)
Starting WLS with line:
/opt/bea/jrockit150/bin/java -jrockit -Xmx1536m -Xgc:parallel -d64 -Dpython.cachedir=/opt/bea/user_projects/domains/Systemtest8010/wlstTemp -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dpegasus.serverTyp=test -Dpegasus.application.description="Systemtestumgebung
1" -da -Dplatform.home=/opt/bea/weblogic91 -Dwls.home=/opt/bea/weblogic91/server -Dwli.home=/opt/bea/weblogic91/integration -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/bea/patch_weblogic910/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=xxxxxxxx -Dweblogic.Name=Pegasus -Djava.security.policy=/opt/bea/weblogic91/server/lib/weblogic.policy
weblogic.Server
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with BEA JRockit(R) Version
R27.1.0-109-73164-1.5.0_08-20061129-1427-solaris-sparcv9 from BEA Systems,
Inc.>
<28.08.2007 8.33 Uhr CEST> <Info> <Management> <BEA-141107> <Version:
WebLogic Server 9.1 Mon Dec 12 19:26:33 EST 2005 689178 >
<28.08.2007 8.33 Uhr CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded
License : /opt/bea/license.bea>
<28.08.2007 8.33 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 8.33 Uhr CEST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<28.08.2007 8.33 Uhr CEST> <Notice> <Log Management> <BEA-170019> <The
server log
file /pegasus_test/Systemtest8010/servers/Pegasus/logs/Pegasus.log is
opened. All server side log events will be written to this file.>
<28.08.2007 8.34 Uhr CEST> <Notice> <Security> <BEA-090082> <Security
initializing using security realm myrealm.>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STANDBY>
<28.08.2007 8.34 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server
state changed to STARTING>
<28.08.2007 9.14 Uhr CEST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1 FROM
DUAL" set up for pool "pegasus" failed with
exception: "javax.transaction.xa.XAException".>
<28.08.2007 9.14 Uhr CEST> <Error> <JTA> <BEA-110412>
<Xid=BEA1-015D84121B5A4CC38D9
(35424095),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
since begin=41,seconds left=82,activeThread=Thread[[ACTIVE]
ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)',5,Pooled
Threads],XAServerResourceInfo[pegasus]=(ServerResourceInfo[pegasus]=(state=committed,assigned=Pegasus),xar=pegasus,re-Registered
=
false),SCInfo[Systemtest8010+Pegasus]=(state=committed),properties=({}),local
properties=({weblogic.jdbc.jta.pegasus=[ No XAConnection is attached to
this
TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+,
XAResources={WLStore_Systemtest8010_FileStore-0,
pegasus2},NonXAResources={})],CoordinatorURL=Pegasus+10.32.193.47:8010+Systemtest8010+t3+)
completed heuristically: (pegasus, HeuristicHazard, ()) >
<28.08.2007 9.14 Uhr CEST> <Error> <Deployer> <BEA-149231> <Unable to set
the activation state to true for the application 'Pegasus-Application'.
weblogic.application.ModuleException: Exception activating module:
EJBModule(deploy/DEBTMR-G-EJB.jar)
Unable to deploy EJB: G_ZM_FAB from deploy/DEBTMR-G-EJB.jar:
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:422)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
Truncated. see log file for complete stacktrace
[EJB:011007]Unable to create EJB Persistence Manager.
javax.transaction.HeuristicMixedException: (pegasus, HeuristicHazard, ())
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:297)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:226)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:271)
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:298)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
at
weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1292)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:405)
at
weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:104)
at
weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:339)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:68)
at
weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:60)
at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
at
weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at
weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
NestedException Message is :(pegasus, HeuristicHazard, ())
at
weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:311)
at
weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:244)
at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:170)
at
weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1379)
at
weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:232)
Truncated. see log file for complete stacktrace
=== SNIP ===
Greetings,
Christian -
Help w/10g-XE Install on Ubuntu
Hello world,
I have a (new to me) Ubuntu OS on which I am trying to make Oracle 10G-XE behave. I have searched many threads here and elsewhere on the web, but still cannot find an answer to the problems I am encountering.
I have d/l'ed the 10g-XE deb file and used Synaptic to install it. Everything went smoothly. When I try to "Go to Database Home Page" I have been receiving this message: "Firefox can't establish a connection to the server at 127.0.0.1." There are lots of posts with suggestions on what to do, but I cannot follow the advice because I am stumped on many fronts.
Most of the replies to this error say to check out what 'LSNRCTL -status' gives me. Well, when I try to run that command I receive this in reply: 'bash: lsnrctl: command not found.' I tracked down the exact directory with the command and got the same message. I tried running it with SUDO and got the same message.
I followed other threads to try and run the 'oracle-xe - configure' command and it too, could not be found, even when launched from the dir that holds the script. These two things together make me think that I have something wrong with my Linux config, but not sure what to do or how to track it down. The weird thing is that SQL tells me that help is unavailable (SP2-0171: HELP system not available.) That makes me think that my Oracle installation is incomplete, but not sure how to verify a good clean install.
I will gladly accept all suggestions on how to do my homework - just point me in a good direction! Thanks all ..Thanks! I have put the output from the commands you recommended here:
$ pwd
/home/oracle
$ ps -aef |egrep "xe|pmon"
mark 5294 1 0 07:48 ? 00:00:00 /usr/lib/gnome-applets/mixer_applet2 oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory oaf-ior-fd=27
oracle 6014 1 0 07:54 ? 00:00:00 /usr/lib/gnome-applets/mixer_applet2 oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory oaf-ior-fd=20
oracle 6552 6540 0 08:04 pts/0 00:00:00 grep -E xe|pmon
$ pwd
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
$ ls
...lsnrctl ...
$ lsnrctl
sh: lsnrctl: not found
As I mentioned - I cannot understand why bash is telling me it cannot find the Listener. Even when I go to the owning directory and verify the executable is there (see above) and tell bash to run it, I still receive this error message. I have previously visited your very nice blog prior to posting here and tried many of the steps you recommend there. It seems to boil down to starting lsnrctl. But I believe the problem lies within Linux as other commands are similarly not recognized.
I also found that trying to run the script to install SQL help returns the same 'not found' message.
What would you recommend next? -
Oracle 10g R2 - Unicode is converted to unknown ?����
Ok, I've read a thousand posts. Tried everything still stuck.
I am using Oracle 10g : 10.2.0.5.0
I'm on a Mac, using SQL Developer 3.1.07
When I enter "ė€£¥©", the insertion into the database converts it to: ?����
This is straight from a SQL INSERT command, in SQLDeveloper, no java code or anything.
I tried adding a file called SQLDeveloper.app/Resources/sqldeveloper/sqldeveloper/sqldeveloper.conf and added these lines:
-Doracle.jdbc.defaultNChar=true
-Doracle.jdbc.convertNcharLiterals=true
Didn't help.
I tried created a test column and made the datatype NVARCHAR2. same results. VARCHAR column does the same corruption but that's expected.
I tried N'©' - doesn't work
I tried INSERT INTO testchar (column1) VALUES ( unistr('©') );
results is still : �
I check NSL_NVAR_CHARACTERSET and it's UTF8
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET US7ASCII
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET UTF8
NLS_RDBMS_VERSION 10.2.0.5.0I don't know what else to do. I am not a DBA. I'm just trying to fix a bug or at least tell a customer what's wrong. Entering special characters is required. Can anyone help? thank you!
I have read that the insertion into the database does its own conversion but I don't know if that applies to me since I'm in 10g R2
Edited by: 947012 on Aug 14, 2012 11:43 AM
My mac's locales are also :
$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=Edited by: 947012 on Aug 14, 2012 11:45 AM
Edited by: 947012 on Aug 14, 2012 11:49 AMNLS_NCHAR_CHARACTERSET specifies the encoding of the NVARCHAR2 variables but not the SQL statements. SQL statements, when they arrive to the database server, are always encoded in the database character set (NLS_CHARACTERSET). This is true for the whole statement, including any character literals. Therefore, even if a literal is valid in SQL Developer (which works in Unicode), when the literal arrives to the database, it is already stripped of all characters that the database character set does not support. The characters are not actually removed but they are converted to a replacement character. In case of the US7ASCII database character set, anything non-ASCII is lost.
The trick to avoid this problem is to:
- mark the literals that need to be preserved for NVARCHAR2 columns as NVARCHAR2 literals by prefixing them with "n".
- set the mentioned property to activate the client side encoding mechanism with basically does a rough parsing of the statement and replaces all N-literals with U-literals. Undocumented U literals are similar to UNISTR calls. They encode non-ASCII characters with Unicode escape sequences. For example, n'€' (U+20AC) is encoded as u'\20AC'. As u'\20AC' contains only ASCII characters, it arrives to the database unchanged. The SQL parser recognizes the U-literals and converts them (unescapes them) to NVARCHAR2 constants before further SQL processing, such as INSERT.
-- Sergiusz -
Exception while starting OC4J 10g
When ever I start OC4J, I get the following exception thrown. Althopugh my container starts. Also when I try to connect using admin_client.jar for deploying any CMP EJB, it fails to connect.
I am using JDK 1.4.2 even when I invoke with JDev 10g java executable I get the same error.
Can some one please help me. I am desperately looking to get started with 10g
D:\App Servers\oc4j\j2ee\home>D:\JavaTools\JDev10g\jdk\bin\java -jar oc4j.jar
03/11/19 18:42:13 Auto-deploying ../../home/applications/admin_ejb.jar (New serv
er version detected)... MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:3: p
ackage oracle.dms.instrument does not exist
import oracle.dms.instrument.*;
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:7: package javax.ejb does no
t exist
import javax.ejb.*;
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:10: cannot access javax.ejb.
EJBHome
file javax\ejb\EJBHome.class not found
public class MBeanServerEjbHome_StatefulSessionHomeWrapper1 extends com.evermind
.server.ejb.RemoteStatefulSessionEJBHome implements oracle.oc4j.admin.jmx.ejb.MB
eanServerEjbHome
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:22: package javax.ejb does n
ot exist
public oracle.oc4j.admin.jmx.ejb.MBeanServerEjbRemote create(oracle.oc4j.admin.j
mx.shared.Domain argument0) throws javax.ejb.CreateException, java.rmi.RemoteExc
eption
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:150: cannot resolve symbol
symbol : class SessionBean
location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
public SessionBean createInstance()
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:155: cannot resolve symbol
symbol : class NounIntf
location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
protected static NounIntf create___124_noun = null;
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:156: cannot resolve symbol
symbol : class PhaseEventIntf
location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
protected static PhaseEventIntf create___124_wrapperPE = null;
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:157: cannot resolve symbol
symbol : class PhaseEventIntf
location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
protected static PhaseEventIntf create___124_clientPE = null;
^
MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:158: cannot resolve symbol
symbol : class PhaseEventIntf
location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
protected static PhaseEventIntf create___124__PostCreatePE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3: package oracle.dms.inst
rument does not exist
import oracle.dms.instrument.*;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:5: package javax.ejb does
not exist
import javax.ejb.*;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:11: cannot access javax.ej
b.EJBObject
file javax\ejb\EJBObject.class not found
public class MBeanServerEjbRemote_StatefulSessionBeanWrapper0 extends com.evermi
nd.server.ejb.RemoteStatefulSessionEJBObject implements oracle.oc4j.admin.jmx.ej
b.MBeanServerEjbRemote
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:35: package javax.ejb does
not exist
public javax.ejb.SessionBean getObject()
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
nt does not exist
public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
ons.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
nt does not exist
public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
ons.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
nt does not exist
public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
ons.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
nt does not exist
public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
ons.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:500: package javax.managem
ent does not exist
public javax.management.AttributeList getAttributes(javax.management.ObjectName
argument0, java.lang.String[] argument1) throws javax.management.InstanceNotFoun
dException, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.e
xceptions.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:663: package javax.managem
ent does not exist
public void unregisterMBean(javax.management.ObjectName argument0) throws javax.
management.InstanceNotFoundException, javax.management.MBeanRegistrationExceptio
n, oracle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExc
eption
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:959: package javax.managem
ent does not exist
public void setAttribute(javax.management.ObjectName argument0, javax.management
.Attribute argument1) throws javax.management.InstanceNotFoundException, javax.m
anagement.AttributeNotFoundException, javax.management.InvalidAttributeValueExce
ption, javax.management.MBeanException, javax.management.ReflectionException, or
acle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExceptio
n
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:959: package javax.managem
ent does not exist
public void setAttribute(javax.management.ObjectName argument0, javax.management
.Attribute argument1) throws javax.management.InstanceNotFoundException, javax.m
anagement.AttributeNotFoundException, javax.management.InvalidAttributeValueExce
ption, javax.management.MBeanException, javax.management.ReflectionException, or
acle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExceptio
n
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:959: package javax.managem
ent does not exist
public void setAttribute(javax.management.ObjectName argument0, javax.management
.Attribute argument1) throws javax.management.InstanceNotFoundException, javax.m
anagement.AttributeNotFoundException, javax.management.InvalidAttributeValueExce
ption, javax.management.MBeanException, javax.management.ReflectionException, or
acle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExceptio
n
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:1323: package javax.manage
ment does not exist
public java.util.Set queryNames(javax.management.ObjectName argument0, javax.man
agement.QueryExp argument1) throws oracle.oc4j.admin.jmx.shared.exceptions.Inter
nalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:1597: package javax.manage
ment does not exist
public javax.management.ObjectInstance getObjectInstance(javax.management.Object
Name argument0) throws javax.management.InstanceNotFoundException, oracle.oc4j.a
dmin.jmx.shared.exceptions.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:2336: package javax.manage
ment does not exist
public void addNotificationListener(javax.management.ObjectName argument0, oracl
e.oc4j.admin.jmx.shared.RemoteListenerId argument1, javax.management.Notificatio
nFilter argument2, java.lang.Object argument3) throws javax.management.InstanceN
otFoundException, oracle.oc4j.admin.jmx.shared.exceptions.InternalException, jav
a.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:2636: package javax.manage
ment does not exist
public void removeNotificationListener(javax.management.ObjectName argument0, ja
vax.management.ObjectName argument1) throws javax.management.InstanceNotFoundExc
eption, javax.management.ListenerNotFoundException, oracle.oc4j.admin.jmx.shared
.exceptions.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3268: package javax.manage
ment does not exist
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName argum
ent0) throws javax.management.InstanceNotFoundException, javax.management.Intros
pectionException, javax.management.ReflectionException, oracle.oc4j.admin.jmx.sh
ared.exceptions.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3268: package javax.manage
ment does not exist
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName argum
ent0) throws javax.management.InstanceNotFoundException, javax.management.Intros
pectionException, javax.management.ReflectionException, oracle.oc4j.admin.jmx.sh
ared.exceptions.InternalException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3756: cannot resolve symbo
l
symbol : class SessionBean
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
public SessionBean passivate() throws Exception
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3780: cannot resolve symbo
l
symbol : class EJBException
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
public void activate() throws EJBException, java.rmi.RemoteException
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3801: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf invoke___100_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3802: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf invoke___100_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3803: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf invoke___100_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3804: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getDefaultDomain___101_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3805: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getDefaultDomain___101_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3806: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getDefaultDomain___101_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3807: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf isRegistered___102_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3808: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf isRegistered___102_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3809: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf isRegistered___102_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3810: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getAttributes___103_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3811: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getAttributes___103_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3812: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getAttributes___103_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3813: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf unregisterMBean___104_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3814: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf unregisterMBean___104_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3815: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf unregisterMBean___104_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3816: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getEvents___105_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3817: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getEvents___105_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3818: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getEvents___105_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3819: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf setAttribute___106_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3820: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf setAttribute___106_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3821: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf setAttribute___106_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3822: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getAttribute___107_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3823: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getAttribute___107_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3824: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getAttribute___107_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3825: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf queryNames___108_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3826: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf queryNames___108_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3827: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf queryNames___108_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3828: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf test___109_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3829: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf test___109_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3830: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf test___109_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3831: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getObjectInstance___110_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3832: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getObjectInstance___110_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3833: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getObjectInstance___110_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3834: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf queryMBeans___111_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3835: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf queryMBeans___111_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3836: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf queryMBeans___111_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3837: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getMBeanCount___112_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3838: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getMBeanCount___112_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3839: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getMBeanCount___112_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3840: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf setAttributes___113_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3841: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf setAttributes___113_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3842: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf setAttributes___113_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3843: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getDomains___114_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3844: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getDomains___114_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3845: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getDomains___114_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3846: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf addNotificationListener___115_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3847: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf addNotificationListener___115_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3848: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf addNotificationListener___115_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3849: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf addNotificationListener___116_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3850: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf addNotificationListener___116_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3851: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf addNotificationListener___116_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3852: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf removeNotificationListener___117_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3853: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___117_wrapperPE = nul
l;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3854: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___117_clientPE = null
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3855: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf removeNotificationListener___118_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3856: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___118_wrapperPE = nul
l;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3857: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___118_clientPE = null
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3858: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf removeNotificationListener___119_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3859: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___119_wrapperPE = nul
l;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3860: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___119_clientPE = null
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3861: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf removeNotificationListener___120_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3862: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___120_wrapperPE = nul
l;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3863: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf removeNotificationListener___120_clientPE = null
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3864: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf getMBeanInfo___121_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3865: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getMBeanInfo___121_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3866: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf getMBeanInfo___121_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3867: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf isInstanceOf___122_noun = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3868: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf isInstanceOf___122_wrapperPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3869: cannot resolve symbo
l
symbol : class PhaseEventIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static PhaseEventIntf isInstanceOf___122_clientPE = null;
^
MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3870: cannot resolve symbo
l
symbol : class NounIntf
location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
protected static NounIntf ping___123_noun = null;
^
An exception has occurred in the compiler (1.4.1_02). Please file a bug at the J
ava Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after chec
king the Bug Parade for duplicates. Include your program and the following diagn
ostic in your report. Thank you.
java.lang.NullPointerException
at com.sun.tools.javac.v8.comp.Check$Validator.visitSelect(Check.java:44
3)
at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
at com.sun.tools.javac.v8.comp.Check.validate(Check.java:415)
at com.sun.tools.javac.v8.comp.Check.validate(Check.java:426)
at com.sun.tools.javac.v8.comp.Attr.attribClassBody(Attr.java:1383)
at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1366)
at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1342)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:358)
at com.sun.tools.javac.v8.Main.compile(Main.java:520)
at com.sun.tools.javac.Main.compile(Main.java:36)
at com.sun.tools.javac.Main.main(Main.java:27)
Error compiling D:\App Servers\oc4j\j2ee\home\applications/admin_ejb.jar: Syntax
error in source
Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview initializedGot the issue resolved after lot of pain
The problem is with config/application.xml file shipped with OC4J
It doesn't have an entry to point to the required lib directories
Adding the below two entries resolved the issue
<library path="../lib" />
<library path="../../../lib" />
Hope you don't forget to include it in next revison
Maybe you are looking for
-
Hi, When copying a GPO I get this error [Warning] The security principal [Local Admins] cannot be resolved. The task will continue; however, there might be unresolved security principals in the destination GPO. This has never occurred before so not s
-
New HP Pavilion 11t-n000x3​60 will not print on Deskjet f4180 printer
The new Laptop recognizes the printer but will not print. No problem printing from PC s5120f . I am strictly a user, not very tech savy.
-
Watching rental movies on a TV without Apple TV
Can I rent a movie through itunes on my powerbook and use some type of cable to attach to my TV so I can watch my rented movie on my tv.
-
Split Contents of a Cell into multiple cells
I have a large spreadsheet where all of the data imported into one column but I need it separated into multiple columns for sorting purposes. The other formula's I've found online are not working in my spreadsheet. Here is an example of my data: I ne
-
Problems installing Seamonkey plugin
is there an offline method of installing the Adobe Reader plugin in Seamonkey. I am currently getting a communication error that I would like to sidestep.