Re: override persistence.xml in geronimo plan

2008-06-21 Thread Phani Madgula
8 at 9:07 AM, Phani Madgula > <[EMAIL PROTECTED]> wrote: > > > I saw a related JIRA created for this issue. Can you explain what can be > > overridden in geronimo plan and how? Is it for only and > > ?? > > https://issues.apache.org/jira/browse/GERONIMO-3308

override persistence.xml in geronimo plan

2008-06-19 Thread Phani Madgula
Hi, I saw a related JIRA created for this issue. Can you explain what can be overridden in geronimo plan and how? Is it for only and ?? https://issues.apache.org/jira/browse/GERONIMO-3308 Thanks Phani

Re: JPA transactions

2008-06-16 Thread Phani Madgula
> > On Jun 16, 2008, at 5:21 AM, Phani Madgula wrote: > > Hi, > > I tried to create a application managed entity manager as follows. > > persistence.xml > --- > > http://java.sun.com/xml/ns/persistence"; > xmlns:xsi="h

JPA transactions

2008-06-16 Thread Phani Madgula
Hi, I tried to create a application managed entity manager as follows. persistence.xml --- http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0" xsi:schemaLocation="http://java.sun.com/xml

Re: JPA, entities and EJB3

2008-06-12 Thread Phani Madgula
e last update in the method (to 7000) misses. Thanks Phani * On Thu, Jun 12, 2008 at 7:44 AM, David Blevins <[EMAIL PROTECTED]> wrote: > > > On Jun 9, 2008, at 1:43 AM, Phani Madgula wrote: > > Hi, >> I have tried to play with and as >> follows. >>

Re: JPA, entities and EJB3

2008-06-10 Thread Phani Madgula
enarios come into play in real world applications. But I do understand ContainerManaged EM + JTA and ApplicationManaged EM + RESOURCE_LOCAL combinations. Request clarification on other combinations?? Thanks Phani On Tue, Jun 10, 2008 at 9:23 AM, Phani Madgula < [EMAIL PROTECTED]> wrote: > Thanks f

Re: JPA, entities and EJB3

2008-06-09 Thread Phani Madgula
here are a bunch of examples in section 5.7 > that all use @PersistenceUnit. > > Also hoping for clarification > david jencks > > On Jun 9, 2008, at 1:43 AM, Phani Madgula wrote: > > Hi, > I have tried to play with and as > follows. > > I have the following per

Re: JPA, entities and EJB3

2008-06-09 Thread Phani Madgula
Hi, I have tried to play with and as follows. I have the following peristence.xml in a web application. *** http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.

Re: Trying to create EntityManager in web application

2008-06-03 Thread Phani Madgula
Thanks Jacek. On 6/3/08, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > On Tue, Jun 3, 2008 at 11:52 AM, Phani Madgula > <[EMAIL PROTECTED]> wrote: > >> I was able to inject EntityManager in a servlet class by placing >> META-INF/persistence.xml in WEB-I

Re: Trying to create EntityManager in web application

2008-06-03 Thread Phani Madgula
Hi, I was able to inject EntityManager in a servlet class by placing META-INF/persistence.xml in WEB-INF/classes. Only when META-INF/peristence.xml is placed in WEB-INF/classes does the web application is able to read the persistence.xml (application classloader is able to find it). I felt it's q

Re: Trying to create EntityManager in web application

2008-05-28 Thread Phani Madgula
, 2008 at 6:52 PM, Viet Nguyen <[EMAIL PROTECTED]> wrote: > 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

Trying to create EntityManager in web application

2008-05-28 Thread Phani Madgula
Hi, I was trying to obtain javax.persistence.EntityManager in a web application as follows. 1. Created persistence.xml in META-INF folder. __ http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0"

Re: JPA Problem

2008-05-08 Thread Phani Madgula
cess). > > I have never used field access in OpenJPA, so I don't know if you are > supposed to need to use setters. > > This is probably something that should be brought up on the OpenJPA lists. > > Do you want to, or should I? > > > Jay > > Phani Madgula wrot

Re: JPA Problem

2008-05-08 Thread Phani Madgula
umber); account.balance += amount; System.out.println("New balance="+account.balance); manager.merge(account); } ____ Can somebody throw some light on this issue?? Thanks Phani On T

Re: JPA Problem

2008-05-07 Thread Phani Madgula
After the step (4), please insert a row in the account table as follows. "insert into account values (1, 'Owner Name1', 500, 1);" Thanks Phani B madgula On Thu, May 8, 2008 at 10:14 AM, Phani Madgula < [EMAIL PROTECTED]> wrote: > Hi Jay, > I have not

Re: JPA Problem

2008-05-07 Thread Phani Madgula
container managed persistence - then you > need to get a UserTransaction and begin/commit it to have your account > balance change in your database. > > Hope that helps, > > Jay > > > Phani Madgula wrote: > > > Hi, > > > > I got past the above error

Re: JPA Problem

2008-05-07 Thread Phani Madgula
p://www.w3.org/2001/XMLSchema-instance"; version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";> Bank example org.apache.openjpa.persistence.PersistenceProviderImpl sample.jpa.Account

JPA Problem

2008-05-06 Thread Phani Madgula
Hi, I have an EJB application using JPA and a web application looking up ejbs in EJB application. I am able to deploy both the applications on AG2.1 server. But when I hit the servlet, I get the following error in the console. * Message: The bean encountered a non-application exception.; neste

Deployment plans

2008-04-25 Thread Phani Madgula
Hi, We have an enterprise application archive that has several submodules (WAR,JAR and RAR) within it. If we provide module level geronimo deployment plans as well as a geronimo-application.xml plan for entire application, how is the order of the precedence?? Can a Geronimo user provide plan at t

Re: JEE application client

2008-04-16 Thread Phani Madgula
nvironments. Copied the interface class into JEE client jar. The desirable option should be to have JEE client module to be able to access the classes in the EAR file through dependency. Any comments?? Thanks for help. Thanks Phani B Madgula On Thu, Apr 17, 2008 at 10:36 AM, Phani Madgula <

Re: JEE application client

2008-04-16 Thread Phani Madgula
Any idea why the below error is thrown by the server?? On Wed, Apr 16, 2008 at 2:28 PM, Phani Madgula < [EMAIL PROTECTED]> wrote: > Hi, > > I could get past the previous error (Error: Unable to distribute > ConverterEJBClient.jar: Cannot deploy the requested application m

Re: JEE application client

2008-04-15 Thread Phani Madgula
y not what you want. We used to have > client-environment and server-environment elements so you could indicate > where you wanted the dependency but I'm not sure what happened to them. > > thanks > david jencks > > On Apr 15, 2008, at 3:59 AM, Phani Madgula wrote: &

JEE application client

2008-04-15 Thread Phani Madgula
Hi I am trying to deploy a JEE application client as follows. *application-client.xml * http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application-cli

Re: Getting an Exception while creating JMS deployment plan through console.

2008-03-21 Thread Phani Madgula
Hi Jarek, Thanks for the fix. Thanks Phani B Madgula On Fri, Mar 21, 2008 at 12:53 AM, Jarek Gawor <[EMAIL PROTECTED]> wrote: > This IllegalArgumentException problem is fixed now and will be part of > the 2.1.1 release. > > Jarek > > On Thu, Mar 20, 2008 at 12:40 AM,

Getting an Exception while creating JMS deployment plan through console.

2008-03-19 Thread Phani Madgula
Hi I am using AG2.1 for creating & deploying a JMS resource plan using admin console. I am using WinXP SP2. First I tried to create the plan using IE 7 but hit the problem mentioned in the JIRA -->GERONIMO-3599. Then I switched to FireFox and I

JavaMail support in AG

2006-06-21 Thread Phani Madgula
Hi,   AG1.0 uses JavaMail1.3. What is current roadmap of javaMail support in AG? I mean, what versions of JavaMail are supported in future versions of AG?   Thanks & Regards Phani

ConcurrentModificationException while starting AG1.1

2006-05-08 Thread Phani Madgula
Hi, I am getting the following exception, quite unfrequently, may be once in 25 times, while starting AG1.1 jvm 1| 08:24:25,762 ERROR [Registry] Error registering Geronimo:type=Request Processor,worker=http-localhost%2F127.0.0.1-8453,name=HttpRequest0 jvm 1| java.util.ConcurrentModificat

Bind JNDI entries in RMI registry

2006-04-11 Thread Phani Madgula
Hi,   I have an application that uses JNDI to store some values and access them in servlets. How do we do it in Geronimo. Can we access RMI registry using JNDI API and bind any values there?   Thanks phani

Re: Dynamic Query

2006-02-27 Thread Phani Madgula
Hi Gianny,   Thanks for info.   I understand following from the Query engine.   1. As a first step, we will have a query engine that allows only standard EJB-QL. No additional capabilities.   2. From the tags mentioned in your previous mail, ModuleCMPEngine will be part of DayTrader application? M

ActiveMQ client not able to send message to destination in Tx session

2006-02-27 Thread Phani Madgula
Hi,   Today, I observed the following when I was trying to port my MDBs on Geronimo.      Session session = connection.createQueueSession(true,0);   Queue queue = session.createQueue("PhaniQueue1");   MessageProducer sender = session.createProducer(queue);   TextMessage message = session.createTex

Re: Dynamic Query

2006-02-23 Thread Phani Madgula
Hi Gianny,   I just want to know more about this feature.   Is it something like AG providing an API for CMP clients to execute EJBQL statements at runtime?.   If yes, what kind of queries we can execute? are query capabilities extended?   For example, currently EJB-QL does not allow multiple expr

Build Problem

2006-02-15 Thread Phani Madgula
Hi..   I am getting this problem due to dependency on the below jar file.   How can I resolve the issue?   BUILD FAILEDFile.. C:\geronimo\maven.xmlElement... maven:reactorLine.. 58Column 112The build cannot continue because of the following unsatisfied dependency: geronimo-j2ee_1.4_spe

Re: WEBSERVICES problem

2006-02-05 Thread Phani Madgula
you might try adding a web-service-address element to your EJB configuration inopenejb-jar.xml and see if you can provide an explicit value therethat might override the auto-generated one with the extra slash.(Also, of course, make sure you don't have a web-service-address there already t

WEBSERVICES problem

2006-02-05 Thread Phani Madgula
Hi   I have deployed a WEBSERVICE implemented using an EJB, and facing a problem while accessing through Dynamic Proxy client. The client is as follows.       String urlstr   =  "http://localhost:8080/TestEJB/Hello?wsdl"; String argument =  "phani";     System.out.println

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-30 Thread Phani Madgula
ication. With declarative security management, I guess, current application login implementation must consider MD5/SHA also.   If the above points are valid, we can have a JIRA on this..?     Thanks phani   On 1/27/06, Phani Madgula <[EMAIL PROTECTED]> wrote: Hi Hernan/Aaron   The following

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-27 Thread Phani Madgula
   Hernan> > Hernan Cunico wrote:>  >>  >> Hi Phani,>  >> sorry for the delay in the reply. I am having some issues too while>  >> validating the user.>  >> Maybe you arlready replied this in a previous note but,

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-25 Thread Phani Madgula
sion >> of Geronimo are you using?>>>> Cheers!>> Hernan>>>> Phani Madgula wrote:>>>>> Hi Hernan,>>>>>> Thanks for the link. It is quite helpful & informative. >>>>>> I did similar operations, as specified i

Re: Shutdown problem

2006-01-23 Thread Phani Madgula
efaults to operating on a Geronimo server running on the    standard port on localhost.   A URI to connect to Geronimo (including optional host and port   parameters) has the form: deployer:geronimo:jmx[://host[:port]]   (though you could also just use --host and --port instead).

Re: Shutdown problem

2006-01-23 Thread Phani Madgula
/06, Manu George <[EMAIL PROTECTED] > wrote: Hi Phani,  You need to specify the port or the Shutdown command will default to the port 1099. The command is java -jar bin/shutdown.jar --user system --password manager --port 1099RegardsManu On 1/23/06, Phani Madgula < [EMAIL

Re: Shutdown problem

2006-01-22 Thread Phani Madgula
other changes required?..   On 1/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: you haven't made changes proper while starting up...    Phani Madgula< phanibalaji.madg[EMAIL PROTECTED]>  

Shutdown problem

2006-01-22 Thread Phani Madgula
Hi,   This is just for information sake. I guess, it is a problem too..   When I start the server on a non-default RMI port[], and try to shutdown using "shutdown" command, it is not shutting down. It is saying   C:\IBM\geronimo-1.0\bin>shutdownUsing GERONIMO_BASE:   C:\IBM\geronimo-1.0Using G

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-20 Thread Phani Madgula
Hi Hernan,   Thanks for the link. It is quite helpful & informative.   I did similar operations, as specified in my previous mail, by deploying the sample application given in the article.    I added a new user user3/pass123 in "ou=users, ou=system" in Directory server, and in geronimo-web.xml I a

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-20 Thread Phani Madgula
efRoot uid=admin,ou=systemsn=administratorobjectClass=inetOrgPersonobjectClass=organizationalPersonobjectClass=personobjectClass=topcn=system administratoruid=adminuserPassword=secretdisplayName=Directory Superuser   Bye. Phani Madgula <[EMAIL PROTECTED]> escribió: Hi   I am facing a problem while

How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-19 Thread Phani Madgula
Hi   I am facing a problem while connecting to LDAP server from an LDAP client. I have installed Softerra LDAP browser and tried to connect to LDAP server running on Geronimo.   I always get "Can not connect to the LDAP server : ERROR 91".   Any solution?   thanks phani

Why do we need /lib/extension folder?

2006-01-19 Thread Phani Madgula
Hi,   I have question. I want to know the purpose of /lib/extension folder. I placed some jars in the above said folder,  and try to access the classes in them in some applications deployed. But not able to access any..!   Thanks phani      

RMI at different port

2006-01-19 Thread Phani Madgula
Hi   I am trying to port an application on Geronimo.   I configured server for a different RMI port say and successfully started it. My config.xml is as follows. I changed only two configurations related to RMI naming and JMX.               rmi://0.0.0.0:         

The Documentation problem

2006-01-11 Thread Phani Madgula
Hi   I was going through the documentation that comes with AG1.0 and on the page where it explains about different LOGVIWER portlets, it says "The Reset link on the upper left corner will reset any filtering criteria you may have specified to the Geronimo Administration Console's defaults and will

A new TCP listener for ActiveMQ is not shown across server startups

2006-01-11 Thread Phani Madgula
Hi I am facing a problem while creating a new TCP listener for ActiveMQ through console.      When we click on "Add new tcp listener" on  "JMS Network Listeners" portlet, console asks for details of listener and when submitted   with proper values, it creates a TCP listener and starts it.    But, w

Question on Server Log settings

2006-01-11 Thread Phani Madgula
Hi   I have a question on Server log settings.   Documentation says about Server Log Viewer as follows.    "The File pull-down menu allows you to select the log file to view. The logs listed in this pull-down menu are ruled by the    Configuration File (server-log4j.properties by default) specified

How do I get source dumped when run in DEBUG mode

2006-01-09 Thread Phani Madgula
Hi   I started Geronimo1.0 in JDB DEBUG mode using geronimo DEBUG command. I am able to observe thread stackspace, classes loaded and etc. However, when I type "list" command to list the java source of the class where the break point is set, it is saying "Source file not found: HelloWorldExample.j

A Deployer issue

2005-12-02 Thread phani Madgula
Hi   I am new to user list. I have a question on deployer. If we deploy two web applications with same web context, deployer says that both are successfullydeployed. However, if we see the server log, it says that the second application is not deployed at all. My question is there any way to make