IPlanet 4.0 upgrade

Hi,
I am in the process of transitioning some web applications (java, oracle) from another company. Theses applications currently fun on iPlanet 4.0.
I am not able obtain a license key for iPlanet 4.0 so cannot install it on my server.
Does anyone know if I can simply upgrade to current version or a supported version with no changes to my applications?
Any information would be greatly appreciated.
Thanks.

Hi,
From which version you have upgraded and what is your current version. If my remember is right I don't think there is a bug related to URL forwarding with iWS 4.x
version.
Please provided your obj.conf.
Regards,
Dakshin.

Similar Messages

  • Error message upgrading Sun One Web Server

    We currently use Sun One Web Server SP 4. I have a RSA Cleartrust Agent to install that specifies SP 5. I downloaded SP 7. When I try to install it I receive the following message - "A previous release of the Web Server has been detected in the server root. Please select a different server root." I tried stoppping all the services, then installing, same result. The documentation says to run the install, it would detect the previous version and install. Do I have to uninstall the previous version? I do not want to do that. Thanks in advance.
    Jim

    admin.inf
    [General]
    Name=Administration Services
    Components=admin,admin-client
    Checked=TRUE
    Description=Server Administration Services used by system administrators to manage all iPlanet Servers.
    [admin]
    DefaultAcceptLanguage=en
    Vendor=Sun | Netscape Alliance
    Name=iPlanet Administration Server
    NickName=admin
    Description=Provides services to other server products.
    Dependencies=base/5.1
    Version=5.1
    Revision=
    Compatible=4.0
    Security=domestic
    BuildNumber=2002.158.2342
    Registration=FALSE
    Checked=TRUE
    IsAdmin=TRUE
    UseLDAP=TRUE
    BackupFiles=/admin-serv/config/adm.conf
    Mandatory=FALSE
    #install files for admin
    System32Archive=
    Archive=admin.z
    #plugin dll section
    PlugIn=insadm.dll
    ReadInf=ADM_ReadComponentInf
    PreInstall=ADM_PreInstall
    AskOptions=ADM_AskOptions
    GetSummary=ADM_GetSummary
    WriteGlobalCache=ADM_WriteGlobalCache
    WriteLocalCache=ADM_WriteLocalCache
    ReadGlobalCache=ADM_ReadGlobalCache
    ReadLocalCache=ADM_ReadLocalCache
    PostInstall=ADM_PostInstall
    PostUnInstall=ADM_PostUnInstall
    PreUnInstall=ADM_PreUnInstall
    [admin-client]
    Dependencies=base-client/5.1
    Name=Management Console
    Description=Used by system administrators to manage other server products.
    Version=5.1
    Compatible=4.0
    BuildNumber=2002.158.2342
    IsMCC=TRUE
    Checked=TRUE
    Mandatory=FALSE
    Security=domestic
    #install files admin-client component
    Archive=console.z
    #plugin dll section
    PlugIn=insadm.dll
    PreInstall=CON_PreInstall
    PostInstall=CON_PostInstall
    PostUnInstall=CON_PostUnInstall
    PreUnInstall=CON_PreUnInstall
    WebServer.inf
    [General]
    Name=iPlanet Web Server, Enterprise Edition
    Plugin=WebServer\WebServer.dll
    Description=iPlanet Web Server, Enterprise Edition
    Checked=True
    Components=NESCore,JRE,Java,Search,SNMP,I18N,CleanUp
    [NESCore]
    Vendor=Sun Netscape Alliance
    Name=Server Core
    Description=iPlanet Web Server Core
    Nickname=nescore
    Version=6.0
    BuildNumber=2
    Compatible=4.0
    Dependencies=svrcore/4.2
    DefaultAcceptLanguage=en
    Expires=0
    Registration=FALSE
    Security=domestic
    Checked=TRUE
    Mandatory=TRUE
    IsAdmin=FALSE
    UseLdap=FALSE
    SourcePath=WebServer
    Archive=nescore.zip
    System32Archive=nescore32.zip
    Plugin=WebServer\WebServer.dll
    PreInstall=SvrCore_PreInstall
    AskOptions=SvrCore_AskOptions
    WriteGlobalCache=SvrCore_ReadGlobalCache
    ReadGlobalCache=SvrCore_ReadGlobalCache
    ReadLocalCache=SvrCore_ReadLocalCache
    WriteLocalCache=SvrCore_WriteLocalCache
    GetSummary=SvrCore_GetSummary
    PostInstall=SvrCore_PostInstall
    PostUnInstall=SvrCore_PostUninstall
    [JRE]
    Name=Java Runtime Environment
    Description=Java Runtime Environment
    Nickname=JRE
    Version=1.1
    BuildNumber=2
    Compatible=1.1
    Expires=0
    Registration=FALSE
    Security=domestic
    Checked=TRUE
    Mandatory=True
    SourcePath=WebServer
    Archive=jre.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=JVM_PreInstall
    AskOptions=JVM_AskOptions
    GetSummary=JVM_GetSummary
    PostInstall=JVM_PostInstall
    [Java]
    Name=Java and Servlets
    Description=iPlanet Web Server Java and Servlets Support
    Nickname=java
    Version=6.0
    BuildNumber=2
    Compatible=4.0
    Expires=0
    Registration=FALSE
    Security=domestic
    Checked=TRUE
    Mandatory=True
    SourcePath=WebServer
    Archive=java.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=Java_PreInstall
    GetSummary=Java_GetSummary
    WriteLocalCache=Java_WriteLocalCache
    ReadLocalCache=Java_ReadLocalCache
    PostInstall=Java_PostInstall
    [Search]
    Name=Search and Indexing
    Description=iPlanet Web Server Search and Indexing Support
    Nickname=search
    Version=6.0
    BuildNumber=1
    Compatible=4.0
    Expires=0
    Registration=False
    Security=domestic
    Checked=True
    Mandatory=False
    SourcePath=WebServer
    Archive=search.zip,searchdata.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=WebPub_PreInstall
    WriteLocalCache=WebPub_WriteLocalCache
    PostInstall=WebPub_PostInstall
    [SNMP]
    Name=SNMP
    Description=iPlanet Web Server SNMP Support
    Nickname=snmp
    Version=6.0
    BuildNumber=1
    Compatible=4.0
    Expires=0
    Registration=False
    Security=domestic
    Checked=True
    Mandatory=False
    SourcePath=WebServer
    Archive=snmp.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=SNMP_PreInstall
    PostInstall=SNMP_PostInstall
    [I18N]
    Nickname=i18n
    Name=I18N Support
    Version=6.0
    Compatible=4.0
    Expires=0
    Checked=True
    Mandatory=True
    Visible=False
    SourcePath=WebServer
    Archive=i18n-core.zip
    UseLDAP=False
    Description=iPlanet Web Server Internationalization Support
    Registration=FALSE
    Plugin=WebServer\WebServer.dll
    PreInstall=I18N_PreInstall
    AskOptions=I18N_AskOptions
    WriteLocalCache=I18N_WriteLocalCache
    GetSummary=I18N_GetSummary
    PostInstall=I18N_PostInstall
    defLang=en,ja
    en=�p��
    ja=���{��
    [CleanUp]
    Name=Upgrade Files
    Description=iPlanet Web Server Upgrade Files
    Nickname=cleanup
    Version=6.0
    Compatible=4.0
    Expires=0
    Registration=False
    Security=domestic
    Checked=True
    Mandatory=True
    Visible=False
    SourcePath=WebServer
    Archive=nescore.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=Cleanup_PreInstall
    AskOptions=Cleanup_AskOptions
    GetSummary=Cleanup_GetSummary
    WriteLocalCache=Cleanup_WriteLocalCache
    PostInstall=Cleanup_PostInstall

  • IPlanet upgrade from 4.1 to 6.1

    I have an issue in that the images are not displaying correctly (little red 'x' in a box where an image should be and thatthe font for the text has now changed. Can anyone offer any insight as to how to possibly resove thsi issue?

    initially the problem bagan with iplanet 4.1. All of a sudden the images displayed were distorted inthat backgrounds were incorrect text was a different font etc...... Odd thing is that on one server when you launch yoru image is distirted, then if you refresh the page one or two times, the image suddenly comes back correct. This exact same problem occured when it was upgraded to 6.1. We do not have web server folks on board anymore that would know where to look to see why this is happening .. any input would be appreciated ... yes the servelts are in the correct path ... was asked that before, files are there where they should be

  • IPlanet-WebServer-Enterprise/6.0SP6 for JDK1.6 upgrade issue

    I want to upgrade iPlanet Web Server 6.0 with JDK/jre 6.0. currently iPlanet Web Server 6.0 is refferring to JDK1.5.0_17 in our lab. I see following error in logs.Any ideas which state is this upgrade is valid or a resolution for the below error would be great.
    I tried increasing stack size(StackSize 7168000 in magnus.conf),increasing Sun os filedescriptors and stacksize,jvm.minHeapSize=8388608 and jvm.maxHeapSize=33554432( in jvm12.conf)
    Thanks in advance
    iPlanet-WebServer-Enterprise/6.0SP6 B06/23/2003 14:40
    [18/Dec/2009:09:44:27] info ( 3351): Installing a new configuration
    [18/Dec/2009:09:44:27] info ( 3351): [LS ls1] http://stg-bobowww02.attws.com, port 9090 ready to accept requests
    [18/Dec/2009:09:44:27] info ( 3351): A new configuration was successfully installed
    [18/Dec/2009:09:44:27] config ( 3351): Error occurred during initialization of VM
    [18/Dec/2009:09:44:27] config ( 3351): java.lang.StackOverflowError
    [18/Dec/2009:09:44:27] config ( 3351):
    [18/Dec/2009:09:44:27] config ( 3351): at java.lang.String.hashCode(String.java:1482)
    [18/Dec/2009:09:44:27] config ( 3351): at java.util.Hashtable.get(Hashtable.java:334)
    [18/Dec/2009:09:44:27] config ( 3351): at java.util.Properties.getProperty(Properties.java:932)
    [18/Dec/2009:09:44:27] config ( 3351): at java.lang.System.getProperty(System.java:653)
    [18/Dec/2009:09:44:27] config ( 3351): at java.lang.Class$3.run(Class.java:2897)
    [18/Dec/2009:09:44:27] config ( 3351): at java.security.AccessController.doPrivileged(Native Method)
    [18/Dec/2009:09:44:27] config ( 3351): at java.lang.Class.checkInitted(Class.java:2881)

    Thanks for the reply.
    curretnly i see from logs we have servicepack 6 for iplanet6.0 in my box. If i upgrade with new servicepack can i use JDK1.6? because i don't see that kind of statement with even in any of the documents.The documents only talk upto 1.4.2
    secondly upgrading to newer version,I think for this we need to take new licences and is there will be a cost factor for 7.0 upgrade.Because i see the free download is only for 60 day evaluation. For upgradation i need to talk to my management for getting approval i need to atleast show them we cannot do it with the existing 6.0 server with SP6.
    I use the default value intially,and i was getting the StackOverFlow error.Some sites suggested in increasing the stacksize value for remedy to StackOverFlow error.So i increased it in an increments of 1MB. And thought this would be the peak value and stopped over there.

  • Upgrade question (iPlanet Web Proxy Server)

    Hello List,
    What is the procedure for upgrading iPlanet Web Proxy Server 3.6 (beta)
    to iPlanet Web Proxy Server 3.6 on Solaris 2.8?
    Thank you in advance.
    - Andrew Petrov.

    Hi
    This as per the HTTP/1.1 RFC (RFC2616)
    The Connection general-header field allows the sender to specify options that are desired for that particular connection and MUST NOT be communicated by proxies over further connections.
    The Connection header has the following grammar:
    Connection = "Connection" ":" 1#(connection-token)
    connection-token = token
    HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token in this field, remove any header field(s) from the message with the same name as the connection-token. Connection options are signaled by the presence of a connection-token in the Connection header field, not by any corresponding additional header field(s), since the additional header field may not be sent if there are no parameters associated with that connection option.
    Read the following at
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.3
    and
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.10
    Regards
    Nagendra HK

  • IPlanet webserver upgradation from 7.0.9 to 7.0.20

    Hi Team,
    I am using iPlanet Web Server version 7.0.9 on Solaris 10 currently. I would like to upgrade the latest version 7.0.20.
    Kindly guide me how to upgrade the installed version to 7.0.20 from the server level. Please give me the steps to upgrade the version 7.0.20.
    Also please let me know whether the version 7.0.20 is a free one and where can I get it?
    Thanks in Advance!
    Regards,
    Murali S.

    Hi,
    All the links to each version are listed here.
    Available Versions, Patches, and Updates for Download for Oracle iPlanet Web Server (Doc ID 1326069.1)
    The install and upgrade guide is available here,
    http://docs.oracle.com/cd/E19146-01/821-1832/index.html
    Upgrading is usually fairly easy. Of course you need good backups before you start as with  any other upgrade. The just run the installer (./setup). When you supply the path to the existing
    install it will detect 7.0.9 and ask you if you just want to upgrade it. Just confirm and follow the steps.
    regards,
    Russell

  • Upgrade from Netscape (iPlanet) DS 4.12 to Sun DS 5.1

    Hello,
    I have been dong some reading and I am not quite sure what the answer is to this question. Is it possible to upgrade from Netscape Directory Server 4.12 (iPlanet) to Sun ONE Directory Server 5.1? Is there any large benfit in doing so? I read somewhere taht I cannot have IIS installed with DS5.1 - is that true? If so - why?

    Yes it's possible to upgrade from Directory Server 4.12 to Sun ONE Directory Server 5.1 SP1...
    The latest version of the Directory Server is more compliant with LDAPv3, has several new features (such as Roles, Class of Service, MultiMaster Replication...) and is much more reliable.
    There are hundreds of defects that have been fixed since the 4.12 version.
    It is recommended that you do not install IIS on the machine where you're installing Sun ONE Directory Server. I think this is for performance and security reasons (you probably don't want to compromise the security of the machine where the Directory is running, do you ?).
    Regards,
    Ludovic.

  • IPlanet Upgrade causes Provisioning Issue

    Hello All,
    I have recently upgraded the SJSDS connector to 9.0.4.15. I was able to update previously provisioned users prior to running the FVC Utility. After running the FVC Utility, I am unable to provision user/ update already provisioned users.
    The create user fails with :
    Response: com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations.createUser(java.lang.String, java.l
    Response Description: Unknown response received
    And when I check the logs I notice the following:
    06/13/2012 13:59:06,793 - Logger.error (?:?) >> ERROR: ================= Start Stack Trace =======================
    06/13/2012 13:59:06,793 - Logger.error (?:?) >> ERROR: com.thortech.xl.integration.iplanet.util.tcUtilLDAPOperations : release
    06/13/2012 13:59:06,794 - Logger.error (?:?) >> ERROR: com.thortech.xl.integration.iplanet.util.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably not created, since it is null
    06/13/2012 13:59:06,795 - Logger.error (?:?) >> ERROR: Description : com.thortech.xl.integration.iplanet.util.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably not created, since it is null
    06/13/2012 13:59:06,795 - Logger.error (?:?) >> ERROR: com.thortech.xl.integration.iplanet.exception.NoInitialContextException: com.thortech.xl.integration.iplanet.util.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably not created, since it is null
    Any suggestions.

    Hello Kuldeep,
    I tried replacing the Jar's and clearing the cache and restarting the server.
    I still get the same error:
    com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations.createUser(java.lang.String, java.l
    Response Description: Unknown response received
    Setting task status... "com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations.createUser(java.lang.String, java.l" does not correspond to a known Response Code. Using "UNKNOWN".

  • Upgrade of Iplanet system.

    Hi,
    I need some help here. Hope that somebody can enlighten me on this.
    I have the following setup
    2 web servers running iWS 4.1 SP5 in 2 different machines with web
    connectors installed. Web connector version is iAS 6.0 SP1 Release B
    2 App servers that forms up an iAS cluster running iAS 6.0 SP1 Release B
    3 Directory Servers in 2 machines machine.
    - 1 System LDAP that is used for storing system information,
    including setup info, Application EJB registration.
    - 2 Application LDAP ( 1 master and 1 replica) for storing user
    information.
    running iDS version is iDS 4.12
    We are thinking of performing the following upgrade without affecting the
    services , or with minimum downtime of the services running in the exisiting
    system.
    iWS 4.1 SP5 to iWS 6.0 SP1
    iAS 6.0 SP1 to iAS 6.0 SP4
    iDS 4.12 to iDS 5.0 SP 1
    Believe that it will be a major iPlanet upgrade. Appreciated if someone
    could provide some advices/views on these.
    Thanks
    Regards
    Cheng Leong

    You are right, this will end up being a pretty serious upgrade. Not only will the upgrade take a reasonably long amount of time, but you also will have complete new administrative interfaces for iDS and iWS. So there are process issues as well.
    As far as the actual cutover goes, I'd first make sure that I could successfully do the migration on a test box. Then I would install the new products on the production boxes in parallel with the existing products, but on seperate ports. Then I'd test the new instances.
    At that point the actual switchover is just a matter of either adjusting the loadbalancers to the new ports, or switching the new webserver instances to run on the old ports. (Depending on how you distribute web load.)
    David

  • Upgrading  iplanet 4.1 directory server to 5.0

    Dear all
    Problem goes like this:
    We have netscape messaging server 4.1 ,directory server 4.1 running on NT box
    we want to upgrade our mail server to 5.1 and directory server to 5.0 .
    how can i get a pack of mail server 5.1 with directory server 5.0.
    we are thinking to shift the system to Solaris also.
    i tried first loading directory server 5.1 on solaris and then loading messaging server on the same system but using the existing directory server option . then migrating the users from old directory server to 5.1 .
    when we are loading the 5.1 on solaris it's straight forward and it's getting loaded but when installing messaging server on the same system we got a problem saying that serious problem occured while installing admin server ....
    and coming out.

    Hi Phil,
    To ensure its not permissions I'd grant the EUL Owner
    the "Select Any Table" database priv and then try
    again.
    If it still fails I would then perform a database
    trace of the session to get more details.
    Finally, if that fails I would create a new 3.1 EUL
    and export/import all of your business areas into
    that EUL and perform the upgrade to 4.
    Thanks,
    JeffHi Jeff,
    I'll try your suggestions.
    I also did a Business Area refresh which fixed a few definitions that no longer existed but when I ran the upgrade again I got the same error.
    Thanks.
    Phil.

  • Oracle iPlanet Web Server 7.0.9 Patch on Solaris 8 as upgrade from Sun One

    We have an application that we are moving from Solaris 8 to Solaris 10, but the process for doing this is slow due to the complex nature of the architecture (Perl, J2EE on JRun, WLS, etc). This means that the application will have some instances on Solaris 8 and some on Solaris 10 for the next few months. We wish to try to bring the non-OS infrastructure up to the same versions of code to assist in this.
    Now, I noticed in the release notes that Solaris 8 is no longer supported in 7.0.9 but was in 7.0.8. Is there anything inherent in this or was it just that no testing was done? I know that the official position of the "web tier" is that Solaris 8 is now "deprecated". I ask because it tells me if I can live with the risk of going to 7.0.9 on all environments - as the application code is more aware of this than its core OS - or whether I need to leave 7.0.8 on Solaris 8 and do 7.0.9 on Solaris 10. I'm not asking for support, but a question on whether there is a known issue or not.
    regards
    Colin

    Thank you. I'll keep the Solaris 8 boxes on v7.0.8 then.
    My main worry was not the code itself but the changes in installation, packaging, branding changes, default directories (e.g. /opt/oracle rather than /opt/sun), etc...... . If I am going to kill off Solaris 8 in a few months it isn't a big problem.

  • After I upgraded iplanet web server to 4.18 on AIX 4.3.3. I encountered "lossing secure instance's error/access log suddenly" very often.

    I have to restart the instance in order to recreate these log files. This secure instance has error log rotation at midnight. Anyone can help me out? Please advise.Thanks.
    Bruce

    Hi,
    What is the result of the command emctl start dbconsole ?
    What is the value of the EMD_URL parameter in your emd.properties file ?
    Cheers

  • Upgrading from NT 4.0 to Windows 2000

    Hello,
    I have iPlanet 6 installed and running under Windows NT 4.0. I need to upgrade the server to Windows 2000. Is there anything I need to do to iPlanet 6 before or after the Win2K upgrade? Or do I just upgrade the server, and the iPlanet software will run normally after the OS upgrade?
    Thanks for any advice on this topic.
    Sincerely,
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Dear Darren,
    Finally, I tried to use "Out Port.vi" under Windows 2000 (the AccessHW was added in NT as well as in 2000). It seemed to work (it means there was no more error "capability not supported", however it did not work (the result of reading a port using "In port.vi" was always 255, regardless the value I expected.
    The configuration of board was exactly in the same state as before crash of Windows NT (no change of base address of board etc.). But it is true that both boards (custom one and PCI-MIO-E-16E-4) were removed and than reinstalled. The LabView program was without any change.
    It is just my impression - I did not examine the problem very carefully, so may be there was some other reason of failing.
    But finally we decided to reinstalled N
    T, because of other (non-NI) devices which are not supported by Win 2000.
    Thank you. Regards
    Ferda

  • Iplanet 4.1 - How to set session timeout for a specific application

    Hi everyone,
    I have a Iplanet 4.1 old web instance running on Solaris 8. We are using this web instance to connect to few application instances running on Websphere 3.5. We have upgraded most of our web/app to higher version except this.
    One of the websphere applications need more session timeout. (Which I fuguredout not possible to do on Websphere).
    How do I achieve this on Iplanet 4.1.
    NOTE: I referred to Iplanet 6.x where we can achieve this by updating web-app.xml timeOut value per URI. I do not find web-app.xml under v4.1
    Thanks in advance,

    Sorry to say that we can't help here. WS4.1 is obsolete a long time ago.
    As you mentioned that you should use WS6.1SPx or WS7.0 for your production and get support.

  • Re: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't forget about the regular expression potential

    Namburi,
    When you said you used the Reg Exp tool, did you use it only as
    preconfigured by the iMT migrate application wizard?
    Because the default configuration of the regular expression tool will only
    target the files in your ND project directories. If you wish to target
    classes outside of the normal directory scope, you have to either modify the
    "Source Directory" property OR create another instance of the regular
    expression tool. See the "Tool" menu in the iMT to create additional tool
    instances which can each be configured to target different sets of files
    using different sets of rules.
    Usually, I utilize 3 different sets of rules files on a given migration:
    spider2jato.xml
    these are the generic conversion rules (but includes the optimized rules for
    ViewBean and Model based code, i.e. these rules do not utilize the
    RequestManager since it is not needed for code running inside the ViewBean
    or Model classes)
    I run these rules against all files.
    See the file download section of this forum for periodic updates to these
    rules.
    nonProjectFileRules.xml
    these include rules that add the necessary
    RequestManager.getRequestContext(). etc prefixes to many of the common
    calls.
    I run these rules against user module and any other classes that do not are
    not ModuleServlet, ContainerView, or Model classes.
    appXRules.xml
    these rules include application specific changes that I discover while
    working on the project. A common thing here is changing import statements
    (since the migration tool moves ND project code into different jato
    packaging structure, you sometime need to adjust imports in non-project
    classes that previously imported ND project specific packages)
    So you see, you are not limited to one set of rules at all. Just be careful
    to keep track of your backups (the regexp tool provides several options in
    its Expert Properties related to back up strategies).
    ----- Original Message -----
    From: <vnamboori@y...>
    Sent: Wednesday, August 08, 2001 6:08 AM
    Subject: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't
    forget about the regular expression potential
    Thanks Matt, Mike, Todd
    This is a great input for our migration. Though we used the existing
    Regular Expression Mapping tool, we did not change this to meet our
    own needs as mentioned by Mike.
    We would certainly incorporate this to ease our migration.
    Namburi
    --- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
    All--
    Great response. By the way, the Regular Expression Tool uses thePerl5 RE
    syntax as implemented by Apache OROMatcher. If you're doing lotsof these
    sorts of migration changes manually, you should definitely buy theO'Reilly
    book "Mastering Regular Expressions" and generate some rules toautomate the
    conversion. Although they are definitely confusing at first,regular
    expressions are fairly easy to understand with some documentation,and are
    superbly effective at tackling this kind of migration task.
    Todd
    ----- Original Message -----
    From: "Mike Frisino" <Michael.Frisino@S...>
    Sent: Tuesday, August 07, 2001 5:20 PM
    Subject: Re: [iPlanet-JATO] Use Of models in utility classes -Pease don't
    forget about the regular expression potential
    Also, (and Matt's document may mention this)
    Please bear in mind that this statement is not totally correct:
    Since the migration tool does not do much of conversion for
    these
    utilities we have to do manually.Remember, the iMT is a SUITE of tools. There is the extractiontool, and
    the translation tool, and the regular expression tool, and severalother
    smaller tools (like the jar and compilation tools). It is correctto state
    that the extraction and translation tools only significantlyconvert the
    primary ND project objects (the pages, the data objects, and theproject
    classes). The extraction and translation tools do minimumtranslation of the
    User Module objects (i.e. they repackage the user module classes inthe new
    jato module packages). It is correct that for all other utilityclasses
    which are not formally part of the ND project, the extraction and
    translation tools do not perform any migration.
    However, the regular expression tool can "migrate" any arbitrary
    file
    (utility classes etc) to the degree that the regular expressionrules
    correlate to the code present in the arbitrary file. So first andforemost,
    if you have alot of spider code in your non-project classes youshould
    consider using the regular expression tool and if warranted adding
    additional rules to reduce the amount of manual adjustments thatneed to be
    made. I can stress this enough. We can even help you write theregular
    expression rules if you simply identify the code pattern you wish to
    convert. Just because there is not already a regular expressionrule to
    match your need does not mean it can't be written. We have notnearly
    exhausted the possibilities.
    For example if you say, we need to convert
    CSpider.getDataObject("X");
    To
    RequestManager.getRequestContext().getModelManager().getModel(XModel.class);
    Maybe we or somebody else in the list can help write that regularexpression if it has not already been written. For instance in thelast
    updated spider2jato.xml file there is already aCSpider.getCommonPage("X")
    rule:
    <!--getPage to getViewBean-->
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[getViewBean($1ViewBean.class]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    Following this example a getDataObject to getModel would look
    like this:
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[getModel($1Model.class]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    In fact, one migration developer already wrote that rule andsubmitted it
    for inclusion in the basic set. I will post another upgrade to thebasic
    regular expression rule set, look for a "file uploaded" posting.Also,
    please consider contributing any additional generic rules that youhave
    written for inclusion in the basic set.
    Please not, that in some cases (Utility classes in particular)
    the rule
    application may be more effective as TWO sequention rules ratherthan one
    monolithic rule. Again using the example above, it will convert
    CSpider.getDataObject("Foo");
    To
    getModel(FooModel.class);
    Now that is the most effective conversion for that code if that
    code is in
    a page or data object class file. But if that code is in a Utilityclass you
    really want:
    >
    RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
    So to go from
    getModel(FooModel.class);
    To
    RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
    You would apply a second rule AND you would ONLY run this rule
    against
    your utility classes so that you would not otherwise affect yourViewBean
    and Model classes which are completely fine with the simplegetModel call.
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[getModel\(]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[getModel\(]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[RequestManager.getRequestContext().getModelManager().getModel(]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    A similer rule can be applied to getSession and other CSpider APIcalls.
    For instance here is the rule for converting getSession calls toleverage
    the RequestManager.
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[getSession\(\)\.]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[getSession\(\)\.]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[RequestManager.getSession().]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    ----- Original Message -----
    From: "Matthew Stevens" <matthew.stevens@e...>
    Sent: Tuesday, August 07, 2001 12:56 PM
    Subject: RE: [iPlanet-JATO] Use Of models in utility classes
    Namburi,
    I will post a document to the group site this evening which has
    the
    details
    on various tactics of migrating these type of utilities.
    Essentially,
    you
    either need to convert these utilities to Models themselves or
    keep the
    utilities as is and simply use the
    RequestManager.getRequestContext.getModelManager().getModel()
    to statically access Models.
    For CSpSelect.executeImmediate() I have an example of customhelper
    method
    as a replacement whicch uses JDBC results instead of
    CSpDBResult.
    matt
    -----Original Message-----
    From: vnamboori@y... [mailto:<a href="/group/SunONE-JATO/post?protectID=081071113213093190112061186248100208071048">vnamboori@y...</a>]
    Sent: Tuesday, August 07, 2001 3:24 PM
    Subject: [iPlanet-JATO] Use Of models in utility classes
    Hi All,
    In the present ND project we have lots of utility classes.
    These
    classes in diffrent directory. Not part of nd pages.
    In these classes we access the dataobjects and do themanipulations.
    So we access dataobjects directly like
    CSpider.getDataObject("do....");
    and then execute it.
    Since the migration tool does not do much of conversion forthese
    utilities we have to do manually.
    My question is Can we access the the models in the postmigration
    sameway or do we need requestContext?
    We have lots of utility classes which are DataObjectintensive. Can
    someone suggest a better way to migrate this kind of code.
    Thanks
    Namburi
    [email protected]
    [email protected]
    [Non-text portions of this message have been removed]
    [email protected]
    [email protected]

    Namburi,
    When you said you used the Reg Exp tool, did you use it only as
    preconfigured by the iMT migrate application wizard?
    Because the default configuration of the regular expression tool will only
    target the files in your ND project directories. If you wish to target
    classes outside of the normal directory scope, you have to either modify the
    "Source Directory" property OR create another instance of the regular
    expression tool. See the "Tool" menu in the iMT to create additional tool
    instances which can each be configured to target different sets of files
    using different sets of rules.
    Usually, I utilize 3 different sets of rules files on a given migration:
    spider2jato.xml
    these are the generic conversion rules (but includes the optimized rules for
    ViewBean and Model based code, i.e. these rules do not utilize the
    RequestManager since it is not needed for code running inside the ViewBean
    or Model classes)
    I run these rules against all files.
    See the file download section of this forum for periodic updates to these
    rules.
    nonProjectFileRules.xml
    these include rules that add the necessary
    RequestManager.getRequestContext(). etc prefixes to many of the common
    calls.
    I run these rules against user module and any other classes that do not are
    not ModuleServlet, ContainerView, or Model classes.
    appXRules.xml
    these rules include application specific changes that I discover while
    working on the project. A common thing here is changing import statements
    (since the migration tool moves ND project code into different jato
    packaging structure, you sometime need to adjust imports in non-project
    classes that previously imported ND project specific packages)
    So you see, you are not limited to one set of rules at all. Just be careful
    to keep track of your backups (the regexp tool provides several options in
    its Expert Properties related to back up strategies).
    ----- Original Message -----
    From: <vnamboori@y...>
    Sent: Wednesday, August 08, 2001 6:08 AM
    Subject: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't
    forget about the regular expression potential
    Thanks Matt, Mike, Todd
    This is a great input for our migration. Though we used the existing
    Regular Expression Mapping tool, we did not change this to meet our
    own needs as mentioned by Mike.
    We would certainly incorporate this to ease our migration.
    Namburi
    --- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
    All--
    Great response. By the way, the Regular Expression Tool uses thePerl5 RE
    syntax as implemented by Apache OROMatcher. If you're doing lotsof these
    sorts of migration changes manually, you should definitely buy theO'Reilly
    book "Mastering Regular Expressions" and generate some rules toautomate the
    conversion. Although they are definitely confusing at first,regular
    expressions are fairly easy to understand with some documentation,and are
    superbly effective at tackling this kind of migration task.
    Todd
    ----- Original Message -----
    From: "Mike Frisino" <Michael.Frisino@S...>
    Sent: Tuesday, August 07, 2001 5:20 PM
    Subject: Re: [iPlanet-JATO] Use Of models in utility classes -Pease don't
    forget about the regular expression potential
    Also, (and Matt's document may mention this)
    Please bear in mind that this statement is not totally correct:
    Since the migration tool does not do much of conversion for
    these
    utilities we have to do manually.Remember, the iMT is a SUITE of tools. There is the extractiontool, and
    the translation tool, and the regular expression tool, and severalother
    smaller tools (like the jar and compilation tools). It is correctto state
    that the extraction and translation tools only significantlyconvert the
    primary ND project objects (the pages, the data objects, and theproject
    classes). The extraction and translation tools do minimumtranslation of the
    User Module objects (i.e. they repackage the user module classes inthe new
    jato module packages). It is correct that for all other utilityclasses
    which are not formally part of the ND project, the extraction and
    translation tools do not perform any migration.
    However, the regular expression tool can "migrate" any arbitrary
    file
    (utility classes etc) to the degree that the regular expressionrules
    correlate to the code present in the arbitrary file. So first andforemost,
    if you have alot of spider code in your non-project classes youshould
    consider using the regular expression tool and if warranted adding
    additional rules to reduce the amount of manual adjustments thatneed to be
    made. I can stress this enough. We can even help you write theregular
    expression rules if you simply identify the code pattern you wish to
    convert. Just because there is not already a regular expressionrule to
    match your need does not mean it can't be written. We have notnearly
    exhausted the possibilities.
    For example if you say, we need to convert
    CSpider.getDataObject("X");
    To
    RequestManager.getRequestContext().getModelManager().getModel(XModel.class);
    Maybe we or somebody else in the list can help write that regularexpression if it has not already been written. For instance in thelast
    updated spider2jato.xml file there is already aCSpider.getCommonPage("X")
    rule:
    <!--getPage to getViewBean-->
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[getViewBean($1ViewBean.class]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    Following this example a getDataObject to getModel would look
    like this:
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[getModel($1Model.class]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    In fact, one migration developer already wrote that rule andsubmitted it
    for inclusion in the basic set. I will post another upgrade to thebasic
    regular expression rule set, look for a "file uploaded" posting.Also,
    please consider contributing any additional generic rules that youhave
    written for inclusion in the basic set.
    Please not, that in some cases (Utility classes in particular)
    the rule
    application may be more effective as TWO sequention rules ratherthan one
    monolithic rule. Again using the example above, it will convert
    CSpider.getDataObject("Foo");
    To
    getModel(FooModel.class);
    Now that is the most effective conversion for that code if that
    code is in
    a page or data object class file. But if that code is in a Utilityclass you
    really want:
    >
    RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
    So to go from
    getModel(FooModel.class);
    To
    RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
    You would apply a second rule AND you would ONLY run this rule
    against
    your utility classes so that you would not otherwise affect yourViewBean
    and Model classes which are completely fine with the simplegetModel call.
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[getModel\(]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[getModel\(]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[RequestManager.getRequestContext().getModelManager().getModel(]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    A similer rule can be applied to getSession and other CSpider APIcalls.
    For instance here is the rule for converting getSession calls toleverage
    the RequestManager.
    <mapping-rule>
    <mapping-rule-primarymatch>
    <![CDATA[getSession\(\)\.]]>
    </mapping-rule-primarymatch>
    <mapping-rule-replacement>
    <mapping-rule-match>
    <![CDATA[getSession\(\)\.]]>
    </mapping-rule-match>
    <mapping-rule-substitute>
    <![CDATA[RequestManager.getSession().]]>
    </mapping-rule-substitute>
    </mapping-rule-replacement>
    </mapping-rule>
    ----- Original Message -----
    From: "Matthew Stevens" <matthew.stevens@e...>
    Sent: Tuesday, August 07, 2001 12:56 PM
    Subject: RE: [iPlanet-JATO] Use Of models in utility classes
    Namburi,
    I will post a document to the group site this evening which has
    the
    details
    on various tactics of migrating these type of utilities.
    Essentially,
    you
    either need to convert these utilities to Models themselves or
    keep the
    utilities as is and simply use the
    RequestManager.getRequestContext.getModelManager().getModel()
    to statically access Models.
    For CSpSelect.executeImmediate() I have an example of customhelper
    method
    as a replacement whicch uses JDBC results instead of
    CSpDBResult.
    matt
    -----Original Message-----
    From: vnamboori@y... [mailto:<a href="/group/SunONE-JATO/post?protectID=081071113213093190112061186248100208071048">vnamboori@y...</a>]
    Sent: Tuesday, August 07, 2001 3:24 PM
    Subject: [iPlanet-JATO] Use Of models in utility classes
    Hi All,
    In the present ND project we have lots of utility classes.
    These
    classes in diffrent directory. Not part of nd pages.
    In these classes we access the dataobjects and do themanipulations.
    So we access dataobjects directly like
    CSpider.getDataObject("do....");
    and then execute it.
    Since the migration tool does not do much of conversion forthese
    utilities we have to do manually.
    My question is Can we access the the models in the postmigration
    sameway or do we need requestContext?
    We have lots of utility classes which are DataObjectintensive. Can
    someone suggest a better way to migrate this kind of code.
    Thanks
    Namburi
    [email protected]
    [email protected]
    [Non-text portions of this message have been removed]
    [email protected]
    [email protected]

Maybe you are looking for

  • Acrobat toolbar in Safari

    I just finished updating my Acrobat Pro, but now the toolbar that usually shows up in Safari when opening a .pdf is gone. How do I get the toolbar back?

  • Can I connect X-Fi to my DDTS-100 through coaxi

    I currently have an Audigy 2 ZS but looking to upgrade, do these latest X-Fi card have coaxial so i can have true Dolby/DTS through my DDTS-00 (or through an amp/decoder)?Thanks

  • Can a Tag name be changed?

    Hi I have this backup, USQ4_HOT_0226_2125, and would like to change the TAG to USQ4_HOT_KEEP_UNTIL_JUNE01 RMAN> LIST BACKUP SUMMARY; 2> List of Backups =============== Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag 7932 B F A

  • Block the processing of payroll for employees who do not have IT0185 ST01

    Hi People. I have a client requirement that payroll should be processed only for those persons for whom ID number (IT0185-ST01) is available. I am trying to do it for Portugal Payroll. I activated P0185 function in PE04 for Portugal and created 2 rul

  • Is it possible to compress SWF files using gzip?

    I am using gzip for all the files of my server but my swf doesn't seem to be getting compressed also "swfobject_modified.js" used by the SWF file doesn't get compressed as well, whereas other .js files are getting compressed. Any suggestions ?