Re: [concern-users] Problems deploying j2ee demo
Brought to you by:
hengels,
leonchiver
|
From: Holger E. <he...@me...> - 2005-09-28 11:33:22
|
Hi Manfred, I didn't deploy con:cern on jboss 3.x for a long time. Though it should work basically. The processes and worklist and hibernate session factory are all deployed as mbeans and the controller's jboss-service.xml descriptors contain dependency tags: jboss.jca:name=JBassDefaultDS,service=DataSourceBinding as far as I remember, jboss changed the naming scheme for the mbeans between 3.x and 4. try to put the name of the controller's hibernate session factory into the dependency tags instead of the datasource's. regards holger Quoting Manfred Deutsch <Man...@FI...>: > Hi, > > con:cern seems to suite our needs for a coming workflow/process > management project. I think this extended case handling approach where > actions are in some way loosely coupled has a couple of advantages over > a direct control. > > When I compiled the sources (checked out from CVS yesterday) there were > somee minor problems: > [javac] > /home/md/concern/conform/src/java/org/concern/form/wings/PropertyCellRenderer.java:180: clone() in org.concern.form.wings.PropertyCellRenderer.ReadOnlyProperty cannot implement clone() in org.concern.form.Property; overridden method does not throw > java.lang.CloneNotSupportedException > [javac] public Object clone() throws CloneNotSupportedException > > > I changed this to a RuntimeException and removed try/catch in > OneToManyEditor.java and OneToOneEditor.java. Then it compiled fine. > Next problem occured when I deployed the j2ee-demo to JBoss (JBoss > 3.2.7, JDK 1.5.0_03, Linux Fedora Core 3). JBoss reported: > > 2005-09-28 11:35:16,464 ERROR > [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete > Deployment listing: MBeans waiting for other MBeans: > ObjectName: jboss.concern:name=ApplicationController > state: CONFIGURED > I Depend On: jboss.jca:service=ConcernController > jboss.jca:name=JBassDefaultDS,service=DataSourceBinding > > Depends On Me: > ObjectName: jboss.concern:name=EngagementController > state: CONFIGURED > I Depend On: jboss.jca:service=ConcernController > jboss.jca:name=JBassDefaultDS,service=DataSourceBinding > > Depends On Me: > ObjectName: jboss.concern:name=UrlaubController > state: CONFIGURED > I Depend On: jboss.jca:service=ConcernController > jboss.jca:name=JBassDefaultDS,service=DataSourceBinding > > Depends On Me: > > MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: > ObjectName: jboss.jca:name=JBassDefaultDS,service=DataSourceBinding > state: NOTYETINSTALLED > I Depend On: > Depends On Me: jboss.concern:name=ApplicationController > jboss.concern:name=EngagementController > jboss.concern:name=UrlaubController > > > The datasource JBassDefaultDS is deployed an can be accessed e. g. via > entity beans. Relevant config is: > <jndi-name>JBassDefaultDS</jndi-name> > <connection-url>jdbc:oracle:thin:@oradev.fiz- > karlsruhe.de:1521:osdb01</connection-url> > <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> > <user-name>jbassdev</user-name> > <password>xxxxxx</password> > > > Please could someone give me a hint what is causing this deployment > problem? > > Thanks in advance > > Manfred > > -- > Manfred Deutsch > FIZ Karlsruhe, Entwicklung, Elektr. Publizieren u. eScience > Telefon 07247 808-267, Fax 07247 808-133 > Email: man...@fi... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > concern-users mailing list > con...@li... > https://lists.sourceforge.net/lists/listinfo/concern-users > > |