Retrieve 2nd image if 1st image fails
hi all GURUs,
i have this jsp.code:
===============
<%@ page contentType="text/html"%>
<%@ page import="oracle.jdbc.driver.OracleConnection,java.sql.DriverManager, java.sql.SQLException, java.sql.*, javax.sql.*,java.io.*, java.text.*, java.util.*, javax.naming.*;"%>
<html>
<head>
<title>iMAGE bLOB</title>
</head>
<body>
<%
response.setContentType("image/jpeg");
char c;
byte [] b;
int i=0;
String rs_stafinfo__MMColParam = "1";
if (request.getParameter("stafid")!=null) {rs_stafinfo__MMColParam = (String)request.getParameter("stafid");}
try
Context initContext = new InitialContext();
DataSource ds = (DataSource)initContext.lookup("java:/comp/env/jdbc/smkview");
Connection con = ds.getConnection();
Statement stmt=con.createStatement();
ResultSet rs=stmt.executeQuery("select KK90PSTAFF from SMK.KK90FPSTAFF where SUBSTR(KK90UKMPER,3, 8)='"+rs_stafinfo__MMColParam+"'");
if (rs.next())
ServletOutputStream sout = response.getOutputStream();
InputStream in = rs.getBinaryStream("KK90PSTAFF");
int avlBytes = in.available();
b = new byte[avlBytes]; /*[0x7a120]; */
for(i = in.read(b); i >= 0;)
sout.write(b);
i = in.read(b);
in.close();
sout.flush();
sout.close();
stmt.close();
rs.close();
con.close();
catch (SQLException e)
System.err.println (e) ;
%>
<%=e%>
<%
%>
</body>
</html>
===============
What i would like to do is if my retrieve is fail due to null column, i want to retrieve another image which is in the same table as a replacement. I've tried to put it in the else part but fail. Any clue ?
Thanx in advance.
I tried your solution but gives me this error...
=====
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Exhausted Resultset
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.miseona.smson.TESTstafinfo_jsp._jspService(TESTstafinfo_jsp.java:430)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.sql.SQLException: Exhausted Resultset
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
oracle.jdbc.driver.OracleStatement.prepare_for_new_get(OracleStatement.java:3378)
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5854)
oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5833)
oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:765)
oracle.jdbc.driver.OracleResultSet.getObject(OracleResultSet.java:1470)
org.apache.commons.dbcp.DelegatingResultSet.getObject(DelegatingResultSet.java:289)
org.apache.jsp.miseona.smson.TESTstafinfo_jsp._jspService(TESTstafinfo_jsp.java:200)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs
====
Similar Messages
-
I have one folder with a series of images and I want to create a new folder where the first image is just the first image, the second image is the first 2 images (blending - lighten), the third made up of the first 3 images, and so on. this needs to be done with a few hundred images, hence why i need an automatic way of doing it.
ThanksThat script modified to save quality 10 jpeg files and a layerd Tiff at the end
// save copies with the selected files progressively applied with blend mode lighten;
// 2011, use it at your own risk;
#target photoshop
// select files;
if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", '*.jpg;*.tif;*.eps', true)}
else {var theFiles = File.openDialog ("please select files", getFiles, true)};
// tif options;
tifOpts = new TiffSaveOptions();
tifOpts.embedColorProfile = true;
tifOpts.imageCompression = TIFFEncoding.TIFFLZW;
tifOpts.alphaChannels = false;
tifOpts.byteOrder = ByteOrder.MACOS;
tifOpts.layers = true;
// jpg options;
jpgOpts = new JPEGSaveOptions();
jpgOpts.embedColorProfile = true;
jpgOpts.formatOptions = FormatOptions.STANDARDBASELINE;
jpgOpts.matte = MatteType.NONE;
jpgOpts.quality = 10;
// open first file;
var theFile = app.open(File(theFiles[0]));
var basename = theFile.name.match(/(.*)\.[^\.]+$/)[1];
var docPath = theFile.path;
// create folder;
var folderPath = docPath + "/results";
if (Folder(folderPath).exists == false) {
var theFolder = Folder(folderPath).create()
// save file;
theFile.saveAs((File(folderPath+"/"+basename+"_"+bufferNumberWithZeros(1,3)+".jpg")),jpgOp ts,true,Extension.LOWERCASE);
// work through the rest of the files;
if (theFiles) {
for (var m = 1; m < theFiles.length; m++) {
placeFile(theFiles[m]);
theFile.layers[0].blendMode = BlendMode.LIGHTEN;
//theFile.flatten();
//theFile.saveAs((new File(folderPath+"/"+basename+"_"+bufferNumberWithZeros(m+1,3)+".tif")),tifOpts,false);
theFile.saveAs((File(folderPath+"/"+basename+"_"+bufferNumberWithZeros(m+1,3)+".jpg")),jp gOpts,true,Extension.LOWERCASE);
theFile.saveAs((new File(folderPath+"/"+basename+"_"+bufferNumberWithZeros(m+1,3)+".tif")),tifOpts,false);
theFile.close(SaveOptions.DONOTSAVECHANGES);
////// get psds, tifs and jpgs from files //////
function getFiles (theFile) {
if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
return true
////// buffer number with zeros //////
function bufferNumberWithZeros (number, places) {
var theNumberString = String(number);
for (var o = 0; o < (places - String(number).length); o++) {
theNumberString = String("0" + theNumberString)
return theNumberString
////// place //////
function placeFile (aPath) {
// =======================================================
var idPlc = charIDToTypeID( "Plc " );
var desc2 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
desc2.putPath( idnull, new File( aPath ) );
var idFTcs = charIDToTypeID( "FTcs" );
var idQCSt = charIDToTypeID( "QCSt" );
var idQcsa = charIDToTypeID( "Qcsa" );
desc2.putEnumerated( idFTcs, idQCSt, idQcsa );
var idOfst = charIDToTypeID( "Ofst" );
var desc3 = new ActionDescriptor();
var idHrzn = charIDToTypeID( "Hrzn" );
var idRlt = charIDToTypeID( "#Rlt" );
desc3.putUnitDouble( idHrzn, idRlt, 0.000000 );
var idVrtc = charIDToTypeID( "Vrtc" );
var idRlt = charIDToTypeID( "#Rlt" );
desc3.putUnitDouble( idVrtc, idRlt, -0.000000 );
var idOfst = charIDToTypeID( "Ofst" );
desc2.putObject( idOfst, idOfst, desc3 );
executeAction( idPlc, desc2, DialogModes.NO ); -
System image utility (server 4) failing
iMac (21.5-inch, Late 2012) with Yosemite 10.10.1 won't image with System Image Utility
I'm using a procedure I've done successfully for a long time with Mavericks. Any suggestions, of course, are welcome.
Create NetRestore Image
Initiating NetRestore from installed volume.
Volume Macintosh HD on disk0s2 unmounted
MESSAGE:Preparing imaging engine…
MESSAGE:Reading whole disk (Apple_HFS : 0)…
MESSAGE: (CRC32 $947173A0: whole disk (Apple_HFS : 0))
MESSAGE:Adding resources…
MESSAGE:Elapsed Time: 16m 37.842s
MESSAGE:File size: 55062652965 bytes, Checksum: CRC32 $94912255
MESSAGE:Sectors processed: 1458433608, 185811721 compressed
MESSAGE:Speed: 90.9Mbytes/sec
MESSAGE:Savings: 92.6%
created: /Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/System.dmg
Volume Macintosh HD on disk0s2 mounted
Volume Recovery HD on disk0s3 mounted
Volume Recovery HD on disk0s3 unmounted
Block checksum: ....10....20....30....40....50....60....70....80....90....100
successfully scanned image "/Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/System.dmg"
created: /Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/NetInstall.dmg
mv: /tmp/mnt.wHfAkTH3/Packages/System.dmg: No space left on device
Execution of 'createRestoreFromSources.sh' failed. Cleaning up.
"disk2" unmounted.
"disk2" ejected.
Failed to create image from restore source.
The operation couldn’t be completed. (System Image Utility error 2.)
Image creation process finished...
Stopping image creation.iMac (21.5-inch, Late 2012) with Yosemite 10.10.1 won't image with System Image Utility
I'm using a procedure I've done successfully for a long time with Mavericks. Any suggestions, of course, are welcome.
Create NetRestore Image
Initiating NetRestore from installed volume.
Volume Macintosh HD on disk0s2 unmounted
MESSAGE:Preparing imaging engine…
MESSAGE:Reading whole disk (Apple_HFS : 0)…
MESSAGE: (CRC32 $947173A0: whole disk (Apple_HFS : 0))
MESSAGE:Adding resources…
MESSAGE:Elapsed Time: 16m 37.842s
MESSAGE:File size: 55062652965 bytes, Checksum: CRC32 $94912255
MESSAGE:Sectors processed: 1458433608, 185811721 compressed
MESSAGE:Speed: 90.9Mbytes/sec
MESSAGE:Savings: 92.6%
created: /Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/System.dmg
Volume Macintosh HD on disk0s2 mounted
Volume Recovery HD on disk0s3 mounted
Volume Recovery HD on disk0s3 unmounted
Block checksum: ....10....20....30....40....50....60....70....80....90....100
successfully scanned image "/Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/System.dmg"
created: /Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/NetInstall.dmg
mv: /tmp/mnt.wHfAkTH3/Packages/System.dmg: No space left on device
Execution of 'createRestoreFromSources.sh' failed. Cleaning up.
"disk2" unmounted.
"disk2" ejected.
Failed to create image from restore source.
The operation couldn’t be completed. (System Image Utility error 2.)
Image creation process finished...
Stopping image creation. -
Bundles for Image Explorer & ZISWIN.exe fail in Windows 8.1
ZCM version 11.3.1.39328, building Windows 8.1 workstation image, and testing existing bundles in the new OS. Both Image Explorer and ZISWIN fail. Image Explorer simply does not appear to run. ZISWIN runs but gives no information, indicating only that the user (an administrator) does not have the rights to view the ISD.
If I browse to ZISWIN.exe and double-click it, I get the same thing. If I right-click it and "run as administrator" it works. However, you don't get "run as administrator" as an option when you right-click a NAL shortcut, you just get Open and Properties.
Image Explorer is similar, but more peculiar. If I double-click zmgexp.bat, I get a bunch of errors about Java being missing. If I right-click zmgexp.bat and choose "run as administrator" I get a different bunch of errors also complaining about Java. If I open up an admin Command Prompt and run zmgexp.bat from within that, then it works.
So, my question is this: Has anyone found a way to build bundles that work in Windows 8.1 for applications which depend upon running in the protected administrative environment?Running the Bundle as "Dynamic Administrator" should bypass UAC.
Sometimes you may need to work with the zmgexp.bat to make sure that
JAVA is properly located.
On 10/16/2014 2:26 PM, kennolson wrote:
>
> ZCM version 11.3.1.39328, building Windows 8.1 workstation image, and
> testing existing bundles in the new OS. Both Image Explorer and ZISWIN
> fail. Image Explorer simply does not appear to run. ZISWIN runs but
> gives no information, indicating only that the user (an administrator)
> does not have the rights to view the ISD.
>
> If I browse to ZISWIN.exe and double-click it, I get the same thing. If
> I right-click it and "run as administrator" it works. However, you don't
> get "run as administrator" as an option when you right-click a NAL
> shortcut, you just get Open and Properties.
>
> Image Explorer is similar, but more peculiar. If I double-click
> zmgexp.bat, I get a bunch of errors about Java being missing. If I
> right-click zmgexp.bat and choose "run as administrator" I get a
> different bunch of errors also complaining about Java. If I open up an
> admin Command Prompt and run zmgexp.bat from within that, then it
> works.
>
> So, my question is this: Has anyone found a way to build bundles that
> work in Windows 8.1 for applications which depend upon running in the
> protected administrative environment?
>
>
Going to Brainshare 2014?
http://www.brainshare.com
Use Registration Code "nvlcwilson" for $300 off!
Craig Wilson - MCNE, MCSE, CCNA
Novell Technical Support Engineer
Novell does not officially monitor these forums.
Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human. -
Content-based image retrieval with SQL/MM Still Image
Hi
With ORDIMage signature matching being deprecated in 11g, does anyone have any experience of performing content based image retrieval with SQL/MM Still Image?
Thanks
BrianThe details in that thread is the only information that can be shared.
Melli
Oracle Multimedia -
Slideshow keeps skipping 1st image
I have put together a flash slideshow in DW 8 and everything
looks fine except for one issue-- after you have gone through all
the images and start from the beginning, it seems to skip by the
1st image. I have tried viewing the sites in other browsers, and
had others look at it from other computers and it still does the
same. Here is the link:
http://adn-cip.waketech.edu/photos.html
I was just wondering it this is a bug and if there is any fix
for it. Any suggestions? Thanks!You would need to look at the flash movie fla to see what is
wrong. My
suspicions is that it is set to return to flame 2 rather than
1, as the
first frame is probably only designed to be a placeholder
while the rest of
the movie loaded in the background.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"RayniaSky" <[email protected]> wrote in
message
news:ep338u$9m8$[email protected]..
>I have put together a flash slideshow in DW 8 and
everything looks fine
>except
> for one issue-- after you have gone through all the
images and start from
> the
> beginning, it seems to skip by the 1st image. I have
tried viewing the
> sites in
> other browsers, and had others look at it from other
computers and it
> still
> does the same. Here is the link:
>
>
http://adn-cip.waketech.edu/photos.html
>
> I was just wondering it this is a bug and if there is
any fix for it. Any
> suggestions? Thanks!
> -
System Image Utility: NetInstall creation failed
Hi all,
I'm trying to create a NetRestore image. I'm doing this in 10.6.8 Server. I have a .dmg file which is a clone of the "template" hard drive I set up. When I create the NetRestore image, it tells me there's no room left on the device. I'm doing it on a machine with over 350GB of disk space left, so I'm not sure how much space it thinks it needs. below is the output. The dmg file is 49.1GB and contains a disk with a capacity of 159.7GB (110.6GB used). Below is the output. Any ideas? Thanks much!
Jeff
=====================
Starting image creation.
Workflow Started (2014-05-22 08:18:43 -0400)
Mac OS X Server 10.6.8 (10K549), System Image Utility 10.6.7 (448)
Starting action: Define Image Source (1.2)
Finished running action: Define Image Source
Starting action: Create Image (1.5.4)
Starting image creation process...
Create NetInstall Image
Initiating NetInstall from Restore Media.
created: /Volumes/Storage/Library/NetBoot/NetBootSP0/20140515-1068-k2user/System.dmg
Checksumming partition of size 63 blocks...done
Block checksum: ....10....20....30....40....50....60....70....80....90....100
File checksum: ....10....20....30....40....50....60....70....80....90....100
Reordering: ....10....20....30....40....50....60....70....80....90....100asr: successfully scanned image "/Volumes/Storage/Library/NetBoot/NetBootSP0/20140515-1068-k2user/System.dmg"
created: /Volumes/Storage/Library/NetBoot/NetBootSP0/20140515-1068-k2user/NetInstall.dmg
installer: Package name is SIUExtras
installer: Installing at base path /private/tmp/mnt.yp2Bxx
installer: The install was successful.
mv: /tmp/mnt.yp2Bxx/System/Installation/Packages/System.dmg: No space left on device
Script is done.
NetInstall creation failed.
Image creation process finished...
Stopping image creation.
Image creation failed.
Assistant - Selected source:"NetBoot of Mac HD".
=====================I'm getting the same/similar building a 10.10 NetRestore image. How does one get compression to be nice and reliable?
Or is there something else I'm missing? I installed 10.10 and 10.10 server/tools the same day, so should be in sync, right? I'm using a procedure I've done successfully for a long time with Mavericks. Any suggestions, of course, are welcome.
Create NetRestore Image
Initiating NetRestore from installed volume.
Volume Macintosh HD on disk0s2 unmounted
MESSAGE:Preparing imaging engine…
MESSAGE:Reading whole disk (Apple_HFS : 0)…
MESSAGE: (CRC32 $947173A0: whole disk (Apple_HFS : 0))
MESSAGE:Adding resources…
MESSAGE:Elapsed Time: 16m 37.842s
MESSAGE:File size: 55062652965 bytes, Checksum: CRC32 $94912255
MESSAGE:Sectors processed: 1458433608, 185811721 compressed
MESSAGE:Speed: 90.9Mbytes/sec
MESSAGE:Savings: 92.6%
created: /Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/System.dmg
Volume Macintosh HD on disk0s2 mounted
Volume Recovery HD on disk0s3 mounted
Volume Recovery HD on disk0s3 unmounted
Block checksum: ....10....20....30....40....50....60....70....80....90....100
successfully scanned image "/Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/System.dmg"
created: /Users/steve/Desktop/CC2014_oct_Yos_111314.nbi/NetInstall.dmg
mv: /tmp/mnt.wHfAkTH3/Packages/System.dmg: No space left on device
Execution of 'createRestoreFromSources.sh' failed. Cleaning up.
"disk2" unmounted.
"disk2" ejected.
Failed to create image from restore source.
The operation couldn’t be completed. (System Image Utility error 2.)
Image creation process finished...
Stopping image creation. -
Component Loader - how to have 1st image visible
I'm a rookie at Flash, so excuse the simpleness of my
question. By the way, I'm using Flash 8.
I want to use the Component Loader that I gave myLoader as an
instance name. I'm using an action script for each button (which
are thumbnails of my big images) with the on(release)
{myLoader.contentPath - "imagename.jpg";} action. My problem is
that I want the 1st image to show, I don't want a blank clip when
it first opens up. How do I get the first image to show but then go
away when the other images are called. I tried simply putting an
image on my first frame, but then everytime I click on a button to
see a different image, during the time the new image is loading, it
brings me back to the image on frame 1 for a second or 2.the easiest method is actually right there in front of you.
Take the code you have inside your on(release) (the
myLoader.contentPath...) and simply copy it to the main timeline.
This will cause an image of your choosing to appear first.
Subsequent calls will not show the original image under them if
done this way. -
Image Capture in Lion fails to invert orientation of image from scanner
I have been using Image Capture for scanning documents for awhile, and I often feed the documents in from the bottom. Feeding this way requires that I select an option that inverts the final image. Since upgrading to Lion, the inversion option fails. I have a duplex scanner, and the image inversion option only fails on the odd pages, not the even (duplex) pages scanned. When I do not have the duplex option selected, the inversion fails on all pages.
This seems like a quick bug fix for Apple.I have a solution. Its a workaround but it works pretty well. I made an Automator script that will combine PDFs in that are a folder. It will sort the individual PDF pages by creation date in descending order so that the result is in the order that was scanned.
Scan the documents through your scanner's feeder and select "Duplex" if you have it. But do not select "Combine into single document." Put all the scanned PDFs in a new folder. Once all the scanning is done, run the app and it will ask you for the folder. Simply select the folder and a newly combined PDF will appear on your Desktop.
Download the automator script from my dropbox link. The zip file contains both the app and the automator file in case you want to tinker with it. Cheers.
https://dl.dropboxusercontent.com/u/2436819/Combine%20PDF.zip -
In After Effects CC, images added to listboxes fail to appear at first
Given a simple listbox with images, created like so:
function buildUI(this_obj_) {
var winDef = (this_obj_ instanceof Panel)
? this_obj_
: new Window('palette', 'testing listbox',[194,174,644,406]);
winDef.ctl_list1 = winDef.add('listbox', [10,20+10+10,160+10,140+10], ["1 ", "2 ", "3 "]);
winDef.ctl_list1.items[0].image = File("/valid/image/location/test1.png");
winDef.ctl_list1.items[1].image = File("/valid/image/location/test2.png");
winDef.ctl_list1.items[2].image = File("/valid/image/location/test3.png");
winDef.ctl_button5 = winDef.add('button', [332,189,416,215], 'OK');
winDef.ctl_button5.onClick = function () {this.parent.close(1);}
return winDef
var builtWin = buildUI(this);
if (builtWin.toString() == "[object Panel]") {
builtWin;
} else {
builtWin.show();
In After Effects CC, loading this script as a ScriptUI Panel (at least on OSX) initially shows no images, until some interface interaction is made (clicking on listbox, showing about box, sometimes switching apps, etc.).
Is there a way to get these images to show correctly on launch of the script? Anything I add to the script, including phantom buttons with notify("onClick") tricks, seems to run while the script is still being created (even if added after the panel being built/shown), and the initial "no-image" listbox is shown. I'm also curious to know if this behavior is the same on Windows, and if anyone can test this it would be great.Appears to be a bug with CC, I even rewrote a test script using a different coding approach. I've filed bug reports before for listbox. I've gotten times where a multi-column list content will overlap from column to column. It fixes itself once you click on the listbox or attempt to resize a column.
Here's the setup I used:
function TEST(thisObj){
function TEST_buildUI(thisObj){
var pal = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Test", undefined, {resizeable:true});
if (pal != null){
var res ="group {orientation:'column', alignment:['fill','fill'], alignChildren:['fill','top'],\
folderPathListbox: ListBox{alignment:['fill','fill'], properties:{multiline:true, numberOfColumns:1, showHeaders:true, columnTitles: ['TEST']}},\
pal.grp = pal.add(res);
///CONTROL VARIABLES
var folderPathListbox = pal.grp.folderPathListbox;
///POPULATE
try{
var listLen = 5;
var curItem;
for(var i=1; i<=listLen; i++){
curItem = folderPathListbox.add('item', i);
curItem.image = File("~/Desktop/Alert.png");
}catch(err){alert(err)}
pal.layout.layout(true);
pal.grp.minimumSize = pal.grp.size;
pal.layout.resize();
pal.onResizing = pal.onResize = function () {this.layout.resize();}
return pal;
var rPal = TEST_buildUI(thisObj);
if (rPal != null){
if (rPal instanceof Window){
rPal.center();
rPal.show();
TEST(this); -
XMLFormService Error importing image. Unsupported image format.
Hello,
I'm getting the following error when trying to import an image into a form:
2010-10-04 08:56:35,717 WARN [com.adobe.document.XMLFormService] ALC-XTG-017-936: [8392] Error importing image. Unsupported image format.
2010-10-04 08:56:35,717 WARN [com.adobe.document.XMLFormService] ALC-XTG-029-461: [8392] XFAImageService: Image cannot be resolved for node: ImageField1.
The strange thing is that it works fine on our production server, yet it fails in development. I've restarted jboss, flushed tmp, work, and data, replaced the images, but still nothing. The image that won't load is a 1 pixel by 1 pixel JPG image, so it's not like it could be too large or anything.
Please help if you have any insight into this problem.
Thanks!So when I went to get the image, it wouldn't load in the Web browser, and it looks like that was the problem. I mentioned that I had tried changing the image. I was actually changing a field in the database that says which image to retrieve. I'm wondering if maybe I was changing the wrong record or maybe my query browser wasn't updating the DB correctly. I can't find the record I was using last week when I reported the issue, but either way, I'm glad it's working now.
Thanks for the help. -
Placing OS image and Data image on right partition
Hi ,
We are facing issue in placing right image at the right partition.
We have OS image and data image. We are formatting and partitioning HDD as 40% (OSDisk) and remaining 100% as (Data). Both paritioons are active and selected as primary.
Then in installing operating system step, i have selected place image based on variable 'OSDisk'
and Data image is also slected to be placed based on variable 'Data'.
TS finishes without any issues but when i login to the machine i can see that OSDisk has become 'D' Drive and Data Drive has become 'C' so it shows C drive with label as 'Data' and D drive is label as 'OSDisk'
I want to place OS on C drive and Data drive should always be as 'D' drive.
I have tried another method and this time i tried to install OS as 'place based on stored variable i.e. OSDisk but install data image as next available partition but with this placement OS never boot after restart and TS eventually fails.
My aim is to make 'C' drive contain OS image and 'D' Drive to containg data image content and not the otherway around as it is happening with current test.
Any suggestions will be highly appreciated. Thanks.
Regards,Hi ,
Yes it is Config manager 2012 R2 but image is actually not source media install.wim. It a custom captured image through MDT2013. Image has 1 partition only.
However I tried the above solution but drive letters are still not coming correct for OSDisk and Data Drive. Data is coming on 'C' drive and OSDisk is coming at 'D' drive.
Regards, -
Retrive image path of image after cameraRoll addBitmapData
Is it possible to retrieve the image url of image which added to the CameraRoll via addBitmapData ?
Thanks,
Nimrod SionThat doesn't have anything to do with retrieving the imagepath after adding to the camera roll sirdragoon....
The only thing I can think of for this is that 1) you cant trace back the path to the camera roll for iOS because of how closed their system is and 2)the android path would always be the same once you find out the initial path. I do not think actaully adding the image to the camera roll will return the path unfortunately. You will have to open up the browseforimage method and trace out the images path from the return mediapromise (For Android). -
In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?
Please don't post the same question multiple times!
-
What is diff B/W dalta image and reverse image
What is diff B/W dalta image and reverse image
Edited by: Philip Eller on Jun 3, 2008 8:44 AM
Edited by: Philip Eller on Jun 17, 2008 9:18 AM*Please post your question to the BW forum.
Maybe you are looking for
-
Is there a way to force my iPad to shut down? I "slid" to turn off three hours ago. The "wheel" is still spinning in the middle of the screen.
-
How do I restore my music and playlists from my iPod 4g to my iPod 5g?
I did a "full" backup to my computer of my old iPod, and restored my new iPod from that backup, but my music is completely empty and I don't want to manually put all my music and playlists back together. Help???
-
When I try to update some apps on my 5s phone a screen appears with some else's mail account that has nothing to do with me. The phone dosen't give me the oppition to change the address. How can I fix this?
-
How do I compile Midlets?
I have jdk1.6.0_05 and CDC Tool Kit 1.0 Is that enough? I get the error of package javax.microedition.midlet does not exist import javax.microedition.midlet.*; But the sample Xlet complies Ok.
-
Magic Tablespace in partitioned Table
Hi, i have a part. Table with two Partitions. That means i can use two Tablespaces? Hmm i thought that till last week than i found this: CREATE TABLE "SCOTT"."EMP_REORG" ( "EMPNO" NUMBER(4,0), "DEPTNO" NUMBER ) PCTFREE 10 PCTUSED 40 INITRANS