Cloudscape - JSP - Unable to create database CloudscapeDB
I created a Cloudscape database in a Java program:
try {
Class.forName(COM.cloudscape.core.JDBCDriver).newInstance();
connection = DriverManager.getConnection(jdbc:cloudscape:CloudscapeDB;create=true);
A CloudscapeDB directory is automatically created in the same directory as my
Java program. I then ran cloudview -start from the DOS prompt, opened my database, created my tables and added data.
In another Java program, I display the list of customers:
public void displayCustomers(){
try {
Class.forName("COM.cloudscape.core.JDBCDriver").newInstance();
connection = DriverManager.getConnection(jdbc:cloudscape:CloudscapeDB;create=true);
Statement s = connection.createStatement();
ResultSet rs = s.executeQuery("SELECT * FROM customer");
This Java program works fine, displays the data from the customer table.
I then take this same code and put in into a JSP to display the list of customers to a web page and deploy my application using the Deployment tool:
<%
try {
Class.forName(COM.cloudscape.core.JDBCDriver);
connection = DriverManager.getConnection(jdbc:cloudscape:CloudscapeDB;create=true);
My getConnection() method throws the following SQL Error:
SqlException Error Thrown Failed to create database 'CloudscapeDB'
I am able to access the CloudscapeDB using the same driver and URL in the Database Tool but I don't know what I am doing wrong in my JSP.
In the Deployment Tool, I have configured the Driver Class as COM.cloudscape.core.JDBCDriver and the JNDI Name as jdbc/CloudscapeDB and the JDBC URL as jdbc:cloudscape:CloudscapeDB;create=true. I am not sure I even needed to do this.
Any idea why my JSP cannot create the CloudscapeDB? I believe the CLASSPATH is configured correctly because I am able to get access to the Cloudscape database in my Java program.
Any help would be greatly appreciated.
Hi, I saw your message in sun's forum. I am wondering how you g ot this issue resloved because I have a similar problem using Tomcat4.0 and cludscape 3.6. Would you please drop me a few lines and let me know your solution? I think it may be Tomcat configuration issue but just don't know how to fix it.
Thanks in advance
please reply to [email protected]
I created a Cloudscape database in a Java program:
try {
Class.forName(COM.cloudscape.core.JDBCDriver).newInsta
ce();
connection =
=
DriverManager.getConnection(jdbc:cloudscape:Cloudscape
B;create=true);
A CloudscapeDB directory is automatically created in
the same directory as my
Java program. I then ran cloudview -start from the
DOS prompt, opened my database, created my tables and
added data.
In another Java program, I display the list of
customers:
public void displayCustomers(){
try {
Class.forName("COM.cloudscape.core.JDBCDriver").newIns
ance();
connection =
DriverManager.getConnection(jdbc:cloudscape:CloudscapeD
;create=true);
Statement s = connection.createStatement();
ResultSet rs = s.executeQuery("SELECT * FROM
OM customer");
This Java program works fine, displays the data from
the customer table.
I then take this same code and put in into a JSP to
display the list of customers to a web page and deploy
my application using the Deployment tool:
<%
try {
Class.forName(COM.cloudscape.core.JDBCDriver);
connection =
n =
DriverManager.getConnection(jdbc:cloudscape:CloudscapeD
;create=true);
My getConnection() method throws the following SQL
Error:
SqlException Error Thrown Failed to create database
'CloudscapeDB'
I am able to access the CloudscapeDB using the same
driver and URL in the Database Tool but I don't know
what I am doing wrong in my JSP.
In the Deployment Tool, I have configured the Driver
Class as COM.cloudscape.core.JDBCDriver and the JNDI
Name as jdbc/CloudscapeDB and the JDBC URL as
jdbc:cloudscape:CloudscapeDB;create=true. I am not
sure I even needed to do this.
Any idea why my JSP cannot create the CloudscapeDB? I
believe the CLASSPATH is configured correctly because
I am able to get access to the Cloudscape database in
my Java program.
Any help would be greatly appreciated.
Similar Messages
-
Unable to Load Database/Unable to create database.
RoboHelp 6.0 on my PC is suddenly unable to open existing
projects or create new ones. The problem is not in the projects, as
other people can unzip the same set of files and open them with
RoboHelp on their PCs.
The Details:
When attempting to open an existing project (any project
whether in version control or not), I get the message " Open
project was cancelled or the application was unable to load
database for..."
I found the article that says to delete the CPD and XPJ files
and then to use the Edit option to open the HHP file so that
RoboHelp will recreate the two files. When I try that, I get the
message "Unable to create database. Check that the directory is not
read-only." It's
not read-only.
When I attempt to create a new project, the application acts
like it is going to create one, but it just creates a project
folder without the new first topic and then repeats the New Project
Wizard window that prompts for title, etc. It will keep creating
folders and returning to this window in a loop without ever really
creating a project.
RoboSource Control is functioning normally, by the way.
I have uninstalled and reinstalled RH 6 several times, and
have even uninstalled RH 6 and installed to RH 5 just to see if it
could open projects, which it does with no problems. After that
test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
the same problem all over again.
This started happening after I uninstalled other unrelated
software and received a message that some Service Pack 2 files had
been changed and prompting me to insert the Service Pack 2 CD,
which I don't have. This is because our IT department pre-builds
our systems from an image and then distributes job-specific
applications over the network. IT tried repairing Service Pack 2,
but that didn't work. I'd like to uninstall and reinstall Service
Pack 2, but the IT person says it's too risky on a system that was
built from an image.
We would like to find out
which files RoboHelp is looking for when it launches a
project so we can replace those files manually. Does anyone
know what they are or have another suggestion that might fix the
problem?
Otherwise, I am stuck having to allow IT to rebuild my
system. That means reinstalling and reconfiguring everything on it,
just as if I were upgrading to a new PC. This can take a whole work
week. However, I have already spent close to a work week on this
problem, so maybe rebuilding would save time in the long
run.Problem Resolution = HHA.dll
For anyone who might be interested in the resolution to this
issue, we did rebuild my PC and reinstall all of my software. The
RoboHelp installation "complained" that I did not have HTML Help
Workshop on my system and told me to download version 1.4 from
Microsoft. I did have HTML Help Workshop..it's in my programs list.
(It's not listed in programs on my co-workers' PCs, and they were
not having problems, by the way.) But to make RH happy, I
uninstalled the workshop and tried to install the version from
Microsoft. But a message informed me that I already had a newer
version of the workshop on my system, and I was back where I
started. I could open projects, but there were weird problems.
Selecting Topic Properties was met with an error message, and when
the properties window opened, I could only see whatever template
was assigned (or none if the topic had lost its template), and
there was an extra section for Oracle help.
So I started dinking around in the registry to see if I could
get rid of any traces of the workshop so I could install the
version RH wanted or to find any other clues to my problem. Under
HTMLHelpAuthor, there was a reference to an HHA.dll file located in
C:\WINDOWS\system32...only the file did not exist on my system.
(Remember that my original problem was that some Service Pack 2
files were either modified or missing.) So I did a Google search on
that file name and found out that HTML Help Workshop is included in
newer Windows operating systems, but that people used to have to
get HTML Help Workshop from Microsoft, and that some people had
made the mistake of just putting the HHA.dll file into the
C:WINDOWS\system32 folder without also installing HTML Help
Workshop. At this point it was obvious that I needed the HHA.dll,
so I got it from a co-worker's PC. (Looking at the registry
entries, I can also see that my system was built with a slightly
different version of the operating system than my co-workers have.)
Adding the HHA file to my system solved the problem. All
projects but one were fine; one was still exhibiting the strange
behavior. I fixed it by going back to the RoboHelp 5 version of the
project and re-converting it to RoboHelp 6.
I suspect that if I had known about the HHA.dll file before
we rebuilt the PC, I could have solved the problem without going
through that painful process. That is why I thought I should post
the solution even though it was after the rebuild. -
Unable to create database error
Hello all-
I've been working on a project in Robohelp7/HTML for about a
week. I come in today and try to open my project and receive the
error "Unable to create database. Check that the directory is not
read-only.". I've done the obvious of checking the folders and
files within and they are not marked read only. When I create a new
project, I receive the same error. I'm stuck at a standstill and
can't figure out why Robohelp has decided to deny me access to my
project or the ability to create new ones. I went so far as to
uninstall and reinstall, to no avail.
Has anyone encountered this? Any help would be greatly
appreciated.
ThanksThere is a topic on Opening RoboHelp Projects on my site. Rh allows you to browse to either an XPJ or HHP file but that is only as good as the last time you generated an output.
When you open with an HHP you get an option to use the XPJ or not, in which case one is created. Either way there should be an XPJ. Not sure how you have lost it.
Backup?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Unable to create database entry in the directory service. - TNS-04
We run into this error when we tried to register an Oracle 10.2.0.4 database with OID server (10.1.4.3):
Unable to create database entry in the directory service. - TNS-04409: Directory service error
We use Oracle DBCA to register to the OID. Both Oracle database and OID server are all running under Sun Solaris environment.
In the meantime, I found these errors in the oid logs:
oidldapd01.log:
2009/07/13:21:15:47 * DispatcherListener:2 * ERROR : gslsflAcceptConnAndSend : OS 2 : Unable to accept New TCP
connection
Any ideas?
Thanks
NaiyingHi,
Thanks for update.
No, didn't find DSCC agent logs get updated when I have the pop up.
C:\dsee7\var\dcc\agent\logs
In the glassfish server log, I didn't find new transaction when I hit the issue
C:\glassfish3\glassfish\domains\domain1\logs -
Unable to Create database index
Hello All,
I have a table where I'm trying to define indexes.
I make the additional entry for indexes via SE11.
Call transaction SE11.
Enter the table ..
Choose "Change".
Choose "Indexes ...".
Choose the "Create Index" icon and enter the table name and the index name.
However when I goto SE14 to create in the database, ->
Choose "Edit".
Choose "Indexes ...".
Select the index.
Choose continue.
-> Select 'Background' as the processing type.
> Choose "Create database index".
Here, I'm unable to te database index just because it is grayed out.
I tried with user DDIC also.
Can any one help with the reason that I am unable to create it.
Thanks a lot in advance.
Regards,
PradeepHello Pradeep,
Steps to create an Index
1. Goto SE11
2. Enter table name and F6(Change)
3. Select "Indexes" from the Application Tool bar
4. Select "Create Index" Option
5. Select one option
"Non-Unique index"
or
"Unique Index"
In case of a Non-Unique Index, you can use the radio buttons to define whether the index should be created for all database systems, for selected database systems or not at all in the database.
Check the proper Type of the Index in SE11 again. This should solve your problem.
Regards,
Subrahmanya P -
Hi,
dbassist gives this error while creating a database:
ORA-01012: not logged on
while in 2nd state: "Create database file" (orig. German:
"Datenbankdateien erstellen"). What did we do wrong? Forgot to
start any server forgot to free any file, something else?
Our Shell-Variables are:
#Base vars
ORACLE_BASE=/oracle/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/8.1.5
NLS_LANG=WE8ISO8859P1
#NLS_LANG=$ORACLE_HOME/ocommon/admin/nls/data
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
ORA_OWNER=oracle
ORACLE_OWNER=oracle
export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33
export ORA_OWNER ORACLE_OWNER
#Additionals:
PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export PATH LD_LIBRARY_PATH
Konrad Rosenbaum (WSDB Team)
nullI had the same problem before. Apparently, it happened to me
because I was insisting on creating a db using shared server
processes (MTS). The following quote says it all:
==========================================================
Restricted Operations of the Multi-Threaded Server
Certain administrative activities cannot be performed while
connected to a dispatcher process, including shutting down or
starting an instance and
media recovery. An error message is issued if you attempt to
perform these activities while connected to a dispatcher process.
These activities are typically performed when connected with
administrator privileges. When you want to connect with
administrator privileges in a
system configured with multi-threaded servers, you must state in
your connect string that you want to use a dedicated server
process
(SRVR=DEDICATED) instead of a dispatcher process.
=======================================================
So, the answer is create a db using dedicated server processes,
and then perhaps later on change them to shared server processes.
John Salvo
WorkShop DB (guest) wrote:
: Hi,
: dbassist gives this error while creating a database:
: ORA-01012: not logged on
: while in 2nd state: "Create database file" (orig. German:
: "Datenbankdateien erstellen"). What did we do wrong? Forgot to
: start any server forgot to free any file, something else?
: Our Shell-Variables are:
: #Base vars
: ORACLE_BASE=/oracle/app/oracle
: ORACLE_HOME=$ORACLE_BASE/product/8.1.5
: NLS_LANG=WE8ISO8859P1
: #NLS_LANG=$ORACLE_HOME/ocommon/admin/nls/data
: ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
: ORA_OWNER=oracle
: ORACLE_OWNER=oracle
: export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33
: export ORA_OWNER ORACLE_OWNER
: #Additionals:
: PATH=$PATH:$ORACLE_HOME/bin
: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
: export PATH LD_LIBRARY_PATH
: Konrad Rosenbaum (WSDB Team)
null -
Unable to Create Database RH6.2 Oracle 8.1.5
I have problem creating a new database. I succeed in startup nomount the instance. I connect internal but I receive also the message
Ora 01012 Not logged on
Can you help me?
Giancarlo<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
I have problem creating a new database. I succeed in startup nomount the instance. I connect internal but I receive also the message
Ora 01012 Not logged on
Can you help me?
Giancarlo<HR></BLOCKQUOTE>
Giancarlo, did you get an answer to this question? I am experiencing it as well. It may also be related to the NLS parameter setting, as I see that error message as well. And the "create database ..." command just doesn't work.
null -
Unable to create database on windows7 using Oracle 10g XE
please provide me the steps to create database on windows7 64bit using 10g XE
997763 wrote:
please provide me the steps to create database on windows7 64bit using 10g XEWhy 10g XE when 11g is already there?
Were you able to install the XE software correctly? If yes, you should had a working db with you already.
http://docs.oracle.com/cd/E17781_01/server.112/e18804/startup.htm#CHDGJGHB
Aman.... -
Unable to create database in Cloudscape// UrGent
Hiii All,
I am trying to create one new database by using cloudscape. But Every time when I give database name and click OK, it produces following exception:-
java.lang.ClassNotFoundException: COM.cloudscape.core.JDBCDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at c8e.eb.ab.setSelectedDatabase(Unknown Source)
at c8e.dx.bs.connect(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel.newDatabase(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel.ok(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel.okButton_actionPerformed(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel_okButton_actionAdapter.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I am starting the database with the the following command:-
java -classpath ..\lib\cloudscape\cloudview.jar COM.cloudscape.tools.cview
Please Help me as soon as possible, as its very urgent for me.
Thanx in advance
RajThe driver for what looks like you are using is Cloudscape 4 (btw, please move to Derby/Cloudscape 10) is COM.cloudscape.core.RmiJdbcDriver
You need to include cloudclient.jar in your CLASSPATH -
Unable to create database due to ORA-12560, TNS protocol adapter error
Hello,
I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
ORA-12560: TNS:protocol adapter errorEcho ON
SVRMGR> connect INTERNAL/manager
ORA-12560: TNS:protocol adapter error
SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
I've enabled tracing, and my client trace file is:
--- TRACE CONFIGURATION INFORMATION FOLLOWS ---
New trace stream is d:\trace\client_trace.log_2084_9.trc
New trace level is 6
--- TRACE CONFIGURATION INFORMATION ENDS ---
--- PARAMETER SOURCE INFORMATION FOLLOWS ---
Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
Parameter source loaded successfully
Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
Parameter source was not loaded
-> PARAMETER TABLE LOAD RESULTS FOLLOW <-
Successful parameter table load
-> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
TRACE_DIRECTORY_SERVER = d:\trace
TRACE_DIRECTORY_CLIENT = d:\trace
NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
SQLNET.AUTHENTICATION_SERVICES = (NTS)
TRACE_UNIQUE_CLIENT = on
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
--- PARAMETER SOURCE INFORMATION ENDS ---
--- LOG CONFIGURATION INFORMATION FOLLOWS ---
Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
Log stream validation not requested
--- LOG CONFIGURATION INFORMATION ENDS ---
nigini: entry
nigini: Count in NI global area now: 1
nigini: Count in NI global area now: 1
nrigbi: entry
nrigbni: entry
nrigbni: Unable to get data from navigation file tnsnav.ora
nrigbni: exit
nrigbi: exit
nigini: exit
niqname: Hst is already an NVstring.
niqname: Inserting CID.
niotns: entry
niotns: niotns: setting up interrupt handler...
niotns: Not trying to enable dead connection detection.
niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
nsmal: 140 bytes at 0x12493f0
nscall: connecting...
nladini: entry
nladini: exit
nladget: entry
nladget: exit
nlpcaini: entry
nlpcaini: prg =
nlpcaini: arg[0] =
nlpcaini: arg[1] =
nlpcaini: exit
nsmal: 420 bytes at 0x12542f0
nsmal: 1712 bytes at 0x12572f0
nsopen: opening transport...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
snlpcss: entry
ntpcon: exit
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsmfr: 1712 bytes at 0x12572f0
nsmfr: 420 bytes at 0x12542f0
nladget: entry
nladget: exit
nsmfr: 140 bytes at 0x12493f0
nladtrm: entry
nladtrm: exit
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12560
nioqper: ns (2) err code: 0
nioqper: nt main err code: 530
nioqper: nt (2) err code: 2
nioqper: nt OS err code: 0
niomapnserror: entry
niqme: entry
niqme: reporting NS-12560 error as ORA-12560
niqme: exit
niomapnserror: returning error 12560
niomapnserror: exit
niotns: Couldn't connect, returning 12560
niotns: exit
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0
My tnsnames, listener and sqlnet.ora files are very simple:
## BEGIN TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
MTERM62 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = mterm62)
(INSTANCE_NAME = mterm62)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = mterm62)
(PRESENTATION = http://admin)
# LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
SID_LIST_LISTENER =
(SID_DESC =
(ORACLE_HOME = D:\oracle\ora81)
(SID_NAME = mterm62)
TRACE_LEVEL_LISTENER = ADMIN
# SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
TRACE_DIRECTORY_CLIENT = d:\trace
TRACE_UNIQUE_CLIENT = on
TRACE_DIRECTORY_SERVER = d:\trace
SQLNET.AUTHENTICATION_SERVICES= (NTS)
TRACE_FILE_CLIENT = client_trace.log
TRACE_FILE_SERVER = server_trace.log
TRACE_LEVEL_CLIENT = ADMIN
TRACE_LEVEL_SERVER = ADMIN
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
Any help would be greatly appreciated.
regards,
Tarisa.hi,
thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
regards,
Tarisa. -
Unable to create Database for new planning Application
Hi all,
I have Created a New planning application on Planning 11.1.1.3 using workspace.
When i'm trying to create a database through administration -> Manage Database , im getting error saying
com.hyperion.planning.planning.HspCubeRefreshInProgressException: Cannot complete your request because the database is being refreshed.
I tried Unlocking the application, using HspUnlockApp.cmd and it is returning a error, and im also unable find the HSP_LOCK Table
Please let me know ur suggestions
Thanks in Advance
Edited by: Rao on Aug 8, 2010 8:57 PMHi,
There is definitely a table called HSP_LOCK in the planning applications repository, are you sure you are looking in the correct place.
Anyway there is also a utility (HspUnlockApp) in the \planning\bin directory that should unlock the app and will save you having to mess around with any tables, more details :- http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch04s02.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Unable to create Database in Reporting Service Configuration
Hi,
We have SQL Server 2012 in our environment. I want to enable monitor report in Lync 2013. i have separate Lync sql instance.
I am trying to configure new database in Reporting Service Configuration manager in report Server database Configuration wizard.
while testing connection getting below error.
could not connect to server:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to
allow remote connections.(provider:Named Pipes provider,error:40-could not open a connection to SQL Server)
kindly help to resolve issue.Hi Rakesh,
Please check the below details information:
Check the ReportServer db is present in the Database engine.
Go and check the report server configurations (go here:Start -> All Programs -> Microsoft sql server 2012-> Configuration Tools -> Report Service Configuration Manager
check all the connections if still not working. then create a new reporting services Database. While creating it make sure you select native mode, if you want to create a share point services then select share point integration mode.
If the above didn't work, Please check which port is used for SQL Server database engine from SQL Server Configuration Manager.
If we are using dynamic port, please make sure:
SQL Server Browser service is running.
UDP 1434 port is enabled in the firewall.
If we are using static port, please make sure the port is enabled in the firewall.
Below is useful link about how to troubleshoot connection issue:
http://blogs.msdn.com/sql_protocols/archive/2005/12/22/506607.aspx
https://msdn.microsoft.com/en-us/library/ms156468.aspx?f=255&MSPPError=-2147217396
Similar thread for your reference:
http://www.mssqltips.com/sqlservertip/2340/resolving-could-not-open-a-connection-to-sql-server-errors/
If you have any more questions, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Unable to create database connection using jboss
hi masters,
i have developed an application using jdeveloper ADF, and created .EAR file and deployed it in jboss. it shows that application is deployed, but when using application using URL http://localhost:8080/appl/index.jspx it opens login window, but when we enter username and password it does not authenticate user.
i am not developer, but a DBA and ask to deploy application using jboss. how can i resolve this issue??? while starting , jboss generates error "creating connection to database failed- unauthenticated login attempted"
what might be the issue?????
posting my exact error here, hope someone will post some suggestion.
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=PersistenceManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
state: FAILED
I Depend On: jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss.mq:service=StateManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (java.
lang.SecurityException: Invalid authentication attempt, principal=null)
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
any suggestion will be appreciated..
thanks and regards
VD
Edited by: vikrant dixit on १९ फ़रवरी, २००९ ९:१६ अपराह्नhello all,
do anyone have any suggestion????
thanks and regards
VD -
Unable to create database backup
Hello,
Recently I requested access to database running on SQL 2008 R2.
Now I'm dbo owner and can 'insert', 'update', 'delete' and etc.
Currently I have to create a backup of the database but got this error:
"The EXECUTE permission was denied on the object 'xp_get_tape_devices', database 'mssqlsystemresource', schema 'sys'."
What should I do to fix it?
Thanks
EVWell I ran the query you suggested against the database I'm going to backup and now my roles in this db are: db_backupoperator, db_owner
I tried to backup again and get exact same error as initially.
Then I tried to grant that role for db 'mssqlsystemresource' but got response:
Lookup Error - SQL Server Database Error: Database 'mssqlsystemresource' does not exist. Make sure that the name is entered correctly.
Then I ran this query:
SELECT name FROM [master].sys.sysdatabases
and in the list returned I did not see 'mssqlsystemresource'
What that could mean?
Thanks
nameFROM[master].sys.sysdatabases
nameFROM[master].sys.sysdatabases
EV -
Unable to create database in OERL 5
hello friends,
with the help of other members, i finally installed oracle 11g release 1.
Now i want to create a database using "DBCA"
but it's showing
*"bash: dbca: command not found"*
Please friends help me, i want to create a new database .
Any kind of help appreciated
Thank you,
Praveen.886462 wrote:
hello friends,
with the help of other members, i finally installed oracle 11g release 1.
Now i want to create a database using "DBCA"
but it's showing
*"bash: dbca: command not found"*
Please friends help me, i want to create a new database .
Any kind of help appreciated
Thank you,
Praveen.it seems that environment is not set. So open for .bash_profile file and check the $ORACLE_HOME AND $ORACLE_PATH . Restart the machine .
Hope this help you
--neeraj
Maybe you are looking for
-
New system - Quad Core processor, 4 GB RAM, Win XP SP 2, dual monitor. Editing with very high quality XDCAM footage - 1920 x 1080i. Audio plays back smoothly in CS3, but lots of choppy sound in CS4. Same files, same footage, same hardware. Any possib
-
Jagged edges in vector in Illustrator cs6
Hello, I am new to Illustrator and I just atempted my first vector drawing. The problem I have is that I finished all of the lines using the pen tool on all the outlines. I saved it as an svgz file and then I selected all of the lines and converted
-
Downloaded and installed Firefox Sync, restarted and now can't find it.
Downloaded and installed Firefox Sync on XP SP-3 computer. Restarted Firefox as instructed. Can't find Firefox Sync. Nothing popped up on restart as instructions stated. == This happened == Every time Firefox opened == After Firefox Sync downloaded
-
How to write to stdout and read from stdin using unix pipe = '|'
Hi, How can I read the output written by 1 program to stdout as the input (from stdin) to another program? Example: $java pgm1 | pgm2 pgm1's output is of multiple lines with tab delimited words in each line. I need to know when each line ends as well
-
What is the best way to export to ipad 3 from FCP7.03
Looking for help with the best export settings for a five minute 1920x1080 video to play on the ipad. Editing in FCP7.03