Import-Pssession is not importing cmdlets when used in a custom module

I have a PowerShell script/function that works great when I use it in my PowerShell profile or manually copy/paste the function in the PowerShell window.
I'm trying to make the function accessible to other members of my team as a module. I want to have the module stored in a central place so we can all add it to our PSModulePath.
Here is a copy of the basic function:
Function Connect-O365{ $o365cred = Get-Credential [email protected] $session365 = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUrihttps://ps.outlook.com/powershell/ -Credential
$o365cred -Authentication Basic -AllowRedirection Import-PSSession $session365 -AllowClobber }
If I save this function in my PowerShell profile it works fine. I can dot source a *.ps1 script with this function in it and it works as well.
The issue is when I save the function as a *.psm1 PowerShell script module. The function runs fine but none of the exported commands from the Import-PSSession are available. I think this may have something to do with the module scope.
I'm looking for suggestions on how to get around this.
I've posted this on www.stackoverflow.com as well but unfortunately haven't had any luck finding a solution.

Hi,
As we know there are some kind of powershell profile:
You can have four different profiles in Windows PowerShell. The profiles are listed in load order. The most specific profiles have precedence over less specific profiles where they apply.
%windir%\system32\WindowsPowerShell\v1.0\profile.ps1            
This profile applies to all users and all shells.
%windir%\system32\WindowsPowerShell\v1.0\ Microsoft.PowerShell_profile.ps1            
This profile applies to all users, but only to the Microsoft.PowerShell shell.
%UserProfile%\My Documents\WindowsPowerShell\profile.ps1            
This profile applies only to the current user, but affects all shells.
%UserProfile%\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1            
This profile applies only to the current user and the Microsoft.PowerShell shell.
What happen when you save it in the first path.
In addition, please also refer to the below links:
Windows PowerShell Profiles
http://msdn.microsoft.com/en-us/library/windows/desktop/bb613488(v=vs.85).aspx
Understanding the Six PowerShell Profiles
http://blogs.technet.com/b/heyscriptingguy/archive/2012/05/21/understanding-the-six-powershell-profiles.aspx
Regards,
Yan Li
Cataleya Li
TechNet Community Support

Similar Messages

  • "access restrictions" did not work sometimes when using 3-tier DeskI.

    My customer found that "access restrictions" did not work sometimes when using 3-tier DeskI.
    But this issue can be solved by logging on from another machine, or restarting the DeskI.
    For I can reproduce this issue, so I just want to know that:
    1.What is it probably related to?
    2.If this issue happens again, what can I suggest my customer for tracking it?
      For example, get some log files from servers etc.
    Thanks!

    Hi Sarah,
    Also you can try the following solution.
    1. Import the universe.
    2. Go to manage access restrictions
    3. Remove the restriction .
    4. Again create the rescrition and unchecked the " limit size of result set to"
    5. Now assign it to the unlimited results group ( this is the name of
    the group we have given to those users who should be able to retrieve
    more than X rows)
    6. Now we save the universe. (Dont export the universe).
    I hope this will help you.
    Regards,
    Sarbhjeet Kaur

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • After updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid

    after updating my Macbook Pro retina display to os x yosemite 10.10.2, the mause and track pad locks, and do not respond especially when using the Mac for a long period, please help, how can I solve this, I do not like feel like in windows, so I paid good money for this mack, I feel calm

    Hi Buterem,
    I'm sorry to hear you are having issues with your MacBook Pro since your recent Yosemite update. I also apologize, I'm a bit unclear on the exact nature of the issue you are describing. If you are having intermittent but persistent responsiveness issues with your mouse or trackpad, you may want to try using Activity Monitor to see if these incidents correspond to occupied system resources, especially system memory or CPU. You may find the following article helpful:
    How to use Activity Monitor - Apple Support
    If the entire system hangs or locks up (for example, if the system clock freezes and stops counting up), you may also be experiencing some variety of Kernel Panic. If that is the case, you may also find this article useful:
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Regards,
    - Brenden

  • RPC Server not Available error when using Windows Fax & Scan under Windows 7

    RPC Server not Available error when using Windows Fax & Scan under Windows 7

    Hi,
    On current situation, please remove the old fax account and re-add a new fax account in Windows Fax and Scan, then check if this issue sill exist. For more details, please refer to following similar thread and artilces.
    RPC Server not Available error when using Windows Fax & Scan
    under Windows
    The local fax account is inaccessible after you rename a Windows Vista-based computer
    Cannot send fax from Windows Vista/Windows 7 PC with “RPC Server not Available” error message
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
    make sure that you completely understand the risk before retrieving any suggestions from the above link.
    If any update, please feel free to let me know.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I have a HP610-1150f. not recording sound when using webcam in touchsmart screen.

    I have a HP610-1150f. not recording sound when using webcam in touchsmart screen.  I have looked thru this forum and I don't see anyone else having this problem. (unless I missed it).  The recording works in Notes, but not when I open Webcam and try to record from there. video recording works fine. I have had this computer less than a month and I am having a couple of problems with it. Still loving it though.

    Hello schae731: Welcom to HP Forum and your new Touchsmart. You need to contact HP Direct Support on line your Touchsmart comes  with one year warranty so use it why you can. You can contact them through your HP Support Assistant or on line. They will help you with trouble shoot the web-cam software. Goto your computers model and make support web-site. They will also help you with your other issues as well.
             I am using the older version software so I won't be much help. Please repost if HP direct support is un able to help you resolve your issues. While you are chatting with them have them check out your computer do it before your 1 year warranty expires. Have fun with your new computer.

  • Post Moved Galaxy-Note-dropping-Wifi-when-using-...

    Pot moved http://community.bt.com/t5/Other-BB-Queries/Galaxy-Note-dropping-Wifi-when-using-HH3/td-p/671308
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    I think I found the answer to my own question (no thanks to Verizon)!
    I found this article online which was written recently (2012) and explains the WIFI - Bluetooth interference pretty well. Here is the link:
    http://www.ecnmag.com/articles/2012/03/wi-fi-and-bluetooth-coexistence
    The way it has been explained is that if the WIFI & BT radios are on the same chip and using the same antena to send and receive, they WILL interfere no matter what. Having them on two different chips is the best way. But Frequency Isolation (Adaptive Frequency Hopping (AFH)) is a way to reduce interference when they are both on the same chip (as it is in Galaxy Note 2 & S3 - they have Broadcom BCM4330 for wifi/bluethooth/FM) which I guess needs to be addressed in a software update (or may be it already has and is not working well). The last solution is to use 5GHz band for WIFI.
    There you have it. But please let me know what you think and if you have found out anything else.
    Thanks

  • Can't import with "Do not import duplicates"  checked

    When I import photos from my camera, I always use Do Not Import Duplicates/Apply to All. Lately, however, when I do this, the import stalls- the progress bar goes gray, and nothing happens. I have to Cancel, then start the import again, and import all duplicates. When I do this, the import works.
    What might be causing this? It's a pain to have to bring in these duplicates over and over.
    Thanks.
    BC

    It is a bug in the software, do a search of older posts. This happens to me when the memory card is quite full. There are several options.
    1) use the application image capture
    2) clear your memory card after you download (no duplicates)
    3) use Finder and open the memory card sort the list of photos by date and select and drag the desired photos to iPhoto
    Hope this helps

  • Import Image Sequence not importing all images

    I have a sequence of 99 JPG images that I am trying to import into Premiere Pro. These images were created by an export from Lightroom.
    When I perform the import starting at the first image, only 35 images are imported.
    If I import the sequence starting at the 34th image, only 2 images are imported.
    If I import the sequence starting at the 35th image, only 1 image is imported (and it is imported as an image file it appears).
    If I import the sequence starting at the 36th image, the remaining images are imported.
    I have tried a number of different settings for the export from lightroom, but it doesn't seem to make a difference. For example, if I export as TIFF I see the exact same problem. If I export as JPG using a smaller image size I see the exact same problem.
    I have tried "Replace Footage..." to no effect.
    When I inspect the image files using an image view there appear to be no issues with the files. File sizes are consistent and not inordinantly large (~5MB).
    The filenames are all properly numbered as expected by Premiere Pro.
    I have done this successfully dozens of times before this problem arose, and I have done it successfully a number of times since the problem arose. The problem appears to happen only with this particular set of images.
    I can work around the problem by importing the images as two separate imports (one starting at the first image and a second starting at the 36th image) and putting them both in a single sequence. In fact, this spliced sequence looks as expected with no missing frames or anything else untoward that I can see.
    I've poked around with this for a couple days, and cannot discern any other factors that may be causing this.
    Does anybody have any idea what might be going on?

    I checked the filenames again and they're properly sequenced with no extra or missing spaces or anything else that doesn't follow the pattern of the first 34 images. In fact, I took a screenshot of this, and in doing so I figured out what the problem is.
    Here's a screenshot of the directory with all the images.
    As I was reviewing this screenshot, I noticed that the "Date" column goes over midnight. Images 0001-0034 all took place before midnight, and images 0035-0099 took place after midnight.
    This column shows the capture time of the images, coming from the camera and through the export from Lightroom. This is different from the creation date of the exported file, which is shown in the "Date modified" column (cropped out of screenshot). In other words, you can see that I took the pictures on February 25 and 26, but exported them on March 1.
    To verify that this might be the problem I used "Edit Capture Time..." in Lightroom to shift all the images an hour earlier. This means that there is no longer a date change in the sequence as they all have capture times before midnight. I then exported the images from Lightroom again, and imported them into Premiere Pro.
    When I do this, all the images are imported into Lightroom successfully.
    I realize this is only one data point, but it sounds like Premiere Pro is maybe using the capture time as part of its sequencing heuristics, and for some reason it isn't handling a date change properly. Or maybe something else is afoot.
    What do you think?
    Message was edited by: reastick trying to fix link to screenshot...
    Message was edited by: reastick ...well that didn't work either...

  • Trouble Importing Home Video - Not importing full clip

    I've never used iMovie before but I figured out how to get a home dvd imported. I mounted the disk image and everything and when I open iMovie is gives me the import menu. I import my clip and it tells me that it's imported 120 minutes of video but when I click on the new event there's only 48 minutes of video. Where's the rest?

    This is what PYRO's Technical support told me. I plan on getting back to them with follow up questions let me know if you have one you would like to pass on.
    Tech Support (18 Tech) - 7/26/2006 1:41:45 PM
    Tihs is not likely to be happening because of anything on your system (the pattern would be a bit different usually.) This happens because the hardware is dropping frames that cannot be properly translated.
    Analog tapes may often contain spots where the magnetism is weak, the tape is stretched, warped etc where the signal that is read off of it when sent from the VCR incorrectly. The reason is that the VCR doesn"t build the signal; it simply does a straight electronic conversion of the signal on the tape to signals on the wire. The problem is that in order for a computer system to understand it as video, the signal must adhere to a strict structure.
    When the signal becomes out of order or a part of the signal drops out, a video computer will have a problem and will lose frames unless hardware is present that can anticipate and fill/repair the missing component (most commonly, time-base correction.) These bad signals don"t typically manifest themselves visibly on an analog monitor unless the defect is prolonged (such as distorted video at a bad warp on the tape or the bad video between multiple recording sessions) but they are still there and anything that is trying to compute data from those signals is going to have a problem.
    The only thing you can do is try to clean the heads of your VCR or Camcorder using a cleaning cassette or try to run the video through hardware that can do video enhancement/time-base correction, which will repair the signal thus allowing it to be captured uninterrupted. Every time the signal is interrupted, the video processor and DV compressor will take about a second to sync up and resume capture and that is what you"re seeing in those drop-outs.

  • Ejb error((MARSHAL) Could not find class) when using OneToMany relationship

    I am using Netbeans 5.5 with J2EE App Server 9. I have two entity beans with a OneToMany Uni-directional relationship. I have a Remote Stateless session bean which has persistence operations for creating and searching etc.. I am accessing the remote bean via jndi from a j2ee java client. The access works fine. The session bean persist operation creates data in both the entities (cascade persist).
    But, after the data is created, when I access the entity manager find() method from the session bean via the client errors out. This error only happens for the entities with OneToMany relationship, not for OneToOne relationships.
    I am using TOPLINK persistence provider accessing a derby data source. I have the latest persistence library jar files in the library classpath.
    client code:
                Phone p1 = new Phone();
                p1.setPnumber("999 999 9999");
                Customer c1 = new Customer();
                c1.setLname("Smith");
                c1.getPhone().add(p1);
                int pk = agent.createCustomer(c1);    // creates the entities
                Customer c2 = agent.findCustomer(pk);     //  this causes the ERROR
    session bean code:
       @PersistenceContext  private EntityManager em;
        public int createCustomer(Customer c) {
            em.persist(c);
            return c.getId();
        public Customer findCustomer(int i) {          // this causes the ERROR
            return em.find(Customer.class, i);
    exception:
    Mar 30, 2007 3:25:00 PM com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_value
    WARNING: "IOP00810257: (MARSHAL) Could not find class"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8309)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:984)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
    ***exception in Client_1 ***
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:424)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:162)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
    at com.titan.ejb.__Tester1Remote_Remote_DynamicStub.findCustomer(__Tester1Remote_Remote_DynamicStub.java)
    at com.titan.ejb._Tester1Remote_Wrapper.findCustomer(com.titan.ejb._Tester1Remote_Wrapper.java)
    at com.titan.clients.Client_1.main(Client_1.java:37)
    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:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.ClassNotFoundException
    ... 25 more
    javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:224)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:172)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
    at com.titan.ejb.__Tester1Remote_Remote_DynamicStub.findCustomer(__Tester1Remote_Remote_DynamicStub.java)
    at com.titan.ejb._Tester1Remote_Wrapper.findCustomer(com.titan.ejb._Tester1Remote_Wrapper.java)
    at com.titan.clients.Client_1.main(Client_1.java:37)
    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:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8309)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:984)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:424)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:162)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException
    ... 25 more
    javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.titan.ejb._Tester1Remote_Wrapper.findCustomer(com.titan.ejb._Tester1Remote_Wrapper.java)
    at com.titan.clients.Client_1.main(Client_1.java:37)
    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:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)

    It appears to be a bug in Netbeans.
    I have a similar error message with the following settings:
    A session bean remote interface
    be.macharis.toon.pacita.common.OriginFacadeRemoteA session bean implementing the remote interface
    be.macharis.toon.pacita.common.OriginFacadeAt deploying the ejb module, the session bean is loaded in the JNDI registry under the name be.macharis.toon.pacita.common.OriginFacadeRemote (the server log says so).
    I have the following code in a servlet:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    try {
        Context ic = new InitialContext();
        OriginFacadeRemote originFacade = (OriginFacadeRemote)ic.lookup(OriginFacadeRemote.class.getName());
        originFacade.setOrigin(componentRegistry, OriginFacadeRemote.ELEMENT_CONTAINER); // <- exception here
    } catch (NamingException e) {
        e.printStackTrace();
    }Yet I get a java.lang.ClassNotFoundException during the EJB method call. The exception does not take place during execution of the method, but before, while the EJB container is still resolving the method. It thus must be a(nother) bug in the implementation of the EJB container.
    And bugs that are outside your control are so much harder to deal with... There was another bug in the EJB container for serialising complex object that I could work around by explicitly serialising the Objects myself to byte arrays. It took me 5 days to do so. I don't know if I will manage to work around this bug. If I do, I will post my solution. For completeness, below my "clarifying" error dump:
    javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8309)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:984)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:850)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:844)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:834)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java:275)
         at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:361)
         at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:524)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345)
         at java.util.HashMap.readObject(HashMap.java:1029)
         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.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1692)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1210)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:393)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:119)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
         at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:154)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:194)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:159)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
         at be.macharis.toon.pacita.common.__OriginFacadeRemote_Remote_DynamicStub.setOrigin(__OriginFacadeRemote_Remote_DynamicStub.java)
         at be.macharis.toon.pacita.common._OriginFacadeRemote_Wrapper.setOrigin(be.macharis.toon.pacita.common._OriginFacadeRemote_Wrapper.java)
         at pacita.servlets.ContainerRegistry.processRequest(ContainerRegistry.java:64)
         at pacita.servlets.ContainerRegistry.doGet(ContainerRegistry.java:95)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: java.lang.ClassNotFoundException
         ... 77 more
    ----------END server-side stack trace----------  vmcid: SUN  minor code: 257 completed: Maybe

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Po_headers_sv3.get_po_status is not returning Status when used in Report

    Hi,
    po_headers_sv3.get_po_status is not returning any value when used in an RDF report. But, when I set the MO Context in TOAD/SQL*Plus and running the same query, it is returning the status.
    EBS Version : R12.1.3
    Oracle Forms Version : 10g
    Below is my query that I used.
    * File Name :
    * Modified By :
    * Modified Date :
    * Purpose : This report is modified for <> project. The changes are required due to PO_HEADERS_V, PO_LINES_V view changes in R12
    * Modification History
    * Change 1 : Replaced the view PO_HEADERS_V with the MOAC synonym PO_HEADERS
    * Change 2 : Added AP_SUPPLIERS in the query to fetch VENDOR_NAME
    * Change 3 : Added a join condition to fetch VENDOR_NAME
    * Change 4 : Added a function po_headers_sv3.get_po_status to fetch PO_STATUS
    SELECT POH.SEGMENT1,
    POH.CREATION_DATE,
    POH.ATTRIBUTE14 AS AR,
    POH.ATTRIBUTE15 AS LS,
    POH.ATTRIBUTE13 AS OBC,
    POL.AMOUT,
    PAHTEMP.FULL_NAME,
    APS.VENDOR_NAME,
    *         poheaders_sv3.get_po_status (poh.po_header_id) Status -- Change 4 _+
    FROM PO_HEADERS POH, -- Change 1
    AP_SUPPLIERS APS, -- Change 2
    (SELECT PO_HEADER_ID,
    Sum(UNIT_PRICE*QUANTITY) AS AMOUT -- unit_price* quantity = extended_price
    FROM PO_LINES
    GROUP BY PO_HEADER_ID) POL,
    (SELECT PAH.OBJECT_ID,
    PAH.EMPLOYEE_ID,
    PAPF.FULL_NAME
    FROM PO_ACTION_HISTORY PAH,
    PER_ALL_PEOPLE_F PAPF
    WHERE (PAH.OBJECT_ID,
    PAH.SEQUENCE_NUM)
    IN (SELECT OBJECT_ID,
    Max(SEQUENCE_NUM)
    FROM PO_ACTION_HISTORY
    WHERE OBJECT_TYPE_CODE = 'PO'
    AND ACTION_CODE = 'APPROVE'
    GROUP BY OBJECT_ID)
    AND PAH.EMPLOYEE_ID = PAPF.PERSON_ID(+)
    AND TRUNC(PAPF.EFFECTIVE_START_DATE) <= TRUNC(SYSDATE)
    AND TRUNC(PAPF.EFFECTIVE_END_DATE) >= TRUNC(SYSDATE)) PAHTEMP
    WHERE POH.PO_HEADER_ID = POL.PO_HEADER_ID(+)
    AND POH.PO_HEADER_ID = PAHTEMP.OBJECT_ID(+)
    AND POH.VENDOR_ID = APS.VENDOR_ID -- Change 3
    AND (TRUNC(POH.CREATION_DATE) >= TRUNC(:P_DATE_FROM) OR :P_DATE_FROM IS NULL)
    AND (TRUNC(POH.CREATION_DATE) <= TRUNC(:P_DATE_TO) OR :P_DATE_TO IS NULL)
    AND (POH.SEGMENT1 >= :P_NUM_FROM OR :P_NUM_FROM IS NULL)
    AND (POH.SEGMENT1 <= :P_NUM_TO OR :P_NUM_TO IS NULL)
    AND (POH.ATTRIBUTE13 >= :P_OBC_FROM OR :P_OBC_FROM IS NULL)
    AND (POH.ATTRIBUTE13 <= :P_OBC_TO OR :P_OBC_TO IS NULL)
    AND (POH.ATTRIBUTE14 >= :P_AN_FROM OR :P_AN_FROM IS NULL)
    AND (POH.ATTRIBUTE14 <= :P_AN_TO OR :P_AN_TO IS NULL)
    AND (POH.ATTRIBUTE15 >= :P_LS_FROM OR :P_LS_FROM IS NULL)
    AND (POH.ATTRIBUTE15 <= :P_LS_TO OR :P_LS_TO IS NULL)
    &LP_CONDITION_ORDER
    Please help me in this.

    learnt that PO number has generated in SRM and the same PO number not exist in ECC.
    check SM58 , rz20 log or Application monitor for the shopping cart.
    or monitor shopping cart click the icon follow on document and errror message must throw in 1 minutes.
    let us see .
    1. what is the settings in define backend OBJECTS
    2. check all basic data in the shopping cart - especially org data
    3. run bbp_check_consistancy report for your id?
    4. every user has the same issue?
    SEE THE RICHARDO technique
    http://wiki.sdn.sap.com/wiki/display/SRM/ShoppingCartStatusI1111-+Resubmit
    Muthu
    Report BBP_ALERT_SB_NOTTRANSFERED is available to change the status of the shopping cart item from I1111 to 'Error in transmission' (I1112) and later on, it is possible to retransfer this shopping cart from Application Monitor/Monitor Shopping Cart transactions.
    1480994  How to process a shopping cart with status I1111
    Edited by: Muthuraman Govindasamy on Jul 16, 2010 11:31 PM

  • Optimized sql not properly generated when using SAP tables

    Hi Experts
    We are using BODS 4.1 sp2.
    We have a simple dataflow where we pull data from SAP r3 using direct download and push it in our database.
    Basically its like this:
    SAP Table-->Query Transform-->Oracle Database
    Inside query transform,we have applied some conditions in where clause,which are combinations of 'or' and 'and' operator.
    However when we are generating optimized SQL for the same,we observe that the conditions in where clause are not being included in the optimized query.
    But if we replace all conditions by only 'or'  or by only 'and' condition,the optimized sql query with condition  is generated.
    Somehow the optimized sql with conditions is not generated if where clause has mixer of 'and' and 'or' conditions.
    The issue is only observerd for SAP Tables
    However the same dataflow in bods 4.0,generates an optimized sql containing the mixed conditions of 'and' and 'or' in where clause.
    Please help me on this.

    Dear Shiva
    We e
    Let me explain this in detail to you:
    We have a simple dataflow where we push data from the sap table directly into our oracle database.
    The dataflow has a query transform where we have some conditions to filter the data.
    The method used to pull data from R3 is direct download.
    System Used:
    BODS 4.2 SP1
    SAP R3 620 release(4.7)
    The where clause has mixed 'and' and 'or' operators.The problem is that this where clause is not getting pushed in the Optimized sql.
    Eg: Table1.feild1=some value and Table1.feild2=some value or Table1.feild3=some value.
    If this is the condition in  where clause,the where clause does not appear in optimized sql.
    Also the condition in where clause is from same table.
    However if all the condition in where clause are either all 'and'  or either all 'or',the condition gets pushed and appears in optimized sql.
    But if their is mixed 'and' and 'or' it fails.
    The same was not the case when we used BODS 4.0 with R3 620(4.7).
    We investigated further and used R3 730 with BODS 4.2.With R3 720,we the where condition was getting pushed into optimized sql for mixed 'and' 'or' predicated.
    SAP support too confirmed the same.They were able to reproduce the issue.
    We will use ABAP dataflow and see if if resolves the issue.
    Regards
    Ankit

  • Why is my Computer not authorized only when using the remote ?

    I am new to Itunes. I have taken a huge collection of my CDs and loaded them into Itunes having it save them as MP3 files. I can from the computer keyboard play any of them just fine. I hooked up the computer to my home theater system (including video hook up) my idea was that I could use the computer remote to control ITunes. However when I select a track using the remote I get a message telling me the computer is not authorized and I need to enter an Itunes store ID number. Whats the deal can ITunes only recognize if you purchase from them, can I not use my own purchased CDs??? -or- am I just doing something wrong? Any ideas would be welcomed, I have loaded about 16,000 tracks of music I already own. It would take forever to play each track so the remote will work. Oh, and it does, if I lay it first from the keyboard then the remote will play that track as well.... wierd

    I am on Quick Time 7.1.3
    I also tried the Option, choose library, no dice. The library is functioning fine. I plays anything I want if I work directly on the computer. It only gives the "not authorized message when I use the remote control.

Maybe you are looking for

  • Time Capsule / Leopard 10.5.8 / Time Machine / Disk can't be opened because the original item can't be found / OSStatus error -6602

    Hi, I'm facing a big issue with Time Machine on my Mac Book running Leopard 10.5.8 (build 9L31a) and my Time Capsule (firmware 7.6.1 (76100.4)). I have searched a lot (during 3 days !!) to find a solution but no luck ! I have the same syntoms as desc

  • Help with wired/wireless solution

    Ok.. I just purchased a G5 2.7 .. my old Mac is an iMac G4 1.25. Both computer are in the same room, and I need both to have internet access. Based on what I've read in the forums, it would be better to have a wired internet connection for speed, but

  • Problems with upgrading edu version

    I thought I'd check to see if anyone else is having problems upgrading to CS5.5 from an origianl EDU purchase. This happened both on a Creative Suite Master Collection upgrade and a Flash Builder Premium upgrade. On the first SN screen, I input the n

  • Import the table with 0 rows

    Hi I have a problem to import a dump that contains the tables with 0 rows. When i exported from ORACLE 11.2 64 bit on SERVER 2008 i noticed that log didn't confirm the tables with 0 rows. When i want to import to ORACLE 11.2 64 bit on other SERVER 20

  • What does missing Plug-in mean? I re-install adobe and it did not help.

    My company that I worked for changed how we veiw aand recieve our paystubs. They made it more secure but now some mac can not veiw their paystubs. is there something that needs to be turned off or turned on to veiw the phf online?