CMP Datasource configuration in jboss

Hi every body,
I am running CMP entity bean in jboss server4.2.2GA in netbeans and i am getting the following error.....
[QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:37:26,702 INFO [ConnectionFactoryBindingService] {color:#ff0000}*Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'*{color}
{color:#ff0000}*14:37:26,797 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null*{color}
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access is denied)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
i did some of the modifications in configuration files like login....xml and standardjboss.....xml.
but still it gives the same error message..............
and even it is not taking the jndi given instead it took DefaultDS
please help me in this regard.................
Edited by: sathishsona on Dec 10, 2008 9:27 AM
Edited by: sathishsona on Dec 10, 2008 9:29 AM

Hi every body,
I am running CMP entity bean in jboss server4.2.2GA in netbeans and i am getting the following error.....
[QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:37:26,702 INFO [ConnectionFactoryBindingService] {color:#ff0000}*Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'*{color}
{color:#ff0000}*14:37:26,797 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null*{color}
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access is denied)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
i did some of the modifications in configuration files like login....xml and standardjboss.....xml.
but still it gives the same error message..............
and even it is not taking the jndi given instead it took DefaultDS
please help me in this regard.................
Edited by: sathishsona on Dec 10, 2008 9:27 AM
Edited by: sathishsona on Dec 10, 2008 9:29 AM

Similar Messages

  • MySQL DataSource configuration with JBOSS

    Hi,
    I am using Eclipse with Lomboz and JBOSS as Application Server. I created a CMP Entity Bean and setup my MySQL Database Server including its JDBC Driver. I also configured several files like login-config.xml, standardjbosscmp-jdbc.xml, standardjaws.xml, mysql-service.xml, and
    I got the following error messages when I tried deploying the bean.
    Please help me in resolving this problem so I can continue my study using these tools.
    15:45:09,547 INFO [Server] JBoss (MX MicroKernel) [3.0.7 (CVSTag=JBoss_3_0_7 Date=200304081816)] Started in 0m:47s:418ms
    15:46:34,970 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss/JBoss/server/default/deploy/mybeans.jar
    15:46:36,392 INFO [EjbModule] Creating
    15:46:36,502 INFO [EjbModule] Deploying TestSession
    15:46:36,652 INFO [EjbModule] Created
    15:46:36,662 INFO [EjbModule] Starting
    15:46:37,033 INFO [EjbModule] Started
    15:46:37,033 INFO [MainDeployer] Deployed package: file:/C:/JBoss/JBoss/server/default/deploy/mybeans.jar
    15:47:33,604 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar
    15:47:34,335 INFO [EjbModule] Creating
    15:47:34,395 INFO [EjbModule] Deploying Address
    15:47:35,177 INFO [EjbModule] Created
    15:47:35,177 INFO [EjbModule] Starting
    15:47:41,135 ERROR [MainDeployer] could not start deployment: file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar
    java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
         at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:68)
         at org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:76)
         at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:580)
         at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
         at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>(JDBCCreateBeanClassInstanceCommand.java:52)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:97)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:436)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
         at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
         at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
         at org.jboss.ejb.Container.invoke(Container.java:782)
         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy26.start(Unknown Source)
         at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
         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:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy10.start(Unknown Source)
         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
         at sun.reflect.GeneratedMethodAccessor9.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy3.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
    15:47:41,175 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@b1c4d3ce{ url=file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar, deployedLastModified=0 }
    org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar; - nested throwable: (java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:835)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
         at sun.reflect.GeneratedMethodAccessor9.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy3.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
    Caused by: java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
         at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:68)
         at org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:76)
         at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:580)
         at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
         at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>(JDBCCreateBeanClassInstanceCommand.java:52)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:97)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:436)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
         at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
         at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
         at org.jboss.ejb.Container.invoke(Container.java:782)
         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy26.start(Unknown Source)
         at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
         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:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy10.start(Unknown Source)
         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
         ... 15 more
    //==================end of Error message ========================?
    This is how I configured mysql-service.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- ===================================================================== -->
    <!-- -->
    <!-- JBoss Server Configuration -->
    <!-- -->
    <!-- ===================================================================== -->
    <server>
    <!-- ==================================================================== -->
    <!-- New ConnectionManager setup for mysql using 2.0.11 driver -->
    <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
    <!-- ==================================================================== -->
    <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"
         name="jboss.jca:service=LocalTxCM,name=MySqlDS">
    <!-- //ABD: 05.22.2003 => Commented.
         Include a login module configuration named MySqlDbRealm.
    Update your login-conf.xml, here is an example for a
    ConfiguredIdentityLoginModule:
    <application-policy name = "MySqlDbRealm">
    <authentication>
    <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
    <module-option name = "principal">root</module-option>
    <module-option name = "userName">root</module-option>
    <module-option name = "password"></module-option>
    <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=MySqlDS</module-option>
    </login-module>
    </authentication>
    </application-policy>
    -->
    <!-- //ABD: Commented.
    NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
    module-option name = "managedConnectionFactoryName"
    must match the object name of the ConnectionManager you are configuring here.
    -->
    <!-- ABD: Uncommented. uncomment out this line if you are using the MySqlDbRealm above -->
    <attribute name="SecurityDomainJndiName">MySqlDbRealm</attribute>
    <depends optional-attribute-name="ManagedConnectionFactoryName">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.RARDeployment"
         name="jboss.jca:service=LocalTxDS,name=MySqlDS">
    <attribute name="JndiName">MySqlDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost:3306/test</config-property>
    <config-property name="DriverClass" type="java.lang.String">com.mysql.jdbc.Driver</config-property>
    <!--set these only if you want only default logins, not through JAAS -->
    <config-property name="UserName" type="java.lang.String">root</config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    <!--Below here are advanced properties -->
    <!--hack-->
    <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
    </mbean>
    </depends>
    <depends optional-attribute-name="ManagedConnectionPool">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
    name="jboss.jca:service=LocalTxPool,name=MySqlDS">
    <attribute name="MinSize">0</attribute>
    <attribute name="MaxSize">50</attribute>
    <attribute name="BlockingTimeoutMillis">5000</attribute>
    <attribute name="IdleTimeoutMinutes">15</attribute>
    <!--criteria indicates if Subject (from security domain) or app supplied
    parameters (such as from getConnection(user, pw)) are used to distinguish
    connections in the pool. Choices are
    ByContainerAndApplication (use both),
    ByContainer (use Subject),
    ByApplication (use app supplied params only),
    ByNothing (all connections are equivalent, usually if adapter supports
    reauthentication)-->
    <attribute name="Criteria">ByContainer</attribute>
    </mbean>
    </depends>
    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
    <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
    <attribute name="TransactionManager">java:/TransactionManager</attribute>
    <!--make the rar deploy! hack till better deployment-->
    <depends>jboss.jca:service=RARDeployer</depends>
    </mbean>
    </server>

    Did you compile your bean with the same JDK which is used for JBoss ?

  • Datasource connection with jboss, need help

    Hi friends,
    I am doing data source connection through Jboss (jboss-4.0.2) with mysql database. I am using java(j2sdk1.4.2_04). I have made all changes given in this link -- http://community.jboss.org/wiki/SetUpAMysqlDatasource
    After making changes I restart jboss properly, but when I am going to attempt to connection through class. it give following error.
    1.ERROR! Shared library ioser12 could not be found.
    Can't find SerialContextProvider
    When a create a diffrent new class, then give me this error.
    2. ERROR! Shared library ioser12 could not be found.
    Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProvider
    Kindly help me out for this problem.
    Thanks
    Abhishek Jain

    user13428037 wrote:
    ,,, JBoss ... give following error.
    1.ERROR! Shared library ioser12 could not be found.
    Can't find SerialContextProvider
    When a create a diffrent new class, then give me this error.
    2. ERROR! Shared library ioser12 could not be found.
    Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProviderPlease don't crosspost http://www.javaprogrammingforums.com/jdbc-databases/6353-datsource-connection-mysql-need-help.html#post22533
    The
    ERROR! Shared library ioser12 could not be found.error message has nothing to do with you adding a datasource.
    It would happen even before you made the datasource configuration changes.
    Looks like you added a j2ee.jar to the JBoss classpath.

  • Error: Datasource Configuration under planning

    After Successful configuration of
    1) Foundation Services (Hyperion Shared Services)
    2) Essbase administration services
    3) Essbase Server
    4) Hyperion reporting and analysis
    5) Planning -----> Product options, Register with shared services, configure database, deploy to application server (Appache), Product Instance registration.
    I stuck with Datasource Configuration under planning-
    Steps in details---
    cheked on data source configuration and click next
    check create datasource and click next
    datasource name : essdb (my choice)
    datasource Discription : essbase DB (my choice) click next
    select my instance name : plan (from drop down menu) click next
    Select Database : MS SQL server click next
    Database type: SQL
    Port: 1433 (Default)
    Database Details:
    Product: planning
    database : p2DB (new DB, SQL)
    user: p2user (new user, SQL)
    password: ***
    click next
    Essbase server information:
    Sever : my machine name (neeraj-pc)
    user : planning (created new essbase user, external)
    password : ******
    Click next
    Error:
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Kindly suggest steps to cofg correctly

    details of configtool_err (Hyperion-> Logs--> Config)
    (Dec 05, 2008, 06:03:22 AM), com.hyperion.planning.HspDSRdbPanelManager, ERROR, Relational Database Connection Failed:= :[Hyperion][SQLServer JDBC Driver][SQLServer]Login failed for user 'p2user'.
    (Dec 05, 2008, 06:15:12 AM), com.hyperion.planning.HspDSRdbPanelManager, ERROR, Relational Database Connection Failed:= :[Hyperion][SQLServer JDBC Driver]Error establishing socket to host and port: 220.226.46.164:1433. Reason: Network is unreachable: connect
    (Dec 05, 2008, 10:10:06 AM), com.hyperion.planning.HspDSRdbPanelManager, ERROR, Relational Database Connection Failed:= :[Hyperion][SQLServer JDBC Driver][SQLServer]Login failed for user 'p2user'.
    Regards
    Kumar N

  • CR for Enterprise 4.0: Unable to retrieve the datasource configuration

    Hello Experts, I have the following issue with CR for Enterprise: I can successfully connect to our BI server, but when I select a universe I would like to build a report on, I receive the following error message about the validity of my data source: "Unable to retrieve the datasource configuration: com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN minor code: 0x0 completed: No". The universe I am trying to connect to is based on a relational connection and was built using the IDT 4.0 SP 1.
    Thanks a lot for any guidance on how this could be resolved.
    Sergey

    Hi Surgey,
    Well that is very strange! Is Crystal Reports for Enterprise installed on the server machine or on the local workstation?
    If we are using Crystal Reports for Enterprise which is installed on a sperate workstation, try installing it on the server machine and then try to connect to universe.
    - Kuldeep G

  • BC4J and JNDI DataSource Configuration

    Hi,
    I need help in making the BC4J use a DataSource for creating connections. Could you anyone tell me step by step instructions to do it?
    I have created a Database Connection using JDBC for creating a BC4J App Module, View Objects etc.
    Then I created a Business Component Package by using the wizard. Everything worked fine till now. But I was to use a connection pool that is created in my App Server which happens to be a WebLogic 7.0 App Server. I have created a JDBCConnection pool and a JDBCDataSource in the App Server. The configuration for it is as follows in the weblogic configuration file.
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    MaxCapacity="5" Name="OracleConnectionPool"
    Password="{3DES}n51DlVgPmmQ="
    Properties="user=empac;dll=ocijdbc9;protocol=oci"
    Targets="myserver" URL="jdbc:oracle:oci:@DB921C"/>
    <JDBCDataSource JNDIName="OCIDataSource" Name="OCIDataSource"
    PoolName="OracleConnectionPool" Targets="myserver"/>
    I wanted to edit the "Configurations" to specify the JDBC DataSource. When I saved the configuration for the App Module this is how my bc4j.xcfg looks.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="BuyerModuleLocal">
    <java.naming.security.principal>system</java.naming.security.principal>
    <DeployPlatform>LOCAL</DeployPlatform>
    <jbo.TypeMapEntries>Java</jbo.TypeMapEntries>
    <JDBCDataSource>OCIDataSource</JDBCDataSource>
    <jbo.project>BC4JTry</jbo.project>
    <AppModuleJndiName>com.explore.bc4j.BuyerModule</AppModuleJndiName>
    <ApplicationName>com.explore.bc4j.BuyerModule</ApplicationName>
    <java.naming.security.credentials>security</java.naming.security.credentials>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <ConnectionDefinition name="DB921C">
    <ENTRY name="JDBC_PORT" value="1521"/>
    <ENTRY name="ConnectionType" value="JDBC"/>
    <ENTRY name="HOSTNAME" value="joshua"/>
    <ENTRY name="user" value="empac"/>
    <ENTRY name="ConnectionName" value="DB921C"/>
    <ENTRY name="SID" value="DB921C"/>
    <ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
    <ENTRY name="password" value="empac"/>
    <ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
    <ENTRY name="DeployPassword" value="true"/>
    </ConnectionDefinition>
    </BC4JConfig>
    When I tried to run a testClient which uses the App Module it is failing giving me an exception saying could not lookup for the DataSource. In one of the detailed error messages, I got this error.
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    I checked the "Configurations" window and it was having
    "oracle.jbo.common.JboInitialContextFactory" for the property "java.naming.factory.initial".
    Could anyone tell me how to solve this issue. I did read the BC4J & JNDI Datasource configuration thread in the same forum and unfortunately that did not help.
    Krish

    What does you test client code look like and can you give us the complete stack trace.
    Dhiraj

  • Datasource configuration error

    Hi,
    I unable to configure the planning datasource. Let me explain the complete scenario.
    Already I have created a datasource (SID:TEST, Port:1571) and created an aplication and everything is working fine. Now client changed the SID(Test1) and Port No(1551) for the schema. I have exported the schema and imported to new SID. When I am trying to change the connection for existing datasource by editing to new SID and port no, it is giving an error "Data Source configuration failed". Below are the configtool log entries.
    (Nov 26, 2009, 11:42:05 AM), com.hyperion.planning.HspDBConfigurator, DEBUG, Registeration failed: null.Registeration failed: null.
    (Nov 26, 2009, 11:42:05 AM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    com.hyperion.cis.config.ProcessingException
         at com.hyperion.planning.HspDBConfigurator.configure(HspDBConfigurator.java:222)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeDBConfigTask(RunAllTasksWizardAction.java:282)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:151)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source).
    I am getting the same error for other products also i.e. EAS, Planning and Reporting. But shared services configured successfully and working fine.
    Please help.....
    Thanks,
    Naveen Suram
    Edited by: Naveen Suram on Nov 26, 2009 3:21 PM
    During the configuration, I have selected the option "Reuse the existing database" instead of "Drop and Create new database" as I already imported the tables to new schema.

    I am trying to reconfigure Planning and Data Source Configuration. Here it is giving "Database Configuration Failed" for Planning database configuration and "Datasource Configuration Failed" for datasource configuration.
    But i checked all .properties files and DB tables....all are pointing to new database only.
    It is necessary to go reconfiguration or without that one will it work fine?
    Thanks,
    Naveen Suram

  • How to deploy jheadstart and configure on jboss

    i had followed jhs step by step tutorial use jdeveloper and then i deploy to jboss at jboss-4.0.4.GA/server/default/deploy become war file. i really confuse about configure in jboss application server. what step that i do for running jhs web on jboss is true?
    if all configuration had finished, how i call url address?
    please help me for find the resolve. This is about jboss and jheadstart.
    than'ks

    JHeadstart applications are just plain ADF applications, so deployment to JBoss is not different.
    <br>
    You can find the deployment steps in JDeveloper Help. Go to Help --> Search and search for JBoss deployment.
    <br>
    The URL to be used is constructed as follows:
    http://<jboss-machine>:<jboss-port>/<project-contect-root>/<homepage>

  • How to i configure multiple JBoss caches for standard lone application

    how to i configure multiple JBoss caches for standard long application running on single JVM..Please advice and provide me sample code if any..
    Thanks
    NAgs

    [http://www.jboss.org]
    Locking this thread.

  • Changing DataSource Configuration using ConfigTool - Help Needed.

    Hello Everyones,
    I have an EP 7 which I have installed on a WAS ABAP + JAVA. The Data Soruce configuraion is in dataSourceConfiguration_abap.xml because of this I cannot create any new users in the Portal, can someone tell me how I can change this Config file using the ConfigTool and what procedure is to be used.
    Thanks for your help,
    John.
    Message was edited by: John Bray

    See Changing DataSource Configuration using ConfigTool - Help Needed.

  • Oracle DataSource configuration on  JBoss3.x

    Hello,
    Can any1 plz help me in configuring Oracle 9i DataSource with JBoss 3.x?? I know JBoss 3.x comes with Hypersonic DB as a default DataBase.
    I downloaded ejb examples from http://www.titan-books.com. This site contain examples from O'Reilly's Enterprise JavaBeans, Third Edition by Richard Monson-Haefel's book.Examples are server specific and its available for few application servers (e.g Weblogic, WebSphere,JBoss etc).I am able to deploy and run the example EJBs. It automatically creates tables in the DB. Its using default DB ie Hypersonic DataBase.
    Now I want to see the database and different tables within that DB.How can i do that.Like i can see different tables in Oracle DB using SQLPlus and they can be quried too. I want something very similar for Hypersonic DataBase too. How can i do that?????
    Well my second prob is, I want to configure oracle datasource and pool in JBoss 3.x Application server. How do i do that?? Lemme tell u what all I have done so far. I have copied oracle-service.xml file in D:\Jboss-3.0.3\server\default\deploy directory. changed the file according to my database's SID and pswd. Following is the oracle-service.xml file after modification. I restarted my application server.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- ===================================================================== -->
    <!-- -->
    <!-- JBoss Server Configuration -->
    <!-- -->
    <!-- ===================================================================== -->
    <server>
    <!-- ==================================================================== -->
    <!-- ConnectionManager setup for Oracle dbs -->
    <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
    <!-- Thanks to Steven Coy -->
    <!-- ==================================================================== -->
    <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=OracleDS">
    <!-- Include a login module configuration named OracleDbRealm.
    Update your login-conf.xml, here is an example for a
    ConfiguredIdentityLoginModule:
    <application-policy name = "OracleDbRealm">
    <authentication>
    <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
    <module-option name = "principal">yourprincipal</module-option>
    <module-option name = "userName">yourusername</module-option>
    <module-option name = "password">yourpassword</module-option>
    <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=OracleDS</module-option>
    </login-module>
    </authentication>
    </application-policy>
    NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
    module-option name = "managedConnectionFactoryName"
    must match the object name of the ConnectionManager you are configuring here.
    -->
    <!--uncomment out this line if you are using the OracleDbRealm above
    <attribute name="SecurityDomainJndiName">OracleDbRealm</attribute>
    -->
    <depends optional-attribute-name="ManagedConnectionFactoryName">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=OracleDS">
    <attribute name="JndiName">OracleDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@localhost:1521:jam</config-property>
    <config-property name="DriverClass" type="java.lang.String">oracle.jdbc.driver.OracleDriver</config-property>
    <!--set these only if you want only default logins, not through JAAS -->
    <config-property name="UserName" type="java.lang.String"></config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    <!--Below here are advanced properties -->
    <!--hack-->
    <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
    </mbean>
    </depends>
    <depends optional-attribute-name="ManagedConnectionPool">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=LocalTxPool,name=OracleDS">
    <attribute name="MinSize">0</attribute>
    <attribute name="MaxSize">50</attribute>
    <attribute name="BlockingTimeoutMillis">5000</attribute>
    <attribute name="IdleTimeoutMinutes">15</attribute>
    <!--criteria indicates if Subject (from security domain) or app supplied
    parameters (such as from getConnection(user, pw)) are used to distinguish
    connections in the pool. Choices are
    ByContainerAndApplication (use both),
    ByContainer (use Subject),
    ByApplication (use app supplied params only),
    ByNothing (all connections are equivalent, usually if adapter supports
    reauthentication)-->
    <attribute name="Criteria">ByContainer</attribute>
    </mbean>
    </depends>
    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
    <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
    <attribute name="TransactionManager">java:/TransactionManager</attribute>
    <!--make the rar deploy! hack till better deployment-->
    <depends>jboss.jca:service=RARDeployer</depends>
    </mbean>
    </server>
    Even after restarting my server i m getting errors like....
    15:14:40,537 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN
    ame=CustomerHomeRemote,service=EJB
    org.jboss.deployment.DeploymentException: Error: can't find data source: java:/O
    racleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not b
    ound)
    at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt
    ityBridge.java:99)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC
    StoreManager.java:397)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
    r.java:339)
    at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
    er.java:198)
    at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
    at org.jboss.ejb.Container.invoke(Container.java:756)
    at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy5.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy25.start(Unknown Source)
    at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
    64)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:976)
    at $Proxy5.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy11.start(Unknown Source)
    at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:394)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:427)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:553)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    loop(AbstractDeploymentScanner.java:225)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    run(AbstractDeploymentScanner.java:202)
    Caused by: javax.naming.NameNotFoundException: OracleDS not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:456)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt
    ityBridge.java:96)
    ... 51 more
    15:14:41,398 INFO [EjbModule] Started
    15:14:41,408 INFO [MainDeployer] Deployed package: file:/D:/Softwares/Jboss-3.0
    .3/server/default/deploy/titan.jar
    15:14:41,428 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
    ration 'checkIncompleteDeployments()'
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@4e8000b0 { url=file:/D:/Softwares/Jboss-3.0
    .3/server/default/deploy/oracle-service.xml }
    deployer: org.jboss.deployment.SARDeployer@482923
    status: Deployment FAILED reason: Trying to install an already registered mbea
    n: jboss.jca:service=LocalTxCM,name=OracleDS
    state: FAILED
    watch: file:/D:/Softwares/Jboss-3.0.3/server/default/deploy/oracle-service.xml
    lastDeployed: 1044524015691
    lastModified: 1044524016000
    mbeans:
    ]MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=CustomerHomeRemote,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data
    source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException
    : OracleDS not bound)]
    16:44:04,450 INFO [EJBDeployer] Creating
    16:44:04,490 INFO [EJBDeployer] Created
    16:47:16,767 INFO [jbossweb] Registered jboss.web:Jetty=0,HttpContext=0,context
    =/
    16:47:17,227 INFO [jbossweb] Started HttpContext[]
    Can any one tell me what else i need to do to make it running. Do i need to make some other changes in some file??
    Tx in advance
    Jameel

    I have done all of the above suggested, however, i still getting an error, not sure where the problem lies now.
    Could anyone help please.
    The following is just part of what's being printed hwen starting using run.sh.
    at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:389)
    at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:368)
    at org.jboss.naming.Util.rebind(Util.java:108)
    at org.jboss.naming.Util.rebind(Util.java:95)
    at org.jboss.proxy.ejb.ProxyFactory.rebindHomeProxy(ProxyFactory.java:350)
    at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:337)
    at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
    at org.jboss.ejb.StatelessSessionContainer.start(StatelessSessionContainer.java:206)
    at org.jboss.ejb.Container.invoke(Container.java:756)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy4.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy16.start(Unknown Source)
    at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy4.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy10.start(Unknown Source)
    at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy3.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
    ploymentScanner.java:656)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:507)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
    bstractDeploymentScanner.java:261)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:413)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy2.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:230)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
    at org.jboss.Main.boot(Main.java:148)
    at org.jboss.Main$1.run(Main.java:381)
    at java.lang.Thread.run(Thread.java:484)
    17:52:02,911 INFO [EjbModule] Started
    17:52:02,911 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-ejb-adaptor.jar
    17:52:02,911 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/
    17:52:03,001 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@10832e
    17:52:03,001 INFO [JBossWebApplicationContext] setDistributableSessionManager org.mortbay.j2ee.session.Manager@5e538e
    17:52:03,252 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=1,context=/jmx-console
    17:52:04,323 INFO [jbossweb] Started WebApplicationContext[jmx-console,file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/]
    17:52:04,394 INFO [jbossweb] successfully deployed file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/ to /jmx-console
    17:52:04,394 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/server/default/deploy/jmx-console.war/
    17:52:04,404 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
    Cause: Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jb
    oss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested ex
    ception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested excep
    tion is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:s
    ervice=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    17:52:04,424 INFO [URLDeploymentScanner] Started
    17:52:04,424 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.0.6/s
    erver/default/conf/jboss-service.xml
    17:52:04,424 ERROR [Server] start failed
    Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jb
    oss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception
    is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchOb
    jectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1134)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
    at org.jboss.Main.boot(Main.java:148)
    at org.jboss.Main$1.run(Main.java:381)
    at java.lang.Thread.run(Thread.java:484)
    17:52:04,444 ERROR [STDERR] Incomplete Deployment listing:
    Packages waiting for a deployer:
    <none>
    Incompletely deployed packages:
    <none>
    MBeans waiting for classes:
    <none>
    MBeans waiting for other MBeans:
    [ObjectName: jboss:service=Webserver
    state: FAILED
    I Depend On:
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
            java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
            java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
    state: FAILED
    I Depend On:   jboss.mq:service=Invoker
    Depends On Me: java.net.BindException: Address in use: JVM_Bind, ObjectName: jboss.jca:service=LocalTxCM,name=OracleDS
    state: CONFIGURED
    I Depend On:   jboss.jca:service=LocalTxDS,name=OracleDS
      jboss.jca:service=LocalTxPool,name=OracleDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer
    Depends On Me: , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
            javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb
    /Adaptor,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is:
    javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]]
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.checkIncomp
    leteDeployments(MainDeployer.java:1134)
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
    Deployer.java:594)
    17:52:04,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
    Deployer.java:575)
    17:52:04,444 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
    17:52:04,444 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
    her.invoke(ReflectedMBeanDispatcher.java:284)
    17:52:04,444 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
    eanServerImpl.java:517)
    17:52:04,444 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
    rverImpl.java:325)
    17:52:04,444 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
    erImpl.java:222)
    17:52:04,444 ERROR [STDERR] at org.jboss.Main.boot(Main.java:148)
    17:52:04,454 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:381)
    17:52:04,454 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484)

  • CMP Entity EJBeans  with jboss 4

    I m using jboss as an application server and i created a CMP Entity bean but when i search using findbyprimary key method of the bean, it never shows the records that i inserted in the DB manually. If i create the bean using create method, it successfully creates the entity in the DB but when i open the DB, there are no such element added in the DB.
    I tried to solve the problem by restarting the server but in vain. I know the problem which is i guess that EJB creates tables automatically and we have to set that configurational property to false. I did that in standardjbosscmp-jdbc.xml file which was located in root/server/default/conf folder. but the problem is still persisting.
    Please guide me if i m doing anything wrong.
    Regards.
    Hammad

    OK. I took that the other way.But i still think that there is nothing with the configuration files. as they are working well. I am able to create a bean and i can find that bean using finder methods but the problem is that there is no entry in the DB. and only those records are retrievable who are inserted by the bean. If i insert any record in the DB manually, Bean is not able to find it for me.here is my config file. :)
    directory is = \server\default\conf
    filename is = standardjbosscmp-jdbc.xml
    <jbosscmp-jdbc>
    <defaults>
    <datasource>java:/DefaultDS</datasource>
    <!-- optional since 4.0 <datasource-mapping>Hypersonic SQL</datasource-mapping> -->
    <create-table>false</create-table>
    <remove-table>false</remove-table>
    <read-only>false</read-only>
    <read-time-out>300000</read-time-out>
    <row-locking>false</row-locking>
    I ve only changed the <create-table>false</create-table>
    from the default value which was true as suggested by someone but did nt work!
    do let me know if anyone wana know about anyother configuration resource....i think this is the most relevant entry. rest jboss.xml and ejb-jar.xml or jaws.xml does nt contain any information regarding this issue i hope.
    Waiting anxiously!

  • Help: Deploying CMP Entity Bean on Jboss (DB2)

    Hi, I have a problem which I have tried to solve for a couple of days now with now success.
    I have deployed an ordinary Entity CMP Bean which name is Customer.
    This bean has 2 fields, an id field and a customername field.
    I use DB2 where the table is named customer and the fields are named as the fields in the bean, id and customername.
    I have configured the db2-ds.xml file as follows, and put it in %jboss%\server\default\deploy:
    <local-tx-datasource>
    <jndi-name>DB2DS</jndi-name>
    <connection-url>jdbc:db2://192.168.10.220:6789/business</connection-url>
    <driver-class>COM.ibm.db2.jdbc.net.DB2Driver</driver-class>
    <user-name>db2admin</user-name>
    fuck4future
    <min-pool-size>5</min-pool-size>
    <max-pool-size>25</max-pool-size>
    <!-- sql to call when connection is created
    <new-connection-sql>some arbitrary sql</new-connection-sql>
    -->
    <!-- sql to call on an existing pooled connection when it is obtained from pool
    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
    -->
    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
    <type-mapping>DB2</type-mapping>
    </local-tx-datasource>
    I have created the jbosscmp-jdbc.xml file and put it in the META-INF directory in my ejb-application:
    <jbosscmp-jdbc>
    DB2DS
    <!--<datasource-mapping>DB2</datasource-mapping>-->
    <create-table>false</create-table>
    <enterprise-beans>
    <ejb-name>Customer</ejb-name>
    <table-name>customers</table-name>
    <cmp-field>
    <field-name>id</field-name>
    <column-name>id</column-name>
    </cmp-field>
    <cmp-field>
    <field-name>companyname</field-name>
    <column-name>companyname</column-name>
    </cmp-field>
    </enterprise-beans>
    </jbosscmp-jdbc>
    I have created the standardjaws.xml also in my META-INF directory of the ejb application. This file contains a lot of information (type-mappings), and starts with:
    java:/DB2DS
    <type-mapping>DB2</type-mapping>
    false
    I have the ejb-jar.xml file automaticly generated for me in my developer tool (WSAD).
    When I try to start my server I get the following error:
    ObjectName: jboss.j2ee:jndiName=Customer,service=EJB
    state: FAILED
    Depends On Me: org.jboss.deployment.DeploymentException: type-mapping is not initialized: DB2DS was not deployed or type-mapping was not configured.
    ObjectName: jboss.j2ee:service=EJB,plugin=pool,jndiName=Customer
    etc.......
    Please can someone help me and give me a clue, what am I doing wrong??

    And this is my console :
    ===============================================================================
    JBoss Bootstrap Environment
    JBOSS_HOME: c:\jboss4\bin\\..
    JAVA: c:\program\java\jdk1.5.0_01\bin\java
    JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
    CLASSPATH: c:\program\java\jdk1.5.0_01\lib\tools.jar;c:\jboss4\bin\\run.jar
    ===============================================================================
    22:36:01,986 INFO [Server] Starting JBoss (MX MicroKernel)...
    22:36:01,986 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
    22:36:01,986 INFO [Server] Home Dir: C:\jboss4
    22:36:01,986 INFO [Server] Home URL: file:/C:/jboss4/
    22:36:01,996 INFO [Server] Library URL: file:/C:/jboss4/lib/
    22:36:01,996 INFO [Server] Patch URL: null
    22:36:01,996 INFO [Server] Server Name: default
    22:36:01,996 INFO [Server] Server Home Dir: C:\jboss4\server\default
    22:36:01,996 INFO [Server] Server Home URL: file:/C:/jboss4/server/default/
    22:36:01,996 INFO [Server] Server Data Dir: C:\jboss4\server\default\data
    22:36:01,996 INFO [Server] Server Temp Dir: C:\jboss4\server\default\tmp
    22:36:02,006 INFO [Server] Server Config URL: file:/C:/jboss4/server/default/conf/
    22:36:02,006 INFO [Server] Server Library URL: file:/C:/jboss4/server/default/lib/
    22:36:02,006 INFO [Server] Root Deployment Filename: jboss-service.xml
    22:36:02,006 INFO [Server] Starting General Purpose Architecture (GPA)...
    22:36:02,336 INFO [ServerInfo] Java version: 1.5.0_01,Sun Microsystems Inc.
    22:36:02,336 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_01-b08,Sun Microsystems Inc.
    22:36:02,336 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    22:36:02,827 INFO [Server] Core system initialized
    22:36:04,289 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    22:36:04,379 INFO [WebService] Using RMI server codebase: http://CYONARA:8083/
    22:36:04,549 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
    22:36:08,625 INFO [Embedded] Catalina naming disabled
    22:36:09,246 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    22:36:09,276 INFO [Catalina] Initialization processed in 571 ms
    22:36:09,276 INFO [StandardService] Starting service jboss.web
    22:36:09,286 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
    22:36:09,306 INFO [StandardHost] XML validation disabled
    22:36:09,336 INFO [Catalina] Server startup in 60 ms
    22:36:09,476 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jboss4/server/default/deploy/http-invoker.sar/invoker.war/
    22:36:10,187 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jboss4/server/default/tmp/deploy/tmp43675jboss-ws4ee-exp.war/
    22:36:10,318 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss4/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
    22:36:10,508 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/jboss4/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    22:36:12,741 INFO [MailService] Mail Service bound to java:/Mail
    22:36:13,272 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss4/server/default/deploy/jboss-local-jdbc.rar
    22:36:13,412 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss4/server/default/deploy/jboss-xa-jdbc.rar
    22:36:13,552 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss4/server/default/deploy/jms/jms-ra.rar
    22:36:13,732 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss4/server/default/deploy/mail-ra.rar
    22:36:14,153 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DB2DS to JNDI name 'java:DB2DS'
    22:36:14,834 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
    22:36:14,864 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
    22:36:15,145 INFO [A] Bound to JNDI name: queue/A
    22:36:15,145 INFO Bound to JNDI name: queue/B
    22:36:15,155 INFO [C] Bound to JNDI name: queue/C
    22:36:15,155 INFO [D] Bound to JNDI name: queue/D
    22:36:15,155 INFO [ex] Bound to JNDI name: queue/ex
    22:36:15,175 INFO [testTopic] Bound to JNDI name: topic/testTopic
    22:36:15,175 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    22:36:15,185 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    22:36:15,185 INFO [testQueue] Bound to JNDI name: queue/testQueue
    22:36:15,235 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    22:36:15,275 INFO [DLQ] Bound to JNDI name: queue/DLQ
    22:36:15,795 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
    22:36:15,835 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss4/server/default/deploy/jmx-console.war/
    22:36:15,996 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss4/server/default/deploy/management/web-console.war/
    22:36:16,526 INFO [EARDeployer] Init J2EE application: file:/C:/jboss4/server/default/deploy/HTC.ear
    22:36:16,787 INFO [EjbModule] Deploying Customer
    22:36:17,047 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=Customer,service=EJB
    org.jboss.deployment.DeploymentException: type-mapping is not initialized: java:/DB2DS was not deployed or type-mapping was not configured.
         at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.getTypeMapping(JDBCEntityMetaData.java:1071)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:412)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
         at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
         at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor9.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy47.start(Unknown Source)
         at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor9.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy22.start(Unknown Source)
         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:605)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor47.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         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:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor9.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
         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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         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:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
         at org.jboss.Main.boot(Main.java:162)
         at org.jboss.Main$1.run(Main.java:423)
         at java.lang.Thread.run(Thread.java:595)
    22:36:17,047 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=Customer,service=EJB
    org.jboss.deployment.DeploymentException: type-mapping is not initialized: java:/DB2DS was not deployed or type-mapping was not configured.
         at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.getTypeMapping(JDBCEntityMetaData.java:1071)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:412)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
         at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
         at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor9.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy47.start(Unknown Source)
         at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor9.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy22.start(Unknown Source)
         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:605)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor47.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         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:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:416)
         at sun.reflect.GeneratedMethodAccessor9.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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
         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:144)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
         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:642)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
         at org.jboss.Main.boot(Main.java:162)
         at org.jboss.Main$1.run(Main.java:423)
         at java.lang.Thread.run(Thread.java:595)
    22:36:17,057 INFO [EJBDeployer] Deployed: file:/C:/jboss4/server/default/tmp/deploy/tmp43727HTC.ear-contents/HTC_BM_EJB.jar
    22:36:17,107 INFO [TomcatDeployer] deploy, ctxPath=/HTC BM Web, warUrl=file:/C:/jboss4/server/default/tmp/deploy/tmp43727HTC.ear-contents/HTC_BM_Web-exp.war/
    22:36:17,228 INFO [EARDeployer] Started J2EE application: file:/C:/jboss4/server/default/deploy/HTC.ear
    22:36:17,238 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    MBeans waiting for other MBeans:
    ObjectName: jboss.j2ee:jndiName=Customer,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: org.jboss.deployment.DeploymentException: type-mapping is not initialized: java:/DB2DS was not deployed or type-mapping was not configured.
    ObjectName: jboss.j2ee:service=EJB,plugin=pool,jndiName=Customer
    state: CREATED
    I Depend On:
    Depends On Me:
    MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
    ObjectName: jboss.j2ee:service=EJB,plugin=pool,jndiName=Customer
    state: CREATED
    I Depend On:
    Depends On Me:
    ObjectName: jboss.j2ee:jndiName=Customer,service=EJB
    state: FAILED
    I Depend On:
    Depends On Me: org.jboss.deployment.DeploymentException: type-mapping is not initialized: java:/DB2DS was not deployed or type-mapping was not configured.

  • EJB 3 CMP not working in JBoss

    hi,
    i created a simple CMP Entity Bean with mySQL and works fine with OC4J but when delpoy to JBoss 4.0.4RC1, it doesn't work.
    What I realised is that when a JDeveloper create a CMP Entity Bean from a Table it uses @Resource annotaion while I saw all the JBoss samples using @Persistance annotation.
    I changed my CMP to use @persistence annotation and created a persistence.xml file; for somereason it is not working neither in JBoss nor does it work in OC4J.
    Now, if i continue using @Resource annotation, where can I set the datasource so that the @Resource annotation uses my datasource when I deploy it to JBoss?
    or is there any other way to get it working?
    p/s: my datasource is working fine. i created a simple slsb and used
    DataSource ds =
    (DataSource)context.lookup(
    "java:jdbc/mysqlDS");
    and it works fine both in OC4J and JBoss
    any help is appreciated.
    thanks

    Ok, i got this working in JBoss.
    1) Replaced @Resource annotation with @Peristence annotation
    @PersistenceContext(unitName="mysql")
    2) Created persistence.xml in META-INF directory
    <persistence>
    <persistence-unit name="mysql">
    <jta-data-source>java:/jdbc/mysqlDS</jta-data-source>
    <!-- <properties>
    <property name="hibernate.hbm2ddl.auto"
    value="create-drop"/>
    </properties> -->
    </persistence-unit>
    </persistence>
    that is it.
    It means that whether we create EJB 3 on toplink EJB 3 or hibernate EJB 3, we should be able to run it on any of these as long as we stick with the standard annotations. JBoss Hibernate EJB has many additional annotations.
    Now, the only thing that is not working is my Firebird DataSource in JBoss. If anyone has done it please let me know .. thanks.

  • Oracle datasource lookup in JBOSS application server

    Hi friends
    i have the below problem while configuring the datasource in JBOSS for oracle pls any body can help me out..........
    i just want to create a data source for oracle in JBOSS 3.2.5 application server and i want to access that datasource from my session bean while accessing it cant finding the JNDI name of the datasource my oracle-ds.xml code is like as below
    <local-tx-datasources>
    <jndi-name>java:OracleDS</jndi-name>
    <use-java-context>false</use-java-context>
    <connection-url>jdbc:oracle:thin:@localhost:1521:EPS</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>system</user-name>
    manager
    </local-tx-datasources> my session bean method is like as below
    public void businessMethod1(){
    try{
    javax.naming.Context ctx = new javax.naming.InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("OracleDS");
    java.sql.Connection con = ds.getConnection();
    java.sql.PreparedStatement ps = con.prepareStatement("select * from employee");
    java.sql.ResultSet rs = ps.executeQuery();
    while(rs.next()){
    System.out.println("Employee ID "+rs.getInt("empid")+"Employee Name "+rs.getString("ename")+"Employee Designation "+rs.getString("designation"));
    }catch(Exception e){
    e.printStackTrace();
    } but the error i am getting wasl like as below
    14:14:14,039 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    14:14:14,164 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
    14:14:14,164 INFO [JkMain] Jk running ID=0 time=0/47 config=null
    14:15:00,883 INFO [STDOUT] javax.naming.NameNotFoundException: OracleDS not bound
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    14:15:00,883 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
    14:15:00,883 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
    14:15:00,883 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:347)
    14:15:00,883 INFO [STDOUT] at com.ness.training.ejb.FirstSessionBean.businessMethod1(FirstSessionBean.java:13)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.j
    ava:683)
    14:15:00,883 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterce
    ptor.java:185)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterc
    eptor.java:72)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:1
    22)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:723)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    14:15:00,883 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
    14:15:00,883 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148)
    14:15:00,883 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    14:15:00,883 INFO [STDOUT] at java.lang.Thread.run(Thread.java:536)

    make the changes like this.
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("java:/OracleDS");
    Regards
    vanan

Maybe you are looking for