Re: [Geotools-gt2-users] - Geotools on web services

2007-02-16 Thread Justin Deoliveira
Hi Fabio,

A couple of questions. Are you parsing filter 1.0, or filter 1.1. Can 
you show me the code you are using to initalize the parser. Are you 
using the OGCConfiguration class? Also which version are you working from?

Thanks,

-Justin

Fabio Luiz Leite wrote:
 Hi people, I would like to know if anyone uses geotools with web 
 services and has dependency problems with picoconteiner. I'm trying to 
 deploy a web service that uses geotools api for parsing of filters, but 
 I'm getting the following error:
 
 JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught exception 
 while handling request: 
 _org.picocontainer.defaults.UnsatisfiableDependenciesException _: 
 org.geotools.filter.v1_0.OGCFilterTypeBinding has unsatisfied 
 dependency: interface org.opengis.filter.FilterFactory2 among 
 unsatisfiable dependencies: [[interface 
 org.opengis.filter.FilterFactory2]] where 
 [EMAIL PROTECTED] was the leaf 
 container being asked for dependencies.)
  
 
 Could someone help me ?
 
  
 
 Thanks in advance.
 
 
 
 -- 
 Fábio Luiz Leite Júnior !DSPAM:1004,45d5b4ca113971194215290!
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 !DSPAM:1004,45d5b4ca113971194215290!
 
 
 
 
 ___
 Geotools-gt2-users mailing list
 Geotools-gt2-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
 
 
 !DSPAM:1004,45d5b4ca113971194215290!


-- 
Justin Deoliveira
[EMAIL PROTECTED]
The Open Planning Project
http://topp.openplans.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


Re: [Geotools-gt2-users] - Geotools on web services

2007-02-16 Thread Fabio Luiz Leite

Hi Justin,
Well, i am using parsing filter 1.0. Yes, i am using the
OGCConfiguration class and the version that I am using is 2.4. Follows the
soucer code:


//Some imports

import org.geotools.filter.v1_0.OGCConfiguration;
import org.geotools.xml.Parser;
import org.opengis.filter.Filter;

InputStream xml = new StringInputStream(xmlOgcFilter);
org.geotools.xml.Configuration configuration = new OGCConfiguration();
org.geotools.xml.Parser parser = new Parser( configuration );

   //parse
   Filter filter = null;
   try {
   filter = (Filter) parser.parse(xml);
   } catch (IOException e) {
   e.printStackTrace();
   } catch (SAXException e) {
   e.printStackTrace();
   } catch (ParserConfigurationException e) {
   e.printStackTrace();
   }

On 2/16/07, Justin Deoliveira [EMAIL PROTECTED] wrote:


Hi Fabio,

A couple of questions. Are you parsing filter 1.0, or filter 1.1. Can
you show me the code you are using to initalize the parser. Are you
using the OGCConfiguration class? Also which version are you working from?

Thanks,

-Justin

Fabio Luiz Leite wrote:
 Hi people, I would like to know if anyone uses geotools with web
 services and has dependency problems with picoconteiner. I'm trying to
 deploy a web service that uses geotools api for parsing of filters, but
 I'm getting the following error:

 JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught exception
 while handling request:
 _org.picocontainer.defaults.UnsatisfiableDependenciesException _:
 org.geotools.filter.v1_0.OGCFilterTypeBinding has unsatisfied
 dependency: interface org.opengis.filter.FilterFactory2 among
 unsatisfiable dependencies: [[interface
 org.opengis.filter.FilterFactory2]] where
 [EMAIL PROTECTED] was the leaf
 container being asked for dependencies.)


 Could someone help me ?



 Thanks in advance.



 --
 Fábio Luiz Leite Júnior !DSPAM:1004,45d5b4ca113971194215290!


 


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 !DSPAM:1004,45d5b4ca113971194215290!


 

 ___
 Geotools-gt2-users mailing list
 Geotools-gt2-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


 !DSPAM:1004,45d5b4ca113971194215290!


--
Justin Deoliveira
[EMAIL PROTECTED]
The Open Planning Project
http://topp.openplans.org





--
Fábio Luiz Leite Júnior
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


Re: [Geotools-gt2-users] - Geotools on web services

2007-02-16 Thread Fabio Luiz Leite

It is important to say that the source code works well in desktop
application (Junit test), but when I try to do the deployment in sun
application server, it's occurs the error.

On 2/16/07, Fabio Luiz Leite [EMAIL PROTECTED] wrote:


Hi Justin,
 Well, i am using parsing filter 1.0. Yes, i am using the
OGCConfiguration class and the version that I am using is 2.4. Follows the
soucer code:


//Some imports

import org.geotools.filter.v1_0.OGCConfiguration ;
import org.geotools.xml.Parser;
import org.opengis.filter.Filter;

InputStream xml = new StringInputStream(xmlOgcFilter);
org.geotools.xml.Configuration configuration = new OGCConfiguration();
org.geotools.xml.Parser parser = new Parser( configuration );

//parse
Filter filter = null;
try {
filter = (Filter) parser.parse(xml);
} catch (IOException e) {
e.printStackTrace();
} catch (SAXException e) {
e.printStackTrace();
} catch (ParserConfigurationException e) {
e.printStackTrace();
}

On 2/16/07, Justin Deoliveira [EMAIL PROTECTED] wrote:

 Hi Fabio,

 A couple of questions. Are you parsing filter 1.0, or filter 1.1. Can
 you show me the code you are using to initalize the parser. Are you
 using the OGCConfiguration class? Also which version are you working
 from?

 Thanks,

 -Justin

 Fabio Luiz Leite wrote:
  Hi people, I would like to know if anyone uses geotools with web
  services and has dependency problems with picoconteiner. I'm trying to
  deploy a web service that uses geotools api for parsing of filters,
 but
  I'm getting the following error:
 
  JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught exception
  while handling request:
  _org.picocontainer.defaults.UnsatisfiableDependenciesException _:
  org.geotools.filter.v1_0.OGCFilterTypeBinding has unsatisfied
  dependency: interface org.opengis.filter.FilterFactory2 among
  unsatisfiable dependencies: [[interface
  org.opengis.filter.FilterFactory2]] where
  [EMAIL PROTECTED] was the leaf
  container being asked for dependencies.)
 
 
  Could someone help me ?
 
 
 
  Thanks in advance.
 
 
 
  --
  Fábio Luiz Leite Júnior !DSPAM:1004,45d5b4ca113971194215290!
 
 
 
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 
  !DSPAM:1004,45d5b4ca113971194215290!
 
 
 
 
 
  ___
  Geotools-gt2-users mailing list
  Geotools-gt2-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
 
 
  !DSPAM:1004,45d5b4ca113971194215290!


 --
 Justin Deoliveira
 [EMAIL PROTECTED]
 The Open Planning Project
 http://topp.openplans.org




--
Fábio Luiz Leite Júnior





--
Fábio Luiz Leite Júnior
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


Re: [Geotools-gt2-users] - Geotools on web services

2007-02-16 Thread Justin Deoliveira
Hmm, very interesting indeed. Can you send me a full stack trace, or any 
logs that you might get will trying to run this code on your app server.

Thanks.

-Justin

Fabio Luiz Leite wrote:
 It is important to say that the source code works well in desktop 
 application (Junit test), but when I try to do the deployment in sun 
 application server, it's occurs the error.
 
 
 On 2/16/07, *Fabio Luiz Leite* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Hi Justin,
  Well, i am using parsing filter 1.0. Yes, i am using
 the OGCConfiguration class and the version that I am using is 2.4.
 Follows the soucer code:
 
 
 //Some imports
 
 import org.geotools.filter.v1_0.OGCConfiguration ;
 import org.geotools.xml.Parser;
 import org.opengis.filter.Filter;
 
 InputStream xml = new StringInputStream(xmlOgcFilter);
 org.geotools.xml.Configuration configuration = new OGCConfiguration();
 org.geotools.xml.Parser parser = new Parser( configuration );

 //parse
 Filter filter = null;
 try {
 filter = (Filter) parser.parse(xml);
 } catch (IOException e) {
 e.printStackTrace();
 } catch (SAXException e) {
 e.printStackTrace();
 } catch (ParserConfigurationException e) {
 e.printStackTrace();
 
 }
 
 On 2/16/07, *Justin Deoliveira* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Hi Fabio,
 
 A couple of questions. Are you parsing filter 1.0, or filter
 1.1. Can
 you show me the code you are using to initalize the parser. Are you
 using the OGCConfiguration class? Also which version are you
 working from?
 
 Thanks,
 
 -Justin
 
 Fabio Luiz Leite wrote:
   Hi people, I would like to know if anyone uses geotools with web
   services and has dependency problems with picoconteiner. I'm
 trying to
   deploy a web service that uses geotools api for parsing of
 filters, but
   I'm getting the following error:
 
   JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught
 exception
   while handling request:
   _org.picocontainer.defaults.UnsatisfiableDependenciesException _:
   org.geotools.filter.v1_0.OGCFilterTypeBinding has unsatisfied
   dependency: interface org.opengis.filter.FilterFactory2 among
   unsatisfiable dependencies: [[interface
   org.opengis.filter.FilterFactory2]] where
   [EMAIL PROTECTED] was
 the leaf
   container being asked for dependencies.)
 
 
   Could someone help me ?
 
 
 
   Thanks in advance.
 
 
 
   --
   Fábio Luiz Leite Júnior
 
 
 
 
 
 
 
 
 
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance
 to share your
   opinions on IT  business topics through brief surveys-and
 earn cash
 
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
   !DSPAM:1004,45d5b4ca113971194215290!
 
 
 
 
 
 
   ___
   Geotools-gt2-users mailing list
   Geotools-gt2-users@lists.sourceforge.net
 mailto:Geotools-gt2-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
 
 
   !DSPAM:1004,45d5b4ca113971194215290!
 
 
 --
 Justin Deoliveira
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 The Open Planning Project
 http://topp.openplans.org
 
 
 
 
 -- 
 Fábio Luiz Leite Júnior 
 
 
 
 
 -- 
 Fábio Luiz Leite Júnior !DSPAM:1004,45d5f114167442223018498!
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 !DSPAM:1004,45d5f114167442223018498!
 
 
 
 
 

Re: [Geotools-gt2-users] - Geotools on web services

2007-02-16 Thread Fabio Luiz Leite

Ok, Justin. Follows  the stack trace atached.

On 2/16/07, Justin Deoliveira [EMAIL PROTECTED] wrote:


Hmm, very interesting indeed. Can you send me a full stack trace, or any
logs that you might get will trying to run this code on your app server.

Thanks.

-Justin

Fabio Luiz Leite wrote:
 It is important to say that the source code works well in desktop
 application (Junit test), but when I try to do the deployment in sun
 application server, it's occurs the error.


 On 2/16/07, *Fabio Luiz Leite* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi Justin,
  Well, i am using parsing filter 1.0. Yes, i am using
 the OGCConfiguration class and the version that I am using is 2.4.
 Follows the soucer code:


 //Some imports

 import org.geotools.filter.v1_0.OGCConfiguration ;
 import org.geotools.xml.Parser;
 import org.opengis.filter.Filter;

 InputStream xml = new StringInputStream(xmlOgcFilter);
 org.geotools.xml.Configuration configuration = new
OGCConfiguration();
 org.geotools.xml.Parser parser = new Parser( configuration );

 //parse
 Filter filter = null;
 try {
 filter = (Filter) parser.parse(xml);
 } catch (IOException e) {
 e.printStackTrace();
 } catch (SAXException e) {
 e.printStackTrace();
 } catch (ParserConfigurationException e) {
 e.printStackTrace();

 }

 On 2/16/07, *Justin Deoliveira* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi Fabio,

 A couple of questions. Are you parsing filter 1.0, or filter
 1.1. Can
 you show me the code you are using to initalize the parser. Are
you
 using the OGCConfiguration class? Also which version are you
 working from?

 Thanks,

 -Justin

 Fabio Luiz Leite wrote:
   Hi people, I would like to know if anyone uses geotools with
web
   services and has dependency problems with picoconteiner. I'm
 trying to
   deploy a web service that uses geotools api for parsing of
 filters, but
   I'm getting the following error:
 
   JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught
 exception
   while handling request:

  _org.picocontainer.defaults.UnsatisfiableDependenciesException _:
   org.geotools.filter.v1_0.OGCFilterTypeBinding has unsatisfied
   dependency: interface org.opengis.filter.FilterFactory2 among
   unsatisfiable dependencies: [[interface
   org.opengis.filter.FilterFactory2]] where
   [EMAIL PROTECTED] was
 the leaf
   container being asked for dependencies.)
 
 
   Could someone help me ?
 
 
 
   Thanks in advance.
 
 
 
   --
   Fábio Luiz Leite Júnior
 
 
 



 
 

-
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the
chance
 to share your
   opinions on IT  business topics through brief surveys-and
 earn cash
 

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
   !DSPAM:1004,45d5b4ca113971194215290!
 
 
 


 
   ___
   Geotools-gt2-users mailing list
   Geotools-gt2-users@lists.sourceforge.net
 mailto:Geotools-gt2-users@lists.sourceforge.net
 
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
 
 
   !DSPAM:1004,45d5b4ca113971194215290!


 --
 Justin Deoliveira
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 The Open Planning Project
 http://topp.openplans.org




 --
 Fábio Luiz Leite Júnior




 --
 Fábio Luiz Leite Júnior !DSPAM:1004,45d5f114167442223018498!


 


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 !DSPAM:1004,45d5f114167442223018498!