Re: Getting a reference to a remote EJB

2006-09-05 Thread Arunanthisivam Vimalathithen
Hi,

Yes, I have done all this (parent ear being deployed and started, indicated as parent through the parent ID, etc) and experimented with the EJb syntax as well, but all of that does not seem to be working.

- Vimalan
On 9/5/06, Kanchana Welagedara [EMAIL PROTECTED] wrote:

If you want to set EAR one to be a parent of (G 1.0) or dependency of (G 1.1)EAR two. That should ensure that EAR  
one is started first and that theEJB classes in EAR  one are exposed to the components running in EAR 
two.So the first step is to configure the parent or dependency tomake sure the classes are there, did u do more experimentation to get the EJB reference syntax right.
On 9/5/06, Lasantha Ranaweera  [EMAIL PROTECTED]
 wrote: 


Hi Vimalan,This is a problem in the Geronimo 1.1 version. According to the community it did work for Geronimo 1.0 and not with 1.1. They are hoping to fix this issue in v 1.1.1
. If I am wrong hope somebody in community will correct me.I haven't come across version as you mentioned in Geronimo. Can you please explain how did you get this version of Geronimo ?Regards,Lasantha Ranaweera
Arunanthisivam Vimalathithen wrote: 

Hi Lasantha,

Many thanksfor your feedback on the MDB problem. I hope you can provide me insight to another problem I am facing. I need to get a reference to a remote EJB deployed in one EAR from another EJB deployed in another EAR. I have tried adding a target-name tag in the ejb-ref tag in the 
openejb-jar.xml and refered to the GBean to identify the EJB but that also fails. However deployment proceeds properly if I pakage the jar containing the EJB in the same EAR. I am using geronimo 
1.0.1.2 .

Thanks and regards,

Vimalan


Re: Geronimo eclipse WTP plugin

2006-09-05 Thread Sachin Patel
The "server" plugin and the "adapter (wtp plugin)" are in 2 different features and the adapter feature does not require the server plugin.  The Geronimo server runtime wizard provides a mechanism to download the full server from within the wizard if you do not already have a local copy installed.  As far as the "Could not download and install update feature" in your logs, its likely due to a bad mirror and choosing a different mirror location should resolve the problem".On Sep 5, 2006, at 1:16 AM, D. Strauss wrote:Hello, Raj1.) Of course, you should NOT download the whole server again :) As faras I know the update manager should give you 2 items: the WTP plugin andthe server. As long as you have a running Geronimo installation, forgetabout downloading the server :P Do you see the Eclipse WTP plugin?2.) I had the same problem that this "Click here" didn't work :/however, downloading the plugin itself and storing it into an eclipseplugin dir saved me from downloading this file again and again. And Ihad my "Apache Geronimo 1.1" server runtime in eclipse.Let us know whether you have the WTP item in your update manager or not.Best regardsDirkRaj Saini schrieb: Hi Dirk,I managed to install the plugin from a mirror and it is a not a problem.Problems are:1. When I try to install the Geronimo plugin while adding the server andclicking on the link "Don't see your server listed? Click here" does notwork.2. When install the plugin from a mirror through update manager, itdownloads the  complete Geronimo distribution of more then 35mb. Why doI need to download complete Geronimo distribution while i just need theeclipse plugin?Regards,Raj*/"D. Strauss" [EMAIL PROTECTED]/* wrote:    Hello, Raj    AFAIK you need to grab the feature from a mirror. At least I didn't    encounter any problems doing so :/    Best regards    Dirk    Raj Saini schrieb: Hi,I have been trying to install the Geronimo Eclipse WTP plugin in     Eclipse 3.2. Clicking on "Don't see your server listed? Click here" link,     starts the install process but fails after the license notice (when it     tries to download the actually jar files).Looking at the logs, I found tht update site does not have features.However, when I tried to install the plugin through update manages, itstarted downloading the complete geronimo server (size around 35 MB).Eclipse log stack trace:Eclipse log stack trace is appended below.!ENTRY org.eclipse.update.core 4 0 2006-09-01 15:12:48.558!MESSAGE Featureorg.apache.geronimo.featureorg.apache.geronimo.featurecannot be foundonhttp://apache.tradebit.com/pub/geronimo/eclipse/updates/or a newer version is already installed.!ENTRY org.eclipse.wst.server.core 4 0 2006-09-01 15:12:48.558!MESSAGE Error occurred installing server: Could not download andinstall update feature.!STACK 1org.eclipse.core.runtime.CoreException: Could not download and installupdate feature.at     org.eclipse.wst.server.core.internal.InstallableServer.install(InstallableServer.java:166) at     org.eclipse.wst.server.ui.internal.wizard.NewInstallableServerWizard$5.run(NewInstallableServerWizard.java:120) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)!SUBENTRY 1 org.eclipse.wst.server.core 4 0 2006-09-01 15:12:48.574!MESSAGE Could not download and install update feature.Regards,Raj Saini   -sachin 

Re: JavaMail and Geronimo 1.0

2006-09-05 Thread Rick McGuire
The Javamail code in Geronimo 1.0 is a very incomplete implementation. 
If at all possible, upgrade to Geronimo 1.1. I suspect this will fix 
your problem. If it does not, then try setting the mail.debug session 
property to true and send the debug information to this list. I should 
be able to sort out what's failing from the debug information.


If you're unable to upgrade to 1.1 at this time, you might try replacing 
the javamail spec an javamail-transport jars in the 1.0 assembly with 
the ones pulled from the Geronimo 1.1 builds (renaming them to the names 
used in the 1.0 repository).


Rick

Sunny Saxena wrote:


Hello,

I have an application which uses Sun’s JavaMail implementation to send 
mails. The code works absolutely fine independently, and even when 
deployed in Geronimo there are no exceptions thrown – neither on the 
console or in the logs, but the mail is simply not sent. I have read 
various such posts on the mailing list, but cant get this solved.


*Thanks and Regards,*

*Sunny Saxena*

*SOA and Web Services CoE| SETLabs | Hyderabad*

Phone: [deleted] |Ext: 48444

/Any kiddie in school can love like a fool; But hating, my boy, is an 
art.///


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended 
solely for the use of the addressee(s). If you are not the intended 
recipient, please notify the sender by e-mail and delete the original 
message. Further, you are not to copy, disclose, or distribute this 
e-mail or its contents to any other person and any such actions are 
unlawful. This e-mail may contain viruses. Infosys has taken every 
reasonable precaution to minimize this risk, but is not liable for any 
damage you may sustain as a result of any virus in this e-mail. You 
should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the 
content of all messages sent to or from this e-mail address. Messages 
sent to or from this e-mail address may be stored on the Infosys 
e-mail system.

***INFOSYS End of Disclaimer INFOSYS***





Re: Getting a reference to a remote EJB

2006-09-05 Thread Jay D. McHugh

Lasantha Ranaweera wrote:

Hi Vimalan,

This is a problem in the Geronimo 1.1 version. According to the 
community it did work for Geronimo 1.0 and not with 1.1. They are 
hoping to fix this issue in v 1.1.1. If I am wrong hope somebody in 
community will correct me.


I haven't come across version as you mentioned in Geronimo. Can you 
please explain how did you get this version of Geronimo ?


Regards,
Lasantha Ranaweera

Arunanthisivam Vimalathithen wrote:

Hi Lasantha,
 
Many thanks for your feedback on the MDB problem. I hope you can 
provide me insight to another problem I am facing. I need to get a 
reference to a remote EJB deployed in one EAR from another EJB 
deployed in another EAR. I have tried adding a target-name tag in the 
ejb-ref tag in the openejb-jar.xml and refered to the GBean to 
identify the EJB but that also fails. However deployment proceeds 
properly if I pakage the jar containing the EJB in the same EAR. I am 
using geronimo 1.0.1.2 http://1.0.1.2.
 
Thanks and regards,
 
Vimalan


That looks like the version for WebSphere Community Edition.  It is 
based on Geronimo 1.0.


Jay