JMX blocked by proxy
I trying connect to my admin server in internal network
but the proxy is blocking it . Is there any way I can by pass the proxy since it internal.
the error
Exception caught: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://arbecommdap01.us.dell.com:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination]
code :
MBeanHome home = null;
//domain variables
String url = "t3://someserver:7001";
String username = "some_name";
String password = "password";
//Setting an initial context.
try {
Properties systemProperties = System.getProperties();
systemProperties.put("proxySet", "false");
System.setProperties(systemProperties);
Environment env = new Environment(systemProperties);
env.setProviderUrl(url);
// env.
env.setSecurityPrincipal(username);
env.setSecurityCredentials(password);
Context ctx = env.getInitialContext();
//Retrieving the Administration MBeanHome interface
home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
System.out.println("Got the Admin MBeanHome: " + home + " from the Admin server");
It would be unlikely you'd be able to bypass the proxy. That's what it's for. If you could bypass it, there would be no point to it. You should try creating an Environment object with the URL and the proxy principal and credentials, and get an initial context from that. You could test that with your own login credentials, but you'll probably want some sort of a service account to do this for real.
Similar Messages
-
Firefox spam access to website which blocked by Proxy Server
We using Blucoat Proxy Server, I found that when users access some website which may access external content server, and blocked by proxy server by default. Then proxy server logged denied these requests, but Firefox still keep looping send the requests until the proxy server CPU 99% and hang.
But IE will error to prevent this happening, and one can help?Anyone can help?
-
How to create a generic error handling proxy?
Hello,
i have few services proxies.
I want to create a generic error handling osb proxy which does only errorhandling.
This proxy would be called by all my services.Now suppose my services proxies would throw any error,the control will pass to error handling block of proxy..from there i will call this generic errorhandling proxyusing a service callout or publish action.In this proxy i want to do all my error handling based on 'n' conditions.and i want to pass the message to the fault variable of services proxy..kindly suggest ways..*main challenge is passing the message to the fault variable of services proxy*Hi,
For generic error handling framework or common error handling framework...create a bpel process which takes the error details payload and sends the inf/data as email to the particular receipients.
create business process with bpel process and proxy using business service.so wen ever error occurs at stage or route or proxy level ..call error handler action in OSB.Assign error handler details to the bpel input payload.
FOR EX:
<soap-env:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<com:test>
<com:ProcessInfo>testDetails</com:ProcessInfo>
<com:BusinessProcessName>testprocess</com:BusinessProcessName>
<com:BusinessProcessInstanceId>{fn-bea:uuid()}</com:BusinessProcessInstanceId>
<com:BusinessProcessStep>ReqLayer</com:BusinessProcessStep>
<com:ErrorCode>{string($fault/ctx:errorCode)}</com:ErrorCode>
<com:ErrorType>Technical</com:ErrorType>
<com:StatusCode>Error</com:StatusCode>
<com:ImplementationCode>OSB</com:ImplementationCode>
<com:ErrorDescription>{string($fault/ctx:reason)}</com:ErrorDescription>
<com:ErrorDateTime>{fn:current-dateTime()}</com:ErrorDateTime>
<com:Node>{string($fault/ctx:location/ctx:node)}</com:Node>
<com:Path>{string($fault/ctx:location/ctx:path)}</com:Path>
</com:test>
</soap-env:Body>
this assign the error details values to the bpel process. -
Severe proxy configuration bug preventing mail access
Hello,
the proxy configuration options for LAN / WIFI networks have a major bug: if a proxy server is set manually, it prevents e-mail accounts from working while being connected to that proxy-enabled network!
Interestingly, if the proxy is configured by using a PAC file, e-mails work successfully again, in addition to all proxied protocols like http, https and ftp.
Furthermore, it is not even possible to connect to mail server within the local network when manual proxy settings are active - the device does not even try to connect to anything, if trying to set up an account, it gives a confusing error message saying that not all settings of the mail account were correct.
As soon as the proxy settings are removed OR obtained by using PAC, everything works again!
Please fix this in one of the next releases as it impedes usage on networks with proxy enforcement! Maybe just add a selector to which protocols the proxy settings should be applied!? As I know several typical network settings, proxy is mainly used for thhp/https/ftp, not any mail protocol (for which e.g. a SOCKS proxy would be needed, which is quite different to "regular" proxies and should be treated separately in the config.)
There are several topics on the support forums that might be related to this, but have not yet taken care of: http://supportforums.blackberry.com/t5/BlackBerry-Z10/IMAP-Issue-with-WLAN-and-PROXY-OS-10-1/m-p/2380235/highlight/true#M24019 http://supportforums.blackberry.com/t5/BlackBerry-10-OS-Device-Software/Mail-IMAP-SMTP-traffic-is-blocked-when-proxy-is-set-though-proxy/m-p/3111038/highlight/true#M16311 http://supportforums.blackberry.com/t5/BlackBerry-PlayBook/E-mail-behind-Proxy/m-p/1817891/highlight/true#M41527 maybe: http://supportforums.blackberry.com/t5/BlackBerry-Q10/IMAP-Not-work/m-p/2647853/highlight/true#M12323 maybe: http://supportforums.blackberry.com/t5/BlackBerry-Enterprise-Service-12/BES12-mail-not-sync-when-proxy-profile-is-added-to-user/m-p/3105347/highlight/true#M1613Okay, this behaviour (although strange compared to "usual" proxy setting choices, e.g. in desktop operating systems or browsers) might be an explanation for the effects currently seen. This would be a good chance to extend the proxy options to a more "regular" or complete set: 1.) Add a possibility to choose which protocols are to be proxied (so e.g. IMAP could be excluded, in my opinion a proxy supporting this is even less common than rare). 2.) Add a "no proxy for these hosts" list.
-
I'm getting the following message from the OBIEE Presentation Layer when I select 'Act As' from the 'Settings' drop down selection box.
"This functionality has not been enabled by your administrator.
The account entered does not exist or you do not have permission to view this account."
Anyone have insights on what I'm missing? I followed the documentation and set up the
1) Init Block with PROXY and PROXYLEVEL variables (which appear to be proper one I log in)
2) changed the instance config to include appropriate setting
3) created a custom message file
I'm not sure on #3 - what the file should be called.
ThanksFollowing is the setup details
We have OC4J 10.1.2 running B2B(Business to Business) server with in intranet.
We have Oracle standalone HTTP listener (OHS) running in DMZ .
Our B2B in intranet receives the business messages from outside world and B2B also sends the messages to outsdie world .
So now we want to route all the requests and responses through OHS reverse proxy
We want to configure OHS as reverse proxy.
Thanks
-Praveen -
Is openDNS be an advantage to my home wireless serving all wireless devices & up internet speed and faster identification?
There are always pros and cons for everything. If you want to go with OpenDNS consider some of these things:
Please don’t expect huge gains in browsing speed since OpenDNS only improves the cycle between your computer and the DNS server.
I got this from this site:
OpenDNS: the Good, the Bad and the Ugly
" OpenDNS is fast and reliable, more than the service offered by any ISP I have used. In addition, it offers a host of other features: Content Filtering, Phishing Protection, Domain Blocking, Adult Site Blocking, Web Proxy Blocking, Domain Whitelisting, Statistics, Typo Correction, Web Shortcuts.
When you type in a domain that does not exist, OpenDNS resolves it to it’s own servers and shows search results (powered by Yahoo!) that they hope will help you find the site you were looking for."
To read more about this, pelase go to this link:
http://www.grok.in/blog/2008/03/17/opendns-the-good-the-bad-and-the-ugly/ -
EA3500 Phones can connect to wireless router, but cannot transfer data
Ok, Since Cisco is completely helpless on helping me (this is why we are switching from Cisco stuff to other brands like Aruba at my work) I was thinking you guys would help me. I got hanged up twice on this problem. TWICE.
So, my phone and my friends phones can connect to the wifi but I cannot receive nor send data from it. The phones work completely fine elsewhere. Here is the kicker, my computer works completely OK on the router and my phone used to work for 3-4 hours before this issue started going again. Now it is constantly. I restarted the modem, default reset it and still nothing. I get an IP address too and it stays connected. Any help. Cisco thinks its the phone, but its multiple phones that are having the problem and my phone and other works completely fine at other places.The quickest way to get your phones working is to configure them staticly. More than likely........either your modem, your firewall, your router, or your ISP is blocking the proxy. Try using Google Public DNS. 8.8.8.8 and 8.8.4.4 Disable any proxy blocking features of your modem or firewall.
Sometimes simply changing the DNS on your router to Google Public DNS might fix the problem.
http://www.ehow.com/how_8275878_put-static-ip-iphone.html
http://unlockforus.blogspot.com/2012/05/how-to-use-static-ip-address-at-android.html
http://homekb.cisco.com/Cisco2/GetArticle.aspx?docid=816d2158e9e84c6da97fc236b4234ae2_3954.xml&pid=8 -
Safari Blue Question Mark on Pictures
Every time that try to view something on Craigslist, I receive the blue question mark box instead of a photo. How can I change this so that I can view the photo instead? I am having this issue with other web sites too.
Thanks and have a wonderful day!
Message was edited by: saalbunchmultiple sites - is often dns; whose are you using ?
opendns is good - https://store.opendns.com/setup/operatingsystem/apple-osx-leopard
or follow the same steps & try google's - http://code.google.com/speed/public-dns/
failing that, d'you have any filtering/blocking//security/proxy/ad-removal software ?
tried another user account?
nothing checked in System prefs-Network-Advanced-Proxies ? -
SAP IQ 16 remote procedure to MsSQL 2005 error.
Hi all,
I've in IQ a remote procedure that call via RPC an old MsSQL 2005 stored procedure.
In my old installation with IQ 12.7 ESD 4 all works well and I don't report any issues.
Actually with the new IQ 16.0 SP08 I've the following strange behaviours.
ERROR 1) When I call the remote procedure from IQ using SAP Interactive SQL all works well if I run the client from a remote host. I mean from an host which is not the server where IQ engine is running. If I execute the same call (always from SAP Interactive SQL) on the IQ engine server the following error is reported:
There was an error reading the results of the SQL statement.
The displayed results may be incorrect or incomplete.
Cursor not in a valid state
SQLCODE=-853, ODBC 3 State="24000"
Cursor not in a valid state
SQLCODE=-853, ODBC 3 State="24000"
Server 'SVR_PRODOTTI': [Microsoft][ODBC SQL Server Driver]Function
sequence error
SQLCODE=-660, ODBC 3 State="HY000"
ERROR 2) I've the following scenario:
a. I call a remote procedure (always the MsSQL 2005 remote procedure described above) inside a standard IQ stored procedure
b. the remote procedure fill a remote table with some data
c. in IQ after that the remote procedure is executed I want to get the produced data in IQ via proxy table
Looking at MsSQL side I note that step (a) and (b) are executed, but when step (c) start running it remains blocked by the session that had run step (a and b) even if they are already finished. Look at the following extraction of session state by MsSQL side.
SPID Status Login HostName BlkBy DBName Command CPUTime DiskIO LastBatch ProgramName SPID REQUESTID
177 SUSPENDED usr IQ_SERVER 287 master EXECUTE 0 0 06/19 17:31:38 Sybase IQ 177 0
287 sleeping usr IQ_SERVER . master AWAITING COMMAND 9829 153149 06/19 17:31:38 Sybase IQ 287 0
SPID = 287 (remote procedure call)
RPC Event 0 sp_remote_procedure;1
SPID = 177 (proxy table access)
Language Event 0 SELECT .... FROM .... t1
Environment details:
IQ -> SAP IQ 16.0 SP08 on Win 2012 R2 server (64 bit)
MSSQL -> MsSQL 2005 SP 2 32 bit Enterprise on Win 2003 server (32 bit)
Do you have any suggestions about this strange behaviours?
Best regards,
StefanoHi Tayeb,
thank you for your suggestions, following some improvement and details about my errors.
ERROR 1) [SOLVED]
In SAP Interactive SQL: Tools -> Options -> SAP Sybase IQ
The problem appear only if "Result processing" options are configured as:
"Show results from the last statement" --> ON
"Show only the first result set" --> ON
..hereafter I report the image that show the configuration that caused error.
Any other configuration of these two parameters doesn't show any problem.
ERROR 2) [already present]
I checked the IQ 16 SP08 doc and as you reported MsSQL 2005 is not listed in RPC certified systems.
I checked also the old IQ 12.7 ESD 4 (the version from which I want to migrate and where all works fine every day) doc and the same statement was reported. So not even in 12.7 release MsSQL RPC call seems to be certified, even if it still withou any problem.
After some other tests tracing also different debugging mode (-zo and -zr) I share the following result.
I tried the following use cases.
Note that "rem_mssql_TARGET" sp insert data in a local table on MsSQL which is selected by IQ via proxy "pr_DELTA_IQ".
[TEST A] - RDP via select
select
@max_date = RetDate,
@error = RetCode
from
DBA.rem_mssql_TARGET('2014-06-20 15:00:00')
insert into DBA.DELTA_IQ
FIELD_1,
FIELD_2
location 'TARGET_DB.TARGET_DB'
select
FIELD_1,
FIELD_2
from DBA.pr_DELTA_IQ
PROBLEM: on MsSQL all remains blocked, because proxy table extraction is blocked by remote procedure execution that result running.
If I kill the remote procedure session from MsSQL, IQ engine shutdown itself without any messages.
No data is inserted in DBA.DELTA_IQ.
[TEST B] - RDP via exec
exec DBA.rem_mssql_TARGET ('2014-06-20 15:00:00')
insert into DBA.DELTA_IQ
FIELD_1,
FIELD_2
location 'TARGET_DB.TARGET_DB'
select
FIELD_1,
FIELD_2
from DBA.pr_DELTA_IQ
PROBLEM: MsSQL doesn't report any blocking session.
IQ return the following message and the IQ server doesn't shutdown itself.
SQLCODE=-706, ODBC 3 State=“HY000”
Remote server does not have the ability to support this statement
Anyway all is rollbacked an no data is inserted in DBA.DELTA_IQ.
Do you have any other hints about it?
Thank you and regards,
Stefano -
Cant get express setup to open for IE-2000u-4t-g network switch
im trying to open the configuration menu through ie explore and or google chrome i enter the password to the switch and it gives me a 404 html error i disabled the pop up blocker and proxy settings. this is a new switch and im no It guy thats for sure. i just need to set the ip address in the switch. i can ping it with the factory default i used wireshark to fingd the ip address that was in the switch from factory.
thanks for anyone who can help brandontry both http and https
HTH -
Is there an admon utility like Em in OC4J11?
And during deployment (using admin_client.jar) i get several error messages that the war file can not be deployed.
So is there any guidance on the differences TomCat vs OC4J regarding that? Because in TomCat the deployment did work.i get the following errors
D:\PROGRAMME\02_SPICE_DEVELOPMENTS\OC4J\OC4J_11\j2ee\home>rem java -Doc4j.jmx.se
curity.proxy.off=true -Djava.util.logging.config.file=logging.properties -jar ad
min_client.jar deployer:oc4j:localhost oc4jadmin trustno1 -deploy -file D:\ipc.e
ar -deploymentName ipc -bindAllWebApps
D:\PROGRAMME\02_SPICE_DEVELOPMENTS\OC4J\OC4J_11\j2ee\home>java -Doc4j.jmx.securi
ty.proxy.off=true -Djava.util.logging.config.file=logging.properties -jar admin.
jar ormi://localhost:23791 oc4jadmin trustno1 -deploy -file D:\ipc.ear -deployme
ntName ipc
Deploy error: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationExc
eption: Application: ipc is in failed state as initialization failed
D:\PROGRAMME\02_SPICE_DEVELOPMENTS\OC4J\OC4J_11\j2ee\home>pause
Press any key to continue . . . -
i have tomcat 4.0.1 and oc4j 9.0.3.0.0 and have found that tomcat is much too forgiving. simple coding errors, like example 1, compile without error on tomcat, but oc4j complains. Tomcat also allows code such as example 2, while oc4j complains unless you make the SQLException be "java.sql.SQLException".
Just be aware of these (and potentially other) subtle differences when deploying...
example 1:
<%! int foo = 3; // the script-end tag is apparently seen by tomcat but not oc4j %>
example 2:
<%! public int logSQLError( SQLException ex )
// your code goes here
%>i get the following errors
D:\PROGRAMME\02_SPICE_DEVELOPMENTS\OC4J\OC4J_11\j2ee\home>rem java -Doc4j.jmx.se
curity.proxy.off=true -Djava.util.logging.config.file=logging.properties -jar ad
min_client.jar deployer:oc4j:localhost oc4jadmin trustno1 -deploy -file D:\ipc.e
ar -deploymentName ipc -bindAllWebApps
D:\PROGRAMME\02_SPICE_DEVELOPMENTS\OC4J\OC4J_11\j2ee\home>java -Doc4j.jmx.securi
ty.proxy.off=true -Djava.util.logging.config.file=logging.properties -jar admin.
jar ormi://localhost:23791 oc4jadmin trustno1 -deploy -file D:\ipc.ear -deployme
ntName ipc
Deploy error: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationExc
eption: Application: ipc is in failed state as initialization failed
D:\PROGRAMME\02_SPICE_DEVELOPMENTS\OC4J\OC4J_11\j2ee\home>pause
Press any key to continue . . . -
I have an iPhone 3GS on Orange in the UK but am in Spain most of the time, but here I can never get internet access. Some places allow me to connect and say that I have a connection, but others do not even let me connect. In the UK I have no problems connecting to networks, and then accessing internet as well as mail and all internet on apps etc. But here in Spain, sometimes it will say I have connected, but will never load a page/connect to the mail server. I have tried on various WiFi networks in different places in Spain, but still no luck.
Many of those are likely blocked via proxy servers, or require you to open Safari and enter some additional authentication (or payment) details. Not all hotspots are freely accessible.
-
Order of PathCheck directives not working?
Hello,
I have an odd problem with the execution order of the PathCheck directives in obj.conf file. I understand it that these are executed in order in which they appear in the file.
We're using the SmartFilter 4.2 content filter.
Basically the way I understand this should work is that the check-acl PathCheck directive should execute first (for the default ACL), presenting the authentication prompt, and then after that the sf-url-check PathCheck directive should execute at which point SmartFilter will then decide if it'll allow the page to be loaded or it'll return it's denied access page.
What's happening in actuality though is that if the page is one which SmartFilter would block, the proxy authentication prompt does not appear. If the page is one which SmartFilter would allow, the proxy authentication prompt does appear. I've swapped order of PathCheck's around and it doesn't change things.
If I replace sf-url-check with the default url-check everything works fine.
It's as though regardless of the order of PathCheck directives the SmartFilter one executes first and if it doesn't like the URL it just blocks it skipping the proxy authentication PathCheck directive, but if SmartFilter does like the URL it allows the proxy authentication PathCheck directive to execute.
I'm confused as I thought the order of the PathCheck directives executes in order of their appearance, but someone perhaps SmartFilter is overriding this.
This is in v4.04 of the proxy as SmartFilter presently doesn't support v4.05.
Any thoughts?
Here's the default object code from obj.conf:
<Object name="default">
PathCheck fn="check-acl" acl="default"
PathCheck fn="sf-url-check"
ObjectType fn="cache-enable" query-maxlen="10" log-report="off"
ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="7200"
Service fn="proxy-retrieve" method="*"
</Object>
Here's the default ACL from generated.proxy-testing.acl:
acl "default";
authenticate (user,group) {
database = "default";
method = "basic";
prompt = "Internet Access";
deny (all)
(user = "anyone");
allow absolute (all)
(group = "ApprovedInetUsers");
-----Hello,
Does anyone have any thoughts as to what is causing this?
Thank you. -
ALM_PM_MAINTNOT_CREATE and CommitWork
I'm using VS.NET to develop an integration with SAP 4.6C to create maintenance notifications. The .net connector worked well to set this up, however, I can't get the notification to commit. I get nothing back in the BAPIReturn, BAPIRet2 or BAPIRET2Table.
The export header comes back with everything except the notification number, it's: %000000001. I get the same result using SE37 (i.e. no return and only this number).
Here's the main code block:
If (proxy.Connection.IsOpen) Then
TextBox2.Text = "Connected"
proxy.Alm_Pm_Maintnot_Create("", "N1", myHDRI, "", mySender, myFLAG, _
myHDRE, myKEYET, myFULLTXTIT, myACTIVIT, myCAUSIT, myPARTNRIT, _
myTASKITable, myITEMITable, MyRet2Table)
proxy.CommitWork()
TextBox1.Text = myHDRE.Notif_No
Else
TextBox2.Text = "Not Connected"
End If
Are there known issues with this function module or something obvious with my code?
Thanks!
KeithHi bharat,
i think u need to pass the order_operation parameter in the tables tab..just check teh same...
regards,
Nagaraj
Maybe you are looking for
-
Error message in the report: Exceeded configured maximum number of allowed
Hi, When i'm running one report, it's throwing the following error. Error View Display Error Exceeded configured maximum number of allowed input records. Error Details Error Codes: EKMT3FK5:OI2DL65P SQL Issued: 3302~v9p2gfbm0sfk91lrj16oe7srm2 This is
-
Production Order to Purchase Req
Hi Gurus How is Production Order AFPO-AUFNR related to Purchase req. I need to pull the purchase req for a give production order... Thanks
-
Dropdown list in selection screen
Hi guys, I am having a drop down list of 5 values in my selection screen. I am able to show the list of values in the droplist of the selection screen. How should I set default value in the list. Regards mac
-
Can anyone help with this?
-
Portege R600 - SD Cards detected but can't browse or format
Hi I have problem on my Portege R600-10U (Windows 7 Ultimate) with SD card reader. When I put SD card in to the slot it is detected by the system but I can not brows it nor I can do format. I did installation of RICOH_Media_Driver_v2.07.01.00 from To