[JBoss-user] MBean not starting at jboss startup, but else works normally

2002-06-08 Thread Marius Kotsbak
I have a mbean deployed with a name-service.xml. The code is in a .jar file also deployed. When I start jboss, the service isn't started (I get no errors), but if I touch it after jboss is fully started, it starts and works normally. The MBean uses JMS, and connects to a queue described in anot

Re: [JBoss-user] From RC1 DeploymentException

2002-06-08 Thread Frank Morton
To fix this problem, I added the following to each jboss.xml for all my entity beans (2.0): Standard CMP EntityBean Did not have to do it with session beans. Frank > Moving from RC1 to 3.0.0 release. Looking smooth except > when deploying beans I get a DeploymentException: > > Error in jboss.

Re: [JBoss-user] EJBException when accessing bulk getter inEntityBean

2002-06-08 Thread Stefan Reuter
The method is implemented in AddressEntityCMP.java as public AddressEntityData getData() { ... return dataHolder; } and in ejb-jar.xml i have de.nova.ejb.AccountEntityCMP should work fine. and works fine - with jdk1.4 but not with 1.3 :( On Sun, 2002-06-09 at 03:40, Dain Sundstrom wrote:

[JBoss-user] java.lang.Long Problem with cmp

2002-06-08 Thread Faisal Naveed
Hi, I have made a cmp in which my primary key class takes a primitive long. The type of the (Primary Key)coulmun in sqlserver2000 database is BigInt. public class ASNMasterPK implements Serializable { public long asnNo; public ASNMasterPK() { } public ASNMasterPK(long asnNo) { thi

Re: [JBoss-user] 3.0.0 InstantiateException + JAWS?

2002-06-08 Thread Dain Sundstrom
You have the wrong doctype declared in the ejb-jar.xml file. The correct doctype follows: http://java.sun.com/dtd/ejb-jar_2_0.dtd";> -dain Frank Morton wrote: > Still transitioning from RC1 to 3.0.0. When I instantiate > > an EJB 2.0 entity bean, I get an InstantiateException > > below. A

Re: [JBoss-user] EJBException when accessing bulk getter in EntityBean

2002-06-08 Thread Dain Sundstrom
This happens when you have an unimplemented method, which is ok for cmp accessors, cmr accessors, and ejbSelect methods. If getData is a cmp field, you forgot to declare it. If it isn't, you need to provide an implementation for the method. -dain Stefan Reuter wrote: > hi, > > when i acce

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Dain Sundstrom
Andre Selton wrote: > --- Dain Sundstrom <[EMAIL PROTECTED]> wrote: > >>> >>> order >>> Order >>> >>> >> >>This one it wrong. You only need (can have) >>cmr-field-type if the >>cmr-field is multi-valued. >> > > With this I can now deploy my beans on JBoss

Re: [JBoss-user] web services on jboss

2002-06-08 Thread Marius Kotsbak
In the deploy-directory with the bean(s). Check the testsuite of jboss.net. On lør, 2002-06-08 at 03:46, Rama Kishore Yelamanchilli wrote: Hello, I plugged in jboss.net(web services) into jboss. Now I'm wondering what can I do for deploying a web service and test it. I read the only documentati

Re: [JBoss-user] JBoss 2.4.4+Tomcat 4.0.1 as NT service

2002-06-08 Thread Mitchell Kim
First of all, thanks for you reply.  I found an interesting fact while trying different stuff.  When I tried it on Windows 2000, it worked fine.  So, that leads to what's wrong with my Windows NT 4.0 Server??? in terms of environments... Do you know any "requirements" for this thing to work?

Re: [JBoss-user] Oracle/JNDI Connection Issue (pinging David Jencks)

2002-06-08 Thread David Jencks
jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter no longer exists. Take a look at the oracle-service.xml in docs/examples/jca (binary, I hope) or connector[jbosscx]/src/etc/example-config. david jencks On 2002.06.08 17:06:43 -0400 Stephen Davidson wrote: > Gree

RE: [JBoss-user] From RC1 DeploymentException

2002-06-08 Thread Sacha Labourey
Hello, you simply need to remove your tag. Since recently, means null configuration. It is used to differentiate null tags from unexisting tags. Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Fra

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Andre Selton
At 09:42 7/6/2002 -0500, you wrote: > This one it wrong. You only need (can have) > cmr->field-type if the cmr-field is multi-valued. > I think this is another lame place in the spec, as > I can look up the field type using reflection, but > it is required. Just remove the line and it > shou

Re: [JBoss-user] performance on linux/windows

2002-06-08 Thread Marius Kotsbak
On lør, 2002-06-08 at 01:33, Dain Sundstrom wrote: > It is not about performance it's about manageability in production. > Widows is simple too much of a pain to manage on a large scale. > > -dain For example, what do you do when running jboss on win and need to fix something somewhere only conn

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Andre Selton
--- Dain Sundstrom <[EMAIL PROTECTED]> wrote: > > > > > order > > Order > > > > > This one it wrong. You only need (can have) > cmr-field-type if the > cmr-field is multi-valued. With this I can now deploy my beans on JBoss 3.0.0 But I can not make

[JBoss-user] EJBException when accessing bulk getter in EntityBean

2002-06-08 Thread Stefan Reuter
hi, when i access a bulk getter method on an entity bean i get the following exception: javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=getData the exception only occurs when using jdk 1.3, with 1.4 everything is fine. any i

RE: [JBoss-user] JCA and Firebird - Connection problems...

2002-06-08 Thread Andre Selton
--- Torsten Terp <[EMAIL PROTECTED]> wrote: > > If you instead write the filename as > localhost/3050:c:/database/whatever.gdb > it will work! > Ok. You are right, thanks for share. On my home I had JBoss 3 RC2 and on it this works ok. But on my company we have JBoss 3.0.0 (final) and it

Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-08 Thread Dain Sundstrom
That won't work with CMP. It does work with BMP if you are going that route. Unknown primary keys are are at the top of the new features list, so it will be at least a month. -dain Arthur Wang wrote: > I am using auto_increment function of MySql database for primary key of > entity bean ,

Re: [JBoss-user] Startup tasks

2002-06-08 Thread David Jencks
Please see if I explained this well enough in the quickstart guide and provide suggestions for improvement. thanks david jencks On 2002.06.07 14:21:56 -0400 JD Brennan wrote: > I have written an MBean, but can't figure out how to get it > to wait until all my Session and Entity Beans have been d

[JBoss-user] Separate logfiles?

2002-06-08 Thread Ron van Pol
Can System.out and System.err logging be redirected to separate logfiles for separate applications?   Thanks, Ron  

Re: [JBoss-user] Startup tasks

2002-06-08 Thread David Jencks
Making an mbean depend on a deployer only assures that the mbean starts after the deployer, not after anything the deployer might deploy. Depend on the mbeans for the ejb containers. (seen in the j2ee section on port 8082) david jencks On 2002.06.07 15:24:50 -0400 Greg Turner wrote: > don't foc

[JBoss-user] Oracle/JNDI Connection Issue (pinging David Jencks)

2002-06-08 Thread Stephen Davidson
Greetings. I have an oracle-service.xml file that I had been using for JBoss3.0Alpha through RC2(development version attached). Now I am trying to port to 3.0final, and its not working. What is supposed to happen is that I have a DataSource living at jdbc/pool/hrnexus that my application can

Re: [JBoss-user] Auto created relationship table name.

2002-06-08 Thread Dain Sundstrom
This works for me, so I would guess that your configuration is wrong. -dain Arthur Wang wrote: > I set create-table as true in my jbosscmp-jdbc.xml, so the jboss will create > table for me, but the name of relation table created is like 'A-Bs-B-As", it > is not the name I specified in relation-

[JBoss-user] Logging mbean to a separate log

2002-06-08 Thread Marius Kotsbak
I have made a MBean that logs normally with log4j. The problem is that it logs so much that I want the output to a separate file, and not in the main logfile. I have managed to have the output in a separate file using a new appender, and a with to that logger, but I can't find an easy way to ex

Re: [JBoss-user] Startup tasks

2002-06-08 Thread David Jencks
If you look on port 8082, you'll see an mbean created (in the "j2ee" section, not the jsr-77 section) for each ejb. Use these mbean names in your depends/depends-list tags. david jencks On 2002.06.07 15:01:14 -0400 JD Brennan wrote: > Cool! I'm running JBoss 3.x, but I can't figure out the dep

Re: [JBoss-user] Re: (JBoss3)Handles problem in Tomcat standalone(BUG?)

2002-06-08 Thread Andrew
Thank you for answer, but this is usual rmi lookup that dosen't use any ejb handles. I mean HomeHandle/Handle- the objects for persistent rmi references. This objects works fine with JBosss2.4.6 but JBoss3 handles using local(Tomcat) JNDI context instead of remote that it came from. Regards.

Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???

2002-06-08 Thread Marius Kotsbak
On lør, 2002-06-08 at 00:37, Brandon Knitter wrote: > I checked out things with: cvs co -r JBoss_3_0_0 jboss-all > > So, after I apply that patch, then I go into jboss-all/build dir and run > build.sh. Then what? What do I move and copy over the binary distro I > downloaded? Is it an entire di

Re: [JBoss-user] org.jboss.util.NestedSQLException: failed to register driver

2002-06-08 Thread John Hogan
put the driver jar file in the classpath - Original Message - From: "Jim" <[EMAIL PROTECTED]> Date: Thu, 6 Jun 2002 14:38:14 -0400 To: <[EMAIL PROTECTED]> Subject: [JBoss-user] org.jboss.util.NestedSQLException: failed to register driver > I have one remaining problem with connecting

Re: [JBoss-user] Apache Tomcat/4.0 - Http Status 404

2002-06-08 Thread David Jencks
You can deploy anything exploded, the dir. structure has to match the compressed format. So your jsps have to be inside a dir. named blah.war. david jencks On 2002.06.07 15:17:11 -0400 Coral Burns wrote: > Thanks Olek! > > The only issue with what you mention below is that I do want to run the

[JBoss-user] 3.0.0 InstantiateException + JAWS?

2002-06-08 Thread Frank Morton
Still transitioning from RC1 to 3.0.0. When I instantiate an EJB 2.0 entity bean, I get an InstantiateException below. Also, in the stack trace is a reference to JAWS, which I thought had nothing to do with EJB 2.0. I must be wrong about that.   Any idea what can cause this. Runs fine under

Re: [JBoss-user] Opening multiple databases in on session bean

2002-06-08 Thread David Jencks
I don't know why it would be more than 2x slower. If you access 2 or more resource managers (databases) within one transaction, you need 2pc or xa in order to assure that you actually have ACID tx properties. If you are using the LocalTx wrapper and/or non-xa databases, you don't have 2pc or xa,

Re: [JBoss-user] JBoss 3.0.0 hiding RuntimeExceptions ???

2002-06-08 Thread Marius Kotsbak
On lør, 2002-06-08 at 00:37, Brandon Knitter wrote: > I checked out things with: cvs co -r JBoss_3_0_0 jboss-all > > So, after I apply that patch, then I go into jboss-all/build dir and run > build.sh. Then what? What do I move and copy over the binary distro I > downloaded? Is it an entire di

Re: [JBoss-user] web services on jboss

2002-06-08 Thread Marius Kotsbak
The best soure of information is jboss.net testsuite in cvs. On lør, 2002-06-08 at 03:46, Rama Kishore Yelamanchilli wrote: Hello, I plugged in jboss.net(web services) into jboss. Now I'm wondering what can I do for deploying a web service and test it. I read the only documentation page of jbos

Re: [JBoss-user] Auto created relationship table name.

2002-06-08 Thread Christofer Sandberg
I think the table mapping xml tags are named diffrently and are in another structure then the one you supplied assuming you are running JBoss 3.0 something. Try replacing the relationships part in your jbosscmp-jdbc.xml with the following: Client-Acl client_acl

Re: [JBoss-user] SapDB and Jboss

2002-06-08 Thread David Jencks
Please use the release version of jboss 3 or something later. You won't get any support for pre-release versions. All the sample configurations are contributed by users of those products. If you look you will see they are almost completely identical to each other. Usually you just have to chan