Migrating to Iplanet

Hi
I am working on an web application which currently uses Apache/Tomcat running on a Tru64 Unix Box.
We are migrating it to run on Sunone Webserver 6.12 on a Solaris Box. I have certain issues. Could somebody please help.
Here is it:
With Appache, my document Root specified in the httpd.conf is /usr/local/www/cia/cia. The appbase specified in the tomcat server.xml is /usr/local/www/cia
I have an indexpage which specifies a servlet as the source of a frame as follows /cia/loadheader.
It works fine with apache. However, When i migrate the application to sunone without any changes, it is not able to locate.
the document root in the virutalserver in sunone is
/usr/local/https/ia/cia/cia.
In the webdeploy page, I specify the URI as /.
However, it works fine if i give the source of the frame as /loadheader. It sounds reasonable as if i give the source of the frame as /cia/loadheader, it searches for this url from the document root.
What baffles me is that apache should also behave the same way but isnt! I dont want to have two different versions for apache/tomcat and sunone becos the test environment is going to still be in apache/tomcat.
So is there anything that I need to change in the sunone environment? Is the URI field in the webdeploy page of the sunone adminstration same as the appbase in tomcat?
Any help would be greatly appreciated.

I don't know how to estimate how much time a rewrite would take, but the effort required is substantial. Unfortunately, Server-Side JavaScript and JavaServer Pages are quite different animals.
There is some brief comparison of the two programming models in Appendix B Converting SSJS Applications of the iPlanet Web Server 6.0 Programmer's Guide to Servlets at http://docs.sun.com/source/816-5689-10/xlwconv.htm

Similar Messages

  • Migration from iplanet webserver to Sun Directory Server

    Hi,
    I have Oracle Iplanet WebServer Enterprise edition V6.0 SP2 in my dev environment. I would want to migrate the system to Sun Java System Directory Server V6.0. I have looked up the migration guide for Sun DS V6.0. But i could not find any reference to Iplanet WebServers.
    Can anybody please let me know the migration procedure for migrating from Iplanet Server to Sun Directory server.
    Any help would be appreicated
    Thank you
    Nowfal

    Please ignore this question since we have dropped the plan to migrate, instead set a new DS instance from the beginning

  • Migration from iPlanet Web Proxy to ISA 2000

    Hi,
    I'm doing a project to migration from iPlanet Web Proxy 3.5 (AIX based) to ISA 2000 (Windows 2000). Anyone have experience can give me some idea to plan this migration?
    Which file in AIX iPlanet proxy store all the Filter URLs (Black list) ? And which file store all the users, groups with permissions?
    If you can refer me some "How to" documentation, I appreciate your help.
    Vince2008

    sriram already answered this pretty well, but as someone having been in the same situation (migrating from 6.0sp6 to 6.1sp8 a few months ago) I thought I'd chime in.
    obj.conf is not an issue whatsoever, since this file does not change in any way between the versions. This was a very nice discovery, and made our work a lot easier. :)
    magnus.conf is still pretty much the same, and using the migration tool in 6.1 will migrate server.xml and all other files properly, so that is absolutely the easiest way, if you have only a couple of configs. Us, we used it to generate a new template to see all changes, and then updated our internal configuration templates with the new look and generated all files on our own from there.
    You will need to modify magnus.conf manually afterward and update the path to the wlproxy though, since you should use proxy61.dll/so rather than proxy36.
    There are also quite a lot of entries in magnus.conf that are deprecated in 6.1, but still kept by the migration tool. Doesn't really hurt in any way, but that is my current task - cleanup.
    Regarding rollback, that depends on how you migrate. We wanted to use the same ports as well as windows service names (to avoid having to update all scripts), so we had to uninstall 6.0 before installing 6.1. But really, the possibilities you have here are so strictly decided by your network setup, uptime requirements, etc, that it is hard for anyone on the outside to answer.
    Edited by: David.Eriksson on Aug 18, 2008 1:54 AM

  • Migrating from Iplanet Application Server 6.0 to SUN ONE App Server 7.0

    Hi,
    I have an Iplanet App Server 6.0 and Iplanet web server 6.0 I would like to migrate to SUN ONE Appserver 7.0 .
    If I am migrating,then can I fit the existing web server(Iplanet 6.0) into SUN ONE or not.
    Also I want the migrations cost in detail.

    Please refer to the following url:
    http://www.sun.com/migration/sunonetools.html
    This should give u a head start on what needs to be done and how,. WIth respect to webserver , i guess you can use it or leave it depending on the architecture you require to deploy your solution.
    Hope this helps !

  • Migrating from  iplanet 6.0sp5 to S1WS6.1sp1

    Do we need license upgrade to move from iplanet 6.0sp5 to S1WS6.1sp1?
    Thanks in advance,
    Vijay

    Hi,
    Can you please confirm:
    1] What user you installed the original 6.0 Web Server as?
    2] What user you are running the original 6.0 Web Server as?
    3] What user you installed the new 7.0 Web Server as?
    4] What user you are running the new 7.0 Admin Server instance as?
    5] What platform your are running this all on?
    regards
    Tracey

  • IPlanet migration failure for Sun One Web server 6.1SP6

    Recently we downloaded the Sun One Web server 6.1SP6 and we are having problem trying to upgrade our current version. We have been able to install the package and get the admin console running but we can not migrate the current instances across to the new version. We can successfully choose an instance to migrate however once we click the migrate button, absolutely nothing happens in the browser and nothing can be seen in any error logs and truss indicates a read of a pipe going nowhere, after which the cgi stub terminates.
    We are migrating from
    iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 16:22
    to
    CORE1116: Sun ONE Web Server 6.1SP6 B05/07/2006 12:33

    well, it is good that you have considered to upgrade considering 6.0 Sp5 has been EOL'ed for some time now.
    here is the url that describes migrating to 6.1 from 6.0
    http://docs.sfbay/app/docs/doc/819-6514/6n8h9dr61?a=view
    now, if you are still having issues with migration using GUI, you can provide us the admin server error logs or call Sun tech support (if you have support contract) to help you with this.

  • How can pine users access their iPlanet account without identifying first to login, and then when they run pine?

    At University we have just completed migration to iPlanet Messaging Server 5.2. Users of UNIX and pine now have to identify twice to get email. As stated in the question, they have to login to their shell, and then pine forces another login. Each additional time they run pine to check email it requires a new login.
    Is there any way to get rid of the additional authorizations required to read email after someone is successfully authenticated to our own student/faculty servers? Perhaps adding some sort of Kerberos ticket system?
    Thank You

    At University we have just completed migration to iPlanet Messaging Server 5.2. Users of UNIX and pine now have to identify twice to get email. As stated in the question, they have to login to their shell, and then pine forces another login. Each additional time they run pine to check email it requires a new login.
    Is there any way to get rid of the additional authorizations required to read email after someone is successfully authenticated to our own student/faculty servers? Perhaps adding some sort of Kerberos ticket system?
    Thank You

  • My first JSP in iPlanet (Help me please!!!!)

    I recently developed a Jsp aplication in Tomcat Jakarta 3.2, but the client decided to migrate to iPlanet 6.0.
    I'm searching for a directory where I can put the Jsp's( or a simple jsp to execute it and place all the rest ), but I can't find it.
    I place one simple JSP expecting to execute it , but nothing works.I only want a default directory ,to place one single JSP only to show the chief that it works ... only that...
    When I was working whit Tomcat , it cames with a lot of examples ,so the only thing that I did it was to place my simple jsp in the same directory of the examples...
    But it seems that Iplanet came with no examples.
    Please help coz I'm in death time.........

    I use an old version of iPlanet . There the JSPs are stored in <SERVER-HOME>/docs folder . As in my case it is D:\Netscape\myserver\docs
    Also, in order to run JSP you have to enable JSP engine and Servlet engine from the Administration console.
    I think it will be similar in iPlanet 6.
    Cheers!!
    Shubhrajit

  • What's the best way to go about migrating a full server instance in iWS 4.1 to a virtual server in 6.0?

    We are migrating from iplanet web server 4.1 to iws6.0 on solaris 2.6. Migrating from instance to instance or from virtual server to virtual server is easily done with the migration feature. However, I have some full web server instances in 4.1 that I would like to be virtual servers in 6.0. What is the best way to do this?

    Hi,
    The best possible way is to create a virtual servers in iWS6.x and configure the same, like what you had with 4.1 instance(configuration).
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • [LDAP]Beginner look for Iplanet

    Good morning
    Iam looking for a way to download Iplanet. I understand that now there are several Sun's softwares as Sun Directory Server, Sun'one web server etc...
    But our client use Iplanet, and we need absolutly Iplanet, because in the .ldiff's files that they provide us, there are several iplanet objectclasses, when I tried to import them via Directory server's console, I saw several errors.
    My first question, does it exist a tool that allow us a migration between Iplanet's ldiff, to Sun Directory server's ldiff ? As Iam new on ldap, I did not understand something. Could we download Iplanet ? In Solaris 10 DVD, there are several IPLT... like IPLTADMAN, IPLTADMIN, does it mean that we have Iplanet ?
    As Iam a beginner on ldap, I bought ldap Oreilly's book, unfortunetly, I did not understand something.
    Could you suggest me some basic tutorials about LDAP, iam true dunkey, when someone talk about ldap, and invoque components, like attribute, entry, shema, objectclass etc...
    The Oreilly's book did not bring what I needed, I ask you now.
    Thank for any help
    Regards.

    Hi,
    I hope this will help. Basically to establish an SSL connection you must obtain a cer file from IPLANET and install it into a keystore. Here are the steps I used to get my code working.
    1. Get cer file from ldap server
    2. Use keytool to install the cer file
    i.e. keytool -alias <name> -file <cerfile> -keystore <loc to cacerts file>
    One error I received was that the cer file was corrupted or password was incorrect. I simply deleted cacerts file and regenerated it using the keytool command.

  • Web logic 8.1 and getString trouble

    When using the following function with the SQL: SELECT A, B, C FROM D WHERE A=E and i call the campoString("A") i received the expected value for the campoString("B") and so on.
    The problematic class is, there is no weblogic code on it, the project i am on is to migrate a iPlanet app to a web logic server:
    If you need the JSP using this class please let me know. The application uses not standards, taglibs or anything besides .java files and .jsp files.
    package externos;
    import java.io.PrintWriter;
    import java.sql.*;
    import java.util.Date;
    public class sicprosR{
    public String strSQL;
    public String er;
    Connection con;
    private ResultSet rsVentasTotales;
    String url;
    CallableStatement ps;
    Statement comando;
    protected String usuario;
    protected String password;
    public boolean estado;
    public sicprosR() {
    ps = null;
    url="jdbc:oracle:thin:@17.3.5.101:1521:dbx1";
    usuario="xxxxx";
    password="xxxx";
    estado = false;
    public Date CampoDate(String s) {
    Object obj = new Date();
    try {
    obj = rsVentasTotales.getDate(s);
    catch(SQLException _ex) { }
    return (Date)obj;
    public double CampoDouble(String s) {
    double d;
    try {
    d = rsVentasTotales.getDouble(s);
    catch(SQLException _ex) {
    d = 0.0D;
    return d;
    public int CampoInt(String s) {
    int i;
    try {
    i = rsVentasTotales.getInt(s);
    catch(SQLException _ex) {
    i = 0;
    return i;
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    public boolean Commit() {
    try {
    con.commit();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public int Conectar(int i) {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, Estructura.usuario, Estructura.clave);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public boolean Ejecuta(int i) {
    if(i == 1)
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return false;
    else
    try {
    comando.executeUpdate(strSQL);
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Sig() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return 1;
    } else {
    estado = false;
    return 0;
    catch(Exception _ex) {
    estado = false;
    return -1;
    public boolean Siguiente() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return true;
    } else {
    estado = false;
    return false;
    catch(Exception _ex) {
    estado = false;
    return false;
    public String convierteCantidadLetras(double d, String s) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public String convierteCantidadLetras(double d, String s, PrintWriter printwriter) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public boolean inicio() {
    try {
    rsVentasTotales.first();
    return true;
    catch(SQLException _ex) {
    return false;
    public String truncaADosDecimales(String s) {
    int i = 0;
    String s1 = "";
    i = s.indexOf(".");
    if(s.length() <= i + 3) {
    s1 = s.substring(i + 1, s.length());
    } else {
    s1 = s.substring(i + 1, i + 3);
    s1 = s1.substring(0, 2);
    if(s.substring(i + 1, i + 2).equals("0"))
    s1 = "0" + s1;
    s1 = s.substring(0, i) + "." + s1;
    return s1;

    Well, after a hell of possibilities i encounter that the new drivers are incompatible with Oracle 7, that is... you don't have to use the .jar on the website but the classes102.zip for that db version. To do that put your .zip at the beginning of the classpath, for WebLogic modify the startWeblogic shell command or windows .cmd file.
    Greetings
    Carlos de Luna Saenz

  • SIMS server can install on Sol 8 x86 or not?

    I tried it...I solve the ldap installation and some patch problem...
    But finally I cannot resolve error no ldaadmser in java.library.lang...
    I try many method...to include the path where libldaadmser.so is existing...
    But still can not finish the Installation...
    And the script finally said it can not found the Message Store configuration file...
    What can I do? Is that because I am installing it on Solaris 8?

    Looks like SIMS 4.0 is for Solaris 2.6 and Solaris 7. I believe the product has migrated to iPlanet Messaging Server 5.x. You may want to post a query in the iPlanet forum. http://supportforum.sun.com/iplanet/

  • RsultSet getString(String) returning next row with WL8 and Oracle drivers

    When using the following function with the SQL: SELECT A, B, C FROM D
    WHERE A=E and i call the campoString("A") i received the expected value
    for the campoString("B") and so on.
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    Oracle latest drivers, and Oracle Server 7, WebLogic platform (workshop) 8.1
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();

    Carlos de Luna Saenz wrote:
    Same result putting the jar at the beggining of the classpath...:-(
    WLS Production Mode=
    .You need a semicolon after "ojdbc13.jar".
    Joe
    CLASSPATH=C:\bea\weblogic81\samples\workshop\SicPros\SicProsv35\WEB-INF\lib\ojdb
    c14.jarC:\bea\WEBLOG~1\server\lib\weblogic_knex_patch.jar;C:\bea\WEBLOG~1\common
    \lib\log4j.jar;C:\bea\WEBLOG~1\server\lib\debugging.jar;C:\bea\WEBLOG~1\server\l
    ib\knex.jar;C:\bea\WEBLOG~1\javelin\lib\javelin.jar;C:\bea\WEBLOG~1\server\lib\w
    lw-lang.jar;;C:\bea\JDK141~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_s
    p.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ojdbc14
    .jar;C:\bea\WEBLOG~1\server\lib\ant\ant.jar;C:\bea\JDK141~1\jre\lib\rt.jar;C:\be
    a\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\common\eval\
    pointbase\lib\pbclient44.jar;;C:\bea\WEBLOG~1\server\lib\webserviceclient.jar;C:
    \bea\WEBLOG~1\server\lib\webserviceclient+ssl.jar;C:\bea\WEBLOG~1\server\lib\xbe
    an.jar;C:\bea\WEBLOG~1\server\lib\xmarshal.jar;C:\bea\WEBLOG~1\server\lib\xqrl.j
    ar;C:\bea\WEBLOG~1\server\lib\netui\netui-compiler.jar;C:\bea\WEBLOG~1\server\li
    b\wli.jar;C:\bea\WEBLOG~1\server\lib\wlxtrt.jar;C:\bea\WEBLOG~1\server\lib\fop.j
    ar;C:\bea\WEBLOG~1\integration\lib\wlai-server.jar;C:\bea\WEBLOG~1\integration\a
    dapters\sample\lib\sample-eis.jar;
    Greetings.
    Joe Weinstein wrote:
    Ok.
    Once you get this working, I will have some suggestions that
    will make this run much faster. For now, I think the issue
    is the driver version. We package an old oracle thin driver
    inside our weblogic.jar, so you need to get oracle's latest
    appropriate driver, and edit the start-weblogic script so
    the driver you want comes before the weblogic.jar in the
    -classpath argument for the java line that starts the server.
    PS:
    I am looking at the code, thank you, but you still haven't
    explicitly said what problem you're having!
    thanks
    Joe
    Carlos de Luna Saenz wrote:
    The problematic class is, there is no weblogic code on it, the
    project i am on is to migrate a iPlanet app to a web logic server:
    If you need the JSP using this class please let me know. The
    application uses not standards, taglibs or anything besides .java
    files and .jsp files.
    package externos;
    import java.io.PrintWriter;
    import java.sql.*;
    import java.util.Date;
    public class sicprosR{
    public String strSQL;
    public String er;
    Connection con;
    private ResultSet rsVentasTotales;
    String url;
    CallableStatement ps;
    Statement comando;
    protected String usuario;
    protected String password;
    public boolean estado;
    public sicprosR() {
    ps = null;
    url="jdbc:oracle:thin:@17.3.5.101:1521:dbx1";
    usuario="xxxxx";
    password="xxxx";
    estado = false;
    public Date CampoDate(String s) {
    Object obj = new Date();
    try {
    obj = rsVentasTotales.getDate(s);
    catch(SQLException _ex) { }
    return (Date)obj;
    public double CampoDouble(String s) {
    double d;
    try {
    d = rsVentasTotales.getDouble(s);
    catch(SQLException _ex) {
    d = 0.0D;
    return d;
    public int CampoInt(String s) {
    int i;
    try {
    i = rsVentasTotales.getInt(s);
    catch(SQLException _ex) {
    i = 0;
    return i;
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    public boolean Commit() {
    try {
    con.commit();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public int Conectar(int i) {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url,
    Estructura.usuario, Estructura.clave);
    comando = con.createStatement();
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return -1;
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return -2;
    estado = true;
    return 1;
    public boolean Ejecuta(int i) {
    if(i == 1)
    try {
    rsVentasTotales = comando.executeQuery(strSQL);
    catch(SQLException _ex) {
    return false;
    else
    try {
    comando.executeUpdate(strSQL);
    catch(SQLException sqlexception) {
    er = sqlexception.getMessage();
    return false;
    return true;
    public int Sig() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return 1;
    } else {
    estado = false;
    return 0;
    catch(Exception _ex) {
    estado = false;
    return -1;
    public boolean Siguiente() {
    try {
    if(rsVentasTotales.next()) {
    estado = true;
    return true;
    } else {
    estado = false;
    return false;
    catch(Exception _ex) {
    estado = false;
    return false;
    public String convierteCantidadLetras(double d, String s) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call
    get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public String convierteCantidadLetras(double d, String s,
    PrintWriter printwriter) {
    String s1 = Double.toString(d);
    s1 = truncaADosDecimales(s1);
    try {
    ps = con.prepareCall("{ call
    get_Palabra_De_Valor_Numerico(?,?,?) }");
    ps.setString(1, s1);
    ps.setString(2, s);
    ps.registerOutParameter(3, 12);
    ps.execute();
    return ps.getString(3);
    catch(SQLException _ex) {
    return "No se pudo realizar la conversion";
    public boolean inicio() {
    try {
    rsVentasTotales.first();
    return true;
    catch(SQLException _ex) {
    return false;
    public String truncaADosDecimales(String s) {
    int i = 0;
    String s1 = "";
    i = s.indexOf(".");
    if(s.length() <= i + 3) {
    s1 = s.substring(i + 1, s.length());
    } else {
    s1 = s.substring(i + 1, i + 3);
    s1 = s1.substring(0, 2);
    if(s.substring(i + 1, i + 2).equals("0"))
    s1 = "0" + s1;
    s1 = s.substring(0, i) + "." + s1;
    return s1;
    Joe Weinstein wrote:
    Hi! I need two more things from you, please:
    1 - A full statement of what problem you're having.
    2 - More of the code. All I see here is you are getting
    a connection directly from Oracle's driver, and code which
    does a ResultSet.getString() call.
    I need to see the logic from getting the connection, to creating
    the statement, to executing the query, to doing ResultSet.next()
    for each row and getting the row data for each.
    It seems that this is either an application code or jdbc driver
    problem because no weblogic code is being used, so it could probably
    be duplicated in a small stand-alone program (without any weblogic
    stuff).
    Joe
    Carlos de Luna Saenz wrote:
    When using the following function with the SQL: SELECT A, B, C FROM
    D WHERE A=E and i call the campoString("A") i received the expected
    value for the campoString("B") and so on.
    public String CampoString(String s) {
    int i = 0;
    String sr;
    try {
    System.out.println("Campo a buscar:"+s);
    sr = rsVentasTotales.getString(s);
    System.out.println("Valor:"+sr);
    catch(SQLException _ex) {
    sr = "vacio";
    if(sr == null)
    sr = "vacio";
    if((i = sr.indexOf('\n')) >= 0) {
    if(i > 0)
    return sr.substring(0, i - 1);
    else
    return "DATO ALTERADO";
    } else {
    return sr;
    Oracle latest drivers, and Oracle Server 7, WebLogic platform
    (workshop) 8.1
    public int Conectar() {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    catch(ClassNotFoundException _ex) {
    return 0;
    try {
    con = DriverManager.getConnection(url, usuario, password);
    comando = con.createStatement();

  • Messaging Server & Cluster Geographic Edidtion

    Hi, I'm running iPS 5.1 on Solaris 8 and old Sun box (Enterprise 250). I'm going to buy 2 new "Sun" servers and migrate existing "mail server" to the new one(s), I believe it will be 6.2. We have about 250 users and as of now about 80 GB of e-mail stored on attached Raid Array StorEdge 3310 (250Gb).
    Our future configuration will be (if possible):
    Server1 (active) � location1 � with attached Raid Array StorEdge 3310
    Server2 (passive) � location2
    When Server1 fails Server2 takes over.
    My questions are:
    1)     Is there any recommended �Sun� box for our project (to handle easily our e-mail server and still have room for expansion in the future)? I have in mind �Sun Fire V240 Medium� � is it ok?
    2)     What is the bandwidth requirement for the connection between two servers running �Cluster Geographic Edition�?
    3)     Is it possible to migrate from iPlanet 5.1 to 6.2?
    4)     Do I need to have another Raid Array in Location2 attached to the Server2?
    If anyone can help me answer these questions, it will be greatly appreciated.
    For last couple days I�m trying to get some answers from �Sun� but so far they just bounce me back and forth promising somebody call me back what didn�t happen yet.

    Hi, I'm running iPS 5.1 on Solaris 8 and old Sun box
    (Enterprise 250). I'm going to buy 2 new "Sun"
    servers and migrate existing "mail server" to the new
    one(s), I believe it will be 6.2. We have about 250
    users and as of now about 80 GB of e-mail stored on
    attached Raid Array StorEdge 3310 (250Gb).
    Our future configuration will be (if possible):
    Server1 (active) � location1 � with attached Raid
    Array StorEdge 3310
    Server2 (passive) � location2
    When Server1 fails Server2 takes over.
    My questions are:
    1)     Is there any recommended �Sun� box for our project
    (to handle easily our e-mail server and still have
    room for expansion in the future)? I have in mind
    �Sun Fire V240 Medium� � is it ok?I don't have nearly enough data to know. Talk to your Sun sales engineer, he has access to sizing charts.
    2)     What is the bandwidth requirement for the
    connection between two servers running �Cluster
    Geographic Edition�?Large.. Disk i/o bandwidth is the ultimate limitation on performance of a mail server.
    3)     Is it possible to migrate from iPlanet 5.1 to
    6.2?Yes.
    4)     Do I need to have another Raid Array in Location2
    attached to the Server2?I'm unfamiliar with the geographic cluster. . .
    If anyone can help me answer these questions, it will
    be greatly appreciated.
    For last couple days I�m trying to get some answers
    from �Sun� but so far they just bounce me back and
    forth promising somebody call me back what didn�t
    happen yet.

  • IllegalAccessError - Critical

    Hi,
    This is kind of critical for me. Appreciate quick response towards this. We migrated from Iplanet 6.0 to Iplanet 6.1 webserver. The upgrade worked in our UAT env. But when we upgraded the server to 6.1 and tried to access the JSPs, we got the following exceptions. Please let me know how to proceed.
    Environment:
    SSO: Netegrity Site Minder
    Webservices : Axis
    OS: Sun Solaris
    Webserver: Sun Iplanet 6.1 SP5
    [05/Nov/2005:01:34:38] failure (26572): for host 138.83.77.24 trying to GET /ivapplogin.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    19 javax.servlet.ServletException: tried to access method org.apache.jasper.runtime.JspWriterImpl.flushBuffer()V from class jsps.ivapplogin_jsp
    20 at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
    21 at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    22 at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    23 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    24 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    25 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    26 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    27 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    28 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    29 at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    30 at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    31 ----- Root Cause -----
    32 java.lang.IllegalAccessError: tried to access method org.apache.jasper.runtime.JspWriterImpl.flushBuffer()V from class jsps.ivapplogin_jsp
    33 at jsps.ivapplogin_jsp._jspService(_ivapplogin_jsp.java:229)
    34 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    35 at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    36 at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:675)
    37 at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447)
    38 at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
    39 at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    40 at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    41 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    42 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    43 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    44 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    45 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    46 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    47 at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    48 at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    49
    50 [05/Nov/2005:01:34:43] failure (26572): for host 138.83.77.24 trying to GET /ivapplogin.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    51 javax.servlet.ServletException: tried to access method org.apache.jasper.runtime.JspWriterImpl.flushBuffer()V from class jsps.ivapplogin_jsp
    52 at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
    53 at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    54 at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    55 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    56 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    57 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    58 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    59 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    60 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    61 at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    62 at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    63 ----- Root Cause -----

    I guess I have to provide my own answer.
    The problem we faced was the old ClassCache directory. In our testing envrionments, the server update took place along with our major code release. Where as in production, the server-update is all by itself. So, the old ClassCache directory was present and it errored out. When we removed the Old ClassCache directory, everything went normal.
    But still, I have one question. Why is the 6.0 generated code different from 6.1 server generated code. and where can I find the mailing lists for Jasper.
    thanks
    vishist.

Maybe you are looking for