OC4J Install
A simple question of installation. In the install of OC4J with either the iDS or iAS 9.0.2 should there be an actual mod_oc4j component that is used with OHS ?
I can get OC4J itself to install and start successfully, but cannot use from OHS. I notice from the documentation the reference to mod_oc4j as an actual module loaded into OHS instead of the proxy module. But no matter what I install (on XP Pro SP1) none of the associated pieces for mod_oc4j (.dll(?), .conf etc) appear. How does the OHS pass requests on to OC4J otherwise? This is severely holding up our use of Forms and Reports in this environment so any ideas would be welcome.
Many thanks
If you install Oracle9iAS 9.0.2.0.1 from the CD, and select Business Intelligence and Forms installation, the OC4J used for forms and reports automatically get wired up to the OHS and mod_oc4J.
If you are trying to use Oracle9iDS for building Forms and reports applications, it will use standalone Oc4J (with native HTTP server, not OHS). While deploying you have to use the mid tier instance as mentioned in the first paragraph.
Anytime standalone Oc4J is used, it will not use OHS + mod_oc4j.
Similar Messages
-
OC4J installed with 11g Database
We are migrating our database and applications to 11g database and imbeded Application Express. Our current configuration is 10g database and JSPs running under the OC4J installed with the database. Our develoment server is running Windows XP and currently has 11g database 11.1.0.6.0 installed, and the Application Express configured and running properly.
In order to provide a smooth transiition from OC4J to Application Express, we would like to continue to run some applications under the OC4J installed with the 11g database, and the converted applications in Application Express, all on the same server and same 11g database installation.
I have started the OC4J processes on the development server with the script:
cd \Oracle\Ora11g\Ora11gDB\oc4j\j2ee\home
java -jar oc4j.jar
and the system responds with:
09/01/08 10:53:29 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
However, when I try to bring up the console from a browser using:
http://192.168.0.200:8888
I get a the message that the page cannot be displayed.
I understand the 11g OC4J standalone has been discontinued, however it looks like the 11g version I have installed is using the OC4J 10.1.3.0.0.
So is the OC4J installed with 11g not functional, or am I missing a step in the startup/configuration, or URL call.
Thanks,
RodThanks for the replay Michael,
Actually, on the development server I only have the 11g database installed with Application Express configured. The Apex runs on port 8080 and I see that in the netstat -ab listing, but I do not see port 8888 referenced anywhere. All the config files for the OC4J are standard from the db install. The port listed in the http-web-site.xml still shows 8888.
Is it possible that the OC4J is not completing it's startup?
The server.log, and the system-applicaiton.log both show entries indicating it has started, and the global-application.log shows it is started, however the defaultWebApp is not currently started. Here is the complete contents of that file:
09/01/08 10:21:34.640 10.1.3.0.0 Started
09/01/08 10:21:35.937 defaultWebApp: 10.1.3.0.0 Started
09/01/08 10:22:13.968 defaultWebApp: 10.1.3.0.0 Stopped
09/01/08 10:22:20.109 10.1.3.0.0 Started
09/01/08 10:22:20.890 defaultWebApp: 10.1.3.0.0 Started
09/01/08 10:49:06.203 defaultWebApp: 10.1.3.0.0 Stopped
09/01/08 10:53:28.687 10.1.3.0.0 Started
09/01/08 14:45:45.781 10.1.3.0.0 Started
09/01/08 15:06:21.421 10.1.3.0.0 Started
09/01/08 15:07:06.218 10.1.3.0.0 Started
Thanks,
Rod -
OC4J Install for APEX printing
Hi,
I have an Oracle 11g Enterprise Edition insalled on my Windows 2008 server. I am now trying to get the report printing option to work within APEX. One of the options was to use OC4J + Apache FOP to get this going. However, I'm hitting problems when trying to access my OC4J instance.
If I just do http://localhost:8888/ it works, but when I put in http://localhost:8888/em, it falls over with a 404 error.
Has anybody seen this before? I've tried finding something related but they all seem to point to Oracle iAS. I'm assuming that the OC4J that comes with the database qualifies as a stand-alone config?
If I can't use the application server console, is there any other way to deploy the .war file? Can I just use the admin_client.jar and install the war? Anybody hit any problems with this too?
Thank you,
ChandiniI have recently been deploying some war files without using the console. I did the following:
- in the j2ee_home/config: updated the application.xml and added a new <web-module> entry with my specific details
- in the j2ee_home/config: updated the default-web-site.xml and added a new <web-app> entry with my specific details
- copy the war in to the j2ee_home/applications folder
- restart the oc4j container
This has been working for me using OC4J 10.1.3. -
10g is installed on my machine, i want to install mapviewer (quick start) and make it work ! in order to run mapviewer, i have to install oc4j, first of all, and start it.
i'm following the readme file instructions combining with spatial user's guide.pdf and following error is what i have succeed to do so far:
D:\oracle10\product\10.2.0\db_1\oc4j\j2ee\home>java -jar oc4j.jar
Error opening registry key 'Software\Oracle\JInitiator\1.3.1.9'
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
as it seems, i don't have jInitiator installed (first of all and not the last), so where to find it?
as it concerns java 2 runtime env. following version of java 2 platform standard edition is installed: 1.5.0. (build 1.5.0_04-b05).
thanks a lothi Steve and thanks for reply.
this is the only environment variables (%path%) concerning java:
D:\oracle10\product\10.2.0\db_1\jre\1.4.2\bin\client
D:\oracle10\product\10.2.0\db_1\jre\1.4.2\bin
no other env variable about java exists.
i have just installed j2sdk-1_4_2. is this one ok to be added to env variables:
C:\j2sdk1.4.2_10\bin
about jInitiator: i have an icon shown in control panel, but when i click it, it says:
The system cannot find the registry key specified:
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\JInitiator\1.3.1.9
does this mean jinit is not installed on machine or somehow reg key was deleted?
if i download jinit13118, will this one be ok to install it?
when i say 10g i mean database, i haven't installed app server yet. i'd like to run mapviewer as standalone. but i'll try also with app server. -
Starting OC4J installed through ( java -jar oc4j.jar -install)
Hi,
I want to use MapViewer. I installed OC4J standalone,using the following command
java -jar oc4j.jar -install and then installed MapViewer in directory "lbs" under Oracle home. After that I updated the following two files
1) http-web-site.xml
2) server.xml
according to the installation guide. I have runned the scripts and imported the MapViewer's dmp into Scott's schema.
My oracle httpService is running and is listening on normal http port i.e. 8080
I have to do the following
1) Start OC4J (How can I do that ? I tried it as
java -jar E:\oracle\j2ee\home\OC4J.jar but it says that the (c:\config\server.xml, System can not find the path specified. Since this is not the actual path, actual one is ... E:\oracle\j2ee\home\config\server.xml ) 2) How to check that OC4J is running or not ?
3) Wot and how to run in browser for viewing the output, i.e. any DML/retrieval from Spatial data/maps...
I know, I m very near to get output, but sometimes it feels so far.
Please help me... You may suggest any book, link, or reply to above questions..
Thanx
Zaaf.1) cd to j2ee/home
then start as:
java -jar oc4j.jar
or
java -jar E:\oracle\j2ee\home\oc4j.jar -config E:\oracle\j2ee\home\config\server.xml
2) You will get a message that the server is started
For details please look at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf
thanks
Debu -
Opmn not present after oc4j install
After what seems like a successful Oracle 10g install, and after seeing the <localhost>:8888 test page I am getting an install error when trying to install an app.
It says Checking opmn status. It hangs at this point. In troubleshooting there are references to an opmn.xml file.
When I check the .../opmn directory I only see an empty /lib directory with none of the referenced files included.
Any hints as to how to get this installed?What kind of install did you do? And what version of the application server? 10.1.3.0? 10.1.3.1? This seems like an aborted install if it is the app server.
For the 10.1.3.x era, the one-click, J2EE Server, J2EE+Web Server installs, OPMN should always be there. Perhaps, you just do the TopLink install in 10.1.3.0? Then that would make sense.
Mike. -
Install instructions for Search Modeler and integrating with Apps 11i
Below are all the steps I took for creating integrating Search Modeler with an Oracle E-Business Suite 11.5.10.2 ATG RUP 7 instance called ERNIE.
Much thanks to Oracle Support ( Rajesh Ghosh, Vikas Soolapani and Roger Ford), as this simply wouldn't have been possible without them.
There are a few things in this document that may not be pertinent to your environment if you're doing this. I've made attempts to clarify those possibly optional sections in the documentation.
I've broken the document down into the following multiple parts
o Setting up a new RedHat 4.8 x86 server called ausSEARCHdev (The server is in AUStin, TX, is dedicated to SEARCH, and is for our DEV environment)
o SES (Secure Enterprise Search 10.1.8.2 install
o SES 10.1.8.4 patchset install
o SES CPU patch apply
o Standalone OC4J and ADF installation
o Search Modeler installation and configuration
o Configure ERNIE Apps instance to be on valid self-signed SSL certificate
o Import ERNIE SSL certificate into SES and Search Modeler
using aussearchdev initially
rh4 x86, default oracle build
** htop and collectl are open source free performance monitoring packages we utilize**
--start
install htop and collectl
wget http://dag.wieers.com/rpm/packages/htop/htop-0.7-1.el4.rf.i386.rpm
rpm -ivh htop-0.7-1.el4.rf.i386.rpm
wget http://downloads.sourceforge.net/project/collectl/collectl/collectl-3.4.0-4/collectl-3.4.0-4.noarch.rpm?use_mirror=voxel
rpm -ivh collectl-3.4.0-4.noarch.rpm
chkconfig collectl on
service collectl start
**We still need to install the necessary rpms so that collectl logs are compressed
--end
useradd -u 501 oracle
groupadd -g 504 dba
usermod -G 504 oracle
verification:
[root@aussearchdev ~]# su - oracle
[oracle@aussearchdev ~]$ id
uid=501(oracle) gid=501(oracle) groups=501(oracle),504(dba)
passwd oracle
** /mnt/oraclebackup is a network dumpspot we use to hold Software installs, RPMs, etc
** /mnt/rpms is a network dumpspot we use to hold ISOs for OS software such as Redhat Linux
mkdir /mnt/oraclebackup
mkdir /mnt/rpms
add the following to /etc/fstab
XXXXXXX:/patches/oraclebackup /mnt/oraclebackup nfs defaults,hard,nolock 0 0
XXXXXXX:/esxpress/nfs /mnt/rpms nfs rw,addr=XXX.XXX.XXX.XXX 0 0
mount /mnt/rpms
Next need to install various oracle needed RPMs.
cd /mnt/rpms/rh40_upd8/RedHat/RPMS/
rpm -ivh perl-Compress-Zlib-1.42-1.el4.i386.rpm
rpm -ivh libaio-devel-0.3.105-2.i386.rpm
rpm -ivh sysstat-5.0.5-25.el4.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
service collectl restart
cd /tmp
wget http://oss.oracle.com/el4/oracle-validated/oracle-validated-1.0.0-18.el4.i386.rpm
rpm -ivh oracle-validated-1.0.0-18.el4.i386.rpm
Now we should have all the RPMs we need.
cd /etc/sysconfig/oracle-validated
./oracle-validated-verify
cd /var/log/oracle-validated/results
more orakernel.log
uname -a
should return 2.6.9 or higher
rpm -qa|grep gcc-
should return 3.4.3 or higher
rpm -qa|grep glibc
should return 2.3.4-2.9 or higher
rpm -qa|grep make
should return 3.80 or higher
rpm -qa|grep binutils
should return 2.15.92.0.2 or higher
rpm -qa|grep openmotif
should return 2.2.3-9.RHEL4.1 or higher
rpm -qa|grep compat-db
should return 4.1.25-9 or higher
rpm -qa|grep setarch
should return 1.6-1 or higher
cat /proc/sys/kernel/sem
should return 250 32000 100 128 or higher (250 32000 100 142 in our case)
cat /proc/sys/kernel/shmall (1073741824 in our case)
should return 2097152 or higher
cat /proc/sys/kernel/shmmax
should return half the size of physical memory (4294967295 in our case - NO LARGER on 32-bit OS)
cat /proc/sys/kernel/shmmni
should return 4096
cat /proc/sys/fs/file-max
should return 65536 (327679 in our case)
cat /proc/sys/net/ipv4/ip_local_port_range
should return 1024 65000
values in /etc/security/limits.conf set by oracle-validated rpm, no changes necessary
add the following line to /etc/pam.d/login
session required /lib/security/pam_limits.so
add the following to /etc/profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
mkdir -p /d01/oracle
chmod 777 /d01/oracle
init 6 the box (aka reboot)
Time to start the SES 10.1.8.2 installer
running SES 10.1.8.2 installer
as oracle
cd /mnt/oraclebackup/deathstar_patches/SES/SES10182
./runInstaller
search server name sesprod
administrative password XXXXXXXX for dev,
http port 7777
destination path /d01/oracle/10.1.8/sesdev (dev)
data storage path /d01/oracle/sesdevdata (dev)
next
inventory /d01/oracle/oraInventory
dba group
run orainstroot.sh as requested
continue
all tests should pass, continue
finished clean
tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
Now we need to get to 10.1.8.4 of SES
(yes, you need to keep the system up)
cd /mnt/oraclebackup/deathstar_patches/SES/SES10184/ses_10184pst_linux/
./runInstaller
Destination, choose sesdev
Next
Patchset successful
tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
Apply CPU Patch to SES
CPU JAN 10 says patch 9119261 is required - but patch requires extended support contract
CPU OCT 09 says patch 8836540 is required - but patch requires extended support contract
CPU JUL 09 says patch 8534394 is required - but patch requires extended support contract
CPU APR 09 says patch 8290534 is required - and you can actually download it
Need opatch from 6880880
cp -r /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/OPatch $ORACLE_HOME
export PATH=$ORACLE_HOME/OPatch:$PATH
shut down everything
cd $ORACLE_HOME/bin
./searchctl stopall
cd /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/8290534
opatch apply
cd $ORACLE_HOME/cpu/CPUApr2009
**Note: your sys password is what you set for your administrative password above
sqlplus "sys/XXXXXX" as sysdba;
startup
@catcpu
@?/rdbms/admin/utlrp
shutdown immediate
exit
cd /d01/oracle/10.1.8/sesdev/cpu/view_recompile/
sqlplus "sys/XXXXXXX" as sysdba;
startup upgrade;
@view_recompile_jan2008cpu.sql
@?/rdbms/admin/utlrp
shutdown immediate
cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/ext
mv mail.jar $HOME/mail.jar.backup02222010
mv mailapi.jar $HOME/mailapi.jar.back02222010
cp /d01/oracle/10.1.8/sesdev/search/lib/mail.jar .
SES 10.1.8.4 is now installed and updated with latest available CPU
tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
we're going to go with the standalone OC4j 10.1.3.3 and Oracle ADF 10.1.3.3 method
The URLs for these products are
http://blogs.oracle.com/ebssearch/2009/10/available_now_oracle_search_modeler_11_for_oracle_e-business_suite_11i.html
and specifically
OC4J - http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
ADF - http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller10133.html
OC4J install
First you need to have Java 1.5 on the machine. Latest is 1.5.0_22. Package is in /mnt/oraclebackup/deathstar_patches/SES
as root on aussearchdev
cd /usr/local
cp /mnt/oraclebackup/deathstar_patches/SES/jdk-1_5_0_22-linux-i586.bin .
chmod 700 jdk-1_5_0_22-linux-i586.bin
./jdk-1_5_0_22-linux-i586.bin
yes
install OC4J just by copying over the directory
as oracle on aussearchdev
mkdir -p /d01/oracle/oc4j
cd /d01/oracle/oc4j
cp -r /mnt/oraclebackup/deathstar_patches/SES/oc4j/* .
ADF install
vi /mnt/oraclebackup/deathstar_patches/SES/adf/adfinstaller.properties
change the following
OracleHome = /mnt/oraclebackup/deathstar_patches/SES/adf
DesHome = /d01/oracle/oc4j/
type = OC4J
as root
cd /usr/bin
rm java
(yes)
ln -s /usr/local/jdk1.5.0_22/bin/java
su - oracle
java -version should now return 1.5.0_22
export JAVA_HOME=/usr/local/jdk1.5.0_22
cd /mnt/oraclebackup/deathstar_patches/SES/adf
java -jar runinstaller.jar -version
returns The version for the ADF libraries being installed is 10.1.3.41.57 - yes, that is apparently 10.1.3.3.
java -jar runinstaller.jar adfinstaller.properties
output looks good, do not be concerned by
WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/bc4j' whilst deleting bc4j application
WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/datatags' whilst deleting datatags application
as it was trying to delete the old version that didn't exist
Start OC4J
as oracle on aussearchdev
export JAVA_HOME=/usr/local/jdk1.5.0_22
export ORACLE_HOME=/d01/oracle/oc4j
cd $ORACLE_HOME/bin
./oc4j -start
you will be prompted for password - we're setting it. use XXXXXXXXXX
after it's up, kill it (ctrl-c) and restart it with
nohup ./oc4j -start &
last lines in nohup.out is
Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
10/02/23 03:22:38 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
So now on to search modeler installation, going by Installation steps in Note 781366.1
8326128 - This is not a patch to be applied to the Apps, keep reading
as oracle on aussearchdev
cd /mnt/oraclebackup/deathstar_patches/SES/8326128
mkdir -p /d01/oracle/oc4j/uploaded
vi build.properties, changing
installation.type=OC4J
oracle.home=/d01/oracle/oc4j
deploy.server=aussearchdev.domainname.com
deploy.port=23791
web.port=7777
password=XXXXXXXXX
extra.classpath=/d01/oracle/oc4j/uploaded
now set the following environment values in your ssh session
export ORACLE_HOME=/d01/oracle/oc4j
export JAVA_HOME=/usr/local/jdk1.5.0_22
export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
ant main
whole bunch of stuff to screen, errors due to undeploy something that doesn't exist. Finished after a minute with
BUILD SUCCESSFUL
Total time: 58 seconds
Now on to post install steps
restart OC4j
cd $ORACLE_HOME/bin
./modeler.sh -shutdown -port 23791 -password r*l*r*0*
export ORACLE_HOME=/d01/oracle/oc4j
export JAVA_HOME=/usr/local/jdk1.5.0_22
export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
nohup ./modeler.sh -start &
end of nohup.out should show
Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
Try going to http://aussearchdev:8888/modeler/faces/ModelerHome.jsp
Should get login screen, but wait, we haven't installed Oracle Apps interface yet...
Next let's do the Apps side of things
Going by note 953378.1
Using ERNIE (a development instance of E-Business Suite running 11.5.10.2 ATG RUP 7)
as applmgr on ausernieapp (ausernieapp is our app tier)
shut down apps services
apps patch 8225631
verify all the pre-req patches are in ERNIE
select * from ad_bugs where bug_number = '5903765';
select * from ad_bugs where bug_number = '6372396';
select * from ad_bugs where bug_number = '3219567';
select * from ad_bugs where bug_number = '3264822';
select * from ad_bugs where bug_number = '3261254';
select * from ad_bugs where bug_number = '5161676';
select * from ad_bugs where bug_number = '3036401';
select * from ad_bugs where bug_number = '3263588';
select * from ad_bugs where bug_number = '3264818';
select * from ad_bugs where bug_number = '3218526';
select * from ad_bugs where bug_number = '3263645';
select * from ad_bugs where bug_number = '4206794';
select * from ad_bugs where bug_number = '3262486';
select * from ad_bugs where bug_number = '3261243';
select * from ad_bugs where bug_number = '2614213';
select * from ad_bugs where bug_number = '3262159';
select * from ad_bugs where bug_number = '2819091';
select * from ad_bugs where bug_number = '3412795';
patch went in smooth
Log in to ERNIE Apps GUI as sysadmin user responsibility
Give users such as sysadmin FND Search Crawler responsibility
Go to system profile options, set
set FND: Search Enabling Flag to Y at site level
as applmgr on ausernieapp
cd /d01/oracle/ernieappl/fnd/11.5.0/patch/115/sql
sqlplus apps/$APPS_PWD @AFSRCHCF
Enter SES endpoint URL [e.g. http://ap637atg.us.oracle.com:7780]: http://aussearchdev.domainname.com:7777
Enter Apps Admin username [e.g. sysadmin]: sysadmin
Enter Apps Admin password: sysadmin_password
Enter SES Admin username [e.g. eqsys]: eqsys
Enter SES Admin password: eqsyspassword <-- This is the same as sys's password
on aussearchdev as oracle
had to kill modeler and start all the processes, so
kill -9 the modeler oc4j process, then
cd $ORACLE_HOME/bin
./searchctl startall
enter the password when prompted
in IE browser go to
http://aussearchdev.domainname.com:7777/search/admin
log in with eqsys password
global settings tab
identity management setup
click circle next to oracle.search.plugin.security.identity.ebs.EBS12IdentityPliginMgr
(yes, we're going with 12 even though we use Oracle Apps 11i)
http end point https://ausernieapp.domainname.com:8443/webservices/AppSearch/SecurityService
username sysadmin
password XXXXXXX
finish
Global Settings
Federation Trusted Entitites
####entity name sysadmin
####Entity Password XXXXXXXX
According to web conference with Oracle, this should NOT be eqsys but instead be sysadmin from above.
Select the Use Entity Plug-in for authentication check box
add
Trying to go to http://aussearchdev.domainname.com:7777/search/query/search and login (sysadmin / password)
stop midtier on both SES and Apps
cd $ORACLE_HOME/bin
./searchctl stopall
./adstpall.sh apps/$APPS_PWD on EBS app tier
start midtier on both SES and Apps
cd $ORACLE_HOME/bin
./searchctl startall
./adstrtal.sh apps/$APPS_PWD on EBS app tier
Now try and log in to Oracle SES user interface to verify the configuration
http://aussearchdev.domainname.com:7777/search/query
Now start up modeler again
export JAVA_HOME=/usr/local/jdk1.5.0_22
export ORACLE_HOME=/d01/oracle/oc4j
export PATH=$ORACLE_HOME/bin:$PATH
cd $ORACLE_HOME/bin
nohup ./modeler.sh -start &
Works now.
Now go to http://aussearchdev.domainname.com:8888/modeleradmin/AdminHome.jsp log in as oc4jadmin/XXXXXXX
Configure new target
Target Type 11i
Description ERNIE
Name ERNIE
EBS Database Host Name auserniedb
EBS Database Port 1521
EBS Database SID ERNIE
username apps
password XXXXXXXXx
oc4jadmin XXXXXXXx
export JAVA_HOME=/usr/local/jdk1.5.0_22
export ORACLE_HOME=/d01/oracle/oc4j
export PATH=$ORACLE_HOME/bin:$PATH
cd $ORACLE_HOME/j2ee/home
java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXXXX -addDataSourceConnectionPool -name "ERNIE2-pool" -factoryClass "oracle.jdbc.pool.OracleDataSource" -dbUser "apps" -dbPassword "XXXXXXX" -url "jdbc:oracle:thin:@auserniedb.domainname.com:1521:ERNIE" -applicationName appsearch
java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXX -addManagedDataSource -name "ERNIEDS" -jndiLocation "jdbc/ERNIEDS" -connectionPoolName "ERNIE2-pool" -applicationName appsearch
http://aussearchdev.domainname.com:8888/modeler/faces/ModelerHome.jsp
So, creating a self signed SSL certificate for ERNIE EBS instance (this will not work if you use an SSL certificate for another server like say, PROD)
doing this on ausernieapp
openssl genrsa -des3 -out ausernieapp.key 1024
PEM key is ausernieapp
openssl req -new -key ausernieapp.key -out ausernieapp.csr
PEM key is ausernieapp
Country US
State Texas
Locality Austin
Organization Name Corporation
Organizational Unit Name Information Technology
Common Name ausernieapp.domainname.com
Email address [email protected]
No challenge password
No optional company name
Now let's remove the passphrase from the key
cp ausernieapp.key ausernieapp.key.orig
openssl rsa -in ausernieapp.key.orig -out ausernieapp.key
Now let's generate a self-signed certificate
openssl x509 -req -days 1000 -in ausernieapp.csr -signkey ausernieapp.key -out ausernieapp.crt
Install the private key and certificate
cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.crt
cp server.crt server.crt.backup.03102010
chown applmgr:applmgr server.crt.backup.03102010
cp $HOME/ausernieapp.crt /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.crt/server.crt
cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.key/
cp server.key server.key.backup.03102010
cp $HOME/ausernieapp.key /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.key/server.key
chown applmgr:applmgr server.key.backup.03102010
bounce apache as applmgr
cd /d01/oracle/erniecomn/admin/scripts/ERNIE_ausernieapp
./adapcctl.sh stop
./adapcctl.sh start
In IE
https://ausernieapp.domainname.com:8443
Continue
Click on Certificate Error next to URL bar
Install Certificate -> Next-> Place all certificates in the following store -> trusted root certificate authorities ->finish
close browser, back to https://ausernieapp.domainname.com:8443
no errors,
Next step will be to import key into the SES and Search modelers
as oracle on aussearchdev
cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/security/
cp cacerts cacerts.backup.03102010
scp root@ausernieapp:/root/ausernieapp.crt .
export LANG=c
export PATH=$ORACLE_HOME/jdk/bin:$PATH
keytool -keystore ./cacerts -storepass changeit -alias rootausernieapp -import -trustcacerts -file ausernieapp.crt
--output
Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Serial number: b4e92089cf73076f
Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
Certificate fingerprints:
MD5: 2C:6B:EE:1A:63:6D:XX:A6:05:90:F6:XX:DD:88:F7:80
SHA1: F8:DC:E5:2A:3E:68:XX:E1:EA:E4:75:AE:CC:4F:4A:10:2F:8A:FE:9B
Trust this certificate? [no]: yes
Certificate was added to keystore
Now load our cert
keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
keytool -list -v -keystore ./cacerts now shows
Alias name: rootausernieapp
Creation date: Mar 10, 2010
Entry type: trustedCertEntry
Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Serial number: b4e92089cf73076f
Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
Certificate fingerprints:
MD5: 2C:6B:EE:1A:63:6D:CB:XX:05:90:F6:78:DD:88:F7:80
SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:FA:9E:10:2F:8A:FE:9B
Now we need to load it into the search modeler keystore
as root on aussearchdev
export JAVA_HOME=/usr/local/jdk1.5.0_22/
export PATH=$JAVA_HOME/bin:$PATH
cd /usr/local/jdk1.5.0_22/jre/lib/security/
scp root@ausernieapp:/root/ausernieapp.crt .
output
keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
Enter keystore password: changeit
Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Serial number: b4e92089cf73076f
Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
Certificate fingerprints:
MD5: 2C:6B:EE:1A:63:6D:CB:A1:05:90:F6:78:DD:88:F7:80
SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:4F:9E:10:2F:8A:FE:9B
Trust this certificate? [no]: yes
Certificate was added to keystore
[root@aussearchdev security]#
output
For troubleshooting, if you go to end of /d01/oracle/10.1.8/sesdev/search/data/config/crawler.dat
you can modify the logLevel from the default of 4 to 2 to get better debug data. No services need to be restarted, it will become active with the next crawl.
While talking with Oracle, they mentioned the following patches
The patches identified 8321527 and 7586924 are SES patches to help with indexing
They also identified patch 9103851 which is an apps patch dealing with responsibilities <-- This is not yet available
Applying patch 7586924
as oracle on aussearchdev
cd $ORACLE_HOME/bin
./searchctl stopall
cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/7586924
opatch apply
cd $ORACLE_HOME/bin
./searchctl startall
sqlplus eqsys/XXXXXX@SESDEV
define SCH_NAME=EQSYS
define PROXY_USER=EQPROXY
define INST_USER=EQ_TEST
@$ORACLE_HOME/search/admin/eq0pkh.sql
@$ORACLE_HOME/search/admin/eq0plb.sql
@$ORACLE_HOME/search/admin/eq0bug_7586924.sql
cd $ORACLE_HOME/search/data/config/
cp crawler.dat crawler.dat.backup.03102010
vi crawler.dat
We're using the Oracle E-Business Suite R12 crawler, so we will add the line
USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
as the line immediately preceding IMPORT -
so the end of the file looks like this:
# system properies: separated by space for multiple system properties or define multiple SYSTEM_PROPERTIES
# logLevel values: DEBUG(2), INFO(4), WARN(6), ERROR(8), FATAL(10)
SYSTEM_PROPERTIES -Doracle.search.logLevel=4 -Doracle.search.log=oracle.search.util.Log4jImpl
USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
IMPORT -
Now on to patch 8321527
cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/8321527
cd $ORACLE_HOME/bin
./searchctl stopall
cd -
opatch apply
cd $ORACLE_HOME/bin
./searchctl startall
sqlplus eqsys/XXXXXXX@SESDEV
define SCH_NAME=EQSYS
define PROXY_USER=EQPROXY
select object_name from user_objects where status = 'INVALID';
--should be no rows selected
@$ORACLE_HOME/search/admin/eq0pkh.sql
@$ORACLE_HOME/search/admin/eq0plb.sql
--should be no rows selected
restart SES
cd -
./searchctl stopall
./searchctl startallBelow are all the steps I took for creating integrating Search Modeler with an Oracle E-Business Suite 11.5.10.2 ATG RUP 7 instance called ERNIE.
Much thanks to Oracle Support ( Rajesh Ghosh, Vikas Soolapani and Roger Ford), as this simply wouldn't have been possible without them.
There are a few things in this document that may not be pertinent to your environment if you're doing this. I've made attempts to clarify those possibly optional sections in the documentation.
I've broken the document down into the following multiple parts
o Setting up a new RedHat 4.8 x86 server called ausSEARCHdev (The server is in AUStin, TX, is dedicated to SEARCH, and is for our DEV environment)
o SES (Secure Enterprise Search 10.1.8.2 install
o SES 10.1.8.4 patchset install
o SES CPU patch apply
o Standalone OC4J and ADF installation
o Search Modeler installation and configuration
o Configure ERNIE Apps instance to be on valid self-signed SSL certificate
o Import ERNIE SSL certificate into SES and Search Modeler
using aussearchdev initially
rh4 x86, default oracle build
** htop and collectl are open source free performance monitoring packages we utilize**
--start
install htop and collectl
wget http://dag.wieers.com/rpm/packages/htop/htop-0.7-1.el4.rf.i386.rpm
rpm -ivh htop-0.7-1.el4.rf.i386.rpm
wget http://downloads.sourceforge.net/project/collectl/collectl/collectl-3.4.0-4/collectl-3.4.0-4.noarch.rpm?use_mirror=voxel
rpm -ivh collectl-3.4.0-4.noarch.rpm
chkconfig collectl on
service collectl start
**We still need to install the necessary rpms so that collectl logs are compressed
--end
useradd -u 501 oracle
groupadd -g 504 dba
usermod -G 504 oracle
verification:
[root@aussearchdev ~]# su - oracle
[oracle@aussearchdev ~]$ id
uid=501(oracle) gid=501(oracle) groups=501(oracle),504(dba)
passwd oracle
** /mnt/oraclebackup is a network dumpspot we use to hold Software installs, RPMs, etc
** /mnt/rpms is a network dumpspot we use to hold ISOs for OS software such as Redhat Linux
mkdir /mnt/oraclebackup
mkdir /mnt/rpms
add the following to /etc/fstab
XXXXXXX:/patches/oraclebackup /mnt/oraclebackup nfs defaults,hard,nolock 0 0
XXXXXXX:/esxpress/nfs /mnt/rpms nfs rw,addr=XXX.XXX.XXX.XXX 0 0
mount /mnt/rpms
Next need to install various oracle needed RPMs.
cd /mnt/rpms/rh40_upd8/RedHat/RPMS/
rpm -ivh perl-Compress-Zlib-1.42-1.el4.i386.rpm
rpm -ivh libaio-devel-0.3.105-2.i386.rpm
rpm -ivh sysstat-5.0.5-25.el4.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
service collectl restart
cd /tmp
wget http://oss.oracle.com/el4/oracle-validated/oracle-validated-1.0.0-18.el4.i386.rpm
rpm -ivh oracle-validated-1.0.0-18.el4.i386.rpm
Now we should have all the RPMs we need.
cd /etc/sysconfig/oracle-validated
./oracle-validated-verify
cd /var/log/oracle-validated/results
more orakernel.log
uname -a
should return 2.6.9 or higher
rpm -qa|grep gcc-
should return 3.4.3 or higher
rpm -qa|grep glibc
should return 2.3.4-2.9 or higher
rpm -qa|grep make
should return 3.80 or higher
rpm -qa|grep binutils
should return 2.15.92.0.2 or higher
rpm -qa|grep openmotif
should return 2.2.3-9.RHEL4.1 or higher
rpm -qa|grep compat-db
should return 4.1.25-9 or higher
rpm -qa|grep setarch
should return 1.6-1 or higher
cat /proc/sys/kernel/sem
should return 250 32000 100 128 or higher (250 32000 100 142 in our case)
cat /proc/sys/kernel/shmall (1073741824 in our case)
should return 2097152 or higher
cat /proc/sys/kernel/shmmax
should return half the size of physical memory (4294967295 in our case - NO LARGER on 32-bit OS)
cat /proc/sys/kernel/shmmni
should return 4096
cat /proc/sys/fs/file-max
should return 65536 (327679 in our case)
cat /proc/sys/net/ipv4/ip_local_port_range
should return 1024 65000
values in /etc/security/limits.conf set by oracle-validated rpm, no changes necessary
add the following line to /etc/pam.d/login
session required /lib/security/pam_limits.so
add the following to /etc/profile
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
mkdir -p /d01/oracle
chmod 777 /d01/oracle
init 6 the box (aka reboot)
Time to start the SES 10.1.8.2 installer
running SES 10.1.8.2 installer
as oracle
cd /mnt/oraclebackup/deathstar_patches/SES/SES10182
./runInstaller
search server name sesprod
administrative password XXXXXXXX for dev,
http port 7777
destination path /d01/oracle/10.1.8/sesdev (dev)
data storage path /d01/oracle/sesdevdata (dev)
next
inventory /d01/oracle/oraInventory
dba group
run orainstroot.sh as requested
continue
all tests should pass, continue
finished clean
tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
Now we need to get to 10.1.8.4 of SES
(yes, you need to keep the system up)
cd /mnt/oraclebackup/deathstar_patches/SES/SES10184/ses_10184pst_linux/
./runInstaller
Destination, choose sesdev
Next
Patchset successful
tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
Apply CPU Patch to SES
CPU JAN 10 says patch 9119261 is required - but patch requires extended support contract
CPU OCT 09 says patch 8836540 is required - but patch requires extended support contract
CPU JUL 09 says patch 8534394 is required - but patch requires extended support contract
CPU APR 09 says patch 8290534 is required - and you can actually download it
Need opatch from 6880880
cp -r /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/OPatch $ORACLE_HOME
export PATH=$ORACLE_HOME/OPatch:$PATH
shut down everything
cd $ORACLE_HOME/bin
./searchctl stopall
cd /mnt/oraclebackup/deathstar_patches/SES/CPUAPR09/8290534
opatch apply
cd $ORACLE_HOME/cpu/CPUApr2009
**Note: your sys password is what you set for your administrative password above
sqlplus "sys/XXXXXX" as sysdba;
startup
@catcpu
@?/rdbms/admin/utlrp
shutdown immediate
exit
cd /d01/oracle/10.1.8/sesdev/cpu/view_recompile/
sqlplus "sys/XXXXXXX" as sysdba;
startup upgrade;
@view_recompile_jan2008cpu.sql
@?/rdbms/admin/utlrp
shutdown immediate
cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/ext
mv mail.jar $HOME/mail.jar.backup02222010
mv mailapi.jar $HOME/mailapi.jar.back02222010
cp /d01/oracle/10.1.8/sesdev/search/lib/mail.jar .
SES 10.1.8.4 is now installed and updated with latest available CPU
tried logging in to admin console at http://aussearchdev:7777/search/admin - worked fine
tried bringing up search query at http://aussearchdev:7777/search/query/search - worked fine
we're going to go with the standalone OC4j 10.1.3.3 and Oracle ADF 10.1.3.3 method
The URLs for these products are
http://blogs.oracle.com/ebssearch/2009/10/available_now_oracle_search_modeler_11_for_oracle_e-business_suite_11i.html
and specifically
OC4J - http://download.oracle.com/otn/java/oc4j/101330/oc4j_extended_101330.zip
ADF - http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller10133.html
OC4J install
First you need to have Java 1.5 on the machine. Latest is 1.5.0_22. Package is in /mnt/oraclebackup/deathstar_patches/SES
as root on aussearchdev
cd /usr/local
cp /mnt/oraclebackup/deathstar_patches/SES/jdk-1_5_0_22-linux-i586.bin .
chmod 700 jdk-1_5_0_22-linux-i586.bin
./jdk-1_5_0_22-linux-i586.bin
yes
install OC4J just by copying over the directory
as oracle on aussearchdev
mkdir -p /d01/oracle/oc4j
cd /d01/oracle/oc4j
cp -r /mnt/oraclebackup/deathstar_patches/SES/oc4j/* .
ADF install
vi /mnt/oraclebackup/deathstar_patches/SES/adf/adfinstaller.properties
change the following
OracleHome = /mnt/oraclebackup/deathstar_patches/SES/adf
DesHome = /d01/oracle/oc4j/
type = OC4J
as root
cd /usr/bin
rm java
(yes)
ln -s /usr/local/jdk1.5.0_22/bin/java
su - oracle
java -version should now return 1.5.0_22
export JAVA_HOME=/usr/local/jdk1.5.0_22
cd /mnt/oraclebackup/deathstar_patches/SES/adf
java -jar runinstaller.jar -version
returns The version for the ADF libraries being installed is 10.1.3.41.57 - yes, that is apparently 10.1.3.3.
java -jar runinstaller.jar adfinstaller.properties
output looks good, do not be concerned by
WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/bc4j' whilst deleting bc4j application
WARNING: 'Could not delete: /d01/oracle/oc4j/BC4J/redist/datatags' whilst deleting datatags application
as it was trying to delete the old version that didn't exist
Start OC4J
as oracle on aussearchdev
export JAVA_HOME=/usr/local/jdk1.5.0_22
export ORACLE_HOME=/d01/oracle/oc4j
cd $ORACLE_HOME/bin
./oc4j -start
you will be prompted for password - we're setting it. use XXXXXXXXXX
after it's up, kill it (ctrl-c) and restart it with
nohup ./oc4j -start &
last lines in nohup.out is
Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
10/02/23 03:22:38 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
So now on to search modeler installation, going by Installation steps in Note 781366.1
8326128 - This is not a patch to be applied to the Apps, keep reading
as oracle on aussearchdev
cd /mnt/oraclebackup/deathstar_patches/SES/8326128
mkdir -p /d01/oracle/oc4j/uploaded
vi build.properties, changing
installation.type=OC4J
oracle.home=/d01/oracle/oc4j
deploy.server=aussearchdev.domainname.com
deploy.port=23791
web.port=7777
password=XXXXXXXXX
extra.classpath=/d01/oracle/oc4j/uploaded
now set the following environment values in your ssh session
export ORACLE_HOME=/d01/oracle/oc4j
export JAVA_HOME=/usr/local/jdk1.5.0_22
export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
ant main
whole bunch of stuff to screen, errors due to undeploy something that doesn't exist. Finished after a minute with
BUILD SUCCESSFUL
Total time: 58 seconds
Now on to post install steps
restart OC4j
cd $ORACLE_HOME/bin
./modeler.sh -shutdown -port 23791 -password r*l*r*0*
export ORACLE_HOME=/d01/oracle/oc4j
export JAVA_HOME=/usr/local/jdk1.5.0_22
export PATH=$ORACLE_HOME/ant/bin:$ORACLE_HOME/bin:$PATH
nohup ./modeler.sh -start &
end of nohup.out should show
Starting OC4J from /d01/oracle/oc4j/j2ee/home ...
Try going to http://aussearchdev:8888/modeler/faces/ModelerHome.jsp
Should get login screen, but wait, we haven't installed Oracle Apps interface yet...
Next let's do the Apps side of things
Going by note 953378.1
Using ERNIE (a development instance of E-Business Suite running 11.5.10.2 ATG RUP 7)
as applmgr on ausernieapp (ausernieapp is our app tier)
shut down apps services
apps patch 8225631
verify all the pre-req patches are in ERNIE
select * from ad_bugs where bug_number = '5903765';
select * from ad_bugs where bug_number = '6372396';
select * from ad_bugs where bug_number = '3219567';
select * from ad_bugs where bug_number = '3264822';
select * from ad_bugs where bug_number = '3261254';
select * from ad_bugs where bug_number = '5161676';
select * from ad_bugs where bug_number = '3036401';
select * from ad_bugs where bug_number = '3263588';
select * from ad_bugs where bug_number = '3264818';
select * from ad_bugs where bug_number = '3218526';
select * from ad_bugs where bug_number = '3263645';
select * from ad_bugs where bug_number = '4206794';
select * from ad_bugs where bug_number = '3262486';
select * from ad_bugs where bug_number = '3261243';
select * from ad_bugs where bug_number = '2614213';
select * from ad_bugs where bug_number = '3262159';
select * from ad_bugs where bug_number = '2819091';
select * from ad_bugs where bug_number = '3412795';
patch went in smooth
Log in to ERNIE Apps GUI as sysadmin user responsibility
Give users such as sysadmin FND Search Crawler responsibility
Go to system profile options, set
set FND: Search Enabling Flag to Y at site level
as applmgr on ausernieapp
cd /d01/oracle/ernieappl/fnd/11.5.0/patch/115/sql
sqlplus apps/$APPS_PWD @AFSRCHCF
Enter SES endpoint URL [e.g. http://ap637atg.us.oracle.com:7780]: http://aussearchdev.domainname.com:7777
Enter Apps Admin username [e.g. sysadmin]: sysadmin
Enter Apps Admin password: sysadmin_password
Enter SES Admin username [e.g. eqsys]: eqsys
Enter SES Admin password: eqsyspassword <-- This is the same as sys's password
on aussearchdev as oracle
had to kill modeler and start all the processes, so
kill -9 the modeler oc4j process, then
cd $ORACLE_HOME/bin
./searchctl startall
enter the password when prompted
in IE browser go to
http://aussearchdev.domainname.com:7777/search/admin
log in with eqsys password
global settings tab
identity management setup
click circle next to oracle.search.plugin.security.identity.ebs.EBS12IdentityPliginMgr
(yes, we're going with 12 even though we use Oracle Apps 11i)
http end point https://ausernieapp.domainname.com:8443/webservices/AppSearch/SecurityService
username sysadmin
password XXXXXXX
finish
Global Settings
Federation Trusted Entitites
####entity name sysadmin
####Entity Password XXXXXXXX
According to web conference with Oracle, this should NOT be eqsys but instead be sysadmin from above.
Select the Use Entity Plug-in for authentication check box
add
Trying to go to http://aussearchdev.domainname.com:7777/search/query/search and login (sysadmin / password)
stop midtier on both SES and Apps
cd $ORACLE_HOME/bin
./searchctl stopall
./adstpall.sh apps/$APPS_PWD on EBS app tier
start midtier on both SES and Apps
cd $ORACLE_HOME/bin
./searchctl startall
./adstrtal.sh apps/$APPS_PWD on EBS app tier
Now try and log in to Oracle SES user interface to verify the configuration
http://aussearchdev.domainname.com:7777/search/query
Now start up modeler again
export JAVA_HOME=/usr/local/jdk1.5.0_22
export ORACLE_HOME=/d01/oracle/oc4j
export PATH=$ORACLE_HOME/bin:$PATH
cd $ORACLE_HOME/bin
nohup ./modeler.sh -start &
Works now.
Now go to http://aussearchdev.domainname.com:8888/modeleradmin/AdminHome.jsp log in as oc4jadmin/XXXXXXX
Configure new target
Target Type 11i
Description ERNIE
Name ERNIE
EBS Database Host Name auserniedb
EBS Database Port 1521
EBS Database SID ERNIE
username apps
password XXXXXXXXx
oc4jadmin XXXXXXXx
export JAVA_HOME=/usr/local/jdk1.5.0_22
export ORACLE_HOME=/d01/oracle/oc4j
export PATH=$ORACLE_HOME/bin:$PATH
cd $ORACLE_HOME/j2ee/home
java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXXXX -addDataSourceConnectionPool -name "ERNIE2-pool" -factoryClass "oracle.jdbc.pool.OracleDataSource" -dbUser "apps" -dbPassword "XXXXXXX" -url "jdbc:oracle:thin:@auserniedb.domainname.com:1521:ERNIE" -applicationName appsearch
java -jar admin_client.jar deployer:oc4j:aussearchdev oc4jadmin XXXXXXX -addManagedDataSource -name "ERNIEDS" -jndiLocation "jdbc/ERNIEDS" -connectionPoolName "ERNIE2-pool" -applicationName appsearch
http://aussearchdev.domainname.com:8888/modeler/faces/ModelerHome.jsp
So, creating a self signed SSL certificate for ERNIE EBS instance (this will not work if you use an SSL certificate for another server like say, PROD)
doing this on ausernieapp
openssl genrsa -des3 -out ausernieapp.key 1024
PEM key is ausernieapp
openssl req -new -key ausernieapp.key -out ausernieapp.csr
PEM key is ausernieapp
Country US
State Texas
Locality Austin
Organization Name Corporation
Organizational Unit Name Information Technology
Common Name ausernieapp.domainname.com
Email address [email protected]
No challenge password
No optional company name
Now let's remove the passphrase from the key
cp ausernieapp.key ausernieapp.key.orig
openssl rsa -in ausernieapp.key.orig -out ausernieapp.key
Now let's generate a self-signed certificate
openssl x509 -req -days 1000 -in ausernieapp.csr -signkey ausernieapp.key -out ausernieapp.crt
Install the private key and certificate
cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.crt
cp server.crt server.crt.backup.03102010
chown applmgr:applmgr server.crt.backup.03102010
cp $HOME/ausernieapp.crt /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.crt/server.crt
cd $IAS_ORACLE_HOME/Apache/Apache/conf/ssl.key/
cp server.key server.key.backup.03102010
cp $HOME/ausernieapp.key /d01/oracle/ernieora/new/iAS/Apache/Apache/conf/ssl.key/server.key
chown applmgr:applmgr server.key.backup.03102010
bounce apache as applmgr
cd /d01/oracle/erniecomn/admin/scripts/ERNIE_ausernieapp
./adapcctl.sh stop
./adapcctl.sh start
In IE
https://ausernieapp.domainname.com:8443
Continue
Click on Certificate Error next to URL bar
Install Certificate -> Next-> Place all certificates in the following store -> trusted root certificate authorities ->finish
close browser, back to https://ausernieapp.domainname.com:8443
no errors,
Next step will be to import key into the SES and Search modelers
as oracle on aussearchdev
cd /d01/oracle/10.1.8/sesdev/jdk/jre/lib/security/
cp cacerts cacerts.backup.03102010
scp root@ausernieapp:/root/ausernieapp.crt .
export LANG=c
export PATH=$ORACLE_HOME/jdk/bin:$PATH
keytool -keystore ./cacerts -storepass changeit -alias rootausernieapp -import -trustcacerts -file ausernieapp.crt
--output
Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Serial number: b4e92089cf73076f
Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
Certificate fingerprints:
MD5: 2C:6B:EE:1A:63:6D:XX:A6:05:90:F6:XX:DD:88:F7:80
SHA1: F8:DC:E5:2A:3E:68:XX:E1:EA:E4:75:AE:CC:4F:4A:10:2F:8A:FE:9B
Trust this certificate? [no]: yes
Certificate was added to keystore
Now load our cert
keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
keytool -list -v -keystore ./cacerts now shows
Alias name: rootausernieapp
Creation date: Mar 10, 2010
Entry type: trustedCertEntry
Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Serial number: b4e92089cf73076f
Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
Certificate fingerprints:
MD5: 2C:6B:EE:1A:63:6D:CB:XX:05:90:F6:78:DD:88:F7:80
SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:FA:9E:10:2F:8A:FE:9B
Now we need to load it into the search modeler keystore
as root on aussearchdev
export JAVA_HOME=/usr/local/jdk1.5.0_22/
export PATH=$JAVA_HOME/bin:$PATH
cd /usr/local/jdk1.5.0_22/jre/lib/security/
scp root@ausernieapp:/root/ausernieapp.crt .
output
keytool -keystore ./cacerts -import -trustcacerts -file ausernieapp.crt
Enter keystore password: changeit
Owner: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Issuer: [email protected], CN=ausernieapp.domainname.com, OU=Information Technology, O=Corporation, L=Austin, ST=Texas, C=US
Serial number: b4e92089cf73076f
Valid from: Wed Mar 10 13:22:38 CST 2010 until: Tue Dec 04 13:22:38 CST 2012
Certificate fingerprints:
MD5: 2C:6B:EE:1A:63:6D:CB:A1:05:90:F6:78:DD:88:F7:80
SHA1: F8:DC:E5:2A:3E:68:9C:CE:EA:4E:75:AE:CC:4F:9E:10:2F:8A:FE:9B
Trust this certificate? [no]: yes
Certificate was added to keystore
[root@aussearchdev security]#
output
For troubleshooting, if you go to end of /d01/oracle/10.1.8/sesdev/search/data/config/crawler.dat
you can modify the logLevel from the default of 4 to 2 to get better debug data. No services need to be restarted, it will become active with the next crawl.
While talking with Oracle, they mentioned the following patches
The patches identified 8321527 and 7586924 are SES patches to help with indexing
They also identified patch 9103851 which is an apps patch dealing with responsibilities <-- This is not yet available
Applying patch 7586924
as oracle on aussearchdev
cd $ORACLE_HOME/bin
./searchctl stopall
cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/7586924
opatch apply
cd $ORACLE_HOME/bin
./searchctl startall
sqlplus eqsys/XXXXXX@SESDEV
define SCH_NAME=EQSYS
define PROXY_USER=EQPROXY
define INST_USER=EQ_TEST
@$ORACLE_HOME/search/admin/eq0pkh.sql
@$ORACLE_HOME/search/admin/eq0plb.sql
@$ORACLE_HOME/search/admin/eq0bug_7586924.sql
cd $ORACLE_HOME/search/data/config/
cp crawler.dat crawler.dat.backup.03102010
vi crawler.dat
We're using the Oracle E-Business Suite R12 crawler, so we will add the line
USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
as the line immediately preceding IMPORT -
so the end of the file looks like this:
# system properies: separated by space for multiple system properties or define multiple SYSTEM_PROPERTIES
# logLevel values: DEBUG(2), INFO(4), WARN(6), ERROR(8), FATAL(10)
SYSTEM_PROPERTIES -Doracle.search.logLevel=4 -Doracle.search.log=oracle.search.util.Log4jImpl
USE_IN_MEMORY_QUEUE Oracle E-Business Suite R12
IMPORT -
Now on to patch 8321527
cd /mnt/oraclebackup/deathstar_patches/SES/post_patches/8321527
cd $ORACLE_HOME/bin
./searchctl stopall
cd -
opatch apply
cd $ORACLE_HOME/bin
./searchctl startall
sqlplus eqsys/XXXXXXX@SESDEV
define SCH_NAME=EQSYS
define PROXY_USER=EQPROXY
select object_name from user_objects where status = 'INVALID';
--should be no rows selected
@$ORACLE_HOME/search/admin/eq0pkh.sql
@$ORACLE_HOME/search/admin/eq0plb.sql
--should be no rows selected
restart SES
cd -
./searchctl stopall
./searchctl startall -
How to use the same OC4j server with different port number
How to use the same OC4j server with different port numbers..?
I have to OC4J installed on my machine on different hard disk drives....
I want to be able to run both the server simultaneously..?
is it possible ..it yes then how..?
for that i have changed the port number of one server...
but when i am trying to start the other server with different port number..it says that JVM -Bind already...
Is there any clues...?
Nilesh GIn the config directory:
default-web-site.xml: Change the port the HTTP listener listens on
jms.xml: Change the port the JMS service listens on
rmi.xml: Change the port the ORMI listener listens on.
Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
Rob
Oracle -
Error while running (java -jar orion.jar -install) Need yr help ?
Hi,
I have
Win 2000 Professional
Oracle 9i release 1and have the Pre-Requisites of MapViewer as follows.
OC4J_extended (Pre-Requisite for MapViewer)
XML Parser (Built-in OC4J)
Oracle 9iI don't know whether I have Oracle Client or not which is also pre-requisite for MapViewer ? I think it is built-in with any of the above... most probably with Oracle 9i !!!
I have JDK1.3 as wellI have Oracle9iAS release 1.0.2.2.2a, but I don't want to use it, as I have OC4J standalone...
I want to have the configuration, for using Oracle Spatial/MapViewer.... How can I do that ? I need steps/procedure...
I am having problems in configuring OC4J which I have downloaded. I have unzipped OC4J_Extended in Oracle 9i Database home directory (not in Oracle 9iAS home directory... because I dont have installed iAS)
Its installation guide asks for installation through the following command
java -jar orion.jar -installbut after unzip, I don't get any file named "orion.jar"
What should I do ? Where am wrong ? Should I have to use 9iAS for using MapViewer in any case, if so which version ? I need the heirarchy of steps ?
I m really stucked !!!
Any help would be highly appreciated.
Thanx
Zaaf.Hi,
If you are just using OC4J, you should only need to do:
java -jar oc4j.jar -install
Also note that you should not install oc4j in the oracle_home
directory. If/when you upgrade oracle to apply patches, etc
it will overwrite/cause problems with your oc4j install if you
put it in the oracle_home directory. Put it in any other directory.
The only part of Oracle9iAS needed to run mapviewer is oc4j.
After that is installed, then follow the instructions in the MapViewer
User's Guide (available on OTN). -
Unable to install soa suite 10.1.3.1.0 in windows XP
hello
when i install SOA Suite10.1.3.1.0 in my windows XP, Configuration Assistant "Oracle Web Services Manager Configuration Assistant" failed, the following is the log:
install.configApps.setUpLogging:
[copy] Copying 1 file to D:\Oracle\10.1.3.1\OracleAS_1\owsm\config\ccore
[copy] Copying 1 file to D:\Oracle\10.1.3.1\OracleAS_1\owsm\config\clientagent
[copy] Copying 1 file to D:\Oracle\10.1.3.1\OracleAS_1\owsm\config\coreman
[copy] Copying 1 file to D:\Oracle\10.1.3.1\OracleAS_1\owsm\config\gateway
[copy] Copying 1 file to D:\Oracle\10.1.3.1\OracleAS_1\owsm\config\policymanager
[copy] Copying 1 file to D:\Oracle\10.1.3.1\OracleAS_1\owsm\config\serveragent
[stopwatch] [install.configApps.time: 7.611 sec]
[exec] Result: 1
install.olite.createDatabase:
BUILD FAILED
D:\Oracle\10.1.3.1\OracleAS_1\owsm\scripts\install.xml:1948: The following error occurred while executing this line:
D:\Oracle\10.1.3.1\OracleAS_1\owsm\scripts\install-olite.xml:132: exec returned: 1
Total time: 10 seconds
Error 1
who can help me?
Thanks!!!I have met the same problem, but the way mentioned to sovle is not valid here,
Can you give me a solution for me ,thx.
Problem occurs when Configuration Assistant "Oracle Web Services Manager Configuration Assistant"
as following:
through Configuration Assistant "Oracle Web Services Manager Configuration Assistant" create outputfile :
Buildfile: C:\product\10.1.3.1\OracleAS_1\owsm\bin\..\scripts\install.xml
install.eport.options:
[echo] Installing Oracle Web Services Manager:
[echo] Using deployment tools in C:/product/10.1.3.1/OracleAS_1/owsm
[echo] Binding applications to olite database
[echo] Automatically deploying to OC4J
install.report.jdbc:
[echo] URL : jdbc:polite4@localhost:1531:orawsm
[echo] Driver : oracle.lite.poljdbc.POLJDBCDriver
install.configApps.agentProperties:
[echo] Generating C:/product/10.1.3.1/OracleAS_1/owsm/bin/agent.properties
install.configApps.coresvProperties:
[echo] Generating C:/product/10.1.3.1/OracleAS_1/owsm/bin/coresv.properties
install.configApps.setupConfig:
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config
[copy] Copying 6 files to C:\product\10.1.3.1\OracleAS_1\owsm\config
install.configApps.setUpLogging:
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config\ccore
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config\clientagent
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config\coreman
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config\gateway
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config\policymanager
[copy] Copying 1 file to C:\product\10.1.3.1\OracleAS_1\owsm\config\serveragent
[stopwatch] [install.configApps.time: 5.109 sec]
[exec] Result: 1
install.olite.createDatabase:
BUILD FAILED
C:\product\10.1.3.1\OracleAS_1\owsm\scripts\install.xml:1948: The following error occurred while executing this line:
C:\product\10.1.3.1\OracleAS_1\owsm\scripts\install-olite.xml:132: exec
Configuration Assistant "Oracle Web Services Manager Configuration Assistant" failed -
Hi,
We would like to use the PDF printing of 3.0.1
I am trying to install FOP but I do not have any knowledge in OC4J and Java ... so I am kind a lost right now.
I am following the installation guide of OC4J standalone (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/install.htm#BABIBGCA)
I was wondering :
1- do I need to install oc4j standalone in a separate Oracle Home ?
2- There is already an OC4J installed in my db Oracle Home , I guess for emdbconsole. So , I created a new directory called oc4j_sa and unzipped the file. When I start OC4J with oc4j -start , it does not give me the prompt back. Then , I can access the web page with port 8888 (192.168.0.21:8888) , but 192.168.0.21:8888/em fails . So I cannot deploy the FOP war file.
Any pointers or guidance would be great.
Thanks
Francis.
P.S. :
Oracle 10.1.0.5
Oracle Linux (RH 4)OK, I finally got to the deployment of FOP but now it generates a corrupted PDF.
Are there any log files that I can check ?
I created a new Oracle_home for OC4J and ran "EM" to deploy FOP and everything worked like in the viewlet.
Now I did the setup in APEX and set the following :
Standard Support
Print Server Protocol HTTP
Print Server Host Address 192.168.0.21
Print Server Port 8888
Print Server Script /fop/apex_fop.jsp
I created a sample application to test. In a report , I added the print link.
When I clic Print, the pdf generated is corrupted and does not work.
Thanks
Francis. -
Deploying problem with remout OC4J (10.1.2)
Hello!
I have a problem with PDK-Java Portlet deployng. I'm relatively new in this field.
I use Jdeveloper 10g (10.1.2). I have read in the Jdeveloper help how to deploy portlet on remout Application Server.
I start the following comand in server's console where OC4J installed:
java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://myserver:3204 my_pass -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
and get the Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (adminuser);
I login to Enterprise Manager 10g Application Server Control by the same user(adminuser) and the same password (my_pass).
Anybody know how to resolve this problem?did you change the admin password after installation?
Oracle doesnt change all passwords, the password entered during installation of OC4J is the password you have to use for deployment from JDEV
atleast, thats my experiance -
OC4J session problem - values not sticking in session
OC4J 10g (9.0.4.0.0)
I have been developing with JDeveloper and OC4J for a few years. My machine started to crap out last week (old laptop) so I purchased a new machine. I have installed the same versions of OC4J and JDeveloper on my new machine that were on my old machine. Everything seemed OK but I have noticed that none of the session values are "sticking" between requests, works fine on old machine by the way
Example:
a.jsp
// put a simple value in the session
session.setAttribute("firstName", new String("Chris"));
// later in that same jsp I can retrieve tha value - no problem
String fname = (String)session.getValue("firstName");
b.jsp
// but in a different jsp, the same call to retrieve the value from the session (after running other jsp to set the value) comes back null
String fname = (String)session.getValue("firstName");
The same exact code works great on one machine and not on the other - same versions of OC4J installed.
Anyone seen this before?
Thanks,
ChrisThe urls appear to be correct:
http://hostname:8888/contextroot/filename.jsp
The same result can be seen if I re-run one JSP over and over:
<%
Integer bigInt = (Integer)session.getValue("counter");
if (bigInt == null)
session.setAttribute("counter", new Integer(1));
bigInt = new Integer(1);
else
int newCounter = bigInt.intValue() + 1;
session.setAttribute("counter", new Integer(newCounter));
bigInt = new Integer(newCounter);
%>
Counter = <%= bigInt.intValue() %>
If I run this over and over on one machine I see the counter value of 1 each time. On the other it increments. -
Error installing BAM tp4 in ubuntu how to correct?
Hello I m trying to install BAM tp4 in Ubuntu and I m getting this error and I dont know how to deal with that because I m very new using Ubuntu.
[echo] Changing oc4j ports with following values:
HTTP Port : 8988 -> 8988
RMI Port : 23891 -> 23891
RMI SSL Port: 24043 -> 24043
JMS Port : ${jms},9227 -> 9227
[echo] Create jms queues/topics from new oc4j jms template
[echo] Changing jms.xml to use port : 9227
[echo]
* Configuring SOA Infrastructure. This will take 5-10 minutes. *
* Summary of SOA configuration parameters: *
** Oracle Home = /jdevtp4/
** Oracle Instance = /root/.jdeveloper/system11.1.1.0.22.49.49
** SOA Database = localhost:1521:XE
** SOA Database User = jdev_soainfra
** HTTP Port = 8988
** RMI Port = 23891
** JMS Port = 9227
** Component Type = o.j2ee
** Component Name = embedded-oc4j
** Configure OWSM = false
** Configure SOA Console = true
** Configure B2B UI = false
** Configure XEngine = false
[echo] Completed adfinstaller - standalone install
[echo] ==Seeding SOAAdmin app roles==
[echo] Instance home: /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j
[echo] JPS config: /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/jps-config.xml
[echo] ==Grant SOAAdmin app role to fmwadmin ==
[echo] ==Storing fmwadmin user credential in csf ==
[java] oracle.security.jps.service.credstore.CredentialAlreadyExistsException: The credential with map name BPM-SERVICES and key BPM-SERVICES already exists.
[java] at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.setCredential(SspCredentialStore.java:551)
[java] at oracle.bpel.services.common.util.CSFStore.main(CSFStore.java:130)
[echo] ==Seeding optional demo users==
[echo] Seed groups: ${nogroup}
[echo] Instance home: /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j
[echo] JPS config: /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/jps-config.xml
[echo] ==Starting standalone oc4j. Check server log /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/log/startsoa.log.
[echo] ==Waiting max 420 second(s) for startup of URL http://administrator-vm.:8988...
BUILD FAILED
/jdevtp4/install/bpel/build.xml:10: The following error occurred while executing this line:
/jdevtp4/install/bpel/soa-infra-config.xml:48: The following error occurred while executing this line:
/jdevtp4/install/bpel/soa-infra-config.xml:89: ***************************************************
* Configuring SOA Infrastructure has FAILED.
* If following log files exists, please check them for possible cause:
* /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/install/tmp/soa-infra-java.log
* /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/log/startsoa.log
Total time: 8 minutes 19 seconds
this is the content of the /etc/enviroment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/:/Oracle-BAM-11/bin"
JOH="/jdevtp4"
JAVA_HOME="/usr/java/jdk1.5.0_18"
JDEV_USER_DIR="/jdevinstance"
BAM_OC4J_HOME="/Oracle-BAM-11"
ORACLE_HOME="/usr/lib/oracle/xe/app/oracle/product/10.2.0/server"
CLASSPATH="/Oracle-BAM-11/webservices/lib/wsclient.jar:/Oracle-BAM-11/webservices/lib/weblogic.jar"
LANGUAGE="en_US:en"
LANG="en_US.UTF-8"
the /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/install/tmp/soa-infra-java.log it is empty
this is the content of the /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/log/startsoa.log
Using JAVA_HOME=/usr/java/jdk1.5.0_18/jre/..
May 6, 2009 5:48:33 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
then I start Configure SOA again and I got this at /root/.jdeveloper/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/log/startsoa.log
Using JAVA_HOME=/usr/java/jdk1.5.0_18/jre/..
May 7, 2009 10:10:23 AM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
May 7, 2009 10:10:47 AM oracle.j2ee.corba.OrbMessages warningUnableToStartNamingService
WARNING: Error starting naming service
org.omg.CORBA.INITIALIZE: Could not create server socket (5655): java.net.BindException: Address already in use vmcid: 0x0 minor code: 0 completed: No
at org.jacorb.orb.iiop.IIOPListener$Acceptor.createServerSocket(IIOPListener.java:577)
at org.jacorb.orb.iiop.IIOPListener$Acceptor.init(IIOPListener.java:414)
at org.jacorb.orb.iiop.IIOPListener.configure(IIOPListener.java:160)
at org.jacorb.orb.etf.FactoriesBase.newInstance(FactoriesBase.java:123)
at org.jacorb.orb.etf.FactoriesBase.create_listener(FactoriesBase.java:72)
at org.jacorb.orb.BasicAdapter.configure(BasicAdapter.java:104)
at org.jacorb.orb.ORB.getRootPOA(ORB.java:951)
at org.jacorb.orb.ORB.resolve_initial_references(ORB.java:1237)
at oracle.oc4j.corba.jacorb.JacorbServerOrbManagerProxy.getRootPoa(JacorbServerOrbManagerProxy.java:165)
at oracle.oc4j.corba.jacorb.JacorbServerOrbManagerProxy.startNamingService(JacorbServerOrbManagerProxy.java:106)
at oracle.oc4j.corba.ServerOrbManager.startNamingService(ServerOrbManager.java:104)
at com.oracle.iiop.server.IIOPServerExtensionProvider.preInitApplicationServer(IIOPServerExtensionProvider.java:47)
at com.evermind.server.ApplicationServer.serverExtensionPreInit(ApplicationServer.java:1467)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1162)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Anybody can help with this?
Thanks
Mario MesquitaI have installed oracle 9i in my red hat linux box, but I'm getting few problems (Logging as root):
r.- the Oracle services must started as the user Oracle not as root.
2) if I try my installation using sqlplus scott/tiger, I get the following:
QL*Plus: Release 9.2.0.1.0 - Production on Wed Mar 3 20:00:17 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
r.- With what user did you start that instance ?
Joel Pérez -
I am trying to install TP4 on WIndows 2003 Server (VM) and am running into issues. I am also running database v11.1.0.6. I realize this is officially unsupported, but I'm not going to run a whole separate database stack. I need 11g. I appreciate any insights into what the problem is. If it will not run on 11g then let me know.
Environment variables:
BAM_OC4J_HOME: O:\OracleBAM_AS11 -- I am only interested in SOA, but put this in anyway
JAVA_HOME: C:\3ps\jdk1.5.0_12
JDEV_USER_DIR: O:\jdevinstance
JOH: O:\jdevtp4
ERROR IN CONSOLE:
[echo] Changing oc4j ports with following values:
HTTP Port : 8988 -> 8988
RMI Port : 23891 -> 23891
RMI SSL Port: 24043 -> 24043
JMS Port : ${jms},9227 -> 9227
[echo] Create jms queues/topics from new oc4j jms template
[echo] Changing jms.xml to use port : 9227
[echo]
* Configuring SOA Infrastructure. This will take 5-10 minutes. *
* Summary of SOA configuration parameters: *
** Oracle Home = O:\jdevtp4\
** Oracle Instance = O:\jdevinstance\system11.1.1.0.22.49.49
** SOA Database = localhost:1521:orcl
** SOA Database User = jdev_soainfra
** HTTP Port = 8988
** RMI Port = 23891
** JMS Port = 9227
** Component Type = o.j2ee
** Component Name = embedded-oc4j
** Configure OWSM = false
** Configure SOA Console = true
** Configure B2B UI = false
** Configure XEngine = false
[echo] Completed adfinstaller - standalone install
[echo] ==Seeding SOAAdmin app roles==
[echo] Instance home: O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j
[echo] JPS config: O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j/config/jps-config.xml
[echo] ==Grant SOAAdmin app role to fmwadmin ==
[echo] ==Storing fmwadmin user credential in csf ==
[java] oracle.security.jps.service.credstore.CredentialAlreadyExistsException: The credential with map name BPM-SERVICES and key BPM-SERVICES already exists.
[java] at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.setCredential(SspCredentialStore.java:551)
[java] at oracle.bpel.services.common.util.CSFStore.main(CSFStore.java:130)
[echo] ==Seeding optional demo users==
[echo] Seed groups: ${nogroup}
[echo] Instance home: O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j
[echo] JPS config: O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j/config/jps-config.xml
[echo] ==Starting standalone oc4j. Check server log O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\log\startsoa.log.
[echo] ==Waiting max 420 second(s) for startup of URL http://demodrive:8988...
[echo] ==standalone oc4j started sucessfully==
Trying to override old definition of task admin_client
BUILD FAILED
O:\jdevtp4\install\bpel\build.xml:10: The following error occurred while executing this line:
O:\jdevtp4\install\bpel\soa-infra-config.xml:48: The following error occurred while executing this line:
O:\jdevtp4\install\bpel\soa-infra-config.xml:89: ***************************************************
* Configuring SOA Infrastructure has FAILED.
* If following log files exists, please check them for possible cause:
* O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
* O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\log\startsoa.log
Total time: 1 minute 57 seconds
SOA_INFRA_JAVA.LOG:
08/07/08 17:51:29 Notification ==>Application Deployer for wsm-pm STARTS.
08/07/08 17:51:29 Notification ==>Undeploy previous deployment
08/07/08 17:51:30 Notification ==>Initialize O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\applications\wsm-pm.ear begins...
08/07/08 17:51:30 Notification ==>Initialize O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\applications\wsm-pm.ear ends...
08/07/08 17:51:30 Notification ==>Starting application : wsm-pm
08/07/08 17:51:30 Notification ==>Initializing ClassLoader(s)
08/07/08 17:51:30 Notification ==>Initializing EJB container
08/07/08 17:51:30 Notification ==>Loading connector(s)
08/07/08 17:51:30 Notification ==>Starting up resource adapters
08/07/08 17:51:30 Notification ==>Processing EJB module: wsm-pmserver.jar
08/07/08 17:51:30 Notification ==>Compiling EJB generated code
08/07/08 17:51:30 Notification ==>Committing ClassLoader(s)
08/07/08 17:51:30 Notification ==>Initialize wsm-pmweb begins...
08/07/08 17:51:30 Notification ==>Initialize wsm-pmweb ends...
08/07/08 17:51:30 Notification ==>Started application : wsm-pm
08/07/08 17:51:30 Notification ==>Binding web application(s) to site default-web-site begins...
08/07/08 17:51:30 Notification ==>Binding web application(s) to site default-web-site ends...
08/07/08 17:51:30 Notification ==>Application Deployer for wsm-pm COMPLETES. Operation time: 469 msecs
Creating shared-libraries for component SOA
O:\jdevtp4\/lib/java/shared/oracle.bam.common/11.1.1.0.0/import-list.xml: Creating JAXBContext for pkg oracle.ias.install.model.sharedLibrary
Jul 8, 2008 5:53:33 PM oracle.j2ee.util.AnnotatedLogger log
WARNING: Exception returned by remote server: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation publishSharedLibrary
oracle.oc4j.admin.deploy.cmdline.AdminCommandException: Caught exception running the command via the script file O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j/install/tmp/SOA.script at line 1: PublishSharedLibrary error: publishsharedlibrary failed: Error publishing shared library: Import was not resolved for oracle.bam.common:11.1.1.0.0: shared library "apache.commons.fileupload" could not be found.
at oracle.oc4j.admin.deploy.cmdline.ScriptCommand.doExecute(ScriptCommand.java:90)
at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:58)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
Caused by: oracle.oc4j.admin.deploy.cmdline.AdminCommandException: PublishSharedLibrary error: publishsharedlibrary failed: Error publishing shared library: Import was not resolved for oracle.bam.common:11.1.1.0.0: shared library "apache.commons.fileupload" could not be found.
at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:122)
at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:73)
at oracle.oc4j.admin.deploy.cmdline.ScriptCommand.doExecute(ScriptCommand.java:82)
... 3 more
Caused by: oracle.oc4j.admin.deploy.api.J2EEDeploymentException: publishsharedlibrary failed: Error publishing shared library: Import was not resolved for oracle.bam.common:11.1.1.0.0: shared library "apache.commons.fileupload" could not be found.
at oracle.oc4j.admin.deploy.shared.exceptions.JSR88DeploymentExceptions.operationFailed(JSR88DeploymentExceptions.java:137)
at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.publishSharedLibrary(J2EEDeploymentManager.java:953)
at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:120)
... 5 more
Caused by: java.lang.InstantiationException: Error publishing shared library: Import was not resolved for oracle.bam.common:11.1.1.0.0: shared library "apache.commons.fileupload" could not be found.
at oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.publishSharedLibrary(Oc4jDeploymentManager.java:206)
at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.publishSharedLibrary(J2EEDeploymentManager.java:950)
... 6 more
Caused by: java.lang.InstantiationException: Import was not resolved for oracle.bam.common:11.1.1.0.0: shared library "apache.commons.fileupload" could not be found.
at com.evermind.server.ApplicationServer.publishSharedLibrary(ApplicationServer.java:4178)
at oracle.oc4j.admin.management.mbeans.J2EEServer.publishSharedLibrary(J2EEServer.java:1417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:729)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
at oracle.oc4j.admin.jmx.server.security.ApplicationContextInterceptor.invoke(ApplicationContextInterceptor.java:186)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:337)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.checkPermission(MBeanServerEjbBean.java:1262)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.MethodBasedInterceptor.invoke(MethodBasedInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:182)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:511)
at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:301)
at oracle.oc4j.security.JaasModeImpl$BasicExecutor.execute(JaasModeImpl.java:161)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:828)
at MBeanServerEjb_RemoteProxy_1me2j7.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.invokeMethod(RmiMethodCall.java:102)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.loader.config.ConfigurationException: Import was not resolved for oracle.bam.common:11.1.1.0.0: shared library "apache.commons.fileupload" could not be found.
at oracle.oc4j.loader.config.ClassLoaderFactory.handleSharedLibraryNotFound(ClassLoaderFactory.java:706)
at oracle.oc4j.loader.config.ClassLoaderFactory.getSharedLibraryToImport(ClassLoaderFactory.java:681)
at oracle.oc4j.loader.config.ClassLoaderFactory.addImports(ClassLoaderFactory.java:340)
at oracle.oc4j.loader.config.ClassLoaderFactory.createSharedLibrary(ClassLoaderFactory.java:109)
at com.evermind.server.ApplicationServer.instantiateSharedLibrary(ApplicationServer.java:1580)
at com.evermind.server.ApplicationServer.publishSharedLibrary(ApplicationServer.java:4175)
... 63 more
Creating shared-libraries for component SOA
O:\jdevtp4\/lib/java/shared/edifecs.xengine/11.1.1.0.0/import-list.xml: Creating JAXBContext for pkg oracle.ias.install.model.sharedLibrary
O:\jdevtp4\/lib/java/shared/oracle.b2b/11.1.1.0.0/import-list.xml: Creating JAXBContext for pkg oracle.ias.install.model.sharedLibrary
Jul 8, 2008 5:53:38 PM oracle.j2ee.util.AnnotatedLogger log
WARNING: Exception returned by remote server: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation publishSharedLibrary
oracle.oc4j.admin.deploy.cmdline.AdminCommandException: Caught exception running the command via the script file O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j/install/tmp/SOA.script at line 2: PublishSharedLibrary error: publishsharedlibrary failed: Error publishing shared library: Import was not resolved for oracle.b2b:11.1.1.0.0: shared library "oracle.fabric.runtime" could not be found.
at oracle.oc4j.admin.deploy.cmdline.ScriptCommand.doExecute(ScriptCommand.java:90)
at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:58)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
Caused by: oracle.oc4j.admin.deploy.cmdline.AdminCommandException: PublishSharedLibrary error: publishsharedlibrary failed: Error publishing shared library: Import was not resolved for oracle.b2b:11.1.1.0.0: shared library "oracle.fabric.runtime" could not be found.
at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:122)
at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:73)
at oracle.oc4j.admin.deploy.cmdline.ScriptCommand.doExecute(ScriptCommand.java:82)
... 3 more
Caused by: oracle.oc4j.admin.deploy.api.J2EEDeploymentException: publishsharedlibrary failed: Error publishing shared library: Import was not resolved for oracle.b2b:11.1.1.0.0: shared library "oracle.fabric.runtime" could not be found.
at oracle.oc4j.admin.deploy.shared.exceptions.JSR88DeploymentExceptions.operationFailed(JSR88DeploymentExceptions.java:137)
at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.publishSharedLibrary(J2EEDeploymentManager.java:953)
at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:120)
... 5 more
Caused by: java.lang.InstantiationException: Error publishing shared library: Import was not resolved for oracle.b2b:11.1.1.0.0: shared library "oracle.fabric.runtime" could not be found.
at oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.publishSharedLibrary(Oc4jDeploymentManager.java:206)
at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.publishSharedLibrary(J2EEDeploymentManager.java:950)
... 6 more
Caused by: java.lang.InstantiationException: Import was not resolved for oracle.b2b:11.1.1.0.0: shared library "oracle.fabric.runtime" could not be found.
at com.evermind.server.ApplicationServer.publishSharedLibrary(ApplicationServer.java:4178)
at oracle.oc4j.admin.management.mbeans.J2EEServer.publishSharedLibrary(J2EEServer.java:1417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:729)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
at oracle.oc4j.admin.jmx.server.security.ApplicationContextInterceptor.invoke(ApplicationContextInterceptor.java:186)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:337)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.checkPermission(MBeanServerEjbBean.java:1262)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.MethodBasedInterceptor.invoke(MethodBasedInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:182)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:511)
at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:301)
at oracle.oc4j.security.JaasModeImpl$BasicExecutor.execute(JaasModeImpl.java:161)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:828)
at MBeanServerEjb_RemoteProxy_1me2j7.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.invokeMethod(RmiMethodCall.java:102)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.loader.config.ConfigurationException: Import was not resolved for oracle.b2b:11.1.1.0.0: shared library "oracle.fabric.runtime" could not be found.
at oracle.oc4j.loader.config.ClassLoaderFactory.handleSharedLibraryNotFound(ClassLoaderFactory.java:706)
at oracle.oc4j.loader.config.ClassLoaderFactory.getSharedLibraryToImport(ClassLoaderFactory.java:681)
at oracle.oc4j.loader.config.ClassLoaderFactory.addImports(ClassLoaderFactory.java:340)
at oracle.oc4j.loader.config.ClassLoaderFactory.createSharedLibrary(ClassLoaderFactory.java:109)
at com.evermind.server.ApplicationServer.instantiateSharedLibrary(ApplicationServer.java:1580)
at com.evermind.server.ApplicationServer.publishSharedLibrary(ApplicationServer.java:4175)
... 63 more
TAIL END OF SOA_INFRA_CONFIG.LOG:
start-oc4j:
[echo] ==Starting standalone oc4j. Check server log O:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\log\startsoa.log.
[echo] ==Waiting max 420 second(s) for startup of URL http://demodrive:8988...
[echo] ==standalone oc4j started sucessfully==
[stopwatch] [start-oc4j: 1:03.938 sec]
rules-config:
Trying to override old definition of task admin_client
runconfig:
check-runconfig:
create-oracle.rules:
create-rules-shared-library:
[java] oracle.oc4j.admin.deploy.cmdline.AdminCommandException: PublishSharedLibrary error: Shared library already exists: oracle.rules version 11.1.1.0.0
[java] at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:106)
[java] at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:58)
[java] at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
[java] at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
[java] Caused by: oracle.oc4j.admin.deploy.cmdline.AdminCommandException: Shared library already exists: oracle.rules version 11.1.1.0.0
[java] at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:103)
[java] ... 3We went through this issue at length in another thread and finally resolved it without knowing why.
Here is the thread
SOA configuration : Build failed (error is soa-infra-java.log)
Here is the bit from that thread with the resolution details:
I did the following steps (and it works):
= stop JDeveloper
= stop running java process
= renamed jdevinstance to jsaveinstance
= start JDeveloper in the same command prompt
= start the configure SOA again
= and after 7 minutes: Build Succesful
I did NOT :
= put off the laptop (stand-by mode)
= change environment variables
= environment settings
= install/unzip other programs
Let us know how this works for you!
Heidi.
Maybe you are looking for
-
Creative Suite 6 Design Standard Trial - AAAGGGHHH!
I have had adobe creative suite for a year or two with no problems. Last month, the trial window popped up and has been annoying me for 30 days. Today is the last of the trial days and now I CAN'T OPEN PHOTOSHOP AT ALL!!!! It is telling me to purchas
-
Is there a way to change the frame rate on an audio clip in the source monitor?
Premiere CC6. I am trying to sync audio and video by using "Merge Clips" but the audio seems to be counted in a 29.97 rate while the video is 23.98. The sound person on set swears the audio TC should match the smart slate and that the frame rate is
-
Bug with big Black Pixel on Photoshop CC
Hi, I recently install Photoshop CC (iMac 2,8 Ghz Intel Core i5, 16Go 1333 Mhz DDR33, Mavericks) When using different layers, I have a HUGE BLACK PIXEL coming on the picture (365x365px) , often on the low lef corner. It disapears when I strongly zoom
-
There are thousands of records in a table. The table has column TOTAL_NUMBER. I want to find the top 3rd using the column TOTAL_NUMBER. How can I do this using SQL?
-
Hi deleting left most character
my itab-f1 = 9uiytyrea . while looping at itab i need delete leftmost character i.e 9 or any other integer and than need to display