<div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>I sure appreciate your response. Yes, I set the java_home variable and specified "--with-tomcat".</div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> zspitzer (via Nabble) &lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1876331&i=0" target="_top" rel="nofollow">ml-user+1569-1269820590@...</a>><br><b><span style="font-weight: bold;">To:</span></b> PLohr &lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1876331&i=1" target="_top" rel="nofollow">pmlpml001@...</a>><br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, December 25, 2008 8:48:05 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Not correct work Tomcat<br></font><br>


did you set the java_home environment variable and use --with-tomcat?
<br><br>On Mon, May 12, 2008 at 8:13 PM, PLohr &lt;<a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=0">pmlpml001@...</a>> wrote:
<div class="shrinkable-quote"><br>>
<br>> I am using v2.0.0 with the <a target="_blank" href="http://build_apt.sh" rel="nofollow">build_apt.sh</a> to setup Apache, PHP, and tomcat.
<br>> Using Fedora Core 4 with gcc-4.1.1. The file 'MapGuideAPI.jar' is missing at
<br>> /usr/local/mapguideopensource/webserverextensions/www/WEB-INF/lib/. I
<br>> discovered this when I realized that <a rel="nofollow" target="_blank" href="http://localhost:8080">http://localhost:8080</a> returns a
<br>> 'connection refused' error. In an attempt to correct this, I did a make
<br>> clean against .../LinuxApt/httpd-2.2.4 and .../LinuxApt/php-5.2.5 then I ran
<br>> ./build_apt.sh again. Tomcat nor Apache had makefiles so there was no
<br>> obvious place to make clean for either of them. Even after this reinstall,
<br>> MapGuideAPI.jar is still missing.
<br>>
<br>> BTW, mapguide.xml was also missing at
<br>> /usr/local/mapguideopensource/webserverextensions/tomcat/conf/Catalina/localhost/.
<br>> The folders Catalina and localhost did not exist - I had to create them. I
<br>> found this file in my LinuxApt folder and copied it to the location
<br>> previously mentioned. This did not correct the connection refused error.
<br>>
<br>> Thank you for your help.
<br>>
<br>>
<br>> Alain Lebatard wrote:
<br>>>
<br>>> Hi,
<br>>>
<br>>>
<br>>>
<br>>> <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerajax/bufferui.jsp">http://localhost:8008/mapguide/mapviewerajax/bufferui.jsp</a> is not a valid
<br>>> URL. /mapguide/mapviewerajax does not represent a folder, but represent
<br>>> the AJAX viewer main script. If you look in the httpd.conf file of
<br>>> Apache bundled with MapGuide, you should see this line:
<br>>>
<br>>>
<br>>>
<br>>>   Redirect /mapguide/mapviewerajax/
<br>>> http://&lt;YourHostAddress>/mapguide/mapviewerjava/ajaxviewer.jsp
<br>>>
<br>>>
<br>>>
<br>>> So when you invoke
<br>>> <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerajax/bufferui.jsp">http://localhost:8008/mapguide/mapviewerajax/bufferui.jsp</a>, you are
<br>>> actually invoking
<br>>> <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerjava/ajaxviewer.jsp/bufferui.jsp">http://localhost:8008/mapguide/mapviewerjava/ajaxviewer.jsp/bufferui.jsp</a><br>>> which is not valid.
<br>>>
<br>>>
<br>>>
<br>>> Your first call <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerjava/fake.jsp">http://localhost:8008/mapguide/mapviewerjava/fake.jsp</a><br>>> was the correct one. If you get a 404 error, it's certainly because
<br>>> there is no file fake.jsp in
<br>>> /usr/local/mapguideopensource/webserverextensions/www/mapviewerjava
<br>>>
<br>>>
<br>>>
<br>>>
<br>>>
<br>>> The compilation errors are probably occurring because the jar file that
<br>>> contains the API classes (such as MgException) could not be loaded. Make
<br>>> sure that there is file named MapGuideApi.jar in the folder
<br>>> /usr/local/mapguideopensource/webserverextensions/www/WEB-INF/lib   If
<br>>> the file is not there then this is a build issue.
<br>>>
<br>>>
<br>>>
<br>>> Alain
<br>>>
<br>>>
<br>>>
<br>>> -----Original Message-----
<br>>> From: Safonov Alexey [mailto:<a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=1">alex-saf@...</a>]
<br>>> Sent: Wednesday, April 12, 2006 10:15 AM
<br>>> To: <a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=2">users@...</a>
<br>>> Subject: [mapguide-users] Not correct work Tomcat
<br>>>
<br>>>
<br>>>
<br>>> Dear colleagues!
<br>>>
<br>>>
<br>>>
<br>>> I have collected mapguide-1.0.0 on a platform linux. Except for most
<br>>>
<br>>> mapguide I have established LinuxApt with Tomcat. At testing it was
<br>>> found
<br>>>
<br>>> out, that on inquiry
<br>>>
<br>>> <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerjava/bufferui.jsp">http://localhost:8008/mapguide/mapviewerjava/bufferui.jsp</a> the answer
<br>>> turns
<br>>>
<br>>> out:
<br>>>
<br>>> HTTP Status 500 -
<br>>>
<br>>> type Exception report
<br>>>
<br>>> message
<br>>>
<br>>> description The server encountered an internal error () that prevented
<br>>> it
<br>>>
<br>>> from fulfilling this request.
<br>>>
<br>>> exception
<br>>>
<br>>> org.apache.jasper.JasperException: Unable to compile class for JSP
<br>>>
<br>>>
<br>>>
<br>>> An error occurred at line: 25 in the jsp file: /mapviewerjava/common.jsp
<br>>>
<br>>> Generated servlet error:
<br>>>
<br>>> MgException cannot be resolved to a type
<br>>>
<br>>>
<br>>>
<br>>> An error occurred at line: 25 in the jsp file: /mapviewerjava/common.jsp
<br>>>
<br>>> Generated servlet error:
<br>>>
<br>>> MapGuideJavaApi cannot be resolved
<br>>>
<br>>>
<br>>>
<br>>> An error occurred at line: 34 in the jsp file:
<br>>> /mapviewerjava/bufferui.jsp
<br>>>
<br>>> Generated servlet error:
<br>>>
<br>>> MgLocalizer cannot be resolved
<br>>>
<br>>>
<br>>>
<br>>> An error occurred at line: 34 in the jsp file:
<br>>> /mapviewerjava/bufferui.jsp
<br>>>
<br>>> Generated servlet error:
<br>>>
<br>>> MgLocalizer cannot be resolved
<br>>>
<br>>> .........
<br>>>
<br>>>
<br>>>
<br>>> Though the inquiry <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerjava/fake.jsp">http://localhost:8008/mapguide/mapviewerjava/fake.jsp</a><br>>>
<br>>> gives out " 404 error ", as well as is written in a management. The
<br>>> inquiry
<br>>>
<br>>> <a rel="nofollow" target="_blank" href="http://localhost:8008/mapguide/mapviewerajax/bufferui.jsp">http://localhost:8008/mapguide/mapviewerajax/bufferui.jsp</a> is not carried
<br>>> out
<br>>>
<br>>> at all as the catalogue
<br>>>
<br>>> /usr/local/mapguideopensource/webserverextensions/www/mapviewerajax does
<br>>> not
<br>>>
<br>>> exist at all.
<br>>>
<br>>>
<br>>>
<br>>> How to me to achieve correct work Tomcat?
<br>>>
<br>>>
<br>>>
<br>>> I use the distributive Linux Fedore Core 4 with the kernel
<br>>>
<br>>> 2.6.15-1.1833-FC4 and gcc-4.0.2-8.fc4.
<br>>>
<br>>>
<br>>>
<br>>> Please, help me in solving this problem.
<br>>>
<br>>>
<br>>>
<br>>> Best regards,
<br>>>
<br>>> Safonov Alexey
<br>>>
<br>>>
<br>>>
<br>>>
<br>>>
<br>>> ---------------------------------------------------------------------
<br>>>
<br>>> To unsubscribe, e-mail: <a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=3">users-unsubscribe@...</a>
<br>>>
<br>>> For additional commands, e-mail: <a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=4">users-help@...</a>
<br>>>
<br>>>
<br>>>
<br>>>
<br>>>
<br>>
<br>> --
<br>> View this message in context: <a rel="nofollow" target="_blank" href="http://www.nabble.com/Not-correct-work-Tomcat-tp3885877p17184666.html">http://www.nabble.com/Not-correct-work-Tomcat-tp3885877p17184666.html</a><br>> Sent from the MapGuide Users mailing list archive at <a target="_blank" href="http://Nabble.com" rel="nofollow">Nabble.com</a>.
<br>>
<br>> _______________________________________________
<br>> mapguide-users mailing list
<br>> <a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=5">mapguide-users@...</a>
<br>> <a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>>
</div><br><br><br>-- 
<br>Zac Spitzer -
<br><a rel="nofollow" target="_blank" href="http://zacster.blogspot.com">http://zacster.blogspot.com</a> (My Blog)
<br>+61 405 847 168
<br>_______________________________________________
<br>mapguide-users mailing list
<br><a rel="nofollow" target="_blank" href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=1815889&amp;i=6">mapguide-users@...</a>
<br><a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br><br>
<hr noshade="" size="1" color="#cccccc">
<div style="color:#666666;font:11px tahoma, geneva, helvetica, arial, sans-serif;">
            
This email is a reply to your post @ <a rel="nofollow" target="_blank" href="http://n2.nabble.com/Not-correct-work-Tomcat-tp1815886p1815889.html">http://n2.nabble.com/Not-correct-work-Tomcat-tp1815886p1815889.html</a><br>
You can reply by email or by visting the link above.<br>

</div>
<br>
</div></div><div style="position:fixed"></div></div><br>



      
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Not-correct-work-Tomcat-tp1815886p1876331.html">Re: Not correct work Tomcat</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>