otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


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

OTM SIG
MavenWire


Development Developing Custom Code and Frameworks for OTM in order to extend the functionality. (Note: Does NOT include XSL/CSS Customization - that is within the "Branding, Screen Sets, XSL/CSS and Translations" section above.)

Tags: ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 21st, 2008, 16:26
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ravlad is on a distinguished road
how to configure env

Hi all, im trying to test java api integration.
Information described in datamanagement.pdf looks not completed.

After adding some jar's to java project and compiling Example3 -
GetEntityNames program failed with next messages:

Could not logon to machine t3://localhost:7001 as user guest
javax.naming.NamingException: Invalid provider URL


[size=4]javax.naming.NamingException
: Invalid provider URL

at com.evermind.server.rmi.RMILocation.createRMILocat ion(RMILocation.java:79)


at com.evermind.server.rmi.RMILocation.createRMILocat ion(RMILocation.java:56)


at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:528)


at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:507)

at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:418)
.......

my glog.properties (i put it into {home} dir):

appserver=xxx.xxx.xxx.xxx
appserver.port=7001
appserver.protocol=t3://
glog.app.server.name=oas
maybe someone allready meet such messages?
Attached Files
File Type: txt exception.txt (8.6 KB, 1 views)

Last edited by ravlad : August 21st, 2008 at 16:29.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 21st, 2008, 16:41
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 237
Thanks: 0
Thanked 34 Times in 34 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: how to configure env

Is you application server up and running? From the error it appears that it's not or is not accepting connections. Check your weblogic console.log file under /otm/logs/weblogic for additional errors in the startup.
__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 21st, 2008, 16:46
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 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: how to configure env

Also, there appears to be a mismatch in your property files -- are you running WebLogic or OAS as your OTM application server?

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old August 21st, 2008, 16:46
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ravlad is on a distinguished road
Re: how to configure env

server is running, also otm runned on oracle app server, but i think its not a problem.

i'm trying to connect to application server which are runned on another computer, in my glog.properties i specify ip address of otm server, but java client trying to connect to local machine, why? i dont understand.

Last edited by ravlad : August 21st, 2008 at 16:59.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old August 21st, 2008, 17:03
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ravlad is on a distinguished road
Re: how to configure env

one more, i comment string
glog.app.server.name=oas
and after that program exit with another exeption
java.lang.NoClassDefFoundError: weblogic/security/service/PrivilegedActions

so, looks like property file successfully finded.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old August 21st, 2008, 18:06
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 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: how to configure env

Are you running WebLogic or OAS for your OTM application server? If you're running WebLogic, then you'll need extra libraries and jar files available for this to work (hence the error you received). If you're running OAS, then your other properties should be different - to include a different communications protocol and port.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old August 21st, 2008, 18:14
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ravlad is on a distinguished road
Re: how to configure env

OAS

--Alex
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old August 21st, 2008, 18:17
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 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: how to configure env

In that case, your properties should look like:

appserver=xxx.xxx.xxx.xxx
appserver.port=23791
appserver.protocol=ormi://
glog.app.server.name=oas

--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:07.
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