Connecting To Discussion Server From JDev (11.1.1.6)
Hi,
I am trying to use discussion server from JDev 11.1.1.6 but now we need to define security policies while creating a discussion server connection. Because their i need to key an alias key, I tried to update the keystore when I am trying to update the credentails using the following commands in WLST:
updateCred(map="oracle.wsm.security", key="keystore-csf-key", user="owsm", password="welcome1", desc="Keystore key")
updateCred(map="oracle.wsm.security", key="enc-csf-key", user="webcenter", password="welcome1", desc="Encryption key")
updateCred(map="oracle.wsm.security", key="sign-csf-key", user="webcenter", password="welcome1", desc="Signing key")
i am getting the following error:
WLSTException: Error occured while performing save : Cannot call Edit functions when you are not in the Edit tree.
I am not clear how to avoid it. And not sure how to install EM on this domain so that I can update the keys from there.
Would appreciate if there is any blog which explains how to use discussion server from jdev 11.1.1.6.
Thanks,
Laiit.
.
Similar Messages
-
Error while creating Connection to BPEL Server From Jdev.
Hi All,
I Installed an Oracle XE database on my windows machine , and Run the IRCA tool to create Orabpel, Oraesb and Orawsm in the XE database
Deinstalled my current SOA Suite[Basic] and Reinstall the SOA Suite using the "advanced" option.
Started the server and could able to create a connection to AS, but when i try to create a connection to BPEL Server it's error out with below error message.
Application Server: OK
BPEL Process Manager Server: FAILED
ESB Server: FAILED
What could be the reason..
I didn't modified any file in AS directory with Database details ,Since while installing SOA Suite it asked for the DB Details and forced me to execute all the scripts against this DB,So i assume it knows the connection string.
Let me know how can i solve this issue.
Thanks in advance,
-SiddhardhaHI
In JDeveloper 10.1.3.1.0,
1. Click on the tab for the Connections navigator.
2. Right click on Application Server and select New Application Server Connection.
3. Enter a descriptive name for the new connection, and select the appropriate connection type from the drop down list. Click Next.
4. Specify oc4jadmin for User Name, then enter the oc4jadmin password. Click Next.
5. Select Single Instance for Connect To, then provide the host name where BPEL is installed, the OPMN port number, and the OC4J instance name (the default for 10.1.3.1 is oc4j_soa). Click Next.
6. Click Test Connection. If you have been successful, you should see "Success!"
7. Now, right click on Integration Server and select New Integration Server Connection.
8. Specify a connection name and click Next.
9. In the drop down list by Application Server, select the Application Server Connection you just created. Again, specify the host name where BPEL is installed and the port number. This port number will be the same that you specified for the Integration Server Connection to the home OC4J container. Click Next.
10. Test the connection. You should see something like:
Application Server: OK
BPEL Process Manager Server: OK
ESB Server: OK
11. Now, return to the Applications navigator, and try to redeploy your process using the Integration Server Connection just created. (It is possible that you will have to close JDeveloper and then reopen it for this to work.)
Cheers
Anirudh Pucha -
Error while connecting to SQL SERVER from OWB
HI All,
I got the following error while connecting to SQL SERVER from OWB(10gR2).
1). Created DSN with (GMSCADA)
2). tnsnames file is updated with the following information
GMSCADA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
(CONNECT_DATA =
(SERVICE_NAME = SA)
3). Tried to connect to SQL SERVER frm OWB
Username: sa
password: sa
host: 172.16.60.29
port: 1433
service name: GMSCADA
schema: sa
I got the following error, when I click Test Connection:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from OWB_3095
Regards,
Kumar.Hi David,
What is Gateway, How I have to setup, Please let me know.
I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
Can u please let me know.
Regards,
Kumar. -
How to connect to SQL Server from Forms 10g?
Hello all,
How do we connect to SQL Server database from Forms 10g?
In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
without installing anything on the database server?
Pls help!
Regards,
SamHello all,
I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
Transparent gateway was not required.
Followed metalink note 109730.1
So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
"ORA-02070 - ROWID is not supported in this context."
This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
no Rowid is fetched since SQL Server table doesn't have one.
Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
Pls suggest.
Regards,
Sam -
Failure when connecting MS SQL SERVER from ODI ! could not load JDBS driver
i have some trouble with connecting MS SQL SERVER from ODI.
I have already downland jdbs driver 3.0 (and 2.0 ) and copy the sqljdbc4.jar to D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers( where the oracle jdbs driver is already exitst )....but i have this error :
could not load JDBS driver class..
thanksAfter more investigation and even more chocolate, we've identified the problem and it's now working. For anyone else who strikes this problem in future, here's something to check/consider/try:
Even though Squirrel SQL Client was connecting and working ok using the MS JDBC driver (v 3.0), it recorded this in its logs:
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the INTERSECT operation.
We've found that the open source jTDS driver does not have the same issue as the Microsoft one.
We've installed the current jTDS driver, recorded the driver name (net.sourceforge.jtds.jdbc.Driver) and the JDBC URL (jdbc:jtds:sqlserver://<hostname>:1433/<database>) and the connection is now working fine.
Hope this helps other people...
Thanks to those of you who offered suggestions and things to check...much appreciated.
Robyn -
Unable to connect to WSUS server from the console
I am not able to connect to WSUS server from WSUS console any more suddenly! "please verify that IIS on the server is correctly configured and is running'. I find out that Windows Process Activation Service is stuck in starting.
I killed it with taskkill command but I am not able to restart it. It gives 'Error 1053: the service did not respond to the start or control request in a timely fashion'.
There are some suggestion online but I am not comfortable with those solutions, I prefer to be guided by Microsoft TechNet, thanks.
Thang MoHi,
are there any relevant entries in the system log viewer?
If you find the answer of assistance please "Vote as Helpful"and/or "Mark as Answer" where applicable. This helps others to find solutions for there issues, and recognises contributions made to the community :) -
Unable to connect to administration server from essbase console,
Hi All..
After successfully completely installation and configuration of essbase 11.1.2.3 iam unable to connect to administration server from essbase console,
and also while connecting to oracle database it says "oracle not found".
essbase 11.1.2.3 is installed in windows 2008 server R1.
kindly help us.Hi John
and thanks again for the reply
These log files has following information
and rest of files are empty in the specified path.
HyS9RaFrameworkAgentOut :
Java App Loader V1.3 (C)2006 by Hyperion Inc.
$> java -cp . -Dloader.application=xxx.app com.brio.one.common.utils.Loader [arguments]
> Reading application file 'C:\Oracle\Middleware\EPMSystem11R1\common\raframeworkrt\11.1.2.0\bin\agent.app'...
> Loading classes...
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/wksagent.jar ...OK
file:C:/Oracle/Middleware/modules/javax.activation_1.1.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/foundation.jar ..........OK
file:C:/Oracle/Middleware/oracle_common/lib/java/shared/jsch/0.1.37/jsch-0.1.37.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/iona63.jar ..................OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/comutil1_01.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/eiengine.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/misc/11.1.2.0/servlet-api.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/JakartaCommons/jakarta-commons.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/logJavaUtil.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/javax.zip ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/bqservice.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/bcel-5.1.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/scorecard-search-api.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/waservices.jar ...OK
file:C:/Oracle/Middleware/EPMSystem11R1/common/jlib/11.1.2.0/epm_j2se.jar ...OK
file:C:/Oracle/Middleware/modules/com.bea.core.apache.velocity.dep_1.4.jar ...OK
file:C:/Oracle/Middleware/modules/com.bea.core.apache.velocity_1.4.jar ...OK
file:C:/Oracle/Middleware/modules/javax.mail_1.4.jar ...OK
> Creating URLClassLoader...
> Setting New Context ClassLoader...
> Loading Main class 'com.oracle.cmc.Agent'...
> Getting 'main' method...
> Starting application...
HyS9EssbaseStudio_epmsystem1-syserr:
INFO Server configuration file: C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseStudio\Server\server.properties.
06:38:01 07/05/13 INFO Logger configuration file: C:\Oracle\Middleware\user_projects\epmsystem1\BPMS\bin\logging.xml.
06:38:01 07/05/13 INFO Starting up.
06:38:01 07/05/13 INFO Oracle Essbase Studio Server. Version 11.1.2.3.000, Build 4386, March 26 2013. Copyright © 2008 - 2013, Oracle. All rights reserved
06:38:14 07/05/13 (system) INFO Root folder for flat datasource files has been created: `C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseStudio\Server\.\datafiles`.
06:38:14 07/05/13 (system) WARNING Failed to load driver for sap.
06:38:14 07/05/13 (system) WARNING Failed to load driver for teradata.
06:38:14 07/05/13 (system) WARNING Failed to load driver for netezza.
06:38:17 07/05/13 (system) SEVERE Unable to establish connection to MySQL server: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server..
06:38:19 07/05/13 (system) SEVERE Unable to establish connection to MySQL server: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server..
06:38:19 07/05/13 (system) SEVERE Catalog.CannotInitializeStorage=Cannot initialize catalog storage. Make sure the server.properties file contains the correct information.
-------------- Exception --------------
com.hyperion.cp.catalog.exceptions.CatalogInitializationException: Cannot initialize data storage engine.
at com.hyperion.cp.catalog.storage.StorageFactory.initialize(StorageFactory.java:91)
at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:104)
at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:198)
at com.hyperion.cp.catalog.Catalog.<clinit>(Catalog.java:81)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.hyperion.cp.catalog.CatalogInitializer.run(CatalogInitializer.java:71)
at com.hyperion.cp.server.RequestListener$SystemTask.run(RequestListener.java:1507)
at com.hyperion.cp.server.RequestListener.runSystemTask(RequestListener.java:233)
at com.hyperion.cp.server.RequestListener.init(RequestListener.java:174)
at com.hyperion.cp.server.ServerMain.initServer(ServerMain.java:214)
at com.hyperion.cp.server.ServerMain.main(ServerMain.java:296)
Caused by: com.hyperion.cp.driver.util.DriverConnectionException: Cannot establish connection to MySQL server.
at com.hyperion.cp.driver.adapters.sql.mysql.MySQLConnection.createSQLConnection(MySQLConnection.java:130)
at com.hyperion.cp.driver.adapters.sql.SQLConnection$ConnectionPool.<init>(SQLConnection.java:1229)
at com.hyperion.cp.driver.adapters.sql.SQLConnection.construct(SQLConnection.java:450)
at com.hyperion.cp.driver.ConnectionManager.getConnection(ConnectionManager.java:113)
at com.hyperion.cp.driver.DriverEngine.getConnection(DriverEngine.java:60)
at com.hyperion.cp.server.QueueableTask.setMetadataConnection(QueueableTask.java:53)
at com.hyperion.cp.catalog.storage.StorageFactory.initialize(StorageFactory.java:73)
... 11 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2333)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2370)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at com.hyperion.cp.driver.adapters.sql.mysql.MySQLConnection.createSQLConnection(MySQLConnection.java:123)
... 17 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:218)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)
... 32 more -
Unable to connect to Admin Server from second machine using WLST
Hello,
PROBLEM
Can't get WLST to connect to admin server from 2nd host to register the domain.
SETUP
I have 2 Centos VMs running on Oracle Virtual box in a single laptop. Both the VMs use "Bridged Networking".
VM-1 CONFIG
cat /etc/hosts
192.168.1.17
dom1 dom1.my mac1
192.168.1.51
centos2 mac2
VM-1 hosts admin server & one managed server
VM-2 CONFIG
192.168.1.51
mac2
192.168.1.17
centos1 mac1
VM-2 hosts just one managed server
I can start up admin on VM-1 fine. The node manager is reachable too. Both the VMs are can be pinged from each other. I can also telnet to the admin server's port ( telnet 192.168.1.17 7001) from the second server.
My HOST OS is Windows 7. I can ping from windows to both the VM IPs too. The reverse is working fine as well.
I've tried both mechanisms of copying the whole domain from machine 1 over to machine2 & also using the pack.sh/unpack.sh combinations to transfer the domains.
When I invoke WLST, this is what happens
./wlst.sh
CLASSPATH=/apps/prod/appservers/weblogic/wls_10_3_6/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/apps/prod/appservers/weblogic/wls_10_3_6/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/lib/tools.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic_sp.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/features/weblogic.server.modules_10.3.6.0.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/webservices.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/apps/prod/appservers/weblogic/wls_10_3_6/utils/config/10.3/config-launch.jar::/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbynet.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbyclient.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbytools.jar::
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic','weblogic123','t3://192.168.1.17:7001')
Connecting to t3://192.168.1.17:7001 with userid weblogic ...
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : Error connecting to the server : Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
Use dumpStack() to view the full stacktrace
wls:/offline> dumpStack()
This Exception occurred at Fri Oct 11 17:11:07 NZDT 2013.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
wls:/offline>
Also, I can't invoke weblogic.Admin from the second VM despite setting the environment using "setWLSEnv.sh". i get the error "Error: Could not find or load main class weblogic.Admin".
Please could you help me fix this? I've spent 3 days now trying numerous things without much luck :-(
Kind RegardsHi Raj,
Issue is with NM registry with domain home. Please follow the below steps and let us know the status.
1 . Check whether the node manager port ( default 5556 ) is opened for communication on both Admin and Managed server.
2 . After opening the port - We would need to enroll the node manager home with domain home to establish the communication between Admin and Managed server.
a . Start the Administration Server.
b . Using the Administration Console update the Node Manager credentials from the Advanced options under domain_nameArrow symbolSecurityArrow symbolGeneral.
c . Invoke WLST and connect to an Administration Server using the connect command. See Using the WebLogic Scripting Tool in WebLogic Scripting Tool.
d . Run nmEnroll using the following syntax:
nmEnroll([domainDir], [nmHome])
Running nmEnroll() ensures that the correct Node Manager user and password token are supplied to each Managed Server. Once these are available for each Managed Server, you can use nmConnect() in a production environment.
Note: You must run nmEnroll() on each machine that is running a Managed Server. Additionally, you should run nmEnroll() for each domain directory on each machine.
For more info : General Node Manager Configuration
Thanks
Lakshman -
New install issue-unable to connect to DB server from a remote client.
Hi experts,
I am new to setting up oracle server so pls bear with me...
I setup a db server (11g on top of 64bit Oracle Linux) at home (static 192.168.1.90). I verified that db, listener are up and running. However, I tried to connect to the server from a different client machine (192.168.1.108) within my home network but the server cannot be reached. I was able to ping both client and server using the IP addresses and hostnames. I followed the following steps to perform troubleshooting but was unable to move on beyond step 3, telnet-ing the server on port 1521. Can someone help me out what I should do make the port # (1521) is reachable by the client?
1. Check with "ping" using the IP address ("ping 198.11.34.43"
2. Check with "ping" using DNS name (e.g. "tnsping uranus")
3. Try telnet to the IP on port 1521 (telnet 1.2.3.4 1521)
4. Check with "tnsping" using TNS service name
5. Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
6. Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name"
7. Within SQL*Plus, try a select from table@remote_db_link
thanks a lot in advance.user6391746 wrote:
Hi experts,
I am new to setting up oracle server so pls bear with me...
I setup a db server (11g on top of 64bit Oracle Linux) at home (static 192.168.1.90). I verified that db, listener are up and running. However, I tried to connect to the server from a different client machine (192.168.1.108) within my home network but the server cannot be reached. I was able to ping both client and server using the IP addresses and hostnames. I followed the following steps to perform troubleshooting but was unable to move on beyond step 3, telnet-ing the server on port 1521. Can someone help me out what I should do make the port # (1521) is reachable by the client?
1. Check with "ping" using the IP address ("ping 198.11.34.43"
2. Check with "ping" using DNS name (e.g. "tnsping uranus")
3. Try telnet to the IP on port 1521 (telnet 1.2.3.4 1521)
4. Check with "tnsping" using TNS service name
5. Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
6. Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name"
7. Within SQL*Plus, try a select from table@remote_db_link
thanks a lot in advance.solution depends upon which ERROR is thrown.
Is COPY & PASTE broken for you?
It is really, Really, REALLY difficult to fix a problem that can not be seen.
use COPY & PASTE so we can see what you do & how Oracle responds. -
Problem connecting to SQL Server from JDeveloper 10g using jdbc third party
I am using Oracle 10g Jdeveloper and I tried to setup a database
connection to SQL Server using various Drivers for JDBC as Merlin, jtds, inet.tds, etc.
(I had no problem to set up a connection to an Oracle Database using the
Oracle JDBC driver).
When I am testing the connection throughout the wizard, I do receive
this error message: "Unable to find driver:
com.microsoft.jdbc.sqlserver.SQLServerDriver".
I m not understanding from last 3 days where to place the corresponding JAR files so thaI may not get the Error.
When I hit n trialed at various directories of the JDeveloper as </rootDir/jdbc/lib>
</rootDir/lib>
</root/jdev/my Work/Application1/Project1/public_html>
</root/jdev/my Work/Application1/Project1/public_html/web-inf/>
when I tested the connection I do received:
"Unable to find driver:
xxx.xxx.xxx.xxxxxxx Unable to find driver:
Obviously it can't locate the Micrososft JDBC driver but I can't
figure out why.
I tried all kind of things without any success. Is somebody can help
me and took me beyond this.
I m trying to build DataSource connection from JavaBeans.
Please make me out of this cave. I m not finding any of the way to do this.
The last code I tried is
try {
Class.forName("com.inet.pool.PoolDriver");
com.inet.tds.TdsDataSource tds = new com.inet.tds.TdsDataSource();
tds.setServerName( "local" );
tds.setDatabaseName( "bluff" );
tds.setUser( dbUserName );
tds.setPassword( dbPassword );
DataSource ds = tds;
Connection con = ds.getConnection(dbUserName,dbPassword);
Statement stmt;
ResultSet rs = null;
Thanks,you are confusing me at least as your error is discussing the microsoft driver yet you are configuring the inet datasource.
I do not use JDeveloper, but you need to make sure that whatever is servicing your web app/JavaBean has access to the driver. Not sure why you are not doing a JNDI look up of the resoure, but because you are not you can stick the driver jar in the lib directory within the WAR bundle. I would suggest that you add the driver to the lib/ext or the lib directory which is loaded at boot time for your web container and then use JNDI to look up your DataSource to reduce your coding maintenance headaches. -
Query a List of Open WMI connections on a server from a remote system
We are monitoring a specific windows service on a server using Sitescope remote monitoring. The sitescope system uses a WMI method to Check if the service on a specific server is up or not. Initially it works like a charm but over time the WMI connections from
sitescope time out and we have been told that Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
I am looking for a way to list open WMI connections to a specific service and/or server from a remote system and a way to kill those connections via a scheduled PowerShell (or batch/perl) script. I was able to list specific classes by -list parameter
of the Get-WmiObject cmdlet
but am unable to determine which class will give me the information that I require and the method to kill those connections.Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
1. It's not clear what "not closing the WMI connection it opens gracefully" means. WMI is a management technology that uses DCOM to connect to remote computers. (Is it really a question about DCOM?)
2. It's not clear what specifically "open connections pile up" means and what problem(s) it causes.
3. This is really a support question for that software's developer, not a question about WMI.
-- Bill Stewart [Bill_Stewart] -
Error while connecting to MDM server from Webdynpro
Hi ,
I am trying to connect to MDM server (5.5 SP04 no patches) through a webdynpro application . The following is the piece of code that I am using as a test .
CatalogData CatalogData = new CatalogData();
int resultLogin = 0;
try {
resultLogin = CatalogData.Login("USNOC01AQ05",2005,"Admin","Erico1234","English [US]");
}catch(Exception e){
wdContext.currentContextElement().setValueattr("Not Connected");
//System.out.println("Error while establishing connection");
if (resultLogin != RC.RC_OK){
wdContext.currentContextElement().setValueattr("Not Connected");
//System.out.println("Error logging to the SDM server");
//System.exit(-1);
wdContext.currentContextElement().setValueattr("Connected");
//System.out.println("MDM server connected");
The import statements are as follows
import a2i.common.CatalogData;
import a2i.generated.RC;
I have put the following jar files in the java build path
MDM4J
mdm-admin
mdm-common
mdm-core
mdm-data
mdm-protocol
When I deploy my application I get the following error
java.lang.NoClassDefFoundError: a2i/common/CatalogData
It can't be determined from the exception chain, which class loader failed to load the above class. But at least the class loader of the current application does not contain a resource with name 'a2i/common/CatalogData'.
What do you guys think is the problem ?
Regards
DeepaK SinghHi ,
I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
Regards
DeepaK Singh -
Connect to sql server from 10g webforms using exec sql
Hi
We are embarking on a project to upgrade our 6i client server forms to 10g web
based. One of our forms uses the exec_sql package to open a connection to an MS
SQL Server database and execute queries on that database.
Oracle open client adapter and an odbc driver for SQL Server is installed on
every client to achieve this. I have read that open client adapter is no longer
available on 10g.
I also read that there a feature of the Oracle database called Generic
Connectivity which would allow us to install an odbc driver on the database
server and allow us to connect to sql server. However I discovered that this
feature is not supported on TRU64 - the operating system our database runs on.
I have read about Oracle Transparent gateways but I have been informed that they are not supported from forms.
Is there any alternative? How can our webform connect to sql server and execute
queries against it? The sql we need to execute is already sql server compliant so no translation is required - just a simple pass through
thanks
paul schweigerI used in the past Forms 6i against DB2 on a mainframe through Transparent Gateway for DB2. So I'm wondering who did you tell such a configuration does not work. And the migration guide states:
/* Open Client Adapters (OCA)
In order to provide platform-independent access to a wider range of non-Oracle data sources, use the Oracle Transparent Gateway and Generic Connectivity solutions in place of OCA. */
At least gateway is mentioned.
Werner -
Connect to SQL Server from Oracle
Does Oracle offer any connectivity to NON-Oracle databases such as SQL Server from within the Oracle database itself, similar to a database link ?
Yes, it's called Heterogeneous Connectivity. Basically how it works is you set up an ODBC data source on the Oracle server
and need to modify the tnsnames.ora and listener.ora files. Once you get it set up it works exactly like a dblink. You should be
able to find information on it in the Oracle manuals or from Metalink. There's also a Heterogenous Connectivity forum on OTN. If
you can't find anything let me know and I can send you some documents on how to set it up. I think the hardest part for you might
be finding a SQL Server ODBC driver for HP-UX. -
Trouble connecting to OSX server from XP domain members
Can someone help me out with a problem connecting to our OS X server from Windows XP? Basically, I only have trouble connecting from XP machines that are members of the domain.
Here are some details:
OS X Server 10.3.9, bound to domain through Active Directory.
Windows Services role = Domain Member.
Computer name (under Windows Services) = macserver
Connects fine from Macs via Network>Domain>macserver
macserver IP address: 192.168.1.5
Sharing 1 folder to all members of the domain.
I can connect fine from OS X computers and XP computers that are NOT members of the domain
I can connect from XP domain members via the IP address \\192.168.1.5
I cannot connect from XP domain members via Network Neighborhood>Domain>macserver, or by entering the computer name. Error message recieved: "The account is not authorized to log on from this location."
I can ping macserver from any xp machine and it resolves the IP address.
I can browse the webserver on OSX Server via http://macserver.
Any thoughts?
Thanks,
Eric
PowerMac G4, MDD Mac OS X (10.3.9)
PowerMac G4, MDD Mac OS X (10.3.8)I can't remember how I resolved this. I think I had a number of problems, for instance, spaces in fileshare names. I might also have set up the domain incorrectly. Who knows.
Maybe you are looking for
-
Hi All, I hav a file to proxy scenario. The XML file is sent as a proxy from XI to ECC. but ECC is receving it as a blank file. SXMB_MONI in XI is success but in ECC it has failed. Please help us understand where the problem is occuring. Regards, Sud
-
How do you download adobe flash player on the MAC? I cannot play You Tube videos without it...
-
I did a factory reset on a mc349 ipad and now i cant get on the internet
it is an at&t service.but isnt there a way of not signing up for an account and just use
-
Can i get my photos and setting back without backup?
I lost everything all I am going crazy please help me, my I restored my iphone but I forgot to back it up and when I tried to restor it I forgot about it so now I lost everything pleaaase tell me it's not over and there is a way to get my stuff back.
-
Does anyone know how to do the equivalent of MS word's non breaking space. trying to use this to keep things like phone numbers (with embedded spaces) from being split across 2 lines when using dynamic templates.