Strange Dark Shaded Jagged Line From Inside Glass(on LCD)

There is a strange jagged line showing up on the screen. It's not obtrusive, so I don't necessarily mind it, but the fact that from time to time I can notice it is bothering me. It's a lot harder to see when something really light or really dark colored is moved onto the spot it's at. It's not on the glass, it's under it, but the LCD doesn't show any normal sign of damage.
Here is an image of it: http://i.imgur.com/QdFLX.jpg
Any ideas or experiences?

Contact Apple Service, iMac Service or Apple's Express Lane and get it repaired. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you're eligible for onsite repair since yours is a desktop machine.

Similar Messages

  • How to remove water from between glass and lcd

    I took my phone into repair a few weeks back and probably got non OEM parts. Now after having my phone near the pool for a couple of swims, I've got water stuck between the glass and LCD. The phone works fine. Just lots of spots on the screen. Best way to dry out? Rice? Take it apart? Open to some suggestions. Thanks.

    Put in a bowl covered by uncooked rice on a radiator or heated floor for min 48hours

  • Strange, small 'crack-like' line underneath my glass?

    Hello, as said in the title.. A strange almost reflective crack or line or something is underneath my iphone 3g glass. its not a crack or a scratch, or pocket fuzz. i've been searching online and in these forums for anyone who might have the same problem, but no luck. I have seen that people who visit the genius bar have been given replacement for non-spider web glass cracks, no charge, which I don't have. But would I just be told to go away because this isn't a 'crack'. Also, I bought the phone Aug. 22, I did not purchase the insurance, but I've heard that for the replacement I'm still covered under my year warranty? I could go get the insurance now if its necessary..
    So this small line is on the top left corner of my phone just underneath the curve, I can see it because its over the black
    Its really bothering me.. the phone has never been dropped, its kind of sad the things I do so that I don't drop it.
    Message was edited by: al3xt

    Alright.. so I never went to get my replacement since I had some serious 3G issues in my area at the time when I made this post. After numerous customer service calls they finally found a way to give me a stable signal in my area, and I didn't really want to go through all that trouble again at the time so I decided not to bother with replacing my phone because of this 'seal' problem..
    anyway, I'd like to finally get it fixed, but its been quite some time since I purchased my iphone.. but its not as 'flawless' as it was originally, is that going to be a problem at customer service? If anyone thinks its going to be a hassle I might not even do it, please let me know.

  • Going Back to the main frame, from inside a movie clip time line.

    In flash CS5 I want to go back to the main time line, from inside a movie clip button, so when i click the the movie clip it goes to another frame on the main time line..
    Can anyone help me?
    Thanks
    Daniel Derrick

    your can use _root to reference the main timeline from anywhere though that can lead to problems if your swf is loaded by another swf.  because of that eventuality, it would be better to use a relative path back to the main timeline.
    so, from a movieclip's timeline (when the movieclip is on the main timeline), you can use _parent to reference the main timeline.
    but even better would be to use no code on that movieclip's timeline and keep all your code on one timeline (the main one).

  • Horizontal jagged lines in ProRes conversion from MPEG-2

    I converted an MPEG-2 from a DVD into a ProRes 422 Quick time through MPEG Streamclip in order to edit excerpts in FCP 7.  When imported in FCP it shows horizontal broken layers when I stop playing it, and full image when it runs.  The specs of the MPEG-2 were 1920x1080, 25 fps, PAL.  The ProRes is compressed to 720x405, 25 fps, pixel Aspect Square, Alpha None/Ignore, Field: Upper, Audio 48kH-16bit.  In MPEG Streamclip: "Interlaced scaling" was selected. Is that correct or should I have selected "Deinterlace video"?  Is that the culprit for the horizontal disaligned layers when the video stops running? 
    If this is not the cause, does anybody know a solution please?  Many thank yous in advance.

    this is correct, do not worry. on stop, you only see one field. on run, you see both fields.
    if you work with deinterlaced material, even on stop there will be no jagged lines. advantage. but you then have reduced your motion resolution to half (because both fields are identical now). disadvantage. so, what you want really depends on what you need your master for. usually, TV uses interlaced material.

  • Interlaced? (jagged lines) issue when burning a disc

    I uploaded some standard definition DVD-R footage into my 2011 iMac (550gb). To get the DVD-R's vob footage into FCPX for editing, I first transferred the vob's to QT MOV's via MPEG Streamclip. I then imported it into FCPX as is (SD 640x480), then edited and completed my project without any issues or problems in FCPX.
    My plan was to burn the finished project back to an standard definition DVD-R. I wanted to try it via four ways. 1) Burn the disc straight from FCPX. 2) Burn the project as an IMG to my hard drive and make the disc later. 3) Export the finished project as an H.264 QT MOV (at 640x480) and then burn the disc via Compressor. 4) Burn the H.264 MOV via Toast.
    Here's the big problem: When it was time to either burn the project straight from FCPX to a DVD-R, or take my QT MOV of the same project and burn a disc via Compressor or Toast, the finished DVD-R, when played on a DVD player or in my Mac showed MAJOR interlacing issues (those jagged wiggly lines on people's bodies, especially during camera movement).
    So what's strange is, the QT MOV files and the VOB files that I exported to my hard drive from FCPX (before actually making the disc) look and sound perfect. But when I try to burn the actual disc via FCPX, or Compressor, or Toast, the interlacing issues (jagged lines) appear every time. So it's obvious to me that there's something that the disc burning process, itself, doesn't like, or is having issues with. (I tried changing it Progressive and nothing gets rid of those jagged lines.
    Any advice or help on this matter would be greatly appreciated.
    J.

    bobbymac1967 wrote:
    I did all all that before,
    All what…including chaging field order and de-interlacong in Compressor?
    Then it's probably not interlacing.
    Post a screen shot of a frame before you imported into FCP and another sceen shot shot after exporting.
    (Or is you'd prefer, upload a short section to Dropbox so we can see it and test it first hand.)
    I used h.264 because there was no alternative.
    I don't understand that; if you export as a master file, you should have a whole bunch of codec options.
    Russ

  • Vector and PNG jagged lines

    Hi!
    I've created a vectorized logo using CorelDraw X7. As my workflow consists of Adobe products, as Lightroom, Photoshop and InDesign, I though it would be convenient to integrate Illustrator in my workflow for better file handling. Then I've faced my first problem: export from Corel to Illustrator. As Corel allowed me to export in .AI file format, that was the best quick solution. But when I opened the file inside Illustrator, it wasn't good looking, and I realized it needed some adjustments. To be honest, the issue was specifically with a line stroke within my logo, noticeably jagged. I've already checked if I was in Pixel Preview Mode, as well as the anti-aliasing options, pixel grid alignment and the document resolution [I've done a extensive search about the issue before posting here, but haven't find anything really helpful]. I tried to redesign the logo using Illustrator, but the ******* line keeps frustrating me.
    I know that I'm working with vectors and that shouldn't be happening, even taking into consideration that the monitor inevitably shows images in pixels. That said, if I zoom in a lot, I can see perfect lines, but zoomed at 100 or 200%, the jagged lines are there. I though that it was just a preview issue from Illustrator that wouldn't affect the output file, so I exported it in PNG, which is the output file I mostly use in those cases, but the issue remained. The line stroke I'm talking about is a fine line with variable width at both tips [wider in the middle and tapering at the ends]. This tapering is what causes the problem, creating a jagged effect from the middle section through the ends. What's curious about it is that the same line, when the original file is opened in Corel, is showed smooth and perfect, in vector lines or after PNG export.
    As it wasn't enough, ironically, if I create the same line in Photoshop and paste it into Illustrator [which recognizes it as a raster image], the output is exactly what I expected when exported to PNG [from Illustrator] and with a far better preview inside Illustrator, though still a bit jagged with 100% zoom. But as I plan to work with vector lines up to the moment of exporting files, a rasterized object wasn't part of my plans...
    I'll be very glad if someone is able to help me. I'm working on CC 2014.
    Follows a link to the open files from Corel and Illustrator. For comparison purposes, inside Illustrator file there are 3 versions of the line, being the first the original Corel vector, the middle one is the Photoshop raster, and the third is the one created inside Illustrator using elipse tool.
    Dropbox - Logo.rar
    PS.: English isn't my native language, so my apologies for some mistakes I may have commited

    Even when I create the same line using Illustrator tools? I though I'd have no problem creating a fine line with variable width.
    Here goes the print screens of what you asked me. The first one is the info of the line created on Corel; the other is the one created on Illustrator:

  • How can I permit all traffic from inside-dmz-outside on asa5505

    Scenario :
    Servers are in DMZ, Internal LAN Users should access ports Specified (5000 & 2048). Router 2801 is facing Leased line; from there it’s connected to firewall.
    Router LAN IP: 83.111.X.X - 255.255.255.X
    ASA Version 7.2(4)
    hostname ciscoasa
    domain-name default.domain.invalid
    enable password 2KFQnbNIdI.2KYOU encrypted
    passwd 2KFQnbNIdI.2KYOU encrypted
    names
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.X.X 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    ip address 83.111.X.X 255.255.255.240
    interface Vlan3
    nameif dmz
    security-level 100
    ip address 192.168.100.1 255.255.255.0
    interface Ethernet0/0
    switchport access vlan 2
    interface Ethernet0/1
    interface Ethernet0/2
    switchport access vlan 3
    interface Ethernet0/3
    interface Ethernet0/4
    interface Ethernet0/5
    interface Ethernet0/6
    switchport access vlan 3
    interface Ethernet0/7
    ftp mode passive
    dns server-group DefaultDNS
    domain-name default.domain.invalid
    same-security-traffic permit inter-interface
    same-security-traffic permit intra-interface
    pager lines 24
    logging asdm informational
    mtu inside 1500
    mtu outside 1500
    mtu dmz 1500
    no failover
    icmp unreachable rate-limit 1 burst-size 1
    asdm image disk0:/asdm-524.bin
    no asdm history enable
    arp timeout 14400
    global (outside) 1 interface
    nat (inside) 1 0.0.0.0 0.0.0.0
    route outside 0.0.0.0 0.0.0.0 83.111.x.x
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    http server enable
    http 192.168.1.0 255.255.255.0 inside
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    telnet timeout 5
    ssh timeout 5
    console timeout 0
    dhcpd auto_config outside
    dhcpd address 192.168.1.2-192.168.1.254 inside
    dhcpd enable inside
    class-map inspection_default
    match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
    parameters
      message-length maximum 512
    policy-map global_policy
    class inspection_default
      inspect dns preset_dns_map
      inspect ftp
      inspect h323 h225
      inspect h323 ras
      inspect rsh
      inspect rtsp
      inspect esmtp
      inspect sqlnet
      inspect skinny
      inspect sunrpc
      inspect xdmcp
      inspect sip
      inspect netbios
      inspect tftp
    service-policy global_policy global
    prompt hostname context
    Cryptochecksum:5663409d6ba3ad0bcd163e691f032f76
    : end

    Hi Ben,
    Thank you for the response. I followed the link and tried reading everything you posted on AEs but I'm afraid that I didn't understand it all. It seems that each AE example had a single input and a single output (e.g. a double). Is this the case? 
    What I have is a couple of front panel clusters containing (approximately) 18 control doubles, 8 indicator doubles, 5 boolean radio button constructs and 26 boolean control discretes. I clusterized it to make it readable. In addition I'll eventually have a cluster of task references for hardware handles.
    All I want to do is update the front panel values like I would do in a C, VB or any other language. I've tried referencing the cluster and using the reference from inside the loops. I've tied using local variables. Neither works. I'm experimenting with globals but it seems that I have to construct the front panel in the gloabal and then I wouldn't know how to repoduce that on the front panel of the main VI.  Sometimes it seems that more time is spent getting around Labview constructs than benefitting from them.
    I hope the 'Add Attachment' function actuals puts a copy of the VI here and not a link to it.
    Thanks again for the suggestion,
    Frank 
    Attachments:
    Front Panel Reference.vi ‏33 KB

  • Error While opening a JSP page from inside form window

    Hi,
    I am using Oracle EBS 12.0.4 and using IE 7 as my browser.
    Now when i am trying to open a jsp page form EBS Home page (after login) it is opening perfectly.The problem occurs when i tried to open jsp pages from inside form window.
    E.g. From the home page when i tried to open a jsp page "Control Purchasing Periods" which is assigned in one of our custom responsibility(Manager Systems-->PO Super User-->Set up-->Financials-->Accounting-->Control Purchasing Periods) it opens a new log in page for the EBS. When i logged in it is showing
    Error
    You have insufficient privileges for the current operation. Please contact your System Administrator. Same is happening when i am trying to open User Page form user management responsibility from inside a form window.Where as it is opening fine from home page.
    Please help.

    Hi, hueesin
    in error log i got this 4 new lines while performing the transaction from my host
    [Thu Dec 30 13:27:39 2010] [error] [client 172.16.6.144] [ecid: 1293695859:172.16.48.61:25634:0:8748,0] Directory index forbidden by rule: /dev02/KMCTEST/apps/apps_st/comn/java/classes/
    [Thu Dec 30 13:27:40 2010] [error] [client 172.16.6.144] [ecid: 1293695860:172.16.48.61:25328:0:8829,0] Directory index forbidden by rule: /dev02/KMCTEST/apps/apps_st/comn/java/classes/
    [Thu Dec 30 13:28:06 2010] [error] [client 172.16.6.144] [ecid: 1293695886:172.16.48.61:25654:0:9225,0] File does not exist: /dev02/KMCTEST/apps/apps_st/comn/java/classes/oracle/forms/engine/RunformBundle_en_IN.class
    [Thu Dec 30 13:28:06 2010] [error] [client 172.16.6.144] [ecid: 1293695886:172.16.48.61:25654:0:9226,0] File does not exist: /dev02/KMCTEST/apps/apps_st/comn/java/classes/oracle/forms/engine/RunformBundle_en_IN.propertieswhile in access log i got
    172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "POST /OA_HTML/OA.jsp?page=/oracle/apps/fnd/sso/login/webui/MainLoginPG&_ri=0&_ti=587084970&language_code=US&requestUrl=http%3A%2F%2Fkmctapp2.kmc.com%3A8005%2FOA_HTML%2FRF.jsp%3Ffunction_id%3D2014%26resp_id%3D50670%26resp_appl_id%3D7000%26security_group_id%3D0%26lang_code%3DUS%26params%3Df7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0%26oas%3DAuZa28Bnhl7glqYyqXbjsg..&cancelUrl=http%3A%2F%2Fkmctapp2.kmc.com%3A8005%2FOA_HTML%2FAppsLogin&langCode=US&oapc=2&oas=rucHEnmoEQ25-3xRNnl0ZA.. HTTP/1.1" 302 708 1 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=28636&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US&params=Br702.NFW.nrlg1EodytbsK-Dc1k9ERgGeColziC.cPOIi7hiyjaPiR6AJ7.Lk4IUbiFt8MZ-sww1yPk9nLXIYqdPHfttMeywkt5IQhVsrG8Y9M-0CrrcAU8ZntmtaFjlkc2vXbUaot6TQpdqAPHJyaJn6YLsew516hhfiB2xemOmo6e-.WpPrlXfvBQG.XVr-Z8y-V4uRkwwHgWHTK.ju6jLsF35BmqTRszq39cgoHe38QZqjtonDRWgTFzvxooOAmX1EHPfxfMz88uKnVWnnzU-4996ZD8e3X0Dagp19gjOYgefJlT1fTUaFvMo3cP.-7Ypt0s4Cck.GhdFOnHRK1Ok6KdvnjFyjK-WHCy4ZHCvw3NZPREYBngqJc4gvnDziIu4Yso2j4kegCe-i5OCFG4hbfDGf7MMNcj5PZy1yFwJ8GIMHyNmCAg9Yo1bXn5cTHOy7xYWHyOD5.ax3JG6Q&oas=W0vxAqkroMB_7DgeNPZhYw.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
    172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US&params=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.. HTTP/1.1" 200 7534 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=28636&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US&params=Br702.NFW.nrlg1EodytbsK-Dc1k9ERgGeColziC.cPOIi7hiyjaPiR6AJ7.Lk4IUbiFt8MZ-sww1yPk9nLXIYqdPHfttMeywkt5IQhVsrG8Y9M-0CrrcAU8ZntmtaFjlkc2vXbUaot6TQpdqAPHJyaJn6YLsew516hhfiB2xemOmo6e-.WpPrlXfvBQG.XVr-Z8y-V4uRkwwHgWHTK.ju6jLsF35BmqTRszq39cgoHe38QZqjtonDRWgTFzvxooOAmX1EHPfxfMz88uKnVWnnzU-4996ZD8e3X0Dagp19gjOYgefJlT1fTUaFvMo3cP.-7Ypt0s4Cck.GhdFOnHRK1Ok6KdvnjFyjK-WHCy4ZHCvw3NZPREYBngqJc4gvnDziIu4Yso2j4kegCe-i5OCFG4hbfDGf7MMNcj5PZy1yFwJ8GIMHyNmCAg9Yo1bXn5cTHOy7xYWHyOD5.ax3JG6Q&oas=W0vxAqkroMB_7DgeNPZhYw.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
    172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/t.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US&params=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
    172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/errorl.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US&params=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
    172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/navBarUnderTopTabsBg.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US&params=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"
    172.16.6.144 - - [30/Dec/2010:13:32:51 +0530] "GET /OA_HTML/cabo/images/swan/footerBg.gif HTTP/1.1" 304 0 0 "http://kmctapp2.kmc.com:8005/OA_HTML/RF.jsp?function_id=2014&resp_id=50670&resp_appl_id=7000&security_group_id=0&lang_code=US&params=f7B5hnH8rkFfR.idy0MT1JZrquJxVBy3CVpSV.GpXc0&oas=AuZa28Bnhl7glqYyqXbjsg.." "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)"

  • Can't connect to all sites outside from inside

    Dear forum,
    For some reason there are some sites that I cannot access websites from inside interface.
    One such example is lxer.com where I am receiving this message in the browser:
    The connection has timed out
              The server at www.lxer.com is taking too long to respond.
    This has "suddenly" happened, and so I am wondering what others have done when such things has happened.
    My outside has a dhcp-IP, and I have noticed that this address had changed, so I corrected this in my router settings.
    ASA version is 5505
    These are my settings:
    : Saved
    ASA Version 8.4(2)
    hostname ciscoasa
    domain-name example.no
    enable password 123412321 encrypted
    passwd 1231231 encrypted
    names
    interface Ethernet0/0
    switchport access vlan 2
    speed 100
    duplex full
    interface Ethernet0/1
    interface Ethernet0/2
    interface Ethernet0/3
    interface Ethernet0/4
    interface Ethernet0/5
    switchport access vlan 12
    interface Ethernet0/6
    interface Ethernet0/7
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.1.1 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    ip address dhcp
    interface Vlan12
    no forward interface Vlan1
    nameif DMZ
    security-level 50
    ip address 192.168.2.1 255.255.255.0
    ftp mode passive
    clock timezone CEST 1
    clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
    dns domain-lookup inside
    dns domain-lookup outside
    dns domain-lookup DMZ
    dns server-group DefaultDNS
    name-server 193.75.75.75
    name-server 192.168.1.11
    name-server 192.168.1.12
    name-server 193.75.75.193
    domain-name example.no
    same-security-traffic permit intra-interface
    object network obj_any
    subnet 0.0.0.0 0.0.0.0
    object network inside-net
    subnet 192.168.1.0 255.255.255.0
    object network NETWORK_OBJ_10.10.10.0_28
    subnet 10.10.10.0 255.255.255.240
    object network NETWORK_OBJ_192.168.1.128_27
    subnet 192.168.1.128 255.255.255.224
    object network NETWORK_OBJ_192.168.1.0_24
    subnet 192.168.1.0 255.255.255.0
    object network NETWORK_OBJ_192.168.254.0_28
    subnet 192.168.254.0 255.255.255.240
    object network dmz-ftpserver
    host 192.168.2.101
    description FTP server Host Object
    object network dmz-webserver
    host 192.168.2.100
    description Web Server Host Object
    object network ftp-server
    object service FTP
    service tcp source eq ftp
    object service WWW
    service tcp source eq www
    object network DMZ.net
    subnet 192.168.2.0 255.255.255.0
    object-group protocol TCPUDP
    protocol-object udp
    protocol-object tcp
    object-group network NET-VPNPOOL
    network-object 86.62.136.0 255.255.255.0
    access-list outside_access_in extended permit tcp any host 192.168.2.101 eq ftp
    access-list outside_access_in extended permit tcp any host 192.168.2.100 eq www
    access-list VPN-FOO_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    access-list inside_access_dmz extended permit tcp any object DMZ.net range 1 65535
    pager lines 24
    logging enable
    logging asdm informational
    mtu inside 1500
    mtu outside 1500
    mtu DMZ 1500
    ip local pool VPN-Pool 192.168.254.1-192.168.254.10 mask 255.255.255.0
    icmp unreachable rate-limit 1 burst-size 1
    no asdm history enable
    arp timeout 14400
    nat (DMZ,outside) source static dmz-webserver interface service WWW WWW
    nat (DMZ,outside) source static dmz-ftpserver interface service FTP FTP
    nat (inside,outside) source static any any destination static NETWORK_OBJ_10.10.10.0_28 NETWORK_OBJ_10.10.10.0_28 no-proxy-arp route-lookup
    nat (inside,outside) source static any any destination static NETWORK_OBJ_192.168.1.128_27 NETWORK_OBJ_192.168.1.128_27 no-proxy-arp route-lookup
    nat (inside,outside) source static NETWORK_OBJ_192.168.1.0_24 NETWORK_OBJ_192.168.1.0_24 destination static NETWORK_OBJ_192.168.254.0_28 NETWORK_OBJ_192.168.254.0_28 no-proxy-arp route-lookup
    nat (outside,outside) source dynamic NET-VPNPOOL interface
    object network obj_any
    nat (inside,outside) dynamic interface
    object network inside-net
    nat (inside,outside) dynamic interface
    object network DMZ.net
    nat (DMZ,outside) dynamic interface
    access-group outside_access_in in interface outside
    route outside 0.0.0.0 0.0.0.0 86.62.136.44 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    timeout floating-conn 0:00:00
    dynamic-access-policy-record DfltAccessPolicy
    user-identity default-domain LOCAL
    aaa authentication enable console LOCAL
    aaa authentication http console LOCAL
    aaa authentication ssh console LOCAL
    aaa authorization command LOCAL
    aaa authorization exec authentication-server
    http server enable
    http 192.168.1.0 255.255.255.0 inside
    http 192.168.1.1 255.255.255.255 outside
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
    crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
    crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
    crypto map outside_map interface outside
    crypto ca trustpoint _SmartCallHome_ServerCA
    crl configure
    crypto ca certificate chain _SmartCallHome_ServerCA
    certificate ca 6ecc7aa5a7032009b8cebcf4e952d491
        308205ec 308204d4 a0030201 0202106e cc7aa5a7 032009b8 cebcf4e9 52d49130
        0d06092a 864886f7 0d010105 05003081 ca310b30 09060355 04061302 55533117
        30150603 55040a13 0e566572 69536967 6e2c2049 6e632e31 1f301d06 0355040b
        13165665 72695369 676e2054 72757374 204e6574 776f726b 313a3038 06035504
        0b133128 63292032 30303620 56657269 5369676e 2c20496e 632e202d 20466f72
        20617574 686f7269 7a656420 75736520 6f6e6c79 31453043 06035504 03133c56
        65726953 69676e20 436c6173 73203320 5075626c 69632050 72696d61 72792043
        65727469 66696361 74696f6e 20417574 686f7269 7479202d 20473530 1e170d31
        30303230 38303030 3030305a 170d3230 30323037 32333539 35395a30 81b5310b
        30090603 55040613 02555331 17301506 0355040a 130e5665 72695369 676e2c20
        496e632e 311f301d 06035504 0b131656 65726953 69676e20 54727573 74204e65
        74776f72 6b313b30 39060355 040b1332 5465726d 73206f66 20757365 20617420
        68747470 733a2f2f 7777772e 76657269 7369676e 2e636f6d 2f727061 20286329
        3130312f 302d0603 55040313 26566572 69536967 6e20436c 61737320 33205365
        63757265 20536572 76657220 4341202d 20473330 82012230 0d06092a 864886f7
        0d010101 05000382 010f0030 82010a02 82010100 b187841f c20c45f5 bcab2597
        a7ada23e 9cbaf6c1 39b88bca c2ac56c6 e5bb658e 444f4dce 6fed094a d4af4e10
        9c688b2e 957b899b 13cae234 34c1f35b f3497b62 83488174 d188786c 0253f9bc
        7f432657 5833833b 330a17b0 d04e9124 ad867d64 12dc744a 34a11d0a ea961d0b
        15fca34b 3bce6388 d0f82d0c 948610ca b69a3dca eb379c00 48358629 5078e845
        63cd1941 4ff595ec 7b98d4c4 71b350be 28b38fa0 b9539cf5 ca2c23a9 fd1406e8
        18b49ae8 3c6e81fd e4cd3536 b351d369 ec12ba56 6e6f9b57 c58b14e7 0ec79ced
        4a546ac9 4dc5bf11 b1ae1c67 81cb4455 33997f24 9b3f5345 7f861af3 3cfa6d7f
        81f5b84a d3f58537 1cb5a6d0 09e4187b 384efa0f 02030100 01a38201 df308201
        db303406 082b0601 05050701 01042830 26302406 082b0601 05050730 01861868
        7474703a 2f2f6f63 73702e76 65726973 69676e2e 636f6d30 12060355 1d130101
        ff040830 060101ff 02010030 70060355 1d200469 30673065 060b6086 480186f8
        45010717 03305630 2806082b 06010505 07020116 1c687474 70733a2f 2f777777
        2e766572 69736967 6e2e636f 6d2f6370 73302a06 082b0601 05050702 02301e1a
        1c687474 70733a2f 2f777777 2e766572 69736967 6e2e636f 6d2f7270 61303406
        03551d1f 042d302b 3029a027 a0258623 68747470 3a2f2f63 726c2e76 65726973
        69676e2e 636f6d2f 70636133 2d67352e 63726c30 0e060355 1d0f0101 ff040403
        02010630 6d06082b 06010505 07010c04 61305fa1 5da05b30 59305730 55160969
        6d616765 2f676966 3021301f 30070605 2b0e0302 1a04148f e5d31a86 ac8d8e6b
        c3cf806a d448182c 7b192e30 25162368 7474703a 2f2f6c6f 676f2e76 65726973
        69676e2e 636f6d2f 76736c6f 676f2e67 69663028 0603551d 11042130 1fa41d30
        1b311930 17060355 04031310 56657269 5369676e 4d504b49 2d322d36 301d0603
        551d0e04 1604140d 445c1653 44c1827e 1d20ab25 f40163d8 be79a530 1f060355
        1d230418 30168014 7fd365a7 c2ddecbb f03009f3 4339fa02 af333133 300d0609
        2a864886 f70d0101 05050003 82010100 0c8324ef ddc30cd9 589cfe36 b6eb8a80
        4bd1a3f7 9df3cc53 ef829ea3 a1e697c1 589d756c e01d1b4c fad1c12d 05c0ea6e
        b2227055 d9203340 3307c265 83fa8f43 379bea0e 9a6c70ee f69c803b d937f47a
        6decd018 7d494aca 99c71928 a2bed877 24f78526 866d8705 404167d1 273aeddc
        481d22cd 0b0b8bbc f4b17bfd b499a8e9 762ae11a 2d876e74 d388dd1e 22c6df16
        b62b8214 0a945cf2 50ecafce ff62370d ad65d306 4153ed02 14c8b558 28a1ace0
        5becb37f 954afb03 c8ad26db e6667812 4ad99f42 fbe198e6 42839b8f 8f6724e8
        6119b5dd cdb50b26 058ec36e c4c875b8 46cfe218 065ea9ae a8819a47 16de0c28
        6c2527b9 deb78458 c61f381e a4c4cb66
      quit
    crypto ikev1 enable outside
    crypto ikev1 policy 10
    authentication pre-share
    encryption 3des
    hash sha
    group 2
    lifetime 86400
    telnet timeout 5
    ssh 192.168.1.0 255.255.255.0 inside
    ssh 0.0.0.0 0.0.0.0 outside
    ssh timeout 30
    console timeout 0
    management-access inside
    no vpn-addr-assign aaa
    no vpn-addr-assign dhcp
    dhcpd domain inside-sport.no
    dhcpd auto_config outside
    dhcpd address 192.168.1.20-192.168.1.49 inside
    dhcpd dns 192.168.1.11 192.168.1.12 interface inside
    dhcpd domain inside-sport.no interface inside
    dhcpd enable inside
    threat-detection basic-threat
    threat-detection statistics access-list
    no threat-detection statistics tcp-intercept
    ntp authenticate
    ntp server 193.150.22.7 source outside
    webvpn
    group-policy VPN-FOO internal
    group-policy VPN-FOO attributes
    dns-server value 192.168.1.11 193.75.75.193
    vpn-tunnel-protocol ikev1
    split-tunnel-policy tunnelspecified
    split-tunnel-network-list value VPN-FOO_splitTunnelAcl
    default-domain value inside-sport.no
    username polkadott password 12332131 encrypted privilege 15
    username afrocircus password 123132 encrypted privilege 15
    username foobar password sdafsdfsda encrypted
    username foobar attributes
    service-type remote-access
    username barfoo password 1313131 encrypted privilege 0
    username barfoo attributes
    service-type remote-access
    tunnel-group VPN-FOO type remote-access
    tunnel-group VPN-FOO general-attributes
    address-pool VPN-Pool
    default-group-policy VPN-FOO
    tunnel-group VPN-FOO ipsec-attributes
    ikev1 pre-shared-key *****
    class-map inspection_default
    match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
    parameters
      message-length maximum client auto
      message-length maximum 512
    policy-map global_policy
    class inspection_default
      inspect dns preset_dns_map
      inspect ftp
      inspect h323 h225
      inspect h323 ras
      inspect rsh
      inspect rtsp
      inspect esmtp
      inspect sqlnet
      inspect skinny 
      inspect sunrpc
      inspect xdmcp
      inspect sip 
      inspect netbios
      inspect tftp
      inspect ip-options
    service-policy global_policy global
    prompt hostname context
    call-home reporting anonymous
    call-home
    profile CiscoTAC-1
      no active
      destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
      destination address email [email protected]
      destination transport-method http
      subscribe-to-alert-group diagnostic
      subscribe-to-alert-group environment
      subscribe-to-alert-group inventory periodic monthly
      subscribe-to-alert-group configuration periodic monthly
      subscribe-to-alert-group telemetry periodic daily
    Cryptochecksum:f3b732b91e291d6ad7ae12aaa271b31b
    : end
    no asdm history enable
    Output of show version
    Cisco Adaptive Security Appliance Software Version 8.4(2)
    Device Manager Version 6.4(5)
    Compiled on Wed 15-Jun-11 18:17 by builders
    System image file is "disk0:/asa842-k8.bin"
    Config file at boot was "startup-config"
    ciscoasa up 230 days 23 hours
    Hardware:   ASA5505, 512 MB RAM, CPU Geode 500 MHz
    Internal ATA Compact Flash, 128MB
    BIOS Flash M50FW016 @ 0xfff00000, 2048KB
    Encryption hardware device : Cisco ASA-5505 on-board accelerator (revision 0x0)
                                 Boot microcode        : CN1000-MC-BOOT-2.00
                                 SSL/IKE microcode     : CNLite-MC-SSLm-PLUS-2.03
                                 IPSec microcode       : CNlite-MC-IPSECm-MAIN-2.06
                                 Number of accelerators: 1
    0: Int: Internal-Data0/0    : address is ccef.4892.00b0, irq 11
    1: Ext: Ethernet0/0         : address is ccef.4892.00a8, irq 255
    2: Ext: Ethernet0/1         : address is ccef.4892.00a9, irq 255
    3: Ext: Ethernet0/2         : address is ccef.4892.00aa, irq 255
    4: Ext: Ethernet0/3         : address is ccef.4892.00ab, irq 255
    5: Ext: Ethernet0/4         : address is ccef.4892.00ac, irq 255
    6: Ext: Ethernet0/5         : address is ccef.4892.00ad, irq 255
    7: Ext: Ethernet0/6         : address is ccef.4892.00ae, irq 255
    8: Ext: Ethernet0/7         : address is ccef.4892.00af, irq 255
    9: Int: Internal-Data0/1    : address is 0000.0003.0002, irq 255
    10: Int: Not used            : irq 255
    11: Int: Not used            : irq 255
    Licensed features for this platform:
    Maximum Physical Interfaces       : 8              perpetual
    VLANs                             : 3              DMZ Restricted
    Dual ISPs                         : Disabled       perpetual
    VLAN Trunk Ports                  : 0              perpetual
    Inside Hosts                      : 10             perpetual
    Failover                          : Disabled       perpetual
    VPN-DES                           : Enabled        perpetual
    VPN-3DES-AES                      : Enabled        perpetual
    AnyConnect Premium Peers          : 2              perpetual
    AnyConnect Essentials             : Disabled       perpetual
    Other VPN Peers                   : 10             perpetual
    Total VPN Peers                   : 25             perpetual
    Shared License                    : Disabled       perpetual
    AnyConnect for Mobile             : Disabled       perpetual
    AnyConnect for Cisco VPN Phone    : Disabled       perpetual
    Advanced Endpoint Assessment      : Disabled       perpetual
    UC Phone Proxy Sessions           : 2              perpetual
    Total UC Proxy Sessions           : 2              perpetual
    Botnet Traffic Filter             : Disabled       perpetual
    Intercompany Media Engine         : Disabled       perpetual
    This platform has a Base license.

    I did a wget to www.digi.no and in the capture I am seeing this:
    5965: 11:47:13.287948 802.1Q vlan#1 P0 192.168.1.22.56369 > 74.125.143.109.993: . ack 4203439682 win 331
    5966: 11:47:13.289779 802.1Q vlan#1 P0 192.168.1.22.33903 > 81.27.47.164.143: P 1147057306:1147057319(13) ack 4094693130 win 331
    5967: 11:47:13.317488 802.1Q vlan#1 P0 81.27.47.164.143 > 192.168.1.22.33903: P 4094693130:4094693156(26) ack 1147057319 win 91
    5968: 11:47:13.317717 802.1Q vlan#1 P0 192.168.1.22.33903 > 81.27.47.164.143: . ack 4094693156 win 331
    5969: 11:47:13.335660 802.1Q vlan#1 P0 192.168.1.22.33905 > 81.27.47.164.143: P 1946962938:1946962951(13) ack 3747978698 win 190
    5970: 11:47:13.362942 802.1Q vlan#1 P0 81.27.47.164.143 > 192.168.1.22.33905: P 3747978698:3747978724(26) ack 1946962951 win 91
    5971: 11:47:13.363094 802.1Q vlan#1 P0 192.168.1.22.33905 > 81.27.47.164.143: . ack 3747978724 win 190
    5972: 11:47:13.387751 802.1Q vlan#1 P0 192.168.1.22.46864 > 192.168.1.1.22: P 3937008649:3937008697(48) ack 2079733693 win 65535
    5973: 11:47:13.387827 802.1Q vlan#1 P0 192.168.1.1.22 > 192.168.1.22.46864: . ack 3937008697 win 32768
    5974: 11:47:13.388987 802.1Q vlan#1 P0 192.168.1.1.22 > 192.168.1.22.46864: P 2079733693:2079733741(48) ack 3937008697 win 32768
    5975: 11:47:13.391062 802.1Q vlan#1 P0 192.168.1.22.46864 > 192.168.1.1.22: . ack 2079733741 win 65535
    5976: 11:47:13.391916 802.1Q vlan#1 P0 192.168.1.1.22 > 192.168.1.22.46864: P 2079733741:2079733789(48) ack 3937008697 win 32768
    5977: 11:47:13.392618 802.1Q vlan#1 P0 192.168.1.1.22 > 192.168.1.22.46864: P 2079733789:2079733853(64) ack 3937008697 win 32768
    5978: 11:47:13.392664 802.1Q vlan#1 P0 192.168.1.22.46864 > 192.168.1.1.22: . ack 2079733789 win 65535
    Some more setup.
    In the host server that runs some guest virtual box virtual servers I have this route.
    route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    192.168.254.0   192.168.1.1     255.255.255.0   UG    0      0        0 eth0
    192.168.2.0     0.0.0.0         255.255.254.0   U     0      0        0 eth1
    0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 eth1
    where 192.168.2.1 is the IP for the DMZ
    On the two DNS-servers I have, the routing table looks like this:
    routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 eth0

  • Slideshow exported to pdf: jagged lines

    Although this issue has been brought up before in this forum, it has never been properly answered or resolved. Therefore, I will be pretty precise about the procedure in the hope that knowledgeable people will take a closer look at the issue.
    For test purposes on this forum, I make a "slideshow" in LR 2.1 MacBook Pro using one single 10Mpx RAW image that has been pre-rendered 1:1 in Library. For this demonstration, the slideshow has no borders, no text, and 0 pixel margins in layout.
    First, I play the slideshow i LR 2.1 so it shows full screen on my 1920x1200 SpectraView monitor, then, to make you see the result, I do a screen shot and then crop the relevant detail from the image, then 'Save for web' jpg to make it web friendly so you can easily see it.
    The following image is the relevant detail of the full-screen LR image, namely a car (a very nice beautiful good-looking car, since it happens to be MY car:-)
    (http://tmp.bragit.com/slideLR.jpg)
    Then, in LR 2.1, I export to pdf, choosing Screen as resolution, which in my case is 1920x1200, at 100% quality, 'automatically show full screen'. Then I open the pdf in Acrobat 8.1.2, which shows it in full screen on my 1920x1200 monitor. Since the monitor matches the chosen resolution, the result SHOULD be at least as good as the way LR "plays" the slideshow, but preferably with some suitable amount of output sharpening.
    However, the car in the image now has very ugly jagged lines. To make you see the result, I do again a screen shot and then crop the relevant detail from the image, then 'Save for web' jpg to make it web friendly so you can easily see it. (This jpg sRGB procedure has not affected the visual result of the artifacts in any relevant way.)
    The following image is the relevant detail of the pdf-exported full-screen image, namely the car:
    (http://tmp.bragit.com/slidePDF.jpg)
    It should be pretty obvious that the result is unacceptable. It is not primarily sharpening that causes the jagged behavior, it looks more like a very bad resampling. Many people seem to have reported the same thing, so I wonder how come this hasn't been addressed at all in the last few versions of LR? Or do you really have a workaround?
    PS: increasing resolution further (to for instance 3000x2000 pixels) on export does NOT solve the problem; it only makes the artifact somewhat smaller.

    As to why I export pdf slideshows: there are three reasons and usages for this:
    1. Making relatively small (eg. 900x1440) slideshows to be sent over email to people. For about a year I have noticed the quality is lousy, but I first thought it was because LR did a much too strong sharpening on export, but much later I came to realize that the problem has a much more severe origin. I took for granted that Adobe was trying to do something about it, but obviously not.
    2. I can merge several pdf slideshows into one slideshow, so that I can have an Intro Screen at the start of each new "event", where each "event" may be only a few slides.
    3. The native quality of slideshows as shown by LightRoom is lousy in deep shadows, just as bad as in the Library module, despite it has been rendered 1:1. It is ONLY in the Develop module that shadows are rendered decently, or on export to jpg, or export to a pdf slideshow (but the latter has other problems as I have shown above). So, to make the shadows better, and to avoid various problems with the Slideshow module (such as starting or stopping on the wrong image), I often export to pdf. In addition, color management can behave differently when displaying the show on a separate monitor or projector, where LR and Acrobat sometimes differ, especially on Plasma screens.
    I have discussed the issue of bad shadow rendering before in this forum (long ago), and Jao thought it was due to a corrupt monitor profile, or at least an improper rendering intent, but I don't think so, and I showed screen shots so that everyone could see the effect. Some people only saw an almost black image, but that is because their monitor is bad. I have a very good monitor (SpectraView) that shows almost the entire Adobe RGB, and the profiling makes me able to see colors all the way down into the deepest shadows. Whenever color management is not working as it should, I see that immediately. It is in those shadows that the Library and Slideshow modules do a very bad job. Maybe the reason is that the previews are based on jpg, and jpg itself is extremely bad in shadows, usually causing severe posterizations.

  • Targeting the EdgeID object from inside the animation

    I've been working on an animation that displays content pulled in from json files.  The height of the content pulled in is determined and then the Stage height is adjusted to fit the total content. This works well by itself. See http://www.jomariworks.com/edge-json (Only west coast links are live. Project files http://www.jomariworks.com/edge-json/edge-json.zip)
    Now I'm embedding the animation in a page using the oam insert feature, which creates an object with a fixed size.  When the animation adjusts the stage height, the object window size does not change. When the content is longer than the object window, the content scrolls.
    Is there a way I can target the height of the object (id is EdgeID) during the execution of the animation?
    The live version of this can be viewed at  http://reconnectingamerica.org/spacerace/index.php.  The project files at http://www.jomariworks.com/edge-json/edge-json.zip are the same as far as functionality goes.
    Thanks in advance for any help.

    After being unable to discover how to target the height of the object containing the embedded edge animation, I have gone back to having the entire page part of the animation file.
    The final web page is online at http://reconnectingamerica.org/spacerace
    There are big disadvantages of this:
    The full web page has more than 7000 lines of HTML.  Making changes in Edge Animate is a VERY slow process.
    Edge Animate corrupts the HTML in the file. This file contains complex TABLEs.  After making changes in Edge Animate and saving those changes, the TABLE headers are all corrupted (e.g. closing THEAD tags are moved above the head content and several closing TR tags are relocated. For the record, I checked.and the original HTML is syntactically valid.).  To deal with this I removed the tables when editing in Edge Animate and after making changes and publishing the Edge Animate version of the HTML I restored the tables.
    Working separately on the animation and then embedding is clearly the better workflow in this situation. Unfortunately, I needed to be able to resize the embedded animation's object container in the same way I was able to adjust the Stage from inside the animation.  Not being a jQuery wizard I couldn't figure out how to target the height of the animation's parent container.  Still interested in finding out how to do that if anyone can help.
    Message was edited by: jomariworks

  • Help with calling a java application from inside another one

    Hello!
    I am having this problem which is getting on my nerves and dont know how to solve..
    I want to call from my java application, another java application. So i use the exec command. Then i want to read the output of this execution from my own application, (the "parent" process).
    But it doesn work properly. Something seems to happen and i dont get the whole output.
    The java program i want to call is created for running an application created with Matlab java builder.
    This program works when called from cmd, but seems not to work when called from inside a java application.
    The code of my java application is:
    Runtime rt = Runtime.getRuntime();
    Process child;
    // The java class getmagic is a special kind of java file that uses classes that work in matlab. It uses a component (.jar) file that is created from matlab java builder. thats why it wants the -classpath and the rest options.
    //I hope you wont get messed up in here.
    String[] callAndArgs = {"java","-classpath",".;C:\\Program Files\\MATLAB\\R2006b\\toolbox\\javabuilder\\jar\\javabuilder.jar;..\\MagicDemoComp\\magicsquare\\distrib\\magicsquare.jar -Djava.library.path=C:\\Program Files\\MATLAB\\R2006b\\bin\\win32;","getmagic","4"};
    try{
    child = rt.exec(callAndArgs);
    InputStream is = child.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line;
    while ((line = br.readLine()) != null)
    System.out.println(line);
    is.close();
    System.out.println(child.waitFor());
    System.out.println("Finished");
    }catch(IOException e) {
    System.err.println("IOException starting process!");
    }catch(InterruptedException e) {
    System.err.println("InterruptedException starting process!");
    The java program (getmagic) thats uses matlab gives the following output (after some time) when called in cmd with argument 4
    Magic square of order 4
    16 2 3 13
    5 11 10 8
    9 7 6 12
    4 14 15 1
    My program shown above only prints:
    Magic square of order 4
    1
    Finished.
    Do i do something wrong? How can i get the rest of the output???
    Thank you very much in advance,
    Stacey
    PS: I am sorry for the length of my post.

    Hello CaptainMorgan08, thanx for the instant reply.
    I tried, but no, i cant.
    Because i cannot include this java aplication that uses matlab into my application, cause 1) it needs special arguments in the compiler and during execution so it can be run and 2) it uses classes that java doesnt have. only the java-like matlab code.
    For example it uses:
    import com.mathworks.toolbox.javabuilder.*;
    import magicsquare.*; //the component which is made from matlab java builder.
    So i cannot compile it with my application!
    If you know of a way, please let me know!
    I know i might be missing something.. something that is obvious to you.. but i ve been working days=nights hardly no sleep..so you can excuse me if i say something foolish..
    Message was edited by:
    Stacey_Gr

  • Foreign Object stuck to the inside glass of my new 24" iMac

    Hi -
    I received my new 24" iMac today - and to my bitter disappointment when I turned it on, there's a 4mm black object (looks like a piece of black foam/sponge) stuck on the inside glass of my display. I can see the display behind it, which is absolutely fine, no dead pixels. It's stuck itself in the middle of the screen, approx 2 inches down from the isight camera!
    It seems to be something lightweight/affixed by static electricity as it moves slightly when i rub the glass gently with the supplied polishing cloth over it -
    What do i do??!!
    Most service centres here in Melbourne (Australia) have a minimum 1 week turn around to even look at it!
    Very disappointed
    Message was edited by: Paul Troon

    Hey Tim,
    Thanks for the info - It was purchased through the Apple Online Store.
    After I spoke with you, someone from Apple called back to say that they were going to replace it - I'd taken photos of the issue and emailed them through originally.
    - it's going to take a couple of weeks to get the new machine as apparently they're all shipping from Asia (Had a very impatient wait with the apple & TNT parcel tracker widget!) - and I also got a 500gb hdd put in as well, but they're happy for me to use this one until the new one arrives which is great, then there's apparently going to be a couple of days between them picking the old machine up and delivering the new one.
    Everyone at Apple has been so helpful and responsive though, I've been really impressed with the service.

  • How to export a reference to a table line from a method?

    Hello,
    I have a class which has a hashed table as an attribute. I want to retrieve a line from the table using the key and return a reference to the table line. I want changes to the return value of the method to be directly reflected in the table, as if using a local field symbol. I have tried to approaches, neither of which works.
    First, I returned a reference to the local field symbol. This dumps, because after returning from the method call, the target of this reference no longer resides on the stack.
    Second, I have tried using an export parameter marked as "pass by reference", i. e. without VALUE(). Strangely, this still seems to give me only a copy of the data.
    What is the correct way to proceed?
    Illustrative pseudo-code follows.
    Thanks, Sebastian
    *==============================================================
    *Possibility 1: (using references)
    DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
    METHODS get
        IMPORTING
          !is_key TYPE zs_key
        EXPORTING
          !er_vt TYPE REF TO zs_entity.
    METHOD get.
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      READ TABLE mt_key_value WITH KEY key = is_key ASSIGNING <fs_vt>.
      GET REFERENCE OF <fs_vt> INTO er_vt.
    ENDMETHOD.     
    " Client Code:
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      CALL METHOD get
        EXPORTING
          is_key        = is_key
        IMPORTING
          er_vt         = lr_vt.
      ASSIGN lr_vt->* TO <fs_vt>.  " will dump, because the local field symbol
                                   " to which lr_vt points is no longer on the stack
      <fs_vt>-value = 'newdata'.       
    *==============================================================
    *Possibility 2:  (using a structure passed by reference)
    DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
    METHODS get
        IMPORTING
          !is_key TYPE zs_key
        EXPORTING
          !es_vt TYPE zs_entity.  
    METHOD get.
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      READ TABLE mt_key_map WITH KEY key = is_key ASSIGNING <fs_vt>.
      es_vt = <fs_vt>.
    ENDMETHOD.   
    " Client Code:
      DATA: ls_vt TYPE zs_entity.
      CALL METHOD get
        EXPORTING
          is_key        = is_key
        IMPORTING
          es_vt         = ls_vt.
      ls_vt-value = 'newdata'.   " will not change the contents of the
                                 " table mt_key_value       

    In the first approch, try to change the exporting parameter type REF TO DATA.
    Try like:
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
        METHODS:
          constructor,
          get
            IMPORTING
              if_matnr TYPE matnr
            EXPORTING
              ea_mara  TYPE REF TO data.
    ENDCLASS.                    "lcl_test DEFINITION
    START-OF-SELECTION.
      DATA: lo_test TYPE REF TO lcl_test,
            lr_data TYPE REF TO data.
      FIELD-SYMBOLS: <fa_mara> TYPE ANY,
                     <f_field> TYPE ANY.
      CREATE OBJECT lo_test.
      lo_test->get(
        EXPORTING
          if_matnr = '000000000077000000'   " << Replace Your Material
        IMPORTING
          ea_mara  = lr_data ).
      ASSIGN lr_data->* TO <fa_mara>.
      ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
      <f_field> = space.
      WRITE: 'Done'.
    CLASS lcl_test IMPLEMENTATION.
      METHOD constructor.
        SELECT * INTO TABLE t_mara
               FROM mara
               UP TO 10 ROWS.
      ENDMETHOD.                    "constructor
      METHOD get.
        FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
        READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
        GET REFERENCE OF <lfs_mara> INTO ea_mara.
      ENDMETHOD.                    "get
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Trouble with Creative Cloud Updating apps

    Just purchased a month of Creative cloud and im not able to update Illustrator CS6 i get this message There was an error installing ithis update. Please try again later or contact customer support. (U44M1l216) I have a mac running OSX 10.8.3

  • Can't get past "Login" button in Dw

    Hey Dw community!  I have installed the BC extension and restarted everything, but cannot seem to get passed the "Login" button in Dw. I click and absolutely nothing happens. I have read a few forums telling us to deactivate and delete 'open.db' and

  • Can I Run a labview application in a hidden window (i.e. I don't want the front panel to pop up in this Labview created EXE)?

    I have a executable labview 6.1 program with a front panel. The front panel pops up every time I run it. Can I force the program to run without popping up its front panel. Thanks in Advance

  • Linkwall not blocking URLS by IP address

    Hi We have noticed that linkwall does not block sites if you use the IP address rather than the DNS name. For example in the linkwall.lst file Poker.com - The home of online poker games, rules & tournaments will block that site but not the IP address

  • Logging change in a specific field in a sap table

    Hi, i would know if it's possible to log the change only one a field in a table like AUFK. I create a new field and i want to know who and when a change is make. Thanks a lot. Edited by: draconagi on Mar 9, 2011 3:14 PM Edited by: draconagi on Mar 9,