[mapguide-users] Can not run Simple Application(Java)
messagesky
messagesky at 126.com
Tue Apr 1 02:33:12 EDT 2008
Add "JkMount /mapguide/javaviewersample/* worker1" to the end of "WebServerExtensions\Apache2\conf\httpd.conf"
restart ApacheMapGuide
Visit: http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
Just like:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.2.4 (Win32) PHP/5.2.5 mod_jk/1.2.25 Server at 127.0.0.1 Port 8008
2008-04-01
messagesky
·¢¼þÈË£º Zac Spitzer
·¢ËÍʱ¼ä£º 2008-04-01 14:21:12
ÊÕ¼þÈË£º MapGuide Users Mail List
³ËÍ£º
Ö÷Ì⣺ Re: [mapguide-users] Can not run Simple Application(Java)
JkMount /mapguide2008/javaviewersample/* worker1
looks wrong, the 2008 probably relates to the commercial mapguide, try
JkMount /mapguide/javaviewersample/* worker1
z
On Tue, Apr 1, 2008 at 5:16 PM, messagesky <messagesky at 126.com > wrote:
>
>
> My Computer: Windows XP, Java:1.5
>
> (1) install MgServerSetup-2.0.0.exe
> (2) install MgWebServerExtensionsSetup-2.0.0.exe
> Select "Bundled Configuration" --- > Java
> (3) Download Sheboygan.mgp from
> http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And
> put it to "MapGuideOpenSource\Server\Packages"
>
> (4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by
> Administrator, admin
> load package:Sheboygan.mgp succeeded.
>
> (5) Visit:
> http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
> Just like this:
>
> <%@ page import="org.osgeo.mapguide.*" % >
> <%@ page import="java.util.*" % >
> <%@ page import="java.io.*" % >
> <%@ page import="java.text.*" % >
> <%@ page import="javax.servlet.jsp.*" % >
> <%@ page import="javax.servlet.http.*" % >
> <%@ include file ="utilityfunctions.jsp" % >
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd" >
>
> (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add
> "JkMount /mapguide2008/javaviewersample/* worker1" at the end of file.
> restart apache. Visit:
> http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp
> Just like this:
> <%--
> -Copyright (C) 2004-2006 Autodesk, Inc.
> -This library is free software; you can redistribute it and/or
> -modify it under the terms of version 2.1 of the GNU Lesser
> -General Public License as published by the Free Software
> Foundation.
>
> -This library is distributed in the hope that it will be useful,
> -but WITHOUT ANY WARRANTY; without even the implied warranty of
> -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> GNU
> -Lesser General Public License for more details.
>
> -You should have received a copy of the GNU Lesser General
> Public
> -License along with this library; if not, write to the Free
> Software
> -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> 02110-1301 USA
> --% >
>
> <%@ page import="org.osgeo.mapguide.*" % >
> <%@ page import="java.util.*" % >
> <%@ page import="java.io.*" % >
> <%@ page import="java.text.*" % >
> <%@ page import="javax.servlet.jsp.*" % >
> <%@ page import="javax.servlet.http.*" % >
> <%@ include file ="utilityfunctions.jsp" % >
>
>
>
> My Englis is very poor. Would you like give me some help?
> Thanks a lot.
>
>
>
>
> 2008-04-01 ________________________________
>
> messagesky
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/35e1e3aa/attachment.html
More information about the mapguide-users
mailing list