No Tables found for a connected database in a DataSet Dialog
For a new ASP.net page, I have opened a DataSet dialog by
clicking the
Bindings tab of the Application pane. After typing a DataSet
name and
selecting a connection, the Table box showed "No Tables
found."
The database connection was tested and it was good. I even
opended
the Access databse to view the tables. The tables were
available. I
was running DreamweaverMX. What's went wrong??
TIA,
Jeffrey
envision3d wrote:
> This is a common problem with DW and .NET. If you are a
serious .NET
> developer I would suggest using Visual Studio. DW is not
going
> support .NET very well.
Or least not at this time and that of course is what you
want. NOEW! I
read one comment that someone was trying to move back and
forth from DW
tp VS but VS had a problem with with the page(s) from DW. So
it sounds
that it is an all or nothing.
Similar Messages
-
Info for table relationship for webcenter interaction database
Hi,
Does any one know where I can get information about the table relationship for webcenter database ? I appreciate your help.
Thanks
YxuSchema Spy is an amazing tool. I haven't used it for the WebCenter apps yet, but this will map everything out for you, providing the relationships you seek.
http://schemaspy.sourceforge.net/ -
***No Table found, when creating a recordset to MySQL Database
I have made a successful connection to the MySQL database.
When attempting to create a record set (Query) under the Application/Bindings Tab, I select the connection, but then the Table field says *** No Table Found
Also under Application/Databases tab, the connections appear. When expanding the + for the Table it says "None"
I do have Tables in the MySQL database which Dreamweaver has a connection to, so that is not the problem.
I've searched multiple forums on the internet for this problem, and while I have found that others have had this problem, I have not seen any solutions.
Any help would be greatly appreciated.
I am a novice in this area, so if you need any additional information from me, please be as specific as possible as to where and how I can get it.
Thank you in advance for your help.
Additional information:
Windows 7 Ultimate
Dreamweaver CS3 (Creative Suite 3 Web Premium)
Apache 2.2.15-win32-x86-openssl-0.9.8m-r2
PHP-5.2.6-Win32
mysql-workbench-gpl-5.2.25-win32
Freshly reformatted computer and only installed the above software along with AVG antivirus.
Edit: I should also note that this is for a local testing server. I am not trying to connect remotely.
Best Regards,
Blain
Message was edited by: Blain1976Now the problem has gone from bad to worse.
I previously had a connection to my database but just couldn't see the tables.
Now after I added another user I can't even make a connection. Instead I get an error message that says "An unidentified error has occured"
My server and database are actually running. I can loginto my database through the MySQL workbench. It says it's running. The apache server also says it's running and if I key in localhost in my internet explorer it says "It works!"
I have now deleted the new user in MySQL that I added and now I can't even connect to the database in Dreamweaver.
Any suggestions?
Thank you,
Blain -
Tables not listed in JDeveloper database connection..
Hi,
I am configuring a DBAdapter project in JDeveloper and the database is mssql server. I could connect to the DB but any of the schema objects are not displayed. I checked the permission for the user in the database and it seems fine and there is no filter . Infact, i can open a sql worksheet for the connected database session from JDeveloper and query tables from the schema. But for creating toplink files and creating the mapping between tables, JDeveloper needs the tables to be listed. But none of the schema objects are listed. Infact i tried with two drivers. One is MSSQL Driver 1.2 as well as JTDS 1.2.3 driver. For connections from both of the drivers, the schema objects are not listed. I dont know whether this is related to the permission for the dbuser to use database metadata or something to do with JDeveloper. Pls. help. I am using JDeveloper 10.1.3.4 and SQL Server 2005. Thanks in advance for your reply.
Thanks,
Kuppusamy.V.,Hi,
The problem is while connecting to SQLServer, the database name should not be specified in the URL as jdbc:sqlserver://devserver111:1433/databaseName=testdb. It should be jdbc:sqlserver://devserver111:1433; This will list the tables for the user used to connect. Spent around 2 days to find the solution. Hope this one will save someone else's time.
Rgds,
Kuppusamy.V., -
hi,
When I try to set a breakpoint in a file which is inside a package, I get the following error
The toolkit displays:
No linenumber table found for class example/trial/Test
The command prompt displays:
KVM_main[1] run
com.sun.jdi.InternalException: Unexpected JDWP Error: 41at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47)
at com.sun.tools.jdi.ConcreteMethodImpl.getBaseLocations(ConcreteMethodI
mpl.java:345)
at com.sun.tools.jdi.ConcreteMethodImpl.getLocations(ConcreteMethodImpl.
java:258)
at com.sun.tools.jdi.ConcreteMethodImpl.locationsOfLine(ConcreteMethodIm
pl.java:116)
at com.sun.tools.jdi.ReferenceTypeImpl.locationsOfLine(ReferenceTypeImpl
.java:778)
at com.sun.tools.jdi.ReferenceTypeImpl.locationsOfLine(ReferenceTypeImpl
.java:752)
at com.sun.tools.example.debug.tty.BreakpointSpec.location(BreakpointSpe
c.java:188)
at com.sun.tools.example.debug.tty.BreakpointSpec.resolveEventRequest(Br
eakpointSpec.java:76)
at com.sun.tools.example.debug.tty.EventRequestSpec.resolve(EventRequest
Spec.java:73)
at com.sun.tools.example.debug.tty.EventRequestSpecList.resolve(EventReq
uestSpecList.java:72)
at com.sun.tools.example.debug.tty.EventHandler.classPrepareEvent(EventH
andler.java:245)
at com.sun.tools.example.debug.tty.EventHandler.handleEvent(EventHandler
.java:117)
at com.sun.tools.example.debug.tty.EventHandler.run(EventHandler.java:79
at java.lang.Thread.run(Thread.java:536)
Can someone help me on what I should do to make this work?
thanksThe toolkit displays:
No linenumber table found for class
example/trial/TestDid you compile the application class(es) using javac -g?
The -g flag instructs the compiler to write debug information into
the .class file(s).
The command prompt displays:
KVM_main[1] run
com.sun.jdi.InternalException: Unexpected JDWPError: 41JDWP error 41 is "not found".
If you are working inside the KVM development environment,
is there other processing done on the .class files after
they are generated by javac? This may strip off the debug
information, or alter the layout of classes in an attempt
to fit into a smaller memory space. -
Hi Experts,
I'm implementing SAP note 1990492 which requires manual implementation. Implementation includes modifying standard tables (i.e. append
the structure FIEU_S_APP_H to table FIEUD_FIDOC_H). After this I've adjusted the table in SE14 (Database Utility). I've done checks in SE14 and it shows the table is consistent.
But during DB02 -> Space folder -> Single table analysis -> Input table name -> Indexes tab -> Upon clicking statistics, there is a warning "Column statistics not found for table".
Our basis team is implementing an Add-On in the development system related to RWD Context Sensitive Help. They cannot proceed due to the following inconsistencies found in the table.
Screenshot error from the activity:
Screenshot from DB02:
I'm an ABAP developer and have no other ideas on what to do. Thanks in Advanced.Hi All,
We were able to fix the issue through the following:
1. Call transaction
SE14.
2. Enter the name of
the table and choose "Edit".
3. Choose
"Indexes".
4. Select the index
and choose "Choose (F2)".
5. If you choose
"Activate and adjust", the system creates the index again and it is
consistent.
6. Check the object
log of this activation.
7. If an error
occurs, eliminate the cause and reactivate the index. -
No shared library found for the database with ID DBID
Hi SDN,
We're trying to connect our BW system under WIN/MSSQL 2005 to an source system (RSA1) witch is an DATABASE DB4 on OS400.
when we check the database connection, it gave us the error
No shared library found for the database with ID DBID
in SM21 we've found
As well as the standard connection, an attempt was made to set up
another database connection, under the specified ID. The Shared Library
for this second database could not be found.
The Shared Library is usually found in the the Executable
directory (profile parameter DIR_LIBRARY) under the name dbs
<dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
stands for the operating system-specific extension of the Shared
Libraries.
The database type is determined from the entry that corresponds to the
specified DB ID in the table DBDCON. Check whether the data in this
entry is correct.
someone can guide me were to found DBSL library for this time of external connection from Windows to DB4?
thanks in advance,
best regards,
Pedro RodriguesHi again,
after download dbdb4slib.dll and copied it to kernel directory, it gave this error message
B create_con (con_name=DBID)
B Loading DB library 'E:\usr\sap\SID\SYS\exe\run\dbdb4slib.dll' ...
M *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SID\SYS\exe\run\dbdb4slib.dll) Error 126 [dlnt.c 237]
M Error 126 = "The specified module could not be found."
B *** ERROR => Couldn't load library 'E:\usr\sap\SID\SYS\exe\run\dbdb4slib.dll'
[dbcon.c 4672]
B ***LOG BYG=> could not load library for database connection DBID [dbds#3 @ 1035] [dbds 1035 ]
someone has some idea?
thakns -
No suitable driver found error while connecting to remote IBM DB2 database.
While trying to connect to IBM DB2 database on a remote location, though the connection was successful from 'Application Resources', following trace could be recovered while performing 'Run' from 'AppModule':
ERROR:
(oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
----- Level 1: Detail 0 -----
(java.sql.SQLException) No suitable driver found for jdbc:as400://XX.XXX.XX.XXX;naming=system;libraries=TEST;translate binary=true;prompt=false
[891] (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode = Immediate
[892] Creating a new pool resource
[893] BC4JDeployPlatform: LOCAL
[894] Propertymanager: skipping reload of file and system based properties
[895] {{ begin Loading BC4J properties
[896] -----------------------------------------------------------
[897] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
[898] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
[899] Skipping empty Property jbo.default.locale.variant from System Default
[900] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
[901] Skipping empty Property ConnectionMode from System Default
[902] Skipping empty Property HostName from System Default
[903] Skipping empty Property ConnectionPort from System Default
[904] BC4J Property jbo.locking.mode='optimistic' -->(MetaObjectManager) from Client Environment
[905] BC4J Property jbo.txn.disconnect_level='0' -->(SessionImpl) from System Default
[906] Skipping empty Property ApplicationPath from System Default
[907] BC4J Property AppModuleJndiName='model.AppModule' -->(SessionImpl) from Client Environment
[908] Skipping empty Property java.naming.security.principal from System Default
[909] Skipping empty Property java.naming.security.credentials from System Default
[910] Skipping empty Property jbo.user.principal from System Default
[911] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
[912] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
[913] Skipping empty Property jbo.object.marshaller from System Default
[914] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
[915] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
[916] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
[917] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
[918] BC4J Property jbo.sparse.array.threshold='20' -->(SessionImpl) from System Default
[919] Skipping empty Property jbo.pcoll.mgr from System Default
[920] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
[921] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
[922] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
[923] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
[924] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
[925] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
[926] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
[927] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
[928] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
[929] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
[930] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
[931] Skipping empty Property JBODynamicObjectsPackage from System Default
[932] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
[933] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
[934] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
[935] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
[936] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from Client Environment
[937] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
[938] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
[939] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
[940] Skipping empty Property HandleName from System Default
[941] Skipping empty Property Factory-Substitution-List from System Default
[942] BC4J Property jbo.project='model.Model' -->(Configuration) from Client Environment
[943] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
[944] WARNING: Property jbo.dofailoverset to null
[945] Skipping empty Property jbo.dofailover from null
[946] WARNING: Property jbo.envinfoproviderset to null
[947] Skipping empty Property jbo.envinfoprovider from null
[948] Skipping empty Property jbo.rowid_am_conn_name from System Default
[949] Skipping empty Property jbo.rowid_am_datasource_name from System Default
[950] WARNING: Property jbo.ampool.writecookietoclientset to null
[951] Skipping empty Property jbo.ampool.writecookietoclient from null
[952] WARNING: Property jbo.doconnectionpoolingset to null
[953] Skipping empty Property jbo.doconnectionpooling from null
[954] WARNING: Property jbo.recyclethresholdset to null
[955] Skipping empty Property jbo.recyclethreshold from null
[956] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
[957] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
[958] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
[959] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.common.ampool.DefaultSessionCookieFactory' -->(Configuration) from Client Environment
[960] WARNING: Property jbo.ampool.connectionstrategyclassset to null
[961] Skipping empty Property jbo.ampool.connectionstrategyclass from null
[962] WARNING: Property jbo.ampool.maxpoolsizeset to null
[963] Skipping empty Property jbo.ampool.maxpoolsize from null
[964] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from Client Environment
[965] WARNING: Property jbo.ampool.monitorsleepintervalset to null
[966] Skipping empty Property jbo.ampool.monitorsleepinterval from null
[967] WARNING: Property jbo.ampool.minavailablesizeset to null
[968] Skipping empty Property jbo.ampool.minavailablesize from null
[969] WARNING: Property jbo.ampool.maxavailablesizeset to null
[970] Skipping empty Property jbo.ampool.maxavailablesize from null
[971] WARNING: Property jbo.ampool.maxinactiveageset to null
[972] Skipping empty Property jbo.ampool.maxinactiveage from null
[973] WARNING: Property jbo.ampool.timetoliveset to null
[974] Skipping empty Property jbo.ampool.timetolive from null
[975] WARNING: Property jbo.ampool.doampoolingset to null
[976] Skipping empty Property jbo.ampool.doampooling from null
[977] WARNING: Property jbo.ampool.issupportspassivationset to null
[978] Skipping empty Property jbo.ampool.issupportspassivation from null
[979] BC4J Property jbo.ampool.isuseexclusive='true' -->(SessionImpl) from System Default
[980] BC4J Property jbo.passivationstore='null' -->(SessionImpl) from System Default
[981] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
[982] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
[983] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
[984] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
[985] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
[986] BC4J Property jbo.datasource_naming_factory='oracle.jbo.server.DataSourceContextFactory' -->(MetaObjectManager) from System Default
[987] WARNING: Property jbo.maxpoolcookieageset to null
[988] Skipping empty Property jbo.maxpoolcookieage from null
[989] WARNING: Property PoolClassNameset to null
[990] Skipping empty Property PoolClassName from null
[991] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
[992] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
[993] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
[994] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
[995] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
[996] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
[997] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
[998] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
[999] BC4J Property jbo.qcpool.monitorsleepinterval='1800000' -->(SessionImpl) from System Default
[1000] BC4J Property jbo.qcpool.maxinactiveage='900000' -->(SessionImpl) from System Default
[1001] BC4J Property jbo.qcpool.maxweight='-1' -->(SessionImpl) from System Default
[1002] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
[1003] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
[1004] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
[1005] BC4J Property jbo.finder.range.size='DEFAULT' -->(MetaObjectManager) from System Default
[1006] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
[1007] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
[1008] BC4J Property jbo.SQLBuilder='DB2' -->(MetaObjectManager) from Client Environment
[1009] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
[1010] BC4J Property jbo.TypeMapEntries='OracleApps' -->(MetaObjectManager) from Client Environment
[1011] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
[1012] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
[1013] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
[1014] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
[1015] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
[1016] BC4J Property jbo.use.findbykey.for.assoc='true' -->(MetaObjectManager) from System Default
[1017] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
[1018] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
[1019] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
[1020] Skipping empty Property jbo.tmpdir from System Default
[1021] Skipping empty Property jbo.server.internal_connection from System Default
[1022] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
[1023] Skipping empty Property TransactionFactory from System Default
[1024] Skipping empty Property jbo.def.mgr.listener from System Default
[1025] Skipping empty Property jbo.use.global.sub.map from System Default
[1026] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
[1027] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[1028] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[1029] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[1030] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[1031] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[1032] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[1033] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
[1034] Skipping empty Property oracle.home from System Default
[1035] Skipping empty Property oc4j.name from System Default
[1036] Skipping empty Property jbo.shared.txn from System Default
[1037] BC4J Property oracle.adfm.useSharedTransactionForFrame='true' -->(MetaObjectManager) from System Default
[1038] BC4J Property oracle.adfm.joinNewFrameTransaction='false' -->(MetaObjectManager) from System Default
[1039] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
[1040] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
[1041] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
[1042] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
[1043] Skipping empty Property oracle.jbo.schema from System Default
[1044] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
[1045] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
[1046] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
[1047] Skipping empty Property ord.HttpTempDir from System Default
[1048] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
[1049] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
[1050] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
[1051] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
[1052] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
[1053] Skipping empty Property ord.rp.codebase from System Default
[1054] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
[1055] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
[1056] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
[1057] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
[1058] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
[1059] Skipping empty Property jbo.security.config from System Default
[1060] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
[1061] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
[1062] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
[1063] BC4J Property jbo.groovy.debug='false' -->(MetaObjectManager) from System Default
[1064] BC4J Property jbo.busevent.suspendpublication='false' -->(SessionImpl) from System Default
[1065] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
[1066] BC4J Property oracle.adfm.useRootFrameOnly='false' -->(MetaObjectManager) from System Default
[1067] Copying unknown Client property (user='TESTER') to session
[1068] Copying unknown Client property (FullProxyInterfaceName='model.common.AppModule') to session
[1069] Copying unknown Client property (jbo.applicationmoduleclassname='model.AppModule') to session
[1070] Copying unknown Client property (jbo.jdbc.username='TESTER') to session
[1071] Copying unknown Client property (BC4JConfigName='AppModuleLocal') to session
[1072] Copying unknown Client property (DsPasswd='workout') to session
[1073] Copying unknown Client property (JDBCName='ConnectTo146') to session
[1074] Copying unknown Client property (DsUserName='TESTER') to session
[1075] Copying unknown Client property (name='137E06086E5') to session
[1076] Copying unknown Client property (ApplicationName='model.AppModule') to session
[1077] Copying unknown Client property (LastUsedConfiguration='AppModuleLocal') to session
[1078] Copying unknown Client property (password='*****') to session
[1079] Copying unknown Client property (JDBCDataSource='java:comp/env/jdbc/ConnectTo146DS') to session
[1080] Copying unknown Client property (jbo.jdbc.connectstring='jdbc:as400:/;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
[1081] Copying unknown Client property (DBconnection='jdbc:as400://;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
[1082] Copying unknown Client property (jbo.jdbc.password='*****') to session
[1083] }} finished loading BC4J properties
[1084] -----------------------------------------------------------
[1085] Connected to Oracle JBO Server - Version: 11.1.2.61.83
[1086] mPCollUsePMgr is false
[1087] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
[1088] ViewObjectImpl.mDefaultMaxActiveNodes is 30
[1089] Default locking mode changed to: optimistic
[1090] Created root application module: 'model.AppModule'
[1091] Locale is: 'en_US'
[1092] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
[1093] Trying connection: DataSource='oracle.jbo.server.ConnectionPoolDataSource@191d9ad'...
[1094] Using the oracle.jbo.server.ConnectionPoolDataSource to acquire a connection...
[1095] Creating a new pool resource
[1096] Trying connection/3: url='jdbc:as400:/*****' user='TESTER' password='*****' ...
[1097] DBTransactionImpl.initTransaction: Login failed
[1098] java.sql.SQLException: No suitable driver found for jdbc:as400:;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
[1099] A dead application module instance was detected
[1100] The application module instance was removed from the pool
[1101] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
[1102] Resetting AM=AppModule
[1103] An exception occured during checkout.
[1104] oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
Caused by: java.sql.SQLException: No suitable driver found for jdbc:as400://naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
... 32 more
[1105] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
[1106] UIMessageBundle (language base) being initialized
Jun 12, 2012 4:38:26 PM oracle.jbo.jbotester.MainFrame exit
INFO: BC4J Tester exit code(-3)
Process exited with exit code -3.When you use DB2 SQL flavor, the ADF BC use the oracle.jbo.server.DB2SQLBuilderImpl class as an SQLBuilder. This class determines the JDBC driver class name as follows:
1) If the JBO configuration parameter jbo.sql92.JdbcDriverClass in not empty, then the JDBC driver class name is taken from there;
2) If the jbo.sql92JdbcDriverClass parameter is empty, then:
<ul><li>If the JDBC URL starts with "jdbc:db2://", then com.ibm.db2.jcc.DB2Driver
<li>If the JDBC URL starts with "jdbc:oracle:db2", then com.oracle.ias.jdbc.db2.DB2Driver
<li>If the JDBC URL starts with "jdbc:datadirect:db2", then com.ddtek.jdbc.db2.DB2Driver
<li>Otherwise, COM.ibm.db2.jdbc.app.DB2Driver</ul>
(Have a look at the source of the method DB2SQLBuilderImpl.getJDBCDriverClassName(String url) for more details).
It is seen from the log in your first post that the parameter jbo.sql92.JdbcDriverClass is empty. As far as your JDBC URL starts with neither of the prefixes specified above (e.g. your URL starts with "jdbc:as400://"), then you should specify the necessary JDBC driver class in the JBO configuration parameter jbo.sql92.JdbcDriverClass. (You can specify it in the AM configuration parameters or in adf-config.xml).
Dimitar -
1.5.4 - Slow to expand tables node for a oracle 9 connection
Hi
I have been trying out version 1.5.4 and have found that expanding the tables node on the connections tab is extremely slow (approx 3 min) for my oracle 9.2.0.6 connections.
As with this [this bug |http://forums.oracle.com/forums/thread.jspa?threadID=867600&tstart=0] it is ok on a 10.2.0.3 connection.
Expanding the tables node for the same connection in 1.5.3 is also fine. I'm abit concerned that this latest version of sql dev has not been tested particularly thoroughly with oracle 9.
Is oracle 9 still a supported version with sql developer?
thanks
paulIt's not just Oracle 9 that is having problems with the table node. I am connecting to a 10.2.0.3 DB (basic connection) using JDK 1.6.0_06 and filtering for a single table (using = and case sensitive). On 1.5.4 this takes 25 seconds but on 1.5.3 this only takes 2 seconds. However, without a filter, the 1.5.4 performance is significantly better than the 1.5.3 performance without a filter.
The queries SQL Developer uses certainly have been changed between 1.5.3 and 1.5.4.
1.5.3 query:select * from (
SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, t.partitioned,t.iot_type, o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O ,sys.all_tables t
WHERE O.OWNER = :SCHEMA
and o.owner = t.owner(+)
and o.object_name = t.table_name(+)
AND O.OBJECT_TYPE = 'TABLE'
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN ( SELECT OBJECT_NAME FROM RECYCLEBIN )
AND NOT EXISTS (SELECT 1 FROM SYS.ALL_MVIEWS WHERE MVIEW_NAME = O.OBJECT_NAME AND OWNER = O.OWNER)
AND NOT EXISTS (SELECT 1 from all_queue_tables WHERE QUEUE_TABLE = O.OBJECT_NAME AND OWNER = O.OWNER)
AND not ( object_name like 'AQ$_%_G'
or object_name like 'AQ$_%_H'
or object_name like 'AQ$_%_I'
or object_name like 'AQ$_%_S'
or object_name like 'AQ$_%_T' )
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn,sys.all_tables t
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_name = t.table_name
and o.owner = t.owner
and o.object_type = 'TABLE'
and :INCLUDE_SYNS = 1
and :SCHEMA = USER
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN ( SELECT OBJECT_NAME FROM RECYCLEBIN)
WHERE OBJECT_NAME = :OBJECT_NAME1.5.4 query:with tabs as (
select t.*, rownum rn -- not merge
from sys.all_tables t
where owner = :SCHEMA
), objs as (
select o.*, rownum rn -- not merge
from sys.all_objects o
where owner = :SCHEMA
AND O.OBJECT_TYPE = 'TABLE'
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
AND O.OBJECT_NAME NOT IN (SELECT MVIEW_NAME FROM SYS.ALL_MVIEWS WHERE :SCHEMA = OWNER)
AND O.OBJECT_NAME NOT IN (SELECT QUEUE_TABLE from all_queue_tables WHERE :SCHEMA = OWNER)
AND not ( object_name like 'AQ$_%_G'
or object_name like 'AQ$_%_H'
or object_name like 'AQ$_%_I'
or object_name like 'AQ$_%_S'
or object_name like 'AQ$_%_T' )
AND ( user = :SCHEMA or not object_name like 'BIN$%' ) -- user != :SCHEMA --> object_name not like 'BIN$%'
-- RECYCLEBIN is USER_RECYCLEBIN!
) select * from (
SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, t.partitioned,t.iot_type, o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM OBJS O , tabs t
WHERE o.object_name = t.table_name
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM sys.all_objects O, sys.user_synonyms syn,sys.all_tables t
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_name = t.table_name
and :INCLUDE_SYNS = 1
and :SCHEMA = USER
WHERE OBJECT_NAME = :OBJECT_NAMEtheFurryOne -
Database not found/Error: ORA-16621: database name for ADD DATABASE must be
I am new to Data Guard and am trying to set up Data Guard Broker. I had created a configuration file with both my primary and standby databases and at one time I could show both databases. But now I can no longer show the standby database nor can I enable, disable or reinstate it. Here is what I have:
Primary Database: orcl10g
Standby Database: 10gSB
DGMGRL> show configuration
Configuration
Name: orcl10g
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
orcl10g - Primary database
10gSB - Physical standby database
Current status for "orcl10g":
SUCCESS
DGMGRL> show database verbose orcl10g
Database
Name: orcl10g
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
orcl10g
Properties:
InitialConnectIdentifier = 'orcl10g'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '10gSB, orcl10g'
LogFileNameConvert = '/oracle/oracle/product/10.2.0/oradata/orcl10g/redo01.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo01.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo02.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo02.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo03.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo03.log'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'remarkable.mammothnetworks.com'
SidName = 'orcl10g'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521))'
StandbyArchiveLocation = '/oracle/flash_recovery_area/orcl10g/archivelog'
AlternateLocation = ''
LogArchiveTrace = '1024'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "orcl10g":
SUCCESS
DGMGRL> show database verbose 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> remove database 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> reinstate database 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> enable database 10gSB
Object "10gsb" was not found
DGMGRL>
DGMGRL> add database '10gSB' as
connect identifier is 10gSB
maintained as physical;Error: ORA-16621: database name for ADD DATABASE must be unique
Failed.
How can I get Data Guard to see the standby database correctly again?Thank you for the constructive feedback. I have been able to make progress on this issue.
I did check the Data Guard Log files as you suggested. I did not find anything when I checked them before but this time I found the following:
DG 2011-06-16-17:23:18 0 2 0 RSM detected log transport problem: log transport for database '10gSB' has the following error.
DG 2011-06-16-17:23:18 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16737: the redo transport service for standby database "10gSB" has an error
DG 2011-06-16-17:23:18 0 2 0 NSV1: Failed to connect to remote database 10gSB. Error is ORA-12514
DG 2011-06-16-17:23:18 0 2 0 RSM0: Failed to connect to remote database 10gSB. Error is ORA-12514
DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
I verified that I am able to connect to both the primary and standby databases via external connections:
-bash-3.2$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-JUN-2011 12:41:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 17-JUN-2011 01:40:30
Uptime 0 days 11 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521)))
Services Summary...
Service "10gSB" has 1 instance(s).
Instance "10gSB", status READY, has 1 handler(s) for this service...
Service "10gSB_DGB" has 1 instance(s).
Instance "10gSB", status READY, has 1 handler(s) for this service...
Service "10gSB_XPT" has 1 instance(s).
Instance "10gSB", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl10g" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
Service "orcl10gXDB" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
Service "orcl10g_DGB" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
Service "orcl10g_XPT" has 1 instance(s).
Instance "orcl10g", status READY, has 1 handler(s) for this service...
The command completed successfully
-bash-3.2$
-bash-3.2$
-bash-3.2$ sqlplus system/dbas4ever@orcl10g
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:41 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
-bash-3.2$ sqlplus system/dbas4ver@10gSB
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:59 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress <== I think this is normal since the database is in mount mode
Enter user-name:
I also checked the listener log file and did see and error associated with a known bug:
WARNING: Subscription for node down event still pending
So I added the following to the listener.ora file and bounced the listener:
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
That seems to have taken care of the error.
The following is my listener.ora file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_DESC = ( GLOBAL_DBNAME = 10gsb_DGMGRL.remarkable.mammothnetworks.com )
( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
( SID_NAME = 10gsb )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
(SID_DESC = ( GLOBAL_DBNAME = orcl10g_DGMGRL.remarkable.mammothnetworks.com )
( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
( SID_NAME = orcl10g )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
(SID_DESC = ( GLOBAL_DBNAME = orcl10g.remarkable.mammothnetworks.com )
( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
( SID_NAME = orcl10g )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
(SID_DESC = ( GLOBAL_DBNAME = 10gsb.remarkable.mammothnetworks.com )
( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
( SID_NAME = 10gsb )
( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
I again tried connecting externally to the standby database:
-bash-3.2$ sqlplus system/dbas4ever@10gSB
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 13:09:00 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Enter user-name:
and see this in the listener.log file:
17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11357)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11358)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:10:24 * service_update * 10gSB * 0
17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25119)) * establish * orcl10g * 0
17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25120)) * establish * orcl10g * 0
17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=emagent)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25121)) * establish * orcl10g * 0
17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11420)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11422)) * establish * 10gSB_XPT * 0
17-JUN-2011 13:11:24 * service_update * 10gSB * 0
I tried again to see the database in Data Guard Broker:
DGMGRL> show database 10gSB
Object "10gsb" was not found
however, I then was able to add the database in Data Guard Broker:
DGMGRL> add database 10gSB
as connect identifier is 10gSB
maintained as physical;Database "10gsb" added <== this is progress!!!
However the configuration shows the following:
DGMGRL> show database 10gSB
Database
Name: 10gsb
Role: PHYSICAL STANDBY
Enabled: NO
Intended State: OFFLINE
Instance(s):
10gSB
Current status for "10gsb":
DISABLED <=====
So I tried to enable the database:
DGMGRL> enable database 10gSB
Error: ORA-16626: failed to enable specified object
Failed.
and I tried to reinstate the database:
DGMGRL> reinstate database 10gSB
Reinstating database "10gsb", please wait...
Error: ORA-16653: failed to reinstate database
Failed.
Reinstatement of database "10gsb" failed
So I checked the configuration and now see two entries for the standby database but with case differences:
DGMGRL> show configuration
Configuration
Name: orcl10g
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
orcl10g - Primary database
10gSB - Physical standby database
10gsb - Physical standby database (disabled)
Current status for "orcl10g":
SUCCESS
Question: How do I get rid of 10gSB and enable 10gsb? -
Alter table script for wrong database version
When we generate an alter table script by connecting to a database, the scripts that get generated are for database version 7.3.
Furthermore we cannot update the field "oracle version" for the database we created.
When we choose a database version from the pulldown box and try to save it, the field is blank again.
We are on Designer 9 on a oracle 10g database and we try to alter the table in a oracle 10g database.I had this error last night while applying a patch to 6.0. However in my case the version was 21 versus a required version of 23.
As far as i know 6.1 is not compatible with the 5 db schema, so you will need an update / migration plan for the db also. -
LoadDB problem: no version found for the database
HEllo,
I try to use the loadDB directive with an existing pool and wlst offline but I always receive the error "No version found for the database". I tried to create a pool with the console and use it as loading pool but that didn't worked.
I saw in the script.log file that my pool was correctly found but it seems that it can't found the driverName attribute of my pool when trying to get version.
I have checked and the drivername is correctly set.
Any idea? I will post the complete stack and the script.log later.here is the full stack:
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.scrip
t.ScriptException: No version is found for database:
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleEx
ception(CommandExceptionHandler.java:33)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(
WLScriptContext.java:897)
at com.bea.plateng.domain.script.jython.WLScriptContext.loadDB(WLScriptC
ontext.java:817)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx0.loadDB$22(initWls.py:98)
at org.python.pycode._pyx0.call_function(initWls.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.pycode._pyx4.f$0(CCFF_offline.py:17)
at org.python.pycode._pyx4.call_function(CCFF_offline.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.__builtin__.execfile_flags(__builtin__.java)
at org.python.core.__builtin__.execfile(__builtin__.java)
at org.python.core.__builtin__.execfile(__builtin__.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.pycode._pyx3.f$0(<input>:1)
at org.python.pycode._pyx3.call_function(<input>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter
.java)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
er.java)
at com.bea.plateng.domain.script.jython.WLST_offline.handleInteractiveMo
de(WLST_offline.java:137)
at com.bea.plateng.domain.script.jython.WLST_offline.main(WLST_offline.j
ava:79)
Caused by: com.bea.plateng.domain.script.ScriptException: No version is found fo
r database:
at com.bea.plateng.domain.script.ScriptExecutor.getSQLFiles(ScriptExecut
or.java:2731)
at com.bea.plateng.domain.script.ScriptExecutor.loadDB(ScriptExecutor.ja
va:1056)
at com.bea.plateng.domain.script.jython.WLScriptContext.loadDB(WLScriptC
ontext.java:815)
... 40 more
here is the script.log part:
2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - find JDBCConnectionPool "CCFFMainPool" as obj5
2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: find JDBCConnectionPool "CCFFMainPool" as obj5
2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - loadDB obj5
2007-01-23 08:50:12,137 DEBUG [main] com.bea.plateng.domain.script.ScriptExecutor - ScriptExecutor JDBCInfo:
DB2 Any:
CCFF_L1-tables.sql
Initial_Insert.sql
2007-01-23 08:50:12,137 DEBUG [main] com.bea.plateng.domain.script.ScriptExecutor - Database name: -
Error while connecting Database Table
Hi, I am trying to connect to the Oracle Database Table using Out-Of-Box Database Table Adapter. While trying to configure, i am able to connect to the desired database and tables but when i trying to save the configuration i am getting the folllowing error :
com.waveset.util.XmlParseException: XML Error: 3:16: The markup in the document following the root element must be well-formed.
Will appreciate any help on this ...
ThanksI have seen that before and we have never been able to find the cause of the issue.
If you have a support contract log a case, we might be able to find more if we have two cases with the same issue.
WilfredS -
BEST PRACTICES FOR CREATING DISCOVERER DATABASE CONNECTION -PUBLIC VS. PRIV
I have enabled SSO for Discoverer. So when you browse to http://host:port/discoverer/viewer you get prompted for your SSO
username/password. I have enabled users to create their own private
connections. I log in as portal and created a private connection. I then from
Oracle Portal create a portlet and add a discoverer worksheet using the private
connection that I created as the portal user. This works fine...users access
the portal they can see the worksheet. When they click the analyze link, the
users are prompted to enter a password for the private connection. The
following message is displayed:
The item you are requesting requires you to enter a password. This could occur because this is a private connection or
because the public connection password was invalid. Please enter the correct
password now to continue.
I originally created a public connection...and then follow the same steps from Oracle portal to create the portlet and display the
worksheet. Worksheet is displayed properly from Portal, when users click the
analyze link they are taken to Discoverer Viewer without having to enter a
password. The problem with this is that when a user browses to
http://host:port/discoverer/viewer they enter their SSO information and then
any user with an SSO account can see the public connection...very insecure!
When private connections are used, no connection information is displayed to
SSO users when logging into Discoverer Viewer.
For the very first step, when editing the Worksheet portlet from Portal, I enter the following for Database
Connections:
Publisher: I choose either the private or public connection that I created
Users Logged In: Display same data to all users using connection (Publisher's Connection)
Users Not Logged In: Do no display data
My question is what are the best practices for creating Discoverer Database
Connections.
Is there a way to create a public connection, but not display it in at http://host:port/discoverer/viewer?
Can I restrict access to http://host:port/discoverer/viewer to specific SSO users?
So overall, I want roughly 40 users to have access to my Portal Page Group. I then want to
display portlets with Discoverer worksheets. Certain worksheets I want to have
the ability to display the analyze link. When the SSO user clicks on this they
will be taken to Discoverer Viewer and prompted for no logon information. All
SSO users will see the same data...there is no need to restrict access based on
SSO username...1 database user will be set up in either the public or private
connection.You can make it happen by creating a private connection for 40 users by capi script and when creating portlet select 2nd option in Users Logged in section. In this the portlet uses there own private connection every time user logs in.
So that it won't ask for password.
Another thing is there is an option of entering password or not in ASC in discoverer section, if your version 10.1.2.2. Let me know if you need more information
thnaks
kiran -
No table entries found for specified key
Hi All,
I have developed a program to upload data from flat file with the help of GUI UPLOAD. It is succesfully updating data in my Z-table.
Whenever I tried to view the content of table for specific field, message shows No table entries found for specified key. However if I add * as a suffix, it shows the data & when I directly Execute table it also displays the data.
I have also cross checked the spaces before or after the specific content, no space found.
Only two fields are creating this issue Individually (one of them is key field)
Regards
Mukul MaheshwariHi Dear ,
Here i had implemented program go through it you can understand easily.
While creating table give one field as primary as you know that.
tables zdata1.
data it_tab type TABLE OF zdata1 WITH HEADER LINE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\Documents and Settings\E50039\Desktop\data.txt' ***************File path
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = it_tab
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT it_tab.
zdata1-no1 = it_tab-no1.
zdata1-name = it_tab-name.
zdata1-empid = it_tab-empid.
insert zdata1.
ENDLOOP.
Flat file
1 name1 empid1
2 name2 empid2
note: Give the tabspace between values in flat file.
Edited by: Aditya.G on Oct 12, 2011 10:22 AM
Maybe you are looking for
-
Data Cartridge Implementation - PGA Memory Problem
Hi, I have modified the Data Cartridge implementation explained in the article at http://www.oracle-developer.net/display.php?id=422. More precisely I have modified it to create not only the type returned, but also the select statement. The problem I
-
How to store the Arraylist value in variables ?
Hi Here i use arraylist and i like to store all the arraylist in different variables Please tell the way . ArrayList list = new ArrayList(); list.add("A"); list.add("B"); list.add("C"); list.add("D"); String a="" String b=""; String c="" String d="";
-
What technology should be used?
i want to make remote desktop type of application with limited functionality. In achieving this i thought viewing the desktop from client should be the first step. so i want to know what technology should i use to send live video type of thing to cli
-
How to make a gradual opacity fade on a layer
Q: How do I make a layer gradually fade to reveal a layer beneath it? A: Use a Layer Mask; On your top layer, select Layer>Layer Mask (Reveal all or Hide all), then select the Gradient Tool, and make a black & white gradient on the layer mask. The la
-
Checking the details of SSL/TLS
In most of common browsers you can check what cryptographic algorithms or security mechanisms are used (and choose them). For example in Firefox (or any other Mozilla software) there's about:config and you can find there things like these: security.s