Precompile JSP and auto-deploy

Hi!
Before deploying our web-application we run it through 'ojscp' to pre-compile the JSP-pages.
The we use the auto-deploy feature of OC4J.
Work almost! - except the pre-compiled pasges are not deployed. A directory '_pages' are included in the war-file, but is not copied to the application-deployment directory (./persistence).
I can copy by hand and the things work.
It this a bug or have I missed something???
I am using a stand-alone OC4J 9.0.3 (latest release).
Kind Regards
Klaus Gadegaard
TietoEnator Solutions

Klaus,
Yes, we are aware of this issue/problem. We are working to fix this in 9.0.4.
What you are currently doing as a workaround will work just fine. As an alternative, if you could try to pre-create _pages directory and then deploy.  I am not 100% sure if this alternative will work.. Will test out.. you may also want to try out.
-Prasad
Hi!
Before deploying our web-application we run it through 'ojscp' to pre-compile the JSP-pages.
The we use the auto-deploy feature of OC4J.
Work almost! - except the pre-compiled pasges are not deployed. A directory '_pages' are included in the war-file, but is not copied to the application-deployment directory (./persistence).
I can copy by hand and the things work.
It this a bug or have I missed something???
I am using a stand-alone OC4J 9.0.3 (latest release).
Kind Regards
Klaus Gadegaard
TietoEnator Solutions

Similar Messages

  • JSP and package deployment problem in Tomcat 5

    Hi,
    I tried very simple exercise that includes JSP and javabean (from package), but I have the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error ()
    that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    [javac] C:\jwsdp\work\Catalina\localhost\exercises\org\apache\jsp\ex01\ex01_jsp.java:10:
    package pack01 does not exist
    [javac] import pack01.ex01;
    [javac] ^
    Bellow are all my sources
    1. directory structure
    ========================
    C:\jwsdp\webapps\exercises
    index.html
    C:\jwsdp\webapps\exercises\ex01
    build.bat
    ex01.jsp
    C:\jwsdp\webapps\exercises\ex01\WEB-INF
    web.xml
    C:\jwsdp\webapps\exercises\ex01\WEB-INF\classes
    C:\jwsdp\webapps\exercises\ex01\WEB-INF\classes\pack01
    ex01.class
    ex01.java
    C:\jwsdp\webapps\exercises\ex01\WEB-INF\lib
    pack01.jar
    2. sources
    ==========
    << ex01.jsp >>
    <HTML> <HEAD> <TITLE>Ex01</TITLE> </HEAD>
    <BODY>
    <FORM METHOD="GET" ACTION="ex01.jsp">
    <%@ page import = "pack01.ex01" %>
    <H2>Ex01</H2>
    <jsp:useBean id = "x" class = "ex01" scope="application"/>
    </FORM>
    </BODY> </HTML>
    << ex01.java >>
    package pack01;
    import java.io.*;
    public class ex01 implements Serializable {
    private String value;
    public ex01() {
    value = "EX01";
    public void setValue(String s) {
    value = s;
    public String getValue() {
    return value;
    << build.bat >>
    cd WEB-INF\classes\
    cd
    del ex01.jar
    javac -deprecation -verbose pack01\ex01.java
    jar cvf ..\lib\pack01.jar pack01\ex01.class
    << C:\jwsdp\webapps\exercises.xml >>
    <Context className="org.apache.catalina.core.StandardContext"
         cachingAllowed="true"
         charsetMapperClass="org.apache.catalina.util.CharsetMapper"
         configFile="webapps\exercises.xml"
         cookies="true"
         crossContext="false"
         debug="0"
         displayName="Exercises"
         docBase="C:\jwsdp\webapps\exercises"
         domain="Catalina"
         engineName="Catalina"
         j2EEApplication="none"
         j2EEServer="none"
         lazy="true"
         mapperClass="org.apache.catalina.core.StandardContextMapper"
         path="/exercises"
         privileged="false"
         reloadable="true"
         startupTime="30"
         swallowOutput="true"
         useNaming="true"
         wrapperClass="org.apache.catalina.core.StandardWrapper" >
    </Context>
    What is wrong ?
    I have Windows NT and Tomcat 5 (from jwsdp 1.2).
    Thank you,
    Alex.

    I just tried to reproduce the problem with old version of Tomcat (4.0.2) and ... it works. It is definitely specific for Tomcat 5 (or may be one of the late Tomcat 4 as well). There is another related difference:
    With Tomcat 4 I could create javabean in class subdirectory (default package) and use
    <%@ page import="ex01" %>
    Now with Tomcat 5 I have syntax error in this line.
    This syntax error disappeared when I moved javabean into package pack01.

  • Auto deploy pre-compiled JSP

    Hello
    In the post of gadegaard in november 2002, there was a problem to au deploy pre-compiled JSP. Is this problem has been fix in the 9.0.4 OC4J version ?
    If yes, is it sufficient to create a "_pages" directory in the war (the war is contained in an ear) and auto deploy it ? Because my pre-compiled JSP are not deployed.
    Tanks in advance for your answer
    Emmanuelle

    Emmanuelle:
    There are two ways to use the precomiled JSP files.
    Method one: You can just copy the generated JSP page implementation classes to the directory application-deployments/yourApp/yourWebApp/persistence/_pages. If the init-param "main_mode" of jsp servlet of your web app is reload, then these classes will be used without stopping the server. This is the fastest way in development.
    Method two: You can packaged the generated JSP page implementation classes into a jar just like any other java class libraries. Then create your war with that jar inside WEB-INF/lib. Make sure the init-param "main_mode" of jsp servlet in your web.xml is justrun. Now you have a deployable war file. You can deploy the war file (within an ear file) to oc4j and access the JSP page.
    Please tell me if either of thse methods works for you
    Please note since oc4j 10.1.3, ojspc will package the generated classes into a jar under WEB-INF/lib if given an war or ear file.

  • Redeploy precompiled JSPs to managed server in exploded format without incurring a JSP recompile

         How do you redeploy precompiled JSPs to a managed server in exploded format without
    incurring a JSP recompile?
         Our application is deployed in Two Phase, Stage mode, Exploded Format. We regularly
    update JSPs on our Production application and would like to be able to redeploy
    JSPs without incurring the JSP recompile. I am able to precompile JSPs and redeploy
    the JSP and compiled JSP to the managed server, but the updated page is still
    recompiled.
         I've searched the BEA site, newsgroups, and web and still need some help.
         Additional information:
         - precompile in web.xml is false. we'd prefer not to precompile all the jsps
    at startup to minimize Production downtimes when deploying new major releases
         - the compiled JSPs reside in ~/classes/jsp_servlet and not ~/WEB-INF/classes/jsp_servlet
         - our directory structure looks like:
              ~/app
                   /META-INF
                   /WEB-INF
                   /classes ( compiled source )
                        /hotwire ( java class files )
                        /jsp_servlet ( compiled jsps )
              ~/deploy ( property files )
                   /prod
                        /web.xml
                        /weblogic.xml
              ~/src ( java files )
                   hotwire/
         I found this information on the BEA newsgroup ( http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=582&utag=
    ) regarding the _isStale() method for compiled JSPs, but wasn't able to get it
    to work when the file was in the exact same path ( note: compilation occurred
    on a different machine than the managed view server )
         Do we have to store our compiled JSP files under /WEB-INF/classes for this feature
    to work and in a WAR?
         What am I missing?
         Regards,
              Paul

    Hi Mark,
    Thank you for replying and logging the CR. I've read lots of your posts in researching
    this issue and was hoping you'd reply.
    I used the JSP Precompile Validation Utility ( http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
    ) and tested against WLS8.1sp2 and agree with your assessment. The JSP Time utility
    indicates that the JSP and compiled class are in agreement, yet the server always
    recompiled the JSP after I redeployed that particular file and class. I opened
    Case Ticket #: 473459 that includes a test script, output, and lots of information.
    It's currently being investigated. I'll inform the BEA Relations engineer and
    add my name to the CR you opened.
    Dynamic content updates without recompiles is something we'd really like to be
    able to do. We are hoping to be able to do specific frequent content updates
    in the afternoon as opposed to 1:00 AM :)
    Thanks again,
    Paul
    JSP TIME TOOL:
    Summary
    ====================
    Total JSP Files: 1
    Total JSP that will compile in server because of missing _staticIsStale method:....
    0
    Total JSP that will compile in server because of wrong weblogic version:...........
    0
    Total JSP that will compile in server because jsp is newer than parse date:........
    0
    Total JSP that will compile in server because missing class:.......................
    0
    REDEPLOY COMMAND:
    $JAVA weblogic.Deployer -adminurl t3://localhost:7004 -user <username> -password
    <password> -name phoenixApp -targets phoenixViewWebApp@wlview1 -redeploy web/jsp/customer-care/indexMain.jsp
    WEB-INF/classes/jsp_servlet/_web/_jsp/_customer_45_care/__indexmain.jsp
    WEBLOGIC LOG:
    ####<Jan 13, 2004 3:33:04 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149059> <Module
    phoenixViewWebApp of application phoenixApp is transitioning from active to prepared
    on server wlview1.>
    ####<Jan 13, 2004 3:33:04 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149060> <Module
    phoenixViewWebApp of application phoenixApp successfully transitioned from active
    to prepared on server wlview1.>
    ####<Jan 13, 2004 3:33:05 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149059> <Module
    phoenixViewWebApp of application phoenixApp is transitioning from prepared to
    active on server wlview1.>
    ####<Jan 13, 2004 3:33:05 PM PST> <Info> <Deployer> <ppjsp01> <wlview1> <ExecuteThread:
    '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-149060> <Module
    phoenixViewWebApp of application phoenixApp successfully transitioned from prepared
    to active on server wlview1.>
    ####<Jan 13, 2004 3:38:13 PM PST> <Info> <HTTP> <ppjsp01> <wlview1> <ExecuteThread:
    '119' for queue: 'default'> <<anonymous>> <> <BEA-101295> <Recompiling JSP [ServletContext(id=31702491,name=phoenixViewWebApp,context-path=)],
    resource [web/jsp/customer-care/indexMain.jsp], because it is stale. It was previously
    compiled using a different version of WebLogic Server.
    JSP build version: 8.1.2.0
    WLS build version: 8.1.2.0.>
    ####<Jan 13, 2004 3:38:13 PM PST> <Info> <HTTP> <ppjsp01> <wlview1> <ExecuteThread:
    '119' for queue: 'default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=31702491,name=phoenixViewWebApp,context-path=)]
    Generated java file: /opt/p4/phoenix/6.2/app/WEB-INF/classes/jsp_servlet/_web/_jsp/_customer_45_care/__indexmain.java>
    "Mark Griffith" <[email protected]> wrote:
    So this is a scenario that we should support Paul.
    There are a couple of issues.
    1) I dont think our weblogic.Deployer api currently does a very good
    job of
    this at all, since it is MOSTLY concerned with redeployment of applications
    and modules, and in this scenario you dont want app redpeloyment you
    just
    want what are essentially content files distributed. In otherwords the
    api
    I worry wont help you distributing files for this case, at least in this
    current release and SP.
    2) once you get the files to the location, things should in the servlet
    containers.
    Having said that it is easier if you are able to have the application's
    deployed with -no-stage, or no-copying, or shared application, that way
    you
    have one location to copy files to vs. many stage dirs. Either way you'll
    have to copy the jsp's and the classfiles to the webapp directories.
    Additionally I just tried this on 8.1. sp2 and the stale-check by the
    servlet container is busted. :( I opened a bug on this: CR133453.
    Not
    sure if this is in sp1 or not, didnt have time to check it. I suggest
    you
    contact support and get your name added to this CR to raise its priority.
    Cheers
    mbg

  • Precompiling JSPs changes directory name

    I am using the weblogic.appc compiler to precompile JSPs and I noticed that if my source folder name contains a hyphen, eg. my-test, after precompilation the class files are stored under \WEB-INF\classes\jsp_servlet\_my_45_test\ directory.
              The "-" in the name is substituted by its ASCII value. Is there a way to stop this from happening other than choosing a different name for the source folder?
              Thanks

    cranestar wrote:
    Oracle db versesion : 11g
    Apex version: 4.1.0.00.32
    I have created a file browse object on a page. After filling several text boxes and selecting a file the page writes a row into a table
    in the database.
    When a file is selected with the file browse the name looks like:
    C:\OracleApex\PDM-BOM comparison app\datafiles\B-15680-49_D_SAP.CSV
    However in the database the name appears as:
    F1531709975/B-15680-49_D_SAP.CSV
    What happened to the directory name? This causes problems because I need to use the directory and file name in a utl_file
    utility.<tt>F1531709975</tt> is produced to provide a unique file identifier in the <tt>apex_application_files</tt> view, and is the session state value of the file browse control that uploaded the file. The actual filename is available in the <tt>filename</tt> column.
    As has been noted in many previous threads on this topic: For security/privacy reasons recent versions of browsers by default do not send local file path information from File Browse items to the server, nor expose the file path in the control's JavaScript methods. Firefox, Safari and Chrome only provide the filename. IE6 & IE7 still yield the path in Windows format. IE8+ and Opera have adopted an irritating approach of replacing the path with a wholly imaginary "C:\fakepath\"&mdash;and this monstrosity has sadly had to be enshrined in the HTML5 spec...
    Changing IE's security config setting "Include local directory path when uploading files" enables the path to be exposed in IE, but unless you're working in an intranet environment where: IE is the only browser used; it's possible to make remote changes to this setting on every desktop; and this won't break/expose anything else, then trying to achieve this is pointless.
    For more information see:
    http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-March/018980.html
    http://blogs.msdn.com/ie/archive/2009/03/20/rtm-platform-changes.aspx
    http://developers.whatwg.org/number-state.html#file-upload-state

  • Fast swap Vs Auto deploy

    Hi Friend's,
    Can you please tell me differnece betwetween fast swap and auto deploy deployments in weblogic server10. both are using in development mode only right.
    can I use Weblogic.Deployer tool to deploy applications in weblogic 10.3 ,we are using admin console to deploy applications. is there any way to deploy applications in wls.
    Thanks in advance.
    Balaji kumar
    Edited by: user9284716 on 14 Aug, 2010 9:36 PM

    Hi Balaji,
    Yes, this is true that the Fast-Swap and Autodeploy features are made for Development Mode ONLY. These features automatically disabled in production mode
    <font color=maroon>Fast-Swap:</font> Java EE 5 introduces the ability to redefine a class at runtime without dropping its ClassLoader or abandoning existing instances. This allows containers to reload altered classes without disturbing running applications, vastly speeding up iterative development cycles and improving the overall development and testing experiences.
    To know more about fast-swap please refer to : http://download.oracle.com/docs/cd/E12840_01/wls/docs103/deployment/deployunits.html#wp1053872
    <font color=maroon>Autodeploy:</font> Auto-deployment is intended for use with a single server target in a development environment. If you use other tools, such as the Administration Console, to add targets to an auto-deployed, exploded application, redeploying the application does not propagate changes to the new target servers. To know more about autodeploy: http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html
    <font color=maroon>weblogic.Deployer</font>
    Yes, you can use the "weblogic.Deployer" utility to deploy your Applications on the WLS server 10.3/10.x/9.x . Even there is ANT version of this utility is also available whichhelps us in deploying Application very quickly ... Please refer to: http://weblogic-wonders.com/weblogic/2009/12/19/ant-to-deploy-applications/
    weblogic.Deployer in WLS8.x Some featuers are less in weblogic.Deployer utility of weblogic 8.x because that time there was no concept of Shared Library deployment ...or Production redeployment also known as versioning or Using Plan.xml while redeploying apps using deployer utility).
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are here)

  • Auto-Deployment and Restarting Managed Server

    Hi,
    We are using WebLogic Server 7.0 SP2 on Solaris 8. Yesterday, a developer copied
    over a new WAR file into the applications directory. Then he ried to restart the
    managed server. This appeared to hang, so he tried restarting the admin. server,
    which also failed. Looking at the log, it looks like the admin. server is trying
    to deploy apps. from the applications/backup directory.
    After I removed the backup directory and edited config.xml to remove all references
    to this directory, I was able to startup the Admin. server (though there were
    still some errors; see later) and the managed server.
    The servers are actually running in "developemnt" mode and have the Aut-Deploy
    feature enabled, so my theory is that the auto-deployment was conflicting with
    the managed server restart. He shouldn't have had to restart the managed server
    since Auto-Deploy is enabled, right?
    I'm also wondering about these errors I got when I the Admin. server finally started:
    Starting WebLogic Server...
    <May 4, 2004 11:41:04 AM MDT> <Notice> <Management> <140005> <Loading configuration
    /wlsapp/prod/ivrprod/./config.xml>
    <May 4, 2004 11:41:14 AM MDT> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <May 4, 2004 11:41:14 AM MDT> <Notice> <WebLogicServer> <000327> <Starting WebLogic
    Admin Server "admin" for domain "ivrprod">
    <May 4, 2004 11:41:44 AM MDT> <Notice> <Application Poller> <149400> <Activating
    application: appsdirbackup_dir>
    <May 4, 2004 11:41:49 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir on admin - Running>
    <May 4, 2004 11:41:51 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir on admin - Completed>
    <May 4, 2004 11:41:54 AM MDT> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    <May 4, 2004 11:41:54 AM MDT> <Notice> <Application Poller> <149400> <Activating
    application: appsdirbackup_dir-0>
    <May 4, 2004 11:41:57 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir-0 on admin - Running>
    <May 4, 2004 11:41:59 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir-0 on admin - Running>
    <May 4, 2004 11:42:02 AM MDT> <Notice> <WebLogicServer> <000365> <Server state
    changed to RUNNING>
    <May 4, 2004 11:42:02 AM MDT> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    <May 4, 2004 11:42:13 AM MDT> <Error> <HTTP> <101045> <[ServletContext(id=2268781,name=InternetTroubleshooting,context-path=/backup/
    InternetTroubleshooting)] failed to compile /dialogs/ADSLDisambig.jsp, compiler
    errors:
    /wlsapp/prod/ivrprod/./admin/.wlnotdelete/_appsdir_backup_dir_InternetTroubleshooting_2268781/jsp_servlet/_dialogs/__ADSLDisambig.ja
    va:17: package com.nuance.ps.telus does not exist
    <May 4, 2004 11:42:20 AM MDT> <Error> <HTTP> <101045> <[ServletContext(id=1642582,name=ReportAPayment,context-path=/backup/ReportAPa
    yment)] translation of /dialogs/GetStatus.jsp failed: weblogic.servlet.jsp.JspException:
    (line 7): class 'com.nuance.ps.telus.Shared
    Storage' could not be loaded>
    <May 4, 2004 11:42:20 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir-0 on admin - Running>
    <May 4, 2004 11:42:22 AM MDT> <Error> <HTTP> <101045> <[ServletContext(id=3439810,name=TelusLogin,context-path=/backup/TelusLogin)]
    translation of /conf/ClearOldKeys.jsp failed: weblogic.servlet.jsp.JspException:
    (line 2): class 'com.nuance.ps.telus.SharedStorage'
    could not be loaded>
    <May 4, 2004 11:42:22 AM MDT> <Error> <Deployer> <149201> <The Slave Deployer
    failed to complete the deployment task with id 16 for
    the application appsdirbackup_dir.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 16
    Thanks,
    Paul

    The short answer to your question is that auto-deployment and multiple
    servers don't mix.
    If you have a single-server domain and choose to use auto-deployment,
    that'll work fine.
    Once you have separate admin/managed servers, you need to use
    weblogic.Deployer, the wldeploy ant task (8.1), or the console to deploy
    applications.
    -- Rob
    Paul wrote:
    Hi,
    We are using WebLogic Server 7.0 SP2 on Solaris 8. Yesterday, a developer copied
    over a new WAR file into the applications directory. Then he ried to restart the
    managed server. This appeared to hang, so he tried restarting the admin. server,
    which also failed. Looking at the log, it looks like the admin. server is trying
    to deploy apps. from the applications/backup directory.
    After I removed the backup directory and edited config.xml to remove all references
    to this directory, I was able to startup the Admin. server (though there were
    still some errors; see later) and the managed server.
    The servers are actually running in "developemnt" mode and have the Aut-Deploy
    feature enabled, so my theory is that the auto-deployment was conflicting with
    the managed server restart. He shouldn't have had to restart the managed server
    since Auto-Deploy is enabled, right?
    I'm also wondering about these errors I got when I the Admin. server finally started:
    Starting WebLogic Server...
    <May 4, 2004 11:41:04 AM MDT> <Notice> <Management> <140005> <Loading configuration
    /wlsapp/prod/ivrprod/./config.xml>
    <May 4, 2004 11:41:14 AM MDT> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <May 4, 2004 11:41:14 AM MDT> <Notice> <WebLogicServer> <000327> <Starting WebLogic
    Admin Server "admin" for domain "ivrprod">
    <May 4, 2004 11:41:44 AM MDT> <Notice> <Application Poller> <149400> <Activating
    application: appsdirbackup_dir>
    <May 4, 2004 11:41:49 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir on admin - Running>
    <May 4, 2004 11:41:51 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir on admin - Completed>
    <May 4, 2004 11:41:54 AM MDT> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    <May 4, 2004 11:41:54 AM MDT> <Notice> <Application Poller> <149400> <Activating
    application: appsdirbackup_dir-0>
    <May 4, 2004 11:41:57 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir-0 on admin - Running>
    <May 4, 2004 11:41:59 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir-0 on admin - Running>
    <May 4, 2004 11:42:02 AM MDT> <Notice> <WebLogicServer> <000365> <Server state
    changed to RUNNING>
    <May 4, 2004 11:42:02 AM MDT> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    <May 4, 2004 11:42:13 AM MDT> <Error> <HTTP> <101045> <[ServletContext(id=2268781,name=InternetTroubleshooting,context-path=/backup/
    InternetTroubleshooting)] failed to compile /dialogs/ADSLDisambig.jsp, compiler
    errors:
    /wlsapp/prod/ivrprod/./admin/.wlnotdelete/_appsdir_backup_dir_InternetTroubleshooting_2268781/jsp_servlet/_dialogs/__ADSLDisambig.ja
    va:17: package com.nuance.ps.telus does not exist
    <May 4, 2004 11:42:20 AM MDT> <Error> <HTTP> <101045> <[ServletContext(id=1642582,name=ReportAPayment,context-path=/backup/ReportAPa
    yment)] translation of /dialogs/GetStatus.jsp failed: weblogic.servlet.jsp.JspException:
    (line 7): class 'com.nuance.ps.telus.Shared
    Storage' could not be loaded>
    <May 4, 2004 11:42:20 AM MDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbackup_dir-0 on admin - Running>
    <May 4, 2004 11:42:22 AM MDT> <Error> <HTTP> <101045> <[ServletContext(id=3439810,name=TelusLogin,context-path=/backup/TelusLogin)]
    translation of /conf/ClearOldKeys.jsp failed: weblogic.servlet.jsp.JspException:
    (line 2): class 'com.nuance.ps.telus.SharedStorage'
    could not be loaded>
    <May 4, 2004 11:42:22 AM MDT> <Error> <Deployer> <149201> <The Slave Deployer
    failed to complete the deployment task with id 16 for
    the application appsdirbackup_dir.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 16
    Thanks,
    Paul

  • Precompile JSPs before deployment

    Does anyone have a working sample of precompiled JSPs distributed inside an EAR for deployment on an Oracle 10g app server?
    I'm almost convinced it's impossible. Please prove me wrong.

    I am glad to know that ojspc is indeed getting better.
    Right, some ant file types can be helpful to provide list of files as argument to java command. Nice try!
    For a while, I was down the road of using the batch mode against the ear but that is a
    mess because it puts all the output in a "_pages" folder under the html root. I couldn't find
    a way to change that behavior.This was changed in the next release 10.1.3, where the generated classes are put into a jar inside WEB-INF/lib/. The only way to get around it in 10.1.2 is to extract the ear/war file so that you will get a hold on the generated classes. Then you can put them in WEB-INF/lib or WEB-INF/classes and re-wrap the ear/war file.
    It takes 8 minutes to compile 173 JSPs. I have an AMD 2200+ with 1GB RAM. You can use the "-verbose" option to feel how long each group of files got compiled. Does your jsp files have different encodings? Currently if a jsp file with each encoding is encountered, the java compiler used by ojspc will be recreated, which takes quite some time. Looking ahead, we are preparing to speed up the compile process by reusing the java compiler.
    I'm not sure why ojspc can't do the directory recursion by itself.I will see if directory recursion should be implemented. Other options are also considered, like a deploy time option to compile all jsp artifacts. Do you think that would be a better option?
    There also seems to be a bug in batch mode if ojspc is run from the Same directory as specified in the appRoot parameter.Can you give a bit more detail so that I can reproduce it? Thanks.
    Try it out. Overall, it wasn't a very intuitive experience. Thanks for your feedback. I believe your experience will be getting better with each release.

  • Deploying a WAR file containing .jsp and servlets (also uses JNI)

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

  • Auto Deploy and VCD Network Isolation - Not Working

    Hello,
    I have opened a support case about this issue, but the case is moving a lot slower than I would like to see. I thought I'd post here to see if anyone has ran into anything similar.
    We recently switched our 24-host vCloud cluster (more info about this cluster below) over to Auto-Deploy (was using boot from USB). After the switch, we had a few complaints from customers that use isolated networks. It turns out that only 4 of our 24 hosts were working properly with isolated networks. All 24-hosts are using the same auto-deploy image.
    When the hosts boot up, the vCloud Director web interface shows the following with green check marks: "Status", "Enabled", "Ready", "Available", and "VCD Network Isolation Capable".
    To get my other 20 hosts working, I disabled all 20 hosts in the vCloud interface, unprepared them, and prepared them. After this, network isolation worked for those 20 hosts. When I reboot one of the hosts, the host still looks like it's good in the interface, but network isolation doesn't work until I disable, unprepare, and prepare.
    Here is some more information about our environment:
    vCenter build 2001466
    ESXi Host Build 2702864
    VCD Build 5.5.2.2000523
    vShield Build 5.5.3
    Here is the Deploy Rule that the hosts are using:
    Name        : UCS-2.2.1-pcloud.5.5.aln
    PatternList : {oemstring=$SPT:ESX_PublicCloud_autod.2.2.x}
    ItemList    : {ESXi-5.5.0-autod-2.2.1.vshield}
    I have confirmed that this is indeed the profile being used by looking at the Summary tab for the hosts and seeing the listed Image Profile.
    And here is what's in that item:
    PowerCLI D:\ImageBuild> Get-EsxSoftwarePackage
    Name                     Version                        Vendor     Creation Date
    misc-cnic-register       1.72.1.v50.1i-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    scsi-lpfc820             8.2.3.1-129vmw.550.0.0.1331820 VMware     9/19/2013 6:0...
    scsi-megaraid-mbox       2.20.5.1-6vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    esx-xlibs                5.5.0-0.0.1331820              VMware     9/19/2013 6:0...
    lpfc                     10.0.100.1-1vmw.550.0.0.133... VMware     9/19/2013 6:0...
    mtip32xx-native          3.3.4-1vmw.550.1.15.1623387    VMware     2/22/2014 1:1...
    net-nx-nic               5.0.621-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    block-cciss              3.6.14-10vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    scsi-fnic                1.6.0.5-1OEM.500.0.0.472560    cisco      9/30/2013 11:...
    net-enic                 2.1.2.42-1OEM.500.0.0.472560   Cisco      9/5/2013 8:30...
    sata-sata-sil24          1.1-1vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    rste                     2.0.2.0088-4vmw.550.1.15.16... VMware     2/22/2014 1:1...
    elxnet                   10.0.100.0v-1vmw.550.0.0.13... VMware     9/19/2013 6:0...
    scsi-aacraid             1.1.5.1-9vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    ata-pata-cmd64x          0.2.5-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    net-cnic                 1.72.52.v55.1-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    scsi-adp94xx             1.0.8.12-6vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    net-be2net               4.6.100.0v-1vmw.550.0.0.133... VMware     9/19/2013 6:0...
    net-ixgbe                3.7.13.7.14iov-12vmw.550.2.... VMware     4/29/2015 6:4...
    net-igb                  5.0.5.1.1-1vmw.550.2.54.240... VMware     1/1/2015 8:00...
    epsec-mux                5.1.0-01814505                 VMware     5/13/2014 4:3...
    esx-base                 5.5.0-2.62.2702864             VMware     4/29/2015 6:4...
    ata-pata-sil680          0.4.8-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    ipmi-ipmi-msghandler     39.1-4vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    ata-pata-hpt3x2n         0.3.4-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    scsi-megaraid-sas        5.34-9vmw.550.2.33.2068190     VMware     8/23/2014 1:5...
    scsi-mptsas              4.23.01.00-9vmw.550.0.0.133... VMware     9/19/2013 6:0...
    net-bnx2                 2.2.3d.v55.2-1vmw.550.0.0.1... VMware     9/19/2013 6:0...
    ata-pata-via             0.3.3-2vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    ima-qla4xxx              2.01.31-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    ata-pata-amd             0.3.10-3vmw.550.0.0.1331820    VMware     9/19/2013 6:0...
    ata-pata-serverworks     0.4.3-3vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    sata-sata-promise        2.12-3vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    sata-sata-nv             3.5-4vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    ipmi-ipmi-devintf        39.1-4vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    scsi-ips                 7.12.05-4vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    sata-sata-svw            2.3-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    scsi-mptspi              4.23.01.00-9vmw.550.0.0.133... VMware     9/19/2013 6:0...
    net-e1000e               1.1.2-4vmw.550.1.15.1623387    VMware     2/22/2014 1:1...
    esx-xserver              5.5.0-0.0.1331820              VMware     9/19/2013 6:0...
    net-tg3                  3.123c.v55.5-1vmw.550.2.33.... VMware     8/23/2014 1:5...
    net-forcedeth            0.61-2vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    scsi-aic79xx             3.1-5vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    sata-ata-piix            2.12-10vmw.550.2.33.2068190    VMware     8/23/2014 1:5...
    scsi-bnx2i               2.72.11.v55.4-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    ohci-usb-ohci            1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    scsi-qla4xxx             5.01.03.2-6vmw.550.0.0.1331820 VMware     9/19/2013 6:0...
    scsi-qla2xxx             902.k1.1-9vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    net-mlx4-core            1.9.7.0-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    ata-pata-atiixp          0.4.6-4vmw.550.0.0.1331820     VMware     9/19/2013 6:0...
    misc-drivers             5.5.0-2.62.2702864             VMware     4/29/2015 6:4...
    esx-dvfilter-generic-... 5.5.0-0.0.1331820              VMware     9/19/2013 6:0...
    ata-pata-pdc2027x        1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    qlnativefc               1.0.12.0-1vmw.550.0.0.1331820  VMware     9/19/2013 6:0...
    lsi-mr3                  0.255.03.01-2vmw.550.1.16.1... VMware     4/15/2014 9:0...
    vshield                  5.5.3-2172759                  VMware     9/30/2014 2:3...
    net-vmxnet3              1.1.3.0-3vmw.550.2.39.2143827  VMware     9/18/2014 11:...
    scsi-hpsa                5.5.0-44vmw.550.0.0.1331820    VMware     9/19/2013 6:0...
    tools-light              5.5.0-2.62.2702864             VMware     4/29/2015 6:4...
    scsi-mpt2sas             14.00.00.00-3vmw.550.1.15.1... VMware     2/22/2014 1:1...
    scsi-bnx2fc              1.72.53.v55.1-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    lsi-msgpt3               00.255.03.03-1vmw.550.1.15.... VMware     2/22/2014 1:1...
    net-e1000                8.0.3.1-3vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    xhci-xhci                1.0-2vmw.550.2.39.2143827      VMware     9/18/2014 11:...
    ipmi-ipmi-si-drv         39.1-4vmw.550.0.0.1331820      VMware     9/19/2013 6:0...
    sata-ahci                3.0-21vmw.550.2.54.2403361     VMware     1/1/2015 8:00...
    net-bnx2x                1.72.56.v55.2-1vmw.550.0.0.... VMware     9/19/2013 6:0...
    scsi-megaraid2           2.00.4-9vmw.550.0.0.1331820    VMware     9/19/2013 6:0...
    ehci-ehci-hcd            1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    esx-tboot                5.5.0-2.33.2068190             VMware     8/23/2014 1:5...
    uhci-usb-uhci            1.0-3vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    sata-sata-sil            2.3-4vmw.550.0.0.1331820       VMware     9/19/2013 6:0...
    vcloud-agent             5.5.0-1280396                  VMware     8/17/2013 4:0...
    net-mlx4-en              1.9.7.0-1vmw.550.0.0.1331820   VMware     9/19/2013 6:0...
    And here is the output of testing the deploy rule compliance:
    PowerCLI D:\ImageBuild> Get-Cluster 0000000-ESXVCLOUDCL1.ALN | Get-VMHost |Test-
    DeployRuleSetCompliance
    VMHost               ItemList
    esx142269.vm.seo.... {}
    esx140622.vm.seo.... {}
    esx139784.vm.seo.... {}
    esx140617.vm.seo.... {}
    esx138793.vm.seo.... {}
    esx135523.vm.seo.... {}
    esx138945.vm.seo.... {}
    esx138794.vm.seo.... {}
    esx139783.vm.seo.... {}
    esx140309.vm.seo.... {}
    esx140310.vm.seo.... {}
    esx140311.vm.seo.... {}
    esx140313.vm.seo.... {}
    esx140339.vm.seo.... {}
    esx140614.vm.seo.... {}
    esx140615.vm.seo.... {}
    esx140616.vm.seo.... {}
    esx140618.vm.seo.... {}
    esx140619.vm.seo.... {}
    esx140621.vm.seo.... {}
    esx141947.vm.seo.... {}
    esx141945.vm.seo.... {}
    esx142271.vm.seo.... {}
    esx142270.vm.seo.... {}
    Here is another vib list from a host:
    ~ # esxcli software vib list
    Name                           Version                                Vendor  Acceptance Level  Install Date
    net-enic                       2.1.2.42-1OEM.500.0.0.472560           Cisco   VMwareCertified   -
    ata-pata-amd                   0.3.10-3vmw.550.0.0.1331820            VMware  VMwareCertified   -
    ata-pata-atiixp                0.4.6-4vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-cmd64x                0.2.5-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-hpt3x2n               0.3.4-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-pdc2027x              1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    ata-pata-serverworks           0.4.3-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-sil680                0.4.8-3vmw.550.0.0.1331820             VMware  VMwareCertified   -
    ata-pata-via                   0.3.3-2vmw.550.0.0.1331820             VMware  VMwareCertified   -
    block-cciss                    3.6.14-10vmw.550.0.0.1331820           VMware  VMwareCertified   -
    ehci-ehci-hcd                  1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    elxnet                         10.0.100.0v-1vmw.550.0.0.1331820       VMware  VMwareCertified   -
    epsec-mux                      5.1.0-01814505                         VMware  VMwareCertified   -
    esx-base                       5.5.0-2.62.2702864                     VMware  VMwareCertified   -
    esx-dvfilter-generic-fastpath  5.5.0-0.0.1331820                      VMware  VMwareCertified   -
    esx-tboot                      5.5.0-2.33.2068190                     VMware  VMwareCertified   -
    esx-xlibs                      5.5.0-0.0.1331820                      VMware  VMwareCertified   -
    esx-xserver                    5.5.0-0.0.1331820                      VMware  VMwareCertified   -
    ima-qla4xxx                    2.01.31-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    ipmi-ipmi-devintf              39.1-4vmw.550.0.0.1331820              VMware  VMwareCertified   -
    ipmi-ipmi-msghandler           39.1-4vmw.550.0.0.1331820              VMware  VMwareCertified   -
    ipmi-ipmi-si-drv               39.1-4vmw.550.0.0.1331820              VMware  VMwareCertified   -
    lpfc                           10.0.100.1-1vmw.550.0.0.1331820        VMware  VMwareCertified   -
    lsi-mr3                        0.255.03.01-2vmw.550.1.16.1746018      VMware  VMwareCertified   -
    lsi-msgpt3                     00.255.03.03-1vmw.550.1.15.1623387     VMware  VMwareCertified   -
    misc-cnic-register             1.72.1.v50.1i-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    misc-drivers                   5.5.0-2.62.2702864                     VMware  VMwareCertified   -
    mtip32xx-native                3.3.4-1vmw.550.1.15.1623387            VMware  VMwareCertified   -
    net-be2net                     4.6.100.0v-1vmw.550.0.0.1331820        VMware  VMwareCertified   -
    net-bnx2                       2.2.3d.v55.2-1vmw.550.0.0.1331820      VMware  VMwareCertified   -
    net-bnx2x                      1.72.56.v55.2-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    net-cnic                       1.72.52.v55.1-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    net-e1000                      8.0.3.1-3vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-e1000e                     1.1.2-4vmw.550.1.15.1623387            VMware  VMwareCertified   -
    net-forcedeth                  0.61-2vmw.550.0.0.1331820              VMware  VMwareCertified   -
    net-igb                        5.0.5.1.1-1vmw.550.2.54.2403361        VMware  VMwareCertified   -
    net-ixgbe                      3.7.13.7.14iov-12vmw.550.2.62.2702864  VMware  VMwareCertified   -
    net-mlx4-core                  1.9.7.0-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-mlx4-en                    1.9.7.0-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-nx-nic                     5.0.621-1vmw.550.0.0.1331820           VMware  VMwareCertified   -
    net-tg3                        3.123c.v55.5-1vmw.550.2.33.2068190     VMware  VMwareCertified   -
    net-vmxnet3                    1.1.3.0-3vmw.550.2.39.2143827          VMware  VMwareCertified   -
    ohci-usb-ohci                  1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    qlnativefc                     1.0.12.0-1vmw.550.0.0.1331820          VMware  VMwareCertified   -
    rste                           2.0.2.0088-4vmw.550.1.15.1623387       VMware  VMwareCertified   -
    sata-ahci                      3.0-21vmw.550.2.54.2403361             VMware  VMwareCertified   -
    sata-ata-piix                  2.12-10vmw.550.2.33.2068190            VMware  VMwareCertified   -
    sata-sata-nv                   3.5-4vmw.550.0.0.1331820               VMware  VMwareCertified   -
    sata-sata-promise              2.12-3vmw.550.0.0.1331820              VMware  VMwareCertified   -
    sata-sata-sil24                1.1-1vmw.550.0.0.1331820               VMware  VMwareCertified   -
    sata-sata-sil                  2.3-4vmw.550.0.0.1331820               VMware  VMwareCertified   -
    sata-sata-svw                  2.3-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    scsi-aacraid                   1.1.5.1-9vmw.550.0.0.1331820           VMware  VMwareCertified   -
    scsi-adp94xx                   1.0.8.12-6vmw.550.0.0.1331820          VMware  VMwareCertified   -
    scsi-aic79xx                   3.1-5vmw.550.0.0.1331820               VMware  VMwareCertified   -
    scsi-bnx2fc                    1.72.53.v55.1-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    scsi-bnx2i                     2.72.11.v55.4-1vmw.550.0.0.1331820     VMware  VMwareCertified   -
    scsi-hpsa                      5.5.0-44vmw.550.0.0.1331820            VMware  VMwareCertified   -
    scsi-ips                       7.12.05-4vmw.550.0.0.1331820           VMware  VMwareCertified   -
    scsi-lpfc820                   8.2.3.1-129vmw.550.0.0.1331820         VMware  VMwareCertified   -
    scsi-megaraid-mbox             2.20.5.1-6vmw.550.0.0.1331820          VMware  VMwareCertified   -
    scsi-megaraid-sas              5.34-9vmw.550.2.33.2068190             VMware  VMwareCertified   -
    scsi-megaraid2                 2.00.4-9vmw.550.0.0.1331820            VMware  VMwareCertified   -
    scsi-mpt2sas                   14.00.00.00-3vmw.550.1.15.1623387      VMware  VMwareCertified   -
    scsi-mptsas                    4.23.01.00-9vmw.550.0.0.1331820        VMware  VMwareCertified   -
    scsi-mptspi                    4.23.01.00-9vmw.550.0.0.1331820        VMware  VMwareCertified   -
    scsi-qla2xxx                   902.k1.1-9vmw.550.0.0.1331820          VMware  VMwareCertified   -
    scsi-qla4xxx                   5.01.03.2-6vmw.550.0.0.1331820         VMware  VMwareCertified   -
    uhci-usb-uhci                  1.0-3vmw.550.0.0.1331820               VMware  VMwareCertified   -
    vcloud-agent                   5.5.0-1280396                          VMware  VMwareCertified   -
    vmware-fdm                     5.5.0-2001466                          VMware  VMwareCertified   -
    vshield                        5.5.3-2172759                          VMware  VMwareCertified   -
    xhci-xhci                      1.0-2vmw.550.2.39.2143827              VMware  VMwareCertified   -
    tools-light                    5.5.0-2.62.2702864                     VMware  VMwareCertified   -
    scsi-fnic                      1.6.0.5-1OEM.500.0.0.472560            cisco   VMwareCertified   -
    Any help is appreciated. Thanks.

    Right now, on my test host (that is not working), I have two VMs, one named "Test 1" and the other "Test 2" They only have an isolated network on them (named "Test Isolated Network") that is in my VDC, and pings do not work between them. If I move them to any other host (that have been unprepared and prepared), pings work. I can move both to the same host, or different hosts.
    Here is the fence info on this host, I'm not really sure how to interpret this:
    ~ # esxcli vcloud fence getfenceinfo
       Module Parameters:
            Host Key: 0x104b0
            Configured LAN MTUs:
            +------------------------------------------------------------------------------------------+
            | LAN ID |    1    2    3    4    5    6    7    8    9   10    -    -    -    -    -    - |
            |    MTU | 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500    -    -    -    -    -    - |
            +------------------------------------------------------------------------------------------+
       Active Ports:
            +-----------------------------------------+
            |     ID       |    OPI    | LanID |  MTU |
            +-----------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |     4 | 1500 |
            | 410b1d4cfde0 | 01,0001a2 |     4 | 1500 |
            +-----------------------------------------+
       Switch State:
            +-----------------------------------------------------+
            |   Inner MAC    |   Outer MAC   | used | age | seen  |
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4ce7d0 +
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4cfde0 +
            | 00:50:56:01:06:16 | 00:13:F5:01:04:B4 | 1  | 1  | 1 |
            +-----------------------------------------------------+
       Port Statistics Summary:
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            |       Identity           |               To VM dropped                         | To VM passed    |     From VM dropped                        |                 From VM passed                      |  Reflect        |
            |   Port ID    | Fence ID  | total  | misunf | misfen | stored | frag   | other  | fenced | join   | unfen  | csum   | frag   | GVT    | other  | fenced | tso    | frag   | csum   | GVT    | ufport | pass   |  error |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |   3991 |      2 |   3976 |      0 |      0 |      0 |     13 |      0 |      0 |      0 |      0 |      0 |      0 |    679 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4cfde0 | 01,0001a2 |   4478 |      2 |   3860 |      0 |      0 |      0 |    616 |      0 |      0 |      0 |      0 |      0 |      0 |    626 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    And here is the output of the command a little while later on the same host (while my test pings are going)
    ~ # esxcli vcloud fence getfenceinfo
       Module Parameters:
            Host Key: 0x104b0
            Configured LAN MTUs:
            +------------------------------------------------------------------------------------------+
            | LAN ID |    1    2    3    4    5    6    7    8    9   10    -    -    -    -    -    - |
            |    MTU | 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500    -    -    -    -    -    - |
            +------------------------------------------------------------------------------------------+
       Active Ports:
            +-----------------------------------------+
            |     ID       |    OPI    | LanID |  MTU |
            +-----------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |     4 | 1500 |
            | 410b1d4cfde0 | 01,0001a2 |     4 | 1500 |
            +-----------------------------------------+
       Switch State:
            +-----------------------------------------------------+
            |   Inner MAC    |   Outer MAC   | used | age | seen  |
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4ce7d0 +
            +-----------------------------------------------------+
            + ............................... Port:0x410b1d4cfde0 +
            | 00:50:56:01:06:16 | 00:13:F5:01:04:B4 | 1  | 1  | 1 |
            +-----------------------------------------------------+
       Port Statistics Summary:
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            |       Identity           |               To VM dropped                         | To VM passed    |     From VM dropped                        |                 From VM passed                      |  Reflect        |
            |   Port ID    | Fence ID  | total  | misunf | misfen | stored | frag   | other  | fenced | join   | unfen  | csum   | frag   | GVT    | other  | fenced | tso    | frag   | csum   | GVT    | ufport | pass   |  error |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4ce7d0 | 01,0001a2 |   4696 |      2 |   4681 |      0 |      0 |      0 |     13 |      0 |      0 |      0 |      0 |      0 |      0 |    796 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
            | 410b1d4cfde0 | 01,0001a2 |   5300 |      2 |   4565 |      0 |      0 |      0 |    733 |      0 |      0 |      0 |      0 |      0 |      0 |    743 |      0 |      0 |      0 |      0 |      0 |      0 |      0 |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
    Looking at the VDS, the Maximum MTU is set to 1500. Looking at dvs.VCDVSTest Isolated Network-ca9a45c9-1dec-4f95-8b96-68d9c05b2a5d, I see it's VLAN is set to 2535 (which matches the network pool settings) and number of ports is 16

  • What is the best way of deploying a jsp and bc4j aplication

    Hi
    I would like to know what is the best way of deploying a jsp and
    bc4j aplication in ias 9i.
    thanks in advanced
    rjc

    In the page I simply referenced the facescontext directly... no need for a custom servlet.
    public void createcookie() {
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletResponse resp = (HttpServletResponse)fc.getExternalContext().getResponse();
    Cookie userCookie = new Cookie("cookiename", "cookievalue");
    userCookie.setMaxAge(-1);
    userCookie.setMaxAge(3600);
    resp.addCookie(userCookie);
    return null;
    public String readcookie() {
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    Map cookiemap = ec.getRequestCookieMap();
    if (cookiemap != null) {
    Cookie cookie = (Cookie) cookiemap.get("cookievalue");
    return cookievalue;
    For reference I could not get getCookies() method of HttpServletRequest to work.. it would only return JSESSIONID.

  • How to precompile jsp file in jdeveloper before deployment....

    Hi
    thank you for reading my post
    how i compile jsp file in my web application , is it doable in jdeveloper 10.1.3.0.4?
    even if i could precompile the application before deployment is OK for me.
    thanks

    1. Highlight your web project or the individual file
    2. Right click
    3. Select Rebuild to build all jsp files or Make to rebuilt only changed files

  • Help!! Auto-Deploy and Check For Updates in an OPMN-managed instance

    I'm trying to use the auto-deploy and check for updates functions in an OAS 10.1.0.3 but I can not make it work.
    I don't Know if this functions are only availables for a standalone OC4J instance.
    Can anyone help me??
    Thanks!!! and sorry for my poor english.

    Auto-Deploy is not really designed for an OPMN managed instance -- in earlier releases, this would not even work correctly since deployments where stored in the DCM subsystem and any subsequent configuration changes made via DCM would overwrite the config and you'd lose the "auto-deployed" application.
    In 10.1.3.x where DCM is no longer in the picture, and the auto-deploy polling is a function of Oc4J itself, it may work. Be aware that this is not something that is tested in OPMN managed environments.
    What configuration changes have you made?
    You need to ensure you have modified server.xml so the attribute check-for-updates="all" and you've added the attribute application-auto-deploy-directory and have it pointing at a directory to watch.
    -steve-

  • Auto Deploy and Kickstart - pros and cons

    I have an existing kickstart setup I am able to use for deploying a basic installation of ESXi as well as other OSes. For this, we PXE boot a server, go through a menu, and choose the appropriate option.   I'm evaluating using Auto Deploy.  Can I specify as a menu choice an option to use Auto Deploy instead of using kickstart? 
    Also,
    - will VMware be replacing kickstart as an option with Auto Deploy?
    - any advantages/disadvantages between the two methods?  From what I've seen online, they seem comparable.

    Thanks, this is helpful.  We do use Host Profiles, but we also have kickstart as our standard deployment method for physical servers, primarily for Linux, but it's also working for Windows and ESXi, too.  However, using it for ESXi means we deploy a server with a basic setup, and currently need to apply Host Profiles manually.  I'd like to use the existing kickstart infrastructure, and update the current ESXi install/upgrade choice to trigger an autodeploy of ESXi 6.0 to the hypervisor. 
    There seems to be some overlap between the two (e.g. both use TFTP and can use DHCP, and both deploy an OS onto the server, albeit with different methods).  What I specifically need here is:
    a. a way to, in the kickstart section to install ESXi 6.0, to trigger an auto deploy; I'd imagine I'd specify the auto deploy server as an option, e.g. ks= ... install=http://auto-deploy-server-ip-here/install/...
    OR
    b. a way to, in the kickstart ks.cfg configuration (in vmware's documentation, e.g. vSphere 6.0 Documentation Center, it refers to them as scripts), point to an autodeploy server to finish what kickstart starts.
    Thoughts?

  • Setup UCS Auto-Deploy using PXE and dual vNICs

    We are trying to set up Auto Deploy for UCS B200 M3 blade servers.  Our setup has the chassis connected to dual 6248 Fabric Interconnects.  We were successful in getting this to work when the blades were identified via MAC address configured on the DHCP server (Infoblox).  However, in trying to resolve the scenario of the server attempting to PXE boot via either NIC, thus having two different MAC addresses, this scenario could not be supported on the DHCP server (mapping two MAC addresses to one IP address).  Then we had the idea of using the GUID/UUID of the blade as a unique client identifier, as it is the same no matter which NIC is used.
    We have tried to set this up, but have been unsuccessful.  The blade sends out its' GUID using DHCP option 97, but the DHCP server is only looking for the Client ID via DHCP Option 61.  We have not been able to determine how, or if, the blade server can send its' GUID via DHCP Option 61, and Infoblox tells us that their server cannot be configured to accept DHCP Option 97 as a client identifier.
    Has anyone encountered this situation, and resolved it?  Surely this isn't a unique situation, having a blade server with two NICs.
    Thanks in advance for your response.
    Ron Buchalski

    Hi Ron,
    i am currently setting up an autodeploy environment. But i only use one nic per host for boot from san. Because of the autofailover possibility in ucs, i think i do not need a second nic.
    Why do you use a second nic? Do i miss something or is it just because of the thinking to have a redundancy for management in vcenter?
    Frank

Maybe you are looking for

  • Disk repair questions- God, I hope I don't lose another drive.

    Having lost a hard drive over the summer, I'm at least better backed up. I tend to run Disk Utility, and on my less that six month old new drive it says: +Checking volume bitmap.+ +Volume Bit Map needs minor repair+ +Checking volume information.+ +Th

  • Checking against a query with CFIF

    Hi everyone, I have a small problem that I can't seem to solve no matter how much I search. I have a database column with values 10001, 10002, and 10003 that represent text (i.e., apple, orange, pear) In coldfusion, I query the database for that colu

  • Imported Mailboxes Showing Up Empty

    Hi there. I'm trying to import mailboxes from one mac to another, the source mac is 10.4 and the other is 10.3. Everything seems to go smoothly, the mailboxes show up in Mail but they're all empty. In Finder the size of the folders are right but ther

  • Problem with Adobe Content Viewer for ipad

    Hello, I created an application from folio bulider 1.350 gigabytes. Once downloaded using Adobe  Content Viewer on Ipad i can display it without any problems, but when I turn off the Ipad or delete Adobe Content Viewer by applications running in the

  • I want to reinstall osx lion ontop of my existing lion, but I'm not shure how to do it

    I have a macbook air with osx lion 10.7.3  About 2 weeks ago i had to do a complete reinstall from a timemachine back up.Whene i did this i lost my repair partition that came with my copy of lion .My machine came with lion preinstalled from the facto