Problem concerning the -U flag

There is a problem concerning the -U Fortran compiler flag in SS12. I use the -U flag in all my projects because, using that flag, capitalization matters (so that, e.g., the compiler treats "foo" and "Foo" as different variables). However, in some projects, although the compiler builds the project correctly, when I try to execute the resulting executable from within SS2, I get the following error message:
make[2]: m2c: Command not found
make[2]: *** [project name] Error 127
make[2]: Leaving directory `[working directory]'
*** Error code 2
..................Note that I can execute it directly (from a terminal window) without any problem. I just cannot execute it by pressing <F6> in SS2. The strange thing is that it does not happen to all my projects, although all of them are based on similar Makefiles. Note also that when I remove the -U flag and rebuild, all projects can be executed from within SS2.

With my own Fortran Makefiles (on any platform), I use '.SUFFIXES:' rules to get rid of
any built-in .mod rules for Modula. You have to put a blank .SUFFIXES to flush the
built-in rules, then add your actual suffixes.In fact, a single blank .SUFFIXES solves the problem. Thank you very much for the hint.
However, I still cannot understand why this .SUFFIXES blank line is necessary in some projects while it is not in other (similar) projects.
By default Sun Studio IDE uses GNU make on Linux only. On Solaris
it is using "dmake". Which platform do you use, Linux or Solaris?I use Linux (Debian 4 x64 version).

Similar Messages

  • Problems wit the bpel engine

    Hi!
    I have two problems concerning the bpel engine
    1. After I'va successfully installed esb, I can see the bpel engine in the components section in the esb administrator console, but it is not installed.
    When I try to install it manually, I get the following error:
    Main Message:(FAILURE) The Component com.sun.bpelse-1.0-2 could not be installed. Instance Messages: Instance : domain1@stgn0023 Message:(FAILURE) Installation of Engine com.sun.bpelse-1.0-2 failed. The bootstrap init() method threw a java.lang.UnsupportedClassVersionError exception. The exception message is: com/sun/jbi/configuration/ConfigPersistence (Unsupported major.minor version 49.0) The bootstrap cleanUp() method threw a javax.jbi.JBIException exception. The exception message is: caught exception while creating Installatoin Configuration MBean, failed to init bpelse component
    What's wrong here? What do I have to do?
    2. This concerns the examples for the bpel engine: How do I build the service assembly as suggested in the description for running the sample?
    Thanks for your help
    Bye

    What version of the JVM are you using? You need JDK 1.5 to run the BPEL engine; it sounds like you are using JDK/JRE 1.4

  • Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the pag

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

    Hi, I'm having problems with viewing a web page created with Adobe Muse CC latest release, I followed the various guides provided by Adobe, but the problem persists. The problem especially concerns the distorted display (the contents do not fit on the page, so it suits size automatically) to a mobile web page to be displayed not on a normal browser, but in a WebView.

  • Lync 2013 I have a strange problem concerning group call pickup in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having about 5-7 second Anybody out there having similar problems with call pickup Groups?

    HI
    I have a strange problem concerning  group call pickup  in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having  about 5-7 second
    Anybody out there having similar problems with call pickup Groups?

    Hi,
    Did you meet any other call delay when you using Lync?
    As the issue happen for Lync desktop client, it can be performance issue. Please check if there is any error message from FE Server when the issue happen.
    Also please check if you have updated Lync Server to the latest version, if not, update it and then test again.
    Best Regards,
    Eason Huang  
    Eason Huang
    TechNet Community Support

  • I got my iphone 5 3 weeks ago and the battery life is very short. It drains out very fast. Does anyone know if it's a problem with the iOS or with my phone? Because I'm a bit concerned

    I recieved my iPhone 5 3 weeks ago and the battery life completely *****! After doing a few things and maybe using it for about 30 minutes the phone start overheating like crazy then the battery starts dropping very fast. Does anyone know if it's a problem with the iOS or with my phone? And is anyone else expierenceing these problems?

    It sounds like you have an app that is incorrectly continuously using data and power... from normal use the phone should NOT be getting that warm... only constant video playing via data like Netflix for example would result in that...
    I'd say that you should remove all apps in the recent app tray... tunr phone off... then once you power back on...
    Hold BOTH home and sleep wake buttons together until you see a white apple symbol... then release both buttons...
    This will ensure you have no apps running...
    I've experienced a hang up with mail while out and about that has resulted in this on my iPhone as well... Once I performed these steps it was fixed... it seemed like it got stuck and that's what caused the warm phone and battery drain...
    I notived that when it gets stuck (mail app that is) I will see the text connecting at the bottom and it never changes to "updated" like it should... this is my trigger that it's gotten stuck.
    Have not really figured out what causes mail app to get stuck yet...

  • Having Problems With The Neo2 ? Read This!!!!

    Hi,
    i just bought a neo2 motherboard, with a p4 2,6 HT and 512 mb Kingston hyper ram ( 2 peaces of 256, else it won't use the dual bandwith :D)
    In the beginning everything seemed fine, until i got some sudden reboots and other vague stuff. I read it could be the SB audigy messing things up. I removed the card and windows Xp pro runs fine now. no more sudden reboots or explorer not resonding crashes.
    But, i still had problems with games crashing. I got reboots. After i set the "automatic reboot after crash" to false, i got blue screens or lock-ups in my games.
    I wondered what it could be. Then i started to put my videocard ( a radeon 9700 pro 128 mb) in agp 4x mode instead of agp 8x! Now my games run without crashes, but benchmarks are not that high. 4780 marks with 3dmark 2003.
    I think i will send msi and Ati a mail concerning this problem. I don't know if it is PSU related. Maybe the videocard demands a little more power in agp 8x mode.
    Well, having probs with you're NEO2 ??
    remove the sb Audigy and turn the agp back to 4 using smartgart ( it's located in you're display settings screen ).
    First i tought it was a PSU related problem, because i swapped my 350 Watt enermax with a Q-tec 400 watt psu. The 400 watt PSU died while i was gaming. Maybe the enermax is the better PSU :D So, it could still be a PSU related problem. Maybe the agp 8x settings demands a lot more from you're psu. Anyway, i'll receive a 550 watt Antec PSU soon, so i can check this out....
    Btw. I cant run the motherboard in anything better than "slow" mode. In all other modes Xp won't boot. I haven't tryed it since the AGP is at 4X, but i don't think it will matter.
    Regards,
    Welcome to the real world NEO :D

    Ok.....
    i raised the memory voltage setting in the bios from 2.65 to 2.8 and the agp voltage from 1.5 to 1.7
    Everything seems fine, but games crash back to the desktop now without an error message or the either lockup.
    Whatever i do, i can't make the mobo crash in anything but games!
    Btw. the following message caught my attention, when i ran f1 2002 with directx 8.1. Since i have directx 9, i haven't seen it anymore. Maybe because the ati-drivers are made for directx 9....
    // Watchdog Event Log File
    LogType: Watchdog
    Created: 2003-10-04 02:02:53
    TimeZone: -60 - West-Europa (standaardtijd)
    WindowsVersion: XP
    EventType: 0xEA - Thread Stuck in Device Driver
    // The driver for the display device got stuck in an infinite loop. This
    // usually indicates a problem with the device itself or with the device
    // driver programming the hardware incorrectly. Please check with your
    // display device vendor for any driver updates.
    ShutdownCount: 9
    Shutdown: 0
    EaRecovery: 1
    EventCount: 2
    BreakCount: 2
    BugcheckTriggered: 1
    DebuggerNotPresent: 1
    DriverName: ati2dvag
    EventFlag: 1
    DeviceClass: Display
    DeviceDescription: RADEON 9700 PRO
    HardwareID: PCI\VEN_1002&DEV_4E44&SUBSYS_00021002&REV_00
    Manufacturer: ATI Technologies Inc.
    DriverFixedFileInfo: FEEF04BD 00010000 0006000E 000A18EA 0006000E 000A18EA 0000003F 00000008 00040004 00000003 00000004 00000000 00000000
    DriverCompanyName: ATI Technologies Inc.
    DriverFileDescription: ATI Radeon WindowsNT Display Driver
    DriverFileVersion: 6.14.10.6378
    DriverInternalName: ati2dvag.dll
    DriverLegalCopyright: Copyright (C) 1998-2002 ATI Technologies Inc.
    DriverOriginalFilename: ati2dvag.dll
    DriverProductName: ATI Radeon Family
    DriverProductVersion: 5.2.3790.2
    I wish i had another videocard to test. My radeon 9700 pro is getting suspicious...
    Regards,
    The real world

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • I am having ongoing connection problems with the Clash of Clans app which means that I lose battles, resources or boost times. This results in a loss of gems which I have purchased but will not be refunded as they will not accept responsibility.

    Whilst playing Clash of Clans I will continually lose the internet connection. This means that I lose battles, resources, gold etc and lose boost times. I have informed Supercell who blame my internet connection even though the iPhone, laptop and TV all work fine so it is obviously a technical problem with their game and probably something to do with their last updates.
    As I have purchased gems I feel that I should be compensated for my loss but they will not accept responsibility nor investigate the technical issue. The loss of connection occurs constantly with the game often freezing during replays or searching for battles. This is obviously not a connection issue.
    What suggestions do you have to resolve this situation?

    Hi.
    Thanks for the reply. I asked because I also wanted to see if others had encountered the same problem.
    I have no problems with my internet connection as I run my TV, laptop and iPhone off the same connection with no problems. I believe that since the recent updates to the game this has caused the problem. The game often freezes, cancels out or returns me to the main game screen during battles or replays.
    What I want to know is how do I get the game designers or owners to acknowledge my problem as at this time they keep telling me it is my internet that is a problem and not their game. How do they know this when they refuse to investigate. What can I do and who do I go to for support if they won't accept responsibility?
    I am very grateful to you for replying but concerned that if this can happen to me then how many other gamers are losing out and paying for something that they are not going to receive.
    Many thanks.

  • Problems with the Proxy Programme--Please help

    Hi All,
    I have written a simple proxy server in the form of a servlet. I changed the proxy config of my browser to connect to this servlet hosted on the default context(http://localhost:8080) of the Tomcat 5.0.25 . Well , this servlet internally connects to the proxy of the corporate LAN . The logic that I have applied is as follows. The servlet gets the request from the client (ie the browser in this case) , extracts the headers and contents from the request, sets them to a new request that it forms and finally send this new request to the proxy. When the proxy responds, the servlet collects the response headers and contents adn writes them in its response. To sum up , this servlet transparently carries the requests and responses between the client(browser) and the corporate LAN proxy. Now the problem is this. Let's say , now I am accessing http://www.google.com.The browser sends a request to my servlet with the following headers as they are extracted by my servlet.
    ProxyServer:::>posting request
    ProxyServer:::>headerValue::> headerName = accept : headerValue=*/*
    ProxyServer:::>headerValue::> headerName = referer : headerValue=http://www.google.com/
    ProxyServer:::>headerValue::> headerName = accept-language : headerValue=en-us
    ProxyServer:::>headerValue::> headerName = proxy-connection : headerValue=Keep-Alive
    ProxyServer:::>headerValue::> headerName = user-agent : headerValue=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; UB1.4_IE6.0_SP1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
    ProxyServer:::>headerValue::> headerName = host : headerValue=www.google.com
    ProxyServer:::>headerValue::> headerName = cookie : headerValue=PREF=ID=1be27c0a74f198ca:TM=1082058853:LM=1082058853:S=bu6ORrygzm8AUkm8
    ProxyServer:::>postRequest
    I set these headers into a new connection opened to the proxy and post a fresh request to the proxy,which, in turn responds with the following headers.
    ProxyServer:::>posted request successfully
    ProxyServer:::>writing response
    ProxyServer:::>writeResponse-->headerName = Proxy-Connection : headerValue = [close]
    ProxyServer:::>writeResponse-->headerName = Content-Length : headerValue = [257]
    ProxyServer:::>writeResponse-->headerName = Date : headerValue = [Tue, 13 Jul 2004 14:01:40 GMT]
    ProxyServer:::>writeResponse-->headerName = Content-Type : headerValue = [text/html]
    ProxyServer:::>writeResponse-->headerName = Server : headerValue = [NetCache appliance (NetApp/5.5R2)]
    ProxyServer:::>writeResponse-->headerName = Proxy-Authenticate : headerValue = [Basic realm="Charlotte - napxyclt2"]
    ProxyServer:::>writeResponse-->headerName = null : headerValue = [HTTP/1.1 407 Proxy Authentication Required]
    ProxyServer:::>writeResponse exiting
    ProxyServer:::>wrote response successfully
    I write these headers back to the client. According to what I was thinking, the client ie the browser would open a new dialog box asking for username/password owing to the presence of the "Proxy-Authenticate " header. But it does not happen that way. Rather the browser stops responsding and displays a blank page. Does anyone know why it happens this way? I am pasting the server prog below for everybody's reference.
    package server.proxy;
    //import all servlet related classes
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import server.resources.*;
    //My Proxy server --->Currently it is very simplea and relies on
    //other proxy servers of an already connected network.
    public class ProxyServer extends HttpServlet
    //stores the resource bundle
    private ServerResBundle resBundle = null;
    //checks for the mode of operation
    private boolean proxySet = false;
    private String proxy = null;
    //storing the original System out/err etc
    private PrintStream sysOutOrig = null;
    private PrintStream sysErrOrig = null;
    private InputStream sysInOrig = null;
    //initialise certain features that are required later
    public void init() throws ServletException
    try
    //initialise the resource bundle
    this.initResBundle();
    System.out.println("ProxyServer:::>res bundle init");
    //set the mode of operation
    this.setMode();
    System.out.println("ProxyServer:::>mode set");
    //set the system out and err --System.setOut etc
    this.setSystemOutErr();
    System.out.println("ProxyServer:::>in/out/err set");
    }//End try
    catch(Exception e)
    System.out.println("Exception in init..."+(e.getMessage()));
    throw new ServletException(e);
    }//Edn
    catch(Throwable e)
    System.out.println("Irrecoverable Error...");
    throw new ServletException(e);
    }//End
    }//End init
    //method to init the resource bundle;
    private void initResBundle()
    this.resBundle = ServerResBundle.getBundle();
    }//End
    //method to set the mode of the server--proxy or direct
    private void setMode()
    //read the target proxy property from the bundle and
    //if it is set,take that URL
    String temp = (String)(this.resBundle.getResource(ResKeys.PROXY_SERVER));
    if ( (temp != null) && (temp.length() > 0) )
    this.proxySet = true;
    this.proxy = temp;
    temp = null;
    }//End
    }//End
    //method to set the system out and err etc
    private void setSystemOutErr() throws Exception
    //keep a copy of the original system out and error
    this.sysOutOrig = System.out;
    this.sysErrOrig = System.err;
    try
    //read the options adn if they are set, take the values directly
    String newOutStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_OUT));
    String newErrStr = (String)(this.resBundle.getResource(ResKeys.SYSTEM_ERR));
    if ((newOutStr != null) && (newOutStr.length() > 0))
    System.setOut(new PrintStream(new FileOutputStream(new File(newOutStr),true),true));
    }//End if
    if ((newErrStr != null) && (newErrStr.length() > 0))
    System.setErr(new PrintStream(new FileOutputStream(new File(newErrStr),true),true));
    }//End if
    }//End
    catch(Exception e)
    //restore the stuff
    System.setOut(this.sysOutOrig);
    System.setErr(this.sysErrOrig);
    }//End
    }//End
    //this is where the proxy functionalities will be embedded
    public void service(HttpServletRequest req,HttpServletResponse resp)
    throws ServletException,java.io.IOException
    //conenction URL
    URL target = null;
    //conenction to the remote object
    URLConnection targetConn = null;
    //stores the OOS and the OIS
    ObjectOutputStream oos = null;
    ObjectInputStream ois = null;
    try
    //check for the mode of operation
    if (proxySet)
    URLConnection objects go through two phases: first they are created, then they are connected.
    After being created, and before being connected, various options can be specified
    (e.g., doInput and UseCaches). After connecting, it is an error to try to set them.
    Operations that depend on being connected, like getContentLength, will implicitly perform the connection,
    if necessary.
    //for the URL to the proxy
    target=new URL(this.proxy);
    //conenct to the proxy
    targetConn = target.openConnection();
    //set the details of the connectuon
    targetConn.setDoInput(true);
    targetConn.setDoOutput(true);
    targetConn.setUseCaches(false);
    // If true, this URL is being examined in a context in which it makes sense to allow user interactions such as popping up an authentication dialog. If false, then no user interaction is allowed
    targetConn.setAllowUserInteraction(true);
    //connect to the remote object
    // targetConn.connect();//call this only when all the request properties are set
    System.out.println("ProxyServer:::>posting request");
    //post the received request to the URL
    this.postRequest(targetConn,req);
    System.out.println("ProxyServer:::>posted request successfully");
    System.out.println("ProxyServer:::>writing response");
    //receive the response
    //write the received response to the client
    this.writeResponse(targetConn,resp);
    System.out.println("ProxyServer:::>wrote response successfully");
    }//End if
    else
    //currently this functionality is not supported
    throw new ServletException(
    (String)(this.resBundle.getResource(ResKeys.ERR_FUNC_NOTSUPPORTED)));
    }//End
    }//End try
    catch(Exception e)
    if(e instanceof ServletException)
    throw (ServletException)e;
    }//End
    if (e instanceof IOException)
    throw (IOException)e;
    }//End
    //wrap it up in ServletException
    throw new ServletException(e);
    }//End
    }//End
    //method to write the response back to the client
    private void writeResponse(URLConnection targetConn,HttpServletResponse resp)
    throws ServletException
    //get all the header fields from the response connection and set them to the
    //response of the servlet
    Map headerFields = null;
    Iterator headerFieldEntries = null;
    Map.Entry header = null;
    //stores the input stream to the conn
    BufferedReader brConn = null;
    //stores the writer to the response
    PrintWriter prResp = null;
    //checks if the proxy authentication needed or not
    boolean proxyAuthReqd = false;
    try
    //juste ensuring that the proxy authentication is reset
    proxyAuthReqd = false;
    if( (targetConn != null) && (resp != null) )
    //Returns an unmodifiable Map of the header fields.
    //The Map keys are Strings that represent the response-header field names.
    //Each Map value is an unmodifiable List of Strings that represents the corresponding
    //field values
    headerFields = targetConn.getHeaderFields();
    //Returns a set view of the mappings contained in this map
    Set temp = headerFields.entrySet();
    //Returns an iterator over the elements in this set
    headerFieldEntries = temp.iterator();
    if (headerFieldEntries != null)
    while (headerFieldEntries.hasNext())
    Object tempHeader = headerFieldEntries.next();
    if (tempHeader instanceof Map.Entry)
    header = (Map.Entry)tempHeader;
    Object headerName = header.getKey();
    Object headerValue=header.getValue();
    System.out.println("ProxyServer:::>writeResponse-->headerName = "+headerName+" : headerValue = "+headerValue);
    //do not select the key-value pair if both the key adn the value are null
    if ( ( headerName == null) && (headerValue == null) )
    continue;
    }//Enmd
    if (headerValue != null)
    List headerValList = null;
    if (headerValue instanceof List)
    headerValList = (List)headerValue;
    }//End
    if(headerValList != null)
    for (int i=0;i<headerValList.size();i++)
    Object headerValueStr = headerValList.get(i);
    if (headerValueStr instanceof String)
    //note that the header-key can not be null for addHeader
    //I have made this temporary provision to make the programme work.
    resp.addHeader(( (headerName==null)? ("null_header"+i) :(String)headerName),
    (String)headerValueStr);
    //check if the proxy authentication required or not
    if (((String)headerValueStr).
    indexOf(resp.SC_PROXY_AUTHENTICATION_REQUIRED+"") != -1)
    System.out.println("ProxyServer:::>writeResponse-->proxy auth needed");
    //proxy authentication is needed
    proxyAuthReqd = true;
    }//End
    }//Ednd of
    else if (headerValueStr == null)
    resp.addHeader(( (headerName==null)? null :(String)headerName),
    null);
    }//End
    }//End for
    }//End if
    }//End if
    }//End
    }//End while
    }//End if
    //get the writer to the client
    prResp = resp.getWriter();
    System.out.println("ProxyServer:::>writeResponse-->proxyAuthReqd="+proxyAuthReqd);
    //juste test a simple header
    System.out.println("Proxy-Authenticate = "+(resp.containsHeader("Proxy-Authenticate")));
    //if the proxy asks you for authentication,pass on the same to the client
    //from whom you have received the request.When this flag is true,the connection
    //is closed by the remotehost adn hence any attempt to open in input steram
    //results in an error ie IOException
    if (!proxyAuthReqd)
    //now get the content adn write it to the response too
    brConn = new BufferedReader(new InputStreamReader(
    targetConn.getInputStream()));
    String tempStr = null;
    while ((tempStr = brConn.readLine())!=null)
    prResp.println(tempStr);
    }//End while
    //close the connections
    brConn.close();
    }//End if
    else
    prResp.println("Proxy Authentication needed...");
    }//End
    //close the streams
    prResp.flush();
    prResp.close();
    }//End if
    System.out.println("ProxyServer:::>writeResponse exiting\n");
    }//End try
    catch(Exception e)
    throw new ServletException(e);
    }//End
    }//End
    //method to post request to the internet
    private void postRequest(URLConnection targetConn,HttpServletRequest req)
    throws ServletException
    //extract the header parameters and the body content from the incoming request
    //and set them to the new connection
    Enumeration reqHeaders = null;
    //reads the incoming request's content
    BufferedReader brReqRd = null;
    PrintWriter prResWt = null;
    //stores temp header names and values
    String headerName = null;
    String headerValue = null;
    try
    if( (targetConn != null) && (req != null) )
    reqHeaders = req.getHeaderNames();
    //extract a header adn set it to the new connection
    while (reqHeaders.hasMoreElements())
    headerName = (String)(reqHeaders.nextElement());
    headerValue = req.getHeader(headerName);
    targetConn.setRequestProperty(headerName,headerValue);
    System.out.println("ProxyServer:::>headerValue::> headerName = "+headerName+" : headerValue="+headerValue);
    }//End
    System.out.println("ProxyServer:::>postRequest\n");
    //establis the actual connection
    //calling this method bfore the above loop results in IllegalStateException
    targetConn.connect();
    //NOTE : try reading from and writing into OIS and OOS respectively
    //now read the contents and write them to the connection
    // brReqRd = req.getReader(); //this hangs for some reason
    brReqRd = new BufferedReader(new InputStreamReader(req.getInputStream()));
    System.out.println("Got the reader..brReqRd = "+brReqRd);
    if (brReqRd != null)
    String temp = null;
    //establish the printwriter
    // prResWt = new PrintWriter(targetConn.getOutputStream(),true);
    prResWt = new PrintWriter(targetConn.getOutputStream());
    System.out.println("trying to read in a loop from brReqRd.. ready="+(brReqRd.ready()));
    while( (brReqRd.ready()) && ((temp=brReqRd.readLine()) != null) )
    System.out.println("In while::>temp = "+temp);
    prResWt.println(temp);
    }//Emd while
    //close the streams adn go back
    brReqRd.close();
    prResWt.flush();
    prResWt.close();
    }//End
    }//End outer if
    System.out.println("ProxyServer:::>postRequest exiting\n");
    }//End try
    catch(Exception e)
    throw new ServletException(e);
    }//End
    }//End
    }//End

    Hi serlank ,
    Thanks for your reply. Well , I initially I thought of not pasting the code,as it was too long. But I could not help it,as I thought I must show in code what I exactly meant. That's why I followed a description of my problem with the code. You could probably have copied the code and pasted it in one of your favourite editors to take a look at it. Did you,by any chance, try to read it on the browser? And as regards reposting the same message, I can say that I did it as I felt the subject was not quite appropriate in the first posting and I was not sure as to how I could delete/alter the posting. I am not asking for a code-fix,but some suggestions from some one who might ever have come across such a thing.Anyway, lemme know if you have any idea on it. Thanks...

  • Good day, I have installed Acrobat DC, and would like to combine 2 files. One is excel allready converted to PDF - No problem. The other one is from Pastel mailed as PDF.

    Good day,
    I have installed Acrobat DC, and would like to combine 2 files. One is excel allready converted to PDF - No problem. The other one is from Pastel mailed as PDF.
    When trying to merge the files, this file ask for a Password. No password was issued from the setup or mail?

    Good day abrieb93050306,
    I can understand your concern, however can you please let me know that are you able to open both the PDF files ( the one you converted form excel to pdf & the other pdf that was mailed to you ) individually without using any password?
    As it asks for the password, it means that the postal mailed PDF is password protected. You can ask for the password from the sender of the postal mail & then try to combine the files.
    Please follow the steps in the provided KB doc.to combine the files : Combine files into single PDF | Adobe Acrobat DC tutorials
    This will probably resolve your issue.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • Is anyone else having problems with the Canon Online Store?

    In the last month or so, I've had one problem after another with the Canon Online Store; from being unable to delete items from the shopping cart; to not being able to add "in stock" items; disappearing Wish Lists; and just now, I tried to add one lens cap to the 6 or 7 items I already had in the Shopping Cart, and they disappeared.
    I've called, more than once, and I've written, also more than once, to Canon Support about this, but they ignore what I tell them, and tell me there are no problems with the Online Store.  They don't even seem to report to anyone that anyone has complained, because each time is "the first time", even though I've called (more than once) and written (more than once) to them about continuing Online Stores problems.
    Is anyone else having problems with the Canon Online Store?
    Why does Canon not care to track reported problems with the storefront part of their web-site? 
    I'm not trying to insult Canon, it's just that I've been a Canon customer for less than 3 months, and the're only batting .333, so far.  Canon Support was very quick to respond about a concern I had that a 50mm f/1.4 I had just purchased was authentic or not.  In trying to register that lens, I looked up on the Canon web site where to find the serial number.  Since my new lens did not have any numbers there, I was concerned I had been sold a fake.  But, then Canon Support sent me link to a different online document that showed a few different places where it might be, and there it was. 
    Is Canon like that with other problems, as well?  Or is their "batting" average better than my very limited experience? 
    I just love my Rebel T5i, and my Canon lenses (from "the Kit brothers of the Cropped Frame coral":  EF-S 18-55mm f/3.5-5.6 IS STM, and EF-S 70-300mm f/4-5.6 IS USM; to the "Truly Nifty Fifty", the 50mm f/1.4 USM, [the f/1.8 is just a "thrifty fifty"], and finally, the "Super-Macro" MP-E 65mm f/2.8 1x-5x Macro)! 
    Regards and Thanks,
    Calen
    As an old friend used to always say,
    "Keep Looking Up!"
    Calen

    Hi Danny.  Thanks for replying.
    I only use my desktop PC to access Canon's web site, and I've been using Mozilla Firefox for years.  And, yes, it is the latest version.  Since Canon REFUSES to support the use of Firefox on it's web site, WHAT BROWSER DOES CANON SUPPORT?  WHEN did Canon STOP SUPPORTING Firefox?
    I've been told that there are 2 pending orders in my account.  Yet, I NEVER placed those orders!  WHY CAN'T CANON SEE THAT THIS IS A PROBLEM??? 
    Instead of off-target suggestions, and pasted boilerplate REFUSALS TO EVEN LOOK at this issue, I would prefer it if Canon went "old school", and FIXED THE PROBLEM, in the first place!  But, maybe that's a bit too grown up of an answer for you! 
    "Award-winning" support???   And, just exactly WHAT AWARD did Canon "support" WIN for CONSISTANTLY IGNORING REPORTED PROBLEMS???  The OSTRICH?
    Please pull your head out, and FIX this problem, OR YOU ARE THE PROBLEM!!!
    Thank you for your "prompt" attention to this matter!
    Calen
    As an old friend used to always say,
    "Keep Looking Up!"
    Calen

  • I have a new hard drive and itunes and my computer (windows XP) no longer recognise my ipod. I also had the problem with the registry keys not being present but this has now been fixed. However i can no longer link my ipod up with itunes.

    When I first tried itunes with my new hard drive there was the problem with the registry keys but something also flagged up about needing a signed driver. Is this anything to do with why Itunes and my computer no longer recognises when my ipod is linked up? Whatever i try under 'devices' my ipod is never available to sync up. If anyone can help I would be most grateful.

    Thanks for your reply. Unfortunately this has not worked. I didn't have quicktime to begin with so I don't know if that makes a difference? After following the instructions, I get the "registry keys missing" problem appear again (which I've subsequently fixed again) and then when I connected the ipod I got the following message - 'Device driver software was not successfully installed'.
    I've tried windows update but this doesn't do anything as '...the service is not running'.
    Any suggestions?

  • Problem using the Send to motion item in FCP 5

    Everytime I send a clip from my timeline in FCP to Motion 2 the clip's aspect ratio gets changed. I am using the Apple Intermediate Codec HDV 1080|60. My preset in Motion is to HDV 1080|60.
    It appears that the clip is being stretched along the horizontal axis (it is wider when brought into Motion this way).
    Help!!
    Thanks in advance
    G5 Quad   Mac OS X (10.4.7)   2 GB RAM, Apple 30" Display

    I am having the same kind of problem as I export fro fcp to motion and then back, it looses the anamorphic flag and I reset it, however, even after doing that my clip does not correct itself. I also tried exporting the clip to quicktime movie and importing it to fcp, but even then it does not maintain the aspect ratio of my project. Could there be an underlying bug under the hood, or is there a sequence of steps to properly do this?
    Thanks
    QuadG5   Mac OS X (10.4.7)  

  • Conflict with 4.6 & 4.7 - what are the corresponding flag s.

    My z_xxxxxxx program is using the flags declared in the std. program RSSTATPD ...
    However the program RSSTATPD in 4.6 c contains stapar internal table which is declared with individual fields
    where as in 4.7 E, the code of stapar internal table is commented & the stapar internal table declared using SAPWLPARAM structure.
    so
    In 4.6C in our  z_xxxxxxx program, we coded as
    STAPAR-ACCOUNTLEVEL   = ' '.
    STAPAR-COLLECTIVEFLAG = 'X'.  and is working correctly ...:-)
    Where as we need same functionality  in 4.7 E also.
    THE PROBLEM is
    What are the corresponding flags for
    STAPAR-ACCOUNTLEVEL  & STAPAR-COLLECTIVEFLAG  in 4.7E ? ( did we chosen/coded correctly )
    In 4.7 Have coded in  z_xxxxxxx program  like below
    <b>   STAPAR-ACCOUNTlvl   = ' '.           "4.7 change 
       STAPAR-COLLECTfLG = 'X'.             "4.7 change </b>
    STAPAR-ACCOUNTlvl  &  STAPAR-COLLECTfLG are the correspoding flags, which are existing in SAPWLPARAM structure ???
    Could any one say me ?
    we assumed
    STAPAR-ACCOUNTlvl  &  STAPAR-COLLECTfLG
    are the corresponding flags of STAPAR-ACCOUNTLEVEL  & STAPAR-COLLECTIVEFLAG
    and coded in z_xxxxxxx program of 4.7 as.
       STAPAR-ACCOUNTlvl   = ' '.           "4.7 change 
       STAPAR-COLLECTfLG = 'X'.             "4.7 change 
    However program is not working in 4.7 as it was working in 4.6C.
    Is the  problem with flags STAPAR-ACCOUNTlvl  &  STAPAR-COLLECTfLG ?
    or some thing else we need to do ?

    What are the corresponding flags for
    STAPAR-ACCOUNTLEVEL & STAPAR-COLLECTIVEFLAG of 4.6 in 4.7E ?

  • Problem in the package or classpath

    Hello every body
    I want to add a module at "jhove" which is open source: http://hul.harvard.edu/jhove/index.html
    When I launch jhove like this: ./jhove -k file.pdf, it shows me more informations about this pdf.
    I want that it re-knows me anathor type of file.(warc format)
    Then I have to write a new module.
    I try to do it following the link: http://hul.harvard.edu/jhove/writingamodule.html
    I added my java code in :/home/jhove/classes/edu/harvard/hul/ois/jhove/module/Project/
    The compilation works well.
    I add : EXTRA_JARS=/jhove/classes/edu/harvard/hul/ois/jhove/module/Project/WarcModule.jar
    At the file: jhove.tmpl
    I also add this code at jhove.conf like they montionned in document:
    <module>
    <class>WarcModule</class>
    </module>
    I also try with this solution:
    <module>
    <class>edu.harvard.hul.ois.jhove.module.Project.MonModule</class>
    </module>
    But I have this error:
    edu.harvard.hul.ois.jhove.JhoveException: cannot instantiate module: WarcModule
    at edu.harvard.hul.ois.jhove.JhoveBase.init(Unknown Source)
    at Jhove.main(Unknown Source)
    I think that is problem in the classpath.
    There is my code:
    package edu.harvard.hul.ois.jhove.module.Project;
    import java.io.File; 
    import java.util.*;
    import java.io.*;
    import edu.harvard.hul.ois.jhove.*;
    import edu.harvard.hul.ois.jhove.ModuleBase;
    import edu.harvard.hul.ois.jhove.RepInfo;
    import org.archive.io.warc.*;
    public class MonModule extends ModuleBase
             private static final String NAME = "Warc-hul";
             private static final String RELEASE = "1.7";
             private static final int [] DATE = {2008, 9, 23};
             private static final String [] FORMAT = { "warc"};
             private static final String COVERAGE =
                 "PDF 1.0-1.6; PDF/X-1 (ISO 15930-1:2001), X-1a (ISO 15930-4:2003), " +
              "X-2 (ISO 15930-5:2003), and X-3 (ISO 15930-6:2003); Tagged PDF; " +
              "Linearized PDF; PDF/A (ISO/CD 19005-1)";
             private static final String [] MIMETYPE = {"application/warc"};
             private static final String WELLFORMED = "A PDF file is " +
                 "well-formed if it meets the criteria defined in Chapter " +
                 "3 of the PDF Reference 1.6 (5th edition, 2004)";
             private static final String VALIDITY = null;
             private static final String REPINFO = null;
             private static final String NOTE = "This module does *not* validate " +
              "data within content streams (including operators) or encrypted data";
             private static final String RIGHTS = "Copyright 2003-2007 by JSTOR and " +
              "the President and Fellows of Harvard College. " +
              "Released under the GNU Lesser General Public License.";
             private static final String ENCRYPTED = "<May be encrypted>";
    protected MonModule(String NAME, String RELEASE, int[] DATE, String[] FORMAT, String COVERAGE, String[] MIMETYPE, String WELLFORMED, String VALIDITY, String REPINFO, String NOTE, String RIGHTS, boolean x)
             super  (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED,VALIDITY, REPINFO, NOTE, RIGHTS, true);
    * PRIVATE INSTANCE FIELDS.
    /* First 6 bytes of file */
    protected byte _sig[];
    /* Checksummer object */
    protected Checksummer _ckSummer;
    /* XMP property */
    protected Property _xmpProp;
    /* Input stream wrapper which handles checksums */
    protected ChecksumInputStream _cstream;
    /* Data input stream wrapped around _cstream */
    protected DataInputStream _dstream;
    /* Flag for presence of global color table */
    protected boolean _globalColorTableFlag;
    /* Size of global color table */
    protected int _globalColorTableSize;
    /* Count of graphic control extensions preceding
    * something to modify */
    protected int _gceCounter;
    /* Top-level metadata property */
    protected Property _metadata;
    /* Blocks list property */
    protected List _blocksList;
    /* Total count of graphic and plain text extension blocks */
    protected int _numGraphicBlocks;
    public void checkSignatures (File file,  InputStream stream, RepInfo info)
    throws IOException
    int sigBytes[] = { 'W', 'A', 'R', 'C'};
    int i;
    int ch;
    try {
        _dstream = null;
        _dstream = getBufferedDataStream (stream, _je != null ?
                    _je.getBufferSize () : 0);
        for (i = 0; i < 4; i++) {
            ch = readUnsignedByte(_dstream, this);
            if (ch != sigBytes) {
    info.setWellFormed (false);
    return;
    info.setModule (this);
    info.setFormat (_format[0]);
    info.setMimeType (_mimeType[0]);
    info.setSigMatch(_name);
    catch (Exception e) {
    // Reading a very short file may take us here.
    info.setWellFormed (false);
    return;
    Please can any one help me.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Daniel, not sure if everything is clear now, but the way you are validating a WARC file is seriously flawed! I strongly suggest you use an existing WARC tool to do the actual parsing/validating.
    I've seen more and more people on JHove's mailing list posting problems on how to create their own modules, so I decided to write a small how-to-write-your-own-module-guide.
    Perhaps you'd like to give it a shot. I'll also post it on the mailing list.
    ================================================================================
    This is a step-by-step tutorial that will enable you to compile and run a
    custom made module for Harvard's idetification tool JHove [1]. This is not
    a tutorial on Java programming! For a thorough explanation of this tool and
    extensive documentation, please see:
    [http://hul.harvard.edu/jhove/documentation.html]
    ================================================================================
    = Setp 1 =
    Download and unzip JHove 1.1f [2]. The unzipped folder will be called
    JHOVE_HOME from now on.
    ================================================================================
    = Step 2 =
    In this example I will construct a very elementary ARC module and will be using
    Heritrix' [3] ARCUtils class, so download Heritrix 1.14 [4] and unzip it. After
    unzipping, locate the file 'heritrix-1.14.1.jar' (it might be a different
    version) and place it in the directory 'JHOVE_HOME/bin'.
    ================================================================================
    = Step 3 =
    Create a folder 'JHOVE_HOME/bin/test' and create a new file in it called
    'ArcModule.java'. Paste the following contents in that file:
    package test;
    import java.io.IOException;
    import java.io.InputStream;
    import edu.harvard.hul.ois.jhove.ModuleBase;
    import edu.harvard.hul.ois.jhove.RepInfo;
    import org.archive.io.arc.ARCUtils;
    public class ArcModule extends ModuleBase {
        private static final String NAME = "ARC-hul";
        private static final String RELEASE = "0.1";
        private static final int[] DATE = {2008, 11, 11};
        private static final String[] FORMAT = {"ARC"};
        private static final String COVERAGE = null;
        private static final String[] MIMETYPE = {"application/arc"};
        private static final String WELLFORMED = "...";
        private static final String VALIDITY = null;
        private static final String REPINFO = "...";
        private static final String NOTE = null;
        private static final String RIGHTS = "GNU LGPL";
        public ArcModule() {
            super (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED,
                    VALIDITY, REPINFO, NOTE, RIGHTS, false);
            // Optionally set some Agent information: see the other Modules how
            // this can be done.
        @Override
        public int parse(InputStream stream, RepInfo info, int parseIndex) {
            info.setModule(this);
            boolean wellFormed = false;
            try {
                if(ARCUtils.testCompressedARCStream(stream)) {
                    wellFormed = true;
            } catch (IOException e) {
                e.printStackTrace();
            info.setWellFormed(wellFormed);
            return 0;
    }================================================================================
    = Step 4 =
    Compile this ArcModule by opening a shell (command prompt) and cd-ing to
    'JHOVE_HOME/bin' and executing the following command:
    *nix & Mac OS:
    javac -cp .:JhoveApp.jar:heritrix-1.14.1.jar test/ArcModule.javaWindows:
    javac -cp .;JhoveApp.jar;heritrix-1.14.1.jar test\ArcModule.java
    (Note, if you're using JDK 1.4, replace '-cp' with '-classpath')
    You shouldn't get any messages if all goes well.
    ================================================================================
    = Step 5 =
    Open the file 'JHOVE_HOME/conf/jhove.conf' and add the following right beneath
    the line <bufferSize>?????</bufferSize>, where ????? is a number:
    <module>
      <class>test.ArcModule</class>
    </module>Save the file.
    ================================================================================
    = Step 6 =
    Create a folder called 'JHOVE_HOME/arcs' and copy two compressed ARC files in
    them. If you don't have any compressed ARC files laying around, you can
    download two small [5]. The file 'A.arc.gz' is a valid compressed ARC file,
    while 'B.arc.gz' is the same as 'A.arc.gz' but I removed the ARC-header from
    the latter, making it an invalid ARC file.
    ================================================================================
    = Step 7 =
    Open a shell, cd to 'JHOVE_HOME/bin' and execute the following command:
    *nix & Mac OS:
    java -cp .:JhoveApp.jar:heritrix-1.14.1.jar Jhove -c ../conf/jhove.conf -m ARC-hul ../arcsWindows:
    java -cp .;JhoveApp.jar;heritrix-1.14.1.jar Jhove -c ..\conf\jhove.conf -m ARC-hul ..\arcsWhich will cause JHove to scan everything that is in 'JHOVE_HOME/arcs' folder
    and throws it through your newly create ArcModule. The output will be as
    follows:
    Jhove (Rel. 1.1, 2008-02-21)
    Date: 2008-11-14 22:29:51 CET
    RepresentationInformation: .../jhove/arcs/A.arc.gz
      ReportingModule: ARC-hul, Rel. 0.1 (2008-11-11)
      LastModified: 2008-08-24 20:23:20 CEST
      Size: 130870
      Status: Well-Formed and valid
    RepresentationInformation: .../jhove/arcs/B.arc.gz
      ReportingModule: ARC-hul, Rel. 0.1 (2008-11-11)
      LastModified: 2008-11-14 21:53:15 CET
      Size: 116136
      Status: Not well-formedWhich is the expected result: A is valid and B is not.
    ================================================================================
    = Final remarks =
    As I said, this is not a programming tutorial, nor is it the best way to
    validate ARC files: more meta data should be extracted from the file. But I
    leave that for you. This was only a guide to show you how to get started on
    writing and running your own modules. You can have a look at the source
    of the existing modules to see the "best practices" w.r.t. writing a module.
    Best of luck!
    Regards,
    Bart.
    ================================================================================
    = References =
    [1] [http://hul.harvard.edu]
    [2] [http://hul.harvard.edu/jhove/download.html]
    [3] [http://crawler.archive.org]
    [4] [http://sourceforge.net/project/showfiles.php?group_id=73833&package_id=73980]
    [5] [http://iruimte.nl/arcs]

Maybe you are looking for

  • Re: Satellite Z30-A with Win 8.1 - Driver update confusion

    Hello, I have a question regarding driver updates. Currently, Windows Update recommends me to update the audio driver (important) and the LAN driver (optional). Toshiba Service Station, however, doesnt offer new drivers for these devices. My question

  • How to track current online users in OID?

    Hello, Is there any way to track the number of current online users in OID?(or 10Gas) therefore, I could find out who is online and how many people are online. Does OID provide the feature? Or, I have to write a Java class to record it when a user lo

  • How do I sort by artist name on I tunes

    how do I sort by artist name on I tunes

  • Unable to find 0CB_WT_TEXT Datasource in R/3 source system.

    Hi Experts, I am unable to find 0CB_WT_TEXT(Workbook / Template Text) Data source in RSA5 and RSA6. i need to pull the data into 0CB_WT infoobject. Its very urgent, please help me to find the datasource in R/3. Regards, Raj

  • My buddy and me cant talk using video or audio!

    Me and a friend created AIM accounts, hoping to talk using the video software. Unfortunately, when we try the video it says to me I didnt respond, and to him that he didnt respond. For the audio it says that the person who started the audio did not r