"Could not locate the bean with the ejb-name XYZ in weblogic-ejb-jar.xml

Hi,
Please someone help me on this...
I'm trying to deploy an application on WLS 8.1 SP4
on HPUX IA64 arch. From the ear file WLS is able to
deploy 3 jars but for the last two jars it's throwing
the below error:
Could not locate the bean with the ejb-name xyz in weblogic-ejb-jar.xml
But ejb with name xyz is defined in the the weblogic-ejb-jar.xml file and it's also present in the
META-INF/ejb-jar.xml file.
I have no clue what's going wrong.
Any help is appreciated.
Thanks
Mouli

oops! Pls ignore my previous mail. It was for a different problem.
FOr the original problem of "couldn ot locate the bean with the ejb-name XZY in weblogic-ejb-jar.xml":
This happens if you don't have the below files defined
for a JAR/EAR file:
weblogic-ejb-jar.xml and weblogic-cmp-rdbms-jar.xml (needed if you have any Datasource mapped)
These two are basic files required for any JAR/EAR file.
If you dont' have it already you can generate them using
$WLS_HOME/bin/startWLBuilder.sh GUI tool bundled along
with WLS (I used 8.1 SP4) to generate these files ! This tool is really helpful.
- Mouli

Similar Messages

  • Why does itune keep telling me it could not establish a connection with the software update server

    i have an iphone 3g running on 3.1.3 firmware and every time i plug into my pc running windows 7 it says that it is contacting the software update sever then after about ten seconds it says that update failed could not establish a connection with the server i have tried to disable my firewalls completely and it seems that nothing works nothing is wrong with the iphone it sync's properly and works fine someone plz help me so i can update

    Everybody is tryng to connect to apple,s servers. Try tomorrow, it will be quieter

  • VPN Issue:  Could not Negotiate a connection with the remote PPP server

    Hello Folks,
    I setup VPN on Windows Server 2003 Enterprise R2. I am successfully able to connect to VPN via laptop internally and externally. However, on my iPhone I am not able to connect and receiving the following error "Could not Negotiate a connection with the remote PPP server".
    There doesnt seem to be a lot of documentation regarding this on Apple and or throughout the web.
    Anyone resolve this issue?
    Peace
    Phil C.

    I am not entirely sure my full setup. I had a friend help me set it up. Now for some reason when on WIFI on my own network I am able to connect to VPN ( I wasnt able to before), but when I switch to edge there is still no response for the PPP server. I even messed around with the PPP options still no response. Unfortunately I am not extremely server literate so my troubleshooting is limited. However it is now working via my own WIFI and will try it on another WIFI network tomorrow. I am wondering though if it connecting had to do with any updates from microsoft. Since this is a newly installed server 2003 it has been running updates. Some food for thought.
    Peace
    Phil

  • InvalidKeyException: Could not initialize for signing with the given key

    InvalidKeyException: Could not initialize for signing with the given key
    What does this caused? And how can I make following code to work? Is it bug, or is it supposed to do so?
              X509CertImpl newCert = new X509CertImpl(certInfo);
              newCert.sign(caPrivateKey, SIG_ALG_NAME);

    Your key is probably using a different algorithm:
    Signature signature =
    Signature.getInstance( SIGNATURE_ALGORITHM );
    PrivateKey privKey =
    ( PrivateKey ) this.store.getKey( alias, pwd );
    Make sure the SIGNATURE_ALGORITHM (SHA1WithRSA, SHA1WithDSA)
    matches the algoright of the keystore.
    your will see it when casting the private key into a concrete
    key instance:
    RSAPrivateKey privKey =
    ( RSAPrivateKey ) this.store.getKey( alias, pwd );

  • Could not locate target container - with HP3

    We are working to move our zen services from a Netware box to a SLES 10.1 box and I'm having some troubles getting the automatic workstation import to work. We are trying to import to workstations to an OU relative to the users OU. The tree structure is as follows
    O=ORG
    --OU=LOCATION
    --OU=USER
    --OU=WORKSTATION
    The policy is assigned to the server and defined on the Platforms>General tab, I have it set to create the workstations in the user container with the optional path workstation. which has always worked on the netware box.
    Here is the error I am getting on the ZDM server when I try to import the workstation.
    Code:
    Apr 16, 2009 8:23:00 AM Connection opened: /10.100.17.79:1112
    Apr 16, 2009 8:23:00 AM Header = POST /oneNet/wsimport HTTP/1.1
    NovINet: v2.0
    User-Agent: ZenHttp
    Host: zenwsimport:8039
    Content-Length: 272
    Connection: Keep-Alive
    Apr 16, 2009 8:23:00 AM contentLength = 272
    Apr 16, 2009 8:23:00 AM bytesRead=272 byteCount=272
    Apr 16, 2009 8:23:00 AM Content is UTF-16LE encoded.
    Apr 16, 2009 8:23:00 AM request = <?xml version="1.0" encoding="UTF-16LE"?>
    <find_ws>
    <tree>EACSTREE</tree>
    <dn>EAST-DD33C7698F.Workstation.CDV.eacs</dn>
    </find_ws>
    Apr 16, 2009 8:23:00 AM OS = <linux>
    Apr 16, 2009 8:23:00 AM FindImport Policy serverDN = CN=hal.OU=core.O=eacs
    Apr 16, 2009 8:23:03 AM cn=HAL ZfD Package:General:Workstation Import,ou=core,o=eacs
    Apr 16, 2009 8:23:04 AM ENTER getLdapDN - EAST-DD33C7698F.Workstation.CDV.eacs
    Apr 16, 2009 8:23:04 AM ENTER doContainerSearch - Workstation,CDV,eacs
    Apr 16, 2009 8:23:04 AM "eacs" is not typed.
    Apr 16, 2009 8:23:04 AM "eacs" is not cached.
    Apr 16, 2009 8:23:04 AM searchContainer =
    Apr 16, 2009 8:23:04 AM filter = (&(name=eacs)(|(objectclass=Org*)(objectclass=Loc*)(objectclass=Coun*)(objectclass=St*)))
    Apr 16, 2009 8:23:04 AM Could not find container workstation,cdv,eacs
    Apr 16, 2009 8:23:04 AM EXIT getLdapDN - cn=EAST-DD33C7698F,workstation,cdv,eacs
    Apr 16, 2009 8:23:04 AM Could not find workstation: cn=EAST-DD33C7698F,workstation,cdv,eacs
    Apr 16, 2009 8:23:04 AM Connection closed: /10.100.17.79:1112
    Apr 16, 2009 8:23:04 AM Connection opened: /10.100.17.79:1113
    Apr 16, 2009 8:23:04 AM Header = POST /oneNet/wsimport HTTP/1.1
    NovINet: v2.0
    User-Agent: ZenHttp
    Host: zenwsimport:8039
    Content-Length: 944
    Connection: Keep-Alive
    Apr 16, 2009 8:23:04 AM contentLength = 944
    Apr 16, 2009 8:23:04 AM bytesRead=944 byteCount=944
    Apr 16, 2009 8:23:04 AM Content is UTF-16LE encoded.
    Apr 16, 2009 8:23:04 AM request = <?xml version="1.0" encoding="UTF-16LE"?>
    <new_ws>
    <computer>EAST-DD33C7698F</computer>
    <cpu>PENTIUM PRO</cpu>
    <dns>EAST-DD33C7698F.eacs.k12.in.us</dns>
    <subnet_mask>255.255.240.0</subnet_mask>
    <ip>10.100.17.79</ip>
    <ipx></ipx>
    <mac>00:0C:29:EB:03:74</mac>
    <os>WINXP (5.1 Service Pack 3)</os>
    <server>FS02</server>
    <user_dn>cdvteacher.Teacher.CDV.eacs</user_dn>
    <login_count>11</login_count>
    <auditing_version>7.0.1.0</auditing_version>
    </new_ws>
    Apr 16, 2009 8:23:04 AM OS = <linux>
    Apr 16, 2009 8:23:04 AM FindImport Policy serverDN = CN=hal.OU=core.O=eacs
    Apr 16, 2009 8:23:07 AM cn=HAL ZfD Package:General:Workstation Import,ou=core,o=eacs
    Apr 16, 2009 8:23:07 AM Version = ZfD4
    Apr 16, 2009 8:23:07 AM User name = cdvteacher
    Apr 16, 2009 8:23:07 AM IPX address =
    Apr 16, 2009 8:23:07 AM IP address = 10.100.17.79
    Apr 16, 2009 8:23:07 AM Subnet mask = 255.255.240.0
    Apr 16, 2009 8:23:07 AM DNS name = EAST-DD33C7698F.eacs.k12.in.us
    Apr 16, 2009 8:23:07 AM Computer name = EAST-DD33C7698F
    Apr 16, 2009 8:23:07 AM Server name = FS02
    Apr 16, 2009 8:23:07 AM OS = WINXP (5.1 Service Pack 3)
    Apr 16, 2009 8:23:07 AM CPU = PENTIUM PRO
    Apr 16, 2009 8:23:07 AM MAC address = 00:0C:29:EB:03:74
    Apr 16, 2009 8:23:07 AM Tree =
    Apr 16, 2009 8:23:07 AM Tree =
    Apr 16, 2009 8:23:07 AM User context = Teacher,CDV,eacs
    Apr 16, 2009 8:23:07 AM Login count = 11
    Apr 16, 2009 8:23:07 AM ENTER doContainerSearch - workstation,CDV,eacs
    Apr 16, 2009 8:23:07 AM "eacs" is not typed.
    Apr 16, 2009 8:23:07 AM "eacs" is not cached.
    Apr 16, 2009 8:23:07 AM searchContainer =
    Apr 16, 2009 8:23:07 AM filter = (&(name=eacs)(|(objectclass=Org*)(objectclass=Loc*)(objectclass=Coun*)(objectclass=St*)))
    Apr 16, 2009 8:23:07 AM Could not find container workstation,cdv,eacs
    Apr 16, 2009 8:23:07 AM Could not locate the target container.
    Apr 16, 2009 8:23:07 AM Connection closed: /10.100.17.79:1113
    When I switch to using a specific selected container, the workstation will import without any problems. I have deleted and recreated the policy, so I know that is not an issue. It looks like the problems is that the server is not recognizing that EACS is our "O" and consequently cannot figure out what context the rest of the container should be in - I am guessing based on the two "'eacs' is not typed" and "'eacs' is not cached" entries in the log.
    I have tried switching my specified container from a trailing period to a trailing comma, and several different combinations of periods and commas just to try to fix things to no avail. I upgraded all of the Zen components on the server from HP2 to HP3 except the imaging stuff, and it did not help the problem.
    Any help you can offer is appreciated!
    Aaron

    Hey Aaron,
    Was just wondering if you've found resolution to this issue.
    We've been experiencing it for about a year now and just resorted to explicitly defining where we want the workstations to import to, rather than using a relative path.
    Thanks!
    Chris
    Originally Posted by ahilton
    We are working to move our zen services from a Netware box to a SLES 10.1 box and I'm having some troubles getting the automatic workstation import to work. We are trying to import to workstations to an OU relative to the users OU. The tree structure is as follows
    O=ORG
    --OU=LOCATION
    --OU=USER
    --OU=WORKSTATION
    The policy is assigned to the server and defined on the Platforms>General tab, I have it set to create the workstations in the user container with the optional path workstation. which has always worked on the netware box.
    Here is the error I am getting on the ZDM server when I try to import the workstation.
    Code:
    Apr 16, 2009 8:23:00 AM Connection opened: /10.100.17.79:1112
    Apr 16, 2009 8:23:00 AM Header = POST /oneNet/wsimport HTTP/1.1
    NovINet: v2.0
    User-Agent: ZenHttp
    Host: zenwsimport:8039
    Content-Length: 272
    Connection: Keep-Alive
    Apr 16, 2009 8:23:00 AM contentLength = 272
    Apr 16, 2009 8:23:00 AM bytesRead=272 byteCount=272
    Apr 16, 2009 8:23:00 AM Content is UTF-16LE encoded.
    Apr 16, 2009 8:23:00 AM request = <?xml version="1.0" encoding="UTF-16LE"?>
    <find_ws>
    <tree>EACSTREE</tree>
    <dn>EAST-DD33C7698F.Workstation.CDV.eacs</dn>
    </find_ws>
    Apr 16, 2009 8:23:00 AM OS = <linux>
    Apr 16, 2009 8:23:00 AM FindImport Policy serverDN = CN=hal.OU=core.O=eacs
    Apr 16, 2009 8:23:03 AM cn=HAL ZfD Package:General:Workstation Import,ou=core,o=eacs
    Apr 16, 2009 8:23:04 AM ENTER getLdapDN - EAST-DD33C7698F.Workstation.CDV.eacs
    Apr 16, 2009 8:23:04 AM ENTER doContainerSearch - Workstation,CDV,eacs
    Apr 16, 2009 8:23:04 AM "eacs" is not typed.
    Apr 16, 2009 8:23:04 AM "eacs" is not cached.
    Apr 16, 2009 8:23:04 AM searchContainer =
    Apr 16, 2009 8:23:04 AM filter = (&(name=eacs)(|(objectclass=Org*)(objectclass=Loc*)(objectclass=Coun*)(objectclass=St*)))
    Apr 16, 2009 8:23:04 AM Could not find container workstation,cdv,eacs
    Apr 16, 2009 8:23:04 AM EXIT getLdapDN - cn=EAST-DD33C7698F,workstation,cdv,eacs
    Apr 16, 2009 8:23:04 AM Could not find workstation: cn=EAST-DD33C7698F,workstation,cdv,eacs
    Apr 16, 2009 8:23:04 AM Connection closed: /10.100.17.79:1112
    Apr 16, 2009 8:23:04 AM Connection opened: /10.100.17.79:1113
    Apr 16, 2009 8:23:04 AM Header = POST /oneNet/wsimport HTTP/1.1
    NovINet: v2.0
    User-Agent: ZenHttp
    Host: zenwsimport:8039
    Content-Length: 944
    Connection: Keep-Alive
    Apr 16, 2009 8:23:04 AM contentLength = 944
    Apr 16, 2009 8:23:04 AM bytesRead=944 byteCount=944
    Apr 16, 2009 8:23:04 AM Content is UTF-16LE encoded.
    Apr 16, 2009 8:23:04 AM request = <?xml version="1.0" encoding="UTF-16LE"?>
    <new_ws>
    <computer>EAST-DD33C7698F</computer>
    <cpu>PENTIUM PRO</cpu>
    <dns>EAST-DD33C7698F.eacs.k12.in.us</dns>
    <subnet_mask>255.255.240.0</subnet_mask>
    <ip>10.100.17.79</ip>
    <ipx></ipx>
    <mac>00:0C:29:EB:03:74</mac>
    <os>WINXP (5.1 Service Pack 3)</os>
    <server>FS02</server>
    <user_dn>cdvteacher.Teacher.CDV.eacs</user_dn>
    <login_count>11</login_count>
    <auditing_version>7.0.1.0</auditing_version>
    </new_ws>
    Apr 16, 2009 8:23:04 AM OS = <linux>
    Apr 16, 2009 8:23:04 AM FindImport Policy serverDN = CN=hal.OU=core.O=eacs
    Apr 16, 2009 8:23:07 AM cn=HAL ZfD Package:General:Workstation Import,ou=core,o=eacs
    Apr 16, 2009 8:23:07 AM Version = ZfD4
    Apr 16, 2009 8:23:07 AM User name = cdvteacher
    Apr 16, 2009 8:23:07 AM IPX address =
    Apr 16, 2009 8:23:07 AM IP address = 10.100.17.79
    Apr 16, 2009 8:23:07 AM Subnet mask = 255.255.240.0
    Apr 16, 2009 8:23:07 AM DNS name = EAST-DD33C7698F.eacs.k12.in.us
    Apr 16, 2009 8:23:07 AM Computer name = EAST-DD33C7698F
    Apr 16, 2009 8:23:07 AM Server name = FS02
    Apr 16, 2009 8:23:07 AM OS = WINXP (5.1 Service Pack 3)
    Apr 16, 2009 8:23:07 AM CPU = PENTIUM PRO
    Apr 16, 2009 8:23:07 AM MAC address = 00:0C:29:EB:03:74
    Apr 16, 2009 8:23:07 AM Tree =
    Apr 16, 2009 8:23:07 AM Tree =
    Apr 16, 2009 8:23:07 AM User context = Teacher,CDV,eacs
    Apr 16, 2009 8:23:07 AM Login count = 11
    Apr 16, 2009 8:23:07 AM ENTER doContainerSearch - workstation,CDV,eacs
    Apr 16, 2009 8:23:07 AM "eacs" is not typed.
    Apr 16, 2009 8:23:07 AM "eacs" is not cached.
    Apr 16, 2009 8:23:07 AM searchContainer =
    Apr 16, 2009 8:23:07 AM filter = (&(name=eacs)(|(objectclass=Org*)(objectclass=Loc*)(objectclass=Coun*)(objectclass=St*)))
    Apr 16, 2009 8:23:07 AM Could not find container workstation,cdv,eacs
    Apr 16, 2009 8:23:07 AM Could not locate the target container.
    Apr 16, 2009 8:23:07 AM Connection closed: /10.100.17.79:1113
    When I switch to using a specific selected container, the workstation will import without any problems. I have deleted and recreated the policy, so I know that is not an issue. It looks like the problems is that the server is not recognizing that EACS is our "O" and consequently cannot figure out what context the rest of the container should be in - I am guessing based on the two "'eacs' is not typed" and "'eacs' is not cached" entries in the log.
    I have tried switching my specified container from a trailing period to a trailing comma, and several different combinations of periods and commas just to try to fix things to no avail. I upgraded all of the Zen components on the server from HP2 to HP3 except the imaging stuff, and it did not help the problem.
    Any help you can offer is appreciated!
    Aaron

  • Could not establish secure connection with server

    Hi ,
    We are not able to access our web service URL from Ipad Application on some of the network. We are receiving “could not establish secure connection with the server” message. We are able to access the same URL from other networks. Can you please suggest what can be possible Root cause and their suggested solution?  We would appreciate your quick response..

    hi Alfonso,
    Editing the hosts file is easy. just need to use the CAS/CAM CLI and the vi test editor. You can google for instructions on how to use Vi.
    To start assume we have a CAM and CAS with the hostname cam1 and cas1 respectively. the domain is mycompany.com and the ip addresses for the CAM and CAS is 192.168.10.1 and 192.168.15.2 respectively.
    start with the CAM and view the hosts table
    cat /etc/hosts
    To check what domain u used to setup the CAM
    cat /etc/resolver.conf
    edit the hosts file so appears like so
    192.168.10.1 cam1.mycompany.com cam1
    192.168.15.2 cas1.mycompany.com cas1
    Verify with 'cat /etc/hosts'
    Make sure you can ping 'cas1' and 'cas1.mycompany.com' from cam1
    Next edit the hosts file for cas1 so that it appears like so
    192.168.15.2 cas1.mycompany.com cas1
    192.168.10.1 cam1.mycompany.com cam1
    Make sure you can ping 'cam1' and 'cam1.mycompany.com' from cas1
    HTH
    George

  • Deploy ejb on wls7.0 weblogic.ejb.jar.xml ! help

    Morning !
    i'm try to deploy a EJB on wls7.0
    my descriptor is like this and i don't really undestand what's go wrong.
    thanks you to help
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0
    EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic700-ejb-jar.dtd" >
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <entity>
    <ejb-name>Compte</ejb-name>
    <bean-home-name>Compte</bean-home-name>
    <resource-ref>
    <res-ref-name>jdbc/DataSource</res-ref-name>
    <jndi-name>DataSource</jndi-name>
    </resource-ref>
    <cmp-info>
    <database-map>
    <table>"Compte"</table>
    <column-map>
    <field-name>id</field-name>
    <column-name>"id"</column-name>
    </column-map>
    <column-map>
    <field-name>nomSte</field-name>
    <column-name>"nomSte"</column-name>
    </column-map>
    <column-map>
    <field-name>dateCreation</field-name>
    <column-name>"dateCreation"</column-name>
    </column-map>
    <column-map>
    <field-name>nbEmployes</field-name>
    <column-name>"nbEmployes"</column-name>
    </column-map>
    <column-map>
    <field-name>caSte</field-name>
    <column-name>"caSte"</column-name>
    </column-map>
    <column-map>
    <field-name>descSte</field-name>
    <column-name>"descSte"</column-name>
    </column-map>
    <column-map>
    <field-name>logo</field-name>
    <column-name>"logo"</column-name>
    </column-map>
    <column-map>
    <field-name>id_commercial</field-name>
    <column-name>"id_commercial"</column-name>
    </column-map>
    </database-map>
    <finder>
    <method-signature>findAll()</method-signature>
    <where-clause />
    <load-state>True</load-state>
    </finder>
    </cmp-info>
    </entity>
    <datasource-definitions>
    <datasource>
    <jndi-name>DataSource</jndi-name>
    <url>jdbc:odbc:dev_java</url>
    <username>sa</username>
    <password>lnx.sully</password>
    <driver-class-name>sun.jdbc.odbc.JdbcOdbcDriver</driver-class-name>
    </datasource>
    </datasource-definitions>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    the EXception is !
    Exception
    weblogic.management.ApplicationException: No deployment found at
    E:\bea70\weblogic700\server\bin\GRPEJB.jar.
    at
    weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEAppli
    cationContainerFactory.java:350)
    at
    weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRunti
    me.java:350)
    at
    weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282
    at
    weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
    at
    weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(De
    ployerRuntime.java:941)
    at
    weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:279
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:717)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    99)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
    mpl.java:921)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
    at $Proxy48.activate(Unknown Source)
    at
    weblogic.management.console.actions.mbean.ConfigureAppWizardAction.commit(Co
    nfigureAppWizardAction.java:248)
    at
    weblogic.management.console.actions.mbean.ConfigureAppWizardAction.perform(C
    onfigureAppWizardAction.java:100)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:945)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :332)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5360)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3043)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2468)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    tahnks you !
    Unimon Thierry
    CGBI- CET-E-services
    69, Blvd Galliéni
    91 Issy les Mlx
    tele :01/55/95/54/22 Poste:5422
    Port :06/61/81/78/59
    Prof : mailto:[email protected]
    Pers : mailto:[email protected]

    oops! Pls ignore my previous mail. It was for a different problem.
    FOr the original problem of "couldn ot locate the bean with the ejb-name XZY in weblogic-ejb-jar.xml":
    This happens if you don't have the below files defined
    for a JAR/EAR file:
    weblogic-ejb-jar.xml and weblogic-cmp-rdbms-jar.xml (needed if you have any Datasource mapped)
    These two are basic files required for any JAR/EAR file.
    If you dont' have it already you can generate them using
    $WLS_HOME/bin/startWLBuilder.sh GUI tool bundled along
    with WLS (I used 8.1 SP4) to generate these files ! This tool is really helpful.
    - Mouli

  • The DataSource with the JNDI name: MyDataSource could not be located.

    hi,
    I created a connection pool myconnectionpool and i create a data source MyDataSource with jndi name as mydsn.
    in my weblogic-cmp-rdbms-jar.xml i gave
    <data-source-name>MyDataSource</data-source-name> and
    When i deploy the bean i am getting following exception.
    Unable to deploy EJB: containerManaged from cmp7.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: MyDataSource could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:128)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:213)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:185)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:160)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:928)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1216)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:850)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:70)
         at weblogic.j2ee.Application.addComponent(Application.java:253)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:144)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:301)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:255)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:716)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:698)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:380)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:902)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:480)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:208)
         at $Proxy34.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:3724)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1584)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:337)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:233)
         at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:852)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:273)
         at weblogic.Server.main(Server.java:33)
    Where i went wrong?
    Thanks in advance
    phani

    Hi ,
    I have the same problem .when i look into JNDI tree view the jndi name is listed. but it saying error below listed.
    my
    ejb-name:=containerManaged
    datasourcename=EX_DataSource
    jndi-name=EX_JNDI
    <Feb 14, 2005 3:10:08 PM IST> <Error> <Deployer> <149231> <The slave deployer was unable to set the activatio
    true for the application EX_Container
    weblogic.management.ApplicationException: activate failed forEX_Container
    Module Name: EX_Container, Error: Exception activating module: EJBModule(EX_Container,status=PREPARED)
    Unable to deploy EJB: containerManaged from EX_Container.jar:
    The DataSource with the JNDI name: EX_DataSource could not be located. Please ensure that the DataSource has
    ed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    TargetException:
    Unable to deploy EJB: containerManaged from EX_Container.jar:
    The DataSource with the JNDI name: EX_DataSource could not be located. Please ensure that the DataSource has
    ed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1022)
    at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:376)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLife
    ava:235)
    at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
    at weblogic.Server.main(Server.java:32)
    my weblogic-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>containerManaged</ejb-name>
    <entity-descriptor>
    <persistence>
         <persistence-use>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>7.0</type-version>
         <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
         </persistence-use>
    </persistence>
    </entity-descriptor>
    <jndi-name>EX_JNDI</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    weblogic-cmp-rdbms-jar.xml file
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>containerManaged</ejb-name>
    <data-source-name>EX_DataSource</data-source-name>
    <table-map>
    <table-name>ejbAccounts</table-name>
    <field-map>
    <cmp-field>accountId</cmp-field>
    <dbms-column>id</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>balance</cmp-field>
    <dbms-column>bal</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>accountType</cmp-field>
    <dbms-column>type</dbms-column>
    </field-map>
    </table-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>DropAndCreateAlways</create-default-dbms-tables>
    </weblogic-rdbms-jar>
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC
    "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>containerManaged</ejb-name>
    <home>containerBN.EX.AccountHome</home>
    <remote>containerBN.EX.Account</remote>
    <ejb-class>containerBN.EX.AccountBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>AccountBean</abstract-schema-name>
    <cmp-field>
    <field-name>accountId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>balance</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>accountType</field-name>
    </cmp-field>
    <primkey-field>accountId</primkey-field>
    <query>
    <query-method>
    <method-name>findBigAccounts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.balance > ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAccount</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.balance = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findNullAccounts</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(a) FROM AccountBean AS a WHERE a.accountType IS NULL]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>containerManaged</ejb-name>
         <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>EX_Container.jar</ejb-client-jar>
    </ejb-jar>
    pls lhelp me .
    my email id: [email protected]
    thanks in advance.
    Sudhakar.M

  • The DataSource with the JNDI name: contentDataSource could not be located

    Hello,
    We try to deploy our system/application to the servers that structed as
    Machine one has:
    1 administration domain
    1 managed domain
    Machine two has :
    1 managed domain which is administrated by machine one.
    I was trying to deploy the UI(portal application) to managed domain under Machine one. I got
    error message as following:
    Exception:weblogic.management.ApplicationException: activate failed for content.jar Module: content.jar Error: Exception activating module: EJBModule(content.jar,status=PREPARED) Unable to deploy EJB: ValueBean from content.jar: [EJB:011028]The DataSource with the JNDI name: contentDataSource could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    I have portalFrameworkPool Data Sources deployed to both managed domains.
    when I deploy the application to the server that has one one domain(both adminstrator domain and application domain are in one), it is fine.
    Can some one with same experience, or BEA people provide some help on this? Very appreciate any help on this issue.
    Thanks in advance.
    Christina

    :-p
    If you go to each Managed Server on the console, you can see the Service tab and then go to JDBC. Under JDBC you can see all the pool connections. Instead of localhost they should be pointing to the specific hostname or ip address of the adminserver and the pointbase port on that server (9093 by default) so the EAR files can be correctly deployed and then the JNDI Tree will look exactly the same on both servers. Change all the connection pools to use the specific hostname instead of localhost. Hope this works for you.

  • HT2953 i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • Could not retrieve the document with the passed obsolete token.

    Hi,
    Issue is with the specific report not able to execute when the query is cancelled and getting an error when you are cancelling an already executing query.
    Receiving an error message during running one of our report in the
    following way:
    - Run the Webi report
    - Select the value for 8 prompts
    - Click on cancel
    - try to re-run by clicking on re-fresh and receive an error message.
    The error message is the following:
    "Could not retrieve the document with the passed obsolete token (Error: RWI 00323) (Error: INF)"
    Till now we have made the following changes:
    This might be caused by a storage token that identifies a document state, which is no longer available in the storage tokens stack.
    In the webi.properties file, increased the value of storage tokens stack size.
    1. Edit the webi.properties file found in the following location:
    u2022 <Installed dir>\program files\businessobjects\BOenterprise115\Web services\en\dsws_webservice_boe\data\asemble\dsewsBobjJava\src\WEB-INF\classes\webi.properties.
    2. Add or change the following variables:
    u2022 WID_FAILOVER_SIZE (This sets the maximum number of tokens to keep in memory. It is 10 by default.)
    u2022 WID_STORAGE_TOKEN_STACK_SIZE (this sets the maximum number of tokens stored on disk. It is 10 by default.)
    u2022     Deleted cookies.
    u2022     Add  the Java Runtime Parameter value from following path:
    Start - > Control Panel-> Java -> Java Applet Runtime Settings
    Click on View.
    Add the Java runtime Parameter value: Xmx200.
    It is not a machine specific issue however it is intermittent.
    Please advice.
    Regards,
    Pradnya Kokil

    Hi Pradnya,
    Following solutions might help you to resolve the issue.
    Solution1:
    To achieve optimum performance, the developer should limit the number of new windows that can be opened using the OpenDocument function, particularly if using it within the drill function.
    If you must open a new window each time, you can increase the number of document instances available on the system by modifying parameters in the webi.properties file:
    1. On the Business Objects server, navigate to the following directory:
    C:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\classes
    2. Open the webi.properties file using a text editor.
    3. Uncomment the FAILOVER_SIZE=10 line by removing the # from the beginning of the line.
    4. After FAILOVER_SIZE, add the following:
    STORAGE_TOKEN_STACK_SIZE=40
    5. Save the file.
    6. Restart the application server
    Solution2:
    Do not use Control Key + N or File New from Browser for invoking new instance of Browser
    Avoid opening Infoview by Hyperlinks.
    Alternatively, by setting logontoken.enabled property in web.xml for desktop.war, will stop users allowing using old token
    Locate web.xml file in desktop.war file deployed on your application server
    Locate the following string in web.xml:<param-name>logontoken.enabled</param-name>
    Change the <param-value> for logontoken.enabled from true to false (forexample, <param-value>false</param-value>)
    Save and close the file
    Restart the web application server to apply the changes
    Regards,
    Sarbhjeet Kaur

  • Need Help! "Could not locate the resource file in the Configuration folder."

    I had just purchased and installed Adobe Crerative Design Suite last night. Every program works except Dreamweaver, which gives me the error message:"Could not locate the resource file in the Configuration folder. This File is required to run Dreamweaver. Please reinstall the application". I am suspicious because the was a previous version of Dreamweaver on the computer before this installation, but I unistalled it. I do not understand why I get this message. Is there a file somewhere that is missing or at faut. How can I remedy this? Thanks
    ~Todd

    Nadia,
    Your posted resources worked for me. Thank you! After many attempts (to include Adobe's overseas call canter) to resolve the same installation and run errors, I used your suggested steps and I finally have a clean and running install. I did have to take a few extra steps;
    First I downloaded both Cleaning  scripts. For CS4 & CS3.
    Next I downloaded Windows installer/cleaner. I have Windows Vista Home Premium and that is a required installed program to run Adobe's cleaning script.
    Once I was sure I had all the programs/scripts I needed (per your instructions and the instructions found on the Cleaning scripts site) I disconnected my computer from the Internet.
    Then I disabled all running programs especially all Anti-virus and firewall programs and any others that have calls of any kind: i.e. Boinc (Seti), Skype, email programs (Windows Live Mail), etc.
    Next I uninstalled all CS4 products and even though I was told that Macromedia Studio MX 2004 can stay installed (read that on one site and the overseas Tech also reinforced that information) I uninstalled MX 2004.
    I then rebooted and installed the Windows installer/cleaner program and ran the Adobe CS4 cleaner script twice.
    After another reboot I installed Dreamweaver CS4 first, rebooted (can't reboot enough with Windows!) and, yes you guessed it, rebooted.
    I then attempted to open Dreamweaver CS4 and for the first time it ran without the error!
    I then installed Adobe Ps CS4 and rebooted and that work for the first time as well.
    I can't say for sure if Macromedia Studio MX 2004 caused the install errors on the Adobe products but without it and ALL that uninstalling and rebooting and running cleaning scripts and installing and rebooting, Adobe finally felt my computer was clean enough to call it home and work.
    Thank you again for your information and I suggest if anyone else finds their way here that they follow your instructions to the letter. Takes a long time but a proper and clean install will be the result.

  • OpenJPA - ArgumentException: Could not locate metadata for the class usi...

    I'm getting the following exception when executing logic/queries around JPA entity classes:
    {color:#333399}nested exception is: &lt;1.0.0 fatal user error&gt; org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "MyClass". This could mean that the OpenJPA enhancer or load-time weaver was not run on the type whose alias is "MyClass". Registered alias mappings: "{MyClass=null}"{color}
    I get this exception on occassion. It is intermitent and i can't seem to reproduce it consistently.
    I'm using the following:
    WebLogic: 10
    KODO: 4.1.3.1 bundled with WL10 which in turn uses OpenJPA 1.0.0
    In other forums on the net they have suggested explicitly adding the classes to the persistence.xml file ( i've done this )
    They have also stated to run the openjpa enhancer on the code before deployment to WL ( done this too!)
    One last step that i have yet to attempt is to load the class within the code before use ( haven't tried this as it seems so hackish)
    Any other thoughts? ANyone else experience this?
    Thanks

    We are having the same issue.. Anybody knows how to deal with this problem?

  • 10g Admin/Desktop error :could not locate or parse the .dbc file error

    Hi there,
    can any one help me how to fix this error i get this while connecting to Discoverer Admin/Desktop edition 10g ver 10.1.2
    Unable to connect to: username@crp2
    Failed to connect to database - could not locate or parse the .dbc file
    c:\oracle\BIToolsHome_1\discoverer\secure\us-oracle3.dbc corresponding to the given Oracle Applications instance
    i had created the system environment variable FND_SECURE and i've placed the .dbc files in the folder (C:\oracle\BIToolsHome_1\discoverer\secure)
    but, i still get error
    Thanks,
    Max

    Hi Russ
    Here's some additional info from my own library:
    1. Set or check the following registry settings on your Admin PC:
    HKEY_CURRENT_USER\Software\Oracle\Discoverer 10\Database\EnableTriggers should be DWORD with a value of 1
    HKEY_CURRENT_USER\Software\Oracle\Discoverer 10\Database\DefaultPreserveDisplayPropertyForRefresh should be a DWORD with a value of 1
    2. You need to create for yourself a folder called SECURE under your ORACLE folder:
    e.g. mkdir c:\oracle\secure
    3. Copy the DBC File from the E-Business Suite database and place it in the secure directory. It will be located in the TOP directory in the database.
    4. Create a Windows System Variable FND_SECURE with the value as in step 2 above: e.g. c:\oracle\secure
    5. Update your %ORACLE_HOME%/network/admin/tnsnames.ora to include an entry for the E-Business Suite database. The database name must match the two_task entry in the dbc file.
    6. You may have to rename the dbc file so that it matches the name by which you are referring to that database in your TNS Names file
    Does this help?
    Best wishes
    Michael

  • Could not dereference object when running the EJB

    Hi,
    I want to reference my jsp page to EJB but get a "could not dereference object" upon running the jsp with this as it went into the catch exception instead of looking up to the EJB:
    Part of my jsp codes in jspinit( ):
    try {
    objref = initial.lookup("java:comp/env/ejb/MyMusicCart");
    System.out.println("lookup success for ejb/MyMusicCart");
    // a reference to the home interface is shareable
    cartHome = (MusicCartHome)PortableRemoteObject.narrow(objref, MusicCartHome.class);
    System.out.println("created MusicCartHome object");
    } catch (Exception ex) {
    System.out.println("Unexpected Exception: " +ex.getMessage());
    My web.xml
    Code:
    <ejb-ref>
    <ejb-ref-name>ejb/MyMusicCart</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>asg.MusicCartEJB.MusicCartHome</home>
    <remote>asg.MusicCartEJB.MusicCart </remote>
    <ejb-link>ejb-jar-ic.jar#MusicCartBean</ejb-link>
    </ejb-ref>
    anyone encounter this problem before? Please help.. I
    I can produce more of my files if you guys feel that is not enough
    Message was edited by:
    [email protected]

    Is the EJB you are referencing part of the same EAR file as your JSP?
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

Maybe you are looking for

  • User Profile Service Application - User Profile Incremental Synchronization

    We have USer profile inplace. however User Profile service application does not auto run. We need to run it. It does not automatically starts. Please mark answer , if you think answer is helpful or correct.

  • AT1 value not showing in excise JV in j1ih

    Dear SAP gurus,                          in j1ih, when I am giving the doc number of PLA hold and PLA BED,CESS,ECS, it is not capturing the value of HCess which i have maintained in AT1..though i haved ticked AT1 in the excise register.It is not even

  • Unwanted stack trace in weblogic.log for thrown JSP Exceptions

    We are throwing a JSP exception within a custom tag when data validation           errors occur; the errorPage for the JSP page is then invoked to show the           appropriate errors. However, in the weblogic.log, a stack trace is shown           i

  • Content Not Found- purchased ATV movie

    Why would a movie purchased on ATV say "content not found" when it is in my menu.

  • In Page 4.3 and 5 the "Insert Date

    In Page 4.3 and 5 the "Insert Date & Time" responds with 20December 2013; notice the lack of space between day and month. This makes me believe that the user gets to format the Date & Time, and that I did just that many years ago. Please guide me to