How to set up RV042 as PPTP client?
Hello all,
I'm trying to set up an local RV042 soho router (behind a double-NAT) as a PPTP VPN client to a remote RV042 set up as a PPTP server on a public IP. Because of the double NAT and the fact that I can't control the local NAT router, I have to use PPTP rather than IPsec. I've verified that PPTP works fine from my laptop behinf\d the NAT to the remote RV042. Is there a way to set up my local RV042 to work this way? Thanks!
Hello all,
I'm trying to set up an local RV042 soho router (behind a double-NAT) as a PPTP VPN client to a remote RV042 set up as a PPTP server on a public IP. Because of the double NAT and the fact that I can't control the local NAT router, I have to use PPTP rather than IPsec. I've verified that PPTP works fine from my laptop behinf\d the NAT to the remote RV042. Is there a way to set up my local RV042 to work this way? Thanks!
Similar Messages
-
How to set clock skew property at client side when invoking web services
Hello,
now we're using weblogic 11g, we want to set the clock skew properties.
in server side, we "Create a Web Service security" to set the "Clock Skew" property, change it value from 60000 to 120000, then we invoke the web service from stand-alone client on another machine, the clock skew between the server machine an client machine is 80000. but it still throw exception:
javax.xml.ws.soap.SOAPFaultException: Message Created time past the current time even accounting for set clock skew+
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:241)+
we think we still need set the clock skew at client side. in webloigc8.1 doc(http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webserv/client.html), we find there's properties such as "weblogic.webservice.security.clock.precision" we can set in client side, but in weblogic 10.3 doc, we can't find these properties.
now how to set the clock skew at stand-alone client in weblogic 11g?
Thanks!
FredHello,
now we're using weblogic 11g, we want to set the clock skew properties.
in server side, we "Create a Web Service security" to set the "Clock Skew" property, change it value from 60000 to 120000, then we invoke the web service from stand-alone client on another machine, the clock skew between the server machine an client machine is 80000. but it still throw exception:
javax.xml.ws.soap.SOAPFaultException: Message Created time past the current time even accounting for set clock skew+
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:241)+
we think we still need set the clock skew at client side. in webloigc8.1 doc(http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webserv/client.html), we find there's properties such as "weblogic.webservice.security.clock.precision" we can set in client side, but in weblogic 10.3 doc, we can't find these properties.
now how to set the clock skew at stand-alone client in weblogic 11g?
Thanks!
Fred -
1242AG How to set a password on wireless client
Listen I wasn't able to get these woking as a Root-Bridge & Non-Root Bridge but was able to get them to work as Root-Bridge with Wireless. Ok I'm out here in the middle of nowhere in Iraq so i say fine just put a password on the wireless client but it seem no matter what I do I cant get to the place to just secure it with a password.
Please any help much appreciated.
Thanks
DannyFrom your query I understand that you are trying to configure some form of authentication for Wireless clients accessing the wireless bridge. Read the following document which explains how to configure the AP/Bridge as a local radius server to authentication clients.
http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801c0912.shtml -
Archivelink - how to set valid in only some clients, not in others?
Hi,
Were building an ASP-solution, where storage of outgoing documents will be an optional service, where the customers that choose to use the functionality will have to pay for it. Each customer will run in a separate client in the same instance.
Now, what we need to figure out is how to deactivate the functions for those customers that choose NOT to pay for the service. As the repositories are cross-client, and configuration/customizing will be as close to identical as possible in the different client, we have problems identifying how to do this. It is not a viable option to change configuration for some customers - were talking lots of clients here .
Does anyone have a proposal for how we could handle this situation?
Best regards,
Sten ErikSolved by use of exits
-
HT204371 How to set airport exprex as a client mode
How can use may print with usb port with may 1st generation airport as extended wifi
A first generation AirPort Express cannot "wirelessly extend" a wireless network, but you can connect it to any router with an Ethernet cable. It can then serve as a wireless access point and be used to connect any USB-only printer.
-
Setting timeout of web service client
I created a web service client using the java proxy for
a web service by running my web service in weblogic workshop test browser and by using
the jar file created by clicking on "Java Proxy" button.
i am calling my web service my adding code similar to this and it works
HelloWorld_Impl proxy = new HelloWorld_Impl();
HelloWorldSoap soapProxy = proxy.getHelloWorldSoap();
But, i am not sure how to set the timeout of my client programatically.
Is there a way to do this ?
Any help is greatly appreciated.Anyway,
I figured it out myself, by looking at other posts and applying some reflection API
HelloWorld_Impl proxy = new HelloWorld_Impl();
HelloWorldSoap soapProxy = proxy.getHelloWorldSoap();
// I learnt that this soapProxy is infact an object of HelloWorldSoap_Stub class
HelloWorldSoap_Stub myStub = (HelloWorldSoap_Stub)proxy.getHelloWorldSoap();
BindingInfo bInfo = (BindingInfo)myStub._getProperty("weblogic.webservice.bindinginfo");
bInfo.setTimeout(5); //secs
myStub._setProperty("weblogic.webservice.rpc.timeoutsecs", "5"); // secs
// finally you can call the methods of the web service
soapProxy.Hello();
Please be aware that, upon time out, you would get an exception : <class = java.rmi.RemoteException
cause = javax.xml.rpc.soap.SOAPFaultException: javax.xml.rpc.JAXRPCException:java.net.SocketTimeoutException: Read timed out.>
Also, my env : Weblogic 8.1 SP4 -
How to set a Object value by JDI
How to set a Object value using JDI?
For example:
class User{
private String name;
private String id;
set and get method;
public static void main(String[] args) throws Exception {
VirtualMachineManager vmm = Bootstrap.virtualMachineManager();
List<AttachingConnector> connectors = vmm.attachingConnectors();
SocketAttachingConnector sac = null;
for (AttachingConnector ac : connectors) {
if (ac instanceof SocketAttachingConnector) {
sac = (SocketAttachingConnector) ac;
break;
if (sac == null) {
System.out.println("JDI error");
return;
Map<String, Connector.Argument> arguments = sac.defaultArguments();
Connector.Argument hostArg = arguments.get("hostname");
Connector.Argument portArg = arguments.get("port");
hostArg.setValue(HOST);
portArg.setValue(String.valueOf(PORT));
vmMachine = sac.attach(arguments);
List<ReferenceType> classesByName = vmMachine.classesByName(CLSNAME);
if (classesByName == null || classesByName.size() == 0) {
System.out.println("No class found");
return;
ReferenceType rt = classesByName.get(0);
List<Method> methodsByName = rt.methodsByName(METHODNAME);
if (methodsByName == null || methodsByName.size() == 0) {
System.out.println("No method found");
return;
Method method = methodsByName.get(0);
I will connect to server and monitor the remote server JVM , There is a object of User, I want to change its value by the Java Debugger Interface by client.
so how to set its value by the client, and I can not got the User bean at client.
I know the basic type filed value changed as follows:
Value newValue = vmMachine.mirrorOf("change var value");// this field is a string.
stackFrame.thisObject().setValue(field, newValue);
But a Object , how can I change its value.
Thanks Advanced.ObjectReference.setValue() is the method for chaining the value of an Object's field. First you need to find the specific Object you want to change, though.
/Staffan -
How to set time zone for a session in Client Only installation
Environment:
OS : Unix (HP-UX 11.0)
Oracle DB : Ver 8.0.5
Developer : Ver 1.6 ( Client only Installation)
Developer also on Unix.
RDBMS and Developer Installed on different
home directories.
Our development is Forms 4.5 on X windows.
Runtime is forms character mode.
Probelm Description:
To run the application I am using TWO_TASK to connect to the database. In our application we have to take care of time zones. For that in previous versions(NO TWO_TASK used) I used TZ unix environment variable, to get time zone dependent time wherever sysdate is used.
Now because I am using TWO_TASK, oracle is no more using users TZ settings.
Question : Is there any way I can make oracle to use the TZ environment settingThanks for replying Johnny!
What you are referring to is adding a city. I need to know how to set the time zone in settings -> Date & Time -> Timezone. Unless & untill this is set properly the iPod will never show me the right time. Please help me with it.
I will definately use your advice on the second query.
Thanks once again!
Windows XP Pro -
How to set JMS clients to use JVM Invocation layer
Hi,
I'm not sure if this JBoss specific (but I'm assuming it's not) so I'll be asking it here. How can I set my JMS clients and Message-Driven Beans to use JVM Invocation layer since the clients and queues will reside in the same JVM.
Thanks in advance.May be that explains why I couldn't successfully integrate ActiveMQ with JBoss. I was using the 3.0 version. I'll try again once I find the time.
Anyway, do you know how to set JBoss JMS clients and MDBs to use JVM invocation or transport layer instead of UIL2?
I'm not sure if what I've done is correct But here's what I've done.
For jvm-il-service.xml, I changed the JNDI reference from "ConnectionFactory" to "JVMILConnectionFactory" since the default service uses "ConnectionFactory". Then I used that reference as my JNDI look up in my JMS client. I'm just not sure how to do this with MDBs. I think I should add an entry in the ejb descriptor file but I need someone to confirm.
Thanks. -
JAX-WS: How to set headers on generated client?
Hello
Im trying to build a client to consume the web service defined here: http://my.hot-sos.net/HTNGListener/HTNGListener.asmx?WSDL
I've use the wsimport tool to generate the classes and one of the services (ping) works fine.
The other servcies, however, are giving me this error:
javax.xml.ws.soap.SOAPFaultException: Server was unable to process request. ---> No HTNG Header found in Soap Header
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy30.receiveMessageSync(Unknown Source)
at com.pogo.test.HelloWorldClient.main(HelloWorldClient.java:29)I think the problem is that the service expects a header. The generated code has a HTNGHeader factory but I cant find a method where to add this header to the request.
<wsdl:operation name="ReceiveMessageSync">
<soap12:operation soapAction="http://htng.org/1.1/Listener.Wsdl#ReceiveMessageSync" style="document" soapActionRequired="true" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:ReceiveMessageSyncHTNGHeader" part="HTNGHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
<soap12:header message="tns:ReceiveMessageSyncHTNGHeader" part="HTNGHeader" use="literal" />
</wsdl:output>
</wsdl:operation>This is how Im trying to invoke:
HTNGListener listener = new HTNGListener();
HTNGListenerSoap stub = listener.getHTNGListenerSoap();
stub.ping();
org.htng._1_1.header.ObjectFactory headerOF = new org.htng._1_1.header.ObjectFactory();
HTNGHeader header = headerOF.createHTNGHeader();
header.setTimeStamp(DatatypeFactory.newInstance().newXMLGregorianCalendar() );
//I've created the header, but dont know how to set it.
String request = "<GetMessages/>";
System.out.println(stub.receiveMessageSync(request));Any advise is more than welcome.
Thanks
GonsoHow are you even getting the WSDL to parse? I get:
parsing WSDL...
[ERROR] Non unique body parts! In a port, operations must have unique operation signaure on the wire for successful dispatch. In port HTNGListenerSoap, Operations "ReceiveMessageAsync" and "ReceiveMessageSync" have the same request body block {http://htng.org/1.1/Listener.Wsdl}Request
line 150 of http://my.hot-sos.net/HTNGListener/HTNGListener.asmx?WSDL -
How can I set the desktop image for client computers?
How can I set the desktop image for client computers using ARD or terminal?
How can I set the desktop image for client computers using ARD or terminal?
-
How to set proxy for client-server socket connection?
Hi,
I'm using the code found on the following page to create a client (mobile) to server (pc) connection and send a text message.
http://javafaq.nu/java-example-code-503.html
This works with mobile operators without proxy, but does nothing when the operator uses a proxy. The question is, exactly how to set the proxy and port values for using that code.
Any help is greatly appreciated, thanks,It's part of the cellular settings, and is usually set up by your 3G provider. You can't choose your own proxy server
-
How to set registry for sql client on win...
Hi.
how to set registry for sql client on win fro work with Ukranine
charset.
I got such problem
nls_language set to American_Ukranine.clmswin1251 on client
this give me ukraniane char.
but it override all my settings in initsid.ora this mean
nls_date_format=DD-MON-YYYY
nls_date_languages
twhen I type select sysdate vrom dual answer is 11-jun-99, but
not 11-(ukr month)-1999;
What should I correct in regestry? ( i don't like to do alter
session set..... each time I start sqlplus )
Thank You in advice
nullyou can create method on Application Module and to Client listener
like
public Object[] getData(Number n,Date d)
Object val[]= new Object[2];
String sp = "{? = call get_data(?,?,?)}";
Connection conn = null;
CallableStatement proc = null;
try {
// conn = isConnSupplied ? userConn : ResourceManager.getConnection();
proc = getDBTransaction().createCallableStatement(sp,0);
proc.registerOutParameter(1, OracleTypes.Number);
proc.setObject(2,12);
proc.setObject(3,dateobj);
proc.registerOutParameter(2, OracleTypes.VARCHAR);
proc.executeQuery();
int amttext= proc.getInt(1); //for return value
String msg=proc.getString(2);//for out param
val[0]=amttext;
val[1]=msg;
catch(Exception e)
System.out.println(e);
return val;
}and access this method from backing bean using following code-
BindingContext bindingctx=BindingContext.getCurrent();
BindingContainer binding=bindingctx.getCurrentBindingsEntry();
OperationBinding operationBinding1 = binding.getOperationBinding("getData");
operationBinding1.getParamsMap().put("n",anyno);
operationBinding1.getParamsMap().put("d",dateobj);
operationBinding1.execute();
String vval[] =(String[])operationBinding1.getResult(); -
As a webservice client, how to set character encoding for JAX-WS?
I couldn't find the right API to set character encoding for a webservice client. What I did is
1, wsimport which gives me MyService, MyPortType...
2. Create new MyService
3. Get MyPort from MyService
4. Call myPort.myOperation with objects
Where is the right place to set character encoding and how to set it? Thanks.
Regards
-Jiaqi GuoThe .js file and the html need to have the same encoding. If
your html uses iso-8859-7, then the .js must also use that. But if
the original text editor created the .js file using utf-8, then
that is what the html needs to use. -
Jaxrpc client (how to set connection and read time out)
I have a jaxrpc client using a web service. how to set a connection or a readtime out on the client side so that I can terminatate the service if it does not respond on some time.
SteveHibox wrote:
When we tried to send messages to [email protected] ,the debug log on MTA shows that if the first mail server(123.1.1.1) failed , the MTA tried to connect the second server(123.1.1.2) automatically. And it took about 3 minutes until the connection to the first server timed out.
The OS level timeout (tcp_ip_abort_cinterval on Solaris) is applicable to this situation. It is set to "180000" (3 minutes) by default e.g.
bash-3.00# ndd -get /dev/tcp tcp_ip_abort_cinterval
180000
Is there any way to shorten the default time out ?( I mean to connect the second server faster if the first one failed.)Try changing the OS level parameter.
If there is only a particular IP address causing the problem, you may want to make use the IP_ACCESS mapping table and the $I flag to skip over this IP address:
http://docs.sun.com/app/docs/doc/819-4428/gekyh?a=view
Regards,
Shane.
Maybe you are looking for
-
Why does Pages 09 hang for 1min30sec? The spinning ball, etc...
I am using Pages 09 version 4.3 (not the iWork package, just Pages 09) Operating system 10.8.3 with 4 Gb memory on an iMac from around 2009 (Intel core 2 duo) I had been using Quark Xpress for a couple decades and wanted to save a book I did in Pages
-
We have tried to change authenticaion of BI Apps 11.1.1.7.1 to LDAP, but reverted this due to some other issues. Now we are back with standard authentication, and all functionality seems to work fine, except execution of a load plan. When we select (
-
ITunes is not the active window
Can anyone tell me why when I open iTunes, it is not the active window - this does not seem to be happening with any other application? If there is another window open, it also opens behind this window and is still not the active window?
-
How to monitor the DNS & DHCP record like errors...
Hi I am controling the large DNS & DHCP environment, Can any body have any scripts or way ot control the daily summury of queries and error... Thanks Mohammed Tanvir
-
Tourbles with HP Officejet 7500 E910
I have my HP Officejet 7500 E910 network, now i can not connect to my network switch, nor by wireless. Also i can not move into the printer software from its small monitor, the bottoms on the sides of the monitor are not working, Any help how to retr