When I mix JSTL 1.0 and 1.1 taglib declarations, it causes a ParseException

When I mix JSTL 1.0 and JSTL 1.1 taglib declarations, it causes a ParseException on some of my servers, but not all of them.
Here is the block of code that's giving me trouble:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="TEXTVARIABLE">|STRINGOFTEXT|</c:set>
<c:set var="OTHERTEXTVARIABLE">${fn:contains(TEXTVARIABLE, '|STRINGOFTEXT|')}</c:set>And here is the exception :
*javax.servlet.jsp.JspException: com.caucho.jsp.JspLineParseException: /WEB-INF/jsp/online/system/modules/com.MYCOMPANY.marketing/templates/common/MY_JSP_PAGE.jsp:1: tag = 'out' / attribute = 'value': An error occurred while parsing custom action attribute "value" with value "${fn:contains(TEXTVARIABLE, '|STRINGOFTEXT|')}": org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported.*
However, everything works fine if I change the URI for the core declaration to *http://java.sun.com/jsp/jstl/core*
So here's the really weird part: for some reason, mixing 1.0 and 1.1 taglib declarations only causes an exception on two of my servers, my staging server and my production server. It causes no problems at all on my local machine or my development server. Why is this? What could possibly be causing this difference in behavior?
The three servers are extremely similar in setup and configuration. The JSP page is being served up by OpenCMS 7, and I'm using the Caucho's Resin webserver. I understand that you don't know how my servers or CMS are set up, but really, what I'm looking for is ideas. Any ideas at all would help, this problem has been driving me absolutely batty. Even if you don't know what could be causing the problem, if you have any suggestions at all for how I could approach the problem, that would be extremely helpful. I just don't understand what could cause this difference in behavior between my servers.
For reference, here's the first part of the stack trace (there's a character limit in this forum, so unfortunately I can't post the whole thing) :
*javax.servlet.jsp.JspException: com.caucho.jsp.JspLineParseException: /WEB-INF/jsp/online/system/modules/com.MYCOMPANY.marketing/templates/common/MY_JSP_PAGE.jsp:1: tag = 'out' / attribute = 'value': An error occurred while parsing custom action attribute "value" with value "${fn:contains(TEXTVARIABLE, '|STRINGOFTEXT|')}": org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported. at*
*org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:369) at*
*org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:241) at*
*org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:472) at*
*_jsp._WEB_22dINF._jsp._online._system._modules._com__MYCOMPANY__marketing._templates._MAIN_0PAGE__jsp._jspService(_MAIN_0PAGE__jsp.java:153) at*
*com.caucho.jsp.JavaPage.service(JavaPage.java:60) at*
*com.caucho.jsp.Page.pageservice(Page.java:579) at*
*com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at*
*shared.filter.RemoteAddrFilterBase.doFilter(RemoteAddrFilterBase.java:57) at*
*com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at*
*com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at*
*com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:175) at*
*com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at*
*com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485) at*
*com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350) at*
*org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194) at*
*org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169) at*
*org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1193) at*
*org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423) at*
*org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173) at*
*org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1227) at*
*org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1171) at*
*org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:232) at*
*org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:52) at*
*org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964) at*
*org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498) at*
*org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152) at*
*javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at*
*javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at*
*com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at*
*com.caucho.filters.CmsGzipFilter.doFilter(CmsGzipFilter.java:177) at*
*com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at*
*shared.filter.RemoteAddrFilterBase.doFilter(RemoteAddrFilterBase.java:57) at*
*com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at*
*com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115) at*
*com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at*
*com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277) at*
*com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106) at*
*com.caucho.server.dispatch.ForwardFilterChain.doFilter(ForwardFilterChain.java:80) at*
*com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:207) at*
*com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at*
*com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at*
*com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at*
*com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at*
*com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at*
*com.caucho.util.ThreadPool.run(ThreadPool.java:442) at*
*java.lang.Thread.run(Thread.java:595)*
Thanks for your help!

My simple and stupid solution: Don't mix the two :-)
You are not meant to be able to use the JSTL1.1 functions with JSTL1.0.
What version of JSTL have you got installed on your servers?
I presume it is one of JSTL1.1 or JSTL1.2?
What jar files are present? Are they all the same version on the different servers?
What version of Resin are you using?
Are there any entries in the web.xml file for JSTL (correct answer is: no. There shouldn't have to be)
Do you have any JSTL tld files sitting around your web app (again the correct answer is: no)
Deep in the source code of the JSTL 1.1 parser, is this snippet:
String allowed = System.getProperty("javax.servlet.jsp.functions.allowed");
    if (allowed == null || !allowed.equalsIgnoreCase("true"))
      {if (true) throw new ParseException("EL functions are not supported.");}I'm not sure what would set this property, but it might give you a lead...
My recommendation: Use JSTL1.1 rather than JSTL1.0, and don't try to mix the two.

Similar Messages

  • When i play back an mp3 dj mix i,ve burn,t to cd in my car when i turn the engine of and then restart the car the cd starts back from the beginning how do i solve this problem so that when i turn the engine on end off the cd plays from the same place

    when i play back an mp3 dj mix i,ve burn,t to cd in my car when i turn the engine of and then restart the car the cd starts back from the beginning how do i solve this problem so that when i turn the engine on end off the cd plays from the same place it did before i turned the engine off

    It could be that the CD player will only playback "Redbook" CD's from the previous position.
    And starts mp3 type CD's from the beginnig.
    However.. it's not Logic related.
    pancenter-

  • TS4062 we have 2 different iphones. When we are synching, the contacts and ical interfere and we end up by having all our contacts and ical info mixed together.

    we have 2 different iphones 4 and iphone 4s. Why when we are synching, the contacts and ical interfere and we end up by having all our contacts and ical info mixed together?

    Well are you syncing them with the same acount?  Are you syncing them to the same source?  If you are both syncing the iCal on the same computer then you are going to end up sharing all the entries.  You need two differnt AppleId's and user ID on the comuter you are syncing to if you want everything to stay seperate.

  • So, in the end, is mixing JSTL with JSF ok or not?

    At first, when I began learning JSF, I was taught not to mix JSTL into JSF because it's very hard to know how will be behave.
    Then, I learned that in order to avoid the confusion completely, it was best not to use any JSTL or even better use Facelets.
    Now, I keep running into (relatively recent) articles and books claiming both that JSTL now works with JSF and that it doesn't.
    I gave it a shot by trying the famous c:forEach with h:outputText
    <c:forEach var="item" items="#{someBean.items}">
        <h:outputText value="#{item.name}" /></td>
    </c:forEach>According to my current knowledge, this is not supposed to work, and it doesn't, but since I've seen a Sun article saying that it should (if the latest components are installed, and they are), I can't be sure if I misconfigured something or...
    I've also read the following sentence (regarding the above example):
    >
    This is supposedly fixed in JSTL 1.2, but there is no stand-alone implementation of JSTL 1.2.
    >
    So, could someone with an understanding of the issue clear this up for me? I'd be very grateful.
    I'm not asking anyone to find out why my code didn't work, just if it was supposed to work at all.
    Also, I found this on onjava.com
    For instance, <c:if> and <c:choose> may contain JSF component custom actions, but only if the id attributes are set for the nested JSF component actions.It this true? Is it obsolete?
    Thanks to anyone who takes the time to share any insight.

    Thanks for the response BalusC, I'm now closer to understanding the issue. The only thing still bothering me is this code (taken from Sun's webtiersample.jsp)
    <c:forEach items="#{BooksBean.books}" var="book" varStatus="stat">
         <tr>
              <td>
               <h:outputText id="title" value="#{book.title}"/>
           </td>
             <td>
               <h:outputText id="author" value="#{book.author}"/>
             </td>                          
         </tr>
    </c:forEach>Won't this cause an id clash? I mean, doesn't this mean I'll have multiple "title" and "author" ids?
    This seems to confirm the statement I quoted earlier (from onjava.com):
    For instance, <c:if> and <c:choose> may contain JSF component custom actions, but only if the id attributes are set for the nested JSF component actions.Mind you, I don't really plan to use JSTL in JSF, but I really wish to understand this...
    Thank you very much for taking the time.

  • JSTL c:out and PageContext: need help!!!!!!!!!!!!!

    hi, i'm finding problems using core tag libraries, and i can't understand how to solve but expecially WHY i'm getting all those compilation errors....
    first, i post my jsp's scriptlets section for evaluating errors, but please, firstly go to the end of scriptlet's section to understand what i'm asking.
    ################# JSP'S SCRIPTLETS SECTION ##############
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page session="true"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="services.sessionservice.*"%>
    <%@page import="util.*"%>
    <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <jsp:useBean id="loginManagement" class="bflows.LoginManagement" scope="session"/>
    <jsp:setProperty name="loginManagement" property="nickName" param="nickName"/>
    <jsp:setProperty name="loginManagement" property="password" param="password"/>
    <jsp:setProperty name="loginManagement" property="loggedOn" value="false"/>
    <%
        Cookie[] cookies = request.getCookies();
        String message = null;
        // SETTO UN ATTRIBUTO CON SCOPE PAGE PER L'UTILIZZO CON LE TAGLIBS PER L'OUTPUT IN XML
        // LO UTILIZZO COME SE FOSSE UNA VARIABILE PER POI EFFETTUARE IL GIUSTO OUTPUT.
        // ######################## ENGLISH FOR JAVA.SUN FORUM #####################
        // "OUTPUT" AND "MESSAGE" ARE ATTRIBUTES SETTED TO CHOOSE WHICH XML NODE I WANT TO SELECT
        // FOR OUPUT.
        pageContext.setAttribute("output","login");
        pageContext.setAttribute("message",null);
        String output = "login";
        String action = request.getParameter("action");
        // Controllo che (1� if) esista il cookie NICKNAME e che contenga dei valori; poi controllo che (2� if)
        // I valori contenuti corrispondano a quelli della sessione corrente.
        if(cookies != null) {
            if(Session.getValue(cookies,"NICKNAME",0) != null && Session.getValue(cookies,"NICKNAME",1) != null){
                if(Session.getValue(cookies,"NICKNAME",0).equals(loginManagement.getNickName())
                && Session.getValue(cookies,"NICKNAME",1).equals(loginManagement.getSessionID())) {
                    loginManagement.setLoggedOn(true);
        if(action != null){
            if(action.equals("login")){
                loginManagement.logon();
                if(loginManagement.getCookies() != null){
                    for(int i=0;i<loginManagement.getCookies().length;i++){
                        response.addCookie(loginManagement.getCookies(i));
                        cookies=loginManagement.getCookies();                   
                    loginManagement.setLoggedOn(true);
            if(action.equals("logout")){
                loginManagement.setCookies(cookies);
                loginManagement.logout();
                // Rispedisce i cookie al client con MaxAge = 0, cos� questi verranno cancellati.
                for(int i=0;i<loginManagement.getCookies().length;i++){
                    response.addCookie(loginManagement.getCookies(i));
                loginManagement.setLoggedOn(false);
        if(loginManagement.getLoggedOn()){
            // MOSTRA IL MESSAGGIO DI BENVENUTO (SHOWS THE WELCOME MESSAGE)
            pageContext.setAttribute("output","welcome");
            output = "welcome";
        else {
            if(action != null && action.equals("logout")){
                // TORNA ALL'INIZIO (SHOWS THE LOGIN FORM)
                pageContext.setAttribute("output","login");
                output = "login";
            else {
                if(loginManagement.getResult() == -1){
                    throw new Exception("Errore nell'applicazione: consultare i log");       
                if(loginManagement.getResult() == -2){
                    // STAMPA IL MESSAGGIO DI ERRORE (PRINTS THE ERROR MESSAGE)
                    pageContext.setAttribute("message",loginManagement.getErrorCode());
    %>############# END OF SCRIPTLETS' SECTION ###########
    now i'll paste 2 short taglibs sections which will be appended after the code i pasted above: the first working, the second not compiling:
    ################## FIRST TAGLIB SECTION #############
    <c:set var="xmlDocument" scope="page">
        <ROOT>
        <%if(output.equals("welcome")){%>
            <WELCOME>
                <NOME><%=loginManagement.getNome()%></NOME>
                <COGNOME><%=loginManagement.getCognome()%></COGNOME>
                <CREDITI><%=loginManagement.getCrediti()%></CREDITI>
            </WELCOME>
        <%}%>
        <%if(output.equals("login")){%>
            <LOGIN></LOGIN>
        <%}%>
        <%if(output.equals("error")){%>
            <ERROR><%=loginManagement.getErrorCode()%></ERROR>
        <%}%>
        </ROOT>
    </c:set>
    <x:parse xml="${xmlDocument}" var="xml"/>
    <c:set var="xslUrl"><%="/XSL/Login.xsl"%></c:set>
    <c:import var="xslDocument" url="${xslUrl}" scope="page"></c:import>
    <x:parse var="xsl" xml="${xslDocument}"/>
    <x:transform xml="${xml}" xslt="${xsl}"/>###################### END #########################
    ################## SECOND TAGLIB SECTION ###########
    <c:set var="xmlDocument" scope="page">
        <ROOT>
        <c:if test="${pageScope.output == 'welcome'}">
            <WELCOME>
                <NOME><c:out value="${loginManagement.nome}"></c:out></NOME>
                <COGNOME><c:out value="${loginManagement.cognome}"></c:out></COGNOME>
                <CREDITI><c:out value="${loginManagement.crediti}"></c:out></CREDITI>
            </WELCOME>
        </c:if>
        <c:if test="${pageScope.output == 'login'}">
            <LOGIN></LOGIN>
        </c:if>
        <c:if test="${pageScope.message != null }">
            <ERROR><c:out value="${loginManagement.errorCode}"></c:out></ERROR>
        </c:if>
        </ROOT>
    </c:set>
    <x:parse xml="${xmlDocument}" var="xml"/>
    <c:set var="xslUrl"><%="/XSL/Login.xsl"%></c:set>
    <c:import var="xslDocument" url="${xslUrl}" scope="page"></c:import>
    <x:parse var="xsl" xml="${xslDocument}"/>
    <x:transform xml="${xml}" xslt="${xsl}"/>###################### END #########################
    can u help me to understand why the second section doesn't works? if i'll be ogliged to use the first one, i won't be able to completely write code using taglibs, and so my code will be horrible! a mix of scriptlets syntax and taglibs' xml one.
    Compiling jsp with netbeans 4.0 the error is:
    Compiling 1 source file to /home/ghido/WebProjects/WebDocumentationXML/build/generated/classes
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:252: jspxmeth_c_if_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.SetTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_if_0(_jspx_th_c_set_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:256: jspxmeth_c_if_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.SetTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_if_1(_jspx_th_c_set_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:260: jspxmeth_c_if_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.SetTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_if_2(_jspx_th_c_set_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:292: jspxmeth_c_out_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_0(_jspx_th_c_if_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:296: jspxmeth_c_out_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_1(_jspx_th_c_if_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:300: jspxmeth_c_out_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_2(_jspx_th_c_if_0, jspxpage_context))
    ^
    /home/ghido/WebProjects/WebDocumentationXML/build/generated/src/org/apache/jsp/Login_jsp.java:404: jspxmeth_c_out_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.Login_jsp cannot be applied to (org.apache.taglibs.standard.tag.el.core.IfTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_c_out_3(_jspx_th_c_if_2, jspxpage_context))
    ^
    7 errors
    Can you help me??
    And also, is the "pageContext.setAttribute()" method the correct way to select output as i did, or do u know a better one?
    Thanks a lot, bye.

    Use the brace notation.
    ${sessionScope['org.apache.struts.action.LOCALE']}

  • I have a database of names. When I go to the database and pull up names I right click on the option "Open in new tab". I would like to bring up 200 names and do the same function simultaaneously to them like, add a vote to their total individual vote co

    I have a database of names. When I go to the database and pull up names I right click on the option "Open in new tab". I would like to bring up 200 names and do the same function simultaaneously to them like, add a vote to their total individual vote count. Is this possible?

    I ended up reformating the drive as FAT32 because I still need to use it on my Windows 98SE system also. I did have a problem with the allocation size. I wanted to use 512 bytes but it kept failing so I used the default size(8192 bytes) and then it worked fine. I didn't think there would be a problem formatting as NTFS but since you are having problems I just tried it. It failed at 512 bytes allocation size so I tried again using 4096 bytes, the default, as the allocation size and it failed again. It looks like these drives will not format as NTFS.
    Also, I think I figured out what's going on with the ReadyBoost problem. As I said initially it wouldn't work with ReadyBoost then after I had 12GB of data on the drive the ReadyBoost feature started working. After I deleted all the files it quit working again. After doing some reading on the net about Flash drives and ReadyBoost problems it appears that the memory chips on my Lenovo Flash drive are mixed with both fast memory chips that work fine with ReadyBoost and slower memory  chips that are too slow for ReadyBoost. Apparently, after I fill up the portion of memory with data that uses the slow chip(s) then ReadyBoost works fine with the fast chip(s).  I also verified the Flash drives read and write memory speeds using Vista's Event Viewer. To work with ReadyBoost the Flash drive has to read at a minimum of 2.5MB/s (for 4KB random reads) and write at a minimum of  1.75MB/s (for 512KB random writes).
    Let me know what you find out.

  • Does Garageband add compression when it mixes down?

    I was wondering if, when you've finished your recordings and you export to an .aiff file Garageband does any default peak-level compressing (or indeed low-volume-level upping) as part of the overall process?
    I've never noticed any in terms of the difference in sound between a song in Garageband prior to mixdown, and the same song playing in .aiff format in iTunes. But I thought I'd better check, as I'm going to get some recordings of mine professionally mastered, so I want the overall mix as untampered with compression-wise as possible.

    In the past, and still in the present, you can mount a VHD[X] file directly in Windows, if you have the required version. By "required version", I mean that Windows 7/Windows Server 2008 R2 won't mount a VHDX file, but they will mount a VHD file.
    It's a right-click option in Windows Explorer or with the
    Mount-VHD PowerShell cmdlet or under Action -> Attach VHD
    in the Disk Management MMC console or with the ATTACH VDISK command in DISKPART.
    Once the VHD[X] file is mounted, you can copy files to/from it just like any other disk. Once you're done, you can dismount it and turn its owning VM back on.
    In case it's not obvious, this is a potentially dangerous operation.
    Eric Siron
    Altaro Hyper-V Blog
    I am an independent blog contributor, not an Altaro employee. I am solely responsible for the content of my posts.

  • Assembly Point with mix of time based and discrete components

    Hi all,
    I have a scenario where I want to assemble 2 different components - one of them time based (assy data EXTERNAL_LOT), the other one discrete (assy data INV_SFC).
    Resource system rule "time based resource (genealogy)" is set to true.
    I set up and loaded slot config on resource for the time based component.
    Operation is configured to not allow SFC complete if components are missing (CT520 on PRE_COMPLETE hook)
    When I start SFC at operation and resource in POD the time based component is assembled automatically (according to device history record) However, once I open assembly activity (COMP_LIST_DISPLAY, CT500) to assemble the discrete component both components are displayed as not assembled in component list. If I assemble the discrete component only and then try to complete SFC I receive an error message pointing out that not all components are assembled yet.
    I would have expected that time based component is displayed as already assembled and also CT520 hook does recognize the time based component as already assembled.
    Am I missing any settings?
    Or does such a mixed scenario not work at all?
    We are using ME 6.1.4.2
    Thanks for your help!
    BR Ulrike

    Hi,
    The issue you are seeing with CT520  whereby the hook does not recognize the time based component as already assembled was resolved in a later release.  Please patch to latest version.  Associated release notes will detail which patch fixed it.
    You would need to use assembly point in POD to add the INV_SFC
    Thanks
    Steve

  • Why doesn't the quality meter approve of any of my choices of master passwords, no matter how I mix both letters, digits and non-alphanumeric characters?

    I tried to create a master password, but it couldn't be done 'cause the quality meter never accepted any of my passwords, even though I used a very complicated mix of letters, digits and special characters as well.

    There are no requirements when setting Firefox's master password. The password quality meter is purely informative.
    If you're trying to fill the bar all the way, that's unlikely unless you create a lengthy password, or a very complex mix of special characters, digits and lowercase and uppercase letters. Keep in mind the master password should be easily remembered and typed in, time after a time. A highly secure password that is easily mistyped or forgotten is of no use.

  • Why does Photoshop CC running slow when using Mixer brush tool

    Why does Photoshop CC and Photoshop C6 running SOOO slowly when using Mixer brush tool??
    Only to create one stroke it takes several seconds.
    I have to wait a long time to do next stroke. I can't work with this. How do I fix this??
    I have a new computer, a Mac Book Pro with 16 GB ram, so I have plenty of ram.

    You really have to keep your brush size small with the Mixer Brush tool.  And that necessitates keeping your canvas failry small as well.
    Back a few years ago I did a whole painting with the Mixer Brush once and some of the bristle brushes - just to see if I could - and I found I had to really limit the brush size (e.g., to 50 to 75) in order to get enough responsiveness to keep painting.  In that case my canvas was 4096 x 5120.  It's not impossible to get a good, professional result, but you have to be careful about sizing things right.
    -Noel

  • PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list

    Hi,
    I have a requirement to send a table data through mail,
    so am using execute statement after opening the connection and am using the following PLSQL code, which am failing to execute successfully.
    My code goes like this.
        0            10            20           30           40            50
    1  CREATE OR REPLACE PROCEDURE SEND_TABLE_DATA( FROMAD IN VARCHAR2,
    2   TOAD IN VARCHAR2,
    3   SUBJECT IN VARCHAR2,
    4   MESSAGE IN VARCHAR2,
    5   DOCID IN VARCHAR2,
    6   DOCDT IN DATE,
    7   PRODOAID IN NUMBER )
    8   AS
    9   BATCHNO  VARCHAR2(32767);
    10  PCSBOX  NUMBER;
    11  AMOUNT  NUMBER;
    12  SMTPHOST VARCHAR2(255) := 'XXX.XXX.X.XXX' ;
    13  A UTL_SMTP.CONNECTION ;
    14  BEGIN
    15  A :=UTL_SMTP.OPEN_CONNECTION(SMTPHOST,25);
    16  UTL_SMTP.HELO(A,SMTPHOST);
    17  UTL_SMTP.MAIL(A,FROMAD);
    18  UTL_SMTP.RCPT(A,TOAD);
    19  UTL_SMTP.OPEN_DATA(A);
    20  UTL_SMTP.WRITE_DATA(A, CHR(13) ||CHR(13) || CHR(13) );
    21  UTL_SMTP.WRITE_DATA (A,'Date: '|| TO_CHAR(SYSDATE,'DD/MM/YYYY HH24:MI:SS') || CHR(13) );
    22  UTL_SMTP.WRITE_DATA(A,'From: '||FROMAD|| CHR(13) );
    23  UTL_SMTP.WRITE_DATA(A, 'To: '||TOAD|| CHR(13) );
    24  UTL_SMTP.WRITE_DATA(A, 'Subject: '|| SUBJECT || CHR(13) );
    25  UTL_SMTP.WRITE_DATA(A,MESSAGE||DOCID||' Documented on '||DOCDT||CHR(13) );
    26  UTL_SMTP.WRITE_DATA(A,CHR(13) || CHR(13) || CHR(13) );
    27  UTL_SMTP.WRITE_DATA(A,'This is for your information'||CHR(13) );
    28  UTL_SMTP.WRITE_DATA (A,' BATCHNO '|| ' -- '||' PCSBOX '||' -- '||' AMOUNT '||CHR(13) );
    29  EXECUTE IMMEDIATE
    30         'SELECT
    31       A.BATCHNO,B.PCSBOX,B.AMOUNT
    32        FROM
    33      SCHEMA1.TABLEX A,SCHEMA2.TABLEY B
    34        WHERE
    35       A.BATCHID=B.BATCHNO AND B.PRODOAID='|| PRODOAID
    36     BULK COLLECT INTO BATCHNO,PCSBOX,AMOUNT;
    37  FOR indx IN 1..BATCHNO.COUNT
    38   LOOP
    39    UTL_SMTP.WRITE_DATA (A,BATCHNO(indx)|| ' -- '||PCSBOX(indx)||' -- '||AMOUNT(indx)||CHR(13) );
    40   END LOOP;
    41  UTL_SMTP.WRITE_DATA( A,CHR(13) || CHR(13) || CHR(13) );
    42  UTL_SMTP.CLOSE_DATA(A);
    43  UTL_SMTP.QUIT(A);
    44  EXCEPTION
    45  WHEN OTHERS THEN
    46  UTL_SMTP.QUIT(A);
    47  RAISE;
    48  END;
    49  /
    SELECT * FROM USER_ERRORS
    NAME                       TYPE             SEQUENCE    LINE         POSITION        TEXT                                                                                                             ATTRIBUTE                 MESSAGE_NUMBER
    SEND_TABLE_DATA
    PROCEDURE
    3
    37
    1
    PL/SQL: Statement ignored
    ERROR
    0
    SEND_TABLE_DATA
    PROCEDURE
    2
    37
    24
    PLS-00487: Invalid reference to variable 'BATCHNO'
    ERROR
    487
    SEND_TABLE_DATA
    PROCEDURE
    1
    36
    25
    PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list
    ERROR
    497
    Thanks In Advance
    Regards
    Pradeep.

    > 29  EXECUTE IMMEDIATE
    > 30         'SELECT
    > 31       A.BATCHNO,B.PCSBOX,B.AMOUNT
    > 32        FROM
    > 33      SCHEMA1.TABLEX A,SCHEMA2.TABLEY B
    > 34        WHERE
    > 35       A.BATCHID=B.BATCHNO AND B.PRODOAID='|| PRODOAID
    > 36     BULK COLLECT INTO BATCHNO,PCSBOX,AMOUNT;
    The variables BATCHNO, PCSBOX and AMOUNT are defined as scalar variables. Check there definition
    > 9   BATCHNO  VARCHAR2(32767);
    > 10  PCSBOX  NUMBER;
    > 11  AMOUNT  NUMBER;
    You cannot use BULK COLLECT on scalar variables. The variables must be defined as a COLLECTION TYPE in order to perform bulk collect.

  • My phone and computer are mixing up my mom and sisters contacts. whenever i text my sister it sends it to her and my mom or vice versa. whenever i get a tex from my sister it says that i have gotten a text from my mom on the notifications. How do i fix it

    My phone and computer are mixing up my mom and sisters contacts. Whenever i text my sister it sends it to her and my mom or vice versa. Whenever i get a text from my sister it says that i have gotten a text from my mom on the notifications. How do i fix it?

    The SIM card included with an iPhone 4S that is activated with Verizon is not used to access Verizon's network. The SIM card is used when roaming internationally - to be used with a GSM carrier in another country at Verizon's international roaming rates - with a GSM carrier in a country that Verizon has a roaming agreement with.
    An iPhone activated with Verizon can be activated with another Verizon account and line/number at a Verizon store, or this can be done over the air. When I was a Verizon subscriber many moons ago, any CDMA phone I had activated with Verizon would be done over the air without having to visit a Verizon store.
    Regarding your MBP, you can perform an erase and install with the OS X install package that shipped with the Mac when new. This way it will be like opening the Mac for the first time for her. She will get the setup assistant to set up the computer with her name, address, and email address, etc. along with capturing a photo of her if she wants. After she goes through the brief setup assitant, you can run Software Update to get OS X and all includes apps up to date. She can then authorize the MBP with her iTunes account with iTunes. The iPhone can the be restored with iTunes as a new iPhone.

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • My iPhone rejects my passcode when I enter it the first and the second time

    My iPhone rejects my passcode when I enter it the first and the second time. Why?

    Is it random? Does it occasionally accept the passcode, or does the passcode seem to be changed?
    See Kappy's list on how to deal with passcode problems:
    Re: Passcode being rejected   https://discussions.apple.com/message/23376400#23376400

Maybe you are looking for

  • Creating a sequence based on the no of days in the month.

    Hi, I have a requirement in ETEXT template where I need to show the sequence as per the month of the Year. i.e. if it is december then 31 records should show up in my output file. The records in my XML data is bases on specific dates and not necessar

  • Unable to sort the records of a table

    Hi Experts, I have populated one z table with records. The table coloumns are as below: Mandt Pernr Personnel Area Total Points Rank I have to sort the table records in descending order of Total Points. In many cases there will be same total points f

  • Inplace unicode conversion - error during import in step 2

    Hi, We are having problems when running the unicode conversion import in step 2: Load Kernel Library. The problem occurs when SAPINST runs the FIXR3OWNS program. We can run FIXR3OWNS manually when logged in with QSECOFR. From the sapinst_dev.log file

  • What is best way to copy the entire LR-3 catalog from an "old" computer to a "new" computer?

    I just purchased a new desktop computer and installed LR-3 ver 3.6 on it. I would now like to transfer/copy everything (including negatives) in the LR-3 catalog of my old computer to the new computer. What is the best step-by-step procedure to do so?

  • Outlook syncing problem

    My iPhone 4 and Microsoft Outlook 2010 suddenly stopped syncing calendars. Previously, there was an iCloud symbol on the calendar view in outlook and it has disappeared. I had changed no settings. The iPhone and iCloud are syncing OK. On the iPhone,