Unable to resolve component to compilation

I am using the FB4 beta 2 with the latest stable build (4.0.0.13875) and am unable to use components within the same library project.  I have created a simple project as an example with two components, Simple and Composed.  They both extend s:Group.
Simple.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">
     <s:Label text="Hello world" />
</s:Group>
Composed.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
     xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300" xmlns:components="components.*">
     <components:Simple>
     </components:Simple>
</s:Group>
Both files reside in the same directory (the components directory).  I cannot even import the Simple class in a script declaration.

I agree, this is strange and may not be directly related to FB4 or the SDK.  I am considering re-installing FB4...
Here is what I do know (I would attach the fxpl if I could):
- this is a flex library project, not an application.  That seems to make a difference.
- the components package does live under the src directory
- I cannot import the class in AS, as if the component simply does not exist
- there is an entry in the flexLibProperties file (and it is correct)
- FB4 autopopulates the component and also provides it in the designer (which leads me to think it is not FB4)
- I am using the standalone version
I am wondering if I inadvertently flipped a setting somewhere, although I don't see what I could switch that would cause components to be invisible.

Similar Messages

  • Unable to resolve component /atg/commerce/claimable/ClaimableManager

    Folks,
    any idea why this error. getting while running the -m Store.Storefront.
    Using...
    ATG10.1.2
    JDK1.6.0_29
    jboss-5.1.0.GA
    22:37:17,377 ERROR [nucleusNamespace.] Unable to resolve component /atg/commerce/claimable/ClaimableManager
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
    at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
    at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
    at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
    at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
    at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:116)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
    at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
    at atg.service.subclasser.PropertyGetterSubClasser.getSubClass(PropertyGetterSubClasser.java:123)
    Thanks in advance..

    Thank you Mishra for you response.
    I think both are different exceptions.
    Mine:
    2:37:17,377 ERROR [nucleusNamespace.] Unable to resolve component /atg/commerce/claimable/ClaimableManager
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
    Other Thread it's:
    13:18:38,029 ERROR [nucleusNamespace.] Unable to resolve component /atg/commerce/claimable/ClaimableManager
    net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
    at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237)

  • Unable to resolve 'class' or 'interface' expected compile error

    Any help would be appreciated - I can't resolve the following compile errors:
    E:\j2sdk1.4.0\bin\RandomApp3\src\RandomApp3.java:85: 'class' or 'interface' expected private void initComponents() {
    E:\j2sdk1.4.0\bin\RandomApp3\src\RandomApp3.java:97: 'class' or 'interface' expected }
    E:\j2sdk1.4.0\bin\RandomApp3\src\RandomApp3.java:97: 'class' or 'interface' expected }
    3 errors
    here is the source:
    import javax.swing.JOptionPane;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.util.Random;
    public class RandomApp3 extends javax.swing.JApplet {
    public RandomApp3() {
    public static void main(String args[]) {
    /** Creates a new instance of RandomApp3 */
    public class RandInt {
    private Random randNum;
    //constructor for RandInt class
    public RandInt(int endInt) {
    int randNum;
    int range;
    int[] lottery = new int[5];
    for (int x = 0; x <=49; x++) {
    range = (int) (Math.floor(Math.random()*5 + 1));
    lottery[range]++;
    /** Initializes the applet RandomApp3 */
    public void initComponents() {
    try {
    java.awt.EventQueue.invokeAndWait(new Runnable() {
    public void run() {
    initComponents();
    } catch (Exception ex) {
    ex.printStackTrace();
    /** This method is called from within the init() method to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    panell = new java.awt.Panel();
    getContentPane().add(panell, java.awt.BorderLayout.CENTER);
    // </editor-fold>
    // Variables declaration - do not modify
    private java.awt.Panel panel1;
    // End of variables declaration
    /** This method is called from within the init() method to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    panel1 = new java.awt.Panel();
    getContentPane().add(panel1, java.awt.BorderLayout.CENTER);
    // </editor-fold>
    // Variables declaration - do not modify
    private java.awt.Panel panel1;
    // End of variables declaration
    }

    Re-posted with code tags. This may show that there is an extra } just before initComponents()
    public class RandomApp3 extends javax.swing.JApplet {
    public RandomApp3() {
    public static void main(String args[]) {
    /** Creates a new instance of RandomApp3 */
    public class RandInt {
    private Random randNum;
    //constructor for RandInt class
    public RandInt(int endInt) {
    int randNum;
    int range;
    int[] lottery = new int[5];
    for (int x = 0; x <=49; x++) {
    range = (int) (Math.floor(Math.random()*5 + 1));
    lottery[range]++;
    /** Initializes the applet RandomApp3 */
    public void initComponents() {
    try {
    java.awt.EventQueue.invokeAndWait(new Runnable() {
    public void run() {
    initComponents();
    } catch (Exception ex) {
    ex.printStackTrace();
    /** This method is called from within the init() method to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    panell = new java.awt.Panel();
    getContentPane().add(panell, java.awt.BorderLayout.CENTER);
    // </editor-fold>
    // Variables declaration - do not modify
    private java.awt.Panel panel1;
    // End of variables declaration
    /** This method is called from within the init() method to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    panel1 = new java.awt.Panel();
    getContentPane().add(panel1, java.awt.BorderLayout.CENTER);
    // </editor-fold>
    // Variables declaration - do not modify
    private java.awt.Panel panel1;
    // End of variables declaration
    }

  • Unable to install Component Development Tool??

    Hi,
    I am trying to install Component Development Tool on Eclipse Juno on 64-bit machine(Windows 7)
    I set my path variable to  "D:\Program Files\Java\jdk1.6.0_26\bin".
    In eclipse I configured windows-->preferences-->compiler to 1.6 and Installed JRE's to "D:\Program Files\Java\jdk1.6.0_26\jre" and confirmed default Java verison is 1.6 by using java -version in the command prompt.
    Downloaded the archive "lcwcdtool_p1_050710" and while installing I am getting the following error:
    "Cannot complete the install because one or more required items could not be found.
    Software currently installed: Adobe Component Development Tool 9.5.0 (com.adobe.livecycle.cde.feature.group 9.5.0)
    Missing requirement: Cde Plug-in 9.5.0.v201005062331 (com.adobe.livecycle.cde 9.5.0.v201005062331) requires 'bundle org.eclipse.emf.codegen 2.3.0' but it could not be found
    Cannot satisfy dependency:
    From: Adobe Component Development Tool 9.5.0 (com.adobe.livecycle.cde.feature.group 9.5.0)
    To: com.adobe.livecycle.cde [9.5.0.v201005062331]"
    Can anyone suggest how to proceed...

    Hi,
    This error was resolved by installing 32-bit java and Eclipse 3.4, but after successful installation of Component Development tool I'm unable to get component development environment. I'm unable to get below mentioned environment(I'm unable to find New LiveCycle in File-->New-->) in eclipse.
    Please suggest....

  • Javax.naming.NameNotFoundException: Unable to resolve

    Dear friends,
    I am doing simple application EJB3 with JSF but I got this exception any help please.
    javax.naming.NameNotFoundException: Unable to resolve 'SessionEJB'. Resolved ''; remaining name 'SessionEJB'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at asu.view.backing.Login.validate(Login.java:127)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:387)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    now I got this error,
    even my select is simple
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
         java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].; nested exception is: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
    java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1328)
         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 weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:93)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:91)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:80)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:26)
         at $Proxy144.createQuery(Unknown Source)
         at asu.model.SessionEJBBean.validateLogin(SessionEJBBean.java:51)
         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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy147.validateLogin(Unknown Source)
         at asu.model.SessionEJB_qxt9um_SessionEJBImpl.validateLogin(SessionEJB_qxt9um_SessionEJBImpl.java:316)
         at asu.model.SessionEJB_qxt9um_SessionEJBImpl_CBV.validateLogin(Unknown Source)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
         at $Proxy145.validateLogin(Unknown Source)
         at asu.view.backing.Login.validate(Login.java:129)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:387)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: Exception [EclipseLink-8004] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.JPQLException
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
         at org.eclipse.persistence.exceptions.JPQLException.aliasResolutionException(JPQLException.java:192)
         at org.eclipse.persistence.internal.jpa.parsing.VariableNode.validate(VariableNode.java:166)
         at org.eclipse.persistence.internal.jpa.parsing.Node.validate(Node.java:91)
         at org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate(BinaryOperatorNode.java:34)
         at org.eclipse.persistence.internal.jpa.parsing.EqualsNode.validate(EqualsNode.java:41)
         at org.eclipse.persistence.internal.jpa.parsing.WhereNode.validate(WhereNode.java:34)
         at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:211)
         at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:187)
         at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:177)
         at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
         at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:202)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:173)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:125)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:109)
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1326)
         ... 90 more
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
         java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].; nested exception is: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:120)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:102)
         at $Proxy145.validateLogin(Unknown Source)
         at asu.view.backing.Login.validate(Login.java:129)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:387)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1328)
         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 weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:93)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:91)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:80)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:26)
         at $Proxy144.createQuery(Unknown Source)
         at asu.model.SessionEJBBean.validateLogin(SessionEJBBean.java:51)
         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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy147.validateLogin(Unknown Source)
         at asu.model.SessionEJB_qxt9um_SessionEJBImpl.validateLogin(SessionEJB_qxt9um_SessionEJBImpl.java:316)
         at asu.model.SessionEJB_qxt9um_SessionEJBImpl_CBV.validateLogin(Unknown Source)
         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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
         ... 52 more
    Caused by: Exception [EclipseLink-8004] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.JPQLException
    Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
         at org.eclipse.persistence.exceptions.JPQLException.aliasResolutionException(JPQLException.java:192)
         at org.eclipse.persistence.internal.jpa.parsing.VariableNode.validate(VariableNode.java:166)
         at org.eclipse.persistence.internal.jpa.parsing.Node.validate(Node.java:91)
         at org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate(BinaryOperatorNode.java:34)
         at org.eclipse.persistence.internal.jpa.parsing.EqualsNode.validate(EqualsNode.java:41)
         at org.eclipse.persistence.internal.jpa.parsing.WhereNode.validate(WhereNode.java:34)
         at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:211)
         at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:187)
         at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:177)
         at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
         at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:202)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:173)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:125)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:109)
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1326)
         ... 90 more

  • Error in a page with a master-detail:Unable to resolve a Validator instance

    Hi all,
    I am using Jdeveloper 11.1.1.2
    I have a page with a master table and a detail table.
    When I try to select a row in the some tables (master or detail), I have this error:
    <AbstractValidatorTag><createValidator> Unable to resolve a Validator instance using either validatorId ' or binding #{row.bindings.IdLocazione.validator}.
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    javax.servlet.ServletException: Unable to resolve a Validator instance using either validatorId '' or binding '#{row.bindings.IdLocazione.validator}'.
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any suggestions?
    Thanks
    Andrea
    Edited by: Andrea9 on 17-feb-2010 00:45

    I am using ADF, I can reproduce in a testcase, but I need time.
    If you want, I can cut and paste the jspx page.
    However, I have a panelStretchLayout: on top facet I have the master table, while in the center facet I have the detail table.
    I have a query component to filtering data of the master table.
    I have this problem doing this:
    1) create a new record on master table.
    2) create some records on detail table (sons of the record of the master table just created).
    3) clicking on "find" of the query component.
    I have tried to do a master-detail with the HR connection using Departments table (master) and Employee (detail). When I try to delete a departments, it does not work, because I have to delete the employees first, while in my case I want to delete the master and the detail in cascade.
    Thanks
    Edited by: Andrea9 on 17-feb-2010 08:25

  • Pure AS3 Project unable to resolve resource bundle

    I've been working on a pure AS3 project in Flash Builder and all has been going just fine. All of a sudden, I started getting errors such as:
    Unable to resolve resource bundle "core" for locale "en_US". Player Unknown Flex Problem
    What in the heck did I likely do?  Any hints welcome.

    I jut saw the posting today.
    Place your local folder in application root
    In project properties : Flex Compiler Argument : additional compiler argument : -source-path ../locale/{locale}
    add this.

  • OracleConnection.createARRAY: Unable to resolve type

    Hi All,
    for some good reasons (don't ask ...) I need to implement a solution where a directory listing, on the DB server machine, can be gotten via an sql query.
    I have to say I am not very experienced with Java in Oracle, please forgive the newbie mistakes.
    Environment: 11gR2 on Win7, SQLDeveloper as front-end.
    In order to do this, I created a simple Java class, DB types and PL/SQL wrappers as follows:
    CREATE OR REPLACE TYPE T_FS_ENTRY AS OBJECT (
      is_dir CHAR( 1 )
    , entry_name VARCHAR2( 4000 )
    , entry_size NUMBER
    , last_modified NUMBER );
    CREATE OR REPLACE TYPE T_FS_ENTRY_TAB IS TABLE OF T_FS_ENTRY;
    I then created the Java class
    CREATE OR REPLACE AND COMPILE java source named FSEntryReturn
    as
      import java.sql.*;
      import java.util.*;
      import java.io.File;
      import oracle.jdbc.*;
      import oracle.sql.*;
      public class FSEntryReturn implements ORADataFactory, ORAData {
        private CHAR is_dir;
        private CHAR entry_name;
        private NUMBER entry_size;
        private NUMBER last_modified;
        public FSEntryReturn( OracleConnection conn
                            , String is_dir
                            , String entry_name
                            , long entry_size
                            , long last_modified )
        throws SQLException
            this.is_dir = new CHAR( is_dir, oracle.sql.CharacterSet.make( conn.getStructAttrCsId() ) );
            this.entry_name = new CHAR( entry_name, oracle.sql.CharacterSet.make( conn.getStructAttrCsId() ) );
            this.entry_size = new NUMBER( entry_size );
            this.last_modified = new NUMBER( last_modified );
        public FSEntryReturn( CHAR is_dir
                            , CHAR entry_name
                            , NUMBER entry_size
                            , NUMBER last_modified )
        throws SQLException
            this.is_dir = is_dir;
            this.entry_name = entry_name;
            this.entry_size = entry_size;
            this.last_modified = last_modified;
        public FSEntryReturn( Object[] attributes )
        throws SQLException {
          this( (CHAR)attributes[0]
              , (CHAR)attributes[1]
              , (NUMBER)attributes[2]
              , (NUMBER)attributes[3] );
        public FSEntryReturn( Datum d ) throws SQLException {
          this( ( (STRUCT)d).getOracleAttributes() );
        public ORAData create( Datum d, int sqlType ) throws SQLException {
          if(d == null) return null;
           else return new FSEntryReturn( d );
        public STRUCT toSTRUCT( Connection conn ) throws SQLException  {
          StructDescriptor sd = StructDescriptor.createDescriptor( "T_FS_ENTRY", conn );
          Object[] attributes = { is_dir, entry_name, entry_size, last_modified };
          return new STRUCT( sd, conn, attributes );
        public Datum toDatum( Connection conn ) throws SQLException {
          return toSTRUCT( conn );
        public static List<FSEntryReturn> getDirListImpl( OracleConnection conn, final String dirPath )
        throws SQLException
          List<FSEntryReturn> ret = new ArrayList<FSEntryReturn>();
          File dir = new File( dirPath );
          if( dir.isDirectory() ) {
            for( String fileName : dir.list() ) {
              File f = new File( dir, fileName );
              FSEntryReturn fsr = new FSEntryReturn( conn
                                                   , (f.isDirectory() ? "1" : null)
                                                   , fileName
                                                   , f.length()
                                                   , f.lastModified() );
              ret.add( fsr );
                } else
            throw new RuntimeException( "Path " + dirPath + " is not a directory" );
          return ret;
        public static ARRAY getDirList( final String dirPath )
        throws SQLException, ClassNotFoundException
          // initialize the connection
          OracleConnection conn = null;
          conn = (OracleConnection) ( new oracle.jdbc.OracleDriver() ).defaultConnection();
          FSEntryReturn[] retArray = getDirListImpl( conn, dirPath ).toArray( new FSEntryReturn[0] );
          // Map the java class to the Oracle type
          Map map = conn.getTypeMap();
          map.put("T_FS_ENTRY", Class.forName( "FSEntryReturn" ) );
          // ArrayDescriptor retArrayDesc = ArrayDescriptor.createDescriptor( "FPL_XSD.T_FS_ENTRY", conn );
          // create an Oracle collection on client side to use as parameter
          // ARRAY oracleCollection = new ARRAY( retArrayDesc, conn, retArray );
          ARRAY oracleCollection = conn.createARRAY( "T_FS_ENTRY", retArray );
          return oracleCollection;
    Finally the wrapper:
    create or replace PACKAGE QAO_SUPPORT
    AS
      FUNCTION get_dir_list( p_dir IN VARCHAR2 )
      RETURN t_fs_entry_tab;
    END QAO_SUPPORT;
    create or replace PACKAGE BODY QAO_SUPPORT
    AS
      FUNCTION get_dir_list( p_dir IN VARCHAR2 )
      RETURN t_fs_entry_tab
      AS LANGUAGE JAVA
      NAME 'FSEntryReturn.getDirList( java.lang.String ) return oracle.sql.ARRAY';
    END QAO_SUPPORT;
    At last I granted privileges on a directory:
    BEGIN dbms_java.grant_permission( 'FPL_XSD', 'SYS:java.io.FilePermission', 'C:\-', 'read,write,execute' ); END;
    COMMIT;
    When I test this as FPL_XSD user, the same schema where the type, package and source are defined:
    select * from table( QAO_SUPPORT.get_dir_list( 'C:\\TEMP' ) );
    I get the following error (sorry for the dutch stuff, basically, "uncaught java exception: error in creation of descriptor:..."):
    ORA-29532: Java-aanroep is afgesloten door niet-onderschepte Java-uitzondering: java.sql.SQLException: Maken van descriptor is mislukt.: Unable to resolve type: "FPL_XSD.T_FS_ENTRY".
    ORA-06512: in "FPL_XSD.QAO_SUPPORT", regel 30
    Even if it is not exactly stated the error happens at the line:
    ARRAY oracleCollection = conn.createARRAY( "T_FS_ENTRY", retArray );
    Note that when logged in as FPL_XSD, desc T_FS_ENTRY returns the type description.
    I searched everywhere and consulted the documentation. I think it should work. I am out of ideas, but I have a suspect the problem might be with the connection configuration, maybe?
    Any help or hint is greatly appreciated.
    Kindly,
    Andrea

    Hi All,
    I insisted trying and I found out what the problem was. In:
    ARRAY oracleCollection = conn.createARRAY( "T_FS_ENTRY", retArray );
    The first argument is an Oracle type name, I wrongly used the RECORD (OBJECT) type name - T_FS_ENTRY -, not the name of the nested table T_FS_ENTRY_TAB.
    So the code should look like:
    ARRAY oracleCollection = conn.createARRAY( "T_FS_ENTRY_TAB", retArray );
    Which works.
    //Andrea

  • Unable to resolve resource bundle "myResources" locale "en_US" ?

    Hi All,
                        I have created two locales one is en_US and Second one is fr_FR. I placed these two files in locale file. These files directory structure is
                    ......\src\locale\en_US and .....\src\locale\fr_FR . After  placing these two files in the project i was compile my application and it is showing just like unable to resolve resource bundle "myResources" locale "en_US"...  can any one help me how to configure the resource bundle in my flex application... i dont have exposure to resource bundle earlier. So plese tell me the configurations step by step.. how to configure...
                           My resource property name is myResource.properties .
    Thanks
    Ram

    If you have already followed the correct directory structure. Then please check the following,
    1. change the compiler arguments, to "-locale=en_US,fr_FR -source-path=locale/{locale}"
    you can find the compiler arguments, by right-clicking over the project name on the flex builder, properties-> flex compiler->compiler options.
    2. please check whether both the locale properties files uses the correct encoding. If not change them to "UTF-8"
    you can find this, by right-clicking over the properties file on the flex builder, properties->resources->text file encoding

  • BundleException: Unable to resolve package; (package=org.apache.felix.scr.annotations)

    Hi guys,
    My bundle is installed but not active:
    Got the following errors in my log:
    org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle (bundle ID=1246) : myservlet.bundle. Reason: org.osgi.framework.BundleException: Unresolved constraint in bundle myservlet.bundle [1246]: Unable to resolve 1246.0: missing requirement [1246.0] package; (package=org.apache.felix.scr.annotations). Will retry.
    org.apache.felix.scr.annotations is imported and included in the bnd file.
    In Felix console I get this:
    org.apache.felix.scr from org.apache.felix.scr (41)
    org.apache.felix.scr.annotations -- Cannot be resolved
    org.apache.felix.scr.annotations.sling -- Cannot be resolved
    org.apache.sling.api from org.apache.sling.api (92)
    org.apache.sling.api.resource from org.apache.sling.api (92)
    org.apache.sling.api.servlets from org.apache.sling.api (92)
    org.ietf.jgss from org.apache.felix.framework (0)
    org.osgi.framework from org.apache.felix.framework (0)
    org.slf4j from slf4j.api (11)
    org.w3c.dom from org.apache.felix.framework (0)
    org.xml.sax from org.apache.felix.framework (0)
    Just can't figure out what else  need to be done to have org.apache.felix.scr.annotations resolved?
    Thanks!!!

    You might be importing the wrong ComponentContext if you're using one in your activate method's signature.  CRXDE gives errors with no explanation in that case.  Ensure that you have:
    import org.osgi.service.component.ComponentContext;
    as there are a couple of other ComponentContext classes and the class from the osgi package may not be the default chosen by CRXDE when imports are auto-populated.

  • Error message hphmon06.exe - Unable to Locate Component

    I am getting the following message upon startup:
    hphmon06.exe - Unable to Locate Component
    This application has failed to start because hpzjrd01.dll was not found.  Re-installing the application may fix this problem.
    On HP's website, it says:
    Uninstall all HP products associated with this device.
    Then,
    Click here to go to the Software & Driver download page of the HP Web site.
    Type the product name in the search field, and then press Enter.
    What "products associated with this device" do I uninstall?  And what "product name" do I search for when I go to look for the new driver?
    These instructions could not be any more vague and frustrating.

    Should you have a HP Photosmart printer, consider uninstalling it and reinstall it.  The error message you are receiving I believe is related to this device.
    Or
    Failing that you may also try using the system configuration utility (msconfig)
     Click Start then Run. In the Open box, type msconfig.exeand press enter. Once displayed, click on the "Startup" tab. You will see a list of items and the 2 columns that we're interested in are "Startup Item"
    look for hphmon06 and "Command" look for hphmon06.exe.
    Note you can expand the width of Command column by holding down the left
    mouse button with the cursor on the vertical line between the column headings
    and then dragging the mouse to the right.
    To stop the process click on the box on its left to remove the check mark.
    Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations.

  • Error: unable to resolve '/images/title.png' for transcoding

    Error:
    Error: unable to resolve '/images/title.png' for transcoding
    Code:
    [Embed(source="/images/title.png")]
    private var title:Class;
    In FB3, I get this error when building. At the root of the
    project I have an assets folder, which I have added as a source
    path, and that folder has the images folder referenced. It seems to
    me that the file should be found. How can I solve this? For what
    it's worth, I'm using ANT to do the build. Here is the mxmlc
    target:
    <target name="build.mxml" depends="check.swf">
    <echo message="${basedir}\assets"/>
    <mxmlc
    file="build/swf/twileague.mxml"
    output="build/swf/twileague.swf"
    services="ear/${WEBAPP_NAME}.war/WEB-INF/flex/services-config.xml"
    context-root="${WEBAPP_CONTEXT_ROOT}"
    use-network="false"
    keep-generated-actionscript="true"
    warn-missing-namespace-decl="false"
    incremental="true">
    <load-config
    filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <source-path path-element="as3"/>
    <source-path path-element="build/swf"/>
    <source-path path-element="${basedir}\assets"/>
    <compiler.include-libraries dir="lib" append="true">
    <include name="granite.swc" />
    <include name="granite-hibernate.swc" />
    <include name="granite-seam.swc" />
    <include name="Cairngorm.swc"/>
    <include name="myButtons.swc"/>
    <include name="myCombobox.swc"/>
    <include name="tide.swc"/>
    </compiler.include-libraries>
    </mxmlc>
    </target>
    Thanks for any suggestions

    Hey
    are you sure that your path is /images/title.png because this
    is an absolute path and not a relative path

  • Javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ' Resolved: ''

    Hi,
              I have written a simple client to receive messages from a 'jppsacntrQ'
              queue,
              The jms server which keeps this queue is already targetted at the
              server I am running.
              I have closed my command prompt and restarted WLS a few times but I am
              still getting this error.
              Has anyone else encountered the same problem?
              Appreciate the help ...
              Victor
              c:\program files\intellij-idea-3.0.4\jre\bin\java.exe -Xmx128M
              -Djava.home=C:\Program Files\IntelliJ-IDEA-3.0.4\jre -classpath
              c:\program files\intellij-idea-3.0.4\jre\lib\tools.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\idea_rt.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\ant.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\optional.jar;C:\Program
              Files\IntelliJ-IDEA-3.0.4\lib\\rt\xerces1.jar
              com.intellij.rt.ant.execution.AntMain -logger
              com.intellij.rt.ant.execution.IdeaAntLogger -verbose
              -Dbuild.compiler.emacs=true -buildfile
              C:\java-projects\portnet-jp\build.xml test-polling-subscriber
              build.xml
              test-polling-subscriber
              java
              Running Start Polling Task ...
              DEBUG [main]: subscriber.propertyFile.path=C:/java-projects/portnet-jp/resources/configuration/JPContainer.cfg
              DEBUG [main]: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              DEBUG [main]: java.naming.provider.url=t3://localhost:7001
              DEBUG [main]: java.naming.referral=throw
              DEBUG [main]: java.naming.security.authentication=simple
              DEBUG [main]: java.naming.security.principal=null
              DEBUG [main]: java.naming.security.credentials=null
              DEBUG [main]: sleepTimePerCycle=15000
              DEBUG [main]: queueConnectionFactoryName=pnsgQCF
              DEBUG [main]: incomingQueueName=jppsacntrQ
              DEBUG [main]: incomingFileStorePath=C:/java-projects/portnet-jp/resources/data/JP/Container/IN
              DEBUG [main]: timestampFormat=yyyyMMddHHmm
              INFO [main]: Setting Up Queue and QueueConnectionFactory ...
              DEBUG [main]: Looking up QueueConnectionFactory: pnsgQCF
              DEBUG [main]: Looking up Incoming Queue: jppsacntrQ
              javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ'
              Resolved: '' Unresolved:'jppsacntrQ' ; remaining name 'jppsacntrQ'
                   at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
                   at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
              Source)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
                   at javax.naming.InitialContext.lookup(Unknown Source)
                   at pow.business.JP.Container.JPCntrSubscriber.init(JPCntrSubscriber.java:162)
                   at pow.business.JP.Container.JPCntrSubscriber.<init>(JPCntrSubscriber.java:58)
                   at pow.business.JP.Container.Main.start(Main.java:183)
                   at pow.business.JP.Container.Main.main(Main.java:289)
              Please check whether 'jndi.properties' is available in the CLASSPATH
              and whether it has been configured properly.
              Java Result: -1
              Build completed with 1 error and 13 warnings. Time: 13 s
              

              Looks OK - did you check your log file for error messages?
              Post the log file if you want me take a look.
              [email protected] (Kok Liang) wrote:
              >Here it is:
              >
              ><?xml version="1.0" encoding="UTF-8"?>
              ><!--Last updated on: Sat May 24 01:50:49 SGT 2003, If your domain is
              >active, please do not edit the config.xml file. Any changes made to
              >that file while the domain is active will not have any effect on the
              >domain's configuration and are likely to be lost. If your domain is
              >inactive, you may edit this file with an XML editor. If you do so,
              >please refer to the BEA Weblogic Server Configuration Reference
              >documentation available from
              >http://edocs.bea.com/wls/docs70/config_xml. In general, we recommend
              >that changes to your configuration file be made through the
              >Administration Console.-->
              ><Domain ConfigurationVersion="7.0.1.0" Name="portnet-domain">
              >     <Application Deployed="true" Name="DefaultWebApp"
              >Path=".\applications" StagedTargets="" TwoPhase="false">
              >          <WebAppComponent Name="DefaultWebApp" Targets="portnet-server"
              >URI="DefaultWebApp"/>
              >     </Application>
              >     <Application Deployed="true" Name="certificate" Path=".\applications"
              >StagedTargets="" TwoPhase="false">
              >          <WebAppComponent Name="certificate" Targets="portnet-server"
              >URI="certificate.war"/>
              >     </Application>
              >     <Application Deployed="true" Name="jive3"
              >Path="C:\java-libraries\jive_forums_pro_3_0_9" TwoPhase="true">
              >          <WebAppComponent Name="jive3" Targets="portnet-server"
              >URI="jive3.war"/>
              >     </Application>
              >     <ApplicationManager Name="portnet-domain"/>
              >     <EmbeddedLDAP Credential="{3DES}U0sIdpap3Jn35/agldr/nk4n9q5Vo449V4F0z3bLPsM="
              >Name="portnet-domain"/>
              >     <FileRealm Name="wl_default_file_realm"/>
              >     <JMSConnectionFactory DefaultDeliveryMode="Persistent"
              >JNDIName="pnsgQCF" Name="pnsgQCF" Targets="portnet-server"/>
              >     <JMSDestinationKey Name="portnet-jms-dest-key"/>
              >     <JMSFileStore Directory="c:\bea\user_projects\portnet-domain\logs\file-store"
              >Name="portnet-jms-file-store"/>
              >     <JMSServer Name="portnet-jms-server" Store="portnet-jms-file-store"
              >Targets="portnet-server">
              >          <JMSQueue BytesPagingEnabled="false"
              >DeliveryModeOverride="Persistent"
              >DestinationKeys="portnet-jms-dest-key" JNDIName="jppsacntrQ"
              >MessagesPagingEnabled="false" Name="jppsacntrQ" StoreEnabled="true"/>
              >          <JMSQueue BytesPagingEnabled="false"
              >DeliveryModeOverride="Persistent"
              >DestinationKeys="portnet-jms-dest-key" JNDIName="psajpcntrQ"
              >MessagesPagingEnabled="false" Name="psajpcntrQ" StoreEnabled="true"/>
              >     </JMSServer>
              >     <JTA Name="portnet-domain"/>
              >     <Log FileName=".\wl-domain.log" Name="portnet-domain"/>
              >     <PasswordPolicy Name="wl_default_password_policy"/>
              >     <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              >     <SNMPAgent Name="portnet-domain"/>
              >     <Security GuestDisabled="false" Name="portnet-domain"
              >PasswordPolicy="wl_default_password_policy" Realm="wl_default_realm"
              >RealmSetup="true"/>
              >     <SecurityConfiguration
              >Credential="{3DES}iE0EWRYurlOnPzbJk1HTM6ajARYfmNrCU4UL/1iAQRJOQGyzRoBdl9bhnBu6JzIucTmQclA22XOW7WwQpMguyQqbLDIGr1VA"
              >Name="portnet-domain"/>
              >     <Server ListenPort="7001" Name="portnet-server"
              >NativeIOEnabled="true" ServerVersion="7.0.1.0"
              >StdoutDebugEnabled="true">
              >          <COM Name="portnet-server"/>
              >          <ExecuteQueue Name="default" ThreadCount="15"/>
              >          <IIOP Name="portnet-server"/>
              >          <JTAMigratableTarget Cluster="" Name="portnet-server"
              >UserPreferredServer="portnet-server"/>
              >          <JTARecoveryService Name="portnet-server"/>
              >          <KernelDebug Name="portnet-server"/>
              >          <Log FileName="portnet-server\portnet-server.log"
              >Name="portnet-server"/>
              >          <SSL Enabled="true" HostnameVerificationIgnored="true"
              >ListenPort="7002" Name="portnet-server"
              >ServerCertificateFileName="democert.pem"
              >ServerPrivateKeyAlias="demokey"
              >ServerPrivateKeyPassPhrase="{3DES}F9QhYhhBa4InPlBKebOlAw=="/>
              >          <ServerDebug Name="portnet-server"/>
              >          <ServerStart Name="portnet-server"/>
              >          <WebServer DefaultWebApp="DefaultWebApp"
              >LogFileName="portnet-server\access.log" LoggingEnabled="true"
              >Name="portnet-server"/>
              >     </Server>
              ></Domain>
              >
              >
              >Tom Barnes <[email protected]> wrote in message news:<[email protected]>...
              >> Please post your config.xml
              >>
              >> Kok Liang wrote:
              >> > Hi,
              >> >
              >> > I have written a simple client to receive messages from a 'jppsacntrQ'
              >> > queue,
              >> >
              >> > The jms server which keeps this queue is already targetted at the
              >> > server I am running.
              >> >
              >> > I have closed my command prompt and restarted WLS a few times but
              >I am
              >> > still getting this error.
              >> >
              >> > Has anyone else encountered the same problem?
              >> >
              >> > Appreciate the help ...
              >> >
              >> > Victor
              >> >
              >> > c:\program files\intellij-idea-3.0.4\jre\bin\java.exe -Xmx128M
              >> > -Djava.home=C:\Program Files\IntelliJ-IDEA-3.0.4\jre -classpath
              >> > c:\program files\intellij-idea-3.0.4\jre\lib\tools.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\idea_rt.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\ant.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\optional.jar;C:\Program
              >> > Files\IntelliJ-IDEA-3.0.4\lib\\rt\xerces1.jar
              >> > com.intellij.rt.ant.execution.AntMain -logger
              >> > com.intellij.rt.ant.execution.IdeaAntLogger -verbose
              >> > -Dbuild.compiler.emacs=true -buildfile
              >> > C:\java-projects\portnet-jp\build.xml test-polling-subscriber
              >> > build.xml
              >> > test-polling-subscriber
              >> > java
              >> > Running Start Polling Task ...
              >> > DEBUG [main]: subscriber.propertyFile.path=C:/java-projects/portnet-jp/resources/configuration/JPContainer.cfg
              >> > DEBUG [main]: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              >> > DEBUG [main]: java.naming.provider.url=t3://localhost:7001
              >> > DEBUG [main]: java.naming.referral=throw
              >> > DEBUG [main]: java.naming.security.authentication=simple
              >> > DEBUG [main]: java.naming.security.principal=null
              >> > DEBUG [main]: java.naming.security.credentials=null
              >> > DEBUG [main]: sleepTimePerCycle=15000
              >> > DEBUG [main]: queueConnectionFactoryName=pnsgQCF
              >> > DEBUG [main]: incomingQueueName=jppsacntrQ
              >> > DEBUG [main]: incomingFileStorePath=C:/java-projects/portnet-jp/resources/data/JP/Container/IN
              >> > DEBUG [main]: timestampFormat=yyyyMMddHHmm
              >> > INFO [main]: Setting Up Queue and QueueConnectionFactory ...
              >> > DEBUG [main]: Looking up QueueConnectionFactory: pnsgQCF
              >> > DEBUG [main]: Looking up Incoming Queue: jppsacntrQ
              >> > javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ'
              >> > Resolved: '' Unresolved:'jppsacntrQ' ; remaining name 'jppsacntrQ'
              >> >      at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
              >> >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
              >> >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
              >> >      at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
              >> > Source)
              >> >      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
              >> >      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
              >> >      at javax.naming.InitialContext.lookup(Unknown Source)
              >> >      at pow.business.JP.Container.JPCntrSubscriber.init(JPCntrSubscriber.java:162)
              >> >      at pow.business.JP.Container.JPCntrSubscriber.<init>(JPCntrSubscriber.java:58)
              >> >      at pow.business.JP.Container.Main.start(Main.java:183)
              >> >      at pow.business.JP.Container.Main.main(Main.java:289)
              >> > Please check whether 'jndi.properties' is available in the CLASSPATH
              >> > and whether it has been configured properly.
              >> > Java Result: -1
              >> >
              >> > Build completed with 1 error and 13 warnings. Time: 13 s
              

  • Javax.naming.NameNotFoundException: Unable to resolve ejb-link.

    Env: JDK 1.3.1_08
    Weblogic: 7.0
    We are attempting to use EJB's (session) and have it all localized in a jar.
    The Business and Custom Logic is all compiled to WEB-INF/classes. All the jars including the EJB jar is under WEB-INF/lib.
    On Startup Weblogic throws the error message
    weblogic.management.ApplicationException: activate failed for application
    Module Name: application, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested exception:
    [javax.naming.NameNotFoundException: Unable to resolve ejb-link. Appejb.jar#AppServerBean is not in the context. The context includes the following link bindings: {} Make sure the link reference is relative to the URI of the referencing module.]
    I have tried using the ../ notation before the Appejb.jar in the web.xml and what not, but that does not work either.
    I have sucesfully deployed the EJB jar through the weblogic console.
    Any Clues or suggestions will be most appreciated..
    thanks
    -a

    Create a ear application from the ejb jar and web application war.
    Copy ear application to the applications directory.
    In the ejb-link element in web.xml specify the relative path to the ejb jar.
    <ejb-link>../Appejb.jar</ejb-link>
    thanks,
    Deepak
    Akshay <[email protected]> wrote:
    Env: JDK 1.3.1_08
    Weblogic: 7.0
    We are attempting to use EJB's (session) and have it all localized in
    a jar.
    The Business and Custom Logic is all compiled to WEB-INF/classes. All
    the jars including the EJB jar is under WEB-INF/lib.
    On Startup Weblogic throws the error message
    weblogic.management.ApplicationException: activate failed for application
    Module Name: application, Error: weblogic.j2ee.DeploymentException: Could
    not setup environment - with nested exception:
    [javax.naming.NameNotFoundException: Unable to resolve ejb-link. Appejb.jar#AppServerBean
    is not in the context. The context includes the following link bindings:
    {} Make sure the link reference is relative to the URI of the referencing
    module.]
    I have tried using the ../ notation before the Appejb.jar in the web.xml
    and what not, but that does not work either.
    I have sucesfully deployed the EJB jar through the weblogic console.
    Any Clues or suggestions will be most appreciated..
    thanks
    -a

  • Unable to resolve JNDI DataSource in weblogic 12c When you upgrade web application

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

Maybe you are looking for

  • Is there a way to set markers at the clipping points?

    Hi is there a way to set markers at the clipping points? thanks

  • Dynamic uix:globalheader text=""

    I want to be able to populate the text string in the following tag: <uix:globalheader text="Some static text " + <%= <some_expression> %> /> How can I do this? TIA, Ed.

  • ERROR:HDLParsers:851

    When I Compile my FPGA Program,I got a error below ERROR:HDLParsers:851 - "C:/NIFPGA85/srvrTmp/LOCALH~1/FPGASY~1/rvi_FPGAMINUSIgnitionControl_vi_FPGACompileCopy1.vhd" Line 881. Formal Clk of SubVICtlOrInd with no default value must be associated with

  • The colour changes depending on what file format you choose?!?

    So I have noticed that depending on what file format you choose the colour changes slightly. Why is this? For example I exported something in PDF and the colour changed yet when the PDF was printed it came out exactly how the colour should be. When I

  • 845gl-p headset jack hum/buzz

    Purchased a Hermes 845gl-p about a month ago. After buying a P4 2.4 400HZ, Samsung combo drive, WD 120GB 8MB buffer special edition, and 2 512MB sticks of Crucial memory, I have a sound problem.  The front headset jack has a loud hum/buzz when the sy