message-destination-usageProduces/message-destination-usage
message-destination-linkOrderQueue/message-destination-link
/message-destination-ref
Am I missing something? I would appreciate any type of feedback.
Thanks,
Viet Nguyen
Thanks for helping David. Everything worked
seen them mentioned in multiple posts. I would
appreciate any help.
Thanks,
Viet Nguyen
are derby specific so you need to use one of
the tranql derby rars, not the generic one.
thanks
david jencks
On Jul 24, 2007, at 9:11 AM, Viet Nguyen wrote:
Hi Guys,
I am trying to create a DB when I deploy a web application. I have the
following db pool xml:
?xml version=1.0 encoding=UTF-8
Where are you putting your tranql-connector-ra-1.3.rar in the EAR? I think
it should be on the top most level of the archive. For an example, go here
http://cwiki.apache.org/GMOxDOC20/ejb-sample-application.html
Hope this will help,
Viet Nguyen
On 8/16/07, bgbraga [EMAIL PROTECTED] wrote
You should have your context-root in your geronimo-web.xml. If you want
your url to be
http://localhost:8080/myapp
you should have
context-root/myapp/context-root in geronimo-web.xml somewhere.
Also, are you using ejb 2.1 or 3.0?
Hope this will help,
Viet Nguyen
On 8/17/07, tobstar [EMAIL
it is an EJB 3.0 thing. It allows you to make a reference to a
datasource on the app server in your code.
Hope this example will make your migration journey easier,
Viet Nguyen
On 8/17/07, tobstar [EMAIL PROTECTED] wrote:
Hi Viet,
I will try the context-root in the geronimo-web.xml, but what
this classcastexception
problem. If anyone can give me any insight, I will appreciate it.
Thanks,
Viet Nguyen
this classcastexception
problem. If anyone can give me any insight, I will appreciate it.
Thanks,
Viet Nguyen
On 8/27/07, Paul McMahan [EMAIL PROTECTED] wrote:
On Aug 27, 2007, at 4:36 PM, Viet Nguyen wrote:
The weird thing about it is that when I executed System.out.println
(o.getClass().toString()); it tells me that the class is
WebModuleStatsImpl.
Do you have a copy of the geronimo
On 8/28/07, Paolo Denti [EMAIL PROTECTED] wrote:
thanks kevan, (about jpa ... too late, and too lazy, me, not hibernate
:-)
yes, i of course i modified the hibernate.transaction.manager_lookup_class,
pointing to the class found on the wiki (which is not really perfect in
the getMethod calls
On 8/29/07, Paolo Denti [EMAIL PROTECTED] wrote:
Kevan, i tried and following the execution, the problem is in the
proxyManagerClass.getMethod(createProxy, clzArray);
the getMethod call fails.
But looking at the javadoc i see that the signature of the ProxyManager
createProxy method is
.
Hope this works,
Viet Nguyen
Paolo,
I found these two related jiras that I hope will fix your problem:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2281
http://opensource.atlassian.com/projects/spring/browse/SPR-3571
People have suggested two solutions:
1. switch to using Hibernate 3.2.0 (hibernate
On 9/4/07, Xh [EMAIL PROTECTED] wrote:
Hi All!
I'm trying to create my first ejb3 entity bean in Geronimo 2.0.1.
I base on this wiki:
http://cwiki.apache.org/GMOxDOC20/very-simple-entity-ejb-example.html
I've created simple WebModule and annoted it, just like this:
@Entity
I
said, if you stop the server, there will be a FileNotFoundException.
On 9/5/07, Viet Nguyen [EMAIL PROTECTED] wrote:
Hi Paolo,
Which DB are you using? I could not get this to work on the derby db that
comes with Geronimo because it doesn't support some keywords (e.g.
AUTO_INCREMENT
You are right, the wiki is out of date. Try this:
?xml version=1.0 encoding=UTF-8?
module xmlns=http://geronimo.apache.org/xml/ns/deployment;
environment
moduleId
groupIdexample1/groupId
artifactIdMyGBean/artifactId
version1.0/version
Try this:
NOTE: this file is in the folder labeled example1
example1/MyGBean.java
1 package example1;
2
3 import org.apache.geronimo.gbean.GBeanInfo;
4 import org.apache.geronimo.gbean.GBeanInfoBuilder;
5
6 public class MyGBean {
7
8 public static final GBeanInfo
On 9/11/07, Marcin Waldowski [EMAIL PROTECTED] wrote:
Hello.
I created jee aplication follow
http://cwiki.apache.org/GMOxDOC20/jms-and-mdb-sample-application.htmlexample.
In this exemple we can see following lines in geronimo-web.xml:
dep:dependency
You are right. I saw a weird missing dependency and jumped to a conclusion
too quickly. I will update the wiki to reflect the working source code.
Thanks for pointing it out.
-Viet
On 9/11/07, Marcin Waldowski [EMAIL PROTECTED] wrote:
Viet Nguyen wrote:
Caused
On 9/28/07, PeterAU2 [EMAIL PROTECTED] wrote:
I'm trying to deploy the ear file from the calculator example from
http://cwiki.apache.org/GMOxDOC20/using-some-of-ejb-30-functionalities.html
I've downloaded the calculator-stateless-pojo.zip and unpacked it.
I go to the Geronimo 2.0.1
Hi Jon,
You are right, this is a known bug. It's located at
https://issues.apache.org/jira/browse/GERONIMO-3460.
Thanks,
Viet
On 10/8/07, Jonathan Gallimore [EMAIL PROTECTED] wrote:
I managed to make some progress with this - basically it only happens if
my application's web modules context
Hey All,
Just wondering if it is possible to deploy a GBean in the form of an EAR.
Right now I have an EAR that looks like the following:
EAR
|-META-INF
|-application.xml
|-geronimo-application.xml
|-tranql-connector-ra-1.3.rar
|-MonitorDBPool.xml
|-MRC.xml
Hi All,
I am trying to access the new MEJB from a gbean. I am using the following
Context ic = new InitialContext();
Object mejbObj = (Object)ic.lookup(java:comp/env/ejb/mgmt/MEJB);// I
get a NotContextException here
I have tried to pass a Properties object (with the
is deployed and then figure out what to call
to get the MEJB itself.
Or, if this gbean is called from javaee components you could look up
the MEJB during such a call, and make sure you have an ejb-ref to it
in the javaee component.
thanks
david jencks
On Oct 12, 2007, at 10:10 AM, Viet
==
I've tried deploying the app, with and without the security realm defined,
but I get the same stack trace. Does anybody knows what's going on?
Thanks
Viet
On 10/12/07, Viet Nguyen [EMAIL PROTECTED] wrote:
Thanks
On 10/24/07, ivanrc [EMAIL PROTECTED] wrote:
Hi,
I want to deploy EJB CMP. The EJB is deployed well, but I obtain by logs
this lines about dababase pool that I want to use:
10:06:58,154 WARN [ResourceRefBuilder] Failed to build reference to
resource reference [jdbc/gsePool] defined in
You might want to try
res-ref-namejdbc/gsePool/res-ref-name
also. I am not sure what you named it. Can you post your database pool plan
here too?
Thanks,
Viet
On 10/24/07, ivanrc [EMAIL PROTECTED] wrote:
I´ve added this lines and now I obtain this exception. I use
The first thing I notice is that you're running minimal. By default, the
minimal assembly does not come with a web interface. So it looks like the
server has started just fine.
If you want the welcome page or, in general, an administration console, you
can download the geronimo-jetty6-javaee5
.
Regards,
Viet Nguyen
On Nov 1, 2007 1:43 PM, Matthew Simmons [EMAIL PROTECTED] wrote:
Gentlemen,
That did it. Just for my own education, why did I need to update via
Subversion? I have talked to people who ran it without doing so. Did I
screw up the POM file or something (that was the only
Hi All,
I am having trouble looking up a DataSource from an EAR containing a
WAR (which is where the lookup takes place) using JNDI. I find it to
be really weird, because I can look up the DataSource fine if I do it
through a JSP page or a servlet. However, when I try to look it up in
portlet
We are currently developing a monitoring and management plugin which
will be able to monitor your instance of Geronimo. However, I do not
think DB Pool Connection statistics have been surfaced yet...
-Viet
Hi Ying,
Try setting the MAVEN_OPTS to -Xmx512m -XX:MaxPermSize=160m
--Viet
You should package your deployable in the form of an EAR instead of a
JAR. Inside the EAR, you can have multiple JARs. You should place your
ejbapp.jar and the jaxrpc*.jar libraries inside this EAR. This way,
the ejbapp.jar will be able to see classes inside jaxrpc*.jar.
--Viet
On Dec 26, 2007
After you have installed the library into Geronimo (you can do this
via the admin console) you can set a dependency in your application.
It is pretty simple, but here is a sample application that has a
dependency on OpenJPA ...
http://cwiki.apache.org/GMOxDOC20/ejb-sample-application.html.
--Viet
On Jan 2, 2008 12:40 PM, jpmlpool [EMAIL PROTECTED] wrote:
Happy New Year !
What I want to do are
(1) when I start Geronimo, MySql server is started automatically by
Geronimo.
(2) I can access MySql, just like now I can access Derby.
(3) if possible, for example, there are two Derbys
- Original Message -
From: Viet Nguyen [EMAIL PROTECTED]
To: user@geronimo.apache.org
Sent: Wednesday, January 02, 2008 12:13 PM
Subject: Re: question about MySql and Geronimo
On Jan 2, 2008 12:40 PM, jpmlpool [EMAIL PROTECTED] wrote:
Happy New Year !
What I want to do are
(1
Hi Sekhar,
Do you mind providing us with the application? I find this to be weird
because I did the same thing that you did (putting the JAR inside the
EAR/lib directory) and it worked.
--Viet
On Jan 18, 2008 12:06 PM, gersek [EMAIL PROTECTED] wrote:
I am trying to deploy an application (EAR
There are some sample applications on our wiki. For a session bean
sample, you might want to take a look at this:
http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.html.
There are other samples there too if you're interested.
Thanks,
Viet
On Jan 23, 2008 5:14 PM, xypher [EMAIL
Maybe ProjectDSP has some security settings on it. Try adding this line to it
properties.setProperty(openejb.authentication.realmName, geronimo-admin);
--Viet
On Jan 24, 2008 7:48 AM, xypher [EMAIL PROTECTED] wrote:
Hi,
thanks a lot, now it works. But not completely
When I'm trying
Hi All,
I have a plugin that pulls in a a JAR file (that is not a j2ee module)
along with some datasources (packaged as a CAR). I want the
datasources to be visible to the classes of the JAR. Is there a way to
configure this?
--Viet
in 2.0.2 however.
Hope this helps
david jencks
On Jan 25, 2008, at 5:29 PM, Viet Nguyen wrote:
Hi David,
I tried the class given at
http://www.nabble.com/How-to-register-a-Datasource-in-GlobalJNDI-
Namespace--to12898127.html#a12902470,
but it does not seem to have bind the datasources
for filtering the name component of the abstract
name in config-substitutions.properties.
thanks
david jencks
On Jan 26, 2008, at 9:08 AM, Viet Nguyen wrote:
Will the changes be made before 2.1 is released, because I need to
access the datasources in my migration to using JMX
Hi Jim,
You will need to deploy the WAR using the admin console or command
line and command is
java -jar ./deployer.jar -u system -p manager deploy path_to_war
Hope this helps,
Viet
On Jan 31, 2008 12:25 PM, Jim Foster [EMAIL PROTECTED] wrote:
Hi Viet,
Thanks for your reply.
I downloaded
,
Viet Nguyen
On Feb 8, 2008 2:32 PM, lucky lance [EMAIL PROTECTED] wrote:
Hi all,
I deployed an EJB3 stateless session bean in geronimo 2.0.2.
Then I try to lookup it via the traditional JNDI.
The code
package foo;
@Remote
public interface MyRemote{
public String getMessage
Hi,
I'm not sure why you deleted the openejb-jar.xml. But I might have
misunderstood. You need to have an openejb-jar.xml deployment
descriptor to in order to surface the MDB. Have a look at this
Geronimo 2.0 sample
http://cwiki.apache.org/GMOxDOC20/jms-and-mdb-sample-application.html
I think
Hi,
It's great to know that you are wanting to use Geronimo. We have the
installation instructions here (although, running it is very simple).
http://cwiki.apache.org/GMOxDOC21/installation-and-configuration.html
The source code actually builds the full and little Geronimo
assemblies. Little G
Can you provide us with the plans that you used? And possibly any
snippets of code.
--Viet
On Fri, Apr 4, 2008 at 10:15 AM, punkymt1 [EMAIL PROTECTED] wrote:
Hi, I did an Enterprise Application using Netbeans and worked well with
Glassfish and Sun App. Server 9 but now when I try to deploy
You also need to specify the security realm in which you want to
authenticate against. Try adding this to your props
props.setProperty(openejb.authentication.realmName,
geronimo-admin);
Regards,
Viet
On Tue, Apr 8, 2008 at 11:38 AM, CG [EMAIL PROTECTED] wrote:
hi, thanks for
Hello,
Try using the attribute 'name' instead of 'mappedName.' We also have a
simple sample application which illustrates what you are doing at
http://cwiki.apache.org/GMOxDOC21/jms-and-mdb-sample-application.html.
Regards,
Viet Nguyen
2008/4/10 Jean-Baptiste [EMAIL PROTECTED]:
Hello
I think the descriptor you are using is out of date. We no longer
specify the configId and parentId in the webapp element. You can use
this sample application as a reference:
http://cwiki.apache.org/GMOxDOC21/web-application-security-sample.html.
The key is
environment
Hello,
Does your EAR contain the two modules that you specified in the DD (ie
tranql-connector and geronimo-activemq)? You need to have those
RAR/JARs and the xml files residing in the top-level directory of your
EAR.
There are sample applications that shows how to do this (e.g.
I'm not sure what your pom looks like, but I suspect you are missing
this key piece in the pom.xml of the EAR.
plugin
artifactIdmaven-ear-plugin/artifactId
configuration
displayNameGeronimo Sample EAR for
Hi,
I will comment inline.
On Fri, May 9, 2008 at 9:59 AM, mrd3650 [EMAIL PROTECTED] wrote:
Hi, I have a problem which cannot solve :S can someone help me please?
Basically i have an enterpriseApplication (EAR+EJB+WAR) I have 2 entitybeans
(Cars and Users)
these are mapped to a mysql
You don't need to set a dependency on the jms-resource*.rar because
you have it defined in your EAR. It is automatically loaded into the
EAR classloader. You only need to set dependencies on something that
is not in your application (e.g. you will need to set a dependency on
the
Hi Mark,
If your mysql-connector is already installed, you just need to set a
dependency on it in your geronimo-web.xml (since it is the geronimo
specific deployment descriptor for a web app). You can do it with
something like this...
ns2:dependency
ns2:groupId__the
If you put the mysql connector jar in the top level of the EAR, you
will not need to set a dependency for it. You can just adjust the pom
to include the connector jar. This way, you just need to deploy the
EAR without previously having the mysql connector installed in
Geronimo.
Hope this helps,
Hi,
I will make comments inline...
On Wed, May 28, 2008 at 8:37 AM, Phani Madgula
[EMAIL PROTECTED] wrote:
Hi,
I was trying to obtain javax.persistence.EntityManager in a web application
as follows.
1. Created persistence.xml in META-INF folder.
Are you sure the persistence.xml is in the
I figure that you would have an EJB app that defines some entity beans
because you have a persistence.xml and you refer to this xml so that
you can get a hold of some Entity Beans via the EntityManagerFactory.
-Viet
It seems like maven cannot delete one of the files (i.e.
UddiDatabase\db.lck). Check to make sure you do not have this file
open while you are executing the build command.
I also noticed that you put Geronimo under
F:/chechouts/geronimo/2.0.1. I recommend that you put Geronimo under a
shorter
I suggest you look at this sample
http://cwiki.apache.org/GMOxDOC21/mytime-very-simple-session-ejb-example.html
or if you like, this one too
http://cwiki.apache.org/GMOxDOC21/myphonebook-very-simple-entity-ejb-example.html
Thanks,
Viet
Congrats Yun Feng
61 matches
Mail list logo