Hi! Proxy Server Implementation Help required!
Hello Everybody!
I am new to java networking and I want to develop Proxy Server in Java. Could somebody tell me where and how to start. Any help will be highly appreciated. Thanks in advance.
That's a slightly better idea than writing a firewall in Java.
Where I would start would be to decide what the proxy server was supposed to do. For example, what protocols should it proxy? HTTP? FTP? Others? And should it require authentication? What other services should it provide?
Similar Messages
-
I want to make proxy server plz help
hi, i want to make proxy server and i dont know from where to start
so plz help me if u have any documents or code of proxy server
and suggest me web site from whre i can get the source code
and documents of it.
thankshi, i want to make proxy server and i dont know from
where to start
The Java™ Tutorial - A practical guide for programmers
Essentials, Part 1, Lesson 1: Compiling & Running a Simple Program
New to Java Center
How To Think Like A Computer Scientist
Introduction to Computer Science using Java
The Java Developers Almanac 1.4
JavaRanch: a friendly place for Java greenhorns
jGuru
Bruce Eckel's Thinking in Java
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java
How To Ask Questions The Smart Way by Eric Steven Raymond -
Issue with OEM 11g Install in Windows 2003 server - Urgent help Required !!
Hi All,
I am encountering the following issue while installing the OEM 11.1.1.0 with Oracle WLS 10.3.2 with WDJ7 Patch installed and DB-11.2 and OS-Windows Server 2003.
I have dropped the schema sysman and sysman_mds as specified in the install guide and did all the necessary prerequisites as specified.
the Exact error is as follows : I am getting this error at OMS Configuration step of OEM Installation..
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
FINE: Setting demo trust
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
FINE: Setting CACERTS
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
FINE: Inside Fresh install
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
FINE: response file params not null, invoking the init method
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::lock consoleTRUE
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::lock upload:TRUE
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter processParam
FINE: OMSWLSAdapter::Node manager port is7401
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::EM console port7788
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Checking EM console port duplicate7788
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Checking duplicate EM upload https port:4906
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Admin host is abc.xyz.com
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter processParam
FINE: OMSWLSAdapter::EM instance home isC:\Oracle\gc_inst
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter processParam
FINE: OMSWLSAdapter::Webtier home is C:\Oracle\OEMHome\oms11g\..\Oracle_WT
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Checking EM duplicate upload port:4895
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Checking if admin https is duplicate port
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Admin https port is0
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Checking duplicate port for console https port7799
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::EM instance host isabc.xyz.com
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter processParam
FINE: OMSWLSAdapter::Domain name value is GCDomain
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter processParam
FINE: OMSWLSAdapter::MS Https port is7301
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::Repository connect string(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=abc.xyz.com)(PORT=1521)))(CONNECT_DATA=(SID=ORCL)))
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter processParam
FINE: OMSWLSAdapter::Checking duplicate msport 7201
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initCommon
FINE: OMSCAConfigMode::fetching username
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.framework.OMSCAConfigMode initBase
FINE: Initializing omscacontext
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter init
FINE: OMSWLSAdapter:: Webtier instance name isinstance1
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter init
FINE: OMSWLSAdapter:: OHS Comp name isohs1
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter init
FINE: OMSWLSAdapter:: Initializing the adapter
Aug 1, 2011 11:36:37 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter init
FINE: Configuring node manager directory as ..C:\Oracle\OEMHome\WLSERV~1.3\common\emnodemanager20110801113637
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.framework.OMSCAFreshInstall execute
FINE: Doing the pre requisite check
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: Invoking the preReqChecks
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil checkHost
FINE: Name: abc.xyz.com
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil checkHost
FINE: Addr: 10.136.126.133
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil checkHost
FINE: Name: abc.xyz.com
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil checkHost
FINE: Addr: 10.136.126.133
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil checkPort
SEVERE: Exception:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil.checkPort(CoreOMSConfigAssistantUtil.java:2251)
at oracle.sysman.omsca.framework.OMSGenericAdapter.doPreRequisiteChecks(OMSGenericAdapter.java:173)
at oracle.sysman.omsca.framework.OMSCAFreshInstall.execute(OMSCAFreshInstall.java:90)
at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:210)
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: Unable to resolve EM https upload port
Aug 1, 2011 11:36:42 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: Repository connect string is is (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=abc.xyz.com)(PORT=1521)))(CONNECT_DATA=(SID=ORCL)))
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil checkRepository
SEVERE: Exception:
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:799)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:275)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:206)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
at oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil.checkRepository(CoreOMSConfigAssistantUtil.java:2353)
at oracle.sysman.omsca.framework.OMSGenericAdapter.doPreRequisiteChecks(OMSGenericAdapter.java:189)
at oracle.sysman.omsca.framework.OMSCAFreshInstall.execute(OMSCAFreshInstall.java:90)
at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:210)
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: Repository username and password invalid
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: Repository database version is null
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: Checking MDS schema with devMode? FALSE : FRESH_INSTALL
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.framework.OMSGenericAdapter doPreRequisiteChecks
FINE: MDS Schema is there
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.framework.OMSCAFreshInstall execute
SEVERE: ERROR: Pre req checks of EM failed.
Aug 1, 2011 11:36:44 AM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
FINE: Got resultfalse
FYI : Query Results for sysman schema and sysman_mds in DB are :
SELECT COUNT(*) FROM ALL_USERS WHERE
USERNAME='SYSMAN' -----> No Rows
select * from SCHEMA_VERSION_REGISTRY where COMP_NAME='Metadata Services' and owner like '%SYSMAN_MDS%'; - No rows
(Note : I have a seperate schema defined as Dev_MDS present in the same DB where i m installing OEM, which i think would not effect)
I request to suggest some good working solution for this issue asap.
Regards,
RamHi,
could you tell me how to check the "MOS tech note"You can check MOS tech notes @ htttp://support.oracle.com --> need to have valid CSI
Do I need to configure the enivornment parameter of ORACLE manually?
such as ORACLE_HOME, ORACLE_BASE, ORACLE_SIDSet all these env. parameters (ORACLE_HOME, ORACLE_BASE, ORACLE_SID) manually and give a try.
thanks,
X A H E E R -
Help needed for CORBA over Http through proxy server[Very Urgent]
Hi Friendz,
I am new to J2EE. Right now I am learning RMI, Corba now.
In RMI, to pass through Http to bypass firewall or through proxy sever, we can use either Http to port or Http to CGI/Servlet i.e., Http tunneling.
In the same, I am running a simple corba application, i want my corba application to pass through my proxy server using http which is configured to address 127.0.0.1 and port 8118.
How to pass my corba application through proxy server. please help me and it is very urgent.
Is it possible or not, please let me know some comments about this topic
Thanks in advance Friends for your helpThis is so extremely urgent that it needs to be asked multiple times.
http://forum.java.sun.com/thread.jspa?threadID=762950 -
Outlook 2007 needs BT proxy server address to acce...
I have been through many sites and it transpires that using outlook 2007 to access an exchange server (2010) gives errors on syncing the offline address book where it just hangs on a send/receive.
MS know this is an issue and the only real workaround is to specify a Proxy server in the browser settings to allow access.
http://support.microsoft.com/kb/939765
The microsoft instructions are;
1.Start Internet Explorer, click Tools, and then click Internet Options.
2.On the Connections tab, click LAN settings.
3.Click to select the Bypass proxy server for local addresses check box, and then click Advanced.
4.Type the FQDN of the Exchange 2007 CAS server, and then click OK.
5.Restart Outlook.
All fine and good, but a proxy server address is required and I cannot find one for BT anywhere. Surely these must exist?
Any help appreciated as I do not want to have the expense of upgrading to outlook 2010 which 'may' work.
ThanksYou will need to delete the account and then re-create it as POP3, it is not possible to change from IMAP to POP3 on the fly. When you re-create the account, set it up using the manual option at the bottom of the screen rather than letting Outlook set itself up. In the Advanced tab, untick 'Leave a copy of messages on the server'.
-
Little help please with forwarding traffic to proxy server!
hi all, little help please with this error message
i got this when i ran my code and requested only the home page of the google at my client side !!
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727)
Host: www.google.com
Connection: Keep-Alive
Cookie: PREF=ID=a21457942a93fc67:TB=2:TM=1212883502:LM=1213187620:GM=1:S=H1BYeDQt9622ONKF
HTTP/1.0 200 OK
Cache-Control: private, max-age=0
Date: Fri, 20 Jun 2008 22:43:15 GMT
Expires: -1
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Server: gws
Content-Length: 2649
X-Cache: MISS from linux-e6p8
X-Cache-Lookup: MISS from linux-e6p8:3128
Via: 1.0
Connection: keep-alive
GET /8SE/11?MI=32d919696b43409cb90ec369fe7aab75&LV=3.1.0.146&AG=T14050&IS=0000&TE=1&TV=tmen-us%7Cts20080620224324%7Crf0%7Csq38%7Cwi133526%7Ceuhttp%3A%2F%2Fwww.google.com%2F HTTP/1.1
User-Agent: MSN_SL/3.1 Microsoft-Windows/5.1
Host: g.ceipmsn.com
HTTP/1.0 403 Forbidden
Server: squid/2.6.STABLE5
Date: Sat, 21 Jun 2008 01:46:26 GMT
Content-Type: text/html
Content-Length: 1066
Expires: Sat, 21 Jun 2008 01:46:26 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from linux-e6p8
X-Cache-Lookup: NONE from linux-e6p8:3128
Via: 1.0
Connection: close
java.net.SocketException: Broken pipe // this is the error message
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
at java.io.DataOutputStream.writeBytes(DataOutputStream.java:259)
at SimpleHttpHandler.run(Test77.java:61)
at java.lang.Thread.run(Thread.java:595)
at Test77.main(Test77.java:13)please could just tell me what is wrong with my code ! this is the last idea in my G.p and am havin difficulties with that cuz this is the first time dealin with java :( the purpose of my code to forward the http traffic from client to Squid server ( proxy server ) then forward the response from squid server to the clients !
thanx a lot,
this is my code :
import java.io.*;
import java.net.*;
public class Test7 {
public static void main(String[] args) {
try {
ServerSocket serverSocket = new ServerSocket(1416);
while(true){
System.out.println("Waiting for request");
Socket socket = serverSocket.accept();
new Thread(new SimpleHttpHandler(socket)).run();
socket.close();
catch (Exception e) {
e.printStackTrace();
class SimpleHttpHandler implements Runnable{
private final static String CLRF = "\r\n";
private Socket client;
private DataOutputStream writer;
private DataOutputStream writer2;
private BufferedReader reader;
private BufferedReader reader2;
public SimpleHttpHandler(Socket client){
this.client = client;
public void run(){
try{
this.reader = new BufferedReader(
new InputStreamReader(
this.client.getInputStream()
InetAddress ipp=InetAddress.getByName("192.168.6.29"); \\ my squid server
System.out.println(ipp);
StringBuffer buffer = new StringBuffer();
Socket ss=new Socket(ipp,3128);
this.writer= new DataOutputStream(ss.getOutputStream());
writer.writeBytes(this.read());
this.reader2 = new BufferedReader(
new InputStreamReader(
ss.getInputStream()
this.writer2= new DataOutputStream(this.client.getOutputStream());
writer2.writeBytes(this.read2());
this.writer2.close();
this.writer.close();
this.reader.close();
this.reader2.close();
this.client.close();
catch(Exception e){
e.printStackTrace();
private String read() throws IOException{
String in = "";
StringBuffer buffer = new StringBuffer();
while(!(in = this.reader.readLine()).trim().equals("")){
buffer.append(in + "\n");
buffer.append(in + "\n");
System.out.println(buffer.toString());
return buffer.toString();
private String read2() throws IOException{
String in = "";
StringBuffer buffer = new StringBuffer();
while(!(in = this.reader2.readLine()).trim().equals("")){
buffer.append(in + "\n");
System.out.println(buffer.toString());
return buffer.toString();
Edited by: Tareq85 on Jun 20, 2008 5:22 PM -
Help Proxy Server Authentication
Hi All,
We are making a J2ME application, and trying to get thru the proxy server which requires authentication.
Here is my code but it is getting hang in between.
Can anyone helps me out:
HttpConnection c = (HttpConnection)Connector.open(url);
c.setRequestMethod(HttpConnection.GET);
String password = "username : password";
base=new Base64Encoder();
String encodedPassword = base.encode(password);
c.setRequestProperty( "Proxy-Authorization", "Basic" +encodedPassword );
c.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Confirguration/CLDC-1.0");
c.setRequestProperty("Content-Language", "en-CA");
is = c.openDataInputStream(); //IT HANGS HERE AND THROWS A IOEXCEPTION
len = c.getLength();
if( len != -1)
// Read exactly Content-Length bytes
for(int i =0 ; i < len ; i++ )
System.out.println("4");
if((ch = is.read()) != -1)
System.out.println("5");
b.append((char) ch);
else
//Read until the connection is closed.
while ((ch = is.read()) != -1)
len = is.available() ;
b.append((char)ch);
Can anyone help..
any help will be great..
thanks,You can try setting the System properties http.proxyUser and http.proxyPassword
System.setProperty("http.proxyUser", "myusername")
System.setProperty("http.proxyPassword", "mypassword")Or if that doesn't work, you can subclass the java.net.Authenticator class and override its getPasswordAuthentication method.
public class ProxyAuthenticator extends java.net.Authenticator {
public PasswordAuthentication getPasswordAuthentication() {
new PasswordAuthentication("myusername", "mypassword".getChars());
} -
What is Inbound Proxy and Outbound Proxies - Client and Serv please help ?
Hi Friends ,
<b> 1. What is exact meaning for Inbound Proxies and OutBound Proiex ?
2. Is outbound proxies means sending message to IS ?
3. Is Inbound proxies means receiving message from IS ?
4. Where exactly we need proxy ?
5. What is Sever and client Proxies ?
Is server ( here servre means XI Server ? )means Inbound .
Then normal meaning of Inbound is to from server right ? Then hwo it will bwecome as inbound ?</b>
I have gone through many blogs but still i am not clear .Please anyboy can expalin me ?
Regards .,
ShyamHi Shyam
1. What is exact meaning for Inbound Proxies and OutBound Proiex ?
2. Is outbound proxies means sending message to IS ?
3. Is Inbound proxies means receiving message from IS ?
Ans ::
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9
How to integrate or Establish connection between SAP XI and BIW?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
4. Where exactly we need proxy ?
5. What is Sever and client Proxies ?
Ans ::
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
Proxies: are interfaces which will get executed in the application system.They can be created only in the system from message interfaces using the proxy generation functions.
The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
The Proxy currently has the following components available:
1. ABAP Proxy Communication using XI or Web Services
2. Java Proxy Communication using XI (J2EE)
JAVA Proxies:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
ABAP Proxies:
/people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
/people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
Just refer these links u will get the answer of ur all 5 Question
<b>Pls reward if useful</b> -
Help to boost the performance of my proxy server
Out of my personal interest, I am developing a proxy server in java for enterprises.
I've made the design as such the user's request would be given to the server through the proxy software and the response would hit the user's browsers through the proxy server.
User - > Proxy software - > Server
Server -> Proxy software -> User
I've designed the software in java and it is working
fine with HTTP and HTTPS requests.The problem which i am so scared is,
for each user request i am creating a thread to serve. So concurrently if 10000 users access the proxy server in same time,
I fear my proxy server would be bloated by consuming all the resources in the machine where the proxy software is installed.This is because,i'm using threads for serving the request and response.
Is there any alternative solution for this in java?
Somebody insisted me to use Java NIO.I'm confused.I need a solution
for making my proxy server out of performance issue.I want my
proxy server would be the first proxy server which is entirely
written in java and having a good performace which suits well for
even large organisations(Like sun java web proxy server which has been written in C).
How could i boost the performace?.I want the users should have no expereience of accessing the remote server through proxy.It would be like accessing the web server without a proxy for them.There should be not performance lagging.As fast as 'C Language'.I need to do this in java.Please help.I think having a thread per request is fine.Maybe I got it wrong, but I thought the point in
using NIO with sockets was to get rid of the 1 thread
per request combo?Correct. A server which has one thread per client doesn't scale well.
Kaj -
Cannot find the proxy server even after following the advice in the help section
I successfully downloaded the latest version but I cannot connect to the internet. I get a "cannot find the proxy server" prompt. I have followed the advice in the help section but nothing seems to work.
You can check20the connection settings here:
*Tools > Options > Advanced : Network : Connection > Settings
If you do not need to use a proxy to connect to internet then select "No Proxy" if the default "Use the system proxy settings" setting doesn't work.
See "Firefox connection settings":
*https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can -
Help! Old Version of Page STUCK in Safari Proxy Server
I have a website that I run. For some reason no matter what I do, there are old versions of my website stuck in the Safari Proxy Server. A year and a half ago my online cart was down, so I put up a message on the website. I STILL get calls almost every day from people who think my online cart is down. I am at my wit's end! How do I tell the proxy server that there is an updated version of my website!?! I have tried embedding code, doing major design changes, but nothing has helped. Anyone?!
(the website is www.bubbleandbee.com)Greetings,
For some reason no matter what I do, there are old versions of my website stuck in the Safari Proxy Server.
That's a rather vague statement. It would be more helpful if you actually said what you have done so far to correct this problem.
But to my way of thinking, you need to clear the cache of your proxy server, which should be easy to do and it should work. -
Please help how to design query to implement this requirement.
Dear Expert,
Here is what I have and what the requirement is:
I have a InfoCube:
Dimensions:
1. Material
2. Currency
Key Figures:
1. Qty
2. Amount
We want to get the Qty and Amount by Material, but use Currency to be the filter.
It means for example, if the Currency have CNY for one material, we need to show all the Qty/Amount, not only Qty/Amount in CNY.
So please help give some idea about how to design the query to implement this requirement.
Thank you,
AndyHi Andy:
To accomplish your requirement you need to do 2 things:
1. Create a Variable for the Currency (to be used as the Target Currency not as a filter for the Characteristic itself).
2. Use the Standard Currency Conversion for the Amount Key Figure (Conversion Tab).
This way, while executing the report you can select any currency you want and all the amounts will be converted to that currency.
Take a look at this paper:
"How to... Use Variables for Currency Conversion"
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0?quicklink=index&overridelayout=true
A more detailed explanation can be found on this article provided by Ramakrishna Gattikoppula:
"Currency Conversion in BI 7.0"
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?quicklink=index&overridelayout=true
In summary, to work with the Standard Currency Conversion you need to define 4 things:
- Exchange Rate Type.
- Source Currency.
- Target Currency.
- Time Reference.
Regards,
Francisco Milán.
Edited by: Francisco Milan on May 31, 2010 11:19 AM -
Like i said before, I used to be connected with firefox. I had problems with my local carrier-charter- one day and they did something and every since then, I am unable to download or use firefox. When I try it says "proxy server is refusing connections. Can you please help with this so I am able to use firefox. Thanks
In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".
You can find the connection settings in Tools > Options > Advanced : Network : Connection
If you do not need to use a proxy to connect to internet then select "No Proxy"
See "Firefox connection settings":
*[[Firefox cannot load websites but other programs can]] -
Why does my laptop use a proxy server for mozilla or chrome when i check in internet explorer it sais my system isnt but it is it jumps back to a proxy server in mozille when i tick no proxy ?? help please im not wizzy thanks
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
See also:
*http://kb.mozillazine.org/Preferences_not_saved
*https://support.mozilla.com/kb/Preferences+are+not+saved -
Java Mail,SMTP server not starting,help required urgently
Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
am pasting the debug information.please check and let me know
the compilation ,smtp server and others are all valid
thanks
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
javamail.providers (The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
MTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
javamail.address.map (The system cannot find the file specified)
C:\Program Files\Java\jdk1.5.0_07\bin>The debug output doesn't show an obvious problem. You're
going to have to actually debug your program. A debugger
might be helpful.
Maybe you are looking for
-
OIM: Reconciliation with Database Application Tables Connector
Hi! I'm trying to use Database Application Tables connector 9.1.0.5.0 in OIM 11g to reconcile accounts from my target system: MySQL 5.1.37. I followed the steps in connector's guide to create and configure it and to configure my target system as a tr
-
Lack of functionality in iTunes 7
Does anyone else miss the ability to see your entire Library at once in previous versions of iTunes? I used to download podcasts, import CDs, and any other sound file I wanted, then in one clean move, select DATE ADDED in the Library and copy everyth
-
I have already figured out how to get the video into the videos folder on my iPad but from there I can not edit them I can only watch them, if anyone can help please do.
-
hi i am new to ale ,idoc. pls send me some materials for both. mail id : [email protected]
-
Purchase order header text in ME21n upgrade from 4.6c to ecc6
We had changed the nomenclature of the header text from SAP standard to the way we required as per our business needs in Purchase order. Now we have done technical upgrade form 4.6c to Ecc6.0.However, the nomenclature of the header text is reset to o