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,
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
> 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
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
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
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
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
> 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
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
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
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:
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
I cannot see "HiLoIDGeneratorFactory" on the JNDIView page.
Below "java: Namespace" appears:
+- XAConnectionFactory
+- DefaultDS
+- SecurityProxyFactory
+- DefaultJMSProvider
+- MySqlDS
+- comp
+- ConnectionFactory
+- JmsXA
+- jaas
| +- JmsXARealm
| +- jbossmq
| +- H
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
> 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
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
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
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
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
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
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
- 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:
> >
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
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
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
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
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
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
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'
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
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.
31 matches
Mail list logo