Connection in jsp with a sas server?

Hi i have a problem with connecting a jsp-application to a sas server.
I have the following code used to make a connection.
[begin code]
[import the packages]
<%@page errorPage="ErrorPageKBO.jsp" %>
<%@page import="com.sas.rmi.Connection"%>
<%@page import="com.sas.rmi.Rocf"%>
<%@ page import="java.io.*,
java.util.*,
java.net.*,
               javax.servlet.*,
               java.sql.*,
               java.util.Date,
com.sas.collection.StringCollection,
com.sas.servlet.beans.*,
com.sas.servlet.beans.html.*,
com.sas.servlet.util.*" %>
[code used for connection]
String Lang="";
if (session.getAttribute("lang").equals("nl"))
     Lang="Dutch";
if (session.getAttribute("lang").equals("fr"))
     Lang="French";
     Connection connection = new Connection();
     connection.setHost("Localhost");
     connection.setFunnel(true);
     connection.setFunnelHost("Localhost");
     connection.setProfileName("local1");
     connection.setUseProfile(true);
     Rocf rocf = new Rocf();
     // Begin code om de connectie en rocf objecten in de sessie te zetten.
     com.sas.servlet.util.BoundRocf br = new com.sas.servlet.util.BoundRocf(rocf);
     com.sas.servlet.util.BoundConnection bc = new com.sas.servlet.util.BoundConnection(connection);
     session.setAttribute("cleanupConnection", connection);
     session.setAttribute("cleanupRocf", rocf);
     session.setAttribute("cleanupBc", bc);
     session.setAttribute("cleanupBr", br);
     // Einde code om de connectie en rocf objecten in de sessie te zetten.
     session.setAttribute("rocfAttr",rocf);//nieuw
     com.sas.sasserver.submit.SubmitInterface si = (com.sas.sasserver.submit.SubmitInterface)
          rocf.newInstance(com.sas.sasserver.submit.SubmitInterface.class, connection);
     com.sas.servlet.util.SocketListener socket = new com.sas.servlet.util.SocketListener();
     String pgmText;
     if (request.getParameter("V")!=null)
          pgmText=
          "data _null_;"                                                                                     + "\n" +
          "     call symput(\'ond_nr\',PUT((INPUT(\'" + request.getParameter("V") + "\',HEX.)-TODAY()),Z10.));"               + "\n" +
          "run;";                                                                                     
     else
          pgmText =
          "%let ond_nr="+request.getParameter("ON")+request.getParameter("ON1")+request.getParameter("ON2")+";";
     pgmText=pgmText +
          "%let UpdForm=" + session.getAttribute("updateProfile") + ";" + "\n" +
          "%let lang=" + Lang + ";"                                                                                 + "\n" +
          "libname initieel 'd:/rawdata/ftproot/KBO/initieelprivate';"                                                   + "\n" +
          "filename sock SOCKET '" + (java.net.InetAddress.getLocalHost()).getHostAddress() + ":" + socket.setup()           + "';\n" +
          "%include \"d:/ecodata/nl/servlet/kbo_ps/sasprograms/private_onderneming_&lang..sas\";"                                        + "\n" +
          "%include 'd:/ecodata/nl/servlet/kbo_ps/sasprograms/private_onderneming.sas';";
     socket.start();
     si.setProgramText(pgmText);
     //out.write("<pre>" + pgmText + "</pre>");
     //out.write("<pre>" + si.getLastLogText() + "</pre>");
     pgmText=" ";
     socket.write(out);
     socket.close();
     rocf.stop();
     session.removeAttribute("rocfAttr");
[end code]
Now they say that to connect from a common server, where the jsp application is stored and executed, with the sas server named "sng3pubsearch". You just have to change "Localhost" into the name of the sas server!
But i did that and could'nt connect with the sas server.
I searched on the Internet and found out that you have to give as well the package name and the host.
But i don't know just how to code that?
Can anyone help me in this ?
Thanks a lot!
grts
Wimvg

Start by moving all this code out of the JSP and into a Servlet or something else. JSP's are for presentation and what you're doing is bad practice.
That said, you should use code tags when you post code. You should post the error if you're getting one (preferably a stack trace as well). And honestly, you haven't posted enough info for me to help. Maybe someone else has more info.
Try connecting with a standalone class first. Don't do this in a JSP unless you like headaches.

Similar Messages

  • How to create JDBC connection in J2ME with MS-SQL server?

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

  • Connection of jsp with sql for retreval of input data

    Sir,
    i am a beginner.
    i want to know how to connect jsp with the sql, and retrieve the values from the database.
    could u please help me.
    its urgent..
    thank you

    This has been asked many times so try using the search bar to the left of this page
    If you are using Tomcat, there is a tutorial within the documentation
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html

  • JSP with Microsoft sql Server 2005 Studio Express

    I have a database named CS352 in MSSQL 2005 Express version, I am using Tomcat 5.5, I am trying to connect to this database with jdbc driver jtds-1.2, but I can't connect, here is the code for the connection
    Class.forName("net.sourceforge.jtds.jdbc.Driver");
    java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:jtds:sqlserver://localhost:1433/CS352");
    it gives error for the second part
    java.sql.SQLException: Network error IOException: Connection refused: connect, what should I do to connect to database please help it is very urgent.

    when I say telnet 127.0.0.1 1433 or telnet localhost 1433 it say connection can not established destination computer rejects, what could I do to solve this problem, or how can I connect to mssql with a different approach, maybe using jdbc:odbc what is the diference if someone explain the differences and how can I cnnect with odbc or to solve the problem above (localhost1433 is not reachable), thanks for the help.

  • Error connecting jsp with MS SQL Server 2000

    Dear all,
    I have developed a simple application in java for connecting with SQL Server. But the same thing is not working in jsp. We are using Tomcat 4.0 as a server. Which jar files am I supposed to keep in the Tomcat folder and plz, give the entire path.

    There are three msbase.jar, msutil.jar and mssqlserver.jar. Put these in the /WEB-INF/lib directory of your application OR... if you will be writing multiple applications that use this, you can put them in the <%TOMCAT_HOME%>/common/lib directory.
    From there it should all be the same.

  • Code to connect jsp with MS SQL SERVER 2000

    i have my SQL Server in my local machine and i need to conne ct my jsp page with that instance.
    please provide a sample code to accomplish the same.
    along with that can you please send me procedure to establish a DSN for SQL SERVER 2000.
    thank you
    with love
    AnushhPrabu

    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL7.html
    This is a good way of achieving what you want to do. But I should mention that the approach is suitable only for smaller applications.

  • URGENT: Tomcat, Connection Pool - Issue with web.xml & server.xml

    Folks,
    I am trying to connect to a MS SQL database using Tomcat/JSP but having issues. The code that I am using is as follows:
    Context ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("java:comp/env/jdbc/test");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    I have added the following code to my Server.xml:
    <Resource name="jdbc/test" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="DB_AW_DATA" password="tester" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://192.168.0.1\\Newcastle"/>
    And the complete web.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE web-app (View Source for full doctype...)>
    - <web-app>
    - <resource-ref>
    <description>Resource reference to java.sql.Connection factory defined in server.xml</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    The error message that I am getting is as follows:
    java.sql.SQLException: Cannot load JDBC driver class 'null'
    What confuses me is that I have placed the following files in Tomcat\common\lib...
    mssqlserver.jar
    msbase.jar
    msutil.jar
    I think this is purely an issue with how I configured server.xml and web.xml
    In the Tomcat documentation it states to put the code in the server.xml - but nested inside the Context element. This is something that I have not done as I am clear what the Context should be..
    Can someone assist...
    <Context path="" docBase="ROOT" debug="0"> ???
    what should be the path and the docBase.
    I have deployed the following application:
    http://localhost:8080/SCWAPP/index.jsp
    THANKS IN ADVANCE FOR ALL SUPPORRT

    you should put the code you typed in server.xml into context.xml
    in the META-INF folder and this will fix your problem.
    the latest tomcat docs detail what to do.

  • Getting error in connecting ios simulator with SMP3.0 server

    Hi,
    We have configure ODATA service on SMP3.0 server  document provided by SAP of "How to configure Application using Security Profile". We are using the SAP Netweaver Gateway DemoSystem for calling the ODATA services-HTTPS (got access of it using http://scn.sap.com/docs/DOC-31221).We also use Server Certificate to get successfully ping to backend steps performed to import the OData Service URL certificate into smp_keystore.(by using  Getting Started with Kapsel - Part 1).
    Now we are trying to build Native app on ios platform using pdf provided in IOS Development study material with the exercise material provided by SAP to call the app deployed on SMP3.0 server.But we are getting an
    Error:- Could not connect to server(screenshot attached) client side
    Error:-.
    2014 02 27 23:42:07#0-800#WARN#com.sybase.security.http.HttpAuthenticationLoginModule##anonymous#http-bio-8080-exec-4###Anonymous authentication is not supported. |
    2014 02 27 23:42:09#0-800#WARN#com.sybase.security.http.HttpAuthenticationLoginModule##anonymous#http-bio-8080-exec-4###Server responded with the status code "401"|
    Can anyone please help me out in resolving this issue.
    Thanks,
    Anjali Agrawal

    Hi Brenton,
    As I have performed the steps for server certificate exchange with SAP Netweaver Gateway DemoSystem which provides me with Sample OData Service (HTTPS) it does not include any need to use"Allow Anonymous Connection" option even without using that I am able to successfully ping the backend server as shown below..
    Know my requirement is to make Native app and get  my ios device/simulator to connected to SMP server 3.0.
    So I am referring the link Getting Started with Kapsel - Part 8 -- AuthProxy which specifies a need to generate client certificate(which will help in authentication betn the client and server when using HTTPS).
    Here also have successfully exchange the client and server certificate but when theirs need to generate the .csr I am getting the following error:-
    Error:-keytool error: java.lang.Exception: Alias <sapserverca> has no key
    Have stuck here badly and not able to find out solution I think their might be some step missing in this document or some thing which we are not doing correctly.
    Can u please help me
              -With some material which involves steps to generate the CSR
              -Some link which will help in configuring OData Service(HTTPS) in SMP3.0
    Any of your guidance regarding this will be helpful to us.Will be waiting for your reply.
    Thanks,
    Anjali Agrawal

  • Number of connections in JSP with pool cache connection

    I'm using a Bean from examples, its name: "ods", this is Pool Connection Cache, when a user start connection, this open 10 connections. In my project works 20 users, the DBA prefers don't use too many connections. The version of DB is 8.1.7 and web server 9iAS.
    How do I do?
    Can I use other number of connections by session?
    What is the most rapid connection for work?
    The instruction used is:
    <jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
    Thanks
    MIGUEL ANGEL CARO
    [email protected]

    Hi,
    Please repost your question in the J2EE forum. This forum is for Web Cache issues only. Sorry about the confusion.
    We'll be changing the title of this forum soon to avoid mispostings.

  • Connecting Via COM with Indesign CC Server

    Hi
    We are currently using Adobe CS5 Server - and connecting to it VIA COM.
    We are looking to upgrade to Indesign CC Server - but we want to know if we can still connect to it via COM ?
    Best Regards
    Martin

    Yes, Adobe InDesign CC Server still supports the COM interface, and it is hard to imagine they would change this. If you download and install the trial, you can test it for yourself... looking at page 24 of the "Intro to InDesign CC Server" document that comes with the install, they have all the same language and no indication of any changes related to the COM interface.
    Max Dunn
    Silicon Publishing

  • How to connect Canon MP470 with USR5461 Print Server on Leopard 10.5

    The main problem I had with adding this printer is that the drivers from Canon's website do not work. Do not download and use the CUPS driver provided from Canon.
    You need to use this driver which should be included on your MacBook: Canon PIXMA MP150 - Gutenprint v5.1.3
    Here are the steps:
    1) Go to System Preferences
    2) Click on Print & Fax
    3) Hold down alt/option next to control and click the + sign to add a printer.
    4) Select advanced from the tabs above. Note: If you do not see an advanced icon on the top toolbar, right click and click customize toolbar to add the advanced button (the fact that you have to do that is weird to me).
    5) Wait for a little while when you enter into advanced and it will eventually give you a list of printing protocol types. Select the drop down labelled types and select Internet Printing Protocol (http)
    6) Enter the URI http://192.168.2.1:1631/printers/My_Printer
    7) If you changed your router address replace 192.168.2.1 with whatever address you use to access your router's settings page.
    8) Select the driver Canon PIXMA MP150 - Gutenprint v5.1.3
    9) You may enter the location of your printer if you want i.e. Brad's Room or where ever your printer is located.
    10) Click add printer.
    11) You should be back to the Printer & Fax screen. Double click the newly added printer on the list to your left. That will open the printer queue.
    12) Then select Printer from the system menu on top and select print test page.
    13) Make sure your printer is on and everything is connected.
    14) Happy printing.

    Actually there is a better way. I had been having problems on my new Macbook with OSX 10.5 but not on my Mac Mini running OSX 10.4. After doing some searching I figured out that it had something to do with the way 10.5 handles CUPS whatever that is. After sitting on hold with Apple forever they blamed it on USR even though my other Mac running 10.4 and my Windows machines all work fine.
    Since Apple refuses to admit it is there problem here is the work around I came up with. It is a two parter. Before you start make sure your printer driver is installed just like you would if your printer was connect directly to your Mac.
    First Part
    1) Open the "printer and fax" control panel
    2) Delete the old printer set up through the USR5461
    3) Click the "+" sign to add a new printer
    4) Here is the tricky part apple doesn't tell you. You need to go into "advanced set up but there is no obvious way to do that. Right click on the blank spot next to more printers and select "customize tool bar".
    5) Click and drag the sprocket called "Advanced" to the tool bar"
    6) Then click the "advanced" icon in the tool bar.
    7) Give it a few seconds before clicking anything. Then in the "type" drop down menu choose "internet printing protocol (http)"
    8) Enter the IP address of your printer (the default for the USR5461 is http://192.168.2.1:1631/printers/My_Printer)
    9) Name the printer and fill in the location field with whatever you like
    10) From the drop down menu choose "select a printer to use" and then find your printer driver.
    11) Then hit the "add" button at the bottom and you are done with the first part
    Second Part
    1) Use your browser to go to http://192.168.2.1/device.asp (this may require you to log into your USR5461)
    2) About halfway down you will see "Check the U.S. Robotics Web site for an update." and click the link
    3) The link takes you to a page where you have to select your device (USR5461 under "wireless")
    4) There you can find a "beta firmware update 3.93.35.0.9 (Jun 5 2008)", download that.
    Then go back to http://192.168.2.1/device.asp and upload the firmware file and choose "ugrade"
    5) Once you do this it will take about 30-60 seconds for your USR5461 to come back online. Wait until it is completely rebooted and check the firmware to make sure the update is correct. If so you are done with the second part.
    Now try printing. I hope this works for everyone.
    Well, to get the Advanced tab choice, I had to customize the Add Printer toolbar: there you can add a handy Advanced button. Press that, and there you'll find the Tiger functionality hiding!

  • Connecting BI Pub with Microsoft SQL server 2008

    I am trying to connect Microsoft SQL server 2008 as a Data source in BIP .
    Using below info :
    Driver Type : Microsoft sql server 2005
    Database Driver class : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection String : jdbc:sqlserver://TXHOURDB71D:1443;DatabaseName=StewartAccessIntegration
    I am unable establish the connection and the username and password which I giving is right for the connection.
    Please let me know if I am missing any config steps.
    AJ

    Officially, you got to use Hyperion drivers.
    For BIPublisher 10.1.3.4 and ++ to connect to Ms sql server,
    use the following
    This works well and better.
    Driver class = hyperion.jdbc.sqlserver.SQLServerDriver
    Connection String = jdbc:hyperion:sqlserver://SERVERNAME:PORT;DatabaseName=DBNAME;
    http://winrichman.blogspot.com/2009/04/hyperion-driver-to-connect-to-ms-sql.html
    In older versions.
    you can also copy the drivers to the lib folder or applib folder and try what you were doing.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b32481/toc.htm#T498352

  • Is it possible to use Adobe Connect Trial account with Moodle Test server?

    When I did the Test Conection I got the following message. Any suggestion will be grateful.
    A series of tests have been run in order to determine whether the Adobe Connect Pro server has been properly setup for this integration to work and to also determine whether the user credentials provided in the activity global settings has the correct permissions to perform the neccessary tasks required by the activity module.  If any of the tests below have failed, this activity module will not function properly.
    For further assistance and documentation in how to set up your Adobe Connect Pro server please consult the MoodleDocs help page for this activity module Help page
    Sending common-info call:
    successfully obtained the session key: em1breezh9zsy9oet3zotmo8
    successfully logged in as admin user
    Testing retrevial of shared content, recording and meeting folders:
    error obtaining shared content folder
    XML request:
    <?xml version="1.0" encoding="UTF-8"?> <params><param name="action">sco-shortcuts</param></params>
    XML response:
    <?xml version="1.0" encoding="utf-8"?> <results><status code="no-access" subcode="no-login"/></results>
    error obtaining forced-archives (meeting recordings) folder
    XML request:
    <?xml version="1.0" encoding="UTF-8"?> <params><param name="action">sco-shortcuts</param></params>
    XML response:
    <?xml version="1.0" encoding="utf-8"?> <results><status code="no-access" subcode="no-login"/></results>
    error obtaining meetings folder
    XML request:
    <?xml version="1.0" encoding="UTF-8"?> <params><param name="action">sco-shortcuts</param></params>
    XML response:
    <?xml version="1.0" encoding="utf-8"?> <results><status code="no-access" subcode="no-login"/></results>
    error creating meeting testmeetingtest folder
    XML request:
    <?xml version="1.0" encoding="UTF-8"?> <params><param name="action">sco-update</param><param name="type">meeting</param><param name="name">testmeetingtest</param><param name="folder-id"></param><param name="date-begin">2013-05-10T15:04:44.000+01:00</param><param  name="date-end">2013-05-10T16:04:44.000+01:00</param></params>
    XML response:
    <?xml version="1.0" encoding="utf-8"?> <results><status code="invalid"><invalid field="folder-id" type="id" subcode="format"/></status></results>
    error creating user  testusertest
    XML request:
    <?xml version="1.0" encoding="UTF-8"?> <params><param name="action">principal-update</param><param name="first-name">testusertest</param><param name="last-name">testusertest</param><param name="login">[email protected]</param><param name="password">96105C5415A5D79FA9EA073F7C5DD501</param><param name="extlogin">[email protected]</param><param name="type">user</param><param name="send-email">false</param><param name="has-children">0</param><param name="email">[email protected]</param></params>
    XML response:
    <?xml version="1.0" encoding="utf-8"?> <results><status code="no-access" subcode="no-login"/></results>

    HTTP header authentication is explained here: http://help.adobe.com/en_US/connect/9.0/webservices/WS5b3ccc516d4fbf351e63e3d11a171ddf77-7 ff5_SP1.html#WS5b3ccc516d4fbf351e63e3d11a171ddf77-7fe4_SP1

  • Probelm client auth from jsse client with open ssl server

    I tried to connect jsse client with a openssl server.. with clientAuth
    This is what i did ..
    Using openssl req comand i created a X509 certificate for server and imported the same to java keystore..
    The communication works fine without client authentication.
    To enable client auth i create client private/public key pair using keytool and exported the public key to a file client.public. and used it in open ssl server .
    This is how i invoke the client ..
    java
    -Djavax.net.debug=all
    -Djavax.net.ssl.trustStore=cacerts
    -Djavax.net.ssl.trustStorePassword=changeit
    -Djavax.net.private -Djavax.net.ssl.keyStorePassword=password EchoClient
    After which i get following error in server
    SSL3 alert write:fatal:handshake failure
    SSL_accept:error in SSLv3 read client certificate B
    SSL_accept:error in SSLv3 read client certificate B
    ERROR
    17246:error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate:s3_srvr.c:1666:
    shutting down SSL
    CONNECTION CLOSED
    The client debug says it is recieving a certificate request.. what could be the problem.. can anybody help...

    i also have that problem. I was trying to configure SSL in apache in Win XP machine, but this error occurs. Is there anyone, who can help on it?

  • 500 Internal Server Error when including a JSP  withing a Report JSP

    Hello,
    Please help me. Thanks in advance.
    My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc)
    When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error.
    Am attaching the trace here.
    [Thu Aug 04 23:25:06 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183506781,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:42 2005] [notice] FastCGI: process manager initialized
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_15.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0030: Failed to connect an
    oc4j process. This request is recoverable.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    Kindly reply a solution soon. I am in an urgent need to resolve this.
    Thank you very much.
    Regards
    AB

    Hello,
    Please help me. Thanks in advance.
    My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc)
    When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error.
    Am attaching the trace here.
    [Thu Aug 04 23:25:06 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183506781,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535578,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535609,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:35 2005] [warn] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0187: Failed to find an oc4j
    process within destination:[home] and island id: default_island for session failover.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0150: Failed to deterministicly
    find a failover oc4j process for session request for island: default_island for destination: home.
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0119: Failed to get an oc4j
    process for destination: home
    [Thu Aug 04 23:25:35 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183535687,2] MOD_OC4J_0013: Failed to call destination:
    home's service() to service the request.
    [Thu Aug 04 23:25:42 2005] [notice] FastCGI: process manager initialized
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_15.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0030: Failed to connect an
    oc4j process. This request is recoverable.
    [Thu Aug 04 23:25:50 2005] [error] [client 127.0.0.1] [ecid: 169.254.171.3:94461:1123183549640,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    Kindly reply a solution soon. I am in an urgent need to resolve this.
    Thank you very much.
    Regards
    AB

Maybe you are looking for

  • Duplex Printing options in Livecycle Designer ES

    Hi all, I am new to using Adobe Livecycle Designer ES 8.2. Issues 1: What are options available to print "Duplex Flip Long Edge" and "Duplex Flip Short Edge". I have tried the following options File + Form Properties + PDF print options + "Selected D

  • Query in bc4j view object?

    I am creating a vo based on employees table(hr demo schema) . It has managerid column , i want to display manager name instead of managerid. So in my view object i want Employees : FirstNAme, Lastname, email and managername. How to do a query like '

  • Text displayed when mouse at coordinate

    Hi, I think this is a hard one. I've been looking around the net on how to do this, can't find any info. Firstly is this hard to implement? The problem: I have a JPanel. What I want to happen is some predetermined text to appear over the mouse or in

  • Where are my bins and clips?

    I just transferred a project from fcp6 to fcpX using 7toX. In fcpX, I can see all of my sequences in the browser, but not any of my bins or clips. I'm new to fcpX, is there some sneaky way to find my clips in the browser? I'm pretty sure I did the tr

  • Cant get Apple Mobile Device to start since recent update

    In my contol panel servies its already set to automatic and start is the only option it will allow me to do and when i do that it says the AMD serivce on local computer started and stopped, some services stop automatically if they are not in use by o