Connecting to Oracle 9i with Sun One Web Server 6.1 SP4

I have an application that connects to an Oracle 9i database. When I run iPlanet 4.1, I am able to login to the application and run it. Since I have migrated to Sun One Web Server 6.1 SP4, I have not been able to login. Through some built in error logging, I have been able to determine that my user validation routine is receiving a Null pointer when it trys to connect to the database. I have also determined that my login servlet is executing properly. When I receive the Null pointer error, I am redirected to a failed login page, which is what is supposed to happen in such a case. I believe that I do not have the web server configured properly to connect to the database and I am not sure how to do it! Below is an excerpt from my code where the database connection occurs and the exception is detected. Any help would be appreciated!
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
          oracleConnect = DriverManager.getConnection("jdbc:oracle:thin:@" + chost + ":" + cport + ":" + csid ,u,p);
     enable = true;
oracleConnect.close();
}catch(java.sql.SQLException e){processError.logError("validateUser Invalue user" + e.getMessage()); enable = false;}
catch(java.io.FileNotFoundException e){processError.logError("validate User error" + e.getMessage());}
catch(java.io.IOException e){processError.logError("evalidateUser rror File Error " + e.getMessage());}
catch(java.lang.NullPointerException e){processError.logError("validateUser error Null Pointer " + e.getMessage());}

You are not using the server's built in JDBC Connection pooling, so there is no special WebServer configuration needed to connect to a database.
If in the other hand, you want to use the built in connection pooling, then refer to this page to see how to create a connection pool
http://docs.sun.com/source/817-1831-10/agjava.html#wp1085593
Samples on how to configure and use JDBC connection pooling can be found in the sample apps
http://docs.sun.com/source/817-1833-10/pwawap.html#wp40108

Similar Messages

  • SunOne 6.1 HTTP4044 error with sun one web server cluster

    use sun one web server 6.1 sp4 makeup cluster,transfer configure file have HTTP 4044 error.the /opt/SUNWwbsvr/https-admin/logs/error file message are:
    failure ( 4646): for host x.x.x.x trying to POST /https-x.x.x.x/admin/clxfer, cgi_scan_headers reports: HTTP4044: the CGI program /opt/SUNWwbsvr/bin/https/admin/bin/clxfer did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    Anyone have experience with this?

    Hi, I am also getting the same error, can someone please help me on this.
    [13/Jul/2009:05:23:21] failure ( 9574): for host X.X.X.X trying to GET /https-derivmatch/admin/security, cgi_scan_headers reports: HTTP4044: the CGI program /usr2/netscape/server61/bin/https/admin/bin/security did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    [13/Jul/2009:05:24:13] failure ( 9574): for host X.X.X.X trying to GET /https-derivmatch/admin/security, cgi_scan_headers reports: HTTP4044: the CGI program /usr2/netscape/server61/bin/https/admin/bin/security did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    Thanks a lot.
    Regards,
    Mallik

  • Problems with Sun One Web Server  6.1 with SP1

    I get errors while compiling my JSP files on SUN one Web Server which is deployed on Solaris 9. it states that cannot compile JSP pages. here is the stack trace that i get.
    [03/Feb/2007:19:11:17] warning (  354): CORE3283: stderr: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    [03/Feb/2007:19:11:17] warning (  354): CORE3283: stderr:      at org.apache.jasper.compiler.SunJava14Compiler$JavacTask.run(SunJava14Compiler.java:207)
    [03/Feb/2007:19:11:17] failure (  354): for host 192.168.123.2 trying to GET /reports1/jsp/common/ClientInstall.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)Please help. The Java version i am using is j2sdk1.4.2_08.

    It looks like the Web Server has somehow been configured to use a JRE. Web Server requires a JDK. The following message in particular indicates that a JRE, not a JDK, is being used:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainAre you using the JDK that shipped with Web Server, or did you attempt to configure Web Server to use a different JDK?

  • Sun One Web Server 6.1 SP4 crashes when filters are built with CC ver. 5.6

    Hi All
    We are using NSAPI interfaces to develop the filter for Sun ONE 6.1 SP4 Web Server. Filter was working perfectly fine when it was built using Sun WorkShop 6.0, CC Compiler ver 5.2.
    After we upgarded to Sun WorkShop 9.0, CC Compiler ver. 5.6, it no longer works. The web server crashes with Core. Please see the snippet below. There was however no change of code required for the upgrade.
    Please let me know if some specific compiler/linker flags has to be used for building filters with CC Compiler ver. 5.6.
    bash-2.03$ ./start
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    warning: CORE3283: stderr: 6950: CSemCounter created a semaphore with ID 25 using key 990470909.
    warning: CORE3283: stderr: [10/Nov/2005:18:50:35] [Information] Agent
    warning: CORE3283: stderr: Agent is enabled.
    warning: CORE3283: stderr: 6950: Cache - created semaphore 26 using key 487154429
    warning: CORE3283: stderr: 6950: ResourceCache - created semaphore 27 using key 772367101
    warning: CORE3283: stderr: 6950: Cache - created semaphore 28 using key 503931645
    warning: CORE3283: stderr: 6950: Cache - created semaphore 29 using key 520708861
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_04] from [Sun Microsystems Inc.]
    catastrophe: CORE3260: Server crash detected (signal SIGBUS)
    info: CORE3262: Crash occurred in function realloc from module /usr/lib/libc.so.1
    Back Trace of Core
    #0 0xfe042974 in t_splay () from /usr/lib/libc.so.1
    (gdb) bt
    #0 0xfe042974 in t_splay () from /usr/lib/libc.so.1
    #1 0xfe0427e0 in t_delete () from /usr/lib/libc.so.1
    #2 0xfe0423e4 in realfree () from /usr/lib/libc.so.1
    #3 0xfe041f48 in mallocunlocked () from /usr/lib/libc.so.1
    #4 0xfe041ce0 in malloc () from /usr/lib/libc.so.1
    #5 0xfe04f568 in strdup () from /usr/lib/libc.so.1
    #6 0xff1c3038 in INTsystem_strdup_perm ()
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #7 0xff1c84c8 in INTvs_get_doc_root ()
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #8 0xfdb57f4c in __1cKJ2EERunnerIcreateVS6FpkcpknNConfiguration_pnRJ2EEVirtualServer__i_ ()
    from /home/porting/project/sunone/bin/https/lib/libj2eeplugin.so
    #9 0xfdb528bc in j2ee_vs_create ()
    from /home/porting/project/sunone/bin/https/lib/libj2eeplugin.so
    #10 0xff1c9444 in __1cPNSAPIVSListenerGinitVS6MpnNVirtualServer_pk1_nIPRStatus__ () from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #11 0xff2273e4 in __1cXVSConfigurationListenerQsetConfiguration6MpnNConfiguration_pk1_nIPRStatus__ ()
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #12 0xff225dc8 in __1cUConfigurationManagerQsetConfiguration6FpnNConfiguration__2_ () from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #13 0xff245b30 in __1cJWebServerDRun6F_nIPRStatus__ ()
    ---Type <return> to continue, or q <return> to quit---
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #14 0x10ab8 in main ()
    Thanks

    I could trace down the problem to the fact that if I don't use the map file (which is passed to the linker using -M mapfile), the plugin works perfectly fine. Further to this if I comment out the local part of the mapfile, it starts working.
    mapfile :
    NSAPIPlugin.so {
    global:
    symbol1;
    symbol2;
    symbol3;
    # local:
    Is there is any specific linker flag that I have to pass along with -M mapfile with the sun studio 9. What are possibe consequencies if I go ahead with this workaround of commenting out the local directive.

  • Problems with Sun One Web Server 6.1 javax.xml.xpath package not found

    I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
    Thanks.
    [11/Dec/2007:22:12:37] failure (13539):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         /opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
         import javax.xml.xpath.*;
         ^

    Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
    [11/Dec/2007:23:46:28] failure (17028):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
         ----- Root Cause -----
         java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
         at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
         at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

  • Oracle error ORA-00600 when using Oracle 10g and Sun One Web Server 6.1

    I have a java application that was running under Solaris 8 and Oracle 9i. I am trying to get it up and running on a new server that is configured with Solaris 9 and Oracle 10g. Whenever the application tries to connect to the database it receives the following error: ORA-00600 [ttcgcshnd-1][0]. My research indicates that this is an internal Oracle error that represents a low level unexpected condition. I have looked through my configuration for the Web Server and I have not been able to determine the cause of this problem. My DBA tells me that we have the latest patch installed for Oracle! Has anyone encountered this problem before? Any help would be greatly appreciated!

    If the problem is also present in a SWING app, i.e. outside the web server, then it is porbably something external to the webserver.
    I think you should ensure that the driver and database are compatible with each other. It is very likely that you need a new jdbc driver for the new database.
    download from here http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101020.html
    try the ojdbc14.jar

  • Configuring Sun One Web Server 6.1 SP4 to run JSPs

    I have a web application that uses HTML, Servlets, Javascript, and JSPs and accesses an Oracle 10g database. So far, I have configured the web server to run the HTML, Javascript, servlets, and Access the database. I have not been able to figure out how to execute the JSPs. I get an error stating the the JSPs cannot be compiled into servlets. My web browser displays a message indicating that this could be a misconfiguration of the web server. If anyone could provide some insight, I would greatly appreciate the help!

    This is the entry in the Web Server error log:
    [17/Mar/2005:14:55:55] failure (13130): for host 147.103.44.38 trying to GET /SI/NewSIForm.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:11: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:12: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:13: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:14: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)

  • Sun ONE Web Server 6.0 SP4 EOSL

    Hi,
    I'm having "issues" tracking down information about the status of this version of the Web Server. I'm basically tring to determine if it has gone EOSL or not as we're making a decision on whether or not to upgrade to something a little more recent!
    Thanks in advance
    jezter

    Sun generally doesn't announce EOSL (End Of Service Life) for Web Server service packs, so you're likely to get conflicting answers when you ask about 6.0 SP4 EOSL. 6.0 SP4 was de facto EOSL as soon as 6.0 SP5 was released. No bug fixes will be backported from SP5 to SP4, and the first step in isolating a problem uncovered in 6.0 SP4 will be to apply the current service pack, 6.0 SP9.
    Instead, Sun announces EOSL for versions like "iPlanet Web Server 6.0". iPlanet Web Server 6.0 EOL (End Of Life) was 05/2004. It will be EOSL 05/2009.
    If you're using 6.0 SP4, you should apply the latest service pack as soon as possible. Critical security vulnerabilities have been addressed by subsequent service packs.

  • JDK 1.4.2 with Sun One Web Server 6.0 SP5?

    In the release notes for 6.0 sp5 I see that latest supported JDK is 1.4.1_01. But I thought versions 1.4.0 and 1.4.1 are considered by Sun to have reached their end of life and now 1.4.2 is the supported one. So, is JDK 1.4.2 (or will it be) supported for 6.0 sp5?
    Any experiences?

    Specifically, what are you looking for?
    Does it work? Yes, I've been able to use 1.4.2 with 6.0. Just need to set the StackGuard as per the Release Notes for earlier (pre-1.4.2) J2SE's.

  • Sun One Web Server connection pool goes stale after some time

    Hi all,
    I have a few web applications running on Sun One Web Server 6.1 (SP4). I configured a connection pool via the web admin of the web server. I do not know why the connections in the connection pool are never released after some time (this happened for 3 times with a couple of months in between). I need to reboot the web server to solve this problem everytime the connection pool goes stale. I have verified that the resources are released (stream and connection are closed) with proper programming logic. Even so, I think that the connections will be timed out (the setting is 5 minutes) by the web server as a bulletproof even if the resource is not released properly as implemented in the code logic. Can anybody help on this? I have been troubled by this problem by weeks.
    Thank you in advance.

    Hi all,
    I have a few web applications running on Sun One Web Server 6.1 (SP4). I configured a connection pool via the web admin of the web server. I do not know why the connections in the connection pool are never released after some time (this happened for 3 times with a couple of months in between). I need to reboot the web server to solve this problem everytime the connection pool goes stale. I have verified that the resources are released (stream and connection are closed) with proper programming logic. Even so, I think that the connections will be timed out (the setting is 5 minutes) by the web server as a bulletproof even if the resource is not released properly as implemented in the code logic. Can anybody help on this? I have been troubled by this problem by weeks.
    Thank you in advance.

  • Sslext NOt working Sun ONE Web Server 6.0?

    Hi,
    I have implemented the sslext tag for dynamic switching of http to https.
    I am using ATG Dynamo Server ONLY in the Development Env. (using the default Web Server of ATG) for testing this and sslext tag works fine using the Plug-In of struts which is in sslext.jar.
    but in producation the ATG Dynamo Server 6.0 is configured with Sun ONE Web Server 6.0, as forwarding request throught the Web Server to the App Server.
    But here sslext stop working?? any guss why?
    Sun ONE Server 6.0 is configured with ATG Dynamo Server 6.0 as Connection Module.
    There are three ways a Connection Module can handle requests for files whose MIME type is text/html.
    1)You can choose to have the files served by the Sun ONE Web Server,
    2)by the Dynamo server,
    3)or by the Sun ONE Web Server (but also send requests to Dynamo for logging).
    we select the 3rd option.
    any Guess why this is happening???
    regards
    DJ

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Sun ONE Web Server & Remote User field

    Hi,
    I look for a tip to my Sun ONE Web Server 6.1 SP2 configuration.
    I have:
    - OS: Sun Solaris 8
    - Apache 1.3 (listen port :80)
    - Sun ONE Web Server 6.1 SP2 (listen port :81)
    - Weblogic 8.1 SP4 (listen port :8001)
    The 3 applications are in the same server.
    My first configuration works:
    - Apache works with basic authentification by password file (generate with htpasswd) and communicates with Weblogic
    - Weblogic listens http requests and work with the remote user id (use method HttpServletRequest.getRemoteUser())
    My second configuration doesn't work:
    - Apache works with basic authentification by password file (generate with htpasswd) + reverse proxy mode (use VirtuaHost) and communicates with Sun ONE Web Server
    - Sun ONE Web Server works with no authentification mode and communicates with Weblogic
    - Weblogic listens http requests and works with the remote user id (use method HttpServletRequest.getRemoteUser())
    The HttpServletRequest.getRemoteUser() returns null in my second configuration.
    How I can configure my Sun ONE Web Server to foward the remote user id ?
    Thank you.
    Christophe.

    Can you send your obj.conf?
    I do not have a 6.1 Web Server installed, by guess work try
    NameTrans fn="redirect" from="/index.html" url="/"
    Also remove find-index or any such SAFs if you have in your obj.conf
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"Why do you need this?

  • Sun ONE Web Server 6.1 and p6spy integration

    Has anyone successfully integrated p6spy with Sun ONE Web Server on a Windows platform? If so, any help would be greatly appreciated.

    Y follow your steps (they seem correct for me too) and I get:
    warning: CORE3283: stderr: Warning: Could not set property setStringmatcher due
    to InvoicationTargetException
    warning: CORE3283: stderr: Warning: Error registering factory [com.p6spy.engine
    .logging.P6LogFactory]
    warning: CORE3283: stderr: Caused By: java.lang.ClassCastException
    warning: CORE3283: stderr: com.p6spy.engine.spy.P6DriverNotFoundError: Error reg
    istering factory [com.p6spy.engine.logging.P6LogFactory]
    warning: CORE3283: stderr: Caused By: java.lang.ClassCastException
    warning: CORE3283: stderr: at com.p6spy.engine.spy.P6SpyDriverCore.initMeth
    od(P6SpyDriverCore.java:289)
    warning: CORE3283: stderr: at com.p6spy.engine.spy.P6SpyDriver.initMethod(P
    6SpyDriver.java:78)
    warning: CORE3283: stderr: at com.p6spy.engine.spy.P6SpyDriver.<clinit>(P6S
    pyDriver.java:74)
    warning: CORE3283: stderr: at java.lang.Class.forName0(Native Method)

  • Integration of Sun One Web Server 6.0 with Sun One App Server 7.0

    Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
    Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?

    As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
    I have added the plugin package to the webserver and added the following into the magnus.conf:
    Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    and to the obj.conf
    NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The webserver starts up without any errors but never forwards any requests what might I be doing wrong?

  • Problem with maxprocs 1 on Sun One Web server 6.1

    I am using sun one web server on Unix with maxprocs set to 3.
    This means that there are 3 jvms running my application under 1 instance. However I have certain components like an application cache that I would like to share between these 3 processes.
    Additionally is there a way to configure the server so that requests from 1 session are served by 1 process only.
    I am really stuck here. Have searched in all the documentation, but in vain. Would really help if some one of the Sun Developers could answer this.
    Thanks
    Chetan

    Elving,
    It is great to hear that there is no predefined limit on number of sessions but if that's the case why the webserver always starts with 1000 allowed by default. Are there any potential performance reasons behind it?
    I have your link open in my browser for a few days now as a reference because I am experimenting with different Session Managers. I am trying to find a solution for BheegaChicken to be able to accomodate several thousand simultaneous sessions for his application.
    We use V6.0SP2 and SP6 and for BheegaChicken's app specifically V6.1SP2...
    I have spent some time in the past looking for the answers how to handle higher then 1000 sessions capacity on one instance and that was even before V6.1 was out. I have found the following reco that talks about optimal performance for sites using threads:
    http://docs.sun.com/source/816-5690-10/perf6.htm#17580
    *** start qoute
    Multi-Process Mode
    You can configure the server to handle requests using multiple processes with multiple threads in each process. This flexibility provides optimal performance for sites using threads, and also provides backward compatibility to sites running legacy applications that are not ready to run in a threaded environment. Because applications on Windows NT generally already take advantage of multi-thread considerations, this feature applies to Unix/Linux platforms.
    The advantage of multiple processes is that legacy applications that are not thread-aware or thread safe can be run more effectively in iPlanet Web Server. However, because all the Netscape/iPlanet extensions are built to support a single-process threaded environment, they may not run in the multi-process mode, and the Search plug-ins will fail on startup if the server is in multi-process mode.
    In the multi-process mode, the server spawns multiple server processes at startup. Each process contains one or more threads (depending on the configuration) which receive incoming requests. Since each process is completely independent, each one has its own copies of global variables, caches, and other resources. Using multiple processes requires more resources from your system. Also, if you try to install an application which requires shared state, it has to synchronize that state across multiple processes. NSAPI provides no helper functions for implementing cross-process synchronization.
    If you are not running any NSAPI in your server, you should use the default settings: one process and many threads. If you are running an application which is not scalable in a threaded environment, you should use a few processes and many threads, for example, 4 or 8 processes and 128 or 512 threads per process.
    MaxProcs (Unix/Linux)
    Use this directive to set your Unix/Linux server in multi-process mode, which may allow for higher scalability on multi-processor machines. If you set the value to less than 1, it will be ignored and the default value of 1 will be used.
    Tuning
    You can set the value for MaxProcs by:
    Editing the MaxProcs parameter in magnus.conf
    Setting or changing the MaxProcs value in the Magnus Editor of the Server Manager
    Note      You will receive duplicate startup messages when running your server in MaxProcs mode.
    *** end quote
    If it is not relevant anymore please explane.
    I am still interested to understand which of the SessionManagers is recommended by Sun to have optimal performance for sites with high number of sessions and using threads. It is not really obvious from http://docs.sun.com/source/817-6251/pwasessn.html. On top of this that's documented just for V6.1. What about V6.0?
    Thank you very much for your cooperation!
    Sasha aka ttalex

Maybe you are looking for

  • GUI_UPLOAD not working for text file upload with '|' as a saperater

    Dear all, I have used 'GUI_UPLOAD' to upload data from text file having below format, 1000|HBK1|HKTI 1000|HBK2|HKTI 1000|HBK3|HKTI My code is as below *& Report  ZTEST_NEW1 REPORT  ZTEST_NEW1. TYPE-POOLS: truxs,             kcde. TYPES :     BEGIN   

  • Problem with Sorting Detail Records

    Hello All, I have an ODBC connection to our AS400 System and I am able to retrieve records in Crystal. I am trying to perform a sort on the Cost Center field and then on the Salaries Account field. These two fields are Alpha Numeric fields. I went to

  • How to build a project with no menu...?

    Hi all...I am creating a DVD short and I want the DVD to just begin playing with no menu, or at the least, no "theme", just a basic menu. Any idea how to defeat the "Themes" in iDVD? Thanks!

  • Apple TV inquiry about image quality..!

    Why the image is not clear and fast 100% like image of thunderbolt cable? there is some delay..!!

  • Apple Mobile Devices Services not starting (Error 1067)

    I think tried everything. I've uninstalled iTunes and reinstalled iTunes. I've done the selective startup via msconfig. I've reverted to older versions of iTunes. I don't have any Mega key or Mega-whatever software installed. No matter what I do, iTu