The application server started without any problem when I retried. So
everything is fine.
axiez wrote:
I have been using the application server for couple of weeks. Today, the
server startup failed with the following error message:
ERROR [GBeanInstanceState] Error while starting; GBean is
Unable to set attribute abstractNameQuery to ?name= DefaultWorkManager#
Here's the full stack trace:
org.apache.geronimo.common.DeploymentException: Unable to set attribute
abstractNameQuery to ?name= DefaultWorkManager#
at
djencks wrote:
On Jan 14, 2009, at 8:38 AM, fladimir wrote:
Unfortunately I couldn't get it to work. I'm really new to gbeans,
though...
Maybe someone here (developer?) knows how this is supposed to be done?
First I tried putting it inside the application root tag and it
gave
I think that spaces are not legal characters in the query portion of a
URI so ?name=DefaultWorkManager# (no space after the '=') should work
better.
thanks
david jencks
On Jan 18, 2009, at 5:20 AM, fladimir wrote:
Unable to set attribute abstractNameQuery to ?name=
DefaultWorkManager#
I have this problem often on my windows development machine. It's due to
the corba service needing port 1050 for a name server. Windows allocates
ports from 1024 upwards for things like web browsers and this port may
be in use already. If you go to a command prompt (StartRun.. and type
cmd) you
Yes, I actually guessed something like that when I checked the full stack
trace.
Thanks a lot, it deploys now fine. But the name is not found:
Caused by: javax.naming.NameNotFoundException: java:DefaultWorkManager
at
I think there might be a bug in our jndi implementation so you have to
look up java:/DefaultWorkManager. If this doesn't help I'll look
further.
thanks
david jencks
On Jan 18, 2009, at 12:17 PM, fladimir wrote:
Yes, I actually guessed something like that when I checked the full
stack
Where exactly is the persistence.xml in your ear?
BTW if you use auto-create tables or openjpa sequences you almost
certainly need a non-jta-datasource as well, and it should really not
have transactions enabled.
thanks
david jencks
On Jan 18, 2009, at 2:52 PM, bongosdude wrote:
in my
David,
I figured out part of my problems by looking at Bank/Caculator samples. Bank
tomcat/jetty plugins depend on the sample sample-datasource
(sample-datasource.car). So it gave me how to create plan.xml for my
datasource connector. The build was now successful but with exception as
below:
David,
Here is my connector definition in my datasource plan.xml
connector xmlns=http://geronimo.apache.org/xml/ns/j2ee/connector-1.2;
resourceadapter
outbound-resourceadapter
connection-definition
Donald,
You know, I have some patches for daytrader trunk, but they should be
applicable for 2.1.3. Do we expect to include those patches to 2.1.3?
Forrest
On Fri, Jan 16, 2009 at 11:56 PM, Kevan Miller kevan.mil...@gmail.comwrote:
Donald,What's the status of this vote? If we need more votes,
David,
my database name is my_users. and I have two dbpool defined to point to the
same database my_users. One is XA and other is non XA.
Thanks
bongosdude wrote:
David,
Here is my connector definition in my datasource plan.xml
connector
Can someone show me how to create deployment plan for MySQL XA datasource?
How is about MS SQL (local transaction)
Thanks
-B
-
B Amigo:super:
--
View this message in context:
http://www.nabble.com/deployment-for-MySQL-XA.-tp21536125s134p21536125.html
Sent from the Apache Geronimo - Users
MySQL sample:
resourceadapter
outbound-resourceadapter
connection-definition
connectionfactory-interfacejavax.sql.DataSource/connectionfactory-interface
connectiondefinition-instance
namejdbc/SampleDatasource/name
I have the following sample code and jndi.properties file:
import javax.jms.*;
import javax.naming.InitialContext;
import java.util.*;
import java.io.*;
public class LogClient {
public static void main(String[] args) throws Exception {
Properties p = new Properties();
HI, axiez:
Have you added activemq-core-.jar (which contains
org.apache.activemq.jndi.ActiveMQInitialContextFactory) under
$G_Dir\org\apache\activemq\activemq-core\ to your classpath and buildpath?
Thanks.
Viola.Lu
axiez wrote:
I have the following sample code and jndi.properties
Did you try these? Driver based connectors don't support xa. Also
your ms sql sample doesn't include any transaction element at all.
thanks
david jencks
On Jan 18, 2009, at 7:44 PM, Forrest Xia wrote:
MySQL sample:
resourceadapter
outbound-resourceadapter
The easiest way is to use the admin console database wizard. You can
copy the plan out of the wizard to put into your plan.xml source. You
can duplicate the xa pool and change the tx element to no-
transaction for the non-jta datasource
thanks
david jencks
On Jan 18, 2009, at 6:47 PM,
On Jan 18, 2009, at 6:23 PM, bongosdude wrote:
David,
my database name is my_users. and I have two dbpool defined to point
to the
same database my_users. One is XA and other is non XA.
thats fine.
I forgot to mention in my post on the other thread that you need to be
sure to use the
adding the activemq-core jar to the classpath should fix this error.
then
I assume you are using a plain java program rather than a javaee
application client. In this case you should not expect to access the
java:comp/env context but should refer to the activemq documentation
on
20 matches
Mail list logo