Hi,
After search for quite a while, I found it may be caused by the gvSIG I
installed these days. gvSIG may do something on the jai jar. Following the
articles on this, I installed newest version of JAI. However, this did not work
it out. Any tip on this? BTW, I don't want to uninstall gvSIG.
------------------ 原始邮件 ------------------
发件人: "jubin1985"<[email protected]>;
发送时间: 2011年3月20日(星期天) 下午4:31
收件人: "geoserver-users"<[email protected]>;
主题: [Geoserver-users] Can not deploy geoserver2.0.3 in Tomcat6.0.18
Hi,
I met a strange problem today when I deploy geoserver.war to tomcat. when I
visit http://127.0.0.1:8080/geoserver/, there is a 404 error returns and there
is nothing related to failer in logs of geoserver. However, I found some
message in the tomcat logs, it is like this:
java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI
the full tracestack:
.startup.HostConfig.deployWAR(HostConfig.java:830)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users