Re: Using JNDI in axis 2 web service in tomcat

2008-11-10 Thread Leif Olson
Hi Hakon,
Do you reference "workflowdb" a bean property for Spring injection somewhere in 
your codebase? For instance one might expect an applicationContext for data 
source that includes something like:

  


  

Leif

--- On Mon, 11/10/08, Håkon Sagehaug <[EMAIL PROTECTED]> wrote:

> From: Håkon Sagehaug <[EMAIL PROTECTED]>
> Subject: Re: Using JNDI in axis 2 web service in tomcat
> To: axis-user@ws.apache.org
> Date: Monday, November 10, 2008, 3:45 AM
> Hi
> 
> Any hnit on how to solve this issue
> 
> Håkon
> 
> 2008/11/6 Håkon Sagehaug
> <[EMAIL PROTECTED]>
> 
> > Hi
> >
> > I'm trying to use a jndi datasource in a web
> service that runs in axis2
> > under tomcat. Here in my configuration of the context
> element inside
> > /conf/server.xml
> >
> >   docbase="axis2" reloadable="true"
> > crossContext="true" 
> cachingAllowed="false">
> >
> >  auth="Container"
> > type="javax.sql.DataSource"
> >   maxActive="5"
> maxIdle="2" maxWait="1000"
> > removeAbandoned="true" 
> removeAbandonedTimeout="60"
> >   username="user"
> password="password"
> > driverClassName="org.postgresql.Driver"
> >  
> url="jdbc:postgresql://hostname/Workflows" />
> >
> > 
> >
> > I've got the same for a web app, just path and
> docbase attribute is
> > different for a web app, and this works fine, so but
> when I call the web
> > service I get this response
> >
> >
> > A connection could not be obtained for driver class
> "javax.sql.DataSource"
> > and URL "null".  You may have specified an
> invalid URL.
> >
> > So I guess the web service or axis servlet does not
> see the configuration,
> >
> > Any tips how to solve this??
> >
> > Håkon
> >
> > --
> > Håkon Sagehaug, Software Developer
> > Parallab, Bergen Center for Computational Science
> (BCCS)
> > UNIFOB AS (University of Bergen Research Company)
> >
> 
> 
> 
> -- 
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] WSDL2Java ignores wsdl:documentation tag

2008-11-03 Thread Leif Olson
Hi,
We would like to add comments that appear as javadoc comments in the source 
generated when we run WSDL2Java on our wsdl file.  Currently, the only javadoc 
comments that appear are auto generated.  Any wsdl:documentation tagged 
comments I add to our axis2 wsdl file do not appear in the generated source. 
For example:

  
comment1 is ignored
  
  comment2 is ignored
  
  comment3 is ignored

  
  

  
  

  
  

  
  

  


Is there another tag we should be using or certain option argument that should 
also be used when running WSDL2Java?

Thanks,
Leif


  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]