[mapguide-users] Newbie problem with Web serverextensionsconfiguration

azpublic azpublic at bluewin.ch
Sun May 13 15:47:01 EDT 2007


Ok I’ve been installing a reinstalling MapGuide these past two days but I
still cant have any chance in getting the Apache to render the JSP’s
correctly 
 

 

I’ve been trying to copy MapGuideApi.jar in CATALINA_HOME\common\lib, in
CATALINA_HOME\server\lib, in CATALINA_HOME\shared\lib,. Nothing to do
 

 

I’ve also tried to copy  the library in JAVA_HOME\\lib\ext\ 
 no result 
 

I tried adding "C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\WEB-INF\lib"; to my
classpath .. no result 
 

 

I always get this stupid error from tomcat when requesting 

HYPERLINK
"http://localhost:8008/mapguide/mapviewerjava/ajaxviewer.jsp?WEBLAYOUT=Libra
ry://ATest.WebLayout"http://localhost:8008/mapguide/mapviewerjava/ajaxviewer
.jsp?WEBLAYOUT=Library://ATest.WebLayout

as suggested in the InstallConfigureMgOpenSourceOnWindows.pdf documentation.


 


Here is the complete error returned by my Tomcat 5.5.17  the first time I
hit the url above : 


exception 

org.apache.jasper.JasperException: no MapGuideJavaApi in java.library.path
 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
pper.java:510)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
75)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

cause mère 

javax.servlet.ServletException: no MapGuideJavaApi in java.library.path
 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:858)
 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:791)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp._jspService(ajaxviewer_jsp.java:
885)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

cause mère 

java.lang.UnsatisfiedLinkError: no MapGuideJavaApi in java.library.path
        java.lang.ClassLoader.loadLibrary(Unknown Source)
        java.lang.Runtime.loadLibrary0(Unknown Source)
        java.lang.System.loadLibrary(Unknown Source)
 
org.osgeo.mapguide.MapGuideJavaApiJNI.<clinit>(MapGuideJavaApiJNI.java:2095)
 
org.osgeo.mapguide.MapGuideJavaApi.MgInitializeWebTier(MapGuideJavaApi.java:
14)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp.InitializeWebTier(ajaxviewer_jsp
.java:36)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp.GenerateMainPage(ajaxviewer_jsp.
java:173)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp._jspService(ajaxviewer_jsp.java:
876)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note La trace complète de la cause mère de cette erreur est disponible dans
les fichiers journaux de Apache Tomcat/5.5.17.


 


And Here is the error returned by tomcat if I try to refresh the page :


exception 

org.apache.jasper.JasperException
 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
pper.java:510)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
75)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

cause mère 

javax.servlet.ServletException
 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:858)
 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:791)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp._jspService(ajaxviewer_jsp.java:
885)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

cause mère 

java.lang.NoClassDefFoundError
 
org.osgeo.mapguide.MapGuideJavaApi.MgInitializeWebTier(MapGuideJavaApi.java:
14)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp.InitializeWebTier(ajaxviewer_jsp
.java:36)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp.GenerateMainPage(ajaxviewer_jsp.
java:173)
 
org.apache.jsp.mapviewerjava.ajaxviewer_jsp._jspService(ajaxviewer_jsp.java:
876)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note La trace complète de la cause mère de cette erreur est disponible dans
les fichiers journaux de Apache Tomcat/5.5.17.


 


If someone reads this message please help !  you’re my only hope :-) 


 


 


 


 


 


 


 


 

 

   _____  

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of azpublic
Sent: samedi, 12. mai 2007 10:20
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Newbie problem with Web
serverextensionsconfiguration

 

Ok  I managed to get something after struggling with httpd.conf. I am now
pretty sure that I managed to communicate with my Tomcat install however I
still have some error  :

 

I encountered a http 500 error when trying to access
http://localhost:8008/mapguide/mapviewerjava/ajaxviewer.jsp?WEBLAYOUT=Librar
y://ATest.WebLayout :

 

org.apache.jasper.JasperException: no MapGuideJavaApi in java.library.path
 
It seems that Tomcat is not able to find the three jars located in
www/WEB-INF/lib/ of the MapGuide Installation ? 
Any idea how I can fix this ? 
 
Thanks in advance :-) 
 
Cheers

 

 

 


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.8/797 - Release Date: 10.05.2007
17:10



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.8/797 - Release Date: 10.05.2007
17:10



No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.8/800 - Release Date: 11.05.2007
19:34



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.8/800 - Release Date: 11.05.2007
19:34



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.0/801 - Release Date: 12.05.2007
18:40
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070513/f82dc674/attachment-0001.html


More information about the mapguide-users mailing list