Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XDB realm

 
dhana rangu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

I have written a simple servlet which retrieves a string from oracle data base and displays on the browser.

I am using tomcat.

But when i run the servet i am getting a page with a window like this



401 unaurhorized

enter network passwd

please type ur username and passwd

Site :localhost
realm :xdb
USername:
passwd:



I am unable to resolve this..

I request u to help me in getting thru this

THANKS A LOT
dhana
 
dhana rangu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have oracle 9i installed

if i stop oracle..its giving tns listener error

plz help
 
dhana rangu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thnaks a lot for ur help..I will let u know if any problem is there/?
thanks
dhana
 
dhana rangu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi alan

I just tried a simple solution and it worked out...

What i did is I unlocked the anonymous user acccount in oracle like



surprisingly it worked......

BTW i looke for isql service u r talking abt ..but i could not find in my services list..can u plz tell me where it will be???

thanks
dhana
 
Alan Ford
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I deleted my posts because your problem was not what I expected to be.
So my answers were wrong.
 
Steve Calkins
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This effect happens when Tomcat and Oracle are set to accept queries from the same port. Unfortunately, both Tomcat and Oracle listen by default to port 8080. Change the Tomcat port number in server.xml (in the $Catalina_Home/conf folder) to another value and the effect disappears.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic