Error uploading employee image.
Hi All
When I try to upload an employee's image, I am getting the error HR_IMAGE_UPLOAD UX ERROR: HRTNSLK.
How to solve this?
Thanks
Rahman
Please refer to Note:202793.1, Note:223746.1, Note:140528.1
Hope it helps you to resolve the issue.
Similar Messages
-
Hi Guys,
I am able to upload employee images for single employee using 'OOAH' and 'OOAD' . My requirement is mass upload of images. I am unable to record shdb as these transaction contain browse option , i tried using "ARCHIV_CREATE_DIALOG_META "
Import parameters Value
ARCHIV_ID A2
AR_OBJECT HRICOLFOTO
DEL_DATE
NOTE
OBJECT_ID 102
SAP_OBJECT PREL
FILE C:\11.JPG
COMMIT_FLAG
ARC_DOC_ID CO DOC_CLASS
DF7AA9E6FB1300F1A5D100215E270DFE A2 JPG
But i am unable to see the picture , can you please suggest me bdc upload program or any changes if i have give to this function module .
Thanks in advance .Try this.
REPORT zhriphoto NO STANDARD PAGE HEADING LINE-SIZE 255
MESSAGE-ID zdev .
*I N T E R N A L T A B L E S
DATA : BEGIN OF gt_photo OCCURS 0,
pernr(8),
END OF gt_photo.
DATA: g_path LIKE draw-filep,
g_sapobjid LIKE sapb-sapobjid,
g_filename TYPE string,
g_sappfad LIKE sapb-sappfad.
PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY. " Document route
*& Initialization
INITIALIZATION.
CONCATENATE sy-uname sy-datum+4(4) INTO group.
START-OF-SELECTION
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING " DEF_FILENAME = ' '
def_path = 'C:\'
mask = ',Text Files,.txt;.prn,All Files,..'
mode = 'O'
title = 'Chose File'(100)
IMPORTING
filename = p_file
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc <> 0 AND sy-subrc <> 3.
MESSAGE e102(zdev) WITH 'Error Selecting File'(007).
ENDIF.
START-OF-SELECTION
START-OF-SELECTION.
g_path = p_file.
CALL FUNCTION 'CV120_SPLIT_PATH'
EXPORTING
pf_path = g_path
IMPORTING
pfx_path = g_path.
g_filename = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = g_filename
FILETYPE = 'ASC'
has_field_separator = 'X'
dat_mode = 'X'
TABLES
data_tab = gt_photo
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE s306 .
ENDIF.
LOOP AT gt_photo.
CONCATENATE g_path gt_photo-pernr '.JPG' INTO g_sappfad.
CONCATENATE gt_photo-pernr '0002' INTO g_sapobjid.
CALL FUNCTION 'ARCHIV_CREATE_FILE'
EXPORTING
ar_object = 'HRICOLFOTO'
object_id = g_sapobjid
sap_object = 'PREL'
doc_type = 'JPG'
path = g_sappfad
EXCEPTIONS
error_conectiontable = 1
error_parameter = 2
error_archiv = 3
error_upload = 4
error_kernel = 5
no_entry_possible = 6
error_comunicationtable = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR g_filename.
ENDLOOP.
END-OF-SELECTION
END-OF-SELECTION.
WRITE / 'Done succesful!'. -
I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?
Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.
-
Error while uploading employee photo
i m getting following eror while uploading employee photo through storage server
Error in HTTP Access : IF HTTP_CLIENT-RECEIVE 1 ICM_HTTP_CONNECTION_FAILED
Pls replyHi archana
you have to go with OAC0 tcode here in content repository double click on A5 which is standard one go in details-->clickon fulladministration then in that screen you will be having Basic path and Achive path there basis people need to give sapgui code.
they will be have this code in servermanagemt. i am not clear of this code where they can find. but i am sure of that this code will be given by basis people only. then go with OAOH tcode. give the details as usal and one more thing is that the photo should be save jpeg formate.
Regards
Suresh -
Error when trying to upload an image
Hi!
I'm trying to upload an image to my container name "vhds" inside storage account "pruebasatfacr" but I'm getting the following error:
[root@vmlbcatfl49 KVM]# azure storage blob upload -a pruebasatfacr -k "$base64string" --container vhds
info:
Executing command storage blob upload
File name: azure-POSTGRES-9.3.2-RHEL-65.X64.ATF.PRB-disk1.vdh
+ Checking blob azure-POSTGRES-9.3.2-RHEL-65.X64.ATF.PRB-disk1.vdh in container vhds
error:
getaddrinfo ENOTFOUND
info:
Error information has been recorded to azure.err
error:
storage blob upload command failed
[root@vmlbcatfl49 KVM]# cat azure.err
Fri Jan 02 2015 09:07:47 GMT+0100 (CET):
{ [Error: getaddrinfo ENOTFOUND]
stack: [Getter/Setter],
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
__frame:
{ name: '__1',
line: 270,
file: '/usr/lib/node_modules/azure-cli/lib/util/storage.util._js',
prev:
{ name: 'StorageUtil_performStorageOperation__1',
line: 251,
file: '/usr/lib/node_modules/azure-cli/lib/util/storage.util._js',
prev: [Object],
active: false,
offset: 19,
col: 4 },
active: false,
offset: 2,
col: 15 },
rawStack: [Getter] }
Error: getaddrinfo ENOTFOUND
at errnoException (dns.js:37:11)
at Object.onanswer [as oncomplete] (dns.js:124:16)
at __1 (/usr/lib/node_modules/azure-cli/lib/util/storage.util._js:272:15)
at StorageUtil_performStorageOperation__1 (/usr/lib/node_modules/azure-cli/l
at uploadAzureBlob (/usr/lib/node_modules/azure-cli/lib/commands/asm/storage
I guess that can be a DNS
issue but I need more information about that, does anyone
know why can it be caused?
Thanks in advance!Hi again and thanks for your response!
I have a VM with Azure CLI tool running with RHEL 6.5, so that I think i can't use AzCopy only compatible for Windows O.S.
The file that I want to upload is located on Azure CLI server and I execute de following command:
[root@vmlbcatfl49 KVM]# azure storage blob upload -a pruebasatfacr -k "$base64string" --container vhds
info:
Executing command storage blob upload
File name: azure-POSTGRES-9.3.2-RHEL-65.X64.ATF.PRB-disk1.vdh
+ Checking blob azure-POSTGRES-9.3.2-RHEL-65.X64.ATF.PRB-disk1.vdh in container vhds
error:
getaddrinfo ENOTFOUND
info:
Error information has been recorded to azure.err
error:
storage blob upload command failed
Further info related to this error:
[root@vmlbcatfl49 KVM]# cat azure.err
Fri Jan 02 2015 09:07:47 GMT+0100 (CET):
{ [Error: getaddrinfo ENOTFOUND]
stack: [Getter/Setter],
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
__frame:
{ name: '__1',
line: 270,
file: '/usr/lib/node_modules/azure-cli/lib/util/storage.util._js',
prev:
{ name: 'StorageUtil_performStorageOperation__1',
line: 251,
file: '/usr/lib/node_modules/azure-cli/lib/util/storage.util._js',
prev: [Object],
active: false,
offset: 19,
col: 4 },
active: false,
offset: 2,
col: 15 },
rawStack: [Getter] }
Error: getaddrinfo ENOTFOUND
at errnoException (dns.js:37:11)
at Object.onanswer [as oncomplete] (dns.js:124:16)
at __1 (/usr/lib/node_modules/azure-cli/lib/util/storage.util._js:272:15)
at StorageUtil_performStorageOperation__1 (/usr/lib/node_modules/azure-cli/l
at uploadAzureBlob (/usr/lib/node_modules/azure-cli/lib/commands/asm/storage
Is it possible to continue exploring this option with the CLI tool to upload the file (.vhd)? -
I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
Bad Image
There was a problem with the image file.
Please help.Can you drag it to the Desktop?
-
BSP error when trying to upload employee photo
,<h1>.Dear Experts,<</h1>
<h2>I am trying to upload employee photo on my SAP system DB.
I am following note 595563 and performing below mentioned activities.</h2>
<h3> * Make sure that the HTTP plugin is active.</h3>
<h4> Transaction SMICM, "Display Services" function key (shift F1). The list of services must contain a port other than 0 for HTTP. If not, you must adjust the relevant profile parameter.
Typical entry:
icm/server_port_0 PROT=HTTP, PORT=1080, TIMEOUT=900
Make sure that the /sap/bc/contentserver service is active.
Transaction SICF, select: default_host - sap - bc - contentserver. Select the function to display/change the service. Check that a user is defined.
If a user is not defined, use Transaction SU01 to create a new user. Use the "System" user type. Assign the profiles SAP_ALL and SAP_NEW to the user.
Using the relevant data from the user that has just been created, maintain the anonymous logon data for the service /default_host/sap/bc/ and then save the changes.
Check the system PSE.
Start Transaction STRUST. Expand the system PSE. The system PSE must be green for each application server.
Determine a suitable exchange directory.
The archive system must be accessible from every application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application servers (for example,
server\share) is sufficient. You can generally use the global directory (profile parameter DIR_GLOBAL). You can use report RSPARAM to determine the profile parameters.
Setting up the storage
Create a table for storing the data.
Use Transaction SE11 to create a copy of table SDOKCONT1. If you want to create the repository database, you can call the table ZCONT_DB, for example. Save the table as a local object. Activate the table.
Create the repository.
Use Transaction OAC0 to create a new repository.
Use the following parameters:
Repository Max. two characters, for example, DB
Document area ArchiveLink
Storage type R/3 database
Storage subtype normal
Version no. 0046
Contents table <table name> for example: ZCONT_DB
Exchange directory <directory name> for example:
server\share\
Note that the exchange directory ends with a \ (or a / on Unix). If you are using a variety of platforms, you must use Transaction FILE to define a suitable logical file name, and use this file name.
Save the settings.
</h4>
<h5>
Everything goes well but when i try to test the Repository created by RSCMSTH0 in SE38 it throws the error </h5>
HTTP error: 404 Business Server Page (BSP) Error
Message no. CMS025
Diagnosis
Error in accessing via HTTP
404 Business Server Page (BSP) Error
Please help. M i missing anything ..?
<h6>Regards,
Alok</h6>
Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AM
Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AMHi,
I am getting same problem what is the solution??
Thanks
Santhosh -
Error in uploading employee's photo
Hi experts,
i was trying to upload employees photo and other document like applicant's document etc. through OAWD tcode but it gives me the following error.
Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1
ICM_HTTP_CONNECTION_FAILED
can you plz give me solution i shall be grateful to you for the same.
thanks,
Irfan.Ask your basis person to go to transaction SICF Content server and assign system user to content server.
After that HR works from Transaction OAAD , choose option Store and assign. Select buisness object as PREL ,Document type as HRICOLFOTO and create.In the pop out screen select Employee No. For action 0000,also give date for this and enter.
It will work from PA30 when you select the same employee no. -
Error in uploading employee photo
Hi,
I am trying to upload employee jpg photo in 0002 infotype. I have done basis settings and confige in T-Codes OANR, OAC2, OAC3, SICF, OACO,
But in OAAD I selected Store and Assign Icon, thee i had given business object as prel and document type as hricolfoto then i selected create button after that one pop-up window will come ask necessary data. there i had given personnnel number and infotype number as 0002, subtype- blank, object id 02, date of orgin as hiring date, then i had selected jpg phot from desktop . once i selected the photo it through the below error.
Repository A2 not accessible by HTTP.
Pls through some light on this.
Regs,
BrahmaHi Brahma,
Re: Photo Upload
regards,
kitchlu -
External hosting server has problems uploading my images
Hi. I am experiencing difficulties getting my new hosting provider to upload my images. I use the upload to FTP on the file menu and I get a message in apop up window. "FTP - Validation, Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway? Yes / No"
This also occurred on my previous host provider and when I clicked Yes it uploaded OK and my site has been running for several months already.
My new host's support technician has been on the phone with me all afternoon trying to upload the files. It will upload the HTML files very quickly but then runs into problems with the images. So I have spent a few hours renaming each file and saving them to web. I have made sure all images and assets are linked and in the same folder. As the FTP upload struggles on it keeps stopping at various images the the computer freezes and I have to wait until it comes back to life. It doesn't crash.
My previous host's technicians and the present one suggested that the problem is in the software - Muse.
Has anyone else had these or similar problems?. Maybe I should rebuild in Dreamweaver?
Oh by the way, my website www.bilyz.com uploads to Adobe Business Catalyst without a problem. Try it and see.Thanks for your help. I have done as suggested and I have also tried alternative settings without successful upload. I have checked and double checked all the assets, then rechecked the sizes of each of my images before trying to upload to the FTP server.
1. I tried to upload with a forward slash in the folder field box - Result was a window " \public_html " does not exist. Do you want to create it?
> OK
New window appears: Error creating folder [failed to MKD dir: 553]
2. Forward slash: The requested folder "/public_home " does not exist. Do you want to create it? > Yes.
New window: Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway? Yes
3. New window appears: Title of window: Upload to FTP Host
Overall upload progress: 65% complete
Then uploading stalls and a message appears: Error uploading file lucy.jpg. Click to resume. If problem persists, try again later. [FTP response timeout]
Each time I click on Resume the screen freezes for a while then returns to 'live' and it all begins again. It is perplexing me why my site uploads to BusinessCatalyst without any problems. It also uploaded to Namesco.co.uk without too much difficulty (my first upload)
Yesterday prior to contacting you the hosting technician at Vidahost.com took command of my computer and tried to see what the problem was but obviously without success and suggested that the Muse software could be at fault - which I doubt.
I have taken screen capture jpegs of the windows but don't understand how to include them.
Kind regards
Bill -
Uploading an image is not working in jsff
Hi.,
Am using jdeveloper 11.1.1.6.,
I have used the following link to upload the image in jsff
http://www.baigzeeshan.com/2010/08/uplaoding-and-downloading-images-in.html
This is workig perfectly in a jsps page but when i used jsff page am getting exception
private BlobDomain createBlobDomain (UploadedFile file) throws IOException,
SQLException {
InputStream in = null;
BlobDomain blobDomain = null;
OutputStream out = null;
try{
in= file.getInputStream(); // am getting null pointer exception
blobDomain = new BlobDomain();
out = blobDomain.getBinaryOutputStream();
byte[] buffer = new byte[8192];
int bytesRead = 0;
while ((bytesRead = in.read(buffer,0,8192))!= -1){
out.write(buffer,0,bytesRead);
catch (Exception e){
e.printStackTrace();
return blobDomain;
}Pls help me to resolve this.,Thank's for your response John.,
This is the log which am getting
java.lang.NullPointerException
at view.imageServlet.doGet(imageServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)This s the doget() method which i have used
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
response.setContentType(CONTENT_TYPE);
String eno = request.getParameter("id");
OutputStream os = response.getOutputStream();
Connection con = null;
try{
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/UIConnDS");
con = ds.getConnection();
PreparedStatement stmt = con.prepareStatement("SELECT eei_emp_id,eei_emp_image " +
"FROM ess_emp_image " +
"WHERE eei_emp_id = ?");
stmt.setString(1, eno);
ResultSet rs = stmt.executeQuery();
if (rs.next()) {
Blob blob = rs.getBlob("eei_emp_image");
BufferedInputStream in = new BufferedInputStream(blob.getBinaryStream()); //This is the part where exception is showing now.
int b;
byte[] buffer = new byte[10240];
while ((b = in.read(buffer, 0, 10240)) != -1) {
os.write(buffer, 0, b);
os.close();
catch (Exception e){
e.printStackTrace();
finally {
try {
if (con != null) {
con.close();
} catch (SQLException sqle) {
System.out.println("SQLException error");
} -
HRMS - Diplaying Employee image in XML Publisher Report
I have uploaded employee picture through people screen in HRMS, The same picture i am trying to display in my XML report. Concurrent request is ending with warning. I couldnt find any help from metalink and SR. Got some clues from metalink to use URL. but we need to display employee image for each employee. did anybody worked on the same requirement. please provide the complete steps for the same.
Hi,
I am also having the same requirement,did u got the solution? pls share with me some inputs if u have achieved this.
Regards,
Sayeed. -
How to upload an image in jsp page
hi,
I want to upload an image file with my jsp page, but i cannot do it,
I have used Jakarta common file upload for this & i have also read following file. But my code isnot working properly? Can you give me any example how to upload an image & how to display it?
Can u give me any source code? Please help me.
http://jakarta.apache.org/commons/fileupload/using.htmlwith regards
BinaHi,
But after writing the following code i have got following error? What's the problem of this code? please help me?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%@ page import="org.apache.commons.fileupload.*" %>
<%@ page import ="java.util.*" %>
<%@ page import ="java.io.*" %>
</head>
<body>
<%
boolean isMultipart = FileUpload.isMultipartContent(request);
DiskFileUpload upload = new DiskFileUpload();
List items = upload.parseRequest(request);
Iterator iter = items.iterator();
while (iter.hasNext()) {
FileItem item = (FileItem) iter.next();
if (item.isFormField()) {
String name = item.getFieldName();
String value = item.getString();
//ring name= request.getParameter("")
%>
<%= name %>:<%= value %>
<%
} else {
%>
<%
InputStream stream = item.getInputStream();
OutputStream bos =
new FileOutputStream(getServletContext().getRealPath("/images"+"/"+ item.getName()));
int bytesRead = 0;
byte[] buffer = new byte[8192];
while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
bos.write(buffer, 0, bytesRead);
bos.close();
stream.close();
item.delete();
%>
</body>
</html>Error is:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileUpload cannot be resolved
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileUpload cannot be resolved
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Please help me.
With regards
Bina -
Error while getting image from database in SUP using ios?
Hi All,
Im developing native iOS application using sup 2.1.3 . Im getting error While retrieving image from SUP database. Here i'm trying to get image from database and show in imageView.can any one help me how to fix this issue?
In database image datatype is 'LONG Binary' .
My table Schema:
CREATE TABLE dba.ImagesTable (
RowID INT NOT NULL,
ImageName VARCHAR(20) NOT NULL,
PhotoData LONG BINARY NOT NULL,
IN SYSTEM
ALTER TABLE dba.ImagesTable
ADD CONSTRAINT ASA137 PRIMARY KEY CLUSTERED (RowID)
ALTER TABLE dba.ImagesTable
ADD CONSTRAINT ASA138 UNIQUE NONCLUSTERED (RowID)
in Xcode:
[SUP107SUP107DB synchronize];
SUP107ImagesTable *imgTable =[[SUP107ImagesTable alloc]init];
SUP107ImagesTableList *list =[SUP107ImagesTable findAll];
SUP107ImagesTable * oneRecord =[list objectAtIndex:0];
NSLog(@"rowId:%d---imageName:%@---photoData:%@---photoLenght:%d",oneRecord.rowID,oneRecord.imageName,oneRecord.photoData,oneRecord.photoDataLength);
NSData *tempData =[[NSData alloc]init];
SUPBigBinary *responseBinaryData = (SUPBigBinary *)oneRecord.photoData.value;
@try {
[responseBinaryData openForWrite:[oneRecord.photoData length]];
[responseBinaryData write:tempData];
@catch (NSException *exception) {
NSLog(@"exception: %@",[exception description]);
UIImageView *imgView =[[UIImageView alloc] initWithFrame:CGRectMake(50,50,100,100)];
[self.window addSubview:imgView];
UIImage * tempImage =[UIImage imageWithData:tempData];
imgView.image = tempImage;
[responseBinaryData close];
Error Log:
2014-04-02 18:42:15.150 SUP102[2873:70b] rowId:1---imageName:Apple---photoData:SUPBigBinary: column=c pending=1 allow_pending_state=1 table=sup107_1_0_imagestable mbo=0x0 key=(null) ---photoLenght:90656
Printing description of responseBinaryData:
<OS_dispatch_data: data[0xc891b40] = { leaf, size = 90656, buf = 0x1213a000 }>
2014-04-02 18:42:33.304 SUP102[2873:70b] -[OS_dispatch_data openForWrite:]: unrecognized selector sent to instance 0xc891b40
2014-04-02 18:42:33.305 SUP102[2873:70b] exception: -[OS_dispatch_data openForWrite:]: unrecognized selector sent to instance 0xc891b40
2014-04-02 18:42:33.305 SUP102[2873:70b] -[OS_dispatch_data close]: unrecognized selector sent to instance 0xc891b40
2014-04-02 18:42:33.306 SUP102[2873:70b] [ERROR] [AppDelegate.m:497] NSInvalidArgumentException: -[OS_dispatch_data close]: unrecognized selector sent to instance 0xc891b40This thread talks about uploading image to SAP from a IOS device,Sending Image to SAP via iOS Native app (SUP 2.1.3)
Midhun VP -
Flickr's Terms of Service state that if you post an image hosted on Flickr on another site you have to link back to the image page on Flickr. To do that you need to go to your image on Flickr, click on the All Sizes link above the image, select the size image you want, then Copy the HTML code from the first box of code underneath the image. Then, in the Forum's Rich Text Editor, click on the >> button/icon and select Insert Raw HTML. This will open a frame within your message where you paste the HTML code you copied from the Flickr site. Then continue on with composing your forum message and click “Post Message” to post the message to the forum system.
For Pixentral images, you will need to go to http://www.pixentral.com and upload your image following the instructions there. You do NOT have to check the box to make images public. Once your image is uploaded there copy the HTML code from the box below your image. Then, in the Forum's Rich Text Editor, click on the >> button/icon and select Insert Raw HTML. This wil open a frame within your message where you paste the HTML code you copied from the Pixentral site. Please note that there is an extra "/" character in the Pixentral URL that will prevent the image from showing up, so you need to make one change to the HTML that you copied from the Pixentral site. The beginning of the HTML code will look something like this:
<a href="http:www.pixentral.com/show.php?picture=16xx5748rt9fhd"/>
Please remove the slash that appears between the quotes and the greater than symbol so that this part of the HTML code looks like this:
<a href="http:www.pixentral.com/show.php?picture=16xx5748rt9fhd">
Then continue on with composing your forum message and click “Post Message” to post the message to the forum system.@ adobe-admin (J.C.?):
Thanks for fixing the "backslash" error. Accuracy is important, and doubly so when presented as an F.A.Q.
The sad thing is how prevalent the usage of "backslash" is when a plain old slash is meant (generally, the "forward" attribute is assumed and unneeded), and by people who should know better. It's a direct result of people knowing just barely enough about the Windows file path naming protocols, and then applying the only terminology they're familiar with incorrectly to URLs.
I went about 10 rounds—TWICE!—with a labyrinthian succession of people at the Discovery & History cable TV networks because they were saying "backslash" in voice overs whenever their commercials promoted their websites. It took some doing, but I finally got in touch with somebody who was savvy enough to recognize that it was a rookie mistake made by a clueless marketing copywriter. The voice over person just read the copy they were given, oblivious to the difference. It amazes me that it wasn't caught by somebody early in the recording/production process and rectified.
They then had it correct for about a year, until new commercials started popping up with the same error. Unfortunately, the person I had talked to previously no longer worked for the History channel and I had to go through the process of finding someone who understood all over again.
Yeah, you can call me a nitpicker with nothing better to do.
But I've earned that dang badge, and I wear it proudly!
Maybe you are looking for
-
DATA EXTRACTION FROM THIRD PARTY TOOLS
Hi All I want to Extract Data from Third party Databases in to BW. Can Some body give some Information Regarding that I need to Spec the Interfaces for that Any help Is appriciated By Points Thanks BW User
-
Why can't I save the sender of a text to my contacts?
Whenever I get a text from someone who is not in my contacts, I can't save their phone number to my contacts. I think there used to be a button at the top of the conversaton that gave me the choice to save, but it's no longer there. Also, the manual
-
Java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
We have upgraded from Crystal 10 to 2008. We are able to run all reports from the admin console but when trying to connect and run from a java based application to the crystal server, we encounter the following error: [0000TvbEgjI3QkQAR-cNXc83c5x:-1
-
hello, in saturday night I lost my iphone. now I need serial number and IMEI for police. I don't have a box... can apple give me a serial number from apple ID?
-
What is the name of iPad video phone like skype
What is the name of the video phone for iPad users better than Skype