[jboss-user] [EJB 3.0] - Is annotation enough for deploying a session bean?

2008-09-12 Thread dan jboss
Hi, I am using jboss-4.2.3.GA with Java 5. I have created a session bean like this: @Stateless | @Local( { MyBeanInterface.class }) | public class MyBean implements MyBeanLocal, MyBeanInterface { | ... | | } | Also created a servlet like this: public class MyServlet extends HttpSe

[jboss-user] [EJB 3.0] - Bad EAR generated by Eclipse?

2008-09-11 Thread dan jboss
I am using Eclipse 3.4.0 to generate an EAR for a jboss-4.2.3.GA installation. It is a very simple (my first) application and everything seems to be in place as expected from an ear except for the application.xml file. I am getting the following error on the server: 19:53:34,297 INFO [Http11Pr

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : Both hajndi-jms-ds.xml and jms-ds.xml should not have ended up in the deploy directory. There should be only one of them, depending on if you are clustering or not. Because of the install command line you gave: | | ant -f release-admin.xml -Dmessaging.config.source=all -Dme

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : The jms-ds.xml file is one of the configuration files that comes with JBoss Messaging when using in AS 4.2.x. Based on the error message, there must be another configuration file that contains the MBean jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool. Could you do

[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-04 Thread dan jboss
"dan jboss" wrote : On a new installation of JBoss Messaging I discovered that indeed the line: | | attribute name="Clustered">falsehttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174398#4174398 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-04 Thread dan jboss
On a new installation of JBoss Messaging I discovered that indeed the line: false had the value true. I changed it to false but I still get the same Trying to install an already registered mbean error. Thanks. Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : It appears that you did not install JBoss Messaging properly. How did you install it? (I asked this before, you never answered.) Did you run the installation script that comes with it? | | Yes, I ran the command: | | ant -f release-admin.xml -Dmessaging.config.source=al

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : What version of JBoss Messaging did you install? How did you install it? | | The mysql-jdbc2-service.xml file belongs to JBossMQ and not JBoss Messaging. You should not be using that file. | | Did you follow the steps under "JBossMQ" at http://wiki.jboss.org/wiki/SetU

[jboss-user] [JBoss Messaging] - NoClassDefFoundError: org/jgroups/Channel

2008-09-03 Thread dan jboss
Hi, I am getting the following error when I start jboss. I am using jboss-4.2.3.GA with jboss-messaging-1.4.0.SP3. Could anybody help please? Thanks, Dan === JBoss Bootstrap Environment JBOSS_HOME: C:\jboss

[jboss-user] [Beginners Corner] - Problem configuring jboss-4.2.3.GA

2008-09-03 Thread dan jboss
HI, I am getting the following error when I start the server. Can anyone help please? Thanks. Dan === JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-4.2.3.GA JAVA: C:\Sun\SDK\jdk\bin\java JAVA_OPTS

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-03 Thread dan jboss
"dan jboss" wrote : Hi, | | I am new to Jboss. I just installed it and I wanted to configure the JMS persistence with MySql. | When the server starts up it goes through the creation of a few tables that I can see in the dedicated database: | | mysql>

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-03 Thread dan jboss
"dan jboss" wrote : Hi Peter, | | I am using jboss-4.2.3.GA if this was your question. | I don't see any hsqldb-persistence-service.xml in the deploy directory of the configuration I am running. | Thanks. | | Dan BTW, I do have in the deploy directory the foll

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-03 Thread dan jboss
Hi Peter, I am using jboss-4.2.3.GA if this was your question. I don't see any hsqldb-persistence-service.xml in the deploy directory of the configuration I am running. Thanks. Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174125#4174125 Reply to the p

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - jboss-4.2.3.GA with MySQL Server 5.0 configuration problem

2008-09-03 Thread dan jboss
Hi, I am new to Jboss. I just installed it and I wanted to configure the JMS persistence with MySql. When the server starts up it goes through the creation of a few tables that I can see in the dedicated database: mysql> show tables; +-+ | Tables_in_jboss | +-+ |