Urgent:why portal30 DAD can not invoke procedure through url

My portal version is 3.0.9
I found an mod/plsql problem .I created a procedure named current_user like this :
create or replace procedure current_users
AS
ignore boolean;
BEGIN
htp.htmlopen;
htp.headopen;
htp.title('Current Users');
htp.headclose;
htp.bodyopen;
htp.header(1, 'Current Users');
htp.bodyclose;
htp.htmlclose;
END;
And I created it in portal30 schema,and I want to use http://<hostname>/pls/portal30/current_users to invoke the procedure but the IE return a "NOT FOUND" error .
I tried to create the procedure in scott schema,and use http://<hostname>/pls/scott/current_users to invoke the procedure ,it worked well.
The diffrent between DAD "scott" and "portal30" is the Authorization type,"scott" use basic auth,and "portal30" use sso.
anybody knows why it appeared?thanks.

Thanks , it works now .
But I still has a question,for example:
When I create a procedure to query what is the newest items be added in content area.
Let surppose there has two users:A and B,and I want userA to see 10 Items and userB to see
20 Items because of the diffrent privilege,how can I do it ?
Thanks again

Similar Messages

  • Why the ejb can not pass the complie?

    I just use the work shop to create a simple ejb(SampleEJB.ejb) like:
    package SampleEJB;
    import javax.ejb.*;
    import weblogic.ejb.*;
    * @ejbgen:session
    * ejb-name = "Sample"
    * @ejbgen:jndi-name
    * remote = "ejb.SampleRemoteHome"
    * @ejbgen:file-generation remote-class = "true" remote-class-name = "Sample"
    remote-home = "true" remote-home-name = "SampleHome" local-class = "false" local-class-name
    = "SampleLocal" local-home = "false" local-home-name = "SampleLocalHome"
    public class SampleEJB
    extends GenericSessionBean
    implements SessionBean
    public void ejbCreate() {
    // Your code here
    * @ejbgen:remote-method
    public void Hello(){
              System.out.println("Hello");
    * @ejbgen:remote-method
    public void Hello2(){
              System.out.println("Hello2");
    but when i build it. The compiler give me error:
    ¾¯¸æ: SampleEJB.java:14: ÕÒ²»µ½ JNDI Ãû³Æ¡£
    [Info:] Creating D:\DOCUME~1\Yong\LOCALS~1\Temp\/wlw_SampleEJB_build\SampleEJB\SampleHome.java
    [Info:] Creating D:\DOCUME~1\Yong\LOCALS~1\Temp\/wlw_SampleEJB_build\SampleEJB\Sample.java
    [Info:] Creating D:\DOCUME~1\Yong\LOCALS~1\Temp\/wlw_SampleEJB_build\META-INF\ejb-jar.xml
    [Info:] null [Bean] MAKE CLASS NAME G:SampleHome P:SampleEJB N:SampleHome
    [Info:] null [Bean] MAKE CLASS NAME G:Sample P:SampleEJB N:Sample
    [Info:] Creating D:\DOCUME~1\Yong\LOCALS~1\Temp\/wlw_SampleEJB_build\META-INF\weblogic-ejb-jar.xml
    [Info:] Creating D:\DOCUME~1\Yong\LOCALS~1\Temp\/wlw_SampleEJB_build\ejbgen-build.xml
    SourceLoader roots: 10
    post-ejbgen:
    ¾¯¸æ: EJBGen ok. Compiling...
    Compiling 3 source files to D:\DOCUME~1\Yong\LOCALS~1\Temp\wlw_SampleEJB_build
    ¾¯¸æ: All files compiled. Running ejbc...
    <2004-5-3 ÏÂÎç16ʱ20·Ö17Ãë CST> <Warning> <EJB> <BEA-010212> <The EJB 'Sample(Jar:
    D:\DOCUME~1\Yong\LOCALS~1\Temp\wlw_SampleEJB_build)' contains at least one method
    without an explicit transaction attribute setting. The default transaction attribute
    of Supports will be used for the following methods: remote[Hello2(), Hello()]
    >
    SourceLoader roots: 60
    D:\DOCUME~1\Yong\LOCALS~1\Temp\wlw_SampleEJB_build\SampleEJB\Sample_vngkt3_HomeImpl.java:13:
    cannot resolve symbol
    symbol : class SampleHome
    location: class SampleEJB.SampleEJB
    implements SampleEJB.SampleHome, weblogic.utils.PlatformConstants
    ^
    D:\DOCUME~1\Yong\LOCALS~1\Temp\wlw_SampleEJB_build\SampleEJB\Sample_vngkt3_HomeImpl.java:69:
    cannot resolve symbol
    symbol : class Sample
    location: class SampleEJB.SampleEJB
    public SampleEJB.Sample create ()
    ^
    D:\DOCUME~1\Yong\LOCALS~1\Temp\wlw_SampleEJB_build\SampleEJB\Sample_vngkt3_EOImpl.java:15:
    cannot resolve symbol
    symbol : class Sample
    location: class SampleEJB.SampleEJB
    implements SampleEJB.Sample, weblogic.utils.PlatformConstants
    ^
    D:\DOCUME~1\Yong\LOCALS~1\Temp\wlw_SampleEJB_build\SampleEJB\Sample_vngkt3_HomeImpl.java:73:
    cannot resolve symbol
    symbol : class Sample
    location: class SampleEJB.SampleEJB
    return (SampleEJB.Sample) super.create(md_ejbCreate);
    ^
    4 errors
    ´íÎó: ERROR: Error from ejbc: Compiler failed executable.exec
    ´íÎó: ERROR: ejbc couldn't invoke compiler
    BUILD FAILED
    ´íÎó: ERROR: Error from ejbc: Compiler failed executable.exec
    ´íÎó: ERROR: ejbc couldn't invoke compiler
    Why? who can give me a hand

    I met the same problem. I am a newbie, but why weblogic even can not build a simple startup ejb project?

  • I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?

    I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Why my computer can not adjust the volume up and down althought i have had repair once time in a near day . i must waitting for 15days now it's continue

    why my computer can not adjust the volume up and down althought i have had repair once time in a near day . i must waitting for 15days now it's continue

    1. Remove the headphone.
        If you see red light in the headphone port, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
    2. Reset PRAM.  http://support.apple.com/kb/PH4405
    3. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".

  • HT4623 why my ipphone can not be activated when I updated to IS06? My iphone is 3gs and original locked but now it's offical unlocked before i updated to ISO6

    why my iphone can not be activated when I updated to IS06?
    My iphone is 3gs 8g, and original locked but now it's offical unlocked before i updated to ISO6.
    iphone information:
    iphone 3gs
    Model:MC640LL
    SN:84xxxxEDG
    <Edited By Host>

    That means your phone is now a brick. Congratulations.
    That's a risk you take when you decide to hack the phone.
    You can't get any help here. Discussing hacked and jailbroken devices is forbidden by the terms of service.
    Maybe you can find something on google that will help you.

  • Why my spotlight can not find my personal files ? It can find them before but can not find them now,I want to know why?

    why my spotlight can not find my personal files ? It can find them before but can not find them now,I want to know why?

    From the menu bar, select
     ▹ System Preferences ▹ Spotlight ▹ Privacy
    The list of items excluded from Spotlight indexing is shown (it may be empty.) Click the plus (“+”) icon to add an item to the list. Select your boot volume (under DEVICES) and add it to the list. Then remove it from the list by selecting it and clicking the minus (“-“) icon.
    Spotlight will rebuild the index. If you try to do a Spotlight search now from the magnifying-glass icon in the top right corner of the display, a pulsing dot will appear in the icon. When the dot disappears, the indexing is complete.

  • Why my firmware can not be upgraded?

    Why my firmware can not be upgraded? Do any one encounter the same problem? How can i fix It!!

    Hi BigFatCatMan,
    sorry I missed your earlier response.
    Assuming that you have tried downloading a "fresh" copy of the appropriate firmware update from http://www.apple.com/support/downloads/ and it still doesn't work, you might want to consider the firmware restoration CD process discussed at http://docs.info.apple.com/article.html?artnum=303469 and available through http://www.apple.com/support/downloads/firmwarerestorationcd13.html or http://www.apple.com/support/downloads/firmwarerestorationcd14.html (depending on precisely which MBP you have).
    Messing with firmware is always a tad risky, though, so that visit to a Genius bar might be worth trying, given the repeated anomaly.
    Rod
    Message was edited by: Rod Hagen

  • Why do I can not hear the siri's voice on my iphone speaker anymore, why do I can not hear the siri's voice on my iphone speaker anymore

    why do I can not hear the siri's voice on my iphone speaker anymore, why do I can not hear the siri's voice on my iphone speaker anymore

    All apps - all paid and free apps include DRM protection that is tied to the iTunes that was used to download the apps. This means you have apps on your iPhone that were downloaded with your daughter's iTunes account. Apps cannot be transferred or merged with another iTunes account.
    Delete the apps from your iPhone that were downloaded with your daughter's iTunes account to prevent being prompted for the account's password when there are app updates for the apps downloaded with the account. An iTunes account cannot be deleted.

  • Why my ipad can not update the ios7.1.1

    why my ipad can not update the ios 7.1.1

    Hello there, crivera350.
    The following Knowledge Base article offers up some great steps for if you are unable to update your iOS device:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Recovery mode erases your device and restores it, which should resolve the issue. If you previously synced with iTunes or iCloud, you may be able to restore from your backup after recovery.
    Turn off your device. If you can't turn it off, press and hold the Sleep/Wake and Home buttons at the same time and wait a few seconds for it to turn off.
    Plug the device's USB cable into your computer only.
    Hold down the device's Home button as you connect the USB cable to it.
    When you see the Connect to iTunes screen, release the Home button. If you don't see this screen, try steps 1 through 3 one more time.
    iTunes should open and display a message such as: "iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes."
    Use iTunes to restore your device.
    If you don't see your device in iTunes, follow these steps for Mac or these for Windows.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I do not know why, but I can not go to the App Store! before I went there without any problems but now I can not connect with App Store

    I do not know why, but I can not go to the App Store! before I went there without any problems but now I can not connect with App Store

    Open the Finder. From the Finder menu bar click Finder > Go > Go to Folder
    Type or copy/paste:   ~/Library/Cookies
    Click Go then move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Try the App Store.

  • Why att store can not help for unlocking the phone

    I followed the instructions to unlock our two old iphones after having iPhone 6. I received "unlock" message for one phone and did not receive the message for other phone. I am not sure if the phone has been unlocked. I went to AT&T store at Bridgewater Commons, NJ. and like to know if it Is unlocked. I was told that they can not tell and I need go to T mobile store to find out. I stopped by T mobile and found out the phone is still locked. So I went back to the AT&T store to try getting help. Because I already tried to unlock this phone three times before. There were 10 ATT people in the store and only two or three customers there. I asked one of employees to tell me what I need to do. I was told that they do not have the service to help unlocking and I need to call customer service. I said to her that you have 10 employees here and why can not help, I would like to speak to the store manager. The store manager Dawn was there and she told me the same thing. They can not help and I need to call the customer service. I kept asking but why you can not help. Finally she said that she can help me to call the customer. She called and the phone was not go through. Finally the employee asked me the phone number and I thought that maybe she will help me to unlock. Actually she just made another unlock request online for me and I need to wait the email in 24 hours and redo the unlock process later. I would to know why att store can not help the customers to unlock their old phones after getting the new phones. Why att keeps 10 employees in one store and can not help to solve customer problems.

    Xiyufu wrote:
    ... I would to know why att store can not help the customers to unlock their old phones after getting the new phones. Why att keeps 10 employees in one store and can not help to solve customer problems.
    AT&T keeps 10 employees at a store in case they need them to assist customers with purchasing items, or with items recently purchased.
    The Store representatives can't help you with the unlock portion because it requires access to systems they are not authorized to access. If store employees could access the unlock system (other than the very same portal you can access) then there would be a high risk that there would be inapropriate unlocks by employees for their friends & relatives.  AT&T's solution is to not allow them access to those systems, and have everyone go through the same process so that everyone gets the same treatment.  If you are having problems with your unlock requests through the portal, try contacting customer support or you can send a private message to the escalation team at ATT Customer Care and someone will get in touch with you in two to three business days to help you get a resolution to your problems.
    To check for their reply, click the little blue envelope. in the top bar near your username.

  • Why db mirror can not set db recovery model to simple?

    Hi ,All
    I have a question . 
    DB replication can set db recovery model to simple ,why db mirror can not  db recovery model to simple.
    DB mirror must be set to full recovery model.
    As far as I know, whatever db mirror  and db replication ,there is a log reader to read the log in the ldf file
    DB mirror and DB replication are almost the same principle to replicate the db to another db server
    Thanks a lots
    Love SQL

    Database mirroring involves redoing every
    insert, update, and delete operation that occurs on the principal database onto the mirror database as quickly as possible. Redoing is accomplished by sending a stream of active transaction log records to the mirror server, which applies log records to the
    mirror database, in sequence, as quickly as possible. Unlike replication, which works at the logical level, database mirroring works at the level of the physical log record.
    There is no log reader agent in case of mirroring its more internal. Mirroring
    uses the transaction log to redo everything at the mirror site.  In simple recovery model, the transaction log is effectively transitory and only enough information is kept in the log for undo/redo to keep the database consistent during
    crash recovery. Thats why mirroring does not work in simple recovery model.

  • I can not install xp through boot camp, the team just bought yesterday, is a macbook pro 13 when my old computer did it without problem with the same install disc

    I can not install xp through boot camp, the team just bought yesterday, is a macbook pro 13 when my old computer did it without problem with the same install disc

    There are no XP or Vista drivers for the new Apple computer hardware. Apple stopped XP and Vista support. http://support.apple.com/kb/HT4410.

  • N900 can not MOBILE BANKING through SIM TOOLKIT

    N900 can not Mobile banking through SIM TOOLKIT, because NOT support SIM TOOLKIT.
    EVEN AFTER UPDATE 10.2010.19-1 (last update).

    yes, I agree "FANCY" N900 less fancy without this service.... I really disapointed because if NOKIA 900 can use STK and Browser, we can choose the way that we love to use, right?
    now, "FANCY" Mobile PUSH
    romanf wrote:
    SIM TOOLKIT (STK) is need just for authorization (not only in Mobile Banking), Authorization system build on STK is handy and very secure.
    There is short animation that shows how it looks like: http://www.id.ee/public/Mobiil_ID_animation/
    Today STK is already realized on almost all mobile phones, but not on "fancy" Nokia N900. 

  • Why my function can not get proper varaible value

    Hi.
    I write a MXML file like this.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    invoke="setint()"
    creationComplete="getint()">
    <mx:Script>
    <![CDATA[
    import mx.utils.StringUtil;
    import mx.controls.Alert;
    public var number:int = 100;
    private function setint():void{
    number = 200;
    Alert.show("" + number);
    private function getint():void{
    Alert.show("" + number);
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    I define a varaible in ActionScrip. one function is to set
    its value, another is to get its value. why function getint()
    always get value 100. this varaible can not be set. the two
    function are trigger in invoke event and creationComplete.

    "crystalChen" <[email protected]> wrote in
    message
    news:ghska7$31a$[email protected]..
    > Hi.
    > I write a MXML file like this.
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > invoke="setint()"
    > creationComplete="getint()">
    >
    > <mx:Script>
    > <![CDATA[
    > import mx.utils.StringUtil;
    > import mx.controls.Alert;
    >
    > public var number:int = 100;
    > private function setint():void{
    > number = 200;
    > Alert.show("" + number);
    > }
    >
    > private function getint():void{
    > Alert.show("" + number);
    > }
    > ]]>
    > </mx:Script>
    >
    > </mx:WindowedApplication>
    >
    > I define a varaible in ActionScrip. one function is to
    set its value,
    > another
    > is to get its value. why function getint() always get
    value 100. this
    > varaible
    > can not be set. the two function are trigger in invoke
    event and
    > creationComplete.
    Check out "Defining Public properties by using getter and
    setter methods"
    http://www.adobe.com/livedocs/flex/3/html/help.html?content=ascomponents_3.html

Maybe you are looking for