Threading in Unix environment

I have developed an application based on struts that runs on 9IAS on a sun unix server connecting to an Oracle 9i database. For development purposes I simulated the application on a windows box using Oracle's OC4J standalone. The problem that I am having is that under a load 40 - 50 concurrent users, the connection to the database is dropping. The application runs great front to back normally.
I am storing some configuration paramaters in application state (Servlet context) upon loading of the application ( using a struts plugin) and then retrieving the parameters to do some queries on the DB. In my windows testing environment the application works great under a load. But on the Unix box it buckles. The only thing that I can think of is that the Unix box is starting new seperate instances of the servlet context that does not have the parameters stored in application state. In other words it is not calling the plugin.
Can anyone give me a point in the right direction as to where my problem might be coming from? Does Unix create new instances of the servlet context and run threads through them under a load?

Randy,
Pardon me for stating the obvious, but Oracle 9iAS is not the same as OC4J stand-alone. Have you tried running the application on UNIX using only OC4J stand-alone (as you have done on Windows)? You may find that OC4J (and your app) perform the same on both platforms (Windows and UNIX).
For your information, I think the Oracle Application Server - General and OC4J forums are probably more appropriate for your question.
Good Luck,
Avi.

Similar Messages

  • Error Registering 11g SOA Composite in Unix environment

    Hi All,
    We are trying to register a SOA Approval Composite with OIM 11.1.1.3 in the Unix environement . The SOA Process is getting successfully deployed , but when we are registering it , its throwing error as : "The task definition at default/ProvisioningApprovalFlow!1.0*soa_***************/ApprovalTask could not be read".
    However, same workflow is getting successfully registered and executed in Windows environment. Any suggestion what could go wrong here. I am providing here the error details . Any help is heartly appreciated.
    Exception in thread "main" oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Tasklist mapping failed for workflowdefinition:
    default/ProvisioningApprovalFlow!1.0 due to Invalid task definition.Ni
    [java] The task definition at default/ProvisioningApprovalFlow!1.0*soa_7abcd53a-69ca-4c93-909b-88e59015e026/ApprovalTask could not be read. The task definition is
    associated with workflow default/ProvisioningApprovalFlow!1.0*soa_7abcd53a-69ca-4c93-909b-88e59015e026/ApprovalTask.
    [java] Make sure that the task definition is available at the specified URL and that it is a valid XML document.
    [java]
    [java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    [java] at
    oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_1033_WLStub.registerWorkFlowDefinitionx(Unknown
    Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    [java] at $Proxy2.registerWorkFlowDefinitionx(Unknown Source)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceDelegate.registerWorkFlowDefinition(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    [java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    [java] at weblogic.security.Security.runAs(Security.java:41)
    [java] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    [java] at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    [java] at $Proxy3.registerWorkFlowDefinition(Unknown Source)
    [java] at oracle.iam.platformservice.workflowregclient.WorkflowRegistration.main(WorkflowRegistration.java:42)
    [java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Tasklist mapping failed for workflowdefinition:
    default/ProvisioningApprovalFlow!1.0 due to Invalid task definition.
    [java] The task definition at default/ProvisioningApprovalFlow!1.0*soa_7abcd53a-69ca-4c93-909b-88e59015e026/ApprovalTask could not be read. The task definition is
    associated with workflow default/ProvisioningApprovalFlow!1.0*soa_7abcd53a-69ca-4c93-909b-88e59015e026/ApprovalTask.
    [java] Make sure that the task definition is available at the specified URL and that it is a valid XML document.
    [java]
    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.mapWorkflow(WorkflowRepositoryImpl.java:132)
    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWorkFlowDefinition(WorkflowRepositoryImpl.java:113)
    [java] at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:231)
    [java] at oracle.iam.platformservice.impl.WorkflowRegistrationServiceImpl.registerWorkFlowDefinition(WorkflowRegistrationServiceImpl.java:38)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB.registerWorkFlowDefinitionx(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:597)
    [java] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    [java] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    [java] at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    [java] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    [java] at $Proxy507.registerWorkFlowDefinitionx(Unknown Source)
    [java] at
    oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.registerWorkFlowDefinitionx(WorkflowRegistrationServiceEJ
    B_f4otyb_WorkflowRegistrationServiceRemoteImpl.java:193)
    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_WLSkel.invoke(Unknown Source)
    [java] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    [java] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    [java] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    [java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    [java] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    [java] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [java] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [java] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Thanks
    Swati Pandey

    Has any one faced similar issue ?

  • Pass a Value to Variable from the unix environment in ODI (ELT)

    Hi
    i am very new to ODI environment.
    i want know how to pass a value to variables in oracle data integrator from unix environment.
    Example:
    Variable name : Sales
    for variable name sales i want to pass the value from unix environment.
    Regards,
    Raj
    Edited by: user11137587 on Aug 19, 2009 6:26 AM

    Work Around !
    You can execute OS commands using Jython script. Probably you need to flush your enviornment variables value into a file using jython script and then read those value into ODI variable from the file.
    BUt may I know why you want to read environment variable vaules in ODI, Dont you think this will make your application less portable
    Regards,
    Amit

  • How do I use a UNIX environment variable for the path of a file name

    We are running Forms 6i over the web. The forms server runs on a UNIX (HP-UX) machine.
    I want to read the contents of a file, which is simple enough, using the TEXT_IO package. However, I want to reference a UNIX environment variable that specifies the file path i.e
    PROCEDURE get_file IS
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(1800);
    filename VARCHAR2(200);
    BEGIN
    filename:= '$LOG_DIR/RCAS181.log';
    in_file := Text_IO.Fopen(filename, 'r');
    .....other stuff
    Notice the filename string references my unix env variable '$LOG_DIR'. However, this doesnt work. If I put the full pathname it works fine.
    Any suggestions ?

    Have a look at TOOL_ENV.GETVAR()

  • Oracle in Unix environment...suggest way to start....

    Hi,
    Still i was a pl/sql programmer in windows platform. Now a sudden requirement to work pl/sql in unix environment. I very much new to unix. I dont know how to proceed. Please suggest start point where should i start...please help me
    thanks
    asp

    Thanks sharma,
    'You are welcome.'>
    U have been a good experienced person in this forums
    'I do not want to take this comment. In fact, I would not deserve it'
    'My experience is just 3 years in the S/W industry and full-time Oracle is '
    ' just less than that. But I deliberately wanted to participate actively in'
    ' this forum to gain knowledge from the other GURUs. But anyway thanks'
    ' your responses to a member in the forum.'
    whether i have to learn any unix
    specific os commands or no need of unix os command
    knowledge.
    'This depends on your work. If it purely for Oracle, then you do not have to'Cheers
    Sarma.

  • SSO Configuration in UNIX Environment

    Hi,
    We are planning to impliment SSO between 2004s Portal with R/3, BW, and host of other non SAP application which supports SSO. All the applications are hosted in UNIX environment.
    Could anyone help us in understanding the pros and cons of having SSO in unix envrionment. Also you could give us any document (other than help.sap.com) which guides us in configuring will be of great help.
    Thanks
    Vivek Raj.

    Hi,
    There are no pros and cons for <b>SSO on Unix</b>. Needless to mention, the pros and cons of different operating systems supported by SAP.
    The steps involved to configure SSO remains the same for any of the SAP backend systems:
    1) Create a system on Portal and give a system alias to it.
    2) Download the verify.der file from Portal (System Administration -> System Configuration -> Keystore Administration)
    3) Log on to the backend SAP system.
    4) Use transaction STRUSTSSO2 and import the Portal certifcate (verify.der) to the SAP R3 or SAP BW or SAP CRM or for that matter any SAP system with ABAP stack.
    5) Give the values for EP system ID, client and language. Refer to this link : http://help.sap.com/saphelp_nw2004s/helpdata/en/78/f1a8490e7011d6999500508b6b8a93/content.htm
    6) Configure the backend SAP systems to accept and verify the logon ticket. Use RZ10 and set the parameters : login/accept_sso2_ticket=1 and login/create_sso2_ticket=1
    7) Restart your R3 or BW system.
    For non-SAP systems, can you just let me know which systems are you referring to ?
    Incase you need a document for SSO configuration, do send me your email address. You can also find documents in SDN Library.
    Regards,
    Sunil

  • Java program in UNIX environment

    Hi All,
    Could you please help me with how to configure a java program in UNIX environment..
    that is to schedule it to run every day from cron..
    I need to know what are the basic things we require to achieve the above..
    I guess it is:
    A script
    A config file containing db login details
    oher than this I don?t know what is required plz help

    You can execute any jar or class file with cron. If you are using a jar you might use something like java -jar /usr/bin/myapp.jar .
    I use Linux, this is my area of expertise.
    Here is an online guide "for complete newbies" on how to set up cron.
    http://www.unixgeeks.org/security/newbie/unix/cron-1.html
    Hope it helps.

  • Exception not throwing to action class in Unix environment

    Hi
    We are using Weblogic Server 9.2.3.0.
    One of our EJB is not throwing exception to calling Action class in Unix environment. Its working fine in Windows.
    Somehow the EJB is swallowing the exception.
    any idea? I suspect it may be environmental issue?
    thank you

    Thanx for your reply.. I just found a solution and would like to share that with you. There are some default request parameters passed by the portal to the action class. "strutsAction" is one of them. If you print this parameters, you will see that it contains the complete url of your action. Now you can use String manipulation to extract the value of the parameters.
    I know its a crude solution. But it works fine.
    Best regards,
    Omer

  • Monitor process on windows or unix environment

    Could we monitor a process using windows or unix environment using OEM?

    Look at the Program Resource Utilization, Program's Max/Min Process Count metrics, which are documented here, to see if they met your need.
    http://docs.oracle.com/cd/E11857_01/em.111/e17018/host.htm#BABIBAHD
    Regards,
    - Loc

  • Pro*Cobol in VMS to Unix environment

    Please let me know if I can use my current Pro*Cobol programs in
    Unix environment. We are planning to convert our platform to
    Unix. Presently I am using DCL on VMS. Thanks in advance for all
    your answers
    null

    HI
    It will still support Cobol in order to cater to the clients who are still in mainframe systems and those clients who have their legacy systems in Cobol.
    Regards,
    Bibs

  • How to create odbc (dsn) connection for OBIEE AND INFOR in unix environment

    Hi,
    we are establishing OBIA in Unix environment we set all the things fine but we are getting problem how to create ODBC connection
    for INFORMATICA AND OBIEE. I searched some blogs thats telling there is a ODBC.INI file we need to configure.
    but i am not getting clear idea to give parameters and it will not showing any TNSNAME ..........etc
    please any body give clear idea about how to create ODBC connection and LOCATION of that file AND parameter which i need to give.
    Thanks,
    charan....

    Hi Dpka,
    yah i already checked that one but i have not find out any parameter for TNS NAME information.
    is OBIEE connected to ORACLE DATA BASE without giving TNS information?............in UNIX OPERATING SYSTEM.
    pls give me the clear idea abt how to connect OBIEE, INFORMATICA to ORACLE DATA BASE IN UNIX ENVRNMENT
    thanks,
    charan.

  • Installation and deployment of operating system, applications and patches in Unix environment

    Is it possible to use Configuration Manager 2012 (or 2012 R2) to perform remote installation of operating system, applications and patching in a Unix environment?
    Balaji Kundalam

    ConfigMgr does not support Operating System Deployment for non-Windows OS flavors.
    You can use the ConfigMgr client on a Unix device to install applications and to instruct the device to install patches. Basically, the client will download files and run a script against them.  If there is a patch manager in your flavor of *nix, you
    can run a script to install the patches.
    See the supported operating systems here:
    http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigLnUClientReq
    I hope that helps,
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you've found a bug or want the product worked differently,
    share your feedback.
    <-- If this post was helpful, please click "Vote as Helpful".

  • JQuery.js not working in UNIX environment

    Hi All,
    My development environment is Linux with Apache and we are using Coldfusion 9.
    We have developed some part of our code using jQuery.
    This is perfectly working in our DEV environment.
    We shipped the same code to the Production Environment. Which is Coldfusion 5 and Unix Environment with Apache Server.
    The problem is the parameter passing to jQuery is always null.
    Is jQuery will not work in Coldfusion 5?
    Your help is needed.
    Thanks in advance!

    1. CF versions 9 and 5 and radically different.  I wouldn't expect code written for CF9 to run on CF5.
    2. CF runs on the server, jQuery runs in the brower, the version of CF on your server shouldn't be relavent.  You should look for the problem in the HTML, Javascript, CSS, etc. in the browser.
    3. We cannot help diagnose your problem without seeing the code that is causing the problem and any error messages you receive.
    4. If this is a issue with jQuery on the browser you might consider posting a question to a jQuery specific forum.

  • Convert word into html in unix environment

    We are in the process of developing a coldfusion web
    application which allows the users to upload resumes in word
    format. Once the word document is uploaded we need to convert the
    word document into html on the fly. We know it can be accomplished
    using com object in the windows platform. But ours is a unix
    environment. We need some coldfusion coding which can convert the
    uploaded word file into html. Please take note coldfusion server
    runs on unix platform in our case.

    For step 3 call a 3rd party component such as Aspose.Words to
    handle converting test.doc to test.html. I'd recommend wrapping
    this logic inside a CFC.
    For example using Aspose.Words java object appears to be as
    easy as the Java code:
    Document doc = new Document(getMyDir() + "Document.doc");
    doc.save(getMyDir() + "Document.ConvertToHtml Out.html",
    SaveFormat.HTML);
    Note: I've used the .NET version of Aspose.Words, not the
    Java version, but I've been pleased with the product.
    Aspose.Words formats supported
    http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/ com/aspose/words/saveformat.html
    You might also investigate Apache POI
    http://poi.apache.org/

  • Unable to compile .pll in Unix environment

    Hi
    I am trying to compile a .pll library file in a unix environment and its coming up with error message 'PDE-PLI018- could not find library PMS_MENU.pll'
    Regards and Thanks
    Dharmendra Jha

    Yea I have all the reference to the library.
    Basically what I am doing is
    1.making few changes to .pll file
    2.ftping the file to unix enviroment
    3.from unix prompt,I am typing the following statment to compile the .pll file
    f45gen MENU.pll userid=scott/tiger module_type=LIBRARYthis above statement fails to compile and returns the error message 'PDE-PLI018- could not find library PMS_MENU.pll'

Maybe you are looking for

  • Using empty interface -- is there a better way to do this?

    Hi, I have a set of classes in different projects that I'd like to be referenced together, although they have different methods depending on which project they're from. To do so, I've created an empty interface for each of these classes to implement,

  • Change network "name" of MacBook Pro?

    I logged into my router today to see what all was connected to it. I found all my computers and devices, but one was listed as a "*" for the name? It ended up it was my MacBook Pro. For example, if my iPod touch is connected, under the connected devi

  • Arch not compatible with Cairo Dock

    As you can see in this topic: http://www.glx-dock.org/bg_topic.php?t= - mess_65929 it turns out using menu system in Cairo Dock on Arch is not possible due to Arch sporting newest Python 3 rather than 2. Is there any workaround for it? I do need this

  • Replaced Display and see dots.

    I took my White MacBook to the genius bar because the batter wouldn't charge. I have the one year limited warranty and it's about to expire (unsure if I should buy the warranty bc it's too expensive for me), and While I was there I brought up another

  • NodeManager not able to start second managed server in same machine

    Hi, I am facing an issue, I am not able start a second ManagedServer(MG2) using nodemanager (through AdminConsole) My setup is as below: Server 1 1) Admin Server + ManagedServer (MG1) (INSTALL LOCATION: /opt/web/MyServer1) 2) Second Managed Server (M