Hi Justin,
I "solved" the problem editing startup.sh script...
Just added:
export JAVA_OPTS="-Djava.awt.headless=true"
rigth after the first line...
Then, I restarted tomcat and even with the "servlet api jar not loaded"
message in the log, the "Bootstrap" didn't showed up in the dock and the
server didn't crashed anymore...
I really don't know, but I believe that there were some issue with another
application deployed in tomcat
I`ve found this variable tip searching for
"org.apache.catalina.startup.Bootstrap tomcat Mac" in Google...
So, I don't know if it is related directly with Geoserver...
Thanks!!
Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato: (19) 9792-9820
rca.cir...@gmail.com
rcantonia...@gmail.com
Skype: rc_antonialli
On Fri, Nov 12, 2010 at 13:50, Justin Deoliveira <jdeol...@opengeo.org>wrote:
> Hi Rodrigo,
>
> I have used tomcat with geoserver on mac just fine. WHat is the actual
> error you are getting. The warning about the servlet api jar is fine and can
> be ignored. Is there another error?
>
> -Justin
>
> On Thu, Nov 11, 2010 at 11:18 AM, Rodrigo <rca.cir...@gmail.com> wrote:
>
>>
>> Rodrigo C. Antonialli
>> ======================================
>> Rio Claro - SP - Brasil
>> LinkedIn: http://www.linkedin.com/in/rcaprofile
>> Contato: (19) 9792-9820
>> rca.cir...@gmail.com
>> rcantonia...@gmail.com
>> Skype: rc_antonialli
>>
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Rodrigo <rca.cir...@gmail.com>
>> Date: Thu, Nov 11, 2010 at 15:33
>> Subject: Geoserver War Tomcat 6 Mac OS X
>> To: geoser...@yahoogroups.com
>>
>>
>> Hi!!
>>
>> I'm trying to deploy geoserver-2.0.2 on Tomcat 6.0.29 on Mac OS X
>> (10.6.5... but I tried in 10.6.4 too) and tomcat crashes!!
>>
>> A bootstrap jar opens in my Dock and some time later, tomcat crashes...
>>
>> Looking inside catalina log, I found:
>>
>> INFO: Deploying web application archive geoserver.war
>> 11/11/2010 15:11:22 org.apache.catalina.loader.WebappClassLoader
>> validateJarFile
>> INFO:
>> validateJarFile(/Users/rcantonialli/Library/apache-tomcat-6.0.29/webapps/geoserver/WEB-INF/lib/servlet-api-2.4.jar)
>> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
>> javax/servlet/Servlet.class
>>
>> I tried to deploy the geoserver war from Tomcat Manager page, and also put
>> it manually at webapps folder and start tomcat... but I always get the
>> error...
>>
>> I just run geoserver on Mac downloading the installer for Mac OS... but if
>> I do so, I`ll have 2 tomcats running... and my client for geoserver layers
>> is running at tomcat 6 (I tried to put my projects folder inside webapps
>> folder of geoserver installed from Mac OS installer but no sucess)...
>>
>> Is there some known issue about Geoserver 2.0.2, Tomcat 6.0.29 and Mac OS
>> X?? I'd really apreciate just to deploy Geoserver war and get things running
>> into only one server!
>>
>> Thanks for advance,
>>
>>
>> Rodrigo C. Antonialli
>> ======================================
>> Rio Claro - SP - Brasil
>> LinkedIn: http://www.linkedin.com/in/rcaprofile
>> Contato: (19) 9792-9820
>> rca.cir...@gmail.com
>> rcantonia...@gmail.com
>> Skype: rc_antonialli
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>> Simplifying enterprise desktop deployment and management using
>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>> client virtualization framework. Read more!
>> http://p.sf.net/sfu/dell-eql-dev2dev
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>
>
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users