Clustered Application server problem

Hi All
How does the address from clustered Application servers get resolved by J2ee?
I have a strange problem while working on Clustered App server on RAC.
After deploying the code on the server, the individul instances of the application seem to work perfectly, however the main URL(The one that should ideally resolve the n children URL) seem to give a lot of problems.
Can someone shed light on this?
Thanks
GN

I'll go ahead and answer my own question on this one, just in case it may save someone the research it took us to figure this one out.  It turns out we were running MS Server 2003 SP1.  There is a hotfix patch in SP2 that addresses the inability to put the object code on one server in the cluster and the print server on the other server in the cluster.  Strange that it worked fine with COBOL code - I guess because it came across as plain text files with no grapics.  After installing the hotfix on the server, it handles the CR file just fine.
Bill

Similar Messages

  • Application server problem after upgrade from 4.6C to ECC 6.0

    Hi all,
    We have recently upgraded our test server form 4.6C to ECC 6.0.
    In one of the programs we are using open dataset to write files to
    application server. This particular folder had been mapped through "Map Network
    Drive function" in windows. The path we have given in the program
    as "<Drive>:\<Folder>\File Name".
    Code :
    <b>DATA : zdsnb(45).
    ZDSNB = 'R:\SAPPayroll\zpaysheet.prn'
    OPEN DATASET zdsnb IN TEXT MODE.</b>
    In 4.6C this particular format was reading without any problem. But
    after the upgrade, system is throwing an error "File cannot be read".
    We have checked the NTFS share rights and rights for the mapped drive.
    It's "Everyone" full access.
    Our OS: Windows 2003 server 64 bit
    Database : MS SQL 2005 64 bit.
    Most of HR related testing is based on this access. Pl suggest a
    solution, so that we can go ahead with our testing and upgrade of other
    servers.
    Regards,
    Adeeb

    Am a little confused by which way your slashes are going, but if they're Ok try adding phrases below.
    open dataset p_uxfile <b>for input</b> in text mode <b>encoding default</b>.
    Best!
    Jim

  • Oracle Application Server problem

    Dear Zedi Masters(Oracles),
    I am facing a problem in my Oracle Application Server. The Installation works smoothly, but afterwards if I try to Reload the Webnode manager it gives an error saying the ORB cannot be started" and "start ORB manually" Can someone explain the problem and how to overcome it.
    I have also tried "owsctl reload" from the command prompt and have got the same reply.
    Thanx in anticipation.
    May the Force be with you.
    Anand

    I get the same error message - except that it happens without
    protection on the virtual directory and it continues to display
    the message when I reload.
    Regards,
    JJ
    Girish (guest) wrote:
    : Hi All
    : we are using Oracle Application Server 4.0 Enterprise Edition.
    : We are using PL/SQL Cartridges. We have set Client Session
    : property of pl/sql application is set to enabled. Also max
    : session idle time is set to 1800. We have also protected the
    : PL/SQL virtual path.(that is before accessing any stored
    : procedure from the virtual path ; user has to provide username
    : and password). Now when the user tries to access protected
    : virtual path the user name and password box gets displayed.
    But
    : after entering correct user name and password when user hits
    on
    : OK button message "Can not service this request, please try
    : again later" is displyed for the first time. After this
    message
    : if page is reloaded then proper page is displayed..
    : any ideas about why this is happening..
    : thanks in advance
    : Girish
    : have a nice day...........
    null

  • Files on application server problem.

    Hi Gurus,
    I am facing a problem in creadting dataset whose details is as below.
    Dataset path:
    idir = '/usr/DEV/local/tmp/200/brcd/idir/odr00023.txt'.
    OPEN DATASET idir FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    This command is giving sy-subrc = 8.
    because of this file is not opening in write mode but available for reading.
    What may be the problem.
    right solution will be awarded with points.
    Regards
    Rajesh

    Hi,
    that means u r unable to write in application server the path u mentioned...try with other path and see....
    basically the below code is used ,whcih u have done.plz have a look ..Try with other path and see if it is working for u..
      Download internal table to Application server file(Unix)
    DATA: e_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.
      open dataset e_file for output in text mode.
      lOOP AT it_datatab......
        transfer it_datatab to e_file.
      ENDLOOP.
      close dataset e_file
    Regards,
    Nagaraj

  • Oracle AS adapter 10g R3 installation on clusters Application server

    Hi,
    I want documentations or steps for installing oracle AS adpater 10R3 on oc4j application server(clustered).
    Existing components:
    Oracle AS server in clustered mode
    Oracle SOA Suite 10.1.3.5
    Over this I want to install oracle AS adapter.I have few queries
    1.Do I have to install AS adapter separately on each node of the cluster?
    2. Is there any specific steps that need to be followed why installing AS adapter in clustered environment.
    Thanks in advance
    Regards,
    Tharanath

    1.Do I have to install AS adapter separately on each node of the cluster?
    Ans:Yes
    2. Is there any specific steps that need to be followed why installing AS adapter in clustered environment.
    Ans:No

  • Sun application server problem

    HI all
    when i run any web service program the server couldnot be started and could not deploy my program.....
    the error appeared is :
    "server start up time out exceeded 120 seconds could not deploy ur project:
    Message was edited by:
    mahmoud_ahmed

    how can i use the tomcat server in NB IDEYou can use either the bundled tomcat server or the bundled Sun Java System Application server for a given application. (In fact, you can also register any other 'supported server' with the ide and work with that server. Go to the 'Runtime' tab in the explorer window. Right-click an add-server menuitem; you will be taken to a dialog box where you will be presented with a list of supported servers; if you have any of those installed on your machine, you can register them with the ide).
    To run a project on tomcat, open the project properties window (from the right-click menu of the project in the project window) , select 'Run' category and select the required server from the 'Server' dropdown list.
    will it also crash?If the problem is with the application, then it is very likely that it will crash on tomcat too. On the other hand, if the problem is with the server settings, then it is possible that the app may run in one server but not on another...
    if used another program as JBUILDER will it needs also the SJSYes; you will need a webserver or an application server to deploy your web applications. NetBeans IDE provides a robust environment that helps develop and debug web apps but the apps themselves are deployed on an appserver.
    what do u mean by the server stack traceOn the runtime tab, right-click on SJSA and select 'view server log' to view the server log. (For a running tomcat, you can right-click and select 'view server output'...)
    i am using SJS 8.2 on NB IDE 4.1You may want to use later versions of NB (5.0 or 5.5 beta2; http://www.netbeans.org/downloads/index.html).
    Have u tried the samples and tutorials at:
    http://www.netbeans.org/kb/50/quickstart-webservice.html
    http://www.netbeans.org/kb/articles/tutorial-webservice-consume-part1.html
    http://www.netbeans.org/kb/articles/tutorial-webservice-consume-part2.html

  • Oracle 9.0.1 and Sun Java Application Server problem

    Hello
    I am gonna configure Oracle's (9.0.1) thin JDBC driver (only for JDK 1.3) on Sun Java Application Server 8
    I copied the class12.zip to domain1/lib/ext. I add the usr name and passwd in domain1/config/domain.xml.
    it looks like
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="oracle.jdbc.pool.OracleDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="OraclePool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
    <property name="url" value="jdbc:oracle:thin:@localhost:1521:ora9i"/>
    <property name="Password" value="tiger"/>
    <property name="User" value="scott"/>
    It doesn't work though. Anybody know the problem?
    Thanks a lot

    You should use the oracle 9.0.3 ojdbc14.jar or a later version, not classes12.zip.
    The config looks like for me:
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="oracle.jdbc.pool.OracleDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="my-oracle-pool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="16">
    <property name="URL" value="jdbc:oracle:thin:@localhost:1521:mydb"/>
    <property name="user" value="user"/>
    <property name="password" value="mypass"/>
    </jdbc-connection-pool>
    You will also need to boot the server after adding the jar files to lib/ext

  • Consistent Application Server problem

    Hi, I'm running OAS infrastructure and BI on the same box as I am running Database 9i, and BI Publisher. OAS is 10gR1.
    The database and BI Publisher seem to work without a problem, however, Application Server has a habit of shutting down, and not easily recoverable (Infrastructure seems alright, Forms does not want to run without a reboot on a near daily basis). I am running on a Windows 2003 Server, with 4GB RAM on a Intel Xeon 3050.
    This is a development box. We are considering using a stack similar to this (albeit a better server) for clients. Could all the different applications on here be causing this issue?
    Thanks,
    Scott

    Sounds like you're having multiple levels of issues, probably all caused when your ASDB shuts down. Since it hosts your Infrastructure & Identity Management, when it goes, almost everything else would.
    Any info in your alert.log for your DB when it shuts down? What about the Windows Event log?
    I've seen incorrectly configured anti-virus cause contention issues with db files & bring the db to a halt. Are you running any anti-virus? If so, do you have folder exclusions in place to skip the data, control, redo, & archivelogs?

  • After Installing Application Server - Problem connecting to my Databases

    I have 10g installed on my Windows server, and have no problems connecting to my database(s). After I install Application Server 10g, I am no longer able to connect to any of them, as if the TNSNAMES.ORA file is no longer configured correctly. I am training myself on these applications. Anyone have any suggestions what is happening behind the scenes?
    Thank you,
    Daniel Nadler

    After deploying a jsf application via the web interface of the application server enterprise manager I tried to connect to the 10g database - and it failed with the same error as yesterday?
    I really don't unterstand what is going on. I would really appreciate it if someone could point me out where to start digging for a solution / unterstanding of the problem.
    Quoting this thread (installing db on same server as AS): 10gAS and Database Server on the same machine
    >
    Yes, you can do this. Here are some guidelines:
    (1) Make sure your system requirements are sufficient to handle the application server and the database. The recommendation is to add the AS system requirements and the DB system requirements together.
    (2) Install each product into its own Oracle home. For example:
    - Oracle Home 1: AS Mid-tier
    - Oracle Home 2: AS Infrastructure (including Metadata Repository)
    - Oracle Home 3: Database
    (3) If your AS installation includes a Metadata Repository, make sure that the
    Metadata Repository and the database use a different SID and global db name.
    (4) It is possible that the Metadata Repository and the database can share
    port 1521. Review this information before you start your AS installation:
    http://download.oracle.com/docs/cd/B14099_19/win.1012/install.1012/install/reqs.htm#CIHEBFDG
    The installation guide under (4) tells me that I don't have to worry since I use a new listener version.
    To complete the confusion: on my virtual test machine oracle 10g and oracle AS 10g work fine side by side?? Perhaps because I did a Standard Edition install of the database (on the real machine I used Enterprise Edition)? Is there a way to figure out what kind of install I did?
    Lots of questions, any help or links are really appreciated! Thanks in advance!
    ------------------ EDIT -------------------
    Whoops, I might had a problem with a not correctly shut down database (just shutted windows down without killing the instance - didn't know this wasn't ok). Still evaluating the issue. But to say the least, it seems the application server has nothing to do with my problem :)
    Message was edited by:
    mathias.ringhof

  • Application Server Problem

    Dear All,
    I installed Oracle AS forms and reports services on a test machine.
    I want to configure tnsnames.ora of the AS to connect to a database in another server.
    could you plz give me an example of this configuration
    Os info: Windows 2000 Server
    Oracle info: Oracle Application Server (Forms and Reports Services 9.0.4)

    On AS machine you can use Net Configuration Assistant, within Oracle menu, to configure TNS aliases. Anyway, here an example for ORCL database, with the listener running on port 1521 :
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <DB server name or IP Address>)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
      )Note that TNS alias (ORCL) might be whatever name you want.

  • About Application Server problem.

    My Application Server has installed Win2003 .
    Do i must install windows terminal server on the Win2003 if i want to run window application?

    Yes, you would need to have Windows Terminal Services enabled on the server first.
    See:
    http://docs.sun.com/source/819-4309-10/en-us/wcp/gettingstarted/terminal_server_config.html
    for additional configurations

  • Sun Java Application Server problem

    Hi!
    Last year I developed a small servlet that would enable access to a serial port on a Windows system (a school project that required reading various parameters from a Microchip Microcontroller and display those params in a web age). The servlet works just fine when deployed on JAKARTA-TOMCAT servlet container (also tested recently and works fine on JAKARTA-TOMCAT 5.5.7).
    A few days ago I tried deploying the little web application on Sun Java Application Server and when I tried to initialize the serial communication (set the COM port and BAUD RATE), I get the following error:
    java.security.AccessControlException: access denied (java.io.FilePermission E:\j2sdk1.4.2_04\jre\lib\javax.comm.properties delete)Cand any one help? (I use the javax.comm to perform all the actions concerning the serial port. Also, my servlet uses a CommunicationClass that I have developed - inheriting the javax.comm.SerialPort as my base class).

    Well, I read some of the tutorials on security and file access stuff.
    What I found confusing is why does the application work fine when deployed in other web containers (TOMCAT, APACHE), and does not work in this one (SUN JAVA APPLICATION SERVER)??
    Also, the sdk is installed on a NTFS partition... I double check the permissions for the sdk directory and they're ok: read & execute for all users, write only for some registered users.....
    PS: please have some patience with me, as I am a novice in this matters (I am migrating from the C# and .NET environment - and that stuff is full of wizzards:P)

  • Using Toplink with Servlets in a Clustered application server

    I am having some problems with Toplink.
    Basically, I have a collection of HttpServlets that manipulate a domain object and its various collections of objects. The general technique is to place the domain object in the HttpSession, and have each Servlet modify this object by retrieving it, modifying it, and storing it when necessary. The problem is that since this application is running in a clustered environment, the object in the session may or may not be the same object returned from Toplink. It may be a serialized clone of the object from another server on the cluster.
    This has caused several problems. First, if I am using indirction for the collections, when the domain object is deserializaed, it throws an exception when it tries to instantiate the indirection. Next, when trying to store the object, it is not registered with a unit of work, and I am not sure how to properly account for this. Third, there is a many to many relationship. The user may pick one such object, and add it to the domain object being manipulated. This seems to cause problems when the object is read from Toplink, and added to the domain object that is a serialized clone.
    Anyway, my question is, what is the general pattern for handling an object being manipulated on a HttpSession in a clustered environment, where this object(s) may or may not be the actual objects returned from Toplink? My goal is to have a factory return one DatabaseSession per cluster server, and be able to load, store, and manipulate these objects in the HttpSession.
    Here is an attempt at code:
    import java.io.*;
    import java.util.*;
    import oracle.toplink.expressions.*;
    import oracle.toplink.sessions.*;
    public class DataAccess
    private static Project project = new MyToplinkProject();
    private static DatabaseSession session;
    private UnitOfWork unit;
    public DataAccess()
    unit = getDatabaseSession().acquireUnitOfWork();
    public ArrayList getAllCustomers()
    Vector v = (Vector) session.readAllObjects(Customer.class);
    return new ArrayList(v);
    public Customer getCustomerForUpdate(Customer c)
    Customer custCopy = (Customer) unit.readObject(c);
    return (Customer) unit.registerObject(c);
    public Form getCustomer(String id)
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression exp = builder.get("id").equal(id);
    return (Customer) session.readObject(Customer.class, exp);
    public void saveCustomer(Customer cust)
    unit.deepMergeClone(cust);
    unit.commitAndResume();
    private synchronized DatabaseSession getDatabaseSession()
    if (session == null)
    session = project.createDatabaseSession();
    session.login();
    session.setLog(new PrintWriter(System.out));
    session.logMessages();
    return session;
    public void destruct()
    release();
    public void release()
    unit.release();
    session.release();
    Anyway, from this code I hope you can see what I am trying to do. The basic idea is that a Customer object provided for store and update may or may not be a serialized copy. Also, the object returned from a read may be serialized before the indirction is attempted.
    Thanks for any help,
    Jason Wilson

    Hi Jason
    A single static DatabaseSession and a single static UnitOfWork is not the recommended way of working with TopLink from a servlet. Our recommendation is that you create a single ServerSession object and that every time a servlet needs to interact with a TopLink Session, the servlet first acquires a ClientSession from this ServerSession object and possibly acquires UnitOfWork from the ClientSession. A UnitOfWork is not intended to be shared by servlets, or by different clients.
    Basically, what you're attempting to do with the DatabaseSession is something we would recommend that you do instead with a ServerSession/ClientSessions combination.
    As for working with persistent objects that you store in an HttpSession, I will try to give you some relevant background. First off, the UnitOfWork is intended to be used to manage the changes to a set of objects in a SINGLE TRANSACTION. It is always much easier to manage if these transactions are short-lived (ie if there is one transaction per ServletRequest.
    However, the fact that you are talking about storing objects in the HttpSession makes me think that you are also considering long-running transactions that are may be spread out over several ServletRequests. You should definately consider this decision very carefully. If you want to continually edit an object that is stored in the HttpSession, then we need to consider how to manage when the object's changes should be committed to the database and how to manage concurrency when two users have the same object in their respective HttpSession objects.
    One idea is not to store the actual object in the HttpSession but instead to store the "id" of the object (something that you can use to find the correct object when the same user makes another request). So servlets always:
    -acquireClientSession
    -find the object that they are working with (based on information in the HttpSession)
    -if the object is to be edited then a UnitOfWork provides clones of the object (this isolates you from changes that some other user makes to the same object)
    -at the end, commit the changes to the object.
    When the user makes another request, the object they read will have their changes. So, functionally, this is the same as storing the actual object in the HttpSession, except TopLink can provide proper ACID behavior for any updates that you decide to make. And don't worry about the added "expense" of having to query at the beginning of each servlet request; if you are storing the "id" of the object in your HttpSession, then you a simple cache hit is all that is required to get back the correct object. You don't have to go the database at all.
    JIM

  • Starting SOAMANAGER from Application server Problem

    Hello,
      We can get SOAMANAGER to start when attached to the Database server in our ERP2006 running with Oracle on Solaris, but when we are running on one of the Application servers we can not get SOAMANAGER to start.  Is there some parameter or setup that is needed to get this to work from one of the Application Servers?
    Thanks,
    Dan Adams

    Hi,
    Is the ICM started on your Application servers ? If not, SOAMANAGER will not run when launched from an appserver because the URL is genrated with the hostname of the appserver.
    On my system where ICM is started on CI and DIA servers, SOAMANAGER runs from every server.
    Regards,
    Olivier

  • Problem with clustering of oracle application server 10.1.3.1

    Hi
    I have clustered two instances of oracle application server 10.1.3.1 running on solaris.
    Instance 1
    <notification-server interface="ipv4">
    <port local="6100" remote="6200" request="6003"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
         <topology>
              <nodes list="10.x.x.1:6201"/>
         </topology>
    </notification-server>
    Instance 2
    <notification-server interface="ipv4">
    <port local="6101" remote="6201" request="6004"/>
    <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
    <topology>
              <nodes list="10.x.x.2:6200"/>
         </topology>
    </notification-server>
    But when i log on to enterprise manager i get the following message on top of the page:
    You have more than one instance of the Application Server Control application running in this cluster. This is not a recommended configuration and could lead to unexpected problems. Please stop the additional instances of Application Server Control or disable routing to these instances.
    When i click on one of the instances, i get the session expired error.
    what is the problem behind this?
    regards,

    In the doc, it states that you should only ever have one active instance of application server control running in a cluster at a time -- ASC was not designed to operate as a session sharing application, so your session state is specific to one instance. If for some reason you were directed to the ASC application on the other instance, you get errors.
    You can use the OC4J admin_client.jar utility or the opmnctl command to shut down the ascontrol application in one of the instances.
    -steve-

Maybe you are looking for

  • How to set IP address to deployed application ?

    Hi, I downloaded OC4J server and extracted it and deployed a web service to it. When I am trying to access the web service on same machine there is no problem but when I am trying to access on another machine connected through LAN it's not working. I

  • Windows Server 2012 - Backup failing with Exchange - The application will not be available for recovery from this backup. the consistency check failed

    Hi We have a Windows 2012 server with Exchange 2013, all is working fine except now i am getting issues with the backup. 'Exchange - The application will not be available for recovery from this backup. the consistency check failed for the component M

  • Need to change the system status in CRMD_ORDER

    Hi, The status of the deffect is set to "Relase Items" in crmd_order. Now if i try to do any changes it is not allowing me to change. Is there any way to reset the system Status . Your help is appriated. Regards, Srilu. Edited by: Srilu.M on Oct 15,

  • Download to .csv

    Hi Gurus, Is there any possible way where i can ask the CRM on Demand to download the .csv output on a particular system or on a location of our own choice. Regards, Ravi R

  • Tables for two users.

    Hi, i have a question. I have installed two users in the same Tablet Pc. In the data folder i have two tables for the same SyncBo (one for each user). I need a sql sentence or standard java function to identify the table that correspond to a user. Th