Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-02 Thread J.Mann
Yes, this was the issue. My app requires two database connections, but I had only copied the -ds.xml for one. Thanks! Jon Mann. On Thu, Oct 02, 2003 at 01:57:43PM +0100, Adrian Brock wrote: > On Thu, 2003-10-02 at 13:42, J.Mann wrote: > > > Has the db pool been started? > > > > I don't know,

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-02 Thread Adrian Brock
On Thu, 2003-10-02 at 13:42, J.Mann wrote: > > Has the db pool been started? > > I don't know, how do I find out? > Look at the logs, you should see a message saying something like "[ManagedConnectionPool] started for the db. Is this before or after the error? Regards, Adrian -- x

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-02 Thread J.Mann
> Has the db pool been started? I don't know, how do I find out? Cheers, Jon. On Thu, Oct 02, 2003 at 12:12:41PM +0100, Adrian Brock wrote: > Hi Jon, > > Has the db pool been started? > I assume it has since you can lookup the data source in jndi. > > Question for Alex: > > Shouldn't this

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-02 Thread Alexey Loubyansky
Perhaps, so. It is instantiation of PersistenceManagerFactoryImpl. I'll look at it. Thanks. Adrian Brock wrote: Hi Jon, Has the db pool been started? I assume it has since you can lookup the data source in jndi. Question for Alex: Shouldn't this be in startService()? You can't guarantee other

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-02 Thread Adrian Brock
Hi Jon, Has the db pool been started? I assume it has since you can lookup the data source in jndi. Question for Alex: Shouldn't this be in startService()? You can't guarantee other dependent services are ready in createService(). at org.jboss.system.ServiceMBeanSupport.create(ServiceMB

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-02 Thread J.Mann
I added the following code protected void handleInstantiateExceptions(Throwable t, String className) throws ReflectionException, MBeanException { log.error("Error instantiating MBean className=" + className, t); to "jmx/src/main/org/jboss/mx/server/MBeanServerImpl.java" The following

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Adrian Brock
On Thu, 2003-10-02 at 01:51, J.Mann wrote: > Caused by: MBeanException: > org.jboss.persistence.jbossdo.PersistenceManagerFactoryImpl constructor has thrown > an exception: > org.jboss.deployment.DeploymentException: Could not create KeyGenerator instance.; - > nested throwable: (java.lang.NullP

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
> The problem is in the XDoclet tags. > It should be: > > * @jmx:mbean > *name="jboss.persistence:service=IDGeneratorFactory,type=HiLo" > *extends="org.jboss.system.ServiceMBean" Ok, I made the change to HiLoIDGeneratorFactory.java, and rebuilt the persistence module. The binding now

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Adrian Brock
The problem is in the XDoclet tags. It should be: * @jmx:mbean *name="jboss.persistence:service=IDGeneratorFactory,type=HiLo" *extends="org.jboss.system.ServiceMBean" Note the extends tag. ServiceMBean exposes the lifecycle operations, without it [create/start]Service aren't invoked s

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
I cannot find a "state" within the "IDGeneratorFactory" page: Domain Name: jboss.persistence service: IDGeneratorFactory type: HiLo MBean Java Class: org.jboss.persistence.idgen.hilo.HiLoIDGeneratorFactory MBean description: Management Bean. List of MBean attributes: Name Type

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Neal Sanche
I'm guessing, at this point that this HiLoIDGenerator is not available in the 3.2.2 releases, am I right? -Neal On October 1, 2003 04:06 pm, Adrian Brock wrote: > jboss > > * service=JNDIView > > Then click the "list" operation > > Regards, > Adrian > > On Wed, 2003-10-01 at 20:58, J.Mann wrote:

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Adrian Brock
Go back to the HiLoGenerator MBean what "state" does it have, is it "started"? If not, post the error from the log/server.log when it was deploying. Regards, Adrian On Wed, 2003-10-01 at 23:00, J.Mann wrote: > I cannot see "HiLoIDGeneratorFactory" on the JNDIView page. > > Below "java: Namespac

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
I cannot see "HiLoIDGeneratorFactory" on the JNDIView page. Below "java: Namespace" appears: +- XAConnectionFactory +- DefaultDS +- SecurityProxyFactory +- DefaultJMSProvider +- MySqlDS +- comp +- ConnectionFactory +- JmsXA +- jaas | +- JmsXARealm | +- jbossmq | +- H

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Adrian Brock
jboss * service=JNDIView Then click the "list" operation Regards, Adrian On Wed, 2003-10-01 at 20:58, J.Mann wrote: > > java:/HiLoIDGeneratorFactory > > The following appears on the /jmx-console page: > > jboss.persistence > > * service=IDGeneratorFactory,type=HiLo > * service=UU

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
> java:/HiLoIDGeneratorFactory The following appears on the /jmx-console page: jboss.persistence * service=IDGeneratorFactory,type=HiLo * service=UUIDGeneratorFactory,type=UUID How do I access JNDIView? Regards, Jon Mann. On Wed, Oct 01, 2003 at 10:18:36PM +030

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Alexey Loubyansky
java:/HiLoIDGeneratorFactory And JNDIView can be found at http://localhost:8080/jmx-console J.Mann wrote: See what with JNDIView? Cheers, Jon Mann On Wed, Oct 01, 2003 at 09:11:33PM +0300, Alexey Loubyansky wrote: So, you can't see it with the JNDIView? alex J.Mann wrote: I deployed hilo

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
See what with JNDIView? Cheers, Jon Mann On Wed, Oct 01, 2003 at 09:11:33PM +0300, Alexey Loubyansky wrote: > So, you can't see it with the JNDIView? > > alex > > J.Mann wrote: > > >I deployed hilo-idgen-service.xml and uuid-idgen-service.xml from the > >directory you specified. > > > >They

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Alexey Loubyansky
So, you can't see it with the JNDIView? alex J.Mann wrote: I deployed hilo-idgen-service.xml and uuid-idgen-service.xml from the directory you specified. They appear to deploy correctly (from the jboss boot process): 18:31:50,731 INFO [MainDeployer] Starting deployment of package: file:/v

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
I deployed hilo-idgen-service.xml and uuid-idgen-service.xml from the directory you specified. They appear to deploy correctly (from the jboss boot process): 18:31:50,731 INFO [MainDeployer] Starting deployment of package: file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3

Re: [JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread Alexey Loubyansky
In jboss-head\persistence\src\etc\examples\idgen\ you will find to files. One of them is hilo-idgen-service.xml. Try to deploy it before your application. Please, let me know how whether it solved the problem ;) Thanks, alex J.Mann wrote: Hello folks! I am trying to build JBoss from CVS, wit

[JBoss-user] Building JBoss from CVS with JBossDO

2003-10-01 Thread J.Mann
Hello folks! I am trying to build JBoss from CVS, with the Persistence/JBossDO functionality. I have been using the last developer release, but I want access to the latest fixes in CVS. Here are the actions I take, on a daily snapshot... Build the server and jbossDO: build/build.sh

Re: JBoss 3.2 and 4.0 (Re: [JBoss-user] building jboss from cvs)

2002-08-18 Thread Scott M Stark
- Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 1:08 PM Subject: Re: JBoss 3.2 and 4.0 (Re: [JBoss-user] building jboss from cvs) > On 2002.08.18 13:01:17 -0400 Andreas Kuckartz wrote: > >

Re: JBoss 3.2 and 4.0 (Re: [JBoss-user] building jboss from cvs)

2002-08-18 Thread David Jencks
ECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 18, 2002 2:56 PM > Subject: Re: [JBoss-user] building jboss from cvs > > > > For jboss 3, you should check out > > > > cvs ... -rBranch_3_0 co jboss-all > > > > this is what the quickstart

JBoss 3.2 and 4.0 (Re: [JBoss-user] building jboss from cvs)

2002-08-18 Thread Andreas Kuckartz
are scheduled for 3.2 and 4.0? Andreas - Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 2:56 PM Subject: Re: [JBoss-user] building jboss from cvs > For jboss 3, you should check out > > cv

Re: [JBoss-user] building jboss from cvs

2002-08-18 Thread David Jencks
For jboss 3, you should check out cvs ... -rBranch_3_0 co jboss-all this is what the quickstart 3.0 docs refer to for jboss 3.2 you should check out cvs ... -rBranch_3_2 co jboss-all for jboss 4 you should check out cvs ... co jboss-all The "resource" error means I think that part of the

Re: [JBoss-user] building jboss from cvs

2002-08-18 Thread Michael Bartmann
Andreas Kuckartz wrote: > building jboss from cvsI also have trouble to build JBoss using the latest > source code version on a Windows 2000 machine. > Co-workers of me who also use Windows 2000 and Java have told me of some obscure dll-conflict; they had to remove a certain dll but I dont recal

Re: [JBoss-user] building jboss from cvs

2002-08-18 Thread Andreas Kuckartz
building jboss from cvsI also have trouble to build JBoss using the latest source code version on a Windows 2000 machine. The directory structure seems to have changed after version 3.0.1. The 3rd draft of "JBoss 3.0: Quick Start Guide" therefore is no longer up-to-date. I found lots of readme

Re: [JBoss-user] building jboss from cvs

2002-08-18 Thread Michael Bartmann
Uroš Jurglič wrote: > I have all environment variables set and I use suns jdk1.3.1_03. > Now that you've told me, I've used build.bat, but again not > successfully. Build batch returns in no-time and prints nothing. Not > very usefull for finding out what's wrong though. I never had the build p

RE: [JBoss-user] building jboss from cvs

2002-08-18 Thread Uroš Jurglič
Title: RE: [JBoss-user] building jboss from cvs I have all environment variables set and I use suns jdk1.3.1_03. Now that you've told me, I've used build.bat, but again not successfully. Build batch returns in no-time and prints nothing. Not very usefull for finding out what'

Re: [JBoss-user] building jboss from cvs

2002-08-18 Thread Michael Bartmann
Uroš Jurglič wrote: > I downloaded all the modules from cvs, but am having troubles building > any of them. I get the following error: > BUILD FAILED > Error reading project file: unknown protocol: resource > > Are there any general docs about building jboss? > > > Tnx. > Most of the time I h

[JBoss-user] building jboss from cvs

2002-08-18 Thread Uroš Jurglič
Title: building jboss from cvs I downloaded all the modules from cvs, but am having troubles building any of them. I get the following error: BUILD FAILED Error reading project file: unknown protocol: resource Are there any general docs about building jboss? Tnx.