Communication between Appliation Server and Database Server
If a web app is deployed to an Oracle Application Server, this AS machine is physically connected to an Oracle Database (server) machine in the same location:
For the purpose of sending and retrieving data from AS server to/from DB server, do I need to install any communication/network software on the both (AS and DB) machines? If so, what kind is needed?
Otherwise, I would assume two network cards plus a cable/wire will do (but not sure).
Thanks
Scott
If you are using the Oracle Type 4 (thin) JDBC driver, you shouldn't need to configure the tnsnames.ora or sqlnet.ora files.
Neither the OCI nor the thin driver will use ODBC, which is generally only available on Windows. Sun puts out a JDBC-ODBC bridge driver, but I don't know of anyone that has intentionally used that particular driver in production code in years. Whether the thin driver is faster than the OCI driver depends heavily on the driver version and the particulars of your application's workload. It's generally best to benchmark both with your code if you are concerned with driver performance.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Similar Messages
-
ARCHITECTURE OF SAP R/3 AND APPLICATION SERVER AND DATABASE SERVER IN ABAP
ARCHITECTURE OF SAP R/3 AND APPLICATION SERVER AND DATABASE SERVER IN ABAP?
PLEASE EXPLAINhi
<b>Presentation Server</b>
It is actually a program named sapgui.exe.
It usually installed in users workstation.
The interface accepts the input from the user in the form of keystrokes, mouse-clicks, and function keys, and sends these requests to the application server.
It receives and displays the result from the application server.
<b>Application Server</b>
An application server is a set of executables that collectively interpret the the ABAP/4 programs.
Each application server has a profile called application server profile, that specifies its characteristics when it starts up and while it is running. It specifies:
1. Number of processes and its types.
2.Amount of memory each process may use.
3. Length of time a user is inactive before being automatically logged off.
If your ABAP/4 program requests information from the database, the application server will format the request and send it to the database server
<b>Database Server</b>
The database server is a set of executables that accepts database requests from the application server.
These requests are passed on to the RDBMS (Relation Database Management System).
The RDBMS sends the data back to the application server.
The RDBMS may run on database servers computer or may be installed on its own computer.
The components of application server are dispatcher, dispatcher queue, work process.
All requests that come in from presentation servers are directed first to the dispatcher.
The dispatcher writes them to the dispatcher queue.
The dispatcher pulls the requests from the queue on a first-in, first-out basis.
Each request is then allocated to the first available work process.
A work process handles one request at a time.
The work process needs two memory areas, the user context and the roll area.
The user context is a memory area that contains the information about the user.
The roll area is a memory area that contains about the program execution.
<b>User Context</b>
User context is a memory area that contains the characteristics of a user that is logged on the R/3 system.
1)It holds, users current settings.
2. The users authorizations.
3. The names of the programs the user is currently running.
When a user logs on, the user context is allocated for that logon. When logs off, it is freed.
<b>Roll Area </b>
A roll area is a memory that is allocated by a work process for an instance of a program.
It holds the information needed by R/3 about the program execution, such as: 1. The values of the variables
2. The dynamic memory allocations
3. The current program pointer.
Each time a user starts a program, a roll area is created for that instance of the program.
If two users are using the same program at the same time, two roll areas will exist-one for each user.
The roll area is freed when the program ends.
Both roll area and the user context play an important roll in dialog processing
<b>pls reward points dor useful ans</b>
<i>regards
vivek</i>
Message was edited by:
Vivek Saxena -
Socket Communication between java client and c++ server
HI,
In my project,I want to do the following:
1.Sending datas from client to server.
2.Getting the response from server to client.
I written the client in java.but the server is in c++.
Is it possible to communicate with the server using java codings itself?
Im able to send the data from my java client to the server.
but unable to get back the datas from server to client.
Can anyone tell me how to do this?
thanks a lothi
thanks for ur reply.
I didnt get any error msg while getting the back the datas.
Actually i divided my application into two parts.
My application will act as both server and client.
server ll get the browser request and send to the client and the client will send that data to the c++ server.
Im able to do that.and unable to get the data from server.
Didnt get any error.
can u tell me how to make an application to act as both client and server.
I think im wrong in that part.
thanks a lot -
What are the differences between Oracle AS and Database Server?
Hi
I have quesstions:
1- what are the main differnces between Oracle Application Server 10g and Oracle Database Server 10g ?
2- does the oracle J developer 10g come with Oracle application server or comes standalone?
3- is there any integration between the three above application , and how it are working together?
thanks
Suhaib1) At its simplest level a Database Server is a database so for storing data and an application server is for running the applications (which will probably access the data in the database server).
2) JDeveloper comes stand alone or as part of the Oracle Developer Suite which is a collection of tools for building applications.
3) Yes they are integrated. More details on otn.oracle.com/products/ias
Regards
Grant -
Communication between J2ME MIDlet and J2SE server
In my project I need to be able to exchange SMS messages between a J2ME MIDlet and a J2SE server? Is that possible? I tried the following:
I included the CLDC, MIDP and WMA libraries in the classpath of my J2SE server and tried to use the wireless messaging API in the J2SE server. I get the following error message while trying to establish a MessageConnection:
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.midp.Configuration.getProperty0(Ljava/lang/String;)Ljava/lang/String;
at com.sun.midp.Configuration.getProperty0(Native Method)
at com.sun.midp.Configuration.getProperty(Configuration.java:34)
at com.sun.midp.io.InternalConnector.<clinit>(InternalConnector.java:91)
at javax.microedition.io.Connector.open(Connector.java:158)
at javax.microedition.io.Connector.open(Connector.java:138)
at javax.microedition.io.Connector.open(Connector.java:120)
Can anybody provide any suggestions?The communication should be done through these ports: https://social.technet.microsoft.com/Forums/windowsserver/en-US/6de9c3f0-2841-4a74-80bb-46a02779124b/which-tcp-ports-does-a-workstation-use-to-authenticate-to-ad-and-get-group-policy?forum=winserverNIS
To have better visibility, you can setup a network sniffer like Wireshark and observe the traffic.
As the ADFS and DCs will be located in the same LAN then it should be okay as no filtering should be done (Unless if this is done on local firewalls of the servers).
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
Error in the Socket Communication between Java Client and VC++ Server
In my application, using Java Client to do socket bi-communication with VC++ Server, which is done by somebody else.
The error is after the application properly running one or two days, the VC++ Server cannot receive the messages passed by java Client, but at Java client, everything is the same, although using CheckError() after every print(), there is no exception thrown.
The JVM is jdk1.3.1, platform is Win2k Server.
The outputstream is PrintWriter().
Please help me to settle down this problem. Thanks in advance.I read some thread in the forum, and found somebody had the similar problem with me. Just want to know how to settle this problem.
In the client/server program. Client is a JAVA program and Server a
VC++ program. The connection works, and the problem appears after some time. The Client sends a lots of requests to Serverm, the server seems receive nothing. But at the same time, the server is able to send messages to Client. The Client also can get the messages and handle them. Don't understand why there this problem and why it appears when it wants.
The client is a Win2k platorm with JDK1.3.1 and the server is also a Win2K platform with VC++ 6.0.
In the Client, using:
inputFromServer = new BufferedReader(new InputStreamReader(socket.getInputStream()));
outputToServer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())),true);
Hope can get your help. -
Orcale App Server and Database Server in a distributed setup
Hi,
I had a question about orcale db server. Now, as I understand it in a cluster there is one database SERVER and each machine in the cluster has access to the shared database server.
The entire cluster presents a unified view of the database server. To the developer it appears as though there is only one database server.
Is it possible to have several such clusters and run a query across these clusters in a transparent manner? Say I have Table 1 on database SERVER 1 and table 2 on database SERVER 2. Given the current architecture SERVER 1 is on CLUSTER 1 and SERVER 2 is on CLUSTER 2. Can I run a query joining Table 1 and Table 2 such that I do not have to worry about where CLUSTER 1 is and where CLUSTER 2 is? I am nit talking about partiitioning where one table is spread across nodes in a CLUSTER but is still within the same database server.
Regards,
SandeepHi,
I had a question about orcale db server. Now, as I understand it in a cluster there is one database SERVER and each machine in the cluster has access to the shared database server.
The entire cluster presents a unified view of the database server. To the developer it appears as though there is only one database server.
Is it possible to have several such clusters and run a query across these clusters in a transparent manner? Say I have Table 1 on database SERVER 1 and table 2 on database SERVER 2. Given the current architecture SERVER 1 is on CLUSTER 1 and SERVER 2 is on CLUSTER 2. Can I run a query joining Table 1 and Table 2 such that I do not have to worry about where CLUSTER 1 is and where CLUSTER 2 is? I am nit talking about partiitioning where one table is spread across nodes in a CLUSTER but is still within the same database server.
Regards,
Sandeep -
Communication between a GUI and a Server
Hi,
I have created a main JFrame which in turn initializes a Server object.
The Server (multithreaded) accepts socket connections.
Is there any way for the Server to report back at the GUI that a connection request was received (so as to print a message to the user) without the need to pass a reference to the JFrame to the constructor of the Server object?
(I am asking this because I've read somewhere that a good programming technique is not allowing the children know their father objects)Within Swing you will find a mechanism called the "listener". You can for example implement a MouseMotionListener interface on one of your classes and then register that with specific Swing components to receive mouse movement events on that object for example.
I suggest using a similar mechanism within your server. -
Communication between mobile browser and proxy server
hi
I am trying to connect to internet in mobile through my proxy server.I wrote codings for that.Using my code i am able to get the request from the mobile browser but the problem is i am unable to connect to the proxy server
The following is my code for sending the request to the proxyserver and getting back the response:
s = (SocketConnection)Connector.open("socket://"+hostname+":"+port);
/*OutStream to write the request to the proxy server*/
OutputStream out = s.openOutputStream(); PrintStream outw = new PrintStream(out); outw.print(requestHeader +"\r\n"); /*Inputstream to read the response from the proxy server*/ InputStream in = s.openInputStream();
/*writing the response in the browser */
byte[] buffer = new byte[1024];
int len;
while((len = in.read(buffer)) > 0) {
os.write(buffer, 0, len);
is my coding correct?or i need to change anything in my codings?
This coding is working fine in emulator and displaying the correct output in the desktop browser.but in mobile it is not working?
Thanks a lothi
yes nothing is returned from the browser
request from the browser means
whenever u type say,www.google.co.in in your browser
the following type of request will go to the proxy server,after getting the request the proxy server will check for the host address and then it connects to the webserver and get the response and send it back to the browser.
for google page the request is
GET http://www.google.co.in/ HTTP/1.1
Host: www.google.co.in
Accept: text/html, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/css, multipart/mixed, text/vnd.wap.wml, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.met.ticket, application/x-wallet-appl.user-data-provision, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.wap.mms-message, application/vnd.wap.sic, text/x-co-desc, application/vnd.oma.dd+xml, */*
Accept-Charset: iso-8859-1, utf-8, iso-10646-ucs-2; q=0.6
Accept-Encoding: gzip,deflate,identity;q=0.9
Accept-Language: en
Cookie: PREF=ID=dc8dc6e63dab6e09:TM=1156324791:LM=1156324791:S=FgovcdMV93Mm4Li7
Cookie2: $Version="1"
User-Agent: Nokia6630/4.06.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1
x-wap-profile: "http://nds1.nds.nokia.com/uaprof/N6630r100.xml"
in the code u have given the value of the host is http: only -
About application server and database sever
where does apllication server and database server located in a us client project
Edited by: madhu sudhan on Feb 21, 2008 11:02 AMInterface: it is a program that performs communication with External system from SAP.
There are two types of interfaces:
1. Inbound Interface: External system sends the data to SAP
2. Outbound Interface: SAP sends the data to External system.
Let's take a scenario:
There are two Systems SAP ERP and Seibel CRM
Scenario1: Whenever an Order is created in Seibel CRM system it has to be transferred to SAP where the Order confirmation, Delivery and Billing will be performed. This can be enabled by using IDOC as inbound interface.
Scenario2: Whenever a New customer is Created in SAP ERP this customer data has to be transferred to Seibel CRM using Outbound IDOC / RFC.
Basically interfaces are implemented using RFC, BAPI, ALE/IDOC.
INTERNALLY SAP IS 3-TIER ARCHITECTURE -
Upgrading both SharePoint 2010 server and DB server with latest available patch
We have 2 servers in the farm ( SharePoint server and Database server)
We are planning to patch the database server and SharePoint server as well at the same time.
For this activity I have found some ways :
Way 1:
First I will do the patching in SP server and run the configuration wizard.
Once it's finished , I will shutdown the SP server.
Start patching in SQL server
After done in Sql server , I will restart the SP server.
Way 2:
First I will do the patching in SP server and run the configuration wizard.
Once it's finished , I will disconnect the SP server from SQL server by using the configuration wizard.
Start patching in SQL server
After done in Sql server , I will reconnect both the server's.
Way 3:
I don't follow any one of the above ways. Simply patch both the server's one by one (Here might be, when we do the DB server patch upgrade database connection failed entries will be track into event viewer because of DB server unavailability )
Here my questions are :
If disconnect the server's from each other , can I reestablish the connection again ?? Is there that option ???
Is it compulsory to disconnect / shutdown the SP server while patching in DB server ???????
Suppose I don't follow any of the above way , cause any issues ?????
If any DB connection related entries will track into Event Viewer, is this cause any issues ?????
Any suggestions would be appreciated.
RameshNKPatching order will not matter. You also do not necessarily have to shutdown SharePoint while patching SQL. Yes, SharePoint will throw errors in the Event Log and ULS log.
I might suggest patching SQL Server first, simply because it is quick and in my experience, "safe". That is, the patching process works and works well. It is unlikely you'll come out with an unserviceable SQL Server instance.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
IPhone SDK : Communication between iPhone client and a remote server
Hi,
This is w.r.t iPhone Cocoa Touch native application.
i need to populate my application 's data from a remote application server ( which in turn connects to the database) . I require some tips in the communication between client sitting on the iPhone and the remote application server. I am planning to proceed in XML transaction way.
I referred the SeismicXML sample application provided by Apple. In this sample,client reads the physically existing xml file from @"http://earthquake.usgs.gov/eqcenter/catalogs/eqs7day-M2.5.xml"; and the client parses the xml file and display the content on the table view.
i have following 2 queries ,
1. I do not want to read from a physically present file,i want the data to be transferred on the go.
Means, request should be sent from the client to a application server and the server process returns the data in form of xml file ( but its not creating any physical xml file) .
Basically i am looking for request - response concept.
2. Can we call a java process(which returns xml data) running on a remote server from the cocoa touch client.? If not java process,what would be other best way...
i am going through the Apple provided frameworks. Do any of the iPhone SDK frameworks support this request? If some one has any idea on the above mentioned queries, pls help me.
any pointers will also be helpful.
It might be too early to talk about these,but i have to take some business decision related on this.
thanks in advance.You already know how to send a string via HTTP Post? And you know how to make XML into a string? Put the two together.
-
Communication protocol between Admin Server and Managed Server
Hello - I am hoping someone can help me here to understand the communication protocols used in my setup.
Here is my understanding of the protocol that are used between each component.
End User <--->HTTPS<--->LoadBalancer Device<--->HTTPS<--->Web Server<---->HTTPS<--->WebLogic Server(Managed Server)<--->LDAP/JDBC<-->Data tier components
AdminServer<--->T3<--->Managed Server i.e. The communication protocol between Admin Server and Managed server is T3
The communication protocol between Managed Servers running in one cluster on two seperate machine is What?
Thank you.Hello, interesting question.
In the documentation " [cluster multicast communication|http://download.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/features.html#1007001] " don't specify the used protocol to pack the information for example in a session replication.
Although in a session replication all objects must be serializable i don't think rmi protocol is used.
I hope some expert give us some light in this issue :-)
http://download.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/features.html#1007001 -
There is a compatibility range mismatch between the Web server and database
HI,
Taken backup form production environment through TSM backup utility and restore same db on UAT environment by TSM Utility, after restore got below issue, past i had done many time but working fine this time
it’s not working. Production environment have SP2010 and sql server 2008 ,UAT have same thing also.
Server Error in '/' Application.
There is a
compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been blocked to due to this incompatibility. This can
happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and
build level to return to compatibility range.
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException:
There is a compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within
the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the database must be upgraded to the same version and build level to return to compatibility range.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack
trace below.
Stack Trace:
[SPUpgradeCompatibilityException: There is a compatibility range mismatch between the Web server and database "Portal_Contain", and connections to the data have been
blocked to due to this incompatibility. This can happen when a content database has not been upgraded to be within the compatibility range of the Web server, or if the database has been upgraded to a higher level than the web server. The Web server and the
database must be upgraded to the same version and build level to return to compatibility range.]
Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.ValidateBackwardsCompatibility() +542
Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +63
Microsoft.SharePoint.SPWeb.InitializeSPRequest() +258
Microsoft.SharePoint.WebControls.SPControl.EnsureSPWebRequest(SPWeb web) +365
Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +520
Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) +27
Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +918
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterHi Bhavik,
UAT Portal_Contain DB version given below:
Version ID
Version
id
00000000-0000-0000-0000-000000000000
12.0.0.4518
1
00000000-0000-0000-0000-000000000000
12.0.0.6219
3
00000000-0000-0000-0000-000000000000
12.0.0.6327
4
00000000-0000-0000-0000-000000000000
12.0.0.6421
5
00000000-0000-0000-0000-000000000000
12.0.0.6510
6
00000000-0000-0000-0000-000000000000
12.0.0.6514
7
00000000-0000-0000-0000-000000000000
14.0.6123.5006
9
1A707EF5-45B2-4235-9327-021E5F9B8BB0
4.1.6.0
8
6333368D-85F0-4EF5-8241-5252B12B2E50
4.1.18.0
2
Production Version given below:
00000000-0000-0000-0000-000000000000
12.0.0.4518
00000000-0000-0000-0000-000000000000
12.0.0.6219
00000000-0000-0000-0000-000000000000
12.0.0.6327
00000000-0000-0000-0000-000000000000
12.0.0.6421
00000000-0000-0000-0000-000000000000
12.0.0.6510
00000000-0000-0000-0000-000000000000
12.0.0.6514
00000000-0000-0000-0000-000000000000
14.0.6123.5006
1A707EF5-45B2-4235-9327-021E5F9B8BB0
4.1.6.0
6333368D-85F0-4EF5-8241-5252B12B2E50
4.1.18.0
I have matched both are the exact same.
Run the below command on App server:
Upgrade-SPContentDatabase
cmdlet Upgrade-SPContentDatabase at command pipeline position 1
Supply values for the following parameters:
Identity: Portal_Contain
Confirm
Are you sure you want to perform this action?
Performing operation "Upgrade-SPContentDatabase" on Target "Portal_Contain".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
WARNING: Database [SPContentDatabase Name=Portal_Contain] cannot be upgraded.
Kindly suggest
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| Twitter -
Any issue with application server on 32 bit and database server on 62 bit
Hi Experts,
Please confirm that application server on 32 bit and database server on 62 bit will not cause any communication related performance issues between the servers ?
Thanks
RamanHi Anurag,
the .Net server for BPC 7.5 NW and the app/web server for BPC 7.5 MS can both run on either 32- or 64-bit server OS. However my understanding is that they are still 32-bit processes and as such have the same limitations on 64-bit windows as they do on 32-bit (in particular the addressable RAM limitation at 4 GB)
Note, and this is important, that this is for version 7.5 only. The BPC 7.0 MS web/app server HAS to be on 32-bit OS.
Best regards,
Bruno Ranchy
Maybe you are looking for
-
How to setup the clock to the second.
How to setup the clock to the second. I'm able to setup hours and minutes correctly but not the seconds precisely. Can I synchronize with an atomic clock?
-
Business Catalyst released subdomain not reusable
When developing my first Muse site, I used a number of temporary sites on BC for live testing with the client. Once everyone was happy then this was published to their server using the FTP feature. Having been brought up correctly, I then went onto B
-
I have created a customer exit which appears to be working fine when I test it, however when I use the variable in a query, it appears as if it is not populating the variable correctly. I have activated the code in the include ZXRSRU01, and the proje
-
Help! Network MGMT won't turn on.
Hello, I read in the documentation that this interfaces default state is set to enabled, however, it is not. The following command was ran from serial connection. In an attempt to turn on the interface. "set state=enabled" It returns "set: command fa
-
Removed by Moderator - stopping Function Module Deltas going into RSA 7
All, I am about to apply some support packs. I was able to stop the V3 updates for LO Cockpit jobs, but I have some others (like COPA) that run from Function Modules that need to be stopped as well. Does anyone know how to a) identify the jobs