I solved my problem about deployment. When I remove wkb4j from lib directory it successfully deployed. Then I looked to GeoServer and I noticed there is a modified version of wkb4j library. I'm using that library now and everything works fine.
P.S. I'm continue digging in to GeoServer according to your Advice. It looks just like what I want.
On 7/19/06,
Chris Holmes <[EMAIL PROTECTED]> wrote:
Hrm, no idea about that error. But if you're looking to do GeoTools +
Servlet you may just look at GeoServer - http://geoserver.org. We do
WMS (open standard for requesting the images of maps) and WFS (open
standard for requesting the raw map data as GML), and recent advances on
1.4.x (http://docs.codehaus.org/display/GEOSDEV/Home) use the Spring
framework to make it even easier to get up and going as a developer.
You get a servlet environment and access to all the GeoTools libraries.
What exactly are you looking to do? It's most likely easier just to use
GeoServer, or if for some reason you can't you can at least look at the
code for inspiration.
best regards,
Chris
Burak Geriş wrote:
> I have just downloaded latest geotools binary archives
> (gt2-2.2-RC3-bin.zip) and then copy all of the jars to the WEB-INF\lib
> directory of my simple servlet application. When i am trying to deploy
> my application to tomcat 5.5 following error occurred. I am new at java
> so i can't figure out what is the problem. How can I configure my
> application to use geotools in a servlet application.
>
> SEVERE: Error deploying web application archive mbs.war
> java.lang.IllegalArgumentException:
> log4j,openmap,postgis,jts,junitperf,junit,postgresql-Extension-Name
> at java.util.jar.Attributes$Name.<init>(Attributes.java:440)
> at java.util.jar.Attributes.getValue (Attributes.java:99)
> at
> org.apache.catalina.util.ManifestResource.getRequiredExtensions (ManifestResource.java:185)
> at
> org.apache.catalina.util.ManifestResource.processManifest(ManifestResource.java:154)
> at
> org.apache.catalina.util.ManifestResource.<init>(ManifestResource.java :51)
> at
> org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:185)
> at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:4033)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at org.apache.catalina.core.StandardHost.addChild
> (StandardHost.java:524)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
> at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
> at org.apache.catalina.startup.HostConfig.deployApps
> (HostConfig.java:472)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java:310)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1012)
> at
> org.apache.catalina.core.StandardEngine.start (StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:700)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java :39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:275)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> !DSPAM:1003,44bd2eb6255116309890654!
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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.php&p=sourceforge&CID=DEVDEV
>
> !DSPAM:1003,44bd2eb6255116309890654!
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
> !DSPAM:1003,44bd2eb6255116309890654!
--
Chris Holmes
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.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
