File permission issue when indexing from JSP

HI
I have a class that I intend to use both in batch file and in JSP that will build a search index (Lucene) somwhere in the file system outside the web root. The class works great when called from the batch script but when I try to use it in the JSP page i get this error:
[#|2004-04-23T09:56:41.155-0400|INFO|sun-appserver-pe8.0|javax.enterprise.system.stream.out|_ThreadID=13;|
caught a class java.security.AccessControlException
with message: access denied (java.io.FilePermission C:\AMIR\nemours_internet\common\search_index\html\segments delete)|#]
Can someone tell me if this is a setting in PE8 server or do I have to do something within my class code?
Thanks
Following is my class (BuildPageIndex.java) and the snippet of the JSP file where I call it...
<<<< package and imports ommited >>>>
public class BuildPageIndex {
     private StringBuffer sbOut;
     public BuildPageIndex(){
     public BuildPageIndex(String pathToCMTXML){
     CMTController.loadCMTXML(pathToCMTXML);     
     public void buildIndex(){
          try {
          sbOut = new StringBuffer();
     // get all the page objects from the database
     ArrayList pageList = CMTPersister.getInstance().getAllPages();
     if (pageList.size() == 0)
          sbOut.append("<Lucene> No HTML pages in the database...Exiting...\n");
          return;     
     // obtain index location from XML config file
     HashMap searchMap = CMTController.getInstance().getSearchConfig();
     String strIndexLoc = (String)searchMap.get("LOCATION");
     sbOut.append("\n\n\n");
     // if backup management fails abort index creation
     if (!(manageBackup(strIndexLoc)))
                    return;
     // create index and start timing
     sbOut.append("<Lucene> Creating index for HTML pages in: "+ strIndexLoc + "\n");
     Date start = new Date();
     IndexWriter ixdBuilder = new IndexWriter(strIndexLoc, new StandardAnalyzer(), true);
     //for all pages ...
     for (int i=0;i<pageList.size();i++)
                    //get a page
                    Page thisPage = (Page)pageList.get(i);
                    // create lucene document from a page
                    sbOut.append("<Lucene> Page [" + thisPage.getURL().trim() +"] added \n");
                    Document pg_doc = PageDocument.Document(thisPage);
                    // add page document to the index...
                    ixdBuilder.addDocument(pg_doc);     
     // optimize and close index
               ixdBuilder.optimize();
               ixdBuilder.close();
     // calculate the time it took to build index
     Date end = new Date();
     long msecs = end.getTime() - start.getTime();
     sbOut.append("<Lucene> HTML Index created in: " + msecs + " milliseconds ("+ (float)msecs/1000.00 + " seconds) on "+pageList.size()+" pages\n\n");
     } catch (Exception e) {
               System.out.println(" caught a " + e.getClass() + "\n with message: " + e.getMessage());
     public String getOutput(){
          return this.sbOut.toString();
     private boolean manageBackup(String loc){
boolean retVal = true;
          //rename the location to _BACKUP so we have it
File currIdx = new File(loc);
File backIdx = new File(loc+"_BACKUP");
if (currIdx.exists()){
     sbOut.append("<Lucene> Index directory allready exists!\n<Lucene> Backing it up to ["+backIdx.getPath()+"]...\n");
     if (backIdx.exists()){
          sbOut.append("<Lucene> Backup directory also exists! Will delete it first...\n");
          if (!(Utils.deleteDirRecursive(backIdx))){
               sbOut.append("<Lucene> Failed deleting backup directory! Aborting...\n");
               retVal = false;
     if (!(currIdx.renameTo(backIdx)))
          sbOut.append("<Lucene> Problem backing up existing index! Aborting...\n");
          retVal = false;
return retVal;
     * Class has a main so it can be run from the batch file
     * or a command line
     * @param args
     public static void main(String[] args) {
          if (args.length == 0) {
               System.err.println("Usage: BuildPageIndex <path_to_cmt.xml_file>");
               System.exit(0);
          BuildPageIndex bpi = new BuildPageIndex(args[0]);
          bpi.buildIndex();
          System.out.println(bpi.getOutput());
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
JSP snippet
+++++++++++++++++++++++++++++++++++++++++++++
<%
     BuildPageIndex bpi = new BuildPageIndex();
     bpi.buildIndex();
     String results = bpi.getOutput();
%>
     <%=results%>

Hi Zambak,
It looks like you might need to give your JSP permission to delete the file that it is complaining about. One way to do this would be to add a FilePermission to the server's security policy file (located at <PE install dir>/domains/domain1/config/server.policy. Adding the following would grant file delete permissions to all files for all codebases...
grant{
permission java.io.FilePermission "<<ALL FILES>>", "delete";
After modifying the policy file, you will need to restart the domain by executing the following...
<PE install dir>/bin/asadmin stop-domain
<PE install dir>/bin/asadmin start-domain
It is also possible to further restrict permissions to certain codebases or further open the set of file permissions (adding write, read, delete for example). For more information on how to do this, please refer to the J2SE security documentation loacted at http://java.sun.com/j2se/1.4.2/docs/guide/security/permissions.html .

Similar Messages

  • File permission issues after copying from hard drive

    Hi there,
    I've copied my Sites folder (containing lots of HTML, CSS, PHP files) from a Time Machine backup that lives on an external hard drive onto my new MacBook Air running Lion.
    Now, I can't edit any of the files. Here are the errors I'm getting:
    http://d.pr/1jlu
    I've already tried the following system/preference changes:
    Make sure the Time Machine "2 week lock" is disabled
    Make sure the folder (and subfolders) are not locked via "get info"
    Make sure I have read/write permissions for the folder/files
    See:
    http://d.pr/Iiee
    I'm going crazy! Nothing seems to help? What else can I try to get back permission to edit my own files? (Not very familiar with Terminal unfortunately).
    Help please!
    Kai

    Puck84 wrote:
    So my hard disk crashed and when I installed the new one I tried using the setup program to restore my mac settings from my Time Machine backup. But for some reason the process continued to freeze halfway.
    That sounds like something's corrupted on your backups. Try to repair them, per #A5 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum).
    If that finds and fixes errors, your best bet will be to do a full system restore, per #14 in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum). That will bring everything back, just as it was, permissions and all.
    If that doesn't work, the problem with your HD may have damaged your installation of OSX and/or some of your data, which Time Machine backed-up. So try it again, but choose an earlier backup, from before all the trouble started.

  • File permission issues when sharing project

    Hi,
    We are sharing a project amongst two developers that each have an account on a (Windows 7) machine. They are part of a windows group and don't develop at the same time.  All directories and files are in the group and are set to inherit permissions.  After one user develops using Labview, all the files that he saved when using Labview have the group permission removed and the second developer can no longer open the files.  Our sys admins claim Labview is somehow changing the permissions.  Has anyone seen/overcome this?
    Thanks,
    Steve

    Where is the file being saved?
    No place special.  We have a labview project/ directory under our own directory under C:/ that roots all the Labview project files.
    If both users have full access to the directory where the files are being saved, there shouldn't be any problems.  I'm sure LabVIEW isn't doing anything to change access rights.
    Both users have full access.  If I create a new file it has the correct permissions (a local group).
    I'm concerned about the comment "part of a windows group"?  Most PC's in a corporate environment are part of an actual network domain, and don't use that poorman's excuse for network access rights of a workgroup that Windows seems to want to use for standalone PC's and those not registered onto a network.
    I wouldn't be too concerned =)  We have a nationwide federated domain.  The "group" is a local group on the computer for two people specifically to share this labview project.
    Steve

  • Iteration Speed issue when Indexing 3D array wried to a while-loop

    Brief Description of my Program:
    I am working on the real-time signal generation by using LabView and DAQmx (PCI-6110 card). My vi reads the big data file (typically 8MB txt file containing about 400,000 samples (complex double precision). Then, the signal is pre-processed and I end up with a huge 3D array to feed while-loop (typically 3D array dimension is N x 7 x M where N & M >> 7). Inside the loop, that 3D array is indexed and processed before the results are written to the DAQmx outputs. I have a speed issue when indexing the large 3D array (i.e, 3D array having a large sub-array size). My while-loop could not run fast enough to top-up the DAQmx AO buffer (at the output rate of 96kHz). It could run faster only if I use smaller 3D array (i.e, smaller-sized sub-arrays). I do not quite understand why the size of 3D sub-array affects the rate of looping although I am indexing same sub-array size at each iteration. I really appreciate your comments, advices and helps.
    I include my 3D array format as a picture below.
    Question on LabView:
    How does indexing an 3D array which wires to the while-loop affect the speed of the loop iteration? I found that large dimension of sub-arrays in the 3D array slows down the iteration speed by comparing to indexing the same size of sub-array from smaller-sized sub-arrays of the 3D array to perform signal processing inside the while-loop. Why? Is there any other way of designing LabView Program to improve speed of iteration?
    attachment:

    Thank you all for your prompt replies and your interests. I am sorry about my attachment. But, I have now attached a jpg format image file as you suggested.
    I had read the few papers on large data handling such as "LabVIEW Performance and Memory Management". Thus, I had already tried to avoid making unnecessary copies of data and growing arrays in my while-loop. I am not an expert on LabView, so I am not sure if the issues I have are just LabView fundamental limitations or there are any other ways to improve the iteration speed without reducing the input file size and DAQ output rate.
    As you request, I also attach my top-level vi showing essential sections such as while-loop and its indexing. The attached file is as an image jpg format because the actual vi including Sub-VIs are as big as 3MB in total. I hope my attachment would be useful for anyone who would like to reply my question. If anyone would like to see my whole vi & llb files, I would be interesting to send it to you by an e-mail privately and thus please provide your e-mail address.
    The dimension of my 3D array is N x 7 x M (Page x Row x Column), where N represents number of pages in 3D array, and M represents the size of 1D array.  The file I am currently using forms 3D array of N = 28, & M = 10,731.  Refering to the top-level vi picture I attached, my while-loop indexes each page per iteration and wrap-around.  The sub-VI called "channel" inside the while-loop will further index its input (2D array) into seven of 1D arrays for other signal processsing.  The output from that "channel" sub-VI is the superposition of those seven arrays.  I hope my explaination is clear. 
    Attachement: 3Darray.jpg and MyVi.jpg
    Kind Regards,
    Shein
    Attachments:
    3Darray.jpg ‏30 KB
    MyVI.jpg ‏87 KB

  • Moving Scriptlet Code to backing bean when converting from JSP - Facelets

    Hello!
    We are converting our application from jsf1.2 to 2.0 and all jsps are being converted to XHTML. Some are trivial while others had very complex scriptlets.
    I would like to know what are some of the recommended ways of moving Scriptlet Code to backing bean when converting from JSP -> Facelets.
    I have thought about listeners, actionListeners, putting code getXXXX() of the backing bean and then calling #{bean.XXXX} but not sure whats the best way.
    I do appreciate the response!
    Eg of a jsp page:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="/WEB-INF/xxx-jsf.tld" prefix="l" %>
    <%@ taglib uri="/WEB-INF/yyy-pp.tld" prefix="p" %>
    <%@ page import="com.ttyy.search.beans.jsf.AdvancedSearchFormManagedBean" %>
    <%@ page import="com.kkee.util.*"%>
    <%
        AdvancedSearchFormManagedBean advancedSearchFormManagedBean = (AdvancedSearchFormManagedBean) request.getSession().getAttribute("AdvancedSearchFormManagedBean");
        if (advancedSearchFormManagedBean == null) {
           advancedSearchFormManagedBean = new AdvancedSearchFormManagedBean();
           request.getSession().setAttribute("AdvancedSearchFormManagedBean", advancedSearchFormManagedBean);
        advancedSearchFormManagedBean.initializeForAdvancedSearchOptions();
        advancedSearchFormManagedBean.setQuickSearch();
         request.setAttribute("portletHeader", "Hello " + advancedSearchFormManagedBean.getPerson().getFirstname() + ", check out the latest programs in your practice areas and jurisdictions");
    %>
    <h:form id="MYCenterForm">
         <p:portletRenderer portletSetName="test of portlet"
              portletContainer="#{PortletContainerManagedBean}"
              id="MYCenter"
              portletScope = "TEST_SCOPE"
              suppressIfNoData="true"
              portletSkinName="SOME_SKIN">
              <f:facet name="persistenceToolkit">
                   <h:commandLink id="persistenceToolkitLink"
                        actionListener="#{PortletContainerManagedBean.persistPortletSetStateListener}">
                        <h:outputText value="Save State Of Portlet Set" id="persistenceToolkitLinkText"/>
                   </h:commandLink>
              </f:facet>
         </p:pagePortletSetRenderer>
    </h:form>
    <%
         String flag = PropertyItems.getInstance().getPropertyItem("response.time.flag");
         if("1".equals(flag)){
              ResponseTime rt = (ResponseTime) session.getAttribute("responseTime");
            if(rt!=null){
                rt.setDesc("my cle loaded");
                long now = System.currentTimeMillis();
                long start = rt.getStart() + rt.getTotal();
                rt.setInterval(now-start);
                rt.setTotal(rt.getTotal()+rt.getInterval());
                LogUtil.log(rt.toString(), LogUtil.DEBUG_LEVEL);
                session.setAttribute("responseTime", rt);
    %>

    That helps.
    This could be another topic question but itst kind of related to what i am doing right now. while converting JSP to facelet (in jsf2) I came across another issue.
    <h:commandLink id="Save" rendered="#{RegistrationBean.isNOTInOrigionalRegistrationMode}" action="#{RegistrationBean.updateProfile2Submit}" styleClass="#{portalSkinManagedBean.contentPortletSkin.strongTextStyle}">
              <l:htmlSkinnedImage id="SaveImage" style="border:0;" url="save.gif" alt="Save Information"/>
    </h:commandLink>When I click on the generated link, I get this. And this is happening for all the h:commandLink in the application.
    http://localhost:9080/registration/updateProfile2.jsf[request.getQueryString()=null][request.getRequestedSessionId()=F1CCE237DD81D301F1C4DBA6910FFD8A][request.isRequestedSessionIdFromCookie()=true][request.isRequestedSessionIdFromURL()=false][request.isRequestedSessionIdValid()=true]Parameters:[rolePracticeAreasForm:title=rolePracticeAreasForm:primaryPracticeArea=10002javax.faces.ViewState=-2943345291093118815:-4400303399130292206rolePracticeAreasForm:practiceAreasMod2=10148.1rolePracticeAreasForm:practiceAreasMod1=10002.1rolePracticeAreasForm:Save=rolePracticeAreasForm:SaverolePracticeAreasForm=rolePracticeAreasFormrolePracticeAreasForm:otherField=rolePracticeAreasForm:fromMyAccount=1]||
    javax.servlet.ServletException: Index: 0, Size: 0
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.legaledcenter.util.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:250)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.jscape.framework.galileo.support.upload.UploadFilter.doFilter(UploadFilter.java:71)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at javax.faces.component.AttachedObjectListHolder.restoreState(AttachedObjectListHolder.java:161)
         at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1427)
         at com.sun.faces.application.view.StateHolderSaver.restore(StateHolderSaver.java:121)
         at com.sun.faces.application.view.StateManagementStrategyImpl$4.invokeContextCallback(StateManagementStrategyImpl.java:289)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1253)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1262)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672)
         at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:284)
         at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
         at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:119)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:434)
         at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143)
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         ... 22 more
    ********** Message End *************Thanks

  • JMS issues when migration from weblogic 9.2 to 10.3.5

    We are facing some issues when migration from weblogic 9.2 to 10.3.5
    In  weblogic 9.2 :_
    BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>
    Company
    </ejb-name>
    <entity-descriptor>
    <pool>
    <max-beans-in-free-pool>300</max-beans-in-free-pool>
    <initial-beans-in-free-pool>150</initial-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>3500</max-beans-in-cache>
    <idle-timeout-seconds>100000</idle-timeout-seconds>
    <read-timeout-seconds>0</read-timeout-seconds>
    <concurrency-strategy>ReadOnly</concurrency-strategy>
    </entity-cache>
    Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
    migration to Weblogic 10.3.5_
    With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
    Can some one look into this and provide your inputs to resolve this issue.

    I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
    Tom

  • Resolve a Wi-Fi connection issue when waking from sleep

    Hi,
    In the recent release for Mac OS X Lion 10.7.3 "Resolving a Wi-Fi connection issue when waking from sleep" was supposed to be resolved, not so at my end. Has anyone else encountered the same issue and if so will there be a resolve.
    Thank you

    Hello BGreg and thank you for your answer,
    I have alreadty read about this solution, and tried it.
    I downloaded the 1.2 Go file, and applied it. And repaired permissions.
    Everything went fine.
    Unfortunately, it didn't solve the problem.
    Meaning that when iMac wakes up, it doen't join my WiFi network.
    I have to do it manually.
    I don't know what to do : it is very strange because I never had that problem with OS 10.7.2 !
    And my network setup has never changed.
    another info :
    I noticed that in the network setup screen, when I want to close the little lock to restrain further modifications, it won't close. Weird !
    Do you think I should call Apple Assistance ?

  • Has anyone else noticed that: "The OS X Lion v10.7.3 Update includes Safari 5.1.3 and fixes that: Resolve a Wi-Fi connection issue when waking from sleep" didn't work?

    I installed OS X Lion v10.7.3 because of the following claim.
    The OS X Lion v10.7.3 Update includes Safari 5.1.3 and fixes that:
    Resolve a Wi-Fi connection issue when waking from sleep
    It continues to be a real pain having to reconnect to the network each time I wake my MacBook Air from sleep.
    Does anyone have a suggestion for the resolution to this problem?

    It seems the update fixed old problems for some and caused new problems for others. Sorry to hear you're in the latter group.
    Here are some things to try.
    1. Go to System Preferences > Network, and click the gear icon under the network interfaces like so:
    Whatever service order you have set, drag Wi-Fi either to the top (assuming it's not already there) or someplace else in the list. Click OK and then Apply. Sleep the system then wake it again to observe any changes.
    2. Click Wi-Fi in the above then click Advanced. Select all the networks your computer has ever joined and delete them with the "-" button. OK then Apply again. Select your network under the AirPort icon to re-join it. Sleep and wake again to see if that did anything.
    3. Try creating a new, temporary user account. Log in under that account to see if its behavior is any different.
    You may have done all of these already but perhaps there is something you have not thought of. If nothing helps we may just have to wait a bit longer for Apple to release a fix.

  • File formatting issues when saving PDF as PPTX in Acrobat XI Pro

    Hi guys,
    I have some issues when I'm saving my PDF (initially comming from InDesign) as PPTX. The format is suddenly changing, leaving a blank zone, and some of the pages are rotated.
    Is it a problem comming from the Indesign or from the Acrobat options itself? I have already tried changing the chekboxes in the option box when I'm saving, but nothing worked.
    If someone has an idea how to fix that, i would be very grateful! Thanks in advance

    Which dot version of Acrobat XI are you currently using in your export?  Is the PDF file tagged?  If not, then you may want to tag the PDF file before exporting it.

  • File permission issues

    I cannot access any printer plug-ins by going the HD>Library>Printer>Epson>Inkjet route. All the plug-ins are grayed out so I cannot load them. I am attempting to add a printer attached to a windows machine. I followed all the instructions, I can see the correct plug-in, but I cannot load the plug-in.
    The second permission issue is moving jpeg files to the DVD or to a windows machine on the network. I am the owner of the files and all the folders are marked read and write. I also have checked windows file sharing.
    I have also done the repair permission route.
    I am new to Macs, so this is probably a simple ix, it just does not show up in the searches I have made in the Help menu or support topics. Any help is greatly appreciated. Thank you.

    Thanks for the tip, but I have tried every known fix listed anywhere and still am missing something somewhere. I can access the correct drivers when I connect the epson directly to the laptop and it will work. I can almost access the print drivers if I use IP Print when connecting to the printer across the workgroup. Almost, in that the drivers are no longer grayed-out, but if I select them, I still get generic print driver and it ignores the Epson driver. For some reason, if I try to install the driver for the printer while it is attached to a PC on the windows nworkgroup, using windows print, the print utility will not allow me to use the print driver. It has got to be something silly that I am missing.

  • Photos sent to file on desktop when importing from memory card

    The photos sent to a file when importing from a memory card appear in the file as Adobe documents and cannot be opened.  If I try to open a message appears 'Adobe Reader cannot open this document as it is not a supported file/
    What has gone wrong?

    You have already opened a thread on this issue, we don't need a second thread on the same issue.

  • Transparency issues when printing from Illustrator CS5

    I recently designed a flyer for an event that a group of artists and I are doing as a not-for-profit organization that we started, to help clean up the area and promote the arts.
    When I print the file (saved as an AI), the colors are bold, the font is crisp, and everthing overall looks fantastic, apart from this "box" around some of the elements I have created/added to the file.
    When being printed from an exported jpeg format, the boxes are not present, but the image overall is of lesser quality (i know it's from being compressed to a jpeg), and the colors are not as bold.
    I only have a black & white printer, a Brother MFC-7220. I only found out this issue when my curiousity got the best of me, and printed it to see what it'd look like on paper (8.5"x11") before we sent it off to the print shot. This is when I noticed the problem.
    The elements which have this box around them were edited in Photoshop CS 6 (trial), where I had (at least thought), disposed of each elements background, so I could import them into AI as objects, without any background.
    The files were edited in PS in new documents with a transparent background, saved as a PSD, then "opened" in Illustrator where I simply copied the object and pasted into the AI file I was working in. I've tried recreating/re-adding the elements from PS back into AI with the same issue.
    The image also looks perfect on my screen, no boxes whatsoever. I've tried playing around with printer settings, transparency/raster settings, but the only thing I can get close, is the low-quality jpeg file. This problem also happens when exporting to a PDF, which is what I typically use for my printing format from AI.
    Any ideas what's going on here? The pictures linked below show a photo of the AI and the jpeg, and a screencap of my desktop as the AI stands right now. The jpeg export has a few minor changes to it, but are still otherwise the same. The only items that are "supposed" to have this, are the logos for our sponsors in the bottom-left corner.
    I'm stumped, nothing is working that I've read about, and I need to get these printed as soon as I can! Any help would be appreciated - please keep in mind I'm a novice when it comes to AI/PS, I know mostly basics.
    [url=http://s1286.beta.photobucket.com/user/em0te-apparel/library/AI%20Print%20Issue]PICTURES[/url]

    I, too am having the same issue printing from AI CS5. I have edited images in PS CS5 and there is a transparent background. I then placed (File>Place) the PSD files into AI and everything looks good on screen. However, I'm also getting a strange box that appears around my images—though the box itself isn't a solid opaque—it looks more like there's a overprint or screen and so it just shifts the colors behind it. I've tried saving the images as transparent PNGs with the same result. I've also tried playing with my transparency settings in the print dialogue to no avail.
    Strangely this is only occurring when I print at 100% size. I came upon this by happenstance when I accidentally printed a copy at 75% and everything was fine. If anyone has any insights, it would be much appreciated. Thanks!

  • Error 8 (file permission​s) when using Help:Searc​h

    Hi there,
    When I use the help system and do a search, I get the following error:
    Error 8 occurred at Open File
    Possible reason(s):
    LabVIEW:  File permission error. You do not have the correct permissions for the file.
    =========================
    NI-488:  DMA hardware error detected.
    This is Labview 8.2 running on Linux (Enterprise RHEL4), and I had the same problem with Labview 7.1.  The problem seems to be caused by the permissions on some or all of the following files, which are written to the /tmp directory when the search is performed:
    controls2.htm 
    index2.htm 
    js_buttons.htm 
    search_results.html
    If I do a search, these files are written but not erased (with permissions -rw-r--r--).  If someone else then does a search, they get the Error 8 problem listed above.  If the owner of these files (or root) deletes them, the problem is solved -- until a different user than the owner of those temporary files wants to search the help system.
    My guess is that if I could get Labview to either open up the write permissions on these files or delete them after the help session is complete, the problem would be solved.
    Any advice?  Has anyone else had this problem (you would need a multiple-user linux system to see it)?
    Thanks,
    Tobin

    Hi Tobin-
    The following KnowledgeBase articles provide some valuable insight.  Check them out and reply if they don't help resolve the problem.
    KB 3GFF9FBP: Why do I get "Error 8 Occurred at Open File" When Writing to or Reading From a File?
    KB ...
    And there are lots of discussions about this already.  For other possible causes/solutions, try searching the forums for "file permission error 8".
    Drew Pierce | District Manager, Central Texas | National Instruments

  • Mid 2009 17" MacBook Pro battery shutdown issue when waking from sleep.

    My unibody 17" MacBook Pro occasionally shuts down on waking from sleep when it isn't plugged in.
    When I open the lid to wake it I can hear the hard drive and fans starting to spool, and then the next second it's off and silent. The laptop doesn't mind being turned on again after it does this and might go a week without doing it again, equally it might do it next time I try and wake it from sleep. It does this regardless of battery charge level.
    coconutBattery says the battery still has 86% of its designed capacity, and I haven't noticed anything else untoward regarding battery charging or performance when in use.
    So my question is two fold:
    1) Does it sound like the battery's internal processor is malfunctioning, or could it be something else?
    2) If it is the battery's internal processor, will replacing the battery replace the processor, or are they fitted separately (in defference to the 'internal' part of its name)?
    Cheers,
    James
    nb. just in case it makes any difference, the laptop is a 17" Mid-2009 MacBook Pro, 2.8GHz Core 2 Duo with 4Gb Ram running OSX 10.7.3

    James
    I have had issues when i press the space bar from sleep, sometimes it wakes but others i'm forced to power it on with the power button.
    Is this similar to anything you've experianced?
    Its so inconsistantly these days, but i'm also connected to an external screen.

  • Error while accessing a file located in the server from JSP

              Hi
              I am having problem while accessing the file located in the server from a JSP
              page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              The same code is working if the jsp placd under defaultwebApp directory and not
              working if i create a war and deploy the same.
              I am using weblogic server 7.0 trail version.I am setting the context path also.
              Can any help me in this regard.
              Thank And Regards
              Anand Mohan
              

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

Maybe you are looking for

  • HP LaserJet 1536dnf MFP will not copy or scan but does print

    My HP LaserJet 1536dnf MFP will not copy or scan but does print.  It does not matter if I use the ADF or the glass.  When copying or scanning I get a completey black page.  The light bar does move from one end of the printer glass to the other.  Ther

  • Create hierarchy based on multiple characteristics

    Hello, I am working on a very non-standard income statement report in BI and am trying to come up with a good way to maintain it.  Each line item in the income statement is based on different characteristics.  For instance, the first line item might

  • License questions regarding CUCM/CUC upgrade from 9.1.2 to 10.5.2

    Hi All, I am set to upgrade CUCM/CUC cluster and have read the upgrade guides multiple times, just need some input from folks who've actuall done and survived the ordeal. I have already installed a stand-alone PLM 10.5 and just need an idea what to e

  • Not In Process

    Hi, am in 4.6B version, created a copy of std.WFfor Invoice verification for blockedprice event (BUS2081). Event is triggering on blocking an invoice, but when I trace SWEL, I found the process stopped at a task (where workitem is created) with follo

  • Is it possible to add a caption on each photo of my album ? Thank u

    Hello, Is it possible to add a caption on each photo of my album Iphoto ? Thank you for your help.