Tag reuse by server

private int i = 0;
public int doStartTag() throws JspException {
     try {
          pageContext.getOut().println(i++);
     } catch (IOException e) {
          e.printStackTrace();
     return EVAL_BODY_INCLUDE;
}Would provide a sort of counter upon each refresh. I was under the impression that tags would not keep this information. If I were to set an internal variable with a user's private information, would this mean that the next user may access it? What about optional attributes (are they set to null)? And would these tags ever be used at the same time by two users? (Which would of course be worse than a reuse, as setting all data to null afterwards would not help).
How are tags reused, and what should and shouldn't I worry about?
I'm using Apache Tomcat 5.5.3

I believe that tags don't have to be thread safe (which is what you're asking about correct?) because the container will instantiate another tag object if needed for a different request. You can check this out by usign a debugger and inserting a breakpoint in your tag class and watch how the servlet container creates another instance of the tag class. However, instances of your tag class will be re-used so you should make sure that you overload the release() method from TagSupport to reset all local class member variables to their "starting" value.

Similar Messages

  • Control 'ctl00_SPWebPartManager1_g_d4fb972b_26ec_4065_9c89_80b51b384492_gvwikireport' of type 'GridView' must be placed inside a form tag with runat=server.

    Hi,
    I have written code for 'Export To Excel' in the visual web part as below
    //ascx file    
    <table>
        <tr>
            <td>From Date:</td>
            <td><SharePoint:DateTimeControl ID="dtFromDate" runat="server" DateOnly="True" /></td>
        </tr>
        <tr>
            <td>To Date:</td>
            <td><SharePoint:DateTimeControl ID="dtToDate" runat="server" DateOnly="True" TimeOnly="False" /></td>
        </tr>
        <tr>
          <td>Report Type:<asp:DropDownList ID="ddlreporttype" runat="server"><asp:ListItem>Consolidated</asp:ListItem><asp:ListItem>Question Wise</asp:ListItem></asp:DropDownList></td>
            <td>
                <br />               
                <asp:GridView ID="gvwikireport" runat="server">
                </asp:GridView>                   
            </td>
        </tr>   
        <tr>
            <td><asp:Button ID="btnExportToExcel" runat="server" Text="Export To Excel" OnClick="btnExportToExcel_Click"/></td>
        </tr>  
        </table>
    //cs file
    protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                    BindGridview();
    private void BindGridview()
                DataTable dt = new DataTable();
                dt.Columns.Add("UserId", typeof(Int32));
                dt.Columns.Add("UserName", typeof(string));
                dt.Columns.Add("Education", typeof(string));
                dt.Columns.Add("Location", typeof(string));            
                dt.Rows.Add(1, "SureshDasari", "B.Tech", "Chennai");
                dt.Rows.Add(2, "MadhavSai", "MBA", "Nagpur");
                dt.Rows.Add(3, "MaheshDasari", "B.Tech", "Nuzividu");
                dt.Rows.Add(4, "Rohini", "MSC", "Chennai");
                dt.Rows.Add(5, "Mahendra", "CA", "Guntur");
                dt.Rows.Add(6, "Honey", "B.Tech", "Nagpur");
                gvwikireport.DataSource = dt;
                gvwikireport.DataBind();
    protected void btnExportToExcel_Click(object sender, EventArgs e)
                Page.Response.ClearContent();
                Page.Response.Buffer = true;
                Page.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "WikiReport.xls"));
                Page.Response.ContentType = "application/ms-excel";
                StringWriter sw = new StringWriter();
                HtmlTextWriter htw = new HtmlTextWriter(sw);
                gvwikireport.AllowPaging = false;
                BindGridview();
                //Change the Header Row back to white color
                gvwikireport.HeaderRow.Style.Add("background-color", "#FFFFFF");
                //Applying stlye to gridview header cells
                for (int i = 0; i < gvwikireport.HeaderRow.Cells.Count; i++)
                    gvwikireport.HeaderRow.Cells[i].Style.Add("background-color", "#df5015");
                gvwikireport.RenderControl(htw);
                Page.Response.Write(sw.ToString());
                Page.Response.End();            
    But after clicking the 'Export To Excel' button i am getting the below error
    Control 'ctl00_SPWebPartManager1_g_d4fb972b_26ec_4065_9c89_80b51b384492_gvwikireport' of type 'GridView' must be placed inside a form tag with runat=server.
    In case if i am modifying the code as below I am getting error as 'page can have only one server tag'.
    <form id="frmgrdview" runat="server">
     <asp:GridView ID="gvwikireport" runat="server">
                 </asp:GridView></form>
    So please share your ideas/thoughts on the same.
    Regards,
    Sudheer 
    Thanks & Regards, Sudheer

    Hi,
    According to your post, my understanding is that you fail to export to excel.
    I create a demo as below, it works well.
    <table>
    <tr>
    <td>
    <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    <asp:GridView ID="gvwikireport" runat="server">
    </asp:GridView>
    </td>
    <td>
    <br />
    <asp:Button ID="btnExportToExcel" runat="server"
    onclick="btnExportToExcel_Click" Text="Export to excel" />
    </td>
    </tr>
    </table>
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Data;
    using System.IO;
    namespace Export_to_Excel.VisualWebPart1
    public partial class VisualWebPart1UserControl : UserControl
    protected void Page_Load(object sender, EventArgs e)
    if (!Page.IsPostBack)
    BindGridview();
    private void BindGridview()
    DataTable dt = new DataTable();
    dt.Columns.Add("UserId", typeof(Int32));
    dt.Columns.Add("UserName", typeof(string));
    dt.Columns.Add("Education", typeof(string));
    dt.Columns.Add("Location", typeof(string));
    dt.Rows.Add(1, "SureshDasari", "B.Tech", "Chennai");
    dt.Rows.Add(2, "MadhavSai", "MBA", "Nagpur");
    dt.Rows.Add(3, "MaheshDasari", "B.Tech", "Nuzividu");
    dt.Rows.Add(4, "Rohini", "MSC", "Chennai");
    dt.Rows.Add(5, "Mahendra", "CA", "Guntur");
    dt.Rows.Add(6, "Honey", "B.Tech", "Nagpur");
    gvwikireport.DataSource = dt;
    gvwikireport.DataBind();
    protected void btnExportToExcel_Click(object sender, EventArgs e)
    Page.Response.ClearContent();
    Page.Response.Buffer = true;
    Page.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "WikiReport.xls"));
    Page.Response.ContentType = "application/Excel";
    StringWriter sw = new StringWriter();
    HtmlTextWriter htw = new HtmlTextWriter(sw);
    gvwikireport.AllowPaging = false;
    BindGridview();
    //Change the Header Row back to white color
    gvwikireport.HeaderRow.Style.Add("background-color", "#FFFFFF");
    //Applying stlye to gridview header cells
    for (int i = 0; i < gvwikireport.HeaderRow.Cells.Count; i++)
    gvwikireport.HeaderRow.Cells[i].Style.Add("background-color", "#df5015");
    gvwikireport.RenderControl(htw);
    Page.Response.Write(sw.ToString());
    Page.Response.End();
    The result is as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Making sure setting ojsp-init tags-reuse from orion-web.xml is used

    I'm facing a problem with the following setting in my application's orion-web.xml:
    <ojsp-init tags-reuse="compiletime-with-release"/>
    previously, we had this setting in global-web-application.xml, but we would like to specify it per application, to get rid of the OC4J post-installation step to manually add the following lines:
    <init-param>
    <param-name>tags_reuse_default</param-name>
    <param-value>compiletime_with_release</param-value>
    </init-param>
    However, the latter works, and the former doesn't seem to have any effect whatsoever. But as far as I can see, the orion-web.xml is correctly following the XSD:
    <?xml version="1.0"?>
    <orion-web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"      deployment-version="10.1.3.3.0"
         deployment-time="1198148775354"
         jsp-cache-directory="./persistence"
         jsp-cache-tlds="standard"
         jsp-taglib-locations=""
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
         context-root="/messagecontrol"
    schema-major-version="10" schema-minor-version="0" >
         <!-- Uncomment this element to control web application class loader behavior.
              <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
         -->
         <ojsp-init tags-reuse="compiletime-with-release"/>
    </orion-web-app>
    http://www.oracle.com/technology/oracleas/schema/orion-web-10_0.xsd
    Am I missing something here? Do we need to do something specific to make sure the ojsp-init values are actually used? The documentation seems to indicate that the two settings are equivalent:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28961/devconfig.htm#BHCFICDA
    Any help would be appreciated.
    Jaap

    Update:
    In the meantime I've logged a SR for this. The settings "none" and "compiletime" do work and behave the same as their global-web-application.xml counterparts. It's just the "compiletime-with-release" that does not work as expected.

  • How can I write to a Siemens S7-300 PLC tag from OPC Server.vbai page by using a Knob object ?

    I am using NI OPC Server and I can read Siemens S7-300 PLC tags such as thermocouple values from the PLC. Additonally I can write manually a constant value to that tag by selecting it in the NI Distributed System Manager. And I can read the written value from NI Distributed System Manager or from NI OPC Server. But I can not write any value to the S7300 PLC tags such as by using a knob object at the NI Vision Builder AI Inpection (.vbai) page.
    Any help is welcomed. Thanks in advance.
    Attachments:
    manual_writing_to_plc.png ‏298 KB

    The tutorial at the following location explains how to use Vision Builder AI as a OPC server.
    https://decibel.ni.com/content/docs/DOC-18647
    http://www.ni.com/white-paper/13574/en
    To allow VBAI to connect to an OPC Server (i.e. act as an OPC client), you need to purchase and install the DSC Run-time System.
    Once installed, you can create an OPC I/O client using the Distributed System Manager, create variables bound to OPC tags, then create VBAI network variables that are bound to these variables.
    Another possible technical solution to connect to OPC Servers supporting Data Access 2.0 is to use the datasocket API in a Run LabVIEW step.
    http://forums.ni.com/t5/Machine-Vision/Read-and-Write-with-OPC-through-NI-Vision/m-p/2048278/highlig...
    Hope this helps.
    -Christophe

  • Custom tag lib, tomcat server cant parse descripter file

    Hi there, I'm working on custom tag libraries, and I have created a simple tag which prints a string when it is called from a jsp file. And I have created a descriptor file for that perticular tag and also created a jsp file which is using the tab lib that I have created, I have placed all these files in their corresponding files, well the problem is when I'm trying to call that jsp file it says the server can't parse the tags.tld file, because <urn></urn> must be declared. And can anybody throw some light on this! it would be much of help from you side, regards, Raasi
    I have pasted all the files with the error message please have a look
    ************** Descriptor file ****************88
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <!-- a tag library descriptor -->
    <taglib>
         <!-- after this the default space is "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>csajsp</shortname>
         <urn></urn> <!-- problem is here. -->
         <info>
              A tag library from Core Servlets and JavaServer Pages, http://www.coreservlets.com/.
         </info>
         <tag>
              <name>example</name>
              <tagclass>coreservlets.tags.ExampleTag</tagclass>
              <info>Simplest example: inserts one line of output</info>
              <bodycontent>EMPTY</bodycontent>
         </tag>
         <!-- Other tags defined later... -->
    </taglib>
    The JSP file which is using that descriptor file
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <%@ taglib uri="csajsp-taglib.tld" prefix="csajsp" %>
    <TITLE><csajsp:example /></TITLE>
    <LINK REL=STYLESHEET HREF="JSP-Styles.css" TYPE="text/css">
    </HEAD>
    <BODY>
    <H1><csajsp:example /></H1>
    <csajsp:example />
    </BODY>
    </HTML>
    error message from Tomcat4.1 server
    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: XML parsing error on file /jsp/csajsp-taglib.tld: (line 9, col 7): Element type "urn" must be declared.
         at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:189)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:247)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:183)
         at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:799)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:471)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/4.1.12
    ********************************8

    Hi,
    I have used the following dtd file for a simple tag you can use it by just replacing the tag properties
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
    <taglib>
         <tlib-version>1.0</tlib-version>
         <jsp-version>1.2</jsp-version>
         <short-name>CooperatingTags</short-name>
         <description>
         </description>
         <tag>
              <name>first</name>
              <tag-class>com.opera.tagclasses.FirstTag</tag-class>
              <body-content>EMPTY</body-content>
              <attribute>
                   <name>sessionID</name>
                   <required>false</required>
                   <rtexprvalue>true</rtexprvalue>
              </attribute>
         </tag>
    </taglib>
    I guess tag urn is not required.
    Hope this helps
    Ravi

  • How to delete old unused blog tags from Wiki Server 3 in Lion Server

    My Tags index in my Wiki Server 3 wiki (Lion Server) still shows old tags that are no longer in use.
    But, how in the world does one remove them?
    Any help?   Thanks.

    I figured it out, but had one hoop to jump through.   I hadn't noticed a tiny little edit button in the far upper right corner of the tags window.   Clicking it reveals red minus signs next to each tag.  That's how to delete a tag.
    BUT, since my tags were no longer in use (I'd deleted the original blog(s) they were attached to, when I tried deleting them I got an error message.   So, I created a dummy blog entry, tagged it with the same tags that I want to delete, saved the blog, then went back to the all-tags view and deleted them (they existed this time).  After done, I deleted the temporary blog.   All done.
    It seems clear that the WIki 3 Server is very primative in many ways.  I hope Mountain Lion reveals a host of improvements.

  • Manage Tags in Wiki Server?

    Hi
    Is there any way to 'manage' Tags in the Wiki Server.  We have some students posting swear words etc as Tags as unauthenticated users.  Is there a way I can force them to authenticate before they can add tags?  Failing this, is there any other way I can manage this?
    Regards
    Chris

    Apparently you can. Upload any image using the Add image (not the attachment) button in edit mode.
    Once uploaded. While still in edit mode. Click on the same line right "before" the image, not on the image itself... in the white space.
    A new button will appear in the edit toolbar at the top it will say Link (down arrow).
    Click that... it works just like normal links, and you can link that photo anywhere.
    Click Save... now when you click the image... instead of getting another window with the preview... you get redirected to the URL you provided.

  • Search for, edit, and delete XML tag (Adobe InDesign Server CS5)

    Hi all,
    I'm working with Indesign Server CS5 and JavaScript, though having some trouble coming up with a solution to a problem...
    I need to build a JS script (called through SOAP) that will enable me to search an InDesign file for a given XML tag.
    Upon finding the XML tag, if the 'action' variable is set to delete, it should delete the tag and its contents.
    If the action is set to edit, it should change the contents of the tag to some user-specified content.
    The primary caveat is that the XML tag is variable, as is the XML structure of the InDesign file.
    Here's what I have in mind, in pseudocode:
    function findXMLTag(tag, action) {
         app.searchForTag(tag);
         if (tagIsFound) {
              if (action == "delete") {
                   tag.delete;
              } else if (action == "edit") {
                   tag.contents = "Updated content";
    Any help would be greatly appreciated!
    Thanks,
    Ben Kay

    'searchForTag' can be implemented as a recursive function.
    Recursion is defined like this: I thought, "I'll just search this forum for 'recursion'." The first post I found was one of my own, suggesting that the poster should search the forum for 'recursion'.
    Here is an example: find the XML Element [<email>]
    And another: Remove xml element using JS[CS3] (read carefully, as the OP got stuck on how to successfully remove an element and continue)
    And one, using XML Rules -- which I'm totally unfamiliar with, but may work for you: Changing Values in XML tags

  • Accessing pdfs through jsp content tags from content server!!!!!

    hi,
    i have uploaded few images in content server which i can access by dis syntax
    <ad:adTarget query="adAltText='intraday'" height="200" width="200"/>
    or
    <ad:adTarget query="image_name=='first'"/>
    but for accessing pdfs..
    <ad:adTarget query="title=='InsuranceDataSheet'"/><br>
    dis syntax doesnt work..it only provides me a link on the jsp page on click of which i can go to that pdf..
    what should i change?
    kindly help..

    By default, only image and text content have configured renderers for <ad:adTarget>, <ad:render>, and <ph:placeholder>; for all others, it does just print a link, as you're seeing. However, you can write and configure additional content renderer classes for other mime types (e.g. appliation/pdf). See http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14238/placeholders.htm#i1006120 for details.
    Greg

  • Message-driven id tag with Weblogic Server 10

    Hi,
    I want to use "message-driven id" in my ejb descriptor but I can not deploy my ejb, I have the following error: <BEA-160197> <Unable to load descriptor
    When I remove <message-driven id tag everything works fine. I need to use this tag. If there is a solution for this ?
    Weblogic Version : 10
    Thanks

    Hi,
    I believe there was a bug that caused ejb-jar.xml descriptors to fail to load if id attributes were used in certain descriptor elements. I believe this has been fixed and I suggest contacting support for a patch.
    - Matt

  • Rhythmbox 0.13.1 not handling ID3 tags properly from mt-daapd server

    I have an mt-daapd server (Firefly) serving a music library to various clients on my home network. My wife's Ubuntu desktop with Rhythmbox 0.13.1 reads the ID3 tags of files served with no problems (screenshot below):
    My Roku SoundBridge device can also access the files and read the ID3 tags without issue, as can iTunes on a Windows XP machine.
    However, since the the 2010-10-04 update of Rhythmbox on Arch x86_64, ID3 tags on files served by the mt-daapd server appear to be only partially readable (just the title and the genre), which results in all tracks being categorized as "Unknown" artist, album, etc. in Rhythmbox (screenshot below):
    Until the Oct 4 update, things worked well. Any ideas as to what may have changed? It does NOT appear to be an ID3 support issue on the host computer running mt-daapd, as other client devices on my network can read the tags just fine, and things only went awry after the latest update.
    Any help is much appreciated. Cheers.

    Hmmm ... PKGBUILD listed the dependency as musicbrainz-2.1.5 without any editing needed:
    pkgname=rhythmbox
    pkgver=0.13.1
    pkgrel=1
    pkgdesc="An iTunes-like music player/libary"
    arch=('i686' 'x86_64')
    license=('GPL')
    url="http://www.rhythmbox.org"
    depends=('libgpod>=0.7.93' 'libsoup-gnome>=2.31.92' 'gnome-media>=2.31.6' 'totem-plparser>=2.31.92' 'musicbrainz>=2.1.5' 'libmtp>=1.0.2' 'libnotify>=0.4.5' 'lirc-util$ ...
    I removed libmusicbrainz3 (and sound-juicer, as it depends on it) anyway. Then I rebuilt Rhythmbox with abs and reinstalled (largely because I hadn't done this sort of thing in a while), but no change.
    Thanks in advance for any other suggestions.

  • Server.xml: Parent Application Tag: java.lang.ClassNotFoundException

    Hi,
    I have 2 EAR´s deployed on an OC4J (10.1.2) Standalone:
    uncomsso - SingleSignOn
    uncomtvv - Main App.
    My server.xml is as follows:
    <application name="uncomsso" path="../applications/singlesignon.ear" />
    <application name="uncomtvv" path="../applications/uncomtvv.ear"
    parent="uncomsso"/>
    I have many jars in the singlesignon.ear/lib that must be shared to uncomtvv.ear.
    I tought that with the parent application tag, this could be possible, but even with the tag on the server.xml, I´m getting java.lang.ClassNotFoundException.
    How can I make the jars on the singlesignon.ear/lib be available to the uncomtvv.ear classes?
    Any clarification will be appreciated,
    Thanks,
    Murilo

    Actually, it seems to search the classes first on the WEB-INF/classes of uncomtvv web module and then, instead of searching the lib directory of uncomtvv EAR, it searches the lib dir of singlesignon EAR and finally the instance classloader...
    Anybody can explain me why it doesn´t look for the classes on the lib dir of the uncomtvv EAR?
    ( The jars in lib dir of uncomtvv.ear are referenced by the MANIFEST.MF of META-INF web-module )
    Thanks,

  • Problem with html:select or html:options tags using struts,jsp and tomcat

    Hi
    I'm updating a Struts-Project to a new layout and therefore rework all jsp Sites.
    I'm also using a new Folder-Structure and update therefore my struts-config file.
    My Problem now is:
    Till now, we had a select-field with a code like this:
    < html:form action="/timetableAction" method="POST">
    < table width="53%" border="0">
    < tr>
    < td>< html:radio property="dauer" value="semester"
    /></ td>
    < html:select property="semester" size="1">
    < htmlptions name="semesterList" />
    </ html:select>
    </ html:form>
    The problem now is, that whenever I use any <html:xy> tag, the tomcat server I use can not show the page, he shows just the headers of the template, but not the
    content.-jsp-File where the form would be in. He stops right in the middle of the html page, when he notices the <html:xy> tags.
    And the funny thing is, that he has no problem to show a page when there is a <html:errors> within it? Why could this be? the struts-html.tld File is well included and teh Tomcat Server shows no exceptions.
    Waiting for you answers and thanks

    Thank you, I already got the answer in another forum

  • Unable to check logfiles in Application Server Control

    I use oc4j_extended with a seperate oc4j_home: java -jar "%OC4J_INSTAL%\oc4j.jar" -userThreads -verbosity 10 -config %OC4J_HOME%\config\server.xml
    This means I had to change some paths in server.xml.
    Now I am able to use ascontrol from my seperate home. The problem is that when I click on the link Logs, I get a NullPointerException:
    java.lang.NullPointerException at oracle.sysman.ias.studio.logging.logviewer.LogFilesHelper.createLogFilesHGrid(LogFilesHelper.java:858) at oracle.sysman.ias.studio.logging.logviewer.LogFilesHelper.prepareData(LogFilesHelper.java:244) at oracle.sysman.ias.studio.util.AbstractController.prepareData(AbstractController.java:652) at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:389) at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:711) at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:294) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:61) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:672) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:378) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:869) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:288) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:120) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:294) at java.lang.Thread.run(Thread.java:536)
    In my oc4j console window it says: 05/03/03 14:18:26 javax.management.MBeanException: Exception thrown in operation
    discoverLogs
    05/03/03 14:18:26 at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(M
    BeanServerEjbBean.java:346)
    05/03/03 14:18:26 at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(M
    BeanServerEjbBean.java:309)
    05/03/03 14:18:26 at MBeanServerEjbRemote_StatefulSessionBeanWrapper0$1.ru
    n(MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:141)
    05/03/03 14:18:26 at java.security.AccessController.doPrivileged(Native Me
    thod) ... (etcetera)
    This doesn't happen when I run oc4j and ascontrol from my installation directory. Does anyone know what the problem might be?
    Marko.

    Another question on this subject: why does OC4J use paths
    like ../../home/jsp/lib/taglib/ and even
    ./../../j2ee/home/jsp/lib/taglib/ (both used to define
    global.tag.libraries in server.xml), when in this case >../jsp/lib/taglib would be sufficient?Another good question at that.
    The reason is that OC4J is distributed as both a standalone zip file, and as part of the broader OracleAS product.
    In the standalone case, we typically have one instance -- ie home.
    In the OracleAS case, you can and deploy applications to new instances. In this case, we use the same set of bits, but just different configuration files. So where you see references to paths such as ../../j2ee/home/ that allows the same config files to be utilized in both standalone and OracleAS environments, and lets us support home and other specific instances which get created.
    ../.. takes you back to the ORACLE_HOME directory.
    cheers
    -steve-

  • Problem with Lookout 6.5 tag sharing

    This is a WHOPPER, although a weird one...
    I have one grad student grabing shared variables from my Lookout server processes for inclusion in his LabVIEW implementation.
    After I upgraded the server's Lookout to 6.5, he reported problems reading values from one of the four processes running on my server.
    1.  Oddly enough, he had no problem displaying the tags in Max or in Activex Hypertrend within his LabVIEW executable, but he could not map the variables to his shared variables and thus he could not display them or include them in his Citadel.
    2.  Using Tag Monitor, all the values from the "troubled" process on my Lookout server, come up as "access denied".
    3.  Using Tag Monitor on the Lookout server (while all four processes were running in Lookout), I had the same results...."access denied".
    4.  All Lookout clients (both 6.5 and 6.2) have no problems accessing the troubled process tags both by expression and Lookout Hypertrend.
    The troubled process, has the last alphabetical process name and the last alphabetical file name.  All four processes are loaded using the startup settings in Lookout.ini.  Lookout runs as a service on WIndows 2008 x86 Hyper-V virtual machine.
    Because the processes are all production, I have not yet been able to mess with process names and loading order to possibly elaborate on the symptom.
    It is "maybe" and issue that Lookout 6.5 can't properly share out (via shared variable engine) variables from more than 3 processes at a time???
    Please advise ASAP.
    Ed

    The access denied error is more like a security issue. In Lookout Object Explorer, right click on process, and select Configure Network Security. If I give Everyone "No Access", or I just remove any permissions, I will get the access denied error in Tag Monitor.
    Actually Lookout has no limitation on the number of exported processes or tags. All the tags in each process are the tags in Logos Server. The LabVIEW access these tags by Logos protocol. If Lookout set the security, and the LabVIEW doesn't have enough access level, it will get access denied error. For example, lookout gives no access to the process.
    You can configure the Network Security for process, as well as any objects. By default, Everyone has Read&Write permission.
    Ryan Shi
    National Instruments

Maybe you are looking for

  • I cannot print a PDF from Adobe Acrobat Pro or Adobe Reader with Mavericks!

    I cannot print a PDF from Adobe Acrobat Pro or Adobe Reader.  I tried on both MacBook Pros we have here, both now with Mavericks.  Error message says "Opening printer connection failed.  Unable to open printer connection . . . "  This is after it say

  • Opening Word Documents in different ways - 'Open as' instead of 'Save as'.

    I would like to combine several documents into one document. For example, I want to combine Document A, B & C. The document will not be A then B then C, more A,B,C,A,B,C,A,C,A,B. What I would like to do then is to be able to open only the A parts as

  • Bridge cs6 issues

    I purchased downloaded and installed Adobe Photoshop CS6 and Bridge CS6 and Bridge since installing it today has not been able to open. I tried holding the option button (im using a Mac w/ Snow Leopard) and clicking the app to reset to factory settin

  • Error in AS2 sender communication channel

    Hello, We have a scenario where we are receving IDoc XML from our partner via AS2. While doing so,we are receiving following error: Error while parsing AS2 message: AUTHENTICATION_ERROR # When we try to send a normal text file,it works,so this cannot

  • Ftp error code -61

    I was trying to delete all my files from the ftp server, but when I drag my files to trash, it appears a message says it can't delete, with error code -61. I tried making an empty folder and upload to it in order to delete its content but also failed