Deployment error with Toplink

I have been developing a plain java application using TopLink and it runs fine when I run it from JDev. However, now I am trying to integrate it into an existing sessionless EJB (the files are in different JDev projects) by calling the class from the session EJB. Everything compiles fine and deploys to the App server just fine, but when I run it I get the following error stack. Does anyone know how to fix this or have any pointers as to what I may be doing wrong?
Dennis
Local Exception Stack:
Exception [TOPLINK-7095] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException
Exception Description: The sessions.xml resource [sessions.xml] was not found on the resource path. Check that the resource name/path and classloader passed to the SessionManager.getSession are correct. The sessions.xml should be included in the root of the applications deployed jar, if the sessions.xml is deployed in a sub-directory in the applications jar ensure that the correct resource path using "/" not "\" is used.
     at oracle.toplink.exceptions.ValidationException.noSessionsXMLFound(ValidationException.java:565)
     at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:176)
     at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:156)
     at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:93)
     at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
     at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:184)
     at oracle.fts.datamodel.RuntimeConfigMgr.login(RuntimeConfigMgr.java:150)
     at oracle.fts.datamodel.RuntimeConfigMgr.<init>(RuntimeConfigMgr.java:50)
     at fusionsync.hub.configuration.SyncConfig.<init>(SyncConfig.java:109)
     at SyncConfig_RemoteProxy_46c7dei.OC4J_createBeanInstance(Unknown Source)
     at com.evermind.server.ejb.StatelessSessionBeanPool.createContextImpl(StatelessSessionBeanPool.java:37)
     at com.evermind.server.ejb.BeanPool.createContext(BeanPool.java:418)
     at com.evermind.server.ejb.BeanPool.allocateContext(BeanPool.java:244)
     at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(StatelessSessionEJBHome.java:25)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
     at SyncConfig_RemoteProxy_46c7dei.getConnectorEndPoint(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:585)
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Local Exception Stack:
Exception [TOPLINK-7095] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException
Exception Description: The sessions.xml resource [sessions.xml] was not found on the resource path. Check that the resource name/path and classloader passed to the SessionManager.getSession are correct. The sessions.xml should be included in the root of the applications deployed jar, if the sessions.xml is deployed in a sub-directory in the applications jar ensure that the correct resource path using "/" not "\" is used.
     at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
     at __Proxy1.getConnectorEndPoint(Unknown Source)
     at fusionsync.SyncConfigRemoteClient.main(SyncConfigRemoteClient.java:18)
Process exited with exit code 0.

You need to ensure that the sessions.xml file is at the same level as the META-INF directory when you are building your jar file.

Similar Messages

  • Deployment error with sun app server 8.2

    hi,
    i'm a newbieto java programming.
    i'm following the j2ee tutorial.
    but i'm stuck when deploying
    could anyone help me on this?
    thanks in advance.
    Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server]
    Unable to construct properties list for: getConnectionPoolProperties
    deployment started : 0%
    Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    /opt/CustomerBook/nbproject/build-impl.xml:219: Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    BUILD FAILED (total time: 2 minutes 54 seconds)
    EXECUTION SECTION
    =================
    line 219:
    ** <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}" debugmode="false"/>**

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • CS6 deployment error with Application Manager Enterprise 3.1 Edition

    Hello everyone,
    I am currently trying to create a DesignWebPremium and Master Collection CS6 deployment package with AMEE 3.1 (Application Manager Enterprise Edition) on Windows 7 EE x64 without any luck.
    I keep getting the following error log:
    11/16/2012 06:35:51[INFO] AdobePackageBuilder - Build Version - 3.1.105.0
    11/16/2012 06:35:51[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    11/16/2012 06:35:55 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
    11/16/2012 06:35:57 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    11/16/2012 06:37:31 [ERROR] AdobePackageBuilder - Failed to create Setup.ini file for Acrobat Customized Wizard.
    11/16/2012 06:37:32 [ERROR] AdobePackageBuilder - Failed to create the zip file.
    11/16/2012 06:37:32 [ERROR] AdobePackageBuilder - Error zipping PkgConfig.xml.
    so I thought I could be smart and just take out Acrobat from the install package, but still no luck:
    11/15/2012 07:39:41[INFO] AdobePackageBuilder - Build Version - 3.1.105.0
    11/15/2012 07:39:41[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    11/15/2012 07:39:46 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    11/15/2012 07:42:10 [ERROR] AdobePackageBuilder - Failed to create the zip file.
    11/15/2012 07:42:10 [ERROR] AdobePackageBuilder - Error zipping PkgConfig.xml.
    I have tried creating the deployment package as both 32-Bit, 64-Bit, including updates and not including them, running AMEE 3.1 with administrative access and without - it just doesn't work...
    I'll be grateful for any constructive help.

    Hi,
    I just did come across this error today, and thought of sharing with the solution. This error is due to insufficient previlages of user, while he is trying to configure the hyperion Products. So all you have to do to solve this is, while you try to configure, right click on the configuration utility and run as administrator, and do the configuration as usual.This would solve this issue. I did not have this issue with Windows 2003 Server, but faced this while installing on Windows 2008 Server.
    Thanks,
    Leo Jose.

  • Deployment error with netbeans vwp

    when i try to run my vwp project i get this error.
    Starting server Bundled Tomcat (5.5.17)
    Starting of Tomcat failed.
    D:\Documents and Settings\Erdal\erdalWEB\nbproject\build-impl.xml:475: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    all i do is to open a new Visual Web Application project, drag and drop a label and deploy it. nothing complicated but couldn't found where the problem is. please give me a hand, a hint, a way to get over this...

    Read this, as it says:
    See the server log for details.

  • Deployment Error with VS2012/3 and Lightswitch

    I'm getting an error every time I try to run my Lightswitch app via debug mode  (F5) in both VS 2012 and 2013.
    I have a simple app that takes as its data source a SharePoint list in sp2010. I have managed to link to my site collection and checked the list I want. The columns are imported into LightSwitch and I build a screen from these.
    I then enable SharePoint in LightSwitch
    I press F5 and then I get this error (I get the same error in both VS2012 and 2013) no matter which site collection I use or which lists:
    There are deployment errors. Continue?
    I click No
    I then this error
    Error occurred in deployment step 'Uninstall app for SharePoint': Method "GetAppInstancesByProductId" does not exist
    Any ideas? Thanks in advance

    Hi,
    According to your post, my understanding is that you got error when using the visual studio lightswitch.
    You can check the errors in the stack trace to see if anything unexpected occurred.
    You can get the stack trace by following article:
    http://blogs.msdn.com/b/mthalman/archive/2013/08/16/how-to-get-a-stack-trace-in-lightswitch.aspx
    What’s more, to ensure whether it is the code issue, you can create a new and clean app to check whether it works.
    http://blogs.msdn.com/b/bethmassi/archive/2011/06/29/using-sharepoint-data-in-your-lightswitch-applications.aspx?Redirected=true
    As the issue is related to LightSwich, I recommend you post the question to the forum of
    Visual Studio LightSwich.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=lightswitch
    More experts will assist you, then you will get more information relation to LightSwich.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Deployment Error with jdk 5 and oc4j_extended_101320.zip

    Hello,
    I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
    This load was initiated at sim.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:497)
         at com.evermind.server.Application.setConfig(Application.java:340)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
         Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jar

    For internal questions please use the internal mailing lists...
    --olaf                                                                                                                                                                                       

  • Error with toplink essential on weblogic 9.1

    Hi Oracle community,
    i have an application i developped using netbeans, toplink essential bundled framework and tomcat 5 bundled servlet container.
    It's running fine on tomcat.
    But when i deploy on weblogic 9.1 i have the followoing :
    Error 500--Internal Server Error
    javax.faces.FacesException: #{loginutilisateur.valider}: javax.faces.el.EvaluationException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: Attempted to deploy PersistenceUnit [PortailBaseDePilotagePU] for which predeploy method either had not called or had failed
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
         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:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: javax.faces.el.EvaluationException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: Attempted to deploy PersistenceUnit [PortailBaseDePilotagePU] for which predeploy method either had not called or had failed
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         ... 22 more
    Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: Attempted to deploy PersistenceUnit [PortailBaseDePilotagePU] for which predeploy method either had not called or had failed
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:113)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:107)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
         at persistanceBaseDePilotage.Controller.UtilisateurController.getEntityManager(UtilisateurController.java:47)
         at persistanceBaseDePilotage.Requetes.UtilisateurRequetes.verificationConnection(UtilisateurRequetes.java:31)
         at formulaireBean.LoginUtilisateur.valider(LoginUtilisateur.java:105)
         at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
         at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    Caused by: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: Attempted to deploy PersistenceUnit [PortailBaseDePilotagePU] for which predeploy method either had not called or had failed
         at oracle.toplink.essentials.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:167)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:78)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:113)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:107)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:76)
         at persistanceBaseDePilotage.Controller.UtilisateurController.getEntityManager(UtilisateurController.java:47)
         at persistanceBaseDePilotage.Requetes.UtilisateurRequetes.verificationConnection(UtilisateurRequetes.java:31)
         at formulaireBean.LoginUtilisateur.valider(LoginUtilisateur.java:105)
         at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
         at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    Any ideas ??
    thanks
    Eric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    It appears that for some reason the predeploy failed. Perhaps turning on
    logging would yield some more information earlier.
    Add this to your persistence.xml in the properties section:
    <property name="toplink.logging.level" value="FINEST" />
    Let me know the results.

  • Deployment error with JAX-WS using NB 5.5 and SJAS 9.0

    Hi,
    I'm trying to expose a session bean as a web service. My service parses MPP files. When a few specific classes are used, the service fails to deploy with a java.lang.NoClassDefFoundError (the class is very much in the classpath). All the other classes used in the bean are taken from the same jar! Removing the offending classes remove the problem. Pls help.
    Bean:
    for (ResourceAssignment a : allAssignments) {
                    net.sf.mpxj.Task task = a.getTask();
                    System.out.println("Task name: " + task.getName());
                    System.out.println("Outline number: " + task.getOutlineNumber());
                    System.out.println("Outline level: " + task.getOutlineLevel());
                    System.out.println("\nWBS: " + task.getWBS());
                    System.out.println("WSB level: " + task.getWBSLevel());
                    task = task.getParentTask();
                    if (!task.getNull()) {
                        System.out.println("Parent task name: " + task.getName());
                    System.out.println("\nAdding listener...");
                    task.addFieldListener(new FieldListener() {
                        public void fieldChange(FieldContainer container, FieldType type, Object oldValue, Object newValue) {
                            System.out.println("Inside listener...");
                            System.out.println("Data type: " + type.getDataType());
                            System.out.println("Name: " + type.getName());
    Stacktrace:
    Exception occured in J2EEC Phase
    java.lang.NoClassDefFoundError: net/sf/mpxj/listener/FieldListener
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
    at java.lang.Class.getMethod0(Class.java:2611)
    at java.lang.Class.getMethod(Class.java:1579)
    at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:455)
    at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
    at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
    at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:633)
    at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:538)
    at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56)
    at com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:44)
    at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1820)
    at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2089)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
    at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:138)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

    Update: It is working with SJAS 9.1 :). Now I'm sure it is a bug with SJAS 9.0. Still any clue will be appreciated.

  • Deployment error with Jdev11 no deployment desciptor file ?

    Hi,
    Where could i found Deployment descriptor file ?
    I create an new empty project then i add an simple class with main.
    I go to "Deployment Profiles" then "Jar File"
    I see archive1, i press "ok"
    I see into dialog box option "C:\prj_java\workspace\Project51\deploy\archive1.jar", i press "ok"
    But directory deploy don't exist into C:\prj_java\workspace\Project51 ?
    When i make same operation with an existing directory, archivexx.jar is not created
    Regards
    Philippe

    I don't fully understand your problem, but here we go:
    you can edit the path where the deployment plan will create the jar file. Just give the dialog the path to an existing directory where you want the jar to be create.
    To change the path, go to the project properties and select deployment. From the list of profiles select the one you want to change and puch the edit button.
    Select the JAR option and use the browse button to select a directory.
    Timo

  • Deployment error with Sales Quote Demo 11.1.1.4.0

    I am trying to deploy Sales Quote Demo 11.1.1.4.0, but I get the following error:
    Error(25,49): package oracle.bpel.worklistapp.dc.ale.beans.view does not exist
    Error(26,43): package oracle.bpel.worklistapp.dc.ale.util does not exist
    does anybody else get the same error?
    Regards
    Juan Algaba Colera

    You need to add couple of libraries to the BPReviewUI project for it to successfully compile. Here are the steps:
    1. In the Jdeveloper, right click on the BPReviewUI project and then select project properties.
    2. Click on the "Libraries and Classpath" in the left side
    3. In the right side window, click on "Add Library" button
    4. Select these 3 libraries - BPEL Runtime, BPM Workflow and BPM Worklist components
    That should do it....

  • Deployment error with LabVIEW 8.0 using a Desktop PC as a RT Target

    Hello!
    I am attempting to use LabVIEW Real-Time 8.0 with a desktop PC as the RT Target.
    Everything appears fine when I look at the computer using MAX. I can fiddle with the Target’s IP, install software and transfer files between my Windows machine and the RT machine without any difficulties.
    To get started with LabVIEW I have followed the instructions in NI’s document: "Getting Started with the LabVIEW Real-Time Module".
    ( A copy may be found at this location: http://www.ni.com/pdf/manuals/371375a.pdf )
    My difficulties arise under the "Creating a Real-Time Project and Application" subsection, which begins on page 8 of the document.
    I follow the instructions to create a project using the Real-Time Project Wizard and all goes well – I can connect to the target without issue in LabVIEW and monitor its performance with the Real-Time System Manager – until I try to deploy and run the VIs on the RT Target.
    The deployment process fails nearly without exception every time I try to deploy any of the dependent VIs using the Project Explorer (I say nearly because maybe 1/100 times a VI is deployed successfully). I believe all the permissions have been properly set (in both LabVIEW and Windows) to allow the host and the target to communicate and collect data so I am not sure what the problem is.
    Interestingly enough, VILIB dependencies always deploy successfully -- And the intrigue does not end there! If I build a standalone Real-Time application (like that detailed on pages 18-21 of the manual linked above) I am able to deploy to the RT Target. Setting the application to run on startup, the RT computer successfully reboots and is able to generate a sine wave and I can view using the host VI on My Computer.
    I would like to be able to build and deploy VIs freely using the Project Explorer but am not sure how to achieve this seemingly simple goal. If anyone has encountered a problem similar to mine even feels that they know if the problem is related to hardware or software the help would be much appreciated.
    Thanks,
    Tom

    Bob,
    My System uses Windows XP. I use MAX 4.0.0.3001 to install software on the Real-Time computer. I am using LabVIEW 8.0 to deploy VIs to the Real-Time System. Also, if its any help, I am a D-Link DGE-550T Gigabit Ethernet Adapter.
    The Remote System uses LabVIEW Real-Time 8.0. Note that a fair amount of software to add functionality to the system has also been installed here from My System via MAX.
    Here is an example of how my Deployment fails:
    I follow the instructions in "Getting Started with the LabVIEW Real-Time Module" and create a project using the Real-Time Project Wizard. (The contents of such a program may be viewed in a picture that is included in the ZIP file I have attached.)
    I open the LVPROJ window and proceed by connecting to my RT device. I right click on the target and choose 'Connect'.
    A Deployment window will pop up and display the following text:
    Deploying RT (successfully deployed target settings)
    I close the window and proceed to deploy my primary VI titled 'target - multi rate - variables - fileIO.vi. I right-click on the target and choose to deploy. Again, a deployment window will pop up - this time with the following text:
    Deploying My Computer
    Deploying variables - network - RT.lvlib
    Deploying variables - network - RT.lvlibistop \\192.168.1.2\ variables - network - RT\stop.
    Deploying variables - network - RT.lvlibidata \\192.168.1.2\ variables - network - RT\data.
    Deploying RT (successfully deployed target settings)
    Deploying support - acquire data.vi (3.20K)
    Deploying Trim Whitespace.vi Failed to download Trim Whitespace.vi
    The deployment usually, but NOT always, fails on Trim Whitespace.vi. In any case, the deployment will always fail for some VI and continue to fail in the same manner until My System is rebooted. Attempting to individually deploy any of the VIs also fails the vast majority of the time and if any VI fails it will continue to do so (...until a hard reboot, in which case it may or may not fail assuredly).
    Attached to this post is a ZIP containing all the files associated with this RT Project (not including the libraries of dependencies associated with LabVIEW, of course).
    If you feel that more information about hardware or software in use would be useful, please ask.
    Thanks,
    Tom
    Attachments:
    LabVIEW RealTime Project.zip ‏193 KB

  • WD app Deployment Error - Where can we find J2ee log file for linux install

    Hi,
       I have a problem with deploying a web dynpro application. There are no errors before deployment but when I deploy the application, I get a deployment error with the following description.
    I tried to view the trace or log file but we have SAP installed on a linux OS and I do not know where can we see the log or trace file. Please help.
    Version:
    SAP NW 2004s SP15
    NWDS 7.0
    xRPM 4.5
    Error Description:
    May 14, 2008 12:49:50 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager)
    [Thread[Deploy Thread,5,main]] ERROR:
    [008]Deployment aborted
    Settings
    SDM host : BS307
    SDM port : 50718
    URL to deploy : file:/C:/DOCUME1/SMULLA1/LOCALS~1/Temp/2/temp20045SempraDemo4.5.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/SMULLA1/LOCALS~1/Temp/2/temp20045SempraDemo4.5.ear
    Aborted: development component 'SempraDemo4.5'/'local'/'LOKAL'/'0.2008.05.14.00.49.36'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application local/SempraDemo4.5.. Reason: Clusterwide exception: Failed to deploy application local/SempraDemo4.5. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/SempraDemo4.5. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine? (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Edited by: Subramanya Srinivas Mullapudi on May 14, 2008 8:34 AM

    Hi Reza,
    Hope you are doing good.
    You can set the trace level in the SAP/Java Gui dynamically :
    Call transaction SMICM
    Choose the menu Goto → Trace Level → Set
    In the pop-up window, set the desired level (0,1,2,3)
    To switch on an /nSMICM or ICM HTTP trace via command line you should go to
    usr\sap\<SID>\<instance_number>\exe directory and run the icmon program with the following command:
    icmon◦◦pf=\usr\sap\<SID>\SYS\profile\<SID>_<instance_name>_<HOST>
    where you fill in the SID, instance name and host corresponding to your system.
    The icmon program is interactive and to increase trace level you must write
    "+" and pres enter.To quit you must write  "q" and press enter.
    The trace will be written◦to the following file: usr\sap\<SID>\<instance_number>\work\dev_icm
    Thank you!
      Kind Regards,
      Hemanth
      SAP AGS

  • Error while deploying Spring PetClinic Demo App(with Toplink OR )on OC4J

    Hi All,
    I am trying to deploy sample app provided with spring framework on oc4j with Toplink as my OR layer, but i am facing issues with the deployment
    App fails to start with error finding "org.springframework.orm.toplink.support.CommonsLoggingSessionLog"
    this is found in toplink-applicatio context.xml file
    i found that this class is missing in spring framework.
    please help to get the jar files
    Thanks
    Raghavendra

    i got the class files. actually in 10.1.3 these class files are put in a different jar file spring-toplink.jar
    The Main issue here is that 10.1.3 toplink production is yet to be integrated into spring 2.
    petClinic will work fine if we use 10.1.3 developer preview edition
    Thanks
    Raghavendra

  • Please Help With toplink deployment

    Hello
    I have a simple j2ee application that runs great in jdeveloper but bombs when I deploy it to my OAS server.
    JDev Version 10.1.2
    OAS 10.1.2
    Technologies used
    Struts, toplink
    I have 1 table I mapped with toplink, I have a toplink-deployment-descriptor.xml, sessions.xml and a TopLink Mappings.
    I have a struts action called kicker.
    In kicker I do the following:
    <code>
    oracle.toplink.tools.sessionconfiguration.XMLLoader xmlLoader = new oracle.toplink.tools.sessionconfiguration.XMLLoader("META-INF/sessions.xml");
    oracle.toplink.tools.sessionmanagement.SessionManager sessionManager = oracle.toplink.tools.sessionmanagement.SessionManager.getManager();
    DatabaseSession session = (DatabaseSession)sessionManager.getSession(xmlLoader, "default", Thread.currentThread().getContextClassLoader());
    Vector objects = session.readAllObjects(t3.model.NibuSalaryWorksheets.class);
    System.out.println(objects.size());
    request.getSession().setAttribute("results",objects);
    return mapping.findForward("success");
    </code>
    Then in a jsp page I iterate over the results collection and print it out.
    When I try to deploy this it blows up on the server with the following error :
    Local Exception Stack:
    Exception [TOPLINK-6007] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
    Exception Description: Missing descriptor for [class t3.model.NibuSalaryWorksheets].
    Query: ReadAllQuery(t3.model.NibuSalaryWorksheets)
    Can someone please help me, I am desparate to use toplink over ejb's but I can't get it to run on the server.
    thanks
    troy

    Seems to be some kind of classloader issue.
    You can check if the session has a descriptor for the class by calling,
    session.getDescriptor(Class.forName("t3.model.NibuSalaryWorksheets"));
    It is most likely that the class is on the classpath twice.
    Instead of loading the sessions.xml with the thread class loader you could try using the classes class loader.
    i.e.
    DatabaseSession session = (DatabaseSession)sessionManager.getSession(xmlLoader, "default", t3.model.NibuSalaryWorksheets.class.getClassLoader());

  • Please help: deploy Bean with "No resource available" error for M:N relationship

    Hi all,
    I wonder any one comes across with deploying beans with M:N relationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) at weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) at weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) at weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) at weblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failed while
    creating its SQL Type Map. The error was: Invalid object name 'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Error encountered
    while attempting to create Default DBMS Table: 'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource s available'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
      ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-relationship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

    Hi Gaurav,
    Other applications used the same the datasource, which I used for this application,
    are running fine.
    I think there is some bug in the wlserver 6.1 to create the join table. I think
    it is the time I should ask the bea wlserver 6.1.
    Mike
    "Gaurav Khanna" <[email protected]> wrote:
    This implies that there are no database connections available. You need
    to
    check if you can log into your database instance. By default there are
    30
    connections specified for an instance in Oracle. FYI.
    "Mike" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I wonder any one comes across with deploying beans with M:Nrelationship with
    "No resource available".
    I defined the relationship in ejb-jar.xml and dbms in the
    weblogic-cmp-rdbms-jar.xml, but when I deployed the beans I got
    the following error
    ------ Error message-----
    weblogic.common.ResourceException: No resources available atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:568) atweblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.
    java:400) atweblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllo
    cator.java:368) atweblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:166) atweblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(Connection
    Pool.java:127) atweblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:194) atweblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:219) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSP
    ersistenceManager.java:317) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.createDefaultDBMSTab
    le(RDBMSPersistenceManager.java:1149) atweblogic.ejb20.utils.TableVerifier.verifyTableExistsAndCreateMaybe(Ta
    bleVerifier.java:428) atweblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.verifyTablesExist(RD
    Unable to deploy EJB: CustomerBean from \ejb:
    Errors encountered ''The Container-Managed Persistence Entity EJB failedwhile
    creating its SQL Type Map. The error was: Invalid object name'localcustomer_localsubscription'.
    Severity 16, State 1, Procedure 'IVM_SERVER null', Line 1', 'Errorencountered
    while attempting to create Default DBMS Table:'localcustomer_localsubscription'.
    Error Text: 'weblogic.common.ResourceException: No resource savailable'.''
    ---------------End error ----------------------
    ---------------my ejb-jar.xml
    <ejb-jar>
    - <enterprise-beans>
    - <entity>
    <ejb-name>AddressBean</ejb-name>
    <local-home>customer.LocalAddressHome</local-home>
    <local>customer.LocalAddress</local>
    <ejb-class>customer.AddressBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    - <cmp-field>
    <field-name>addressID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>street</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>city</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>zip</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>state</field-name>
    </cmp-field>
    <primkey-field>addressID</primkey-field>
    </entity>
    - <entity>
    <ejb-name>CustomerBean</ejb-name>
    <local-home>customer.LocalCustomerHome</local-home>
    <local>customer.LocalCustomer</local>
    <ejb-class>customer.CustomerBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>CustomerBean</abstract-schema-name>
    - <cmp-field>
    <field-name>customerID</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <primkey-field>customerID</primkey-field>
    - <query>
    - <query-method>
    <method-name>findByLastName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    - <query>
    - <query-method>
    <method-name>findByFirstName</method-name>
    - <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM CustomerBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    - <entity>
    <ejb-name>SubscriptionBean</ejb-name>
    <local-home>customer.LocalSubscriptionHome</local-home>
    <local>customer.LocalSubscription</local>
    <ejb-class>customer.SubscriptionBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>SubscriptionBean</abstract-schema-name>
    - <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    - <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <primkey-field>title</primkey-field>
    - <query>
    - <query-method>
    <method-name>findAllSubscriptions</method-name>
    <method-params />
    </query-method>
    - <ejb-ql>
    - <![CDATA[ SELECT OBJECT(o) FROM SubscriptionBean AS o
    ]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    - <relationships>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalAddress</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomer-Has-LocalAddresss</ejb-relationshi
    p-role-name>
    <multiplicity>one</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>addresses</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalAddress-Has-LocalCustomer</ejb-relationship
    -role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>AddressBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customer</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    - <ejb-relation>
    <ejb-relation-name>LocalCustomer-LocalSubscription</ejb-relation-name>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalCustomers-Have-LocalSubscriptions</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>CustomerBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>subscriptions</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    - <ejb-relationship-role>
    <ejb-relationship-role-name>LocalSubscriptions-Have-LocalCustomers</ejb-rela
    tionship-role-name>
    <multiplicity>many</multiplicity>
    - <relationship-role-source>
    <ejb-name>SubscriptionBean</ejb-name>
    </relationship-role-source>
    - <cmr-field>
    <cmr-field-name>customers</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>AddressBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>CustomerBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>SubscriptionBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ------------------End of ejb-jar.xml---------------
    Please help
    Thanks in advance
    Mike

Maybe you are looking for