JDBC URL Error
I'm creating a connection pool for soademo and having issues setting the JDBC URL to access the database. This is what have:jdbc:oracle:thin:@mydb.com:1521:orcl
and this is what I get when the URL is tested:
Unable to establish connection. Error message: Exception occurred testing connection. Exception: java.sql.SQLException: invalid arguments in call.
Thanks in advanced
This is the type of URL I use:
jdbc:oracle:thin:@localhost:1521/XE
Try replacing the last : with an /. I was able to test this using SQLDeveloper. It generates the URL for you and stores it in the IDEConnections.xml file.
Good luck.
BradW
Similar Messages
-
Hi all,
I got this error when I tried to execute a simple JSF app. I am using JDeveloper 10.1.3 release edition. Please advice
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
C:\JDeveloper10g\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper10g\j2ee\home\oc4j.jar;C:\JDeveloper10g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
2006-01-31 21:40:47.062 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
2006-01-31 21:40:47.093 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
2006-01-31 21:40:47.093 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
2006-01-31 21:40:47.156 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
2006-01-31 21:40:47.156 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
2006-01-31 21:40:47.171 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
2006-01-31 21:40:47.218 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
2006-01-31 21:40:47.281 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
2006-01-31 21:40:47.359 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
2006-01-31 21:40:47.375 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
2006-01-31 21:40:47.375 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
2006-01-31 21:40:59.296 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
2006-01-31 21:41:08.421 WARNING J2EE OJR0107 Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
SEVERE: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:309)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
... 11 more
Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
... 13 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.mysql.jdbc.Driver
Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
Loader: oc4j:10.1.3
Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
... 15 more
Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:309)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
... 11 more
Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
... 13 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.mysql.jdbc.Driver
Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
Loader: oc4j:10.1.3
Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
... 15 more
06/01/31 21:41:08 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
Jan 31, 2006 9:41:08 PM com.evermind.server.Application setConfig
WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
2006-01-31 21:41:08.531 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 29125 ms.I did what Manu suggested with no success. Alternatively, I registered the driver jar with embedded OC4J preferences > global > libraries. Still does not work. Please, note, that when I run JUnit tests against my BC4J application modules with JDBC URL as connection type, everything works just fine. The problem comes while running the JSF application when the application module is using JDBC DataSource as connection type.
-
REDIRECT JDBC URL WHEN USING DYNAMIC JDBC CREDENTIALS SO NOT HARDCODED
I have taken over an application that uses row-level security and ADF (using
dynamic JDBC Credentials). I have been able to set the internal_connection to
a JDBCDatasource, but cannot set the Connection Type in the Oracle Business
Component Configuration to a JDBCDatasource. When I do, I receive errors that
tables are not found. When I set the value back to a JDBC URL, everything
works fine again.
I am looking for a solution where the userid and password are not hardcoded in
the BC4J.xcfg or a way to redirect this information, as we change our system
passwords every nighty days. Otherwise, I will have to redeploy the
application every nighty days.
I did not create this application, but I am sure that you could simply follow
the "How to Support Dynamic JDBC Credentials" article. From that point, you
will probably be where I am, where I have the internal_connection set to a
JDBCDataSource and working properly, but cannot set the Connection Type to
anything where the userid and password will not be hardcoded or cause failure.
I wanted to let you know that I have
found the updated How to Support Dynamic JDBC Credentials
(http://www.oracle.com/technology/products/jdev/howtos/bc4j/howto_dynamic_jdbc.h
tml) and was going to run through the "Advanced: Supporting Dynamic JDBC URLs",
but once I was done keying in
env.remove(ConnectionStrategy.DB_CONNECT_STRING_PROPERTY); I received a
depreciation message on the DB_CONNECT_STRING_PROPERTY. (Note: I am coding in
JDeveloper 10.1.3, so this may be depreciated as of then, but the ADF Libraries
for JDeveloper 10.1.3 are on our Oracle 10gAS 10.1.2 server.)
I thought maybe this would resolve my issue, but I can't be sure as the
deprecation message leads me to believe that this solution may not be viable in
the future.
UPDATE
=======
The article you are referencing is definitely an older version.
There is a newer article for 10g at:
http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html
Please see if that helps.
I have already reviewed this article.
In fact, I have reviewed many versions of this document. I have not seen one
created yet for 10.1.3 though (especially without JSF as our 10.1.2 AS server
will not support it). I need to find an example or documentation that shows
how we can keep from having the JDBC URL stored in the BC4J.xcfg or a way to
use dynamic JDBC credentials with a JDBCDataSource. We do not want to store
the userid and password in the application, rather, we would like to setup
something that can be configurable from the application server.
I think we need to use the dynamic JDBC credentials because we are using the
row-level security, where we setup a database context for the user and only
allow certain records of a database table to be returned to the browser based
on that context.
Might there be a way to still use the JDBCDataSource?I understand that the user provides the userid and password and that these values are setup using the Configuration class.
However, when I am to deploy the ADF Business Module with my application, I have to specify either a JDBC URL or a JDBC DataSource in the Oracle Business Component Configuration.
When I use JDBC DataSource, the code does not work properly, almost like the user's credentials are not used for the connection (I get errors like table or view does not exist).
When I use the JDBC URL, the bc4j.xcfg stores a reference in the JDBCName attribute to a ConnectionDefinition in the same file. It is in this tag of the bc4j.xcfg where the userid, sid, and password (encrypted) is stored and used when retrieving the initial context of the ADF business components.
It is these values that I want to have stored else where so that the application does not have to be redeployed in order for the password (or sid, or other connection information) to be change. -
Hi All,
I have two DB nodes which are running independently (Mean no RAC), I want to configure JDBC URL for these nodes that if one node goes down my application automatically connected to second one.
Both nodes have different HOST and SID.
Regards,
imranHi jwenting,
I tried following URL in PL/SQL developer and my fail over is working fine with separate nodes, Only thing i did was i keep SID of both nodes with same name.
ERS=(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
But strange when i connected this through JDBC URL like following it gives me error of invalid URL
jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
Regards,
imran -
in the physical architecture of topology manger , when i try to insert the JDBC url for LDAP, the test connection failed and retourn this java error:
"java.sql.SQLException: A NamingException occured saying: Cannot parse url: servizio,dc=abc,dc=net with this explanation: Cannot parse url: service,dc=abc,dc=net and this remaining name: null"
the problem is in the name of LDAP's base search which contains spaces, like this
"jdbc:snps:ldap?ldap_url=ldap://10.10.10.10:389/&ldap_password=KILAKMDJKKLHKJJJCDGRGPDB&ldap_basedn=ou=users,ou=account of service,dc=abc,dc=net"
i try to escape the pace in the string "ou=account of service," with me most frequently escape char like "\" ora single or double quote and many other but were always wrong.
someone know how can i resolve the problem? or which escape character can i use?
Thank you
Matteos
Edited by: user6679008 on 26-ago-2010 6.13Ok, I've done this test in the past but we have an LDAP error 52e (invalid credentials)... but the same search with ldapsearch (unix command) does not have these problem.
LDAP : error code 49 - 80090308 LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 52e ...
Ex:
ldapsearch -v -x -b 'dc=soft,dc=net' -wPASSWORD -D 'cn=USER,ou=users,ou=service account profile,dc=soft,dc=net' -h 130.130.30.1 -p 389
Thanks a lot for your support.
Carlo.
PS
The LDAP is an Active Directory
Dev wrote:
Carl ,
The correct string should have been
jdbc:snps:ldap?ldap_url=ldap://130.130.30.1:389/&ldap_password=KILAKMDJKKLHKJJJCDGRGPDB&ldap_basedn=dc=soft,dc=net
and in the user provide cn=<what ever your cn is >,dc=soft,dc=net
Please try this and let me knowEdited by: Carlito on 31-ago-2010 16.31
Edited by: Carlito on 31-ago-2010 16.34 -
hi, all:
i'm working in jdev 11.1.2.3
i have created a simple adf app(one table for the moment) which works well only after i ALTER TABLE to add some columns.
1.edit EO to add attribute from the newly altered table.
--it's ok.
2.edit the VO (or even delete the old VO to create a new one) based on the refreshed EO, to include new attributes.
--in the QUERY tab for the VO, when press TEST AND EXPLAIN button, an error occured like this:
"Error encountered:java.sql.SQLException: Unrecognized JDBC URL
subtype: null"
--but connection to the db in jdev is ok.
3. if i ignore these alert and go on ,and run the jspx agian. errors in log file like this:
JBO-27021: java.sql.SQLException, .....
Caused by: java.sql.SQLException: invalid index ...
Can anyone give helps?
Thanks.I tried "synchnorizse the db changes" for EO, and related info:
i changed the data type id of the EO from varchar2 to DBSequence, and when sync the EO, restored to the string type.
but the problem remains.
any ideas?
Thanks. -
Can't use JDBC URL for multiple LDAPs
ColdFusion 8,0,1,195765 Enterprise (Trial)
We use Oracle OID (LDAP) instead of tnsnames.ora to resolve database connection strings. This is how I specify one LDAP JDBC URL. On the CF admin page, Server Settings, Java and JVM, ColdFusion Class Path is set to C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar. Under Data & Services, Data Sources, create a new source. Set JDBC URL to
jdbc:oracle:thin:@ldap://mdaoid1.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc= com
where mdaoid1 is one of the two Oracle OID servers that resolve connection strings, and mdad2 is an entry in the two OID's sync'ed to each other. That works.
According to many sources based on Google search for "space separated LDAP URLs", I should be able to add another LDAP server separated by space. Now I append " ldap://mdaoid2.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc=com" (no quotes, added to indicate leading space) to that string. Upon clicking Submit, I get
Connection verification failed for data source: orcl10g3
java.sql.SQLException: For input string: "389 ldap:"
The root cause was that: java.sql.SQLException: For input string: "389 ldap:"
(orcl10g3 is the CF data source name I'm creating) Some say I need to replace space with %20 in the double LDAP URL. With %20, I get error
Connection verification failed for data source: orcl10g3
java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
The root cause was that: java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
Question: How do I add more than one LDAP server to the JDBC URL so I can achieve failover and load balance?
Yong Huang
yong321 at yahoo.comThe message above was posted by me two years ago and was brought to my attention today. Here's a short update: The network team added a load balancer mdaoid in front of, and resolved to, mdaoid1 and mdaoid2 (in round-robin fashion). The problem described in this thread is bypassed because the JDBC URL can simply use one-OID format, in which mdaoid is used as the LDAP server.
-
ha ii
I try to connect my database using jtds driver.Error indicate **java.sql.SQLException: Network error IOException: Connection refused: connect* , then i check jtds Faq then i fallow these steps
Why do I get java.sql.SQLException: "Network error IOException: Connection refused: connect" when trying to get a connection?
The "Connection refused" exception is thrown by jTDS when it is unable to connect to the server. There may be a number of reasons why this could happen:
1. The server name is misspelled or the port number is incorrect.
2. SQL Server is not configured to use TCP/IP. Either enable TCP/IP from SQL Server's Network Utility app or have jTDS connect via named pipes (see the URL format for information on how to do this).
3. There is a firewall blocking port 1433 on the server.
Error is still
I disable firewall also
my jdbc url is
*("jdbc:jtds:sqlserver://220.247.224.219:1433/sms;username;password");*
I install jtds driver on the c: drive program folder and configure it.
can any one help me to solve this problem.
So i wont to check my jtds installation correct , plese tel me how to install the jtds driver.
can any one help me
thank youThe "Connection refused" exception is thrown by jTDS when it is unable to connect to the server. There may be a number of reasons why this could happen:
1. The server name is misspelled or the port number is incorrect.
2. SQL Server is not configured to use TCP/IP. Either enable TCP/IP from SQL Server's Network Utility app or have jTDS connect via named pipes (see the URL format for information on how to do this).
3. There is a firewall blocking port 1433 on the server.
Error is still
I disable firewall also On both the client and the server?
Your problem is then either 1 or 2. -
Deployment using JDBC DataSource instead of JDBC URL
Hello,
I've noticed some strange behaviour when deploying an ADF application (11g, latest release) to a WLS (integrated or stand-alone), when using JDBC DataSource as a connection type for the application module.
Normally, when you create your Business Components, a Database Connection is added to the Application Resources panel, eg MyConnection. If you then set your AM to JDBC DataSource instead of JDBC URL, the default datasource would be jdbc/MyConnectionDS. To make the application use the DataSource defined on the WLS, I then uncheck "Auto Generate and Synchronize weblogic-jdbc.xml Descriptors during deployment" in the Application Properties > Deployment tab.
So far so good: after deployment to the WLS, the application uses the DataSource defined on the WLS server (jdbc/MyConnectionDS). When changing it on the server to another database, the application indeed uses this other database. Also, the following is automatically added to the web.xml during deployment to .ear file:
<resource-ref>
<res-ref-name>jdbc/MyConnectionDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>Now the part that doens't make sense to me: if I delete the password in the Database Connection under Application Resources, I can still deploy the application, but the jdbc/MyConnectionDS on the WLS is not found anymore. While it is still there. I get the following error message:
Unable to lookup Data Source at context java:comp/env/jdbc/MyConnectionDS
oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/MyConnectionDS
I made the JDev connection (used at development) invalid, and the deployed application stops working (at runtime). While it should just be using the JDBC DataSource defined on the WLS, that is still there. The reason appears to be that when there is no password in the Database Connection in JDev, the entry in the web.xml (see above) is not made during deployment.
I am doing something wrong? Or is this "expected" behaviour?
The reason why it bothers me: I have made a reusable component (a Data Control, let's call it A) from a model project, by deploying it to a ADF library JAR. I've set the AM of this project to use a certain jdbc datasource, which will be defined on the WLS.
When importing the library JAR of A inside another application (B), the connection of the A is added to B. But ofcourse, without the password for security reasons, so we're in the situation described above: When I deploy the new application B, the web.xml is not updated with the DataSource of A, and the application doens't work. And what I would like to avoid, is that whenever someone uses component A, that they have to update the connection details of component A in application B. Because when I fill in the password of application A's Database Connection in application B, all works well again.
I hope this question makes sense. :-)
Thanks in advance,
ChrisArun and Krithika,
Thanks for your replies. I have already done what both of you suggested:
Chris Schryvers wrote:
I then uncheck "Auto Generate and Synchronize weblogic-jdbc.xml Descriptors during deployment" in the Application Properties > Deployment tab.I can get it to work, both for deployment on the internal WLS as on a stand-alone WLS.
My only question is: why does a property at development time (the empty password of the JDev connection) influence the runtime behaviour (the JDBC DataSource not being found after deployment).
Ofcourse, setting the password for the connection in JDev "solves" the problem. But I want to avoid that everyone who uses the reusable component needs to fill in the password for its database connection. In my opinion, that's the whole point of using a JDBC datasource instead of a JDBC URL: the reusable component just states that there needs to be a jdbc/MyConnectionDS on the server and it can be used as is. Wihtout any modifications at development time.
What's more:
Suppose I import the reusable JAR and its connection is added to JDev, without password.
*) Leaving the password empty: DS not found after deployment (web.xml not adjusted, as mentioned in my original post)
*) Entering the correct password: DS found, web.xml adjusted at deploy time.
*) Entering an incorrect password: DS found, web.xml adjusted at deploy time.
It even works when I enter an incorrect password, which proves that the JDBC DataSource on the server is used, instead of the JDev connection. Then why is the web.xml not adjusted when the password remains empty?
Arun, I'll check the documention that you linked to, but this just seems like an weird decision in the implementation of JDev/ADF. :-) -
Configure JDBC connection ERROR: no ocijdbc9 in java.library.path
ERROR: no ocijdbc9 in java.library.path
step 6 is where I need help!? thanx.
When configuring a database connection, I chose
1. Oracle JDBC (connection type)
2. Authentication (username/password of my D2K repository)
3. Driver: oci8
4. Hostname: pmurphy1 (my local machine where my db is)
5. Port: 1521 default (odbc works on this)
* 6. Enter custom JDBC url (? please help ?) left blank!!
I really wanna get started with this cool toy!!!
Cheers,
PaullyI am assuming you are using JDeveloper 3.2x
Please see the online help for additional details.
Search help for "JDBC Connection Properties" - With the
quotations and you will find a page names "JDBC Connection
Properties"
This page contains the following info and additional links.
-John
------------- COPIED FROM HELP ---------------
Oracle JDBC-OCI8 Driver
Use this type 2 driver when creating a Java application that
runs against an Oracle8i server. This is a thick driver
optimized for the Oracle8i database: it cannot be used with
applets. This driver handles any database protocol (TCP, IPX,
BEQ, and so on). It is required for applications which are run
from the machine they are stored on. It can also be used against
an Oracle7 database.
This driver requires client software installation. The project
must also include the correct version of the driver in a library
and include no other Oracle JDBC library. This driver is
included in the default Oracle JDBC library for all projects.
The library is named Oracle 8.1.7 JDBC and it includes both the
Thin JDBC and JDBC-OCI8 driver library components. For all OCI
and type 2 JDBC drivers, see Connection Requirements for OCI and
Type 2 JDBC Drivers.
------------- COPIED FROM HELP --------------- -
Jdbc thin error : The Network Adapter could not establish the connection
jdbc thin error : The Network Adapter could not establish the connection
I have been able to create a webservice as per the article Build a PL/SQL Web Service by jason price from otn website. while executing url to call the pl/sql procedure to get the data i am encountering this error
The Network Adapter could not establish the connection in the resultant xml output. Am I missing something here ?
Please see ouput below
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.sql.SQLException: Io exception: The Network Adapter could not establish the connection</faultstring>
<faultactor>/plsqlsample/dbfunc</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope
my oc4j/j2ee/home/config/data-sources.xml file has this entry for the connection
<data-source class="com.evermind.sql.DriverManagerDataSource" connection-driver="oracle.jdbc.driver.OracleDriver" ejb-location="jdbc/hr_connDS" inactivity-timeout="30" location="jdbc/hr_connCoreDS" name="jdev-connection:hr_conn" password="xxxx" pooled-location="jdbc/hr_connPooledDS" url="jdbc:oracle:thin:@o11idev.concentra.com:9200:DEV1" username="hr8" xa-location="jdbc/xa/hr_connXADS"/>
I am not able to debug this error and any information to debug this error would be appreciated. I have scanned the metalink short of logging a tar. I am using the oc4j install on the 9ias webserver and not the jdeveloper/oc4j combination. The apps server runs 9ias on hp/ux.
Thanks
ashokAshok,
Your database connection URL doesn't look right to me. The default database connection listener port is 1521 (not 9200). You can check this using the "lsnrctl" utility.
To find the "host" and SID parts (of the URL), use the following SQL query:
select HOST_NAME, INSTANCE_NAME from V$INSTANCEGood Luck,
Avi. -
Connection with Advanced - custom JDBC URL fails with some valid JDBC-URLs
Hi,
I am trying to create a connection with a custom JDBC connection string, but SQL*Developer throws the error message:
Status : Failure -Test failed: Required property 'hostname' is not set on the DatabaseProvider my tests are:
<li> with connection via Connection Type set to TNS and a proper alias - it works fine
<li> with connection via Connection Type set to Advanced and exactly the same values from tns in the url: jdbc:oracle:thin:@(DESCRIPTION=(enable=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=172.24.32.113)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=RESTSVP_SITE1))) - it fails with Status : Failure -Test failed: Required property 'hostname' is not set on the DatabaseProvider<li> with JDBC URL set to jdbc:oracle:thin:@172.24.32.113:1521/RESTSVP_SITE1 - it works fine
As my jdbc url is quite close to the example in [url http://docs.oracle.com/cd/E11882_01/java.112/e16548/apxtblsh.htm#CHDBBDDA]Using JDBC with Firewalls maybe someone can help me to fix it?
Martin
Edited by: berx on Oct 12, 2012 11:32 AM - fixed typosHi Martin,
1/oci/thick
2/RAC options
3/TNS connection
1/oci/thick
OCI driver has a slightly different set of features than thin:
-try oci/thick (requires Oracle Client, server or instant client) (It requires SQLDeveloper java and .dll, .so libraries to match)Re: SQL developer 3.1 shows error Incompatible version of libocijdbc
jdbc:oracle:oci:@(DESCRIPTION=(enable=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=your_host_name)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=your_service_name)))
2/RAC options
More speculatively:
-Try sid instead of service name (will disable some networking features on that connection), try switching load balancing off.
From: Unable to access RAC from SQL Developer!
In general and especially for RAC database you should use SERVICE_NAME to connect and not SID (because only SERVICE_NAME can use load balancing and failover features):
3/TNS connection
with connection via Connection Type set to TNS and a proper alias - it works fine(Which Connection Type TNS did you use? TNS Connect Identifier = oci/thick, TNS Network alias (can be thin (I should check, might depend on oci/thick checkbox))
Is this issue stopping your work i.e. is this workaround unacceptable?
-Turloch
SQLDeveloper team -
Youtube Facebook Google etc, Invalid URL error
For many years now I've been putting up with a CONSTANT lingering problem with my Mac OS. These (on a very regular basis) irritating, "Invalid URL" errors.
The picture that you see below is an example of my problem. This example of a Youtube video giving me an error is from a recent article on www.macrumors.com.
Where the youtube video is supposed to be is just an Error. And as I scrolled down the page, all of the subsequent youtube videos had this same error.
So I went to youtube. After typing in the web address, I get the same error except that it fills the entire screen.
After about 20 minutes (of constant screen refreshes and data dumps within safari) the youtube videos finally loaded as if nothing was wrong (as you can see in the second photo).
Sometimes this problems lasts for 10 seconds. But normally it can take between 10 minutes to an hour to begin working again.
The other two websites that give me this same trouble is Google.com and Facebook.com. But Facebook being the most notorious. Not just because my actual facebook page won't load, but because of all of the news sites that load facebook garbage and coding searching for facebook. When the facebook ip address cannot be resolved, these annoying error pop-ups begin bombarding my screen. One minute facebook will work, and I'm reading down the newfeed, then all of the sudden nothing new will load. When I try to refresh the page, I get an error stating that it cannot load the page. Then I just have to wait.
As you can see from the picture below, Sometimes facebook just gives me an error that states, "Safari cannot open the page Facebook.com because Safari cannot establish a secure connection to the facebook server."
This happens EVERY single day. It's really just a crap-shoot whether or not I will be able to get onto Facebook.
Youtube is a little less often (usually happening about 3 or 4 times per week).
Google got so bad that I finally had to change my search provider to Bing, because Google almost never worked.
Has anyone else experienced these problems on their MAC?
I ask because I have 3 MAC computers. 2 Laptops and a MacPro tower.
And EVERY single one has this same problem.
This wasn't such a big deal; ie something I learned to live with... Up until I bought my wife (and Windows Vista convert) her new Macbook Air. And within an hour of booting that thing up for the first time, her Facebook errored out. And has done it pretty consistantly every day, at least twice, since then.
If anyone else has this problem, how did you fix it????????Here are the results:
I hope someone can make heads or tails out of this.
And please keep in mind that in the past I have completely wiped and reinstalled after reformatting and within an hour or 2 I get the same errors on the these websites.
Start time: 23:05:23 06/15/14
Model Identifier: MacBookPro5,5
System Version: OS X 10.9.3 (13D65)
Kernel Version: Darwin 13.2.0
Boot Mode: Normal
Time since boot: 49 minutes
FileVault: FileVault master keychain appears to be installed
Diagnostic reports
2014-05-19 UserEventAgent crash
2014-05-23 qmasterqd crash
2014-05-26 qmasterqd crash
2014-06-02 DivX Player crash
2014-06-02 PluginProcess crash
2014-06-02 com.apple.WebKit.WebContent crash
2014-06-02 com.apple.WebKit.WebContent crash
2014-06-02 com.apple.WebKit.WebContent crash
Log
Jun 13 01:43:18 AFP_VFS afpfs_dead: called on vfsid 4
Jun 13 01:43:18 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 4 and counter is 0 to the list
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 15 error 89 reqID 2801 flags 0x29 afpCmd 0x45 so 0xffffff801586fca0
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 16 error 89 reqID 2802 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 17 error 89 reqID 2803 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 18 error 89 reqID 2804 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
Jun 13 22:40:53 AFP_VFS afpfs_DoReconnect: Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Storagedisk_6_1TB
Jun 13 22:41:28 AFP_VFS afpfs_dead: called on vfsid 3
Jun 13 22:41:28 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 3 and counter is 0 to the list
Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 20 error 89 reqID 10889 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 21 error 89 reqID 10890 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
Jun 13 23:26:04 process Preview[95635] caught causing excessive wakeups. Observed wakeups rate (per sec): 744; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
Jun 14 00:16:15 process Preview[2207] caught causing excessive wakeups. Observed wakeups rate (per sec): 2593; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
Jun 14 00:17:23 process Preview[2339] caught causing excessive wakeups. Observed wakeups rate (per sec): 1991; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45210
Jun 14 02:45:19 process QuickLookUIHelpe[4321] caught causing excessive wakeups. Observed wakeups rate (per sec): 189; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45586
Jun 15 00:44:53 msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
Jun 15 00:46:08 jnl: disk3s1: replay_journal: from: 283136 to: 1024512 (joffset 0x7a000)
Jun 15 00:46:12 jnl: disk3s1: journal replay done.
Jun 15 01:37:24 jnl: disk3s1: do_jnl_io: strategy err 0x6
Jun 15 01:37:24 jnl: disk3s1: write_journal_header: error writing the journal header!
Jun 15 01:37:24 jnl: disk3s1: close: journal 0xffffff8013ac5c20, is invalid. aborting outstanding transactions
Jun 15 01:37:26 jnl: disk3s1: replay_journal: from: 367616 to: 1361408 (joffset 0x3f000)
Jun 15 01:37:27 jnl: disk3s1: journal replay done.
Jun 15 10:33:57 process qmastercc[163] caught causing excessive wakeups. Observed wakeups rate (per sec): 1016; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 59722
Jun 15 22:20:37 process smcFanControl[246] caught causing excessive wakeups. Observed wakeups rate (per sec): 324; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 46105
kexts
com.squirrels.airparrot.framebuffer (3)
Daemons
org.macosforge.xquartz.privileged_startx
com.oracle.java.Helper-Tool
com.microsoft.office.licensing.helper
com.google.keystone.daemon
com.adobe.fpsaud
Agents
org.macosforge.xquartz.startx
com.oracle.java.Java-Updater
com.hp.help.tocgenerator
com.google.keystone.system.agent
com.divx.update.agent
com.divx.dms.agent
org.w0lf.cDock
com.adobe.ARM.UUID
launchd
/System/Library/LaunchAgents/com.apple.AirPortBaseStationAgent.plist
(com.apple.AirPortBaseStationAgent)
/Library/LaunchAgents/com.divx.dms.agent.plist
(com.divx.dms.agent)
/Library/LaunchAgents/com.divx.update.agent.plist
(com.divx.update.agent)
/Library/LaunchAgents/com.google.keystone.agent.plist
(com.google.keystone.system.agent)
/Library/LaunchAgents/com.hp.help.tocgenerator.plist
(com.hp.help.tocgenerator)
/Library/LaunchAgents/com.oracle.java.Java-Updater.plist
(com.oracle.java.Java-Updater)
/Library/LaunchAgents/org.macosforge.xquartz.startx.plist
(org.macosforge.xquartz.startx)
/Library/LaunchDaemons/com.adobe.fpsaud.plist
(com.adobe.fpsaud)
/Library/LaunchDaemons/com.apple.aelwriter.plist
(com.apple.aelwriter)
/Library/LaunchDaemons/com.google.keystone.daemon.plist
(com.google.keystone.daemon)
/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
(com.microsoft.office.licensing.helper)
/Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
(com.oracle.java.Helper-Tool)
/Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
(org.macosforge.xquartz.privileged_startx)
Library/LaunchAgents/com.adobe.ARM.UUID.plist
(com.adobe.ARM.UUID)
Library/LaunchAgents/com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID. plist
(com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID)
Library/LaunchAgents/org.w0lf.cDock.plist
(org.w0lf.cDock)
Bundles
/System/Library/Extensions/APExtFramebuffer.kext
(com.squirrels.airparrot.framebuffer)
/System/Library/Extensions/hpPlugInInit.kext
(com.hp.scanner.PlugInInit)
/System/Library/Extensions/hpPlugInInit.kext/Contents/Resources
(com.hp.scanner.PlugInInit)
/System/Library/Extensions/ssuddrv.kext
(com.devguru.driver.SamsungComposite)
/Library/Audio/Plug-Ins/Components/Ambience.component
(com.smartelectronix.magnus.Ambience)
/Library/Audio/Plug-Ins/Components/ARIA Player AU.component
(N/A)
/Library/Audio/Plug-Ins/Components/SmartMusicSoftSynth.component
(com.makemusic.audiounit.smartmusicsoftsynth)
/Library/Audio/Plug-Ins/VST/ARIA Player VST Multi.vst
(N/A)
/Library/Audio/Plug-Ins/VST/ARIA Player VST.vst
(N/A)
/Library/Internet Plug-Ins/DivX Web Player.plugin
(com.divx.DivXWebPlayer)
/Library/Internet Plug-Ins/Flash Player.plugin
(N/A)
/Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
(com.google.googletalkbrowserplugin)
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
(com.oracle.java.JavaAppletPlugin)
/Library/Internet Plug-Ins/o1dbrowserplugin.plugin
(com.google.o1dbrowserplugin)
/Library/Internet Plug-Ins/OVSHelper.plugin
(com.divx.OVSHelper)
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
(com.microsoft.sharepoint.browserplugin)
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
(com.microsoft.sharepoint.webkitplugin)
/Library/Internet Plug-Ins/Silverlight.plugin
(com.microsoft.SilverlightPlugin)
/Library/Internet Plug-Ins/SurveillanceClient.plugin
(com.boxdeng.xvmsplugin)
/Library/PreferencePanes/Flash Player.prefPane
(com.adobe.flashplayerpreferences)
/Library/PreferencePanes/HP Scanjet.prefPane
(com.hp.scanjet.prefs)
/Library/PreferencePanes/JavaControlPanel.prefPane
(com.oracle.java.JavaControlPanel)
/Library/QuickTime/CanonMJPEGAVI.component
(jp.co.canon.MJPEGAVIExporter)
/Library/QuickTime/CanonMJPEGAVIDec.component
(jp.co.canon.CanonMJPEGAVIDec)
/Library/QuickTime/CanonText.component
(jp.co.canon.Text)
/Library/Spotlight/Finale.mdimporter
(com.makemusic.MDImporter.Finale)
Library/Address Book Plug-Ins/SkypeABDialer.bundle
(com.skype.skypeabdialer)
Library/Address Book Plug-Ins/SkypeABSMS.bundle
(com.skype.skypeabsms)
Library/Caches/com.apple.Safari/Extensions/AdBlock.safariextension
(com.betafish.adblockforsafari)
Library/Caches/com.apple.Safari/Extensions/ExifExt.safariextension
(de.phriedrich.exifext)
Library/Caches/com.apple.Safari/Extensions/My eBay Manager-2.safariextension
(com.ebay.safari.myebaymanager)
Library/Caches/com.apple.Safari/Extensions/Social Fixer.safariextension
(com.socialfixer)
Library/Caches/com.apple.Safari/Extensions/Turn Off the Lights.safariextension
(com.stefanvd.turnoffthelights)
Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
(com.Google.GoogleEarthPlugin.plugin)
Library/Internet Plug-Ins/WebEx64.plugin
(com.cisco_webex.plugin.gpc64)
Library/ScriptingAdditions/EasySIMBL.osax
(com.github.norio-nomura.EasySIMBL.osax)
dylibs
/usr/lib/libdvdcss.2.dylib
Contents of /etc/ssh_config
Host *
SendEnv LANG LC_*
Host *
XAuthLocation /opt/X11/bin/xauth
Font issues: 41
Listeners
launchd: afpovertcp
launchd: microsoft-ds
launchd: ssh
kdc: kerberos
nfsd: 1023
rpc.statd: exp1
rpc.lockd: 1017
rpcbind: sunrpc
rpc.rquot: garcon
Wi-Fi
link auth: wpa-psk
User login items
iTunesHelper.app
smcFanControl
Auto Mute.app
SurplusMeterAgent.app
RightZoom.app
SpeechSynthesisServer.app
Hidden apps
.magicJack/Softphone/magicJack.app
.magicJack/Softphone/splash.app
Restricted files: 2584
Safari extensions
ExifExt
Turn Off the Lights
My eBay Manager
AdBlock
Social Fixer
Elapsed time (s): 387 -
"Unable to load URL" error when importing VS2008 created WSDL
One of my developers created a simple web service in Visual Studio 2008 that queries a database on our SQL Server 2005. I can view the web service results in a web browser with no problems. I can also pull up the WSDL in the web browser with no problems (http://<ip address>/Service.asmx?WSDL). However, when I try to load WSDL into a Web Service Connection in Xcelsius 2008, I get the "Unable to load URL" error.
I've also tried to use the web service as a data source in Crystal Reports 2008, but I get another error:
Logon failed.
Details: Schema file is invalid
error: src-resolve: element 'schema@http://www.w3.org/2001/XMLSchema' not found
I've seen a post in which it looked like Crystal acknowledged this as a bug in the XML driver used by Crystal products, but it should be fixed in a service pack update. I've got the latest service packs and fix packs installed for both Xcelsius 2008 and Crystal Reports 2008.
I scanned the information being sent/returned to Xcelsius using Fiddler and it looks like the request is getting through and the actual WSDL file is being returned to Xcelsius, so it shouldn't be an authentication issue. It seems like Xcelsius doesn't like the WSDL file for some reason. However, it is automatically generated by Visual Studio 2008.
Any ideas as to how I can get Xcelsius to use this test web service?Having the same issues here also.
I can see the wsdl file being accessed successfully in the web access log, but Xcelsius v5.3 return "unable to load URL"
Only thing I can guess is that the schema is "untyped"
So, nobody in SAP has a solution? -
Creating a service ; What needs to be added to tnsnames.ora and JDBC url?
DB version: 11.2.0.2
OS platform : Solaris 10
We have a 2 node RAC.
DB name = mbsprd
Instance1 = mbsprd1
Instance2 = mbsprd2I want Instance 1 (mbsprd1) to be used for our OLTP application and Instance 2 (mbsprd2) to be used for another application of DSS nature.
Based on the syntax
srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>I am going to create 2 services
-- Creating a service called OLTP
srvctl add service -d mbsprd -s OLTP -r mbsprd1 -a mbsprd2-- Creating a service called DSS
srvctl add service -d mbsprd -s DSS -r mbsprd2 -a mbsprd1-- Starting the services
srvctl start service -d mbsprd -s OLTP
srvctl start service -d mbsprd -s DSSI guess the above steps are enough to configure a service at the server side.
I would like to know what needs to be done at the client side.
Currently the tnsnames.ora file and JDBC url used by our clients are shown below. What needs to be added to tnsnames.ora file and jdbc URL to start using services configured above?
-- SCAN based TNS entry
mbsprd =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = tcp.world)
(PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mbsprd)
(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
-- TNS entry based on local listener
-- Instance 1
mbsprd1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
(CONNECT_DATA =
(SERVICE_NAME = mbsprd)
(INSTANCE_NAME = mbsprd1)
-- Instance 2
-- TNS entry based on local listener
mbsprd2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
(CONNECT_DATA =
(SERVICE_NAME = mbsprd)
(INSTANCE_NAME = mbsprd2)
)JDBC entry for RAC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd -- Alternative version used by some clients because the above had 'some issues'
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))OLTP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLTP)
DSS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DSS)
)JDBC entry for RAC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:service_name
jdbc:oracle:thin:@new_tns_entry_description(if you would like to connect the database with particular service)
try this and let us know any issues,
Maybe you are looking for
-
Optical drive not recognized HP DV9910us
This problem has been driving me nuts!! It's a pioneer dr-kd08hb on hp dv9000. The optical drive dissapeard from my laptop a few months ago. It opens, has power,spins for a bit, but does not read ANY disc.It does not appear in "computer" or "device m
-
I am getting an exception near computerSettings.Put();Its throwing an exception as You do not have security rights to perform this operation..Can i know exactly when does this error occur.. Details of Error: ConfigMgr Error Object: instance of SMS_Ex
-
Oracle 9.2 - DataGuard - Physical vs Logical setup
We have database (in-house) with a few large tables (over 8M rows) and quite a few supplemental tables. Updates to this database are usually happen in batches, but single updates are also possible. We got a back-up server at another location (hosting
-
Hi, Im using Oracle 9i JDeveloper and Win2000. Im trying using the PoolMan as my DB connection, but the error occur when i using J2SE version 1.4.0 but its work fine for J2SE ver. 1.3.1_02 (which is the default JDK used by the JDeveloper). The error
-
my iphone 4 won't ring, i doesn't vibrate and it's built in speaker won't work. what should i do guys?? please help me