Jsp compile seems to stop in between

We have about 30 jsp in our application ....what happens is when we try to run
the application and access some of jsp pages , it gives the error attached below.
Everytime 6-7 jsp pages gets compiled and renmaining it gives an error ie .it's
not able to compile. If we manualyy go and compile it , it works fine.
I am not able to understand as to why jsp pages are not compiled properly . Does
this has t do with security et all??
Message attached below :
java.io.IOException: Compiler failed executable.exec(java.lang.String[javac, -classpath,
/usr/opt/java130/jre/lib/rt.jar:/usr/opt/java130/jre/lib/i18n.jar:/usr/opt/java130/jre/lib/sunrsasign.jar:/usr/opt/java130/jre/classes:/opt/bea/wlserver6.0/libjava.io.IOException:
Compiler failed executable.exec(java.lang.String[javac, -classpath, /usr/opt/java130/jre/lib/rt.jar:/usr/opt/java130/jre/lib/i18n.jar:/usr/opt/java130/jre/lib/sunrsasign.jar:/usr/opt/java130/jre/classes:/opt/bea/wlserver6.0/lib/ya/Core.jar:/opt/bea/wlserver6.0/lib/ya/RemoteEncrypt.jar:/opt/bea/wlserver6.0/lib/ya/thirdparty.jar:/opt/bea/wlserver6.0/lib/ya/versions.jar:/opt/ant/lib/xalan.jar:/opt/ant/lib/xerces.jar:/opt/ant/lib/ant.jar:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlserver6.0/lib/weblogic.jar:/opt/bea/wlserver6.0/lib/ejb20.jar:/usr/opt/java130/lib/tools.jar:/opt/bea/wlserver6.0/lib/directv:/opt/bea/wlserver6.0/lib/directv/egate.jar:/opt/bea/wlserver6.0/lib/directv/SeeBeyondConnectionTest.jar:/opt/bea/wlserver6.0/lib/directv/jdom.jar:/usr/users/qa6/config/app-core.jar:/usr/users/qa6/config/qa6WL/applications/DTVAPP/WEB-INF/classes:/usr/users/qa6/./config/qa6WL/applications/.wl_temp_do_not_delete/wl_local_comp18138.war:/usr/users/qa6/./config/qa6WL/applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_qa6DTV_qa6DTV_DTVAPP:/usr/users/qa6/config/qa6WL/applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_qa6DTV_qa6DTV_DTVAPP,
-d, /usr/users/qa6/config/qa6WL/applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_qa6DTV_qa6DTV_DTVAPP,
/usr/users/qa6/config/qa6WL/applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_qa6DTV_qa6DTV_DTVAPP/jsp_servlet/_mydirectv/_MySystem.java])
     at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
     at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java, Compiled
Code)
     at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled Code)
     at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java, Compiled Code)
     at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java,
Compiled Code)
     at com.directv.www.DTVServlet.forwardTo(DTVServlet.java, Compiled Code)
     at com.directv.www.accountmanagement.AccountManagerServlet.handleViewSystem(AccountManagerServlet.java,
Compiled Code)
     at com.directv.www.accountmanagement.AccountManagerServlet.doPost(AccountManagerServlet.java,
Compiled Code)
     at com.directv.www.accountmanagement.AccountManagerServlet.doGet(AccountManagerServlet.java,
Compiled Code)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
     at com.directv.www.DTVServlet.service(DTVServlet.java, Compiled Code)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java,
Compiled Code)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java,
Compiled Code)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Code)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
>
please help.

Have you tried something like...
<jsp:setProperty name="Bean2" property="B" value="<jsp:getProperty name="Bean1" property="A" />" />

Similar Messages

  • URGENT: sp6 and JSP compiling/classpath problem?

    Hi,
              We installed sp6 on our production site a little over a week and started
              seeing this problem on our logs with regards to any JSP with an include tag,
              such as:
              <%@ include file="/inc/insideHeadTag.jsp" %>
              INTERMITTENTLY, we will get the following error in the page on the client
              side at runtime:
              < ! -- cannot include file '/inc/insideHeadTag.jsp', resource not
              found -- >
              I grepped this newsgroup and noticed a previous unanswered post of the same
              nature, "Static compiles do not seem to include JSP's". Except in our case,
              this problem also manifest for dynamic JSP compiles, happens sporatically,
              and only started with sp6.
              Bug???
              Gene Chuang
              Join Kiko.com!
              

              Just to clarify - I'm not from BEA, I'm from EA - short a letter.
              As far as I know, there is no synchronization between WL instances in a cluster regarding the
              the compiling of JSPs. So when you start up two WL instances that share the same workingDir,
              and each WL instances gets a hit on your shiny new index.jsp, they both need to compile it. So the first
              one compiles it and writes index.class, the second does the same, overwriting the first _index.class,
              possibly at the same time that the first instance is trying to load _index.class into memory. And you
              get a mysterious 'class not found' error. Not likely, but possible.
              "Gene Chuang" <[email protected]> wrote:
              >Hmm, interesting... I thought Weblogic strongly recommends clustered
              >servers sharing the same file system?
              >
              >So you're saying the system-wide, cluster and node specific directories can
              >reside on the shared drive, but workingDirs should reside on local drives?
              >
              >--
              >Gene Chuang
              >Join Kiko.com!
              >
              >"Mike Reiche" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Make sure that your WLS instances are NOT sharing the workingDir. If two
              >instances
              >> try to compile the same JSP at the same time, bad things can happen.
              >>
              >> Mike
              >>
              >> "Gene Chuang" <[email protected]> wrote:
              >> >Hi Jong,
              >> >
              >> >Thanks for the reply; but I wish the solution is as simple as that.
              >Yes,
              >> >my .jsps are in the proper directory. They have been working properly
              >for
              >> >the past 6 months, since we were running WL 4.5.1. Only when I switched
              >to
              >> >WL 5.1 sp6 did this bug start showing up. Plus, like I said in my
              >original
              >> >post, this bug is sporatic. SOMETIMES the included jsp is found by
              >Weblogic
              >> >and the includer jsp compiles correctly; other times it isn't found and
              >the
              >> >includer jsp leaves a gap! What's going on?
              >> >
              >> >We are running clustered web servers in Solaris 2.7 with a shared file
              >> >system. This sporatic behavior may be because some nodes aren't working
              >> >properly???
              >> >
              >> >--
              >> >Gene Chuang
              >> >Join Kiko.com!
              >> >
              >> >"Jong Lee" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> "Gene Chuang" <[email protected]> wrote:
              >> >> >Hi,
              >> >> >
              >> >> >We installed sp6 on our production site a little over a week and
              >started
              >> >> >seeing this problem on our logs with regards to any JSP with an
              >include
              >> >tag,
              >> >> >such as:
              >> >> I assumed insideHeadTag.jsp is in
              >> >> YOUR_DOCUMENT_ROOT/inc/insideHeadTag.jsp
              >> >>
              >> >> if you haven't read the spec of relative URI please do so:
              >> >> jsp spec 1.1 - section 2.5.2
              >> >>
              >> >> Jong
              >> >>
              >> >> >
              >> >> > <%@ include file="/inc/insideHeadTag.jsp" %>
              >> >> >
              >> >> >INTERMITTENTLY, we will get the following error in the page on the
              >client
              >> >> >side at runtime:
              >> >> >
              >> >> > < ! -- cannot include file '/inc/insideHeadTag.jsp', resource not
              >> >> >found -- >
              >> >> >
              >> >> >I grepped this newsgroup and noticed a previous unanswered post of the
              >> >same
              >> >> >nature, "Static compiles do not seem to include JSP's". Except in our
              >> >case,
              >> >> >this problem also manifest for dynamic JSP compiles, happens
              >> >sporatically,
              >> >> >and only started with sp6.
              >> >> >
              >> >> >Bug???
              >> >> >
              >> >> >Gene Chuang
              >> >> >Join Kiko.com!
              >> >> >
              >> >> >
              >> >> >
              >> >>
              >> >
              >> >
              >>
              >
              >
              

  • EAR and long CLASSPATH at JSP compilation time

              Hi all,
              we have an EAR-packaged application with over 260 jars (mainly
              EJB) that is deployed to a managed server WL6.1SP3(AIX). Then
              we hit a JSP page of this app. and Weblogic generates the
              adecuate .java file that is passed as an argument to a forked
              process for the javac compiler with a CLASSPATH that is more
              than 22KB!! of length because of the EAR classloader schema
              (it must include all the jars of the EJB level).
              The problem is that the EAR deployment in WL6.1 generates a fixed and very long
              path for every jar that it is composed of:
              $WL_HOME/./config/DOMAIN/applications/.wl_notdelete_EARNAME
              /wlap#####/ejbjarname.jar
              and the invoke of the compiler fails with argument too long.
              We can control the EJB jar name, EARNAME, WL_HOME
              and DOMAIN to shorten the CLASSPATH, but that is not enough
              giving that the fixed part of the PATH is very long, for example:
              with DOMAIN=DOM1, WL_HOME=W, ejbjar name=EJB1, EARNAME=EAR1
              you get:
              /w/./config/DOM1/applications/.wl_notdelete_EAR1/wlap#####/EJB1.jar: that is
              68 chars * 260 jars = more than 17KB only with the
              EJB part of the CLASSPATH (plus the standard SYSTEM CLASSPATH
              and WARS CLASSPATH.)
              As workarounds we can:
              1.- Use an "pseudo exploded" EAR with EJBREMOTE and EJBHOME in clientclasses path
              with every jar and war by their own. Not very
              clean and we've lost the benefits of EAR deployment.
              2.- Consolidate a bunch of EJB in every jar. More administrative
              tasks (common xml descriptors:ejb-jar.xml,...) and less isolation
              between developer teams.
              3.- Consolidate at functionality level (source) a bunch of EJB
              in a few one. :(
              4.- Precompile every JSP outside of WEBLOGIC and generate
              the corresponding class and entries at web.xml and weblogic.xml
              5.- ...?
              or maybe:
              6.- configure this very long directory of deployment
              to a shorter deployer choosen and use relative paths.
              Is this possible? :)
              PacoG.
              

    You may try to use JSP compiler class. Please specify 'compilerclass'
              option in weblogic.xml. This option specifies name of a Java compiler
              that is executed in WebLogic Servers's virtual machine. (Used in place of
              an executable compiler such as javac or sj.)
              Please see
              http://e-docs.bea.com/wls/docs61/webapp/weblogic_xml.html#jsp-descriptor.
              Paco Garcia wrote:
              > oops!
              >
              > >$WL_HOME/./config/DOMAIN/applications/.wl_notdelete_EARNAME
              > >/wlap#####/ejbjarname.jar
              >
              > >with DOMAIN=DOM1, WL_HOME=W, ejbjar name=EJB1, EARNAME=EAR1
              > >you get:
              > >/w/./config/DOM1/applications/.wl_notdelete_EAR1/wlap#####/EJB1.jar:
              >
              > please read SERVERNAME instead of EARNAME
              >
              > PacoG.
              Regards,
              Ann
              Developer Relations Engineer
              BEA Support
              

  • Oracle Application Server : JSP compilation

    Hi everybody
    i use Oracle IAS and i have some troubles to configure it ...
    My webapp takes a long long time when i access the first time to a page.
    I know it's because of the JSP compilation.
    I have to decrease this first time access.
    I've tried with the ojspc command in order to modify my war ...
    After the command, i've seen the new jar library added on my war, but after a new deployment, it takes the same time. In the application-deployment folder, only the jsp accessed was added ...
    How can i say to oracle ias to put in the application-deployment folder all of the JSPs files ??
    Does ojspc a good way to do so ? Or do i need to modify a web.xml file ???
    Thanks & Regards

    Hi All,
    For all those concerned, I managed to download and install Oracle Database Server Version 10.1.0.4 Patch 4 for Windows server 2003 SP1 from Metalink. Please refer to document IDs. 161549.1 and 161546.1 for details on Patch 4488360.
    The supplied documentation states that this patch contains all prevois patches hence it should contain the patch 2, i.e. 10.1.0.4.2 patches.
    I have not checked the availability of this patch for other platforms.
    Feedback:
    I have installed successfully the patch on my Oracle 10g EE instance 10.1.0.4. Please read documentation for the requirements! (hint: in my case the DLL's used by Oracle services in the BIN folder were still in use even after the services were stopped!, I had to re-boot the server to free them).
    Then installed the OAS repository using the repca wizard (hint: run the prereq. scripts before installation to detect any configuration requirements)
    After I installed OAS infrastructure with Internet directory.
    Then installed Portal & Wireless successfully.
    Best regards,
    Jesmond

  • JSP Compile problem with WLS 5.1 sp9

    Hi All,
              The attached, simple JSP file uses a custom tag, and some JavaScript. When
              this is compiled into Java, the Java that is created is Bad. It seems as if
              WLS is having problems properly escaping single-quotes and double-quotes.
              Also attached, is the generated Java file. Note around line 82, and compare
              that to around line 15 of the JSP.
              Does anyone have an idea what can be done to fix this? This JSP compiles
              fine under Tomcat 3.2.
              Thanx!
              Will Hartung
              ([email protected])
              [test.jsp]
              [_test.java]
              

    Hi All,
              The attached, simple JSP file uses a custom tag, and some JavaScript. When
              this is compiled into Java, the Java that is created is Bad. It seems as if
              WLS is having problems properly escaping single-quotes and double-quotes.
              Also attached, is the generated Java file. Note around line 82, and compare
              that to around line 15 of the JSP.
              Does anyone have an idea what can be done to fix this? This JSP compiles
              fine under Tomcat 3.2.
              Thanx!
              Will Hartung
              ([email protected])
              [test.jsp]
              [_test.java]
              

  • JSP Compile

    Hello,
              I have a problem compiling jsp files with weblogic server 6.1 sp3. The
              Server runs on AIX 5.1 using java 1.3.1 (ca131-20030329).
              Sometimes the jsp compiling stops and the process (javac) hangs until
              it is killed. You can see, that the spawned javac process has never
              taken any cpu time.
              Can someone explain what the problem is?
              

    i just found a bug on weblogic 9.1/9.2...
              cool compiler...I wonder why weblogic didn't do any QA on this......
              if you have a bean MyBean with
              public Set<org.MyObject> getSomething();
              public void setSomething(java.util.Set<org.MyObject> );
              and u do a useBean/setProperty * on this bean...mr javelin
              generates a java file with:
              javelin.jsp.utils.JspRuntimeUtils.convertType(__value, java.util.Set<org.MyObject> .class))
              that is why it doesn't compile...oh the joy......

  • Nitro 1.1 JSP compilation bug

    empty

    I am starting to see a pattern here of problems. One issue might be that we
    are using Resin as a container. Im not sure if that is contibuting to some
    compile issues but it might. For example, nitro complains about this
    scriptlet
    <%
    this.getServletContext().log("Bad Hashcode for RegulatoryApplication");
    %>
    Changing the "this" to "seesion" fixes it. Since this works in resin, I
    assume resin, I assume it is an container issue.
    Nitro's jsp complier seems to really not like stuff like this:
    <% if (noUser.booleanValue()) { %>
    href="javascript:window.alert('You must be a member of DrillingInfo to
    access the download functions.')">Download this data</a>
    <% } else { %>
    href="/download.do?type=prod&format=<%=com.drillinginfo.struts.actions.downl
    oad.ProductionDownloadController.DOWNLOAD_FORMAT_DRI %>"
    target="_blank">Download this data</a>
    <% } %>
    Giving an error "syntax error on else: finally expected"
    Is there some way to turn off jsp complile entirely or on a file by file
    bases?
    "Alan Berezin" <[email protected]> wrote in message
    news:[email protected]...
    Installed Nitro1.1 along with it's eclipse3.0.I am seeing an error reported in a scriptlet. Here is a clip of the JSP:
    table bgcolor="eeeeee" width="650"
    % int[] npvp =
    (int[])calcAnalysisDO.getNetPresentValuePercentsIntegers();
    logic:iterate name="calcAnalysisDO" property="netPresentValues"
    id="value"
    indexId="index"
    tr
    td><font face="Arial, Helvetica, sans-serif"
    size="2"><b><%=npvp[index.intValue()]%>%</b
    $<bean:write name="value" format="###,###"/></font></td
    /tr
    /logic:iterate
    /table
    It is reporting an error on this line: <% int[] npvp ...
    The error is "Type Mismatch: cannot convert from null to int"
    Interestly, when I move that statement to the top of the file, into a
    scriptlet with some other code, the error disappears. That will work fine
    at runtime.
    This jsp scriptlet causes the same error: <%=
    leaseData.getWells().toString() %
    I change it to this but still get the same error (getWells() returns a
    String): <% out.print(leaseData.getWells()); %
    Note that Nitro knows this object, leaseData, because it properly does
    statement completion on it.

  • 11g turn off JSP Compilation

    How do I turn off JSP Compilation in jdeveloper 11g ?
    I have set the params in weblogic.xml but jdeveloper seems to ignore it.
    <jsp-descriptor>
    <precompile>false</precompile>
    <precompile-continue>true</precompile-continue>
    </jsp-descriptor>
    Also there was an option in 10g under Run Configurations to say "Run Project Despite Compiler Errors" how do I set this in 11g?
    thanks in advance
    Arun

    Can't seem to find the JSP option.
    Project Properties --> Compiler has 3 options "Options" "SQLJ" and "XML"
    I checked the technologies and Scope, Servlets and JSP is slelected and i can see the runtime libraries in the libraries section.
    thanks
    Arun

  • JSP Compiler and ClassCastException

     

    Have been using JDK1.2.2 from sun since day one and I've been seeing
              ClassCastException since day 1 too.
              Don't think it had anything to do with the compiler.
              "Jun Ying" <[email protected]> wrote in message
              news:[email protected]...
              > I noticed something that might be causing the ClassCastException and has
              not
              > been mentioned: the compiler that is used for jspc. I remember seeing a
              few
              > people mentioning extra classes in the workDir (ie, the bean class that is
              > being used). This is caused by using a smart compiler such as jikes or
              sj.
              > While those compilers will get you more speed for newly modified jsp's,
              they
              > resolve dependencies and recompile all the referenced classes. The result
              > is that the bean class gets recompiled and put into workDir. So no matter
              > where you put the workDir, you end up getting a new copy of the bean class
              > file, which is reloaded by the classloader that loads the newly compiled
              > JSP. That copy of the class file is considered "different" from the one
              > from the normal system classpath or the weblogic.class.path. Thus the
              > ClassCastException. So if you see java classes other than the jsp's in
              the
              > workDir, make sure you are using javac from the sun jdk. So to answer
              > Anish's question, WebLogic is not sticking a copy of the bean class.
              > Rather, it's the java compiler that you are using.
              >
              > Jun Ying
              > Meritsoft, Inc
              >
              >
              > "Michael Boudreau" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hello,
              > >
              > > Well we ran into the same problem here at my company, and we have been
              > > pulling our hair out. I was reading through the jsp 1.1 spec, and
              > > thought I might try using the <jsp:useBean ...> tag instead of the <%@
              > > page import ...> tag. After careful inspection of the resulting .java
              > > file, I found that the <jsp:useBean ...> tag does not put insert any
              > > import statements, but simply declares the bean with the fully
              > > qualified package name. I am sure that this is not new news to anyone;
              > > however, the class cast exception went away (knock on wood, cross
              > > fingers, whatever).
              > >
              > > Basically, my statement looked like this:
              > > <jsp:useBean id="beanname" type="com.company.Class" scope="session" />
              > >
              > > My question is: is there something that I am missing or have not
              > > thought of? Because so far, this "seems" to be working, but I have
              > > been reading posts that say this does not work.
              > >
              > > Oh, one last quick note to BEA. While I was looking at the
              > > generated .java file from the jsp file, I found that weblogic's jspc is
              > > still generating getValue and setValue methods for HttpSession....
              > > which has been deprecated as of the servlet 2.2 spec.
              > >
              > > Michael
              > >
              > >
              > >
              > >
              > > Anish Parvataneni wrote:
              > >
              > > > Hi,
              > > >
              > > > I have a JSP which uses two different classes. Whenever, I change the
              > > > JSP and save it to recompile, there is a ClassCastException. ( I store
              > > > them in the session and load them) . Thats common ! The solution to
              this
              > > > as per documentation is to get rid of the classes in the workingDir of
              > > > JSP. However, I can find ONLY ONE of the classes in the workingDir. I
              > > > delete that class and the JSP works. I change the JSP , problem
              recurrs.
              > > >
              > > > 1. Why does weblogic stick a copy of the class in the workingDir,
              > > > everytime the JSP compiles, although it is available in the weblogic
              > > > classpath ?
              > > > 2. Why is it happening to only one of the classes I use in the JSP ?
              > > > 3. How can I make sure that this class is not available in the
              > > > workingDir, other than deleting it EVERYTIME.
              > > >
              > > > Thanks
              > > > Anish
              > >
              >
              >
              

  • Automatic JSP compilation

    All,
    I am working with R12-iStore. As per metalink link note: 458338.1, I have enabled automatic JSP compilation. Bounced all services.
    After logging into iStore then when I click on Profile link, blank page displayed.
    ibeCAcpProfMenuHome.jsp -> This is the JSP file which is used for Profile page. This page exists in $OA_HTML & class file in $COMMON_TOP/_pages directory.
    The above profile jsp page contains the following JSPs. These files are there in $OA_HTML directory but the classe files are not there in $COMMON_TOP/_pages directory.
    1) ibeCZzpHeader.jsp
    2) jtfincl.jsp
    My question is , do I need to compile them to fix this issue even though auto JSP compilation option is enabled ?
    is this auto compilation doesn't compile the pages while loading or accessing ??
    Thanks,

    Hi Hussein,
    I have checked the log file. It looks like , the bounce was proper.
    Also, I have raised SR with ORacle Support.. lets hope we get some good solution.
    ================================================================================
    04/03/09-16:10:34 :: adapcctl.sh version 120.6.12000000.4
    04/03/09-16:10:34 :: adapcctl.sh: stopping OPMN managed OHS instance
    opmnctl: stopping opmn managed processes...
    04/03/09-16:10:36 :: adapcctl.sh: exiting with status 0
    ================================================================================
    04/03/09-16:10:48 :: adapcctl.sh version 120.6.12000000.4
    04/03/09-16:10:48 :: adapcctl.sh: starting OPMN if it is not running
    opmnctl: opmn is already running.
    04/03/09-16:10:48 :: adapcctl.sh: starting OPMN managed OHS instance
    opmnctl: starting opmn managed processes...
    04/03/09-16:10:51 :: adapcctl.sh: exiting with status 0
    ================================================================================

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

  • HT201376 I've erased and formatted the hard drive accordingly in order to reinstall OS X. everything went fine until about half way through the install. it just seems to stop. how long should this take? should i do something else to speed it up?

    I've erased and formatted the hard drive accordingly in order to reinstall OS X. everything went fine until about half way through the install. it just seems to stop. how long should this take? should i do something else to speed it up?

    About all you can do is wait until it finishes or you get an error message.

  • Whenever I connect my iPod touch 5th generation to the charger and turn it on, my touch sensor seems to stop working so I cant unlock my iPod without having to take out the charger. Whats wrong with it?

    I got this iPod about 3 weeks ago. Whenever I connect my iPod to the charger the touch sensor seems to stop working. When my alarm goes off in the mornings i have to unplug the charger to stop the alarm. I cant do anything while the charger is connected. Any ideas what the problem is or how I can stop this happening?

    A few other users have report the same but I have not heard of a solution. Y can try:
    - Another cable
    - Another USB port
    - A wall charger
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.                     
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • JSP compilation error, IOException, can not output (Urgent)

              Hi,
              I met the error that Weblogic can compile the jsp to a temporary java file but can
              not compile the temporary java file to class file, it said java.io.IOException, anybody
              can tell why?
              Thanks a millon!
              

              Your system does not have enough swap space to run the JSP compiler.
              Add swap space.
              Mike
              "dai shui" <[email protected]> wrote:
              >
              >Hi,
              >I met the error that Weblogic can compile the jsp to a
              >temporary java file but can
              >not compile the temporary java file to class file, it
              >said java.io.IOException, anybody
              >can tell why?
              >
              >Thanks a millon!
              

  • JSP compiler reading the web.xml file?

    Hi,
              I am trying to use the weblogic JSP compiler (weblogic.jspc) to
              pre-compile some JSP that use custom tags. Does the compiler
              read the web.xml file if there is one? In particular the taglib
              elements in that file so that the compiler understands the
              <%@ taglib ... %> directive.
              In the JSP I try to compile I use this statement to declare a taglib:
              <%@ taglib uri="xyz/xyz-taglib" prefix="xyz" %>
              and in my web.xml I have:
              <taglib>
              <taglib-uri>xyz/xyz-taglib</taglib-uri>
              <taglib-location>/WEB-INF/tlds/xyz.tld</taglib-location>
              </taglib>
              When I try to compile the JSP I get the following error:
              Could not parse embedded JSP code: weblogic.utils.ParsingException: nested
              IOException: java.io.IOException: cannot resolve 'xyz/xyz-taglib' into a
              valid tag library.
              Any ideas how I can resolve this?
              In advance thank you for any help.
              Florian
              

    open it in a text editor and modify it.
    %

Maybe you are looking for

  • Unable to return a number from CASE statement in plsql

    Hello all! Back in November of last year, I received some assistance from user "jarola" regarding changing the color of a column item in a query based on the resulting value. This discussion yielded; declare    l_query varchar2(4000) := ''; begin   

  • I cannot get the desktop version to open.

    I am on a Mac running OS 10.10 (Yosemite). I was able to access Story in Chrome and sign in successfully. I downloaded the desktop version which required updating Air (which I did) and now when I launch Story on my Mac I get message saying that the a

  • Can't drag pics from email anymore, why not?

    Why won't iphoto let me drag pics from my email into my iphoto library anymore. Pls help. Thanks.

  • Pre-ordering an album?!? Quick question?

    I plan on pre-ordering an album. But I do know that you get an album for a discount if you purchase singles from it. I've purchased two already. My question is can I pre-order the album at a discount? And if so, how? Thanks.

  • Regarding mail

    how to send the pdf file as an attachment to some other mail...... give me sufficient examples........ fine solution reward with maximum points.........