geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Genender" <jgenen...@savoirtech.com>
Subject RE: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL problem
Date Thu, 16 Jun 2005 03:31:46 GMT
The Tomcat that is included with Geronimo is 5.5.9.  I can run Geronimo on
MacOSX, Windows and Linux...with MacOSX being my preferred platform of
choice.

You do not need to install Tomcat seperately...its part of the distribution.
You need to just comment/uncomment the sections in the
j2ee-runtime-deployer-plan.xml and the j2ee-deployer-plan.xml.  Then you
only need to rebuild assembly if you already have a fully built Geronimo.

Then to start Geronimo...use the following:

java -Djava.endorsed.dirs=lib/endorsed -jar bin/server.jar
org/apache/geronimo/Tomcat 

This will start Tomcat with Geronimo.  Don't forget Geronimo is configured
to run Tomcat on port 8090, so don't accidentally go to port 8080.

If you run into issues, follow the wiki, its pretty clear on what you need
to do to get Geronimo running.

Final point, yes, be sure you update Geronimo as I checked in the final
piece to run webservices and EJBs with Tomcat yesterday.

Jeff 

-----Original Message-----
From: Stefan Schmidt [mailto:schmidtitc@gmail.com] 
Sent: Wednesday, June 15, 2005 9:03 PM
To: dev@geronimo.apache.org
Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint WSDL
problem

I am currently checking out the latest code (I assume you have changed a few
things there recently). And the I need to build Geronimo again (a painful
task with all these errors I get there). Hopefully it works this time. Which
Tomcat are you using? I am on Windows, do I install Tomcat separately (and
reference it in /j2ee-server-tomcat-plan.xml)/ or do I put it somewhere into
Geronimo?

Stefan


Jeff Genender wrote:

>Yes of course.   I suspect the error will be the same on the Tomcat side,
>but lets give it a shot.
>
>Jeff
>
>-----Original Message-----
>From: Stefan Schmidt [mailto:schmidtitc@gmail.com]
>Sent: Wednesday, June 15, 2005 7:50 PM
>To: dev@geronimo.apache.org
>Subject: Re: [jira] Commented: (GERONIMO-672) EJB Web Service Endpoint 
>WSDL problem
>
>Hi Jeff,
>
>
>I had a chat with Davic J the other day and he agreed that this is a 
>bug. If you want to test it yourself: the code, descriptors etc are 
>actually taken from the jBoss examples. The only thing you have to do 
>to make it Geronimo complient is to enter a proper <soap:address 
>location in the HelloService.wsdl (if I remember correctly :-). I could 
>also send the hello-ejb.jar to you (it is a simple example with only a 
>session bean - no entity beans - no database). Btw, the same jBoss 
>example running in front of a servlet  (hello-servlet.war) as a JSE runs
smoothly.
>
>Are you still interested in testing Web services in Tomcat?
>
>Regards,
>
>Stefan Schmidt
>
>
>
>Jeff Genender (JIRA) wrote:
>
>  
>
>>   [
>>http://issues.apache.org/jira/browse/GERONIMO-672?page=comments#action
>>_12313782 ]
>>
>>Jeff Genender commented on GERONIMO-672:
>>----------------------------------------
>>
>>Could this be a configuration issue with your webservices.xml or other
>>    
>>
>file?  The error is stating is cannot find the wsdl at 
>ETA-INF/wsdl/HelloService.wsdl.  Note the missing "M".  Should this not 
>be META-INF/wsdl/HelloService.wsdl?
>  
>
>> 
>>
>>    
>>
>>>EJB Web Service Endpoint WSDL problem
>>>-------------------------------------
>>>
>>>        Key: GERONIMO-672
>>>        URL: http://issues.apache.org/jira/browse/GERONIMO-672
>>>    Project: Geronimo
>>>       Type: Bug
>>> Components: webservices
>>>   Versions: 1.0-M4
>>>Environment: Windows XP SP2
>>>   Reporter: Stefan Schmidt
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>>>When trying to read the WSDL file of a deployed EJB Endpoint
>>>      
>>>
>(http://localhost:8080/hello-ejb/Hello?wsdl) I get the following error 
>msg in the geronimo.log:
>  
>
>>>15:49:08,717 DEBUG [HttpServer] Try
>>>HttpContext[/hello-ejb/Hello,null],0
>>>15:49:08,717 WARN  [HttpConnection] GET /hello-ejb/Hello?wsdl 
>>>HTTP/1.1 HttpException(500,Internal Server Error,Could not fetch 
>>>wsdl!)
>>>15:49:08,717 DEBUG [HttpConnection] EXCEPTION 
>>>HttpException(500,Internal Server Error,Could not fetch wsdl!)
>>>	at
>>>      
>>>
>org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebS
>ervic
>eContext.java:139)
>  
>
>>>	at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>>>	at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
>>>	at
>>>      
>>>
>org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
>  
>
>>>	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
>>>	at
>>>      
>>>
>org.mortbay.http.SocketListener.handleConnection(SocketListener.java:24
>4)
>  
>
>>>	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>>>	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>>>Caused by: java.lang.IllegalStateException: No wsdl or schema known 
>>>at
>>>      
>>>
>location: ETA-INF/wsdl/HelloService.wsdl
>  
>
>>>	at
>>>      
>>>
>org.apache.geronimo.axis.server.AxisWebServiceContainer.getWsdl(AxisWeb
>Servi
>ceContainer.java:253)
>  
>
>>>	at
>>>      
>>>
>org.apache.geronimo.jetty.JettyEJBWebServiceContext.handle(JettyEJBWebS
>ervic
>eContext.java:134)
>  
>
>>>	... 7 more
>>>15:49:08,717 DEBUG [HttpConnection] RESPONSE:
>>>HTTP/1.1 500 Internal Server Error
>>>Date: Mon, 13 Jun 2005 05:49:08 GMT
>>>Server: Jetty/5.1.4rc0 (Windows XP/5.1 x86 java/1.4.2_08
>>>Connection: close
>>>The hello-ejb.jar EJB is a simple example taken from jBoss 4 WS examples.
>>>Stefan Schmidt
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>
>
>
>  
>



Mime
View raw message