Only CreateException allowed for create in local home?

I tried to deploy a simple application in Weblogic Server 8.1. During verification I got the message: "Method create(int) on the local home interface must not throw java.rmi.RemoteException" and sometimes "create(int) must throw CreateException".
The signature of my local home for that stateless session bean looked like this:
create(int aNumber) throws CreateException, IOException {...
the according method of the bean was:
ejbCreate(int aNumber)throws CreateException, IOException {...
After several tries i deleted the IOException from both signatures and the .ear file could be deployed.
I looked up ejb 2.0 and 2.1 specification and there are examples throwing more than CreateException in local home interfaces of session beans (e.g. chapter 6.3.1).
Did someone experience this behavior as well? Can there be a bug in my code and this "workaround" works only by accident?

Here is the log massge
[Sun Sep 16 14:26:47 2012] [error] [client ::1] File does not exist: /home/lucas/www/favicon.ico
[Sun Sep 16 14:26:47 2012] [error] [client ::1] client denied by server configuration: /home/lucas/www/test/application/captcha/1347816281.8856.jpg

Similar Messages

  • I bought a new iMac.  iWeb and all folders migrated over, no problem, but I cannot bring up my website - it only seems to allow for creating a new site.

    I bought a new iMac.  iWeb and all its folders migrated over, no problem, but I cannot bring up my website - it only seems to allow for creating a new site.

    You need the 'Domain' file in which iWeb keeps its data. This lives by default in (user)/Library/Application Support/iWeb. You need to locate it on the old machine and copy it to the same position in the new machine. Note that it is the Library folder in your Home folder, not the one at root level.
    This folder is hidden on Lion and above; to access it, in the Finder go to the ‘Go’ menu and hold down the Option (Alt) key; the Library folder will appear as a choice. In Mavericks you can make it permanently visible - open your Home Folder the from the Finder's View menu, choose show View Options and check Show User Library.

  • FM for creating the local product categories

    Hi,
    Is there any STD Function module for creating  local product categories??
    BR,
    SRM Tech

    Hi,
    Check this FM
    COM_CATEGORY_CREATE_API_INT
    Regards,
    Shalini Chauhan

  • Authorization for Create Only - No change

    Hi,
    I need to give certain users authorization to Create an Infotype. Change will not be given to these users.
    In Authorization Level, I think we can only specify R (other variations of R like M etc.) or W.
    Please let me know on how this can be achieved.
    PS: I have looked into using BAPI HRPAD00AUTH_CHECK, but I am not sure on how to implement this for just one infotype.
    Thanks for all your help in advance.
    Regards,
    Ani

    Thanks Pavani and Anil for your answers.
    Pavani, the basis folks have told that they can give either R/M which are for read authorization or W which is for write. They cannot restrict to just change.
    Anil,  what is the authorization level? Does specifying that to 'T', allow for Creating an infotype and "Disallow changes".
    Our Authorizations are mostly,
    Authorization level - R, M
    InfoTtype - 0001,0007
    PersonnelArea - *
    Employee Group - *

  • Lookup for local home interface

    Hi!
    I am using the j2eesdk and there is a thing I cannot find anywhere:
    When I use a local interface for a bean and define an EJB Ref on that bean in the 'deploytool', I cannot specify a JNDI name (only a bean name). Therefore I cannot map the coded name in my Context-lookup() call in the code to any JNDI name on the applications 'JNDI Names' tab.
    My question is:
    - how do I lookup local home interfaces?
    - if this is done via JNDI, how do I do this in the deploytool?
    Kind Regards
    Ralf

    Hi
    The point u all should understand is you use a jndi name in your programs
    say
    public static void main(String[] args)
    InitalContext ctx = new IntialContext();
    ctx=(Context)ctx.lookup("java:comp/env");
    DemoLocalHome home = ctx.lookup("ejb/DemoBean");
    in the above program you use "ejb/DemoBean" as a reference name, but actually there won't be a Bean registered with that name. so, when u deploy the appclient u should map the reference name with the actual JNDI name ( if it's a remote interface) or with the class name (Local interface)
    so, when u deploy the appclient in the "ejb ref " tab, u specify that it uses Local interfaces and in the end u don't map the refernce name to a JNDI name( because it's a local interface) and rather u speciy the class name.
    that's how u map the references for Remote and Local home interfaces.....
    thank's for listening to that......
    for more suggestions mail me at [email protected]

  • How to block set of vendors for creating PO but allowing them to create RFQ

    Dear Experts,
    I want to block the set of vendors created by GS01 for creating Purchase order but allowing them for creating RFQ. I tried using XK05 but its blocked even vendor for creating RFQ. So is there any way to do so in my business practise ?
    I already tried several way but no one is fullfilling my requirement. So i need all you experts valuable input on this.
    Regards
    Arun

    Hi Aleksey Tkachenko,
    Well i am also trying to do the same using the badi you had told me but my query is how can i do this if i create a set of vendor using gs01 or provide an interface to user to update the vendor account to whom we dont want to allow for creating PO but they can create RFQ. and using this BADI how i can read this set of account of vendors?
    Can you tell me how to handle this scenario using any of the method?
    Regards
    Arun

  • CRS-2630: Only cluster administrators are allowed to create local resources

    I have installed and configured a 12c database across two linux nodes and all is well. I have also installed the Oracle rdbms 12.1.01 on the same nodes. Now when I try and use netca or dbca to create a database or listener, I get the following errors;
    CRS-2630: Only cluster administrators are allowed to create local resources
    I can log in as the GRID user and can create resources but not as database user. Both users are members of the dba group.
    Any ideas anyone?  Thanks a lot H.

    The issue is resolved, the 12c configuration is a lot more comprehensive than 11g. Here we have to create the user DBA with the right rights to access and change the cluster resources.
    For example to allow the dba users the ability to create listeners on the RAC nodes, we have to issue some command such as follows; here the oedsdp is the dba user and ogridp is the grid main owner.
    t@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.rac1node.vip -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.net1.network -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.net1.network -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.rac2node.vip -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.net1.network -u user:oedsdp:rwx
    Interesting, I think we need to carefully plan the new user groups before we start the GRID configuration.
    H.

  • Allow to create, only two objects for a class

    Hi,
    This question is asked in my interview. In singleton concept only one object is created, likewise only two objects are created for a class.
    For that i have write a code like this,
    public class OnlyTwoObjects {
         private static OnlyTwoObjects a1;
         private static OnlyTwoObjects a2;
         public static int n = 0;
         public static OnlyTwoObjects getInstance() {
              if (a1 == null) {
                   a1 = new OnlyTwoObjects();
                   return a1;
              } else if (a2 == null) {
                   a2 = new OnlyTwoObjects();
                   return a2;
              } else if (n == 1) {
                   return a1;
              } else if (n == 2) {
                   return a2;
              return null;
    } But they told this is not good way to do this.
    I don't know how to do this, if any body knows kindly let me know.

    vijay wrote:
    But i will explain my code, in that code we are allowed to create only two objects, Maximum. Understood.
    suppose both objects are created, then i will ask which object you need first or second, this is decided using the variable n if it is 1 then it will return the first object and it is 2 it will return the second object. sorry i didn't explain this in my previous post.This is your approach. Is this the requirement as well? Is it necessary that the user decide on which instance (first or second) is returned?Even if it was the requirement that the user decides which instance (first or second) is returned, with the original proposed implementation, the user only gets to decide which instance after calling getInstance() twice. If he calls getInstance() with n=2 when a1 is still null, he still gets a1. If he calls getInstance with n=1 when a2 is still null but a1 is non-null, then he gets a2. As is, he always gets a1 on the first call, a2 on the second call, and after that gets null unless he has set n to 1 or 2. (This explanation ignores any multi-threading issues that may come into play. This explanation is for a single thread.)

  • I would like to create a form that gives the user opportunities to provide information on as many as 50 projects. Does Adobe FormsCentral allow for this "expandable" type of form, such that if someone only has 10 projects, they can complete the form as ea

    I would like to create a form that gives the user opportunities to provide information on as many as 50 projects. Does Adobe FormsCentral allow for this "expandable" type of form, such that if someone only has 10 projects, they can complete the form as easily as someone with 50 projects. In other words, is there a way to make the form "expandable?"

    Hi Ms Buckner,
    Yes, you can do this with the Show/Hide "Skip" logic rules.
    1. Suppose, for example, you have your first ten projects showing by default.
    2. At the end of those fields, you would have a Yes/No question asking if the person wanted to add more projects.
    3. If they answer "No", they move on to the next section/area/question/etc.
    4. If they answer "Yes" you have the form display ten more project fields that you had already included, but you had hidden up to this point.
    5. Repeat steps two, three, and four as often as needed. (It helps that you can copy and paste fields, including groups of questions, so you don't have to manually re-create them each time.)
    It means you must anticipate the maximum number of times you want to provide project fields, but you've already done that, and you have to build the form with that maximum number, but only display smaller portions at a time until they have filled in all they need.
    I hope that helps,
    Brian

  • Want OD authentication for logins, but need home folders stored locally

    Real quick...
    How does one configure Open Directory to allow for users to login to their computers using a network/LDAP authentication, but have their home folders stored locally on their computers. I know how to do this when bound to AD, but can't figure it out using OS X's OD.
    Would I set it up the server role to "Standalone Server"? Do the computers need to be bound to AD in order to create "mobile accounts? I don't want them to be able to move from computer to compouter, so I don't need synchronization, just to enforce password policies
    Thanks!
    T

    Hi
    @ Templeton
    You may find this useful as this is what I have done before in the past. It’s worked for me. There may be other methods that can be used?
    Create an admin account on the client computer and then create an account in the LDAP node in WGM with same name and password. If the account already exists on the client computer then all you need do is the latter. Don’t create a Home Folder as this will be created automatically later on. Launch Directory Access and bind to the server.
    It seems to work better if the Server is running DHCP Services although it works OK using static. I have seen authentication problems where an AD Server is providing DHCP Services so bear that in mind – in theory it should work – as ever it depends on how well DNS Services are configured.
    As soon as you bind the edu.mit.Kerberos file is created in /Library/Preferences. AS_REQ and ISSUE has done its business and as far as the server is concerned the client is intially authenticated. It will request further pre-authentication later on. You should see this feedback if you consult the kdc.log. If the client connects to the server to access a server based service using the normal methods he/she will receive the Kerberos login window prompt. The user name and Realm will already be filled in. Supply the password and you should then be presented with a list of shares you can access including the home folder. If you select the home folder it will mount on the local desktop and be automatically populated with the usual folders. Of course you don’t have to do this if you don’t want to. That’s it the client has its day ticket for the day and can use the local home folder as normal.
    @ Mike
    This can be a tricky thing to administer and keep track of, especially if local client account names and passwords don’t match what is on the Server. For 300 Users or more its a lot of work. I had a similar experience myself and as usual cursed myself for not anticipating this need when the server was first deployed. Perhaps Apple may build something into Leopard that can facilitate this need?
    Tony

  • Automatic carryforward only allowed for amount 0

    On 4.7, we are attempting to process a payment for on a FY2007 Purchase order using MIRO. We are now in our FY2009 year but we are receiving the error message FMCF101 - Automatic carryforward is only allowed for amount 0. What could be the cause of this?
    The PO was created on 03/21/2007. A goods receipt for the total quantity of the PO was entered on 06/27/2007. Two invoices were successfully processed on 02/28/2008 but when we attempt the final 3rd invoice for 06/30/08, we receive the error message.

    If you have Periodic Based Encumbrance Tracking PBET active and you use the GR/IR updating in OFUP as well as you use the invoices to determine the CF level, then you MUST carry forward the GR - which in FM are considered invoices (same value type 54).
    Trying to reduce the GR without having carried forward the GR is not valid and you will get the error "Automatic carryforward is only allowed for amount 0".
    The only possibilities to avoid this error are:
    1. Carry forward the GR from the previous fiscal year to the one being modified.
    2. In OFUP do not use the invoice to determine the carry forward level.
    3. Do not update both the GR and IR but only the IR
    4. Do not use PBET. To update the GR in the previous FY or update it in the current FY without carry forward, contradicts PBET.

  • Delivery Address coming as a default in the home screen for creating a SHC

    Dear Experts
    I have done some changes in the delivery address and while saving it was asking to maintain as a default address otherwise it was not able to save the changes I made.So I maintained it as a default and saved the changes.
    Now the issue is when we are in the home screen for creating a SHC this delivery address is coming as default.As we dont want this dekivery address to be default on  the screen and the requirement is that user should be able to search the delivery address.
    So we dont want that defaulted address.The other reasons were also checked and no where in the attributes we ahave maintained this default delivery adress.
    Can you please help us how can we remove this defaulted delivery addres in the SHC creation screen.
    Thanks and Regards
    Vikas

    HI Muthu
    Thanks for the reply.
    I again repeat I think you have not understood my question.These are very basic things you are mentioning about how to change the delivery address.i know all about this and in my query I have clearly asked that during the change option its asking to maintain the default delivery address and even if I dont select it my changes wont be saved.Second is even if I maintain another delivery address only then from the first delivery address the default screen will be unticked.
    Because the issue here is that what ever the delivery address is maintained its defaulting in the shop screen for the creation of the SHC.
    So my reequirement is how to set this.I have checked attributes and nowhere this delivery address has been maintained.
    Brief about Issue:
    We have done some changes in the delivery address (Transaction Edit
    internal addresses in the URL screen)and during the save it was asking
    us to maintain it as a default address without which it was not able to
    save.So after saving on the creation of the shopping cart screen this
    delivery address is coming as a default value.
    We dont want this to be defaulted and the user should have the search
    functionality for the delivery address.This problem is happening for
    the org id for which I have done the changes.When i assign my user id
    to the other org id the defaulted delivery address is not shown on the
    shopping cart creation home screen.
    We have checked in the attributes of the user and the org id and
    nowhere this delivery address has been maintained.
    I have checked the settings for the other org id for which it was not
    showing as defaulted on the shopping cart creation screen and compared
    these two and was not able to find any difference.Could you plase let
    us know the problem in this case.
    Regards
    Vikas

  • Only records of less than one day allowed for attendance/absence type COMP

    Hi Friends
    I configured all the process in IMG for compensatory off
    ie ,Absence types,Attendance Types ,counting rules and assignment
    but when I tried to create attendances on a particular public holiday in PA 30 then the system shows 'Only records of less than one day allowed for attendance/absence type COMP' (Compensatory Off)
    Anyone pls help me to solve this problem
    regards
    Lakshmi

    Hi
    In PA30 which infotype I should maintain  and where I can see the result.
    Eg If the person works on 25/12/2007(public holiday) ,he wants to take compensatory off on the next working day.
    In this case How I can configure
    Pls help
    Regards
    Lakshmi

  • ExceptionMessage: 'Access denied. Only machine administrators are allowed to create administration service job definitions of type: Microsoft.TeamFoundation.SharePoint.WebAccess.ApplyWebConfigModificationsJobDefinition

    Hi,
    I am getting error "Access Denied" when my code tries to get "SPWebService.JobDefinition" with an AppPool account of content site. The same core runs correctly for the AppPool of CentralAdmin site.
    Lemme provide some background of the servers
    - We have multi-server FARM
    - WFE and APP servers are in different domains, there is one-way trust between the domains.
    - We have UAC (User Access Control) set as high on each server
    - My site is internet site
    Lines of Code are following
    SPWebServiceservice =
    SPWebService.ContentService
    varsyncTimerJob =
    fromSPJobDefinitionjob
    inservice.JobDefinitions
                       wherejob.Name
    == "MyJob"
    selectjob;
    I am running the above code with in SPSecurity.RunWithElevatedPrivileges so the above code is running with APP POOL account. I m getting
    the error in the 2nd line where I have a LINQ query. And I m assuming this is because of "service.JobDefinition" line. Can anyone help me?
    Detailed Error:
    An exception has occurred.   ExceptionType: 'TargetInvocationException'   ExceptionMessage: 'Exception has been thrown by the target of an invocation.'   StackTrace: ' 
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)     
    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)     
    at Microsoft.SharePoint.Administration.SPAutoSerializingObject.GetInstanceFromType(Type type, String typename)     
    at Microsoft.SharePoint.Administration.SPPersistedObject.GetInstance(XmlNode xml, Guid classId, Boolean bResolveMissingTypes)     
    at Microsoft.SharePoint.Administration.SPFileSystemCache.FetchObjectFromFileSystem(Guid id)     
    at Microsoft.SharePoint.Administration.SPFileSystemCache.GetValue(Guid id)     
    at Microsoft.SharePoint.Administration.SPCache`2.get_Item(K key)     
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Boolean checkInMemoryCache, Boolean checkFileSystemCache)     
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id)     
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.GetObject(Guid id)     
    at Microsoft.SharePoint.Administration.SPPersistedObjectCollection`1.get_Item(Guid objId)     
    at Microsoft.SharePoint.Administration.SPPersistedObjectCollection`1.<GetEnumeratorImpl>d__0.MoveNext()     
    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()     
    at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)     
    at Project1.SharePoint.Common.UtilityHelper.IsSyncSchedulingDisabled(StringBuilder logMessage)'   Source: 'mscorlib'   TargetSite: 'System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)'   ------------------------------------------------------------  
    Inner exception:   ------------------------------------------------------------    ExceptionType: 'SecurityException'    ExceptionMessage: 'Access denied.  Only machine administrators are allowed to create administration
    service job definitions of type: Microsoft.TeamFoundation.SharePoint.WebAccess.ApplyWebConfigModificationsJobDefinition, Microsoft.TeamFoundation.SharePoint.WebAccess, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.'    StackTrace:
    at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition..ctor(String name, SPService service, SPServer server, SPJobLockType lockType)      
    at Microsoft.TeamFoundation.SharePoint.WebAccess.ApplyWebConfigModificationsJobDefinition..ctor()'    Source: 'Microsoft.SharePoint'    TargetSite: 'Void .ctor(System.String, Microsoft.SharePoint.Administration.SPService, Microsoft.SharePoint.Administration.SPServer,
    Microsoft.SharePoint.Administration.SPJobLockType)'
    Any help will be appreciated.

    The bottom of your stack trace begs to differ:
    at Microsoft.TeamFoundation.SharePoint.WebAccess.ApplyWebConfigModificationsJobDefinition..ctor()'   
    Source: 'Microsoft.SharePoint'    TargetSite: 'Void .ctor(System.String, Microsoft.SharePoint.Administration.SPService, Microsoft.SharePoint.Administration.SPServer, Microsoft.SharePoint.Administration.SPJobLockType)'
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Inspection RR should be allowed for the operation confirmed qty only

    Hi  Friends
    I have one requirement , Inspection results recording should be allowed for the operation confirmed qty only
    i.e
        1. Release Production Order for 100 qty
        2. Inspection Lot created for 100 qty
        3. Production Confirmation done for 1st operation for 50 qty
        4. Next operation is testing or Quality inspection
        5. Used 03 insp type(WIP inspection)
        6. Result Recording should be allowed only for 50 Qty
        7. If i go for 51, system should give message(i.e confirmation not done for 51)
        8. Usage decision saved for 50 qty, Remaining 50 qty,we have to do separate RR & UD once confirmation done
    Please let me know the settings,
    Thanks & Regards
    Gajendranath

    Hello Gajendra
    Please find my inputs
    1) PLease activate in OPK4 for the production order type these 3 setting
    a) Operation sequence :  Error when operation sequence is not followed
    b) Overdelivery : Error when overdelivery tolerance is exceeded
    c) Results Rec. (QM) : Error message if no insp. result exists
    by doing this a) you make the sequence of operation mandatory. no body can confirm operation no 30 without confirming 10 & 20
    b) if you have confirmed 50 in the first operation, you cannot confirm more than 50 in second operation
    c) it will not allow you to confirm through C011n if the result recording is not done
    2) Kindly understand for 03 inspection the lot quantity will be of 100 (PO quantity as in your case). so it is impossible to give UD for 50 quantity and then do the UD for the rest of the quantity.
    UD is for the lot and not for the confirmed quantity. And please note for 03 inspection confirmation holds the importance rather than the UD
    So use 03 for intend of its use
    Regards
    Gajesh

Maybe you are looking for