Hello, I`m trying to deploy a simple EJB 3.0 application on Jboss 4.2.0GA. Until now everything worked fine. Now i added an Entity bean to the project. This bean uses hiberate to connect to an Oracle 10g database. My problem is the following error during the deployment.
11:55:08,485 ERROR [MainDeployer] Could not create deployment: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml org.jboss.deployment.DeploymentException: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at javax.management.ObjectName.construct(ObjectName.java:529) at javax.management.ObjectName.(ObjectName.java:1304) at org.jboss.system.ServiceConfigurator.parseObjectName(ServiceConfigurator.java:780) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:447) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) ... 95 more As a result of this the following problems are this ones: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) state: FAILED watch: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml altDD: null lastDeployed: 1185875708472 lastModified: 1185875708000 mbeans: --- MBeans waiting for other MBeans --- ObjectName: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU State: NOTYETINSTALLED I Depend On: jboss.jca:name=TemControlClient,service=DataSourceBinding ObjectName: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:unitName=persistence_ctx --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: persistence.units:unitName=persistence_ctx State: NOTYETINSTALLED Depends On Me: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 ObjectName: jboss.jca:name=TemControlClient,service=DataSourceBinding State: NOTYETINSTALLED Depends On Me: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU 11:55:10,785 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 11:55:10,823 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 11:55:10,846 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 31s:580ms 11:56:35,842 WARN [JmxKernelAbstraction] jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 is not registered 11:56:35,843 WARN [JmxKernelAbstraction] persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU is not registered 11:56:35,907 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 11:56:35,907 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU with dependencies: 11:56:35,907 INFO [JmxKernelAbstraction] jboss.jca:name=TemControlClient,service=DataSourceBinding 11:56:35,914 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 11:56:35,915 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 with dependencies: 11:56:35,915 INFO [JmxKernelAbstraction] persistence.units:unitName=persistence_ctx 11:56:35,920 INFO [EJB3Deployer] Deployed: file:/Applications/jboss-4.2.0.GA/server/default/deploy/TEM-server.jar 11:56:35,929 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) state: FAILED watch: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml altDD: null lastDeployed: 1185875708472 lastModified: 1185875708000 mbeans: --- MBeans waiting for other MBeans --- ObjectName: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU State: NOTYETINSTALLED I Depend On: jboss.jca:name=TemControlClient,service=DataSourceBinding ObjectName: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:unitName=persistence_ctx --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: persistence.units:unitName=persistence_ctx State: NOTYETINSTALLED Depends On Me: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 ObjectName: jboss.jca:name=TemControlClient,service=DataSourceBinding State: NOTYETINSTALLED Depends On Me: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU 12:00:07,202 WARN [JmxKernelAbstraction] jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 is not registered 12:00:07,203 WARN [JmxKernelAbstraction] persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU is not registered 12:00:07,258 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 12:00:07,259 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU with dependencies: 12:00:07,259 INFO [JmxKernelAbstraction] jboss.jca:name=TemControlClient,service=DataSourceBinding 12:00:07,274 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 12:00:07,275 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 with dependencies: 12:00:07,275 INFO [JmxKernelAbstraction] persistence.units:unitName=persistence_ctx 12:00:07,280 INFO [EJB3Deployer] Deployed: file:/Applications/jboss-4.2.0.GA/server/default/deploy/TEM-server.jar 12:00:07,287 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) state: FAILED watch: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml altDD: null lastDeployed: 1185875708472 lastModified: 1185875708000 mbeans: --- MBeans waiting for other MBeans --- ObjectName: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU State: NOTYETINSTALLED I Depend On: jboss.jca:name=TemControlClient,service=DataSourceBinding ObjectName: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:unitName=persistence_ctx --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.jca:name=TemControlClient,service=DataSourceBinding State: NOTYETINSTALLED Depends On Me: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU ObjectName: persistence.units:unitName=persistence_ctx State: NOTYETINSTALLED Depends On Me: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 my jboss-ds.xml <?xml version="1.0" encoding="UTF-8"?> | <datasources> | <local-tx-datasource> | <jndi-name>TemControlClient</jndi-name> | <connection-url>jdbc:oracle:thin:@XXX:1521:XXX</connection-url> | <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> | <user-name>xxx</user-name> | <password>xxx</password> | <min-pool-size>5</min-pool-size> | <max-pool-size>20</max-pool-size> | <idle-timeout-minutes>5</idle-timeout-minutes> | </local-tx-datasource> | </datasources> | my persistance.xml <?xml version="1.0" encoding="UTF-8"?> | <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"> | <persistence-unit name="TEM-serverPU" transaction-type="JTA"> | <jta-data-source>java:/TemControlClient</jta-data-source> | <properties> | <property name="hibernate.show_sql" value="true" /> | </properties> | </persistence-unit> | </persistence> I`m working on this problem for 2 days now but i`couldn`t solve it until now. Also searches on google and many forums couldn`t bring me to an result. Seems there is something wrong with my configuration but as far as i know from tutorials and books the jboss-ds.xml and persistance.xml are correct. Would be nice if anyone could help my with this problem because i`m totally stuck. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069103#4069103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069103 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user