Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Tomcat error 403 with oracle ords

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Im feacing a problem with tomcat and SQL developer. Seeing the tomcat logs, each time I try to log with sqldeveloper to the ords.war, reply a error 403.

"POST /ords/logis/oauth2/token HTTP/1.1" 403

I have tried to setup the content.xml and add the ip range of the server but still the same error.



   <Valve className="org.apache.catalina.valves.RemoteAddrValve"
           allow="10\.10\.67\..*" />


I also try by changing the java version from 8 to 7 but stil the same error, also try with tomcat 8 or 7 and the same error.

Any tip?

Thanks and regards.
Posts: 6108
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi E Aaaaaa (please change your name to something real-sounding or at least pronounceable),

Welcome to the CodeRanch!

I doubt your problem has anything to do with your Java version.  It's probably permissions, but to be let's look at the logs.  You didn't say what OS you're on, but basically the steps are these:

* Stop Tomcat
* Go to directory <Tomcat Install Dir>/logs and delete all the files there
* Start Tomcat
* Do whatever you do to get the error
* Stop Tomcat

Now <Tomcat Install Dir>/logs will contain a bunch of files.  Look through them and see if you can figure out the problem.  If you can't, look for errors and post them here.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!