Remoteobject call cfc on remote server
Our goal is to have any of our flex developers use a central set of cfcs. Rather than having everyone need to duplicate all the required file structure etc.
So it seemed like adding endpoint to the RemoteObject tags should get us significantly closer.
<mx:RemoteObject id="SomeTest" source="sometest" destination="ColdFusion" endpoint="http://localhost:8500/" >
... I've tried various endpoint syntax a remote server address and ip and using 127.0.0.1 instead of localhost
... If I take out the endpoint attribute, it works just fine
... it calls a cfc in the webroot
... in case you want to see the cfc function... it just returns a variable.
<cffunction name="TestFunction" access="remote" returntype="String">
I'm running cf locally and my flex compiler is
-services "C:\ColdFusion8\wwwroot\WEB-INF\flex\services-config.xml" -locale en_US
When I run the app which simply calls the cfc and alerts the result, it works fine unless I have an endpoint defined as above. The error is:
faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://localhost:8500/
The correct endpoint will be http://localhost:8500/flex2gateway
Sincerely,
Michael
El 27/04/2009, a las 14:07, arocheking <[email protected]> escribió:
>
Our goal is to have any of our flex developers use a central set of
cfcs. Rather than having everyone need to duplicate all the required
file structure etc.
So it seemed like adding endpoint to the RemoteObject tags should
get us significantly closer.
>
<mx:RemoteObject id="SomeTest" source="sometest"
destination="ColdFusion" endpoint="http://localhost:8500" >
... I've tried various endpoint syntax a remote server address and
ip and using 127.0.0.1 instead of localhost
... If I take out the endpoint attribute, it works just fine
>
... it calls a cfc in the webroot
... in case you want to see the cfc function... it just returns a
variable.
<cffunction name="TestFunction" access="remote" returntype="String">
>
I'm running cf locally and my flex compiler is
-services "C:\ColdFusion8\wwwroot\WEB-INF\flex\services-config.xml" -
locale en_US
>
When I run the app which simply calls the cfc and alerts the result,
it works fine unless I have an endpoint defined as above. The error
is:
faultDetail="Channel.Connect.Failed error
NetConnection.Call.BadVersion: : url: 'http://localhost:8500/
>
Similar Messages
-
Regd: Calling FM from remote server thro RFC
Hi All,
Can anyone tell me the exact procedure to call the BAPI_SALESORDER_CREATEFROMDAT2 from a remote Developement Server n accesss the FM and procedure to create a sale order in the curren t system.
Sugesstions and Help will be appreciated.
Thanks & regds.
Ramesh.Hi Ramesh,
First go to transaction SM59(RFC Destinations) and create a RFC-connection for the destination system. Give the system name, logon id and password etc.
Then in your program add the DESTINATION in your BAPI call.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2' DESTINATION <name of the RFC connection>
EXPORTING
SALESDOCUMENTIN =
order_header_in =
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT =
tables
RETURN =
ORDER_ITEMS_IN =
ORDER_ITEMS_INX =
order_partners =
ORDER_SCHEDULES_IN =
ORDER_SCHEDULES_INX =
ORDER_CONDITIONS_IN =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES = .
Hope it helps.
Regards,
Neeraj Gupta -
I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
Anyone have an idea on other things to try to debug/resolve this?
Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
Thanks!After a week's worth of debugging, I found the issue.
The Java type returned from the call was defined as ArrayList. Changing it to List resolved the problem.
I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid. And, why it works in Debug mode and not in Release build is even stranger. Maybe someone can shed some light on the logic here to me. -
$25 Reward - Calling a CFC via Remote Object or Web Service without making the result public
I am just getting into Flex 2, so please forgive me for my
newbe vocab.
Here is how my applications have worked in the past, i.e.
ColdFusion:
<cfscript>
//Create an instance of component
order = CreateObject( 'component', 'PEK.Catalog.Order' );
//Call methd
theOrder = order.getOrder(1234);
</cfscript>
Display the order via HTML and CFML.
getOrder() returns a query and 1234 is a sample orderID. The
most important part of the solution I am looking for is that the it
must not expose my getOrder() as a public web service. I am able to
run the application with WS by making the mothod URL visible and
remote, but this is no way near the security I would like to have.
Here is my folder structure where components folder has been maped
to CF.
Application
|__extentions
| ... |__components
| ... ... |__PEK
|__wwwroot
I guest there should be a way to call CFC with the thing
remote object that I have no idea how to set up. So please what
would be a solution to my security issues.
Thank you in advance!Click
Here for Link to Article
I guess this article answers part of the question. It is very
important to note that if the CFC is sitting on the same server as
the CFC the component methods could be public and not remote, thus
making it alot more secure. -
Access to local DataSource tries to connect to remote server after ejb call to remote server
I've run into a problem with code that worked fine under WebLogic 6.1 SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
I have two weblogic instances running in separate domains (InstanceA and InstanceB). The two domains have the same crentential configured to setup the trust relationship.
InstanceA runs on my local machine. It contains Stateless Session Beans StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
A function A1Func1 in StatelessSessionBeanA1
1) creates an initial context to connect to InstanceB
2) calls a method B1Func1 on StatelessSessionBeanB1
3) closes that context to InstanceB
4) Calls a method A2Func1 on StatelessSessionBeanA2
5) manipulates several entity beans
6) returns
A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a Connection from the DataSourceA1, it gets an exception:
java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
... enters my application code
A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have the "RequiresNew" transaction attribute. This causes steps 1,2,3,4 to work, but in step 5, when the entity beans attempt to get a connection from DataSourceA1, it runs into the same exception
java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
Any ideas why calling out to StatelessSessionBeanB1 would cause things inside the same transaction to try to get their datasource from InstanceB? Again, this code worked fine under WebLogic 6.1
And ideas would be appreciated.
Thanks,
--Andy
As a follow up, no solution, but a workaround - we changed the transaction setting
on B1Func1 (which was a read type method) on InstanceB's StatelessSessionBeanB1
to NotSupported, and everything started working again.
--Andy
Andrew Delpha <[email protected]> wrote:
>I've run into a problem with code that worked fine under WebLogic 6.1
>SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
>
>I have two weblogic instances running in separate domains (InstanceA
>and InstanceB). The two domains have the same crentential configured
>to setup the trust relationship.
>
>InstanceA runs on my local machine. It contains Stateless Session Beans
>StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
>
>InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
>
>
>A function A1Func1 in StatelessSessionBeanA1
>1) creates an initial context to connect to InstanceB
>2) calls a method B1Func1 on StatelessSessionBeanB1
>3) closes that context to InstanceB
>4) Calls a method A2Func1 on StatelessSessionBeanA2
>5) manipulates several entity beans
>6) returns
>
>A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
>
>
>Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a
>Connection from the DataSourceA1, it gets an exception:
>java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
>of InstanceB)
> at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
> at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
> at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
> ... enters my application code
>
>A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have
>the "RequiresNew" transaction attribute. This causes steps 1,2,3,4
>to work, but in step 5, when the entity beans attempt to get a connection
>from DataSourceA1, it runs into the same exception
>java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
>of InstanceB)
> at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
> at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
> at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
> at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
>
>Any ideas why calling out to StatelessSessionBeanB1 would cause things
>inside the same transaction to try to get their datasource from InstanceB?
> Again, this code worked fine under WebLogic 6.1
>
>And ideas would be appreciated.
>Thanks,
>--Andy
-
Call C++ program from ABAP on remote server
Hello folks! I have C++ program on remote server (not application server!). I want to call it from ABAP program. I know about RFC, but I haven't touch with this area, can anybody help me?
HI,
Please go through link
SAP R/3 : System Functions
which has example of using C++ program residing in remote server. Hope your question gets clarification.
Best Regards,
Krishna -
Connection Reset while making http web service call to remote server
Hello guys,
Our environment details are as follows:
WebLogic version: 10.3.3
Cluster: yes
Database: Oracle
Web service server: Remote application
When our WebLogic server makes a http Web service call to another remote application which runs on IIS server for creating a record. The record gets created in remote application but WebLogic server log says java.net.SocketException: Connection reset and the same record doesn't get created in WebLogic application. We have confirmed that remote application is running and it is behaving as expected. Also, we installed web service client on our WebLogic machine just to isolate any network related issues, when we make a same request through this client it works fine and we get answer. At this point in time, it looks like it could be WebLogic or application which is behaving goofy. we are running out of ideas, it would be nice if someone have any thoughts on it like turning on any flags or any other troubleshooting steps. Please, let me know.
Here is the stack trace:
####<Sep 18, 2011 12:31:40 AM MDT> <Info> <com.blah.blah> <server1> <WLSserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Defaul
t (self-tuning)'> <user> <BEA1-69D606DA85BDB1A0A7D5> <> <1316327500388> <BEA-000000> <ERROR com.blah.blah - Error during creating a order remoteappja
va.net.SocketException: Connection reset
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketException: Connection reset
at com.sun.jersey.api.client.Client.handle(Client.java:569)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:556)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:69)
at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:451)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:173)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:220)
at weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:143)
at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:462)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:364)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:952)
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:215)
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:126)
... 58 more
>
thanks a lot for your help in advance
Regards,Here's what the issue was for us:
When the web service was initializing, Weblogic? was trying to retrieve the WSDL first before initializing the service.
Though the web service URL was proper, the WSDL itself was unresolvable. This led to this strange connection reset error.
So, if you're experiencing this consistently, check your WSDL URL.
We used "strace" to discover this problem by running it for a brief time while the web service initialization was attempted - and it very clearly showed that the code was attempting to laod something from a bogus address / IP -
Can't call a VI from remote server
I have a VI running on a labview development machine(Labview 2010), the main function is handling excel report using report generator. I follow the link http://www.ni.com/white-paper/14469/en to set up labview machine and teststand machine respectly. But when I tried to call the VI from remote server, it is still not able to load the VI front panel and show the connectors. See the attachment. It looks like it still trying to load VI from local drive because it can't find the builded-in subvis for report generator function.
What should I do to make it work? Thanks!
Solved!
Go to Solution.
Attachments:
TestStand error.png 107 KBFor those interested in the solution, the problem turned out to be two things.
The first is if you want to be able to load a prototype of the VI in TestStand, you will need to either share the VI or create a dummy VI. If the shared VI uses subVIs you do not have access to, then you are better of creating a dummy VI that has matching connector panes.
The second problem had to do with how the remote VI path was specified. If you have shared the VI, then you will enter in the shared folder path as your remote VI path. If you have not shared it, then you will need to enter in the VI path as it is on the remote machine.
Rohama K. -
TcpIP connection to remote server not closing after each call.
using urlconnection to connect to a remote server does not close tcp connection after use. Any ideas on how to force this closed.
This inturn causes subsequent calls to the remoteserver to use the existing tcp connections, slowing down the over <br>all connections because the remote server is not able to handle multiple requests using the same connection.
We are using a unix box running solaris 8.0 I believe and the <br>connection to the remote server is done over a dedicated line.
Here is what the code looks like. I believe I am doing all that I can to force the stream objects closed so that there is no lingering connections. Is there anything that I can do from a code perspective to assure that after each transaction all stream objects are dropped and closed so that the tcp connections close. Also, could there be other reasons why these connections stay open.
pls help.
try {
// Read the Login URL net connection output
URLConnection conn = new URL( url ).openConnection();
boolean inputOK = true;
if ( testInput ) {
InputStream inConn = conn.getInputStream();
InputStreamReader inStream = new InputStreamReader( inConn );
// read input stream for OK/FAILED
BufferedReader in = new BufferedReader( inStream );
String str = null;
Debug.println( this, "Response read" );
while ( ( str = in.readLine() ) != null ) {
System.err.println( str );
if ( ( str.indexOf( SUCCESS ) >= 0 ) || ( str.indexOf( LC_SUCCESS ) >= 0 ) ) {
Debug.println( this, "Found success " + str );
inputOK = true;
break;
else if ( ( str.indexOf( FAILURE ) >= 0 ) || ( str.indexOf( LC_FAILURE ) >= 0 ) ) {
Debug.println( this, "Found failure " + str );
inputOK = false;
break;
in.close();
inStream.close();
inConn.close();
in = null;
inStream = null;
inConn = null;
Debug.println( this, "End of Response read" );
}This is an issue with the browser rather than Java.
You are getting the same response, because the browser checks it's cache first and keeps serving up the same info from the cache.
Add a parameter to the URL so that the browser thinks you are submitting a form. Use the new methods in the URLConnection class, or you can manually add a GET parameter to the URL. -
Log on to remote server and start database -error while installing CI in HA
Hello All,
We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node. Please find the log below.
TRACE 2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25742
INFO 2011-06-10 16:31:45.835
CJSlibModule::writeInfo_impl()
Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
WARNING 2011-06-10 16:31:46.345
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
Database PE2 must be started on remote server
Log on to remote server and start database
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
TRACE 2011-06-10 16:31:46.355
Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25793
ERROR 2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
FCO-00011 The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Kindly let us know how to rectify the error and prroceed further with the instalaltion.
Thanks
RishiDear Guys,
we didnt change the date and time but i m very sure it is same trans.log file.
for your kind information please note SID and Nodes details
Sid (PE2)
DB Node : DBMDB001
CI Node : DBMCI001
also i am attaching starting part of the file.
4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.11.2010 - 03:44:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Nov 7 03:44:06 2010 295 0.000295
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000317
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 116 0.000433
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
4 ETW000 64 0.000497
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 32161 0.032658
4 ETW000 [dev trc ,00000] Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
4 ETW000 39 0.032697
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 111 0.032808
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
patchlevel (0.25)
4 ETW000 265 0.033073
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 41 0.033114
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 82 0.033196
4 ETW000 [dev trc ,00000] New connection 0 created 52 0.033248
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.033289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 84 0.033373
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 31 0.033404
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.033441
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0' 601 0.034042
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 25 0.034067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 35674 0.069741
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
4 ETW000 57 0.069798
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 55 0.069853
4 ETW000 [dev trc ,00000] Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
151208)
4 ETW000 34 0.069887
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 52 0.069939
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 58 0.069997
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.070037
4 ETW000 [dev trc ,00000] Allocating server context handle 27 0.070064
4 ETW000 [dev trc ,00000] Attaching to DB Server PC1
(con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
4 ETW000 63 0.070127
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000106de78 to service context
0x600000000106aa68
4 ETW000 60612 0.130739
4 ETW000 [dev trc ,00000] Allocating user session handle 97 0.130836
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0,
usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 64 0.130900
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 9302 0.140202
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
4 ETW000 198 0.140400
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;
4 ETW000 38 0.140438
4 ETW000 [dev trc ,00000] CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
erroneous calls
4 ETW000 291 0.140729
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
4 ETW000 33 0.140762
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 35 0.140797
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 937 0.141734
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.141770
4 ETW000 [dev trc ,00000] Connected to session 297. 639 0.142409
4 ETW000 [dev trc ,00000] Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
4 ETW000 38 0.142447
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 37 0.142484
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 36 0.142520
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 327 0.142847
4 ETW000 [dev trc ,00000] SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 36 0.142883
4 ETW000 [dev trc ,00000] Got SAPSR3's password from OPS$-user 728 0.143611
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 38 0.143649
4 ETW000 [dev trc ,00000] Rolling back transaction ... 31 0.143680
4 ETW000 [dev trc ,00000] Closing user session
(con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
4 ETW000 210 0.143890
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 721 0.144611
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
700 151208)
4 ETW000 40 0.144651
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 37 0.144688
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 37 0.144725
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 35 0.144760
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 40 0.144800
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 337 0.145137
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 4085 0.149222
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
4 ETW000 63 0.149285
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 37 0.149322
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 585 0.149907
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.149943
4 ETW000 [dev trc ,00000] Connected to session 297. 350 0.150293
4 ETW000 [dev trc ,00000] Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
session_id=297.
4 ETW000 38 0.150331
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.150369
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 34 0.150403
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 294 0.150697
4 ETW000 [dev trc ,00000] SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
4 ETW000 66 0.150763
4 ETW000 [dev trc ,00000] ETER
4 ETW000 34 0.150797
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 329 0.151126
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 856 0.151982
4 ETW000 [dev trc ,00000] SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE
4 ETW000 36 0.152018
4 ETW000 [dev trc ,00000] DB instance PC1 is running on scmdb001 with ORACLE version
10.2.0.4.0 since NOV 07, 2010, 03:23:10
4 ETW000 349 0.152367
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.152405
4 ETW000 [dev trc ,00000] SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
FROM V$DATABASE -
Odbc.ini entry on local unix server to connect to a T10 on remote server
I am trying to setup an entry in the ODBC.INI file on local unix server that has T10 client installed. I want to connect to a T10 datastore on a different server using this ODBC entry (client/server connection for a Informatica tool)
Could some one tell me how this ODBC.INI entry should look like on my local server.Say your remote dsn is called 'mydsn' and your remote server called 'TTserver' then the entry on the client machine would be:
[mydsn_cs]
TTC_SERVER_DSN=mydsn
TTC_SERVER=myserver
You would then also need an entry in the sys.ttconnect.ini file as follows:
[myserver]
Network_Address=TTserver
TCP_PORT=<port of server daemon on server>
The port of the server daemon is typicaly 2 more than the port of the main daemon - you can check this by typing 'ttStatus' and looking for the line starting with 'TimesTen server pid'.
Then test your connection with 'ttIsqlCS mydsn_cs'.
*Note: the dsn entry for 'mydsn' on the server needs to be in the sys.odbc.ini file. It can not be in a private .odbc.ini file. -
Problem in Calling Sub VI remotely from a main VI in a Web Browser.
Hi i am Calling Sub VI remotely from a main VI in a Web Browser.
My task details:
I my project i am fechting data from a MySQL data base and storing in a table on the main VI front panel.For User help i am calling a sub VI front panel which is consisting of a progress bar and percentage indicator.It indicates the user that the data is loading from the DB.The main purpus of a subVI is to make the GUI more user friendly..by displaying the SubVI front panel until whole data is loaded into the table and closing Immediately after load complete.
What i did?
To call a SUB VI i just right clicked on the subVI icon on the main VI >> SubVI node setup>> Show front panel when called.
In main VI Execution property i have seected Preallocated clone reentrant execution
In Sub VI Execution property i have seected Non- reentrant execution.
If i select Preallocated clone reentrant execution in Sub VI while calling sub VI i am getting warning message saying subVI front panel cannot be controlled remotely.
Promblem I am facing:
It is working perfect in a server machine(as a stand alone) but when i call the same VI or application in remote system i abserved two issues
1. When i call a sub VI every time the front panel is coming in both server and client machine.I want the subVI panel to display only in the client machine, other wise the user sitting in front of the server will be confused by seeing many popups(SubVIs) in his system.
2. When one client is calling a SubVI, the other user should wait until the the sub vi displayed and closed in the 1st client.Means the simultaniously more than one client cant access the SubVI.In this case i can access the main VI simultaniously but not the SubVI.
Please give me the solution.It wil be very helpful for me.Thank You in advance.
Thanks & Regards
GundappaI did some prijects with Siebel, but we used JMS for sending and retrieving message between Siebel and BPEL. Can you use this solution? This also gives you the advantage that you can guarantee that the transactionis committed and placed in a queue. You can also bring down the BPEL environment without interfering the Siebel environment, because the communication is done via JMS (queueus)
-
Trouble 'putting' dynamic web pages to remote server
I have a site defined in DWCS5. I have two servers defined, a local testing server on my computer and the remote server at the hosting company. I have no connection problems with either. I can put 'static' web pages from the local testing server to the remote server without any problems.
But when I try to 'put' a page that relies on dynamic content from my local testing server, all of the connection code is based on the local connection, it doesn't get updated to the remote connection code. When I browse to the page on the remote server, I get errors, essentially file not found errors because the connection code is looking for the local resourses.
Warning: require_once(../Connections/localhost.php) [function.require-once]: failed to open stream:
The code should read require_one(../Connections/bluehost.php) to run properly on the remote server.
There are two different connection files in the Connections sub directory. There is the one with the connection code to access the local database and then there is another with the connection code to access the remote server's database. The code in both files is correct and works when called on the appropriate server.
If I go through and edit on the remote server and manually correct the code, the page will work, but then my local page has the remote server's connection strings and won't work again. I'm getting really good at running FIND/REPLACE.
I just have to change the name of the connection.
I need to be able to transfer a dynamic page from local to remote and have the connection code updated so that the code on the remote is for the remote and the code on the local is the code for the local.I think I figured out my own problem.
I made the database connection information exactly the same for the local server database and the remote server database. Now when I upload the local data to the remote server it seems to be working.
I guess I over thunk it. -
The call was cancelled by the caller before the remote party answered
Hi,
We have a Lync 2010 Enterprise deployment in a single site with 2 FE and Mediation Server collocated.
When dialling a number from a PSTN phone the call gets routed via our PBX/PBX Gateway/Mediation Server/FE Server to the desktop Lync client successfully.
As soon as the user answers the call with the Lync client the call 'hangs' and terminates without hearing anything on either side.
The snooper logs show:
Error:
SIP/2.0 487 Request Terminated
Partial Content:
User-Agent: UCCAPI/4.0.7577.4398 OC/4.0.7577.4398 (Microsoft Lync 2010)
Ms-client-diagnostics: 52092;reason="The call was cancelled by the caller before the remote party answered"
Content-Length: 0
Please help?
VinkieWhat kind of gateway are you using to connect to your PBX and how? What is your media set to? G.711 μ-law or a-law? I'd check media settings there as a starting point.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer". -
I am trying to call sharepoint online from powershell. Below is the code. I get
Exception calling "ExecuteQuery" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
$loadInfo1 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
$loadInfo2 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
$webUrl = "ZZZZ"
$username = "XXX"
$password = "YYYY"
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($webUrl)
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
$web = $ctx.Web
$lists = $web.Lists
$ctx.Load($lists)
$ctx.ExecuteQuery()
$lists| select -Property Title
Raj-ShptHi,
About how to access SharePoint online site using PowerShell, the blog below would be helpful:
http://social.technet.microsoft.com/wiki/contents/articles/29518.csom-sharepoint-powershell-reference-and-example-codes.aspx
Another two demos for your reference:
http://www.hartsteve.com/2013/06/sharepoint-online-powershell/
http://www.sharepointnutsandbolts.com/2013/12/Using-CSOM-in-PowerShell-scripts-with-Office365.html
Thanks
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
Office 2013 removed grammar & writing style options for Portuguese (Brazil) language
The pt-br (Portuguese - Brazil) proofing tools for Office 2010 included many grammar options but apparently these have been removed in Office 2013. Pt-pt (Portuguese - Portugal) still retains these options for some reason. I asked about this issue on
-
Icound gives you 5GB storage witch is great for one device. However when you link multipol devices to the same account the 5GB is not enough. I feel Icloud want me to set up multipol clouds making management difficult of my products. Where is the in
-
HP M1120 mfp: two sided printing doesn't work
After that I have installed Snow Leopard the double printing doesn't work any more. There is someone that have found a solution to this problem?
-
My iPhone 5 screen keeps going completely dark and I have to struggle to see the icons and navigate to brightness and fix it , but when I get to the brightness seething it is where I left it ( not on lowest setting ) also have have a issue with my so
-
Hey So I left my Ipad 2 on charge and it was working absolutely fine. Later on when I came in the room to check up on it, it had a blank screen and the Ipad was lit in the background as it was giving off the dark blue light but nothing on the screen