<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10pt; BORDER-BOTTOM-WIDTH: 0px; FONT-FAMILY: verdana; BORDER-RIGHT-WIDTH: 0px">
<DIV><FONT face=Verdana color=#000080 size=2>Add "<FONT
color=#000000>JkMount /mapguide/javaviewersample/* worker1</FONT>"
to the end of "<FONT
color=#000000>WebServerExtensions\Apache2\conf\httpd.conf</FONT>"</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>restart ApacheMapGuide</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Visit:
http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Just like:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2>
<H1>Service Temporarily Unavailable</H1>
<P>The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.</P>
<HR>
<ADDRESS>Apache/2.2.4 (Win32) PHP/5.2.5 mod_jk/1.2.25 Server at 127.0.0.1 Port
8008</ADDRESS>
<ADDRESS> </ADDRESS></FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2008-04-01 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>messagesky</SPAN>
</FONT></DIV><FONT face=Verdana color=#000080 size=2>
<HR>
</FONT>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Zac Spitzer </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2008-04-01 14:21:12
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> MapGuide Users Mail List
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [mapguide-users] Can not
run Simple Application(Java) </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT></DIV>
<DIV><FONT face=Verdana size=2>
<DIV>JkMount /mapguide2008/javaviewersample/* worker1</DIV>
<DIV> </DIV>
<DIV>looks wrong, the 2008 probably relates to the commercial mapguide, try</DIV>
<DIV> </DIV>
<DIV>JkMount /mapguide/javaviewersample/* worker1</DIV>
<DIV> </DIV>
<DIV>z</DIV>
<DIV> </DIV>
<DIV>On Tue, Apr 1, 2008 at 5:16 PM, messagesky
<messagesky@126.com > wrote:</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> My Computer: Windows XP, Java:1.5</DIV>
<DIV>></DIV>
<DIV>> (1) install MgServerSetup-2.0.0.exe</DIV>
<DIV>> (2) install MgWebServerExtensionsSetup-2.0.0.exe</DIV>
<DIV>> Select "Bundled Configuration" ---
> Java</DIV>
<DIV>> (3) Download Sheboygan.mgp from</DIV>
<DIV>> <A
href="http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And">http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And</A></DIV>
<DIV>> put it to "MapGuideOpenSource\Server\Packages"</DIV>
<DIV>></DIV>
<DIV>> (4) Visit:<A
href="http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by">http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by</A></DIV>
<DIV>> Administrator, admin</DIV>
<DIV>> load package:Sheboygan.mgp succeeded.</DIV>
<DIV>></DIV>
<DIV>> (5) Visit:</DIV>
<DIV>> <A
href="http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp">http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp</A></DIV>
<DIV>> Just like this:</DIV>
<DIV>></DIV>
<DIV>>
<%@ page import="org.osgeo.mapguide.*" % ></DIV>
<DIV>>
<%@ page import="java.util.*" % ></DIV>
<DIV>>
<%@ page import="java.io.*" % ></DIV>
<DIV>>
<%@ page import="java.text.*" % ></DIV>
<DIV>>
<%@ page import="javax.servlet.jsp.*" % ></DIV>
<DIV>>
<%@ page import="javax.servlet.http.*" % ></DIV>
<DIV>>
<%@ include file ="utilityfunctions.jsp" % ></DIV>
<DIV>></DIV>
<DIV>>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"</DIV>
<DIV>> "<A
href="http://www.w3.org/TR/html4/frameset.dtd">http://www.w3.org/TR/html4/frameset.dtd</A>"
></DIV>
<DIV>></DIV>
<DIV>> (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add</DIV>
<DIV>> "JkMount /mapguide2008/javaviewersample/* worker1" at the end of file.</DIV>
<DIV>> restart apache. Visit:</DIV>
<DIV>> <A
href="http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp">http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp</A></DIV>
<DIV>> Just like this:</DIV>
<DIV>>
<%--</DIV>
<DIV>> -Copyright (C) 2004-2006 Autodesk, Inc.</DIV>
<DIV>> -This library is free software; you can redistribute it and/or</DIV>
<DIV>> -modify it under the terms of version 2.1 of the GNU Lesser</DIV>
<DIV>> -General Public License as published by the Free Software</DIV>
<DIV>> Foundation.</DIV>
<DIV>></DIV>
<DIV>> -This library is distributed in the hope that it will be useful,</DIV>
<DIV>> -but WITHOUT ANY WARRANTY; without even the implied warranty of</DIV>
<DIV>> -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</DIV>
<DIV>> GNU</DIV>
<DIV>> -Lesser General Public License for more details.</DIV>
<DIV>></DIV>
<DIV>> -You should have received a copy of the GNU Lesser General</DIV>
<DIV>> Public</DIV>
<DIV>> -License along with this library; if not, write to the Free</DIV>
<DIV>> Software</DIV>
<DIV>> -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA</DIV>
<DIV>> 02110-1301 USA</DIV>
<DIV>> --%
></DIV>
<DIV>></DIV>
<DIV>>
<%@ page import="org.osgeo.mapguide.*" % ></DIV>
<DIV>>
<%@ page import="java.util.*" % ></DIV>
<DIV>>
<%@ page import="java.io.*" % ></DIV>
<DIV>>
<%@ page import="java.text.*" % ></DIV>
<DIV>>
<%@ page import="javax.servlet.jsp.*" % ></DIV>
<DIV>>
<%@ page import="javax.servlet.http.*" % ></DIV>
<DIV>>
<%@ include file ="utilityfunctions.jsp" % ></DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> My Englis is very poor. Would you like give me some help?</DIV>
<DIV>> Thanks a lot.</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> 2008-04-01 ________________________________</DIV>
<DIV>></DIV>
<DIV>> messagesky</DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> mapguide-users mailing list</DIV>
<DIV>> mapguide-users@lists.osgeo.org</DIV>
<DIV>> <A
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Zac Spitzer -</DIV>
<DIV><A
href="http://zacster.blogspot.com (My Blog)">http://zacster.blogspot.com (My Blog)</A></DIV>
<DIV>+61 405 847 168</DIV>
<DIV>_______________________________________________</DIV>
<DIV>mapguide-users mailing list</DIV>
<DIV>mapguide-users@lists.osgeo.org</DIV>
<DIV><A
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></DIV></FONT></DIV></BODY></HTML>