E-sourcing 7 - on premise deployment?

Dear All,
I have some questions for your e-sourcing/CLM experts:
- Can the current lversion of e-Sourciing and CLM be deployed on-premise?
- Is standard integration with SRM 7.0 and ECC 6.0 provided with the current version of e-sourcing?
Thanks,
Sheena

Hi Sheena,
- Can the current lversion of e-Sourciing and CLM be deployed on-premise?
Ans: Current version Wave7 is SAP hosted, you can deploy version 5.1 on you premises or can wait till June 2011 to get latest On-Premises Version
- Is standard integration with SRM 7.0 and ECC 6.0 provided with the current version of e-sourcing?
Ans: yes its available for ECC 6.0
~Ankush

Similar Messages

  • Clients on Sourcing 7.0 - Premise Deployment

    Hi,
    Please let me know of any clients who have implemented Sourcing 7.0 - On Premise Deployment.
    Just need the information.
    Regards,
    Pankaj

    Harmeet,
    I can't speak for Pankaj, but from my perspective, I am interested taliking to someone has done the upgrade, not a fresh install.  
    Thanks.
    - Jay

  • Jabber for Windows On-Premises Deployment.

    I´m deploying a solution of CUCM BE 8.6 with CUC 8.6 and CUPS 8.6. At this momento all is working on the CUCM and CUC. But i´m not sure if all is fine on the CUPS.
    I have integrated all application whit an LDAP (Microsoft AD). Now I´m configuring Jabber for Windows and the users have IM and status monitoring (presence) working fine. But They need to have voice functionalities to make and recive calls.
    I try to make call with jabber and using the pc to make call, but just can make calls;  when some one try to call me, they receive a fast busy tone.
    Then i tried to use jabber with an IP Communicator associated to the same user; and just in this scenario other users can call me.
    The question is. On-premises deployments, jabber for windows requiere to have associated a desk phone or softphone to make and receive calls?, or i need to do some thing to give to jabber in self the ability de make and receive calls with out any other device associated?
    Thanks.

    Hi Chris, do you mean that in sofphone mode Jabber do no need the ip communicator to make an receive calls?
    Becouse right now i have jabber and a CSF configured and associated to the user. But they can not receive calls, just can make calls.
    Only when associate the ip communicator the user can receive calls.
    Any idea of what could be happenning?
    Thanks
    Hello again,
    I did some tests and a review of the configuration, but i can´t solve the issue.
    the Users with jabber for windows can receive calls but they can not make if they do.
    Only if they use an IP communicator associated to jabber client, they can make and receive calls
    Must be jabber working by in self to make and receive calls, no matter if have  or not associated a desk phone or softphone?
    What do you think i need to verified?
    I´m sending a file with screen shots to explain the issue.
    thanks in advance

  • Report using excel sheet as data source not working when deployed to production.

    I have a set of SSRS reports that use an excel sheet as a datasource.
    Now when I preview the reports or run them in the Visual Studio IDE on my local machine i.e
    the development machine, the reports run fine & display all correct results.
    However, when we deploy the reports to the Production machine which is on a separate server,
    the following error message is displayed :
    "The current action cannot be completed. The user data source credentials do not meet the requirements to run this report. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to
    require credentials but the unattended execution account is not specified. (rsInvalidDataSourceCredentialSetting)"
    I've copy pasted the connection string used for connecting to the excel file as reference :
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyFolder\CurrentFile.xlsx;Extended Properties="Excel 12.0;HDR=Yes;";
    The excel file has also been uploaded to the machine housing the reporting server (i.e to C:\MyFolder location)

    Hi Aaakar,
    From the error message, please try to change the setting of Credential type for the data source on report manager as follows:
    Go to the Data Sources properties page.
    For the Connect Using option, select Credentials stored securely in the report server.
    In User Name and Password, type credentials that can be used to access the database. If you are using SQL Server as the data source, the user name must be valid for both logging on to the server and for accessing the database that contains the data for
    the report.
    If the user name and password are credentials for a Windows account, select Use as Windows Credentials.
    If you want the report server to pass the credentials of the user accessing the report to the server hosting the external data source, click Windows Integrated Security. In this case, the user is not prompted to type a user name or password.
    For more details about Configure Data Source Properties, please see:
    http://technet.microsoft.com/en-us/library/ms155882.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Access denied when upgrade SharePoint app in on premise deployment while it succeeds in fresh deployment

    We deployed a SharePoint hosted app then used it for a while then we needed to upgrade it to be provider hosted app.
    we used the same AppID and name with the new package then uploaded the package to the app catalog.
    the old app in the site contents now has a note that there is a newer version and prompts to upgrade.
    the upgrade fails with access denied even for site collection administrator.
    is there really some permission issue or the upgrade can't be done?
    We are volunteers, if the reply help you mark it as your answer. thanks!!

    Hi,
    According to your post, my understanding is that you got access denied error when upgrade the SharePoint hosted app to provider hosted app.
    How did you upgrade a SharePoint hosted app to a provider hosted app?
    They are two different type apps, why not just create a new provider hosted app?
    To create a provider hosted app, we should create a certificate that is used as “security token issuer”.
    There are two articles about creating provider hosted  high trust app, you can have a look at them.
    http://blog.karstein-consulting.com/2013/01/08/create-provider-hosted-high-trust-app-for-sharepoint-2013-short-guide/
    http://msdn.microsoft.com/en-us/library/fp179901.aspx
    What’s more, there is an topic about the troubleshooting tips for SharePoint high trust app, you can refer to it.
    http://blogs.technet.com/b/speschka/archive/2012/11/01/more-troubleshooting-tips-for-high-trust-apps-on-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • No Data Source found error while deploying J2EE application

    hi
    i am new to Oracle9ias. I was going through the Oracle by Example tutorial available on the site. There i followed the steps to deploy a sample J2EE application. Acc to it i first created the datasource and then tried to deploy the application. But i am getting "datasource not found" error. I am totally unaware of the possible cause of this. The error in specific is as follows
    Deployment failed: Nested exception Root Cause: No DataSource found at jdbc/hrDS. No DataSource found at jdbc/hrDS
    Please help
    thanks
    nitin

    Document is outdated & for now could you please follow http://dev.day.com/content/kb/home/cq5/Development/HowToConfigureSlingDatasource.html

  • E-Sourcing/CLM - next versions?

    Hi
    We concider to implement the E-sourcing/CLM solution.
    But I can see that the mainstream maintenance of the current versions (e-sourcing 5.1/CLM 2.0) ends in 2012.
    Therefor we would rather wait for the next version if it is released soon.
    I can see that e-sourcing 6/CLM 3 is available as a hosted solution.
    Will the not-hosted solutions be GA soon?
    Best regards
    Lars

    Hi,
    u2026Whatu2019s the change from SAPu2019s latest on the product line?
    -          Current version of SAP E-Sourcing is 5.1
    -          E-Sourcing 6.0 will be made available as "On-Demand" multi-tenant solution.  For the customers who are interested in "Single Tenant Hosted" deployment option, we will be also offering "On-Demand Private
    Edition" of E-Sourcing 6.0 at the same time, November 26, 2009. Customers who are interested in the "On-Premise" deployment will need to wait for the next release, E-Sourcing 7.0, currently scheduled for
    August 2010.
    So what is the suggested way forward if you want to upgrade from E-sourcing 5.1(on premise) to E-Sourcing 6.0?
    And what is the suggested way for customers who want to have new E-Sourcing 6.0 on premise installed? Is it not an option or wait till Aug 2010?
    This is what SAP has to say
    SAP have made strategic decision not to make the "On-Premise" deployment option available for every "On-Demand" release. 
    - In order to introduce new features faster, SAP will be focusing on "On-Demand" solution with a new release in every six months. (New OD releases scheduled for Q2 2010, Q4 2010, Q2 2011, Q4 2011, etc..)
    - On-Premise customers typically do not upgrade every six months.  When SAP delivers an "On-Premise" release, it will be a cumulative release that includes all new features delivered in the all prior "On-Demand" releases.  So, SAP will continue to provide new features to "On-Premise" customers and will continue to provide a reasonable migration path for all On-Premise customers.   However, it won't be as frequent as "On-Demand" releases and the "On-Premise" release will be synchronized with the SAP Business Suite release cycle.
    Next "On-Premise" release (E-Sourcing 7.0) is currently scheduled for August 2010.
    Hope this helps
    ~Ankush

  • E-Sourcing 7.0

    Hi,
    We are looking into a project to install E-Sourcing as "on-premise" solution and integrate with ECC 6.0 in backend.
    We have following questions:
      1. E-Sourcing 5.1 is supported under mainstream maintenance until 2012. I understood from some other postings, that next planned on-premise release is E-Sourcing 7.0. When it's going to be available for "General Availability" ?
      2. E-Sourcing 5.1 curently does not support IBM DB2 V9.5 or higher. Is E-Sourcing 7.0 will be supported on DB2 V9.5 (or even V9.7) ?
      3. Which Netweaver J2EE server will be supported with E-Sourcing 7.0 ? Will it still be able to deploy using Netweaver J2EE 7.0 ? (btw: E-Sourcing 5.1 is suppirted by Netweaver 7.0 SPS13 or higher).
      4. Will E-Sourcing 7.0 still be able to install on AIX server ?
      5. Should we wait until E-Sourcing 7.0 is released to start with the project ?
    Many thanks in advance for your help.
    Cheers !!
    Satya.

    HI,
    First of all, below statments are all based on the current plan and the actual details may change in the future. 
    1. E-Sourcing 5.1 is supported under mainstream maintenance until 2012. I understood from some other postings, that next planned on-premise release is E-Sourcing 7.0. When it's going to be available for "General Availability" ?
    [SK]  The next on-premise release is E-Sourcing 7.0 and it is planned for RTC (Releat to Customer / ramp-up) in Q4 2010 and planned for GA (General Availability) in Q1 2011. 
    If customer is open for on-demand deployment, the on-demand version with the same content will be made generally available in Q3 2010.  The next on-demand release is called E-Sourcing On-Demand Wave 7.
    2. E-Sourcing 5.1 curently does not support IBM DB2 V9.5 or higher. Is E-Sourcing 7.0 will be supported on DB2 V9.5 (or even V9.7) ?
    [SK] In E-Sourcing 7.0, we are planning to support IBM DB2 V9.5 and V9.7.  
    3. Which Netweaver J2EE server will be supported with E-Sourcing 7.0 ? Will it still be able to deploy using Netweaver J2EE 7.0 ? (btw: E-Sourcing 5.1 is suppirted by Netweaver 7.0 SPS13 or higher).
    [SK] In E-Sourcing 7.0, we are planning to support NetWeaver CE 7.20 or above and NetWeaver 7.3 or above.
    4. Will E-Sourcing 7.0 still be able to install on AIX server ?
    [SK]  Yes. 
    5. Should we wait until E-Sourcing 7.0 is released to start with the project ?
    [SK]  This depends on each individual customer's situation.  
    Thanks,
    Steven

  • Unable to include Operator Interface in TestStand deployment

    Hello.  I have created a test system using TestStand 3.5. 
    There is only one sequence file, and this sequence calls several VIs
    that I have created in LabVIEW 8.0.  I would like to distribute
    this test system to a target computer, which will then run the default
    Operator Interface.  No bells and whistles, just plain and
    simple.  However, I'm running into problems.
    First, I created a Workspace file in TestStand.  I then added a
    Project to it.  In the Project, I added all necessary files for my
    project (the sequence file as well as all of the custom VIs). 
    Then I proceeded to follow the TestStand reference manual in order to
    deploy my system.
    For reference, text in italics is the reference guide and text in bold is my comments.
    Deploying the TestStand Engine
    1. Launch the TestStand Deployment Utility by selecting Tools»Deploy
    TestStand System from within the sequence editor.
    I did this, and set up my build how I wanted it.
    2. On the System Source tab, enable the Deploy Files in TestStand User
    Directories option.
    This option collects files from the <TestStand>\...\User
    directories, so that any customizations that you have made to process
    models, step types, language strings, and so on, will be distributed to
    the target computer.
    I did this, and copied my Operator Interfaces\NI folder to Operator
    Interfaces\User.  This would assure (I hope) that I would have the
    default operator interfaces included in my project.
    3. On the Installer Options tab, enable the Install TestStand Engine
    option.
    Done.
    4. On the Installer Options tab, click Engine Options to launch the
    TestStand Engine Options dialog box, which you use to select the
    TestStand components that should be present in the installer.
    Done.  Everything is checked.
    In the TestStand Engine Options dialog box, expand Operator
    Interfaces»Full-Featured in the tree view.
    a. Click the X next to LabWindows/CVI to include the
    Full-Featured LabWindows/CVI Operator Interface in the engine
    installation. The X should become a green checkmark.
    b. Click OK to accept the new settings and close the dialog box.
    This is where things go wrong.  There is NO Operator Interfaces box in my tree view.  It simply doesn't exist.
    I've tried several different builds using different strategies. 
    I've done builds with the CVI operator interface in the User directory,
    and I've also tried copying over the files manually.  On the
    target computer, I've always gotten either an error message (Could not
    open the TestStand Engine), or else TestStand opens in evaluation
    mode.  In both cases, my custom VIs and sequence files are nowhere
    to be seen.  Can anyone shed some light on this?  It's
    driving me a bit crazy!
    Thanks very much,
    Brett Gildersleeve

    Hi Brett,
    Whenever you deploy your TestStand application to target machines, you will always needs a license.  The licenses for distributing TestStand are different than for distributing LabVIEW and LabWindows/CVI code modules.
    LabVIEW does not require you to purchase any run-time licenses for a deployment system. You can even run LabVIEW VIs in VI format (not executables) from TestStand without using the development environment and without an additional license.
    In order to run LabWindows/CVI code modules, you will need the LabWindows/CVI Run-Time engine which is also available free of charge.
    Regarding TestStand, you will need a license for each machine that runs a TestStand sequence. TestStand has three types of licenses which are the TestStand Development System License, the TestStand Debug Deployment Environment License, and the TestStand Base Deployment Engine License.
    TestStand Development System License
    The TestStand Development System License is required for any test sequence development and/or editing of existing TestStand sequence files that you perform within the TestStand Sequence Editor or programmatically using the TestStand API.
    TestStand Debug Deployment Environment License
    The TestStand Debug Deployment Environment License gives you maximum flexibility for deploying TestStand and LabVIEW, LabWindows/CVI, and Measurement Studio-based systems. This license allows you to install the development versions of TestStand, LabVIEW, LabWindows/CVI, and Measurement Studio, along with any corresponding add-on toolkits, so that you can debug your test application on your deployed test station. This license does not include the ability to perform any development tasks within the TestStand Sequence Editor or programmatically using the TestStand API.
    The TestStand Debug Deployment Environment License has debugging capabilities including settings breakpoints, monitoring variable values, and stepping into test code directly from the TestStand sequence.
    (Note: This license does not provide the software but rather gives you the right to install a previously purchased piece of software on the target machine.)
    TestStand Base Deployment Engine License
    The TestStand Base Deployment Engine License is the minimum license required for all deployed TestStand-based applications. This license allows you to deploy the TestStand Engine, a TestStand Operator Interface, and TestStand sequence files to the single test station for which the license is applicable.
    The TestStand Base Deployment Engine License provides simple sequence debugging capabilities, including setting breakpoints and single stepping through test sequences in your Operator Interface. You cannot save sequences and open the sequence editor.
    I hope this clears things up.
    Best Regards,
    Jonathan N.
    National Instruments

  • Error 2000 - The server is not compatible with this deployment client

    I'm getting an error trying to deploy a composite. It works for everyone else on the team, and our configurations are the same (as far as we can tell). We've compared JDev version info.
    Any idea what I can try? Thank you.
    [12:57:48 PM] ---- Deployment started. ----
    [12:57:48 PM] Target platform is (Weblogic 10.3).
    [12:57:48 PM] Running dependency analysis...
    [12:57:48 PM] Building...
    [12:58:05 PM] Deploying profile...
    [12:58:06 PM] Wrote Archive Module to C:\pkgs\svn\mdm\trunk\src\DRM WDK Source Code\Workflows\DrmRequestWorkflowSelection\deploy\sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar
    [12:58:06 PM] Deploying sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar to partition "default" on server soa_server1 [http://10.22.2.40:8001]
    [12:58:06 PM] Processing sar=/C:/pkgs/svn/mdm/trunk/src/DRM WDK Source Code/Workflows/DrmRequestWorkflowSelection/deploy/sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar
    [12:58:06 PM] Adding sar file - C:\pkgs\svn\mdm\trunk\src\DRM WDK Source Code\Workflows\DrmRequestWorkflowSelection\deploy\sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar
    [12:58:06 PM] Preparing to send HTTP request for deployment
    [12:58:06 PM] Creating HTTP connection to host:10.22.2.40, port:8001
    [12:58:06 PM] Sending internal deployment descriptor
    [12:58:06 PM] Sending archive - sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar
    [12:58:07 PM] Error deploying archive sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar to partition "default" on server soa_server1 [http://10.22.2.40:8001]
    *[12:58:07 PM] HTTP error code returned [2000]*
    *[12:58:07 PM] Error message from server:*
    The server is not compatible with this deployment client: please verify that the server is a SOA managed server and that its version is supported by this deployment client
    [12:58:07 PM] Check server log for more details.
    [12:58:07 PM] Error deploying archive sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar to partition "default" on server soa_server1 [http://10.22.2.40:8001]
    [12:58:07 PM] #### Deployment incomplete. ####
    [12:58:07 PM] Error deploying archive file:/C:/pkgs/svn/mdm/trunk/src/DRM WDK Source Code/Workflows/DrmRequestWorkflowSelection/deploy/sca_DrmRequestWorkflowSelectionComposite_rev3.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Edited by: J Keller on Jun 6, 2013 8:03 AM

    Can anyone reply plz???

  • Error in deploying a jar file on JBOSS

    What could be the error here ?
    12:49:30,643 INFO [URLDeploymentScanner] Started
    12:49:31,074 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/conf/jboss-service.xml
    12:49:31,094 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)] Started in 1m:11s:663ms
    12:49:57,121 INFO [MainDeployer] Undeploying file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
    12:49:57,121 WARN [ServiceController] Ignoring request to stop nonexistent service: null
    12:49:57,121 WARN [ServiceController] Ignoring request to destroy nonexistent service: null
    12:49:57,131 WARN [ServiceController] Ignoring request to remove nonexistent service: null
    12:49:57,171 WARN [DeploymentInfo] Could not delete directory file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/MyBank.jar/55.MyBank.jar restart will delete it
    12:49:57,171 INFO [MainDeployer] Undeployed file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
    12:49:57,181 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
    12:49:57,692 WARN [verifier] EJB spec violation:
    Bean : MySession
    Section: 22.2
    Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
    Info : Class not found: au.com.tusc.MySessionSession
    12:49:57,692 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
         at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy7.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
    12:49:57,702 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@7380f9af{ url=file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar, deployedLastModified=1065501444000 }
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
         at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy7.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

    check ure ejb-jar xml & <ejb-class> tag & fully completed path with all pakages are are correct or not
    <!-- Session Beans -->
    <session >
    <description><![CDATA[Description for Cal]]></description>
    <display-name>Name for Cal</display-name>
    <ejb-name>Cal</ejb-name>
    <home>com.abc.bo.interfaces.CalHome</home>
    <remote>com.abc.bo.interfaces.Cal</remote>
    *<ejb-class>com.abc.bo.ejb.CalBean</ejb-class>*
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>

  • Error deploy Jboss and Weblogic with JDev 10.1.3.0.3 EA

    Hi,
    I'm having problem with deploy application make with JDev 10.1.3.0.3 EA
    in a Jboss 4.0.2 and Weblogic 8.1. Very simple app with JSF.
    The error seems to be in application.xml. Maybe because xml schema.
    It is a bug? Are there a workround?
    Thanks!
    The log of Jboss:
    2005-09-23 16:04:40,863 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
    2005-09-23 16:04:40,863 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
    2005-09-23 16:04:40,863 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear -> /usr/local/jboss-4.0.2/server/default/tmp/deploy/tmp12285appnovotestejsf.ear
    2005-09-23 16:04:40,864 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@510e39
    2005-09-23 16:04:40,864 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
    2005-09-23 16:04:40,866 ERROR [org.jboss.metadata.XmlFileLoader] Invalid XML: file=META-INF/application.xml@-1:2
    java.lang.IllegalStateException: can't declare any more prefixes in this context
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
         at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
         at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
    2005-09-23 16:04:40,867 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear
    org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/application.xml@-1:2; - nested throwable: (java.lang.IllegalStateException: can't declare any more prefixes in this context)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
         at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
         at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
    Caused by: java.lang.IllegalStateException: can't declare any more prefixes in this context
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
         ... 23 more
    2005-09-23 16:04:40,869 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e3ab9801{ url=file:/usr/local/jboss-4.0.2/server/default/deploy/appnovotestejsf.ear, deployedLastModified=1127502101000 }
    org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/application.xml@-1:2; - nested throwable: (java.lang.IllegalStateException: can't declare any more prefixes in this context)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
         at org.jboss.deployment.EARDeployer.init(EARDeployer.java:127)
         at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
    Caused by: java.lang.IllegalStateException: can't declare any more prefixes in this context
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
         at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:313)
         ... 23 more

    The test is easer.
    I make a new Empty Project like J2EE13. After create a new JSP (Web tier -> JSP).
    I chose j2ee version 1.3. So I put some jsp code inside, like
    <body>
    <%
    out.write("Teste J2EE 1.3");
    %></body>
    After I create a new Deployment Profiles WAR File.
    Make a build, a .war file and .ear and everythink worked.
    So I make a J2EE Deplyment Descriptor Wizard with version 1.3
    And make rebuil project.
    JDev don't finish the rebuild. The thread dump with CRTL+BREAK :
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_05-b03 mixed mode):
    "Log Page Updater" prio=5 tid=0x07d0ee78 nid=0x9d8 waiting on condition [0x08a8f000..0x08a8f9e8]
    at java.lang.Thread.sleep(Native Method)
    at oracle.jdeveloper.compiler.CompilerPage$2.run(CompilerPage.java:536)
    "CompileThread" prio=5 tid=0x07d0e4f8 nid=0x94c in Object.wait() [0x0858f000..0x0858fa68]
    at java.lang.Object.wait(Native Method)
    at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:385)
    - locked <0x141e7408> (a oracle.javatools.buffer.ReadWriteLock)
    at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:252)
    at oracle.javatools.buffer.AbstractTextBuffer.readLock(AbstractTextBuffer.java:1112)
    at oracle.ide.model.TextNode$TextBufferWrapper.readLock(TextNode.java:1781)
    at oracle.javatools.buffer.TextBufferReader.<init>(TextBufferReader.java:52)
    at oracle.javatools.buffer.TextBufferFactory.createReader(TextBufferFactory.java:167)
    at oracle.bali.xml.addin.XMLSourceNode.doWellFormednessCheckDuringMake(XMLSourceNode.java:382)
    at oracle.bali.xml.addin.translator.XmlTranslator.translate(XmlTranslator.java:198)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:299)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:514)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:607)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:664)
    at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:884)
    "Thread-22" prio=7 tid=0x069eb8b0 nid=0x9c8 in Object.wait() [0x08c8f000..0x08c8fae8]
    at java.lang.Object.wait(Native Method)
    at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:385)
    - locked <0x141e7408> (a oracle.javatools.buffer.ReadWriteLock)
    at oracle.javatools.buffer.ReadWriteLock.readLock(ReadWriteLock.java:252)
    at oracle.javatools.buffer.AbstractTextBuffer.readLock(AbstractTextBuffer.java:1112)
    at oracle.ide.model.TextNode$TextBufferWrapper.readLock(TextNode.java:1781)
    at oracle.jdevimpl.todo.ToDoManagerImpl._getToDoListFromNode(ToDoManagerImpl.java:1020)
    at oracle.jdevimpl.todo.ToDoManagerImpl.maS$_getToDoListFromNode(ToDoManagerImpl.java)
    at oracle.jdevimpl.todo.ToDoManagerImpl$ToDoItemManager$1.construct(ToDoManagerImpl.java:2083)
    at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
    at java.lang.Thread.run(Thread.java:595)
    "IconOverlayTracker Timer" prio=5 tid=0x07367168 nid=0x4c8 in Object.wait() [0x0848f000..0x0848fb68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x140880b0> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x140880b0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Persistence Auto Flusher" daemon prio=5 tid=0x0770d660 nid=0xfec in Object.wait() [0x0958f000..0x0958fc68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1401ee28> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x1401ee28> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "IdeMinPriorityTimer" daemon prio=2 tid=0x06a58c90 nid=0xff0 in Object.wait() [0x0948f000..0x0948f9e8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13d61428> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x13d61428> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AuditExecutor-5" daemon prio=7 tid=0x07620e50 nid=0x6f8 in Object.wait() [0x0928f000..0x0928fa68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x13d45398> (a oracle.javatools.util.SynchronizedQueue)
    at java.lang.Object.wait(Object.java:474)
    at oracle.javatools.util.SynchronizedQueue.remove(SynchronizedQueue.java:61)
    - locked <0x13d45398> (a oracle.javatools.util.SynchronizedQueue)
    at oracle.jdevimpl.audit.util.SwingExecutor.run(SwingExecutor.java:467)
    at java.lang.Thread.run(Thread.java:595)
    "WaitCursorTimer" daemon prio=5 tid=0x073e7428 nid=0x3f4 in Object.wait() [0x08b8f000..0x08b8fbe8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x134b6160> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x134b6160> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "BufferDomModel background parse thread" daemon prio=2 tid=0x03c9f8c0 nid=0x690 in Object.wait() [0x0898f000..0x0898fce8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1318a2e8> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x1318a2e8> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "WeakDataReference polling" prio=2 tid=0x072afba0 nid=0x664 in Object.wait() [0x0888f000..0x0888fd68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1318c598> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1318c598> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
    at java.lang.Thread.run(Thread.java:595)
    "Native Directory Watcher" prio=2 tid=0x06c4ba00 nid=0x350 runnable [0x0868f000..0x0868fa68]
    at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
    at oracle.ide.natives.NativeHandler$1.run(NativeHandler.java:244)
    at java.lang.Thread.run(Thread.java:595)
    "IconOverlayTracker Timer" prio=5 tid=0x069d2bd0 nid=0x948 in Object.wait() [0x0838f000..0x0838fb68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12fd96e0> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x12fd96e0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "TimerQueue" daemon prio=5 tid=0x03db5be0 nid=0x924 in Object.wait() [0x0657f000..0x0657fb68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x12903aa0> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:233)
    - locked <0x12903aa0> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-0" prio=7 tid=0x03d78958 nid=0x34c in Object.wait() [0x0443f000..0x0443fbe8]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:474)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
    - locked <0x128687b8> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:189)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "Java2D Disposer" daemon prio=10 tid=0x03d757e8 nid=0xf4c in Object.wait() [0x0423f000..0x0423fce8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1286a2c0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1286a2c0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:107)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-Windows" daemon prio=7 tid=0x03d6d660 nid=0x698 runnable [0x0413f000..0x0413fd68]
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:269)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-Shutdown" prio=5 tid=0x03d68d78 nid=0x8c8 in Object.wait() [0x0403f000..0x0403f9e8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1286a3a8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:474)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x1286a3a8> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:595)
    "Low Memory Detector" daemon prio=5 tid=0x013ca0a8 nid=0x10c runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=10 tid=0x013c8e00 nid=0x8c0 waiting on condition [0x00000000..0x03b1f8cc]
    "Signal Dispatcher" daemon prio=10 tid=0x013a9ac8 nid=0x99c waiting on condition [0x00000000..0x00000000]
    "Finalizer" daemon prio=9 tid=0x0135b940 nid=0x11c in Object.wait() [0x0391f000..0x0391fc68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1280f808> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x1280f808> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x0139bb58 nid=0x4a8 in Object.wait() [0x0381f000..0x0381fce8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1280f888> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x1280f888> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x00846878 nid=0x840 waiting on condition [0x00000000..0x0012fb60]
    "VM Thread" prio=10 tid=0x0084f410 nid=0x77c runnable
    "VM Periodic Task Thread" prio=10 tid=0x013dcac8 nid=0x8f0 waiting on condition
    Close JDev and reopen don't resolve.
    Thanks.

  • Error in Deploying CMP Bean!!!

    i'm writing a CMP Bean. i wrote the Bean , home and remote interfaces. i'm using weblogic 7.0 as my application server.
    1. what is the default data base for the weblogic 7.0.
    2. should v create any table while deploying the CMP bean in a database. i think there is no need because the container will take care of it.
    3. what is the need of <Data-source-name> in the deployment descriptor file weblogic-cmp-ejb-jar.xml. this is a mandatory field. can i give a random name here? if not, how 2 create a data source name.
    please refer my deployment descriptor file.s
    <!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-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>Product</ejb-name>
    <data-source-name>examples-dataSource-demoPool</data-source-name>
    <table-map>
    <table-name>TORDER</table-name>
    <field-map>
    <cmp-field>productID</cmp-field>
    <dbms-column>PRODUCTID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>description</cmp-field>
    <dbms-column>DESCRIPTION</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>basePrice</cmp-field>
    <dbms-column>BASEPRICE</dbms-column>
    </field-map>
    </table-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    </weblogic-rdbms-jar>
    <?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>Product</ejb-name>
    <home>examples.ProductHome</home>
    <remote>examples.Product</remote>
    <ejb-class>examples.ProductBean</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>ProductBean</abstract-schema-name>
    <cmp-field>
    <field-name>productID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>basePrice</field-name>
    </cmp-field>
    <primkey-field>productID</primkey-field>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.name = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByDescription</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.description = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByBasePrice</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.basePrice = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findExpensiveProducts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.basePrice > ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findCheapProducts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.basePrice < ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllProducts</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.productID IS NOT NULL]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>Product</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd" >
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>Product</ejb-name>
    <entity-descriptor>
    <entity-cache>
         <max-beans-in-cache>1000</max-beans-in-cache>
    </entity-cache>
    <persistence>
         <persistence-type>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>6.0</type-version>
         <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
         </persistence-type>
         <persistence-use>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>6.0</type-version>
         </persistence-use>
    </persistence>
    </entity-descriptor>
    <jndi-name>RemoteProductHome</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    4. when i tried to deploy the following error occurs.. how to fix the errror.
    weblogic.management.ApplicationException: activate failed forrgcmp1
    Module Name: rgcmp1, Error: Exception activating module: EJBModule(rgcmp1,status=PREPARED)
    Unable to deploy EJB: Product from rgcmp1.jar:
    The DataSource with the JNDI name: examples-dataSource-demoPool 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.
    TargetException:
    Unable to deploy EJB: Product from rgcmp1.jar:
    The DataSource with the JNDI name: examples-dataSource-demoPool 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.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1097)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1078)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1144)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

    i tried to configure my data source and the following error occured.
    After opening the Admin console, in 'connection pool' i created a demo pool and deployed it.(i refered the samples (Weblogic) for doing this ...even to tell more precisely i did a copy/paste).
    Name : demopool
    URL : jdbc:pointbase:server://localhost/demo
    Driver Classname : com.pointbase.xa.xaDataSource
    Properties (key=value); ser=examples                DatabaseName=jdbc:pointbase:server://localhost/demo
    password: weblogic
    open sting password: weblogic
    then i tried to create the data source..
    Name: examples-dataSource-demoPool
    jndi name: rgexample
    pool name: demopool
    Row Prefetch Size : 48
    Stream Chunk Size : 256
    then the following error occured while deployment.
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]
    Error creating data source
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:653)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    Distributed update exception
    - remote object: RaghuDomain:Location=egserver,Name=egserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@673498
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@19f294
    - signature: [Ljava.lang.String;@4f787
    Distributed update exception
    - remote object: RaghuDomain:Location=egserver,Name=egserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@673498
    java.lang.Exception: weblogic.common.ResourceException: DataSource(rgexample) can't be created with non-existent Pool (connection or multi) (demopool)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:126)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:262)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:286)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    --------------- nested within: ------------------
    weblogic.management.DeploymentException: Error creating data source - with nested exception:
    [java.lang.Exception: weblogic.common.ResourceException: DataSource(rgexample) can't be created with non-existent Pool (connection or multi) (demopool)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:126)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:262)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:295)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creating data source - with nested exception:
    [weblogic.management.DeploymentException: Error creating data source - with nested exception:
    [java.lang.Exception: weblogic.common.ResourceException: DataSource(rgexample) can't be created with non-existent Pool (connection or multi) (demopool)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:126)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:262)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:607)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.se--------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating Targets-Server on Proxy for RaghuDomain:Name=examples-dataSource-demoPool,Type=JDBCDataSource - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]
    Error creating data source]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:181)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.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(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.Exe

  • Error while deploying CMP.. can u pls tell me...

    Hi,
    Below is the error my jboss 3.2.3 container is throwing when i tried to deploy my CMP entity bean. It says
    my ejbFindByPrimaryKey() method must be implemented,but in a CMP i am told the container will take care of the implementation, one just has to specify it in the home object.. can anyone pls tell me where i could have gone wrong.
    2004-07-09 12:47:39,825 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/jboss-3.2.3/server/default/deploy/product.jar
    2004-07-09 12:47:40,404 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
    Bean : Product
    Section: 12.2.2
    Warning: The class must be defined as public and must not be abstract.
    2004-07-09 12:47:40,404 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
    Bean : Product
    Section: 12.2.5
    Warning: Every entity bean must define the ejbFindByPrimaryKey method.
    2004-07-09 12:47:40,419 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss-3.2.3/server/default/deploy/product.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy6.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

    This is my code
    ProductBean
    import javax.ejb.EntityContext;
    import javax.ejb.EntityBean;
    public abstract class ProductBean implements EntityBean {
         protected EntityContext ctx;
         //All set and get Methods
         public abstract String getName();
         public abstract void setName(String name);
         public abstract String getDescription() ;
         public abstract void setDescription(String desc);
         public abstract double getBasePrice() ;
         public abstract void setBasePrice(double baseprice);
         public abstract String getProductID();     
         public abstract void setProductID(String prodname);
         //EJB required Methods
         public void ejbActivate(){
              System.out.println("ejbActivate called");
         public void ejbRemove(){
              System.out.println("ejbRemove called");
         public void ejbPassivate(){
              System.out.println("ejbPassivate called");
         public void ejbLoad(){
              System.out.println("ejbLoad called");
         public void ejbStore(){
              System.out.println("ejbStore called");
         public void setEntityContext(EntityContext ctx){
              System.out.println("setEntityContext called");
              this.ctx=ctx;
         public void UnsetEntityContext(){
              System.out.println("UnsetEntityContext called");
              this.ctx=null;
         public void ejbPostCreate(String productID,String name,String description,double basePrice){
              System.out.println("ejbPostCreate called");
         public ProductKey ejbCreate(String productID,String name,String description,double basePrice){
              System.out.println("Create method  called");
              setProductID(productID);
              setName(name);
              setDescription(description);
              setBasePrice(basePrice);
              return new ProductKey(productID); // i am not sure which to retun,
              //return null;
                                               //Well just on a note for the above
                                              // I READ THAT CMP2.0 MUST RETURN NULL, BUT IN ED-ROMANS MASTERING
                                              // EJB  IT SAYS THE BEAN MUST RETURN THE PRIMARY KEY CLASS.
                                              // I HAVE TRIED BOTH THE ABOVE RETURN VALUES, STILL I GET THE SAME
                                              / /ERROR.
    HomeInterface
    import java.rmi.RemoteException;
    import java.util.Collection;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    import javax.ejb.FinderException;
    public interface ProductHome extends EJBHome {
         public Product create(String productID,String name,String description,double basePrice)throws CreateException,RemoteException;
         public Product findByPrimaryKey(ProductKey key) throws FinderException,RemoteException;
         public Collection findByName(String name) throws RemoteException,FinderException;
         public Collection findByDescription(String desc) throws RemoteException,FinderException;
         public Collection findByBasePrice(double basePrice) throws RemoteException,FinderException;
         public Collection findByExpensiveProduct(double minPrice ) throws RemoteException,FinderException;
         public Collection findCheapProducts(double maxPrice) throws RemoteException,FinderException;
         public Collection findAllProducts() throws RemoteException,FinderException;
    RemoteInterface
    import java.rmi.RemoteException;
    import javax.ejb.EJBObject;
    public interface Product extends EJBObject {
         public String getName() throws RemoteException;
         public void setName(String name)throws RemoteException;
         public String getDescription() throws RemoteException;
         public void setDescription(String desc) throws RemoteException;
         public double getBasePrice() throws RemoteException;
         public void setBasePrice(double baseprice)throws RemoteException;
         public String getProductID()throws RemoteException;     
    ProductKey class - This is my PRIMARY KEY CLASS
    import java.io.Serializable;
    public class ProductKey implements Serializable{
         public String productID;
         public ProductKey(){          
         public ProductKey(String prodID){
              productID=prodID;
         public String toString(){
              return productID;
         public int hashCode()     {
              return productID.hashCode();
         public boolean equals(Object prod){
              return ((ProductKey)prod).productID.equals(productID);
    This is my ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!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 >
       <description><![CDATA[No Description.]]></description>
       <display-name>Generated by XDoclet</display-name>
       <enterprise-beans>
          <entity>
             <description><![CDATA[]]></description>
             <ejb-name>Product</ejb-name>
             <home>ProductHome</home>
             <local-home>ProductHomeLocal</local-home>
             <remote>Product</remote>
             <local-remote>ProductLocal</local-remote>
             <ejb-class>ProductBean</ejb-class>
               <persistence-type>Bean</persistence-type>
               <prim-key-class>ProductKey</prim-key-class>
               <reentrant>False</reentrant>     
               <cmp-version>2.x</cmp-version>
              <abstract-schema-name>ProductBean</abstract-schema-name>
              <cmp-field> <field-name>productID</field-name></cmp-field>
              <cmp-field> <field-name>name</field-name></cmp-field>
              <cmp-field> <field-name>description</field-name></cmp-field>
              <cmp-field> <field-name>basePrice</field-name></cmp-field>       
               <primkey-field>productID</primkey-field>
            <query>
                 <query-method>
                      <method-name>findByName</method-name>
                           <method-params>
                                <method-param>java.lang.String</method-param>
                           </method-params>
                 </query-method>
                 <ejb-ql>
                           <![CDATA[SELECT OBJECT(a) from ProductBean as a where name=?1]]>
                 </ejb-ql>
            </query>
            <query>
                 <query-method>
                      <method-name>findByBasePrice</method-name>
                           <method-params>
                                <method-param>double</method-param>
                           </method-params>
                 </query-method>
                 <ejb-ql>
                           <![CDATA[SELECT OBJECT(a) from ProductBean as a where basePrice = ?1]]>
                 </ejb-ql>
            </query>
            <query>
                 <query-method>
                      <method-name>findExpensiveProducts</method-name>
                           <method-params>
                                <method-param>double</method-param>
                           </method-params>
                 </query-method>
                 <ejb-ql>
                           <![CDATA[SELECT OBJECT(a) from ProductBean as a where basePrice > ?1]]>
                 </ejb-ql>
            </query>
            <query>
                 <query-method>
                      <method-name>findCheapProducts</method-name>
                           <method-params>
                                <method-param>double</method-param>
                           </method-params>
                 </query-method>
                 <ejb-ql>
                           <![CDATA[SELECT OBJECT(a) from ProductBean as a where basePrice < ?1]]>
                 </ejb-ql>
            </query>
                    <query>
                 <query-method>
                      <method-name>findAllProducts</method-name>
                           <method-params>
                                <method-param>double</method-param>
                           </method-params>
                 </query-method>
                 <ejb-ql>
                           <![CDATA[SELECT OBJECT(a) from ProductBean as a where productID IS NOT NULL]]>
                 </ejb-ql>
            </query>
                 </entity>
          </enterprise-beans>
       </ejb-jar>
    This is my jboss.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
    <jboss>
       <unauthenticated-principal>nobody</unauthenticated-principal>
       <enterprise-beans>
          <entity>
             <ejb-name>Product</ejb-name>
             <jndi-name>ProductHome</jndi-name>
              <local-jndi-name>ProductHomeLocal</local-jndi-name>
          </entity>
       </enterprise-beans>
       <resource-managers>
       </resource-managers>
    </jboss>
    This is my jbosscmp-jdbc.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
    <jbosscmp-jdbc>
       <defaults>
         <datasource>java:/OracleDS</datasource>
         <datasource-mapping>Oracle8</datasource-mapping>
       </defaults>
       <enterprise-beans>
          <entity>
             <ejb-name>Product</ejb-name>
             <table-name>ProductTable</table-name>
             <cmp-field>
                <field-name>productID</field-name>
                <column-name>PRODUCTID</column-name>
            </cmp-field>
             <cmp-field>
                <field-name>name</field-name>
                <column-name>NAME</column-name>
            </cmp-field>
            <cmp-field>
                <field-name>description</field-name>
                <column-name>DESCRIPTION</column-name>
            </cmp-field>
            <cmp-field>
                <field-name>basePrice</field-name>
                <column-name>BASEPRICE</column-name>
            </cmp-field>
          </entity>
       </enterprise-beans>
    </jbosscmp-jdbc>

  • EJB 3.0 deployment on JBoss - No ClassLoaders found

    I have problem deploying a simple EJB 3.0 jar file , it contains an Interface , its Bean and the jboss.xml
    jboss.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <jboss>
    <enterprise-beans>
    <session>
    <ejb-name>ServerDBConnectionBean</ejb-name>
    <management>org.jboss.ejb3.test.service.ServiceSixManagement</management>
    <ejb-class>connection.server.ServerDBConnectionBean</ejb-class>
    <remote>connection.server.ServerDBConnection</remote>
    <jndi-name>ServerDBConnectionBean</jndi-name>
    </session>
    </enterprise-beans>
    </jboss>
    The problem is that when i deploy this jar file in JBoss , it says .........
    12:10:17,988 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=server.jar
    java.lang.ClassNotFoundException: No ClassLoaders found for: connection.server.ServerDBConnectionBean
    at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
    at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
    at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.jboss.ejb3.Ejb3AnnotationHandler.populateBaseInfo(Ejb3AnnotationHandler.java:265)
    at org.jboss.ejb3.Ejb3DescriptorHandler.populateBaseInfo(Ejb3DescriptorHandler.java:202)
    at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:123)
    at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
    at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:397)
    at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:378)
    at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350)
    at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305)
    at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
    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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    at $Proxy0.create(Unknown Source)
    at org.jboss.system.ServiceController.create(ServiceController.java:330)
    at org.jboss.system.ServiceController.create(ServiceController.java:273)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy28.create(Unknown Source)
    at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:429)
    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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
    at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74)
    at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy29.create(Unknown Source)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy8.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    I suppose the problem is with the package , cause when i deploy with single package hirarechy i.e; server.ServerDBConnectionBean , it works .
    Kindly any suggestions

    hi
    I think you ur jboss.xml is wrong.
    Try using like this for EJB3
         <enterprise-beans>
              <session>
                   <ejb-name>XXX</ejb-name>
                   <jndi-name>XXXX</jndi-name>
                   <local-jndi-name>XXXXX</local-jndi-name>
              </session>
         </enterprise-beans>I think <ejb-class> is not supported in jboss.xml..
    Regards
    Srinivas

Maybe you are looking for

  • Can i have 2 ipods on one computer

    i have an 80 gig ipod but its too big for the gym. i bought a 1 gig ipod suffle for the gym. can i have 2 ipods on one computer? do i need to set up 2 different accounts on itunes? how do i go about it? anyone?

  • The dropdown menu in the banner should be behind the text fields.

    Hi Andy, In our Application we have three Menus...The problem we are facing in that when ever we move the cursor, a drop down list will appear.. which is covering the text fields... The dropdown menu in the banner should be behind the text fields. Ca

  • Determining what/who is connected to my airport express/extreme?

    In my old Linksys, there was a config page that let me see the IP addresses and MACs of all current attached devices (both wireless and wired) on my network How do I do t his with an Airport Express (and also an Extreme, if the procedure is different

  • Accessing IRM Web Services with Coldfsuion

    We are looking to use the IRM web services with Coldfusion. Coldfusion abstracts Web Services calls through Java calls to the point of just setting up structures and calling the functions. My question is about the process for building the correct par

  • Esd to be replaced by esound: gnome is being pushed in

    hello everyone, i'm running XFCE on my old trusty AMD 750. Sound is provided by ESD, as advised in the wiki. today i'm offered to replace esd by esound (which i believe is basically the same). if i choose to do so, gnome is being pushed in as depende