Why can't Weblogic 12c find Managed Bean by annotation,which in a jar?

the detail:
why can't Weblogic 12c find Managed Bean by annotation,which in a jar?

Hi,
I got the same problem with weblogic 12c.
Somehow this guy got it working by using CDI and creating an empty beans.xml, it did not work for me.
i found the tricky problem is that should put a empty but include the <beans> tag beans.xml file.
http://www.coderanch.com/t/562233/JSF/java/WebLogic-Eclipse-Indigo-develop-JSF
I also tried to skip managedbean and use CDI ( @named ) but then I get some jboss weld exceptions on the value attribute of some jsf components.
I also saw this post
Can't seem to get a trivial CDI example to work on Weblogic 12c
I don't use OEPE very often so I'll need to kick this around a little when I get a chance.
Just as an out there kind of thought, OEPE does use the split-directory model for deployment by default -- perhaps try adjusting it to use the exploded archive model instead, just as a test to see if it removes the error?
Right click the server config and select Properties > WebLogic > Publishing > Publish as exploded archive
It seems like the Virtual Application deployment model of OEPE doesn't support CDI.
thanks
Edited by: Edwin Biemond on Dec 28, 2011 10:07 PM
Edited by: Edwin Biemond on Dec 28, 2011 10:25 PM

Similar Messages

  • Why can't PSE 9 find the file to load styles?

    Why can't PSE 9 find the file to load styles

    Use Task Manager to kill any running processes associated with PSE, then reboot. 
    Use Control Panel's Programs and Features to uninstall PSE. 
    The use Windows Explorer to delete any remaining PSE directories following these directions (change the names to version 10):
    http://helpx.adobe.com/photoshop-elements/kb/manually-remove-photoshop-elements-9.html
    Reboot.
    Re-install PSE9.
    Ken

  • Why a getter method of a managed bean WILL be called multiple times

    Why a getter method of a managed bean WILL be called multiple times during the JSF lifecycle?Why this designed?

    This is by design indeed. Each step in the JSF lifecycle can call a getter to get the required information.

  • Why can't i see "Find iPhone" App under cellular data so I can turn it on?

    Why can't i see "Find iPhone" App under cellular data so I can turn it on?

    We have cell data plan.
    I have other phones (4s) and can see "Find Phone" App under Cellular Data and can turn on/off.  But the problem phone does not have "Find IPhone" to be able toturn on/off.  I made sure app is running when i go to Cellular Data. I guess the question is why do Apps show up under Cellular Data to be able to turn on/off?  I thought if the app was made for Cellular Data it automatically showed up under Cellular Data.

  • Can you add a new managed bean when customizing taskflows?

    Hi,
    I see post on how to customize taskflows and most of the customization involves rendering changes such as showing/hiding parts of the page..
    But I was thinking is it possible to create your own managed bean in Customization Role of JDeveloper?
    I notice that when I right click some package, the New option is disabled by default? Does this mean that customization is limited to changing
    only the UI/JSFF file? The documentation does not mention about this or it maybe that I could not find it.
    What I would like is that, the new managed bean I define in my Customization Role will drive the UI.
    Anybody has done customization at this level? Would like to know your thoughts please.
    Is this possible or should I point my thinking in the other directions?
    Thanks.
    This is a Webcenter Portal Application by the way and I am looking into customizing an existing taskflow thru MDS means.
    Webcenter 11G PS5

    You cannot add a new managed bean via customization. Instead, these may be deployed as ADF Library jars within a shared library or as part of the Portal war.
    Once a managed bean has been added as above, then it can be referenced within a taskflow customization. For e.g. you can add a new button with the action set to a method in the managed bean.

  • Why can't LabVIEW 2011 find my PXI?

    I'm migrating some real-time Projects from older versions of LabVIEW (8.6 and 2010) to LabVIEW 2011.  For the older systems, I installed the appropriate Real-Time software (matching version numbers) on a PXI controller, which MAX saw just fine.  When I opened my Project, I chose a New Target and had it look for an existing Real-Time PXI -- it always found the PXI without trouble.
    I've just taken another PXI controller (8176) and installed LabVIEW 2011 RT on it.  Curiously, during the installation process, MAX identified it (and still does) as a Generic Desktop PC, and when it finds it, gives it a PC-looking icon instead of a PXI chassis icon.  When I open my Project in 2011 and try to add this PXI as a target, it finds no Real-Time PXIs.  Why is this?
    There's a VI called RT Ping Controllers that can find all the PXI controllers -- it finds my PXI, and identifies it (correctly) to me by the name I assigned it, so LabVIEW 2011 can definitely "see" this controller, even if Project (apparently) cannot.
    I'm beginning some tests involving TCP/IP (and Network Streams) with this controller and configuration.  I've had success with doing this in LabVIEW 2010, but in a (single!) test I've done with this new LabVIEW 2011 RT system, I couldn't "connect".  I haven't beaten this system enough, nor done a side-by-side comparison of equivalent code on a LabVIEW 2010 and LabVIEW 2011 system, but would appreciate it if anyone (else) has had issues (or, better, successes) with PXI-related Real-Time in LabVIEW 2011.

    Hello,
    What version of Measurement Automation Explorer and the NI-DAQmx driver do you have? Also, here is article that you may find of some use:
    Why can't I add my Real-Time Target in Project Explorer?
    http://digital.ni.com/public.nsf/allkb/40BF6300E77E8AD4862574EF006F2793?OpenDocument
    Regards,
    Patricia B.
    National Instruments
    Applications Engineer

  • Why can't I use find my iphone?

    Hello,
    so, I have an iPhone 4S with ios 7. Very nice. I also have find my Iphone installed, and iCloud enabled. All well. So I lost my iPhone 4S, thought to track it down with find my iPhone as I could still call my iPhone. My girl friend uses my old iPhone 3GS, so I thought just get "find my iPhone" on here phone, and track my 4S. Well, nice try, but doesn't work. It requires iOs 7!!! So I couldnt track my iPhone. Than I tried to use a friends iPhone 4, but he didnt have iOs 7 installed as well. I tried using icloud.com on Safari, it tells me to install the app............
    Why can't I install an app, which used to work on a 3GS anymore? I would guess that most people keep their old iPhones, and use it when the new iPhone was lost or stolen. Big surprise that it doesnt work.
    Thanks for that.
    Regards,
    Florian

    I do understand the backwards compatibility argument only partly. If I had an iPhone 3GS with Find my Iphone installed ages ago, I would be able to track my iPhone even with an old iPhone. I do understand that new Versions of an App can not support als iOS, but they could keep old Versions for old iOS devices. It is bad enough that the 3GS is not supported anymore with iOS, now all the apps start to not work anymore.
    There are other apps with offer that, a warning messages comes up that the latest for the iOS supported Version will be installed, but it is not the latest overall Version. I am happy with that, but apple doesnt seem to do it for their own, very usefull apps, which a very unusefull for me now.

  • Why can't iphone 4s find location or restaurants in ireland ???and

    i can't understand why can't siri find places and restaurants in ireland  ?? whenever i ask her its just replying i can't find places in ireland .....
    wats the point having a iphone 4s when it cant find places or anything . can anyone please tell me if there is any settings i need to change to make it work.
    thanks.

    Apple have to find data sources and licensing for this eventually for the whole world, and it's going to take a while. At the moment, only USA is covered.
    Like it says in the Apple Store:
    "Siri is available in Beta only on iPhone 4S and requires Internet access. Siri may not be available in all languages or in all areas, and features may vary by area. Mobile data charges may apply."

  • Why can I not resize Finder windows by grabbing any side or corner

    I love my Macs and Leopard having used PCs for 15 years. But one annoyance of the Mac OS is the inability to resize a window by grabbing any side or corner like I can do in MS Windows.
    Being able to resize a Mac OS window by having to grab the lower right corner is a very limiting especially when I have a number of windows open at one time. I would think with all of Apple's sophistication that this would be a simple convenience to add.
    Are there any utilities out that that add this functionality to Leopard?
    Thanks for sharing in advance.
    Bud James

    nerowolfe wrote:
    {quote:title=SC::UK wrote:}{quote}
    He said he'd been using PCs, not Macs, for 15 years. I also find it annoying that I cannot resize from any corner or side, and that the maximise button on each window seems to do something totally random.
    When you change from one OS to another, do you really expect them to be the same? Then why change? It's like changing from a LH drive car to a RH drive car. It takes a few minutes and that's it.
    Different OSs are different otherwise they would be the same.
    You don't have a powerful Unix system lying under a Windows GUI and you don't need anti-virus software or have to defrag every day or so. And you do not need to reinstall every month or so or ever get caught in DLL-heck.
    Yes Macs are different from Windows machines. I regularly use both and have no problems with either. Whether the gearshift and rearview mirror are on the right or left does not matter to me. I like either.
    I'm not sure what disk fragmentation, reinstallation or DLL-**** (never heard of DLL-heck) have to do with the OPs question and observation about being able to drag any corner when you have a screen full of windows. Sounds to me like an attack in desparate defence of OS X instead of constructive discussion.
    I also regularly use both, professionally, but there are things that Windows does better than OS X, and there is no reason why OS X could not improve. For example, why can I not selectively remove (i.e. completely destroy) files from my trash?

  • Why can't I turn find my mac on?

    I tried to turn on "Find my Mac" via the system preferences and I got an alert stating "Some configurations, such as software or hardware RAID, do not support a recover partitioned and cant be used with Find my Mac"
    Why am I getting this message and what do I need to do to solve the problem and turn Find my Mac on?
    I have 3 partitions on my hard drive, HFS for my OSX files, NTFS for bootcamp and a FAT for transferring stuff between the 2. Not sure if this is what the error message is getting at, if it is I still have no idea why?
    Thanks in advance

    That suggests installing Lion Recovery update, which then presents me with another error. See this disscussion https://discussions.apple.com/message/17882273#17882273.
    Does anyone know if there is any other way to fix "Find my Mac" ?

  • HT4890 why can't I see/find my photos on the cloud?

    I can't seem to find my photos that were on my phone on my cloud account on my pc? I see the folder, I don't see the photos. Any ideas?

    The Find My iPhone app is an iOS app. What is it that you are wanting to do? If you want to look at the devices you have set up with Find My iPhone, you need to go to icloud.com and sign in. You will find the app there.
    Cheers,
    GB

  • Why can't I select "Find"? Something is keeping it dimmed out.

    I'd like to search my email for certain content and references. I've done it before using the "Find" entry. But today that's dimmed out and I can't figure out why. Any ideas?

    Check Options > Advanced > General and see if the global search is enabled.

  • Why can't i close finder

    why cant i close finder even if i try to force quit it?

    The Finder is how you and your Mac filing system interact. Without the Finder (or a Finder replacement such as PathFinder) you cannot find files or launch programs. The Dock doesn't function without the Finder. So asking how to quit the Finder is rather like asking how to remove the car's steering wheel so the driver will be more comfortable during long trips. Can't do it - wouldn't want to do it.

  • Why can't my jsp use this bean??

    hi,
    i'm stuck with this problem since yesterday. hope anyone can help me sort this out. i'll try to state my problem here as clear as possible...
    i have a jsp page named call.jsp which i put in the folder
    C:\Tomcat 5.5\webapps\ROOT\mypage\
    here's the content (partially) of the call.jsp
    <%@ page import = "login.*" %>
    <jsp:useBean id="mybean" class="login.loginDB"/>and here's the content of the bean which this call.jsp is trying to call. name of the bean is loginDB.java. i put the the loginDB.java inside this folder:
    C:\Tomcat 5.5\webapps\ROOT\mypage\WEB-INF\classes\login
    then i compiled the java file using the command prompt
    C:\Tomcat 5.5\webapps\ROOT\mypage\WEB-INF\classes\login\javac loginDB.java
    and so the output is loginDB.class which obviously is placed in the folder C:\Tomcat 5.5\webapps\ROOT\mypage\WEB-INF\classes\login\
    here's the content of loginDB.java:
    package login;
    import java.sql.*;
    import java.util.*;
    public class loginDB implements java.io.Serializable {
         private String dbServer = "localhost";
         private String dbName = "toyo-SMP";
         //getter
         public String getdbServer(){
              return dbServer;
         public String getdbName(){
              return dbName;
    }so the problem is, everytime i call call.jsp, this error will come out:
    org.apache.jasper.JasperException: /SMP-toyo/logoutPekerja.jsp(85,0) The value for the useBean class attribute login.loginDB is invalid.
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)i don't know what else should i to. thanks a lot for helping.
    btw i'm using tomcat 5.5.20 with jdk 1.5

    I got it why you are getting below above error: You should have a public constructor in your bean class without any arguments. Modify your bean like this:
    package login;
    import java.sql.*;
    import java.util.*;
    public class loginDB implements java.io.Serializable {
         private String dbServer = "localhost";
         private String dbName = "toyo-SMP";
    //Constructor
         public loginDB (){
         //getter
         public String getdbServer(){
              return dbServer;
         public String getdbName(){
              return dbName;
    }

  • Why can't my MacBook find my external hard drive through wireless network

    I have a 1 TB Western Digital My Book Essential external hard drive connected to my AirPort Extreme. I've been using it with my MacBook via my wireless network (mainly for music and movies) now for about 2 years without any trouble. Recently my MacBook has been unable to find the HD, it gives me the following message "The operation can't be completed because the original item for "My Book 1TB HD" can't be found". If I reboot my entire system (fios router, AirPort Extreme, MacBook, and external HD) I can access it for a short period of time but then the same problem arises. What can I do to resolve this issue and/or figure out where the actual problem is?
    Thanks in advance!

    The USB port on the AirPort Extreme has always been borderline as far as being able to provide sufficient power for a hard drive. It is not a high power port like  you would find on a computer.
    If you have not been using a powered USB hub with the AirPort Extreme....it is possible that the power supply on the Extreme has aged a bit, and it no longer puts out quite as much power as before.
    Try a powered USB hub, but check the store's return policy before you buy in case this is not the solution.
    Atter the powered USB hub, I have no suggestions other than the obvious..... check/replace the USB cable from the hard drive to the USB port on the AirPort.
    Also check using an Ethernet connection from your Mac to the AirPort Extreme...to eliminate the possibility of a wireless interference issue being the culprit.

Maybe you are looking for

  • How to call excel macros programmatically in C#?

    Hi, I have a requirement where i need to call excel (2003) macros in C# program. Can anyone help me with a code snippet to do the same? The excel macro function takes two input parameters? how can the parameters be passed? Any code snippet to do the

  • Javascript setting value in session state

    I have a javascript that figures our the interest rate for a mortgage loan based on principal balance, term and monthly payment. The script also rounds up to the nearest 8th. Here is the line code that sets the value on the APEX form: document.getEle

  • Encoding problem with convert and CLOB involving UTF8 and EBCDIC

    Hi, I have a task that requires me to call a procedure with a CLOB argument containing a string encoded in EBCDIC. This did not go well so I started narrowing down the problem. Here is some SQL to illustrate it: SQL> select * from v$version; BANNER O

  • Images can be viewed when inserting compact flash card but many just black when imported. What's up?

    When I insert the compact flash card containing 158 images (Raw+jpeg Fine) into the Mac I can view all images, however after I import them only about half of them can be viewed. The remaining images are blacked out even though the info for each image

  • JAI + JSP

    Hello. I want to get the height of a image in a jsp with jai, but I am always getting: javax.servlet.ServletException      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)      org.apache.jasper.runtime.PageCo