Error on upload file (User has no access to upload files) [jdev 11.1.1.3]
Hello to all,
I wrote this simple servlet:
import weblogic.management.servlet.MultipartRequest;
public class SaveImage extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{
String rtempfile = File.createTempFile("temp","1").getParent();
MultipartRequest mpr = new MultipartRequest(request,rtempfile);
Enumeration files= mpr.getFileNames();
while (files.hasMoreElements()){
String fileName = (String)files.nextElement();
File file = mpr.getFile(fileName);
When I try to upload the image I receive this error:
java.lang.RuntimeException: User has no access to upload files
at weblogic.management.servlet.MultipartRequest.(MultipartRequest.java:169)
at weblogic.management.servlet.MultipartRequest.(MultipartRequest.java:119)
at edu.uniud.ai.servlet.SaveImage.doGet(SaveImage.java:59)
at edu.uniud.ai.servlet.SaveImage.doPost(SaveImage.java:112)
Any idea where I make the mistake?
Cristian
The column types are correct. I double checked, but also I used the Business Components from Tables wizard to generate the EOs.
I think the problem might be because JDev is set to use UTF8
All of our tables are defined like:
create table junk (col1 varchar2(10 BYTE));
Notice the BYTE in the Varchar2. In all tables, ADF seems to throw the above error on ALL updates.
Any ideas?
Similar Messages
-
User has contribute access but he is not able to access the site collection...
User has contribute access but he is not able to access the site collection...
What error does he get.
Can you share fiddler trace(check if any 404 error)
what error do we see in ULS Logs
Create disableloopback
registry on server
http://support.microsoft.com/kb/926642/en-us -
After having upgraded my MacBook to Snow Leopard, the following error message pops when I try to access iTunes: "The file iTunes Library.itl cannot be read because it was created by a new version of iTunes". So, now after the upgrade, I cannot access iTunes. How do I resolve this??
Thankszepel has it, but perhaps some more detail will help.
Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
tt2 -
How to find from the data dict if a user has read access on a directory
How to find "dynamically" if a user has READ access to a directory object.
I want to know if there is a data dictionary table that holds if a user/schema has read access to a directory object.
I know there is an dba_directories table and an all_directories table but they dont give information as to which user has read access granted to the directory.Not so difficult.
select 'YES'
from all_tab_privs A, all_directories B
where a.grantee = 'USERNAME'
and a.table_name = b.directory_name
and b.directory_path = 'PATH YOU ARE LOOKING FOR'
How to find "dynamically" if a user has READ access to a directory object.
I want to know if there is a data dictionary table that holds if a user/schema has read access to a directory object.
I know there is an dba_directories table and an all_directories table but they dont give information as to which user has read access granted to the directory. -
FTP_CONNECT: User ------- has no access authorization for computer -------.
Hi, could anyone please help me resolve the following issue:
When i run the code below, it comes back saying "could not connect to "host". When tried to run in debug or test the FM "ftp_connect" it says "user ..... has no access authorization for computer .....
REPORT ZALB_FTP_TEST.
types: begin of t_ftp_data,
line(132) type c,
end of t_ftp_data.
data: lv_ftp_user(64) value 'branch'. "change this
data: lv_ftp_pwd(64) value 'careful'. "change this
data: lv_ftp_host(50) value '10.50.1.199'. "change this
data: lv_rfc_dest like rscat-rfcdest value 'SAPFTP'.
data: lv_hdl type i.
data: lv_key type i value 26101957.
data: lv_dstlen type i.
data: lt_ftp_data type table of t_ftp_data.
field-symbols: <ls_ftp_data> like line of lt_ftp_data.
*describe field lv_ftp_pwd length lv_dstlen.
lv_dstlen = strlen( lv_ftp_pwd ).
call 'AB_RFC_X_SCRAMBLE_STRING'
id 'SOURCE' field lv_ftp_pwd
id 'KEY' field lv_key
id 'SCR' field 'X'
id 'DESTINATION' field lv_ftp_pwd
id 'DSTLEN' field lv_dstlen.
call function 'FTP_CONNECT'
exporting
user = lv_ftp_user
password = lv_ftp_pwd
host = lv_ftp_host
rfc_destination = lv_rfc_dest
importing
handle = lv_hdl
exceptions
not_connected = 1
others = 2.
if sy-subrc ne 0.
write:/ 'could not connect to', lv_ftp_host.
else.
write:/ 'connected successfully. session handle is', lv_hdl.
call function 'FTP_CONNECT'
exporting
handle = lv_hdl
command = 'dir'
tables
data = lt_ftp_data
exceptions
tcpip_error = 1
command_error = 2
data_error = 3
others = 4.
if sy-subrc ne 0.
write:/ 'could not execute ftp command'.
else.
loop at lt_ftp_data assigning <ls_ftp_data>.
write: / <ls_ftp_data>.
endloop.
call function 'FTP_DISCONNECT'
exporting
handle = lv_hdl
exceptions
others = 1.
if sy-subrc ne 0.
write:/ 'could not disconnect from ftp server'.
else.
write:/ 'disconnected from ftp server'.
endif.
endif.
endif.
Thanks in advance for the help.It doesn't work for me if I just maintain * entry.
But it works after I maintained specific IP address into the table,
ref notes:2072995 - User has no access authorization for computer
Cause
The message comes after the implementation of note '1605054 - Restriction in access to FTP Servers & usage of test reports' or upgrading to a
support package that contains this note. This note was created to prevent malicious users from accessing remote FTP servers.
Resolution
1. Please ensure that all manual steps from note 1605054 are implemented in your system along with the code corrections
2. Then please enter the allowed FTP servers into the table SAPFTP_SERVERS or enter ‘*’ to allow all FTP servers. -
User DOMAIN / user has no access authorization for computer IP_address
Dear Forum,
When running a function module FTP_CONNECT with RFC destination SAPFTPA (in SM59). I always get a message "User <DOMAIN>/<user> has no access authorization for computer <IP_address>". Trying it with IE, I have no problem.
There is always an event viewer security failure log when I try it:
===========================================
Logon Failure:
Reason: Unknown user name or bad password
User Name: <user>
Domain: <DOMAIN>
Logon Type: 8
Logon Process: IIS
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Workstation Name: GDCS009D
Caller User Name: GDCS009D$
Caller Domain: ERP
Caller Logon ID: (0x0,0x3E7)
Caller Process ID: 968
Transited Services: -
Source Network Address: -
Source Port: -
For more information, see Help and Support Center at
===========================================
Please help....
Regards,
AgoesHi ,
Each and every SAP client ( as it is client dependent)
Go to SE16
Table name : SAPFTP_SERVERS
Go to Menu TABLE ---> Create new entries
FTP SERVER NAME *
FTP SERVER PORT 21
Save
Regards
Venkat -
Got this msh from Piasa...any ideas? 'Could not read the iPhoto Library. The library at [file path] has a corrupted AlbumData.xml file.'
Contact Adobe support - that is not an iPhoto message - in general Piasa has no ability to access the iPhoto library - there have been hacks but often they do not worka nd can cause problems
You need to user either Picasa or iPHoto - using both on the same photos is problematic
LN -
How to determine which user has an Access 2013 databse open
How can I tell which user / PC has opened a Backend Access database?
If the file is stored on a server and you have access to it, you could check in Computer Management, then go into System Tools, Shared Folders, Open Files, and you should find the file listed there along with which user has it open currently.
-
Portlets not moving in a region when user has no access
We have got a region with 2 columns.
Four portlets are displayed in the region.
portlet1,portlet2
portlet3,portlet4
If the user has only got access to portlet1 and 4, I would have expected portlet4 to move next to portlet1 but it stays in the same position.
Is there anyway if getting it to move up?Hi ,
Each and every SAP client ( as it is client dependent)
Go to SE16
Table name : SAPFTP_SERVERS
Go to Menu TABLE ---> Create new entries
FTP SERVER NAME *
FTP SERVER PORT 21
Save
Regards
Venkat -
Error on commit: Another user has changed the row with primary key : Rec_10
i am using jdev 11g R2
i implemented a master form and two detail tables on a jspx page
added createInsert, commit and rollback buttons
actions from these buttons all are executed from a bean
for entity attributes: refresh after insert and update are marked as checked
i am using login page for authorizing the user by getting the user information from user table
and then using the userid i am applying the setVisible property on some components at bean code
when i am inserting a new row there is no problem, here i am generating the new id like 'Rec_10', using a database sequence
but when i am trying to update a current record, it is showing the error --> Error on commit: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[Rec_22 ]
on clicking the commit button and also it is not updating the record on database
Thanx in Advance
kumar
Edited by: user10922309 on Nov 18, 2009 3:25 AM
Edited by: user10922309 on Nov 18, 2009 4:28 AMHi John
thnq for your quick responce.
here are the attribute details:
Attribute Name: RecID, Type: String, Value Type: Expression, Value: 'Rec_' + (new oracle.jbo.server.SequenceImpl("Rec_SEQ_AN", object.getDBTransaction())).getSequenceNumber()
Updatable: While New and Primary Key, Queryable, Persistent, Mandatory, Refresh After: Update, Refresh After: Update and Insert are markded as checked
error details:
oracle.jbo.RowInconsistentException: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[APP_22 ].
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1062)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:548)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:7762)
at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5554)
at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6057)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6229)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3127)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2935)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1991)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2233)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1580)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1404)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:217)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:201)
--> at Index.saveApplicationAll(Index.java:6246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
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.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
--> on click commit button Index.saveApplicationAll method will invoked.
Thats it.
Kumar
Edited by: user10922309 on Nov 18, 2009 4:32 AM -
How to Find mailboxes a specific user has full access to
Hi,
I have been searching all the threads but all i am getting is user mailbox is accessible to following users. I run this command:
Get-Mailbox -resultsize unlimited | Get-MailboxPermission | Where {(!$_.isinherited) -and ($_.user.SecurityIdentifier -ne "S-1-5-10") -and ($_.accessrights -contains "fullaccess") } | Select Identity,User
It is taking so much time as we have 20K mailboxes. Then i tried this:
Get-Mailbox -server exdm01 -resultsize unlimited | Get-MailboxPermission | Where {(!$_.isinherited) -and ($_.user.SecurityIdentifier -ne "S-1-5-10") -and ($_.accessrights -contains "fullaccess") } | Select Identity,User
It gives me list of those users who have access to mailboxes. But what if i want to see user_A is accessing which mailboxes. we
need to find out which mailboxes user has FULL MAILBOX ACCESS to NOT which users can access this user's mailbox. I hope you will understand, i DONT want the list which MANAGE FULL ACCESS PERMISSION option gives in GUI, but i WANT vice-versa.
We migrated 100 users to different domain, now i want to know these users' association with others' mailboxes.
HasanPlease check with this
Get-Mailbox -Server "SERVERNAME" -resultsize "Unlimited" | Get-MailboxPermission | where { ($_.AccessRights -eq "FullAccess") -and ($_.User -like "DOMAIN\TESTUSER") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | ft User, @{Name="Identity";expression={($_.Identity -split "/")[-1]}} -Autosize
Replace "DOMAIN\TESTUSER" with "Yourdomain\Yourusername" to check, which will list the users which testuser has FullAccessPermission on.
@Amit
Apologize for the duplicate posting.
Thanks, MAS
Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. -
Deletting the file that has been used in 'Additional Files' in FILE SENDER
Hi people.
I've developed an interface that has to send a ZIP file to an email address.
I pick that file using a dummy file. This file is picked as an attachment and has been defined in 'additional parameters' of SENDER FILE.
My problem is that i want to delete that 'additional file' once it has been procesed. I think that this could be done running an operating system command.
My problem is that i don't know how to do this in UNIX systems.
Can anyone tell me how to delete (in UNIX) a file with name dummy.zip located in folder /usr/sap.../ ?
Regards,
InigoYou can probably do this by executing a shell script on the server!
You can only run commands on the PI Server
See here for details and help on writing shell scripts!
http://www.injunea.demon.co.uk/pages/page205.htm -
AirPort DIsk User Accounts - SMB Access sees different files than AFP
I have two hard drives attached to my Extreme via a powered USB hub. Both drives are formatted HFS. I have multiple user accounts configured for Disk Sharing over Ethernet WAN. When I use SMB or AFP to access the same user account from an external network I see different files. Based on the space available it appears as if the Extreme has setup the SMB account on one drive and the AFP account on the other. Is anyone else experiencing this, and if so, how do I consolidate the accounts and prevent this from happening?
After some testing, here is my current theory. When your drives are mounted by the Extreme, it looks to find your user account folders on the first drive to mount. If the first drive to mount does not have your user folders, the Extreme creates a new set of user account folders on that drive. Consequently, when your drive with the user account folders finally mounts, you now have multiple sets of folders. I'm not sure why AFP or SMB accesses a different set of user folders, as I could not always recreate the same access patterns, but it appears that one protocol tends to see one set of user folders and the other protocol your other set of user folders. If I always mount the drives in the same order each time, new folders are not created and both protocols see the same sets of files.
This brings up a new twist on the question. Since I will not always be around to manually remount the drives each time the Extreme re-boots, does anyone have any theories on a workaround?
Secondarily, this means that all of your user folders need to be on one drive and any other drives mounted just become shared properties for all accounts. This doesn't seem like a very efficient use of storage space if individual users don't want a majority of their files available for everyone. Has anyone figured out how to get user accounts spread out over multiple drives? -
No write access to folders, apps etc. "_unknown" user has full access
Hi all,
Just moved up from a 2009 21.5" iMac.
Now, I'm having some weird problems with my new machine. I used Migration assistant to transfer my data, over my WiFi network. I logged in using the migrated user and then deleted the new Mac user. Now I don't have access to many folders. In the permissions tab of the affected apps and folders, there is a user by the name of _unknown which I cant . So I need some help. By the way, I still have my old iMac and a Time Capsule backup of the new one, so in case anything goes wrong, I feel that we'll be able to get back to this stage at-least.
Thanks,
-Aditya.I had this same problem and what I described for you to do cleared this up for me.
When you select the application with that problem, you have to add your user id to the info first. Give yourself read-write privileges. Highlight your user ID in the window and select from the triangle menu to make your the owner of the folder. That should automatically delete the unknown user. Then, apply those privileges to all enclosed folders and files.
Did you follow those steps?
What actually worked the best for my user account was to get info on my user account folder. The privileges were right on it. By applying to all enclosed folders changed everything within. I know the applications are a little different. Like you said, only the applications affected were user installed. They need to be done individually.
I know there is a terminal command to take care of this and fix it easily, but I don't know what it is. Someone smarter than me may chime in and give that info. -
Error: 1759 the selected user has not login any workstation
hi, i got few users always getting the mentioned error message. Can I know that what other troubleshooting i can take besides checking client zam remote services status is started.
I have tried to use zenworks workstation browser to remote user but getting error " no object or network address found" ( but user is connected with lan)
please advise. thanksYou could try this:
"A user will no longer have an entry in their "Network Address" attribute
even though they are logged into the eDirectory Tree."
http://www.novell.com/support/viewCo...1262&sliceId=1
Regards
Rolf Lidvall
Swedish Radio (Ltd)
Maybe you are looking for
-
In ical can I sync iCloud with on my mac
In both Lion and ML when in calander I have "on my Mac" and "iCloud" If if have all my contacts they are duplicated. Some programs use my ical and others need my icloud contacts. Can I syn them so I do not get duplicates?
-
Hi everyone, Here is the 411 about my network Your Network Magic Version installed= : 5.5.9195.0-Pure0 The type of connection to the Internet, like DSL, Cable, or Verizon FIOS Internet Connection: = Comcast Cable 20K up / 5K down The Brand of Mode
-
Safest site to sell Macbook Pro retina
I have a like new early 2013 MacBook Pro with retina display15.4" I want to sell. It is 16Gb ram, 512 HD, Mountain Lion (I never upgraded to anything else)and I have the box etc. I also have AppleCare on it until 2016. I will cancel AppleCare after
-
Hello GTS Experts... We are implementing GTS in our organization and we have a business requirement of letting suppliers enter their NAFTA certs via a webpage. We would like to create a page using BSP and have it available via ITS or EP for suppliers
-
IPhone freezing when installing or uninstalling application during sync
hi, I've been running to issues with iPhone freezing during install and uninstalling of Applications during iTunes sync. The installation or remove seems to complete after I force reboot iPhone, but sort of troublesome as I'm having to reboot iPhone