otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Data Loading Loading data into OTM / G-Log through CSVs, XML, and the UI.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 25th, 2009, 06:27
Junior Member
 
Join Date: Oct 2008
Posts: 4
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vishalm06 is on a distinguished road
CSV upload failing in OTM6.0

Hi,

I am trying to upload a CSV via command line which inserts data into USER_ROLE table in OTM 6.0. While uploading the CSV i get the below error.

java.rmi.AccessException: [EJB:010160]Security Violation: User: 'guest' has insufficient permission to access EJB: type= lt ejb gt , application=GC3App, module=SecuritySession.jar, ejb=SecuritySessionHome, method=createUserRole, methodInterface=Remote, signature={glog.database.security.SecurityUserRole }

Although I am able to upload the same CSV via OTM UI and also via command line I am able to upload other CSVs. I am attaching the CSV file and command used to upload. Kindly Help.

Thanks,
VIS.
Attached Files
File Type: txt OTM_issue.txt (573 Bytes, 19 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old May 25th, 2009, 13:59
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: CSV upload failing in OTM6.0

Seems to be an issue with your login credentials. It looks like you are logging in as guest instead of GUEST.ADMIN.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old May 26th, 2009, 04:53
Junior Member
 
Join Date: Oct 2008
Posts: 4
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vishalm06 is on a distinguished road
Re: CSV upload failing in OTM6.0

Hi,

Thanks for your reply. Actually I am new to OTM. I am uploading the CSV via command line not from UI. Can you pleae explain how can I control the user by which i should login via command line. The coonectionid I am using in commnad is codegen and it has the following details added to the glog.properties.


glog.database.codegen.schema=glogowner
glog.database.codegen.t2client.driverClassName=ora cle.jdbc.driver.OracleDriver
glog.database.codegen.t2client.databaseURL=jdbcr acle:thin:@astnl.us.oracle.com:1531
glog.database.codegen.user=glogowner
glog.database.codegen.password=glogowner
glog.database.codegen.server=dbserver
glog.database.codegen.t2client.pool=
glog.database.codegen.sid=OTMDB

Thanks
Vishal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old May 26th, 2009, 11:27
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: CSV upload failing in OTM6.0

Well you can use the python command line which looks something like this:

java glog.database.admin.CSVUtil –command
<i|ii|iu|u|uu|d|dd|xcsv|xcsvcd|xcsvpcd|xcsvpd|xsql > -connectionId
<connectionId> -tableName <tableName> -dataDir <dataDirectory> -
dataFileName <dataFileName> -appendFile –runsqlloader -domain_name
<domainName> -useT2 <Y|N> -debug -XMLCSVOutput -sqlQuery <queryString> -
whereClause <whereClause> -clobDir <clobDirectory> –xvalidate <Y|N> -
encoding <encoding>


There is a lot of information found in the data management guide which can be found on the application server's /otm/docs directory.


__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old May 26th, 2009, 12:23
Junior Member
 
Join Date: Oct 2008
Posts: 4
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vishalm06 is on a distinguished road
Re: CSV upload failing in OTM6.0

Hi

If you check OTM_issue.txt which I uploaded earlier I am using the same command to upload csv.
I am able to uplaod the same CSV via OTM UI but not from backend. Can it be something do with the security setup in weblogic which doesnt allow to load data in USER_ROLE table.

Thanks
Vishal.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old May 26th, 2009, 12:29
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: CSV upload failing in OTM6.0

But you need to change your authentication ID. From the error you are logging in as a weblogic ID of guest, not an OTM ID such as GUEST.ADMIN. You need to correct this if you are uploading to the GUEST domain. If you are loading public data, you need to login as DBA.ADMIN.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old May 26th, 2009, 12:31
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: CSV upload failing in OTM6.0

The other option which is much simpler is to use python so you can specify all of the parameters. This is what I use and it sends the data is with the user you want such as DBA.ADMIN or SERVPROV.ADMIN.
__________________
MavenWire Hosting Admin
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rail Car Order Release Failing eorlandi Planning 2 January 15th, 2010 20:09
Planned Shipment outbound from OTM to EBS failing arunk OTM / EBS / JDE E1 Integration 1 May 6th, 2009 16:37
OM - Choose Ship Method Failing-Delivery Date Eringreen OTM / EBS / JDE E1 Integration 0 February 12th, 2009 17:23
Document Upload Vinod Data Loading 2 November 14th, 2007 04:17
Data upload error engyeowkee Data Loading 2 July 2nd, 2007 09:50



All times are GMT. The time now is 07:37.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

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 38 39 40