RubyOnRails hosted with Oracle Appliation Server (very slow)

Hi,
i tried to host a rubyOnRails application on a oracle application server (more precisley: the included Apache).
The test to use fastcgi stops with segmentation fault in the ruby framework....
I am using Solaris 10 and installed ruby via www.sunfreeware.com
rails with gem
fcgi from www.fastcgi.com (compiled with gcc)
fcgi package for ruby with gem
Any experts out there?

I'm sorry but currently I do not have SPARC hardware :-(
Can you run "public/dispatch.fcgi" without error?
Or, try Rails's FastCGI test case. The file name is "fcgi_dispatcher_test.rb". It should be in the railties/test directory under the installation directory of Rails. Run it with ruby and see if you can reproduce the segfault.
If you can, try to get the stack trace with GDB, like this:
gdb --args ruby fcgi_dispatcher_test.rb
and you will see the stack trace when ruby gets the segfault. If there are not function names but only "??"s in the stack trace, you have to compile ruby with the debug symbols first, using gcc's "-g" option.
By the way, there are lots of information about FastCGI in Rails on Rails's wiki:
http://wiki.rubyonrails.com/rails/pages/FastCGI
Also, FastCGI is not quite easy to configure. I recommend Mongrel or SCGI.

Similar Messages

  • FOI theme (Oracle Maps) rendering very slow

    I sniffed the network traffic when a FOI theme is rendered on a map. I determined that for each feature of the theme a network request is sent to the server fetching the corresponding marker. Fetching markers has a big impact on the performance.
    I think that fetching the same marker for each feature is not nessary.
    Is there a way (undocumented feature or patch) to avoid this from happening?
    Thanks in advance,
    Jeroen

    Hi,
    Experienced the same issue. I would like to hear from Oracle Maps development team if they are going to do something with it because our Map with active theme is very slow (rendering of markers and also panning the map). Without active markers it's fast.
    thanks,
    Branislav

  • Correct version of jdeveloper to use with Oracle App Server 10g 10.1.2.0.2

    Hi,
    I just want to be sure, I am new to JDeveloper and I would just like to verify/ask what correct version of JDeveloper should we use so we could deploy the finished applications on our Oracle Application Server 10g 10.1.2.0.2 without errors?
    Looking at this support matrix: http://www.oracle.com/technology/products/jdev/htdocs/11/as_supportmatrix.html#1013
    I think we can use JDeveloper 10g (10.1.2)?
    I downloaded Jdeveloper 10.1.2 from this link: http://www.oracle.com/technology/software/products/jdev/htdocs/soft10g.html.
    Will this work well with Oracle Application Server 10g 10.1.2.0.2?
    Thank you very much,
    Mickey
    Edited by: [email protected] on Aug 13, 2009 2:20 AM

    Yes, it works well.
    --olaf                                                                                                                                                                                                                                       

  • How to isolate web applications at URL level with Oracle HTTP Server?

    We have 2 machines each for oracle web cache, oracle http server and oracle application server (oc4j). We would like to host many web applications on this infrastructure. We have an issue with application/web site isolation for maintenance purposes.
    We have several oc4j containers for different web sites/applications but they all use one instance of Oracle Http Server. When we need to make changes to an application/web site or introduce a new web site (URL), we change the OHS configuration and restart OHS on each of the machines.
    As we have many URLs hosted on this OHS and plan to host a lot more (may be around 300), we need a way to slice and dice the URLs so that every change or any change should not need to go through a regression cycle or testing cycle for all the applications each weekend (our change window). When we used Apache earlier, we used to be able to create multiple httpd.conf (process level isolation) to cater to different applications.
    We could do this with Oracle Http Server too but Oracle will not support us. I appreciate any advice or suggestion with this issue.
    Thank you
    Ramana

    Hi Joey,
    A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
    I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0)

    Hi all,
    I'd like to know if it's possible and how to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0), Windows version.
    With the following code, I can see that the mail.jar used by the server is the one included in the jdk installation :
    // I'm testing InternetAddress.class because I want to use commons-email-1.2.jar that requires mail.jar 1.4 (or higher) and activation.jar 1.1 (or higher)
    // and I know that inside the commons-email-1.2.jar file, I need to call the InternetAddress.validate() method that throws a java.lang.NoSuchMethodError: javax.mail.internet.InternetAddress.validate()V if it is used with mail.jar 1.2.
    Class cls = javax.mail.internet.InternetAddress.class;
    java.security.ProtectionDomain pDomain = cls.getProtectionDomain();
    java.security.CodeSource cSource = pDomain.getCodeSource();
    java.net.URL location = cSource.getLocation();
    System.out.println(location.toString());
    This code returns : file:/C:/oracle/app/jdk/jre/lib/ext/mail.jar and this mail.jar file has an implementation version number: 1.2
    - I've tried to include my own mail.jar (1.4.2) and activation.jar (1.1.1) files in the war file that I deploy, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I've tried to put the mail.jar (1.4.2) and activation.jar (1.1.1) files in the applib directory of my OC4J instance, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I know that a patch exists : I've read the following document: How to Make Libraries such as mail.jar and activation.jar Swappable ? [ID 552432.1]
    This article talks about the Patch 6514136, but this patch only applies to : Oracle Containers for J2EE - Version: 10.1.3.3.0
    Can you please help me ?
    Thanks in advance for your answers,
    Laurent

    I strongly suggest to upgrade to AS 10.1.3 to get this.
    Think of future support of AS 9.0.4. You will get not critical patch updates anymore.
    --olaf                                                                                                                                                                                                                                                                                                               

  • I am having a problem with my cs6 running very slow and when i save i am getting an error message that says, "This document is bigger than 2 gb (the file may not be read correctly by some TIFF viewers.) please help

    I am having a problem with my cs6 running very slow and when i save i am getting an error message that says, "This document is bigger than 2 gb (the file may not be read correctly by some TIFF viewers.) please help

    wen6275,
    It looks like you're actually using a camera or phone to take a photo of your monitor.
    That's not what is commonly known as a "screen shot". 
    It looks like you're on a Mac.  Hitting Command+Shift+3 places a capture of the contents of your entire monitor on your Desktop; hitting Command+Shift+4 will give you a cross-hairs cursor for you to select just the portion you want to capture.
    I'm mentioning this because I fear I'm not construing your original post correctly when you type "I am working with a large files [sic], currently it has 149 layers, all of which are high resolution photographs", so I'm wondering if there's some similar use of your own idiosyncratic nomenclature in your description of your troublesome file.
    Perhaps I'm just having a major senior moment myself, but I'm utterly unable to imagine such a file.  Would you mind elaborating?

  • Configure OID 10.1.4.0.1 with Oracle Application Server 10.1.3.3

    Dear gurus,
    I have configured OID 10.1.4.0.1 and MRCA 10.1.4.0.1 on database 10.2.0.3 with Oracle Application Server 10.1.3.3 (HTTP Server and OC4J Server). it went well, i could login into my oid or sso page. then i deployed a simple jar file into OAS 10.1.3.3 and i updated few lines in mod_osso.conf on midtier 10.1.3.3, so it look like this :
    ==================================================================================================
    LoadModule osso_module libexec/mod_osso.so
    <IfModule mod_osso.c>
    OssoConfigFile /u01/oraias/midtier/Apache/Apache/conf/osso/osso.conf
    OssoIpCheck off
    OssoIdleTimeout off
    # Insert Protected Resources: (see Notes below for how to protect resources)
    # Notes
    # 1. Here's what you need to add to protect a resource,
    # e.g. <ApacheServerRoot>/htdocs/private:
    # <Location /private>
    # require valid-user
    # AuthType Basic
    # </Location>
    <Location /JABSUAT>
    require valid-user
    AuthType Basic
    </Location>
    <Location /HR>
    require valid-user
    AuthType Basic
    </Location>
    </IfModule>
    # If you would like to have short hostnames redirected to
    # fully qualified hostnames to allow clients that need
    ==================================================================================================
    my application faces name is HR, so i called the URL http://devel.sas.co.id:7778/HR/faces/HomeMenu.jspx, the output was sso login page, so i did login with username : orcladmin and password : oracle1 but it turned me error page on browser, it said :
    =========================================================
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    =========================================================
    and i found that in /u02/oid/Apache/Apache/logs/error_log.1249430400 contains these lines :
    [Wed Aug  5 09:13:33 2009] [notice] Accept mutex: fcntl (Default: sysvsem)
    [Wed Aug  5 09:13:33 2009] [warn] long lost child came home! (pid 4924)
    [Wed Aug  5 09:14:01 2009] [error] [client 172.16.2.14] [ecid: 1249438441:172.16.5.11:5080:0:2,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 09:14:04 2009] [error] [client 172.16.2.14] [ecid: 1249438444:172.16.5.11:5068:0:3,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 09:14:24 2009] [error] [client 172.16.2.14] [ecid: 1249438464:172.16.5.11:5093:0:2,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 09:49:36 2009] [error] [client 172.16.2.14] [ecid: 1249440576:172.16.5.11:5074:0:20,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:30:01 2009] [error] [client 172.16.2.14] [ecid: 1249443001:172.16.5.11:5096:0:25,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:34:13 2009] [error] [client 172.16.2.14] [ecid: 1249443253:172.16.5.11:5102:0:26,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    [Wed Aug  5 10:58:58 2009] [error] [client 172.16.2.14] [ecid: 1249444738:172.16.5.11:5093:0:40,0] File does not exist: /u02/oid/Apache/Apache/htdocs/favicon.ico
    [Wed Aug  5 10:59:09 2009] [error] [client 172.16.2.14] [ecid: 1249444749:172.16.5.11:5093:0:41,0] \n[OSSO] E34: Unable to assure integrity of communication with SSO server.\n
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at devel.sas.co.id Port 7782
    Note : 172.16.2.14 is my pc and 172.16.5.11 is OID and MRCA's IP, please need your suggestion, Many Thanks.
    Regards
    Edited by: andes on Aug 4, 2009 9:23 PM
    Edited by: andes on Aug 4, 2009 9:28 PM

    Dear gurus,
    i have solved my problem, i re-run ssoreg.sh and re-configure mod_osso.conf, now it's working.
    Regards

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • Deployment Manager Error with Oracle Weblogic Server 10.3.1

    I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1
    Database:Oracle 11gR2 (remote machine).
    **I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3),
    The installation was successful and OIManager is up and running. Able to create Users, Resources etc. as well.
    As part of configuring OIM Connectors tried to Import .xml file using Import option from Deployment Management section as below and the following error was displayed.
    "Either your session timed out or you are trying to access a page without logging in".
    Did all workarounds like enabling java, changing browsers, restarting machine etc as per the below discussion but in vain.
    Deployment Manager Error with Oracle Weblogic Server
    Can any one suggest any workaround or solution for this problem.
    Or atleast can any one confirm there is no Identity manager available on this date which is compatible with 10.3.1? and cannot be continued further.
    Thanks in Advance
    Sudheer
    Edited by: SudheerPrabhala on Oct 20, 2009 1:26 AM

    You are facing this issue because you're using a non certified combination.
    Other folks who tried to use OIM in 10.3.1 ended up in the same problem you're facing.

  • Logon problem with oracle management server

    I have problem with Oracle Management Server when I connect to the OMS message comes
    The exception (java.lang.NullPointerException) occurred.
    if any body have any idea pls tell us

    Hi,
    Oracle has changed the Enterprise Manager from version 1.5 to 2.0 .
    With the new Oracle8i dataase server another service has been added.
    If you want to user the OEM you have to install The Managment Server.
    The Managment server has its own user and privileges and is recommended when using OEM.

  • Is Oracle E-Business Suite 12.1.3 certified with Oracle Application Server

    Is Oracle E-Business Suite 12.1.3 certified with Oracle Application Server Single Signon 10.1.4.3.0 on Linux x86-64 SLES 11 (not SLES 10) ?
    I do see Oracle Application Server Single Signon 10.1.4.3.0 listed on the certification matrix for R12.1.3 , however when I click on the OAS, it does not list SLES 11 , it only lists SLES10
    Database is 11.2.0.3.0
    https://support.oracle.com/epmos/faces/ui/certify/CertifyHome.jspx?_adf.ctrl-state=bxnumz1z8_277&_afrLoop=862843359573928
    Please advise ?
    Thanks!
    Edited by: userAnne on Sep 25, 2012 11:11 AM
    Edited by: userAnne on Sep 25, 2012 11:20 AM

    userAnne wrote:
    Is Oracle E-Business Suite 12.1.3 certified with Oracle Application Server Single Signon 10.1.4.3.0 on Linux x86-64 SLES 11 (not SLES 10) ?
    I do see Oracle Application Server Single Signon 10.1.4.3.0 listed on the certification matrix for R12.1.3 , however when I click on the OAS, it does not list SLES 11 , it only lists SLES10
    Database is 11.2.0.3.0
    https://support.oracle.com/epmos/faces/ui/certify/CertifyHome.jspx?_adf.ctrl-state=bxnumz1z8_277&_afrLoop=862843359573928
    Please advise ?
    Thanks!Oracle E-Business Suite 12.1.3 is certified on SLES 11 (64-bit).
    Oracle Application Server Single Signon 10.1.4.3.0 is certified on SLES 9/10 only and it is not certified on SLES 11 for (64-bit).
    Thanks,
    Hussein

  • Advantages and Disadvantages of Using Oracle 7 Client with Oracle 9 Server

    Hello,
    I was wondering what are the advanatges of using Oracle 7 client with Oracle 9 Server versus using Oracle 9 Client with Oracle 9 server.

    Some years ago I used 7.3 Client with 9i DB, and I don't remember of particular problems, but I'm speaking of Sql*Plus only. Are there specific problems ?
    Of course the best thing is to install one 9i Client (did you already do it ?) : if there are same problems, then that's not compatibility issue.
    And what are advantages of using 9 Client with 9 server other than 7 is no longer supported.You're sure you won't have compatibility problems.
    If you have access to Metalink have a look at [url http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOTE&p_id=207303.1]Note 207303.1

  • Backup to TimeMachine with WI FI is very slow!

    Backup to TimeMachine with WI FI is very slow!
    I set the backup with TM but backups and slow
    We can Help Me ?

    alexrav wrote:
    Backup to TimeMachine with WI FI is very slow!
    I set the backup with TM but backups and slow
    We can Help Me ?
    Yes, WIFI is slow. If this is your first backup, it will be much faster if you connect to your Time Capsule or Airport Express via an Ethernet Cable.
    Also try the things in item #D2 of the Time Machine - Troubleshooting *User Tip* at the top of this forum.

  • My IMac 2009 with snow Leopard is very slow. What can I do ? I'm french

    My IMac 2009 with snow Leopard is very slow. What can I do ? I'm french

    Patjan73 wrote:
    My IMac 2009 with snow Leopard is very slow. What can I do ? I'm french
    The first two things I recommend is boot from your installer dvd or external bootable drive and repair/verify your drives with Disk Utility (not repair permissions) and do a smc and pram reset.
    Also make sure you have at least 20GB to 25GB free space on your boot volume for OS operations.

  • Oracle Access Manager 11g r2 with Oracle Entitlement Server 11g r2

    Hello,
    I would like to set up a configuration with Oracle Access Manager 11g r2 where Authentication is against Active Directory, and Authorisation is against Oracle internet Directory
    Access Manager has to get authorizations from Oracle internet Directory via Oracle Entitlement Server
    I cant find any document describing how to integrate Oracle Access Manager with Oracle Entitlement Server
    could any one help ?
    Regards

    Hi all,
    I am facing some issue with the distribution of the policy in the security module of OES.
    The "application" distribution tab allows me to distribute the policy created but does not generate any distribution ID or address for webservice access.
    I am using OES 11.1.5
    Thanks in advance.

Maybe you are looking for

  • EasyLink Advisor for WRT54GS

    I am using the Linksys WRT54GS  EasyLink Advisor software that came with my router.  My computer is running XP windows. But I can not get the Adsvisor software to work, it is loaded into my system but when go to the program all my options are grey, I

  • External hard drive continually restarts my mac

    I have a Mac mini running the latest version of OSX. Everything with the Mac is fine. It works perfectly. Recently I had an issue with my email which led me to find out that I had two viruses on my computer. Fine. I downloaded a free Anti-Virus app t

  • A3DReviewer.exe - Ordinal Not Found

    I have Acrobat 9 Pro Extended and trying to open the Adobe 3D Reviewer and get: A3DReviewer.exe - Ordinal Not Found The ordinal 3003 could not be located in the dynamic link library TFKGEOM.dll I've searched around and have not seen any answers in th

  • Can't start Photoshop up anymore - HELP!!

    I recently got my new MacBook Pro and installed Adobe creative suite on to it with no problems. I have been using Photoshop/Illustrator/InDesign etc all week with no problems. The other day I installed The sims, Champioship Manager, C&C Generals and

  • Add alpha channel to a BufferedImage

    Hi, I am making a small jigsaw puzzle type game. I read an image from a file into a BufferedImage using ImageIO.read(). From this image I cut out rectangular pieces using getSubimage(). Then I would like to mask out the small figure cuts that should