How to create a connection to access outside of a proxy server?
hi there
i am working beind a proxy server, now i need to write a program that is going to invoke some functions on the internet. how can by pass this proxy server? what do i need to use to create a connection? thanks
When you run the application use:
java -Dhttp.proxyHost={ip} -Dhttp.proxyPort={port} {app}
where ip is the ip address of your proxy
port is the port the proxy uses
app is the app you are running.
Similar Messages
-
How to create ODBC connection between Oracle 10g and MS SQL Server
Hi,
Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
Please help
Thanks
ShanilHi,
If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
Heterogeneous Connectivity
If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB (Doc ID 191368.1)
As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
Hope it helps,
Greg -
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 -
How to create db connection in IBM WebSphere IDE
Hi,
I am using IBM WebSpher 5.1.1. And i want to create a back end using ms-access. Can any one suggest me how to create the connection.
While i used
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
i am getting class not found. So i assumed that IBM doesnt provided such driver in the IDE.
So can any one tell me the alternative to make a back end connection for Ms Access.
Thanks,
Girish.KHi,
I have just nw, got it succeeded.
I just granted
SQL> grant sysdba to sri;
After that I am able to create connection with role 'sysdba'. Hope this post would be useful for someone who tries.
Thanks for your reply.
Regards,
Sabarisri. N
Edited by: Sabarisri Nagalingam on May 6, 2011 2:42 PM -
How to create a connection pooling in Netbeans 6.0 using the oracle driver
hi all,
I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i.
I tried to create a connection pooling using tomcat web server.
I have included the following code in context.xml and web.xml.
CONTEXT.XML:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/network1">
<Resource name="jdbc/myoracle"
auth="Container"
type="javax.sql.DataSource"
username="scott"
password="tiger"
factory="BasicDataSourceFactory"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:odbc:thin:@127.0.0.1:1521:mydb"
maxActive="20"
maxIdle="10"
maxwait="-1"/>
</Context>
WEB.XML:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<description>Oracle Datasource example</description>
<res-ref-name>jdbc/myoracle</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
After that i have included the following JDBC driver's jar files in the $Catalina_Home/lib folder.
classes 111.jar,
classes 111_g.jar
classes12.jar
classes 12_g.jar
classes12dms.jar
classes12dms_g.jar
nls_charset11.jar
nls_charset12.jar
ocrs12.jar
ojdbc14.jar
ojdbc14_g.jar
Then i stop the tomcat web server and start it again.
In jsp page i have included the following code:
Context ctx=new InitialContext();
Context envctx=(Context)ctx.lookup("java:comp:env");
DataSource ds=(DataSource)envctx.lookup("jdbc/myoracle");
Connection con=ds.getConnection(); ----->(In this line an error occured that Connection class cannot be found.)
please help me how to create a connection pooling and rectify the error in conneciton.
Thanks in advancePlease refer
http://www.netbeans.org/kb/60/web/customer-book.html -
How to create dynamic connection in business view manager.
Hi Sir,
Can u explain how to create dynamic connection in business view manager.
Thanks
Vishali Raghava RajuHI Vaishali,
Can you please elaborate your requirement ?
-Regards
B -
How to create JDBC connection in J2ME with MS-SQL server?
I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........
I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........
-
How to create punlic connection in discoverer plus
Hi All,
There is one public connetion in discoverer plus but now it is disable , i dont know how to create public connetion
pls help me its urgent
thanks
regards,See you duplicate post - how to create public connection in discoverer plus
Srini -
How to create dynamic connection string with variables using ssis.
Hello,
Can anyone let me know on how to create dynamic connection string with variables using ssis?
Any help would be appreciated.Hi vinay9738,
According to your description, you want to connect multiple database from multiple servers using dynamic connection.
If in this case, we can create a Table in our local database (whatever DB we want) and load all the connection strings. We can use Execute SQL Task to query all the connection strings and store the result-set in a variable of object type in SSIS package.
Then use ForEach Loop container to shred the content of the object variable and iterate through each of the connection strings. And then Place an Execute SQL task inside ForEach Loop container with the SQL statements we have to run in all the DB instances.
For more details, please refer to the following blog:
http://sql-developers.blogspot.kr/2010/07/dynamic-database-connection-using-ssis.html
If there are any other questions, please feel free to let me know.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hi All,
Please provide some inputs for How to create DB connection from BW- step-by-step procedure.
Advanced Thanks,
ChandraHi,
check this thread.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
http://help.sap.com/saphelp_nw2004s/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm
Thanks
Ajeet -
How to activate and utilize the Creative Cloud with a proxy server.
Anyone know how to get the cloud activated from behind a firewall / proxy server?
My Adobe Application Manager connects, updates and downloads all applications.
However, when I open an application, it does not detect a connection to the internet and states that an "Internet connection is required for subscriptions."
So what is it that I have to do to get this to work? Many people are having this issue, do a google search on this and you will not find a solution. We need one from Adobe.
Thanks! -
Accessing WS Service through proxy server
Working with WLS 8.1.4 i cannot access remote service through proxy server.
I have setted up everithing needed and more:
http.proxyHost=HOST
http.proxyPort=8080
http.proxyUser=WIN_DOMAIN\USERNAME
http.proxyPassword=PASSWORD
http.agent="Microsoft Internet Explorer 5.0" weblogic.net.proxyAuthenticatorClassName=MyProxyAuthenticator
weblogic.webservice.transport.http.proxy.host=HOST
weblogic.webservice.transport.http.proxy.port=8080
weblogic.webservice.client.proxyusername=WIN_DOMAIN\USERNAME
weblogic.webservice.client.proxypassword=PASSWORD
weblogic.webservice.verbose=true
weblogic.webservice.binding.verbose=true
weblogic.webservice.transport.http.full-url=true
The strangest thing is that apparently no MyProxyAuthenticator is instantiated for I cannot see a System.out.print(message) I wrote its init() method.
Please help ... thanks in advance.I am having the same problem. My client has the exact same properties as the previous poster:
// Standard JDK Properties
System.setProperty("http.proxyHost", "proxy-cache.xxxxx.xxx");
System.setProperty("http.proxyPort", "9119");
System.setProperty("http.proxyUser", "username");
System.setProperty("http.proxyPassword", "password");
System.setProperty("http.agent", "Microsoft Internet Explorer 5.0");
// Specific Weblogic properties
System.setProperty("weblogic.net.proxyAuthenticatorClassName", "com.bcbsmn.webservices.authentication.ProxyAuthenticatorImpl");
System.setProperty("weblogic.webservice.transport.http.proxy.host", "proxy-cache.xxxxx.xxx);
System.setProperty("weblogic.webservice.transport.http.proxy.port", "9119");
And here is part the response I get from the proxy server:
[java] <BODY>
[java] <H1>ERROR</H1>
[java] <H2>Cache Access Denied</H2>
[java] <HR noshade size="1px">
[java] <P>
[java] While trying to retrieve the URL:
[java] <A HREF="......">http://................
ITestPricer</A>
[java] <P>
[java] The following error was encountered:
[java] <UL>
[java] <LI>
[java] <STRONG>
[java] Cache Access Denied.
[java] </STRONG>
[java] </UL>
[java] </P>
[java] <P>Sorry, you are not currently allowed to request:
[java] <PRE> http://...............</PRE>
[java] from this cache until you have authenticated yourself.
[java] </P>
...and my authentication impl is never called according to my println's. I tried adding the proxyAuthenticatorClassName property to the command line as a JVM arg with no luck. Please help if you can, thanks.
Matt Dowell
Blue Cross Blue Shield -
How to create a connection key for an intranet
I'm trying to create a connection key for a client of ours to
update a page on their intranet. The intranet is only available
internally. How do I go about doing this?Hi
Please create the account keys or transaction keys in
SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
Thanks & Regards
Kishore -
How to create a read only access for database
I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanksthank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?
-
How to Create a connection pool in OSB java callout
Dear Team,
In our project, we need read some data from DB, and do corresponding operation. currently, we need setup the connection first, execute the SQL, and close the connection.
But the concurrency of call is very high, is there a way to create a connection pool, then we can use the connection pool to get the connection and execute the SQL, then return the connection to the pool.
if connection pool is not available, is there any way to create the connection outside the java callout, that we can just execute the SQL in java callout.
The OSB version is 11.1.1.6.0
Thanks.
Best Regards,
Raysen Jia
Edited by: Raysen Jia on Oct 16, 2012 8:44 AMHi Team,
Thanks for your help.
What I need is not only the db connection, may be other kind of things, such as read configuration from file...
If I write the code in java callout with static java method to create and close the connection, each time when request come in, OSB will create a new connection (or read the file), I think it's not the best practice to do this kind of work.
I think the weblogic is running in JVM, is there any way we can define variables or new object in the JVM directly?
Maybe you are looking for
-
Process chain fails every time at "roll up of aggregates"
hi all, A process is deffined in such a way that... start i
-
I want to create an offline clickable portfolio that will launch with one file click on a USB device
I want the fastest solution. I could create in Dreamweaver, Muse, Flash or Edge, or InDesign with clickable links. What do you recommend as the best? Is there an export format that would work best as a single clickable file that is cross platform? Is
-
Msa 50sp6: outlook integration not possible
Hello forum, while installing msa50sp6 with outlook integration, I do not get any buttons/tabs into my outlloók 2002. No errors while installing. (outlook is closed while installing). Is it possible to install the outlook sync. manual ? Or has anybod
-
Hello All, I am using BW3.0. In our system there are many Cubes and ODS already exist. Now I have added one ODS ABC and created queries on this ODS ABC . This ODS ABC will be accessed by new users . So for this new users I will have to create au
-
Dbms_java.grant_permission in Microsoft Windows
Hi, I have tried so many many times to get this working but have failed. When I ran the following statement, it did return 10 rows (10 files in the path in operating system). However, all rows showed null values with no data at all. I think this is s