Connecting with Access
Hi, I trying to connect with a db created with Access, let say "Datab.mdb".
I used the following script:
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //which seams to work fine
}catch(Exception e){
System.out.println(e);
return;
try{
conn= DriverManager.getConnection("jdbc:odbc:Datab","","");
statem = conn.createStatement();
}catch(Exception e){
System.out.println(e); //it enters to the exception!!
return;
The message is that it doesn't find the database, I tried to put the file "Datab.mdb" almost everywhere, but it still doesn't find it, I also tried
conn= DriverManager.getConnection("jdbc:odbc:Datab.mdb","","");
but still no success.
Please, can anyone help me.
Thanks
if you have doubts how to do it, you can find the steps you need to follow here:
http://developer.java.sun.com/developer/onlineTraining/Database/JDBCShortCourse/jdbc/exercises/Setup/
Similar Messages
-
Can't Connect with Access 2013
Hi, there!
Am reworking a successful Access 2003 VBA project into Access 2013 VBA, which I am brand new to. I have encountered a problem with Access 2013 when attempting to connect to a table in order to create a recordset. The Access 2003 connection
string does not work in Access 2013. To confirm this, I dug out an old Access 2003 VBA beginner's manual and typed a sample program directly from the textbook. The sample code fails to successfully open a connection in Access
2013 but, when I then copy and paste the program into Access 2003, it works fine.
Online documentation useful for rudimentary programming activities being as scant as ever, am deeply appreciative of any real-time help rendered.
Thanks,
MikeThanks for responding, Bruce.
The table I'm connecting to is local to the current database project. It's all standalone. In other words, I launch Access 2013, I create a table, then I connect to the table. Really pretty straightforward stuff.
Here's the code template I use to do it in Access 2003:
Dim cnMyConnection As ADODB.Connection
Dim rsMyRecordset As ADODB.Recordset
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Set cnMyConnection = CurrentProject.AccessConnection
Set rsMyRecordset = New ADODB.Recordset
With rsMyRecordset
.ActiveConnection = cnMyConnection
.CursorType = adOpenForwardOnly
.LockType = adLockReadOnly
.CursorLocation = adUseClient
.Open "tblMyTable"
End With
etc.
This works in Access 2003. The recordset is created and then things can move forward. But Access 2013 has all kinds of problems with it, beginning with improper use of the keyword "New." It seems to demand a whole new syntax.
Thanks for any insight you can provide, Bruce!
-- Mike -
Remote Connection with ACCESS ??
Dear Friends,
Is it possible to connect MS-ACCESS file remotely(using IP Address) AND WITHOUT USING DSN?? if yes HOW ??
Thanks in advance.
Ketanhi Ketan,
It is possible. you can use jdbc drivers like that
of aveConnect which enables you to connect to access databases
without dsn. they provide a server component to be run
on the machine hosting the database, and the client driver component
can connect to that.. and access the Access database.
there may be other drivers but I have experience only with aveConnect,
u can do a search at the driver database of Sun or
see this link
http://atinav.com/products/aveconnect/MSAccess.htm
cheers
-Jer -
Form builder connectivity with Access
hi
how i can connect form 6i to Access. i know its a weird one but i need it. plz guide me. is there any step by step guide.
thnxTry following this steps:
1. Create an access database e.g. c:\db1.mdb
2. Open the access database and create a table with some data. Save the file.
3. Create on ODBC connection:
execute odbcad32.exe. Add...,
select driver for microsoft access,
give it a name of your choice e.g. oraacc
select the file you created in step 1
OK
4. Open the form builder. File, connect
username: anything
password: anything
database: odbc:oraacc
5. Launch data block wizard.
6. Put your table name and the rest is the same as for an oracle database -
How to create hetrogeneous connection with access to connect with oracle
how to connect hetrogeneous connection to connect access with oracle to copy data from access to oracle.
That's a very cool link (add to favorites, thanks
Krystian Zieja) It is :)
but you can link the oracle table
within MS Access itself via ODBC with a DSN (data
source name) you create through the control
panel/administrative tools/data sources (ODBC) if you
are running Windows XP. Once you have the DSN
created you can link the tables and work with the
data directly (depending on the login user
privaleges) or just import the data directly into
Access and work with it there since it seems like
that is what you want to do.
Regards.I am using Generic Connectivity in the present.Before that i used to use ODBC to connect ORACLE with MS access but for diffrent client i had to encapsulate the MS access sequel as well any enhancment mess the code.
As well I tried to centralised this practice at server side for that i had to encapsualte these sequel and coding into procedure for the client accesbility.
As well if i had to connect outsource others db like sybase which knows diffrent sequel so i had to cope with other db.
But thanks for ORACLE they give us a very nice NON-ORALCE connectivity tool (generic,transparent gateway) it fade up all those garbage which i compelled to follow.
Its like one interface mutltiple methods :)
However, it also enabled me to control which columns were visible and what they were called in MS access or in Sybase etc.
So i would suggest to OP go for HS service rather old fashioned ODBC with DSN.
Khurram -
PDF Data Connection with Access 2003
Who ever can help me!
I am trying to make a data connection on my pdf form using "Adobe Live Cycle designer 7.0" to my access database.
I already did the conncetion...the problem here is that once the submit button is clicked i don't have any returned data on my database access...
I don't know if i am clear!!Ok That is good .....did you bind the fields on your form to the fields in the data connection?
This is difficult to debug without having the DB and the form to look at.
Paul -
Enable auto connection with Access Connection​s?
I was wondering if anyone could tell me how to make my T61 connect to my mobile broadband internet connection automatically when coming out of sleep and/or hibernate? Can it be done through Access Connections? I'm running the latest AC on Vista 64.
You can set Access Connections to connect to your WAN if none of the other wireless profiles are available.
Open Access Connections and in the upper right, switch from Basic to Advanced.
Go to the Tools tab and click on Location Switching.
The bottom check box can be set "When no other connections are available, connect through WAN or WiMax"
Set that and click Ok. -
Report builder connectivity with Access
hi
i want to connect report builder to MS Access. i have to generate some reports. it urgent plz help me.if there is any guide then give me link.
thnxHi,
you can use the JDBC-ODBC datasource.
Here some line out of note 207536.1
You have to first create a ODBC Data Source .. and then it can be used in JDBC Query ... The format of connection string to connect to ODBC Data Source <username>/<password>@odbcDataSourceString
For details look here: http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_jdbcpds.htm#i1007095
Regards
Rainer -
UPDATE/INSERT INTO with Connection with access DB
Hello,
I am trouble getting the update statement working when connecting to my database. The "Select" statement works fine but i am using:
result2= stmt2.executeUpdate("INSERT INTO Table1 VALUEs('1', '1')");
and i get the error incompatiable types...found int but expected java.sql.resultset
I am not sure what i am doing wrong. Can anyone help?since you're using Access, be sure to close both your Statement and the Connection you used after your INSERT/UPDATE. It's well known that changes won't show up in Access unless you do.
% -
Get connection with a database
Hi all.
I have here on my notebook an oracle and access database.
For the access database i downloaded a driver (from easysoft),
for the oracle database there's no need to download a driver.
For the access database I added the classes in the classpath.
I don't know how to connect to either of the databases.
Normally it is for Oracle: Connection conn= DriverManager.getConnection ("jdbc:oracle:...)
and the driver: DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
And for access: Connection conn= DriverManager.getConnection ("jdbc:easysoft:");
and DriverManager.registerDriver(new easysoft.sql.jobDriver());
Does anybody know how to set the URL??
Thanks!Cakrat, here's my code:
To connect with Access:
public class AccessDatabase extends JFrame {
private Connection conn;
private Statement stmt;
public AccessDatabase() throws SQLException,IOException{
DriverManager.registerDriver(new easysoft.sql.jobDriver());
System.out.println("Connecting...");
conn= DriverManager.getConnection ("jdbc:odbc:easysoft:db1");
System.out.println("Connected");
stmt=conn.createStatement();
ResultSet r=stmt.executeQuery("select name,adress from Tabel1");
while(r.next()){
String a=r.getString("name");
String b=r.getString("adress");
System.out.println(a+""+b);
and for Oracle:
public class AccessDatabase extends JFrame {
private Connection conn;
private Statement stmt;
public AccessDatabase() throws SQLException,IOException{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
System.out.println("Connecting...");
conn= DriverManager.getConnection ("jdbc:oracle:thin:@106.52.8.210:1521:ORACLE92","rachid","rachid");
System.out.println("Connected");
stmt=conn.createStatement();
ResultSet r=stmt.executeQuery("select name,adress from Tabel1");
while(r.next()){
String a=r.getString("name");
String b=r.getString("adress");
System.out.println(a+""+b);
}}} -
Why when I try to login the Itunes Connect with my Apple ID it always says: "Apple ID does not have permission to access iTunes Connect."?
Look on one of your bank statements and be sure to enter the billing address exactly as it shows on the statement. Some folks forget where they actually get the statement. They put their home address in iTunes/Mac App Store and they actually get the statement at their place of employment or vice versa.
-
Unable to access wireless connection with linksys rooter WRT54GS
Hi,
I just installed a wireless rooter Linksys WRT54GS on my connection, The problem I have is being able to access it with my wireless on my laptop.
I kept getting a message stating "connection unindentified" "access limited". I've done most of what is already suggested on your forum such has turning the power off of my rooter, my modem and such and still nothing. I'm able to access the wireless with my girlfriend Mac Notebook, my playstation 3 and my desktop computer which uses Windows X. First I thought that it my be a problem with my security but even when the connection is unprotected I still get that error. I try to disable the IpV6but that didn'tdo anything either.
My laptop is a Toshiba Qosmio X300 PQX32C-033019 with Vista and my rooter is a Linksys WRT54GS vers. 6
Here's my connection log, sorry if it's in French:
Informations sur l'ordinateur
Vendor:TOSHIBA
Machine Name:Qosmio X300
VersionQX32C-033019
CPU Maker:GenuineIntel
CPU Name:Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
CPU Clock:2267
CPU Base Clock:2267
OS:Microsoft® Windows Vista™ Édition Familiale Premium
OS Build:6001
OS SPervice Pack 1
Ram:4188120
Début de la page
Informations IP
ipconfig /all
Configuration IP de Windows
Nom de l'h“te . . . . . . . . . . : PC-de-ThomasMur
Suffixe DNS principal . . . . . . :
Type de noeud. . . . . . . . . . : Mixte
Routage IP activ‚ . . . . . . . . : Non
Proxy WINS activ‚ . . . . . . . . : Non
Liste de recherche du suffixe DNS.: phub.net.cable.rogers.com
Carte r‚seau sans fil Connexion r‚seau sans filÿ:
Suffixe DNS propre … la connexion. . . :
Description. . . . . . . . . . . . . . : Intel(R) Wireless WiFi Link 5100
Adresse physique . . . . . . . . . . . : 00-21-5D-3D-9C-08
DHCP activ‚. . . . . . . . . . . . . . : Oui
Configuration automatique activ‚e. . . : Oui
Adresse IPv6 de liaison locale. . : fe80::a9d9:4618:2ae4:d7e5%11(pr‚f‚r‚)
Adresse d'autoconfiguration IPv4 . . . : 169.254.215.229(pr‚f‚r‚)
Masque de sous-r‚seau. . . .ÿ. . . . . : 255.255.0.0
Passerelle par d‚faut. . . .ÿ. . . . . :
Serveurs DNS. . . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS sur Tcpip. . . . . . . . . . . : Activ‚
Carte Ethernet Connexion au r‚seau local :
Suffixe DNS propre … la connexion. . . : phub.net.cable.rogers.com
Description. . . . . . . . . . . . . . : Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Adresse physique . . . . . . . . . . . : 00-1E-EC-3F-7B-CF
DHCP activ‚. . . . . . . . . . . . . . : Oui
Configuration automatique activ‚e. . . : Oui
Adresse IPv6 de liaison locale. . : fe80::4da:b21b:843c:7bfd%10(pr‚f‚r‚)
Adresse IPv4. . . . . . . . . . . : 192.168.1.100(pr‚f‚r‚)
Masque de sous-r‚seau. . . .ÿ. . . . . : 255.255.255.0
Bail obtenu. . . . . . . . .ÿ. . . . . : 8 juin 2009 18:11:58
Bail expirant. . . . . . . . .ÿ. . . . : 9 juin 2009 18:11:58
Passerelle par d‚faut. . . .ÿ. . . . . : 192.168.1.1
Serveur DHCP . . . . . . . . . . . . . : 192.168.1.1
Serveurs DNS. . . . . . . . . . . . . : 64.71.255.198
NetBIOS sur Tcpip. . . . . . . . . . . : Activ‚
Carte Tunnel Connexion au r‚seau local* :
Statut du m‚dia. . . . . . . . . . . . : M‚dia d‚connect‚
Suffixe DNS propre … la connexion. . . : phub.net.cable.rogers.com
Description. . . . . . . . . . . . . . : isatap.phub.net.cable.rogers.com
Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP activ‚. . . . . . . . . . . . . . : Non
Configuration automatique activ‚e. . . : Oui
Carte Tunnel Connexion au r‚seau local* 6 :
Statut du m‚dia. . . . . . . . . . . . : M‚dia d‚connect‚
Suffixe DNS propre … la connexion. . . :
Description. . . . . . . . . . . . . . : Carte Microsoft ISATAP #2
Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP activ‚. . . . . . . . . . . . . . : Non
Configuration automatique activ‚e. . . : Oui
Début de la page Informations de routage
route print
===========================================================================
Liste d'Interfaces
11 ...00 21 5d 3d 9c 08 ...... Intel(R) Wireless WiFi Link 5100
10 ...00 1e ec 3f 7b cf ...... Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
1 ........................... Software Loopback Interface 1
13 ...00 00 00 00 00 00 00 e0 isatap.phub.net.cable.rogers.com
12 ...00 00 00 00 00 00 00 e0 Carte Microsoft ISATAP #2
===========================================================================
IPv4 Table de routage
===========================================================================
Itin‚raires actifsÿ:
Destination r‚seau Masque r‚seau Adr. passerelle Adr. interface M‚trique
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 20
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.215.229 281
169.254.215.229 255.255.255.255 On-link 169.254.215.229 281
169.254.255.255 255.255.255.255 On-link 169.254.215.229 281
192.168.1.0 255.255.255.0 On-link 192.168.1.100 276
192.168.1.100 255.255.255.255 On-link 192.168.1.100 276
192.168.1.255 255.255.255.255 On-link 192.168.1.100 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.100 276
224.0.0.0 240.0.0.0 On-link 169.254.215.229 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.100 276
255.255.255.255 255.255.255.255 On-link 169.254.215.229 281
===========================================================================
Itin‚raires persistantsÿ:
Aucun
IPv6 Table de routage
===========================================================================
Itin‚raires actifsÿ:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
10 276 fe80::/64 On-link
11 281 fe80::/64 On-link
10 276 fe80::4da:b21b:843c:7bfd/128
On-link
11 281 fe80::a9d9:4618:2ae4:d7e5/128
On-link
1 306 ff00::/8 On-link
10 276 ff00::/8 On-link
11 281 ff00::/8 On-link
===========================================================================
Itin‚raires persistantsÿ:
Aucun
Début de la page Informations de protocole
Protocol Bind Information
SSTP based VPN
Microsoft TCP/IP version 6 - Tunnels
isatap.{DF6498ED-F5F7-4E96-9496-10C8BB95FA20}
isatap.phub.net.cable.rogers.com
Internet Protocol (TCP/IP) - Tunnels
Microsoft NetbiosSmb
Internet Protocol Version 4 (TCP/IPv4)
Intel(R) Wireless WiFi Link 5100
Internet Protocol Version 4 (TCP/IPv4)
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Internet Protocol Version 6 (TCP/IPv6)
isatap.{DF6498ED-F5F7-4E96-9496-10C8BB95FA20}
Internet Protocol Version 6 (TCP/IPv6)
isatap.phub.net.cable.rogers.com
Internet Protocol Version 6 (TCP/IPv6)
Intel(R) Wireless WiFi Link 5100
Internet Protocol Version 6 (TCP/IPv6)
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Remote Access IP ARP Driver
Miniport WAN (IP)
Message-oriented TCP/IP Protocol (SMB session)
WINS Client(TCP/IP) Protocol
Internet Protocol Version 4 (TCP/IPv4)
Intel(R) Wireless WiFi Link 5100
Internet Protocol Version 4 (TCP/IPv4)
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Internet Protocol Version 6 (TCP/IPv6)
isatap.{DF6498ED-F5F7-4E96-9496-10C8BB95FA20}
Internet Protocol Version 6 (TCP/IPv6)
isatap.phub.net.cable.rogers.com
Internet Protocol Version 6 (TCP/IPv6)
Intel(R) Wireless WiFi Link 5100
Internet Protocol Version 6 (TCP/IPv6)
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Internet Protocol Version 6 (TCP/IPv6)
isatap.{DF6498ED-F5F7-4E96-9496-10C8BB95FA20}
isatap.phub.net.cable.rogers.com
Intel(R) Wireless WiFi Link 5100
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Internet Protocol Version 4 (TCP/IPv4)
Intel(R) Wireless WiFi Link 5100
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Remote Access IPv6 ARP Driver
Miniport réseau étendu WAN (IPv6)
Point to Point Protocol Over Ethernet
Intel(R) Wireless WiFi Link 5100
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Point to Point Tunneling Protocol
Layer 2 Tunneling Protocol
Remote Access NDIS WAN Driver
WAN Miniport (SSTP)
Carte asynchrone RAS
Miniport WAN (PPPOE)
Miniport réseau étendu WAN (PPTP)
Miniport réseau étendu WAN (L2TP)
Link-Layer Topology Discovery Mapper I/O Driver
Intel(R) Wireless WiFi Link 5100
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Link-Layer Topology Discovery Responder
Intel(R) Wireless WiFi Link 5100
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
NDIS Usermode I/O Protocol
Intel(R) Wireless WiFi Link 5100
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Début de la page Informations sur les équipements
Realtek RTL8168C/8111C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Device ID : PCI\VEN_10EC&DEV_8168&SUBSYS_FF001179&REV_02\4&492937F&0&00E2
Status : Enable
Driver Vender : Realtek
Driver Version : 6.205.403.2008
Driver Date : 4-3-2008
Intel(R) Wireless WiFi Link 5100
Device ID : PCI\VEN_8086&DEV_4232&SUBSYS_12018086&REV_00\4&3905AE0C&0&00E3
Status : Enable
Driver Vender : Intel
Driver Version : 12.0.0.73
Driver Date : 4-27-2008
Bluetooth
Device ID : ACPI\TOS6205\5&F592293&0
Status : Disable
Bluetooth Version : v6.10.07.2(T)
Début de la page Statut du commutateur de communications sans fil et de la touche d'accès direct pour réseau sans fil
Wireless Communication Switch : On
Wireless Hotkey (Fn + F8)
Wireless LAN : On
Solved!
Go to Solution.Try this -
Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...
Leave username blank & in password use admin in lower case...
For Wireless Settings, please do the following : -
Click on the Wireless tab
- Here select manual configuration...Wireless Network mode should be mixed...
- Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
- Set the Radio Band to Standard-20MHz and change the Standard channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
For Wireless Security : -
Click on the Sub tab under Wireless > Wireless Security...
Change the Wireless security mode to WEP, Encryption should be 64 bit.Leave the passphrase blank, don't type in anything...
Under WEP Key 1 type in any 10 numbers please(numbers only and no letters eg: your 10 digit phone number) and click on save settings...
Please make a note of WEP Key 1 as this is the Security Key for the Wireless Network...
Click on Advanced Wireless Settings
Change the Beacon Interval to 75 >>Change the Fragmentation Threshold to 2304, Change the RTS Threshold to 2304 >>Click on "Save Settings"...
On your Vista Laptop, first disable the Wireless Network Connection and restart the Laptop, then Enable the Wireless Connection...
Then Click on Start >> Control Panel >> Network and Sharing Center >> Manage Wireless Network and click on Add, select Manually Create a Network Profile and click Next, enter your Network SSID/Network Name, select WEP for Security type and enter your 10 digit Network Key and click on Next, it should say "Successfully Connected to ____" close all the Windows and restart the Laptop, now see if you can connect to Internet Wirelessly... -
Error when Connect to Access 2007 with password using OLEDB
Hi there,
I am seeing the below error when trying to Connect to Access 2007 with password using Crystal XI or Crystal 2008, when using the OLEDB to connection Access data.
Logon failed
Details: DAO Error Code: 0xd0f
Source: DAO.Workspace
Description: Unrecognised database format 'path to database\crs project database.aaadb
Get though when I use Access 2007 without password setup.
Many Thanks for any one can help.
Daphne LiAs a copy of this query has been posted to the CR design forum at 11:21, assuming this is indeed a design question.
Thus setting this thread as answered.
- Ludek -
I am unable to connect with the iTunes store. ITunes keeps "accessing", but that can go on for an hour. No error messages. It just never connects. How can I overcome this?
The question for me becomes what motivation do I (Apple's customer) have to download Autoruns from Windows, open a compressed folder, try to determine which Winsock Provider is mine, check for updates and then run whatever it is I need to run to fix this. All these steps just so I can access the Itunes Store and buy from Apple. It would seem that Apple would find a fix on their side so their customers don't have to do this. Is anyone from Apple listening???
-
Hi All,
I am using oracle 11g client library on Linux 64bit machine and trying to connect to oracle database using jdbc thin driver.
The url format what I am trying to use is:
jdbc:oracle:thin:@IP address:port:service_name
When service_name = orcl : I am able to connect with the above syntax.
But when the service_name is having . e.g service_name = orcl.177.39.45, with the above format I get the above error.
If I change the URL syntax to following, it works
jdbc:oracle:thin:@IP address:port/service_name
But both seems to be valid syntax.
So I would like to undestand the reason behind the same.
When service_name is having ".", why ":" does not work and "/" works and when the service_name is without " ." , 1st format works.
Is there any specific reason behind same?
Please let me know,
Thanks,
AaratiHello,
as per the suggetion, I replaced the URL in the format
URL=jdbc:oracle:thin:@15.154.47.235:1521/ORCL
original URL :
URL=jdbc:oracle:thin:@15.154.47.235:1521:ORCL
With this I was able to access the main page and was not getting database access.
But when I tried to perform some operations say list the submitted jobs, our application internally contacts Oracle database and gets the information stored in the database.
its not able to get and it throws exception.
So is there any reason behind this?
Pasting our application logs for your referance
Thu Aug 08 17:03:33 http-0.0.0.0-9000-1: [ERROR] Exception occurred
com.hp.om.hpos.model.OperationException: Error listing jobs
at com.hp.om.hpos.model.DPAUtils.DPAlistJobsInDB(DPAUtils.java:98)
at com.hp.om.hpos.model.DomainGroup.listSubJobsInDB(DomainGroup.java:96)
at com.hp.om.hpos.model.DomainGroup.listSubJobs(DomainGroup.java:91)
at com.hp.om.wc.model.jobmanager.pagingmanager.PagingManager.ListJobs(PagingManager.java:381)
at com.hp.om.wc.webapp.jobmanager.actions.AbstractJobSearchAction.loadSortedJobListing(AbstractJobSearchAction.java:49)
at com.hp.om.wc.webapp.jobmanager.actions.AbstractJobSearchAction.loadJobListing(AbstractJobSearchAction.java:30)
at com.hp.om.wc.webapp.jobmanager.actions.BasicSearchAction.doExecute(BasicSearchAction.java:358)
at com.hp.om.wc.webapp.jobmanager.actions.WCBaseAction.execute(WCBaseAction.java:81)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
~
~
Thanks,
aarati
Maybe you are looking for
-
How to transfer CRM sales order to R/3,delivery to CRM
Hello All, I have a basic question,just want to make sure what I am doing right.We have a business scenario where Sales Order is created in CRM and it should be replicated to R/3 for delivery and delivery should be replicated back to CRM for Billi
-
How Can I get rid of Yahoo home page? Changing home page doesn't work.
A week or two ago, Yahoo started coming up as my home page. No matter how many times I change it back to Bing, every time I bring up Firefox, there is Yahoo as the home page. Changing it back to Bing and clicking ok is not working. I'm getting a litt
-
Help - How to stop Bluetooth on BB10 from repeatedly trying to connect to unknown device
Hi, So about a week ago I was trying to connect my Q10 to a Bluetooth speaker. In the process of this (and rather stupidly) I tried to connect to some unknow device that is not mine (nor was it the bluetooth speaker). I quickly deleted this connecti
-
Weblogic gives error: ADF_FACES-60099
Dear Experts, Here is the environment: Linux Server version: lsb_release -a LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: EnterpriseEnterpriseServer Description: En
-
Between operator not appearing for date in custom field of IBASE search
Hi experts I am using CRMCMP_IBSEARCH for search enhacement of IBASE by adding a new fields as valid from date in CRM 7.0. I have added the field using append structure in the search structure of IBASE.Now my requirement is i am unable to see the bet