Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 545 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 441 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Metadata in DB

I have installed Oracle 10g database in my windows machine for setting up a project related internal application for data archieving. After setting up the db, as part of application installation,we deployed the application war file in the Application Server(Tomcat) webapps folder. Although the login page for the application comes, it is not accepting the Admin credentials. After lot of discussions, an opinion came to check the database whether it has data for this Admin login. How we can check a database for metadata. Can anyone help me with this. I'm totally new to this.(Already the application was running successfully on another db. We want to set the application running in the db which is installed in my machine. So changed the DBParams and ADVParams xmls in the code. )
Answers
-
957500 wrote: I have installed Oracle 10g database in my windows machine for setting up a project related internal application for data archieving. After setting up the db, as part of application installation,we deployed the application war file in the Application Server(Tomcat) webapps folder. Although the login page for the application comes, it is not accepting the Admin credentials. After lot of discussions, an opinion came to check the database whether it has data for this Admin login. How we can check a database for metadata. Can anyone help me with this. I'm totally new to this.(Already the application was running successfully on another db. We want to set the application running in the db which is installed in my machine. So changed the DBParams and ADVParams xmls in the code. )
This is interesting on several counts.
First, you are installing an obsolete version of oracle. Why?
Second, it appears that your problem is with your application not finding the data it is looking for. Why is this an Oracle problem? Is the application home-grown or purchased? If home-grown, it seems your developers should be able to figure out why it behaves the way it does. If purchased, why aren't you working with the vendor?
Third, as far as your database is concerned, what you are looking for isn't meta-data. It is merely the data your application has stored in the database. Apparently, the data for which you installed the db in the first place.
This application login page .... I take it you are using the database to store, among other things, the credentials the application user needs to use the application. So are the credentials being entered the credentials for the application, or credentials for the application to connect to the database? What was the exact error that was returned? Was there an associated error code -- something like 'ora-nnnnn)?
I think your DBParams and ADVParams xmls in the code are related to your application. Not something oracle would know about.
-
How do I ask a question on the forums?
-
I have installed Oracle 10g database in my windows machine for setting up a project related internal application for data archieving. After setting up the db, as part of application installation,we deployed the application war file in the Application Server(Tomcat) webapps folder. Although the login page for the application comes, it is not accepting the Admin credentials. After lot of discussions, an opinion came to check the database whether it has data for this Admin login.
That is NOT a database issue - it is an application issue.
Your application startup likely loads authentication data (user names and passwords) from one or more tables in a database. You created a new database but you may not have created the schema, tables (and other objects) and data in that database that your application needs.
I'm totally new to this
Then you should be asking someone in your organization that is NOT 'totally new to this' how to install and configure your application.
There should also be project documentation that discusses how to setup the application on a new system.
-
First of all, thanks for your replies.
Although the version of database is outdated when compared to 11g or 12c, I dont wish to consider it as an obsolate version because applications which was developed previously with 10g is still using the same version of database. Like our application which was developed some 3 years back was working fine with the 10g XE database. Its a purely home grown tool for internal purpose. So I cant blame any vendor nor the developers.
Now a situation has came to set up the same environment in my machine. So we just need to reproduce the same environment here rather than going for an upgraded version. So only sticking to 10g.
Next, I'm not talking about an application not working on a fresh newly installed db. The initial set up for setting up the db for the application is already done in the db. This involves running sql scripts for creating user,objects and loading application metadata. Those scripts ran successfully and the changes were committed. So its not because of application data missing in the database rite?
Till this time, I havent concluded it as a database issue. I was checking in the forum to get a solution to my issue which can be a database issue. (as the forums helped me many times before during my career)
-
Did you raised these question/concerns with your DBA..? - Any error did you got..? any ORA- errors..?
-
It didnt give any ORA error. The problem is its not establishing connection with the present db. Its still pointing to the old db which doesnt exist now. -
Db parameters are changed.. SO it should point to the present db.. but its not behaving in the expected way
-
It means you didn't add the tns entry of present db in you machine - Through which tool are you trying to connect the present db
-
Through SQL Plus. -
I didnt understand why its a tns entry error.. This db is installed in my local machine..not on a seperate machine ..