Re: Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1

2012-03-24 Thread sim085
Hi Ivan, sorry for the mistake in code, it is because I re-wrote the example rather then copy and paste it. I confirm endpointName is correct, ejb.IAskQuestionBean. Here is the code: [code] @Stateless @WebService(serviceName="AskQuestionService", name="AskQuestion", endpointInterface="ej

Re: Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1

2012-03-23 Thread sim085
Hi Ivan, first of all thank you for making things more clear. I changed the @WebService annotation on AskQuestionBean to include name="AskQuestion" as follows: [code] @Stateless @WebService(serviceName="AskQuestionService", name="AskQuestion", endpointInterface="ejb.AskQuestionBean") publi

Re: Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1

2012-03-17 Thread sim085
Here is the exception I get when I deploy the ear application containing ejb exposed as web service: 2012-03-17 15:58:51,215 WARN [AdminObjectRefBuilder] Failed to build reference to resource env reference [java:comp/BeanManager, java:comp/Validator, java:comp/ValidatorFactory] defined in plan fi

Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1

2012-03-15 Thread sim085
Hello, I have created a simple web service as follows: [code] package edu.webservice.example.ejb; import javax.ejb.Stateless; import javax.jws.WebService; import javax.jws.WebResult; import javax.jws.WebParam; import javax.jws.WebMethod; import javax.jws.soap.SOAPBinding; @WebService(serviceNam

Re: Is there a place from where I can see the deployed web services?

2011-05-06 Thread sim085
I found the problem; After deployment I was not recieving any error. I then checked the console and found the following exception; [start] 2011-05-06 09:42:07,376 WARN [JAXWSTools] Missing C:\Program Files (x86)\Java\l ib. This may be required for wsgen to run. 2011-05-06 09:42:09,404 ERROR [Wsdl

Re: Is there a place from where I can see the deployed web services?

2011-05-05 Thread sim085
Hi, I uploaded my sample application here; http://dl.dropbox.com/u/27542229/webservice-example.zip I built that with maven, but included the generated ear file just in case. The packaging is quite simple; an ear file that contain a jar file that in turn contains the ejb bean. Once deployed Geronim

Re: Is there a place from where I can see the deployed web services?

2011-05-05 Thread sim085
> the name parameter in the @WebService annotation on this interface btw - forgot to mention this in my previous reply. In the book I am reading there is written that using @WebService on the bean class will force the application server to automatically generate the interface. I am mentioning this

Re: Is there a place from where I can see the deployed web services?

2011-05-04 Thread sim085
I am using the following annotations; @WebService(serviceName="WebServiceExample", name="Echo") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) @Stateless(name = "Echo") This means that the WSDL file should be located at the following url right; http://localhost:8080/WebServiceExample/Echo?wsd

Re: Is there a place from where I can see the deployed web services?

2011-05-03 Thread sim085
Thanks for your reply. My problem is that I am implementing EJB web services (using EJB3.0 annotations). I am packaging this EJB/WebService as a jar file which in turn is packaged as part of an EAR file. I deploy the EAR file and this gets deployed successfully. From Geronimo console > Server > EJB

Is there a place from where I can see the deployed web services?

2011-04-30 Thread sim085
Hello, I created a sample webservice, packaged it and deployed it successfully on Geronimo (I am using version; geronimo-tomcat6-javaee5-2.2.1). Now I would like to see the wsdl file of this webservice. Is there a place from the Geronimo console from where I can see all the deployed webservices and

Re: @PersistenceContext not working

2010-12-31 Thread sim085
Are there any good books about Geronimo which I can buy to help me achieve this? I have no idea what additional files I have missing and what I need to put in these files and why. After two weeks I still did not manage to install this simply ejb jar file. Therefore I think a good book would really

Re: @PersistenceContext not working

2010-12-26 Thread sim085
> Open the description and read it; Thanks. I re-read the description and copied the geronimo-web.xml into my openejb-jar.xml. I read the exceptions I was getting on deployment very carefully and removed the parts it was complaining about. Now I finally managed to deploy my ejb jar file on it's

Re: @PersistenceContext not working

2010-12-24 Thread sim085
> Did you remember to add dependencies .. to openejb-jar.xml Hello, thanks for your reply. After reading your post I created an openejb-jar.xml file. I tried looking on the net to see how exactly to do this, but being my first time I really found it hard to understand what I need to include or n

Re: @PersistenceContext not working

2010-12-22 Thread sim085
Sorry forgot to mention that I did create the MyNoJtaDS and the MyJtaDS. To create these datasources I went to "Database Pools" and used the "Geronimo database pool wizard". -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Re-PersistenceContext-not-working-tp2131727p2

Re: @PersistenceContext not working

2010-12-22 Thread sim085
> @PersistenceContext is for container-managed entity > managers only. The only reason I used transaction-type="RESOURCE_LOCAL" is because transaction-type="JTA" does not seem to work when I deploy the EAR application. As much as I know when transaction-type="JTA" then you need to define the

Re: Geronimo + Derby + Datasource

2010-12-16 Thread sim085
Hello again. I continued to play a little more with datasources and finally managed to create a datasource for PostgreSQL without a lot of problems. I then decided to try to use Derby but not embeded. I downloaded Derby and started the database. I then created the datasource using steps 1 to 4 of

Re: Geronimo + Derby + Datasource

2010-12-16 Thread sim085
Thanks for your reply. > what happens if you start at step 5 and let the connection pool create the > db for > you when you request the first connection, and do steps 4 and 5 from the > run sql window? If I start from step 5 it seems that the database does not get created (I can not see it f

Geronimo + Derby + Datasource

2010-12-16 Thread sim085
Hello, I am trying to create a datasource for an embeded derby database. I have followed several examples on the web but so far I did not manage to get this working. What I did is the following; 1. Goto DB Manager. 2. Create the new Database name "MyDatabase". 3. Create a table in "MyDatabase". 4

Re: Can I make Geronimo work with my own implementation of web server?

2009-09-09 Thread sim085
Quintin Beukes-2 wrote: > > Well, it is quite tricky doing custom protocols. Though I had a vague > plan on implementing SMTP using the same Connector framework. > Thanks Quintin, I'll try to fetch the code I was working on when trying to do this with Tomcat and try to make it work again :) I

Re: Can I make Geronimo work with my own implementation of web server?

2009-09-07 Thread sim085
Quintin Beukes-2 wrote: > > Are you referring to the connector framework of Tomcat? Frankly I > don't see how you can't do what you want with Geronimo+Tomcat. > Hi Quintin, That is what I tried to do a few months ago. What I tried to do is build my own custom protocol handler within Tomcat i

Can I make Geronimo work with my own implementation of web server?

2009-09-06 Thread sim085
framework is not suitable). So my question is can I develop my own web server and if yes where can I read more about this? Regards, Sim085 -- View this message in context: http://www.nabble.com/Can-I-make-Geronimo-work-with-my-own-implementation-of-web-server--tp25320346s134p25320346.html Sent

Re: Deploying a connector module (geronimo-ra.xml problem)

2009-08-21 Thread sim085
> You can use the database and jms wizards in the admin console to > generate plans for the tranql db wrappers and for activemq. They > might be useful prototypes. Thanks, I'll try to generate one in that way. By any chance is there any more documentation on the geronimo-ra.xml file. I am i

Re: Deploying a connector module (geronimo-ra.xml problem)

2009-08-21 Thread sim085
> Can you point to the documentation you looked at? We should fix it. The documentation I am refering to can be found here (first paragraph, second line): http://cwiki.apache.org/GMOxDOC21/geronimo-raxml.html and also here: http://cwiki.apache.org/GMOxDOC22/geronimo-raxml.html > You do need a

Deploying a connector module (geronimo-ra.xml problem)

2009-08-21 Thread sim085
oning this is NOT to compare the two, but rather as assurance that the connector is packaged correctly. Regards, Sim085 -- View this message in context: http://www.nabble.com/Deploying-a-connector-module-%28geronimo-ra.xml-problem%29-tp25077958s134p25077958.html Sent from the Apache Geronimo - Users

Re: Problem subscribing to mailing list

2008-09-24 Thread sim085
Hi, I managed to subscribe using my sim085 account :D I do not know if one of the administrators did something (if so thank you very much). What I did is send an email to unsubscribe - to which I received an email telling me that I was no subscribed. After that I tried to subscribe again and

Re: Problem subscribing to mailing list

2008-09-24 Thread sim085
Hi, Today I tried to subscribe from another hotmail account and everything worked fine. However I still cannot manage to get registered with my sim085 hotmail account :( I think my email address may have become blocked or something like that (maybe because I sent a subscription email without a

Re: Problem subscribing to mailing list

2008-09-23 Thread sim085
Miller wrote: > > > On Sep 23, 2008, at 5:50 AM, sim085 wrote: > >> >> Hi, >> >> I do not know where else I can post this. I have been trying to >> subscribe to >> geronimo user mailing list from yesterday. When I first send an >> email to

Problem subscribing to mailing list

2008-09-23 Thread sim085
Hi, I do not know where else I can post this. I have been trying to subscribe to geronimo user mailing list from yesterday. When I first send an email to user@geronimo.apache.org I got an email telling me that the subject line must be filled. I therefore filled the subject line and sent the email

Re: Problem starting Geronimo

2007-10-29 Thread sim085
Hi, Thanks for your help :) I confirm that it works fine now. However why did I need to re-extract it? Regards, Sim085 Vamsavardhana Reddy-2 wrote: > > I should have mentioned you need to re-extract from the archive. > > ++Vamsi > > On 10/29/07, sim085 <[EM

Re: Problem starting Geronimo

2007-10-29 Thread sim085
It does not seem to be that. I moved the folder geronimo to C: however it still gave me the same error! Regards, Sim085 Vamsavardhana Reddy-2 wrote: > > It may be a problem due to long paths. I suggest you extract the archive > to > c:\. > > ++Vamsi > > On

Problem starting Geronimo

2007-10-29 Thread sim085
:\Program Files\Geronimo-Tomcat\bin> [/console] Does anyone know why this is happening. I tried to search on google and did find some people comming accross this problem, however so far I did not find any solutions. Thanks for any comments, Regards, Sim085 -- View this message in context: