otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Installation and Upgrades Getting past the first step - installing and upgrading OTM / G-Log.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 28th, 2007, 08:04
Member
 
Join Date: Jun 2007
Posts: 53
Thanks: 14
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
new_otm is on a distinguished road
Post Error deploying OTM

Error: OTM application has not been deployed correctly.

Software:

Windows 2003 Server with Service Pack 1
Internet Explorer 6.0 SP1
Oracle 10g Release 2 (10.2.0.3.0) Enterprise Edition
[OAS] Oracle Application Server 10.1.3.0 + patches
Oracle 10gR2 (10.2.0.3.0) client (Administrator install)

Installation steps:

· Oracle application server 10.1.3.0 installation.
· Oracle 10g Release 2 Enterprise Edition and Client installations.
· Database created correctly.
· OTM software.
· Database configuration with OTM scripts.
Database non-partitioned

Scripts:
@create_glog_roles.sql
@create_glog_users.sql

Import OTM Database Structure and Public Data

Running OTM scripts

In SQL*Plus, as user GLOGOWNER run:
@create_vpd_package.sql
@glogowner_grants.sql
@create_public_synonyms.sql
@create_logon_triggers (enter connection string when prompted)

In SQL*Plus, as user ARCHIVE run:
@archive_grants

In SQL*Plus, as user REPORTOWNER run:
@reportowner_grants.sql
@create_public_synonyms.sql
@recompile_invalid_objects.sql

In SQL*Plus, as user GLOGOWNER run:
@aq_setup.sql
@recompile_invalid_objects.sql

Reset Sequences
In SQL*Plus as the GLOGOWNER user, run:
Set serverout on size 1000000
Execute domainman.reset_sequence;


Setup Security Roles
In SQL*Plus as the GLOGOWNER user, run:
@insert_security_roles.sql


Migrate the New Database
In SQL*Plus as user GLOGOWNER, run:
@dbpatch_55.sql . This script does not be executed correctly.


Error 1: Asks for PART_1 tablespace when the database is non partitioned.

Error 2:
WARNING: Sequence VISIBILITY_PIECE_SEQUENCE is mappet to VISIBILITY_PIECE.VISIBILITY_PIECE_XID which does not exist.

Table VISIBILITY_PIECE does not exist!

Error 3:
Applying updates...

Adding primary keys....
VISIBILITY_PIECE ORA-00942: table or view does not exist

Adding new sequences...

WARNING: Sequence VISIBILITY_PIECE_SEQUENCE is mapped to
VISIBILITY_PIECE.VISIBILITY_PIECE_XID which does not exist.


Cleaning up obsolete synonyms

Loading new java classes...
Enter glogowner password for parameter 1.
Enter dbname for parameter 2.


Enable all policies after making structure change

Re-validate VPD package and other objects before changing data...

ORA-24344: success with compilation error


List of first 50 Invalid objects after recompile.
================================================
PKG_DHL_UTIL PACKAGE BODY

Errors for PACKAGE BODY PKG_DHL_UTIL:
50/122 PL/SQL: ORA-00942: table or view does not exist

50/5 PL/SQL: SQL Statement ignored

55/30 PLS-00201: identifier 'VISIBILITY_PIECE.LAST_EVENT_EVENT_TYPE_GI
D' must be declared
PL/SQL: Item ignored

56/28 PLS-00201: identifier 'VISIBILITY_PIECE.LAST_EVENT_UPDATE_DATE'
must be declared
PL/SQL: Item ignored

57/28 PLS-00201: identifier 'VISIBILITY_PIECE.LAST_EVENT_DATE_OFFSET'
must be declared
PL/SQL: Item ignored

58/15 PLS-00201: identifier 'VISIBILITY_PIECE.STATUS' must be declared

PL/SQL: Item ignored

62/24 PLS-00320: the declaration of the type of this expression is inc
omplete or malformed

62/5 PL/SQL: SQL Statement ignored

66/64 PLS-00320: the declaration of the type of this expression is inc
omplete or malformed

71/69 PLS-00320: the declaration of the type of this expression is inc
omplete or malformed
Invalid objects before Recompile....

1

Invalid objects after Recompile....

1



The number of invalid objects is still the same after recompile.


Please analyze the existing invalid objects.


Adding check constraints...

Setting up grants and public synonyms...





In SQL*Plus as user GLOGOWNER, run:
@insert_security_roles.sql


When otmwebtomcat55 and otmapp55 are started, otm application does not deploy!
But in the Task Manager we have two apache.exe processes and two application servers deployed!!!!!!



Installing the Replicated Operational Database for Reporting and Archiving
It has not been carried out




We can not access to OTM application


Any suggestion?

Thank you in advance
Attached Images
File Type: bmp dbpatch_error_part1.bmp (647.8 KB, 5 views)
File Type: bmp dbpatch_error_part1_err2.bmp (915.0 KB, 1 views)
File Type: bmp dbpatch_error_part1_err3.bmp (634.3 KB, 1 views)
File Type: bmp dbpatch_error_part1_err4.bmp (640.1 KB, 1 views)
File Type: bmp dbpatch_error_part1_err5.bmp (631.1 KB, 2 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old June 28th, 2007, 14:47
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 785
Blog Entries: 7
Thanks: 49
Thanked 193 Times in 118 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Error deploying OTM

Hello!

I've found that it's necessary to utilize a partitioned database with OTM v5.5 CU1 and above. While I haven't seen the official specs haven't changed (I believe), the recent patches appear to have been only tested on a partitioned database. If you're not able to move to a partitioned database, I'd recommend contacting Oracle Support in order to log this as a bug and get the issues resolved by development.

I know that the OTM development group was looking to drop support for non-partitioned databases at some point, so I definitely recommend moving in this direction for all new OTM instances.

Another point - for development instances, using Oracle Application Server is fine, but I strongly recommend against using it for production instances until it has been production proven. To put it simply, OTM has run on WebLogic for 8 years now and only for 6 months on OAS.

Thanks!
--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old June 28th, 2007, 14:50
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 785
Blog Entries: 7
Thanks: 49
Thanked 193 Times in 118 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Error deploying OTM

One more note - can you post your console.log file for the OTM app server? This will include more details on the deployment issues, which may or may not be related to the DB issues (though I definitely recommend resolving the DB issues first).

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 19:14.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37