You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carl Olivier <ca...@unysen.co.uk> on 2005/11/08 16:37:28 UTC

Tomcat on Mac

Greetings.
 
I am having a problem with my Tomcat server (5.0.28) running on Mac XServe.

Not sure if anyone here can help, but trying my luck...

output from /usr/bin/sw_vers below:
 
ProductName:    Mac OS X Server
ProductVersion: 10.4.2
BuildVersion:   8C47
 
java - version output:
 
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java
HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
 
It seems when anything (well a lot?) executing withing the JVM requiring any
java imaging libs, or access to a default toolkit for image processing
causes this (or similar errors) to occur - and result in the java process
exiting!  Log entries from Tomcat log file at the time of process exit and
failure:
 
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
2005-11-08 15:05:17.195 java[5522] CFLog (0): CFMessagePort:
bootstrap_register(): failed 1100 (0x44c), port = 0x5a20f, name =
'Processes-2.5522'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2005-11-08 15:05:17.196 java[5522] CFLog (99): CFMessagePortCreateLocal():
failed to name Mach port (Processes-2.5522) CFMessagePortCreateLocal failed
(name = Processes-2.5522 error = 0)
 
The java runtime switches I am using are below:
 
-Xms784m -Xmx784m -Xss128k -XX:+UseParallelGC -XX:MaxPermSize=196m
-XX:+DisableExplicitGC -Djava.awt.headless=true
 
Does anyone have any idea as to why this is happening, or what could
potentially cause this?
 
Thanks in advance,
 
Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: 5.0.28 v 5.5.12

Posted by MarcLap <ma...@c1mortgage.com>.
Here is info from the Catalina.out file




Nov 9, 2005 6:49:43 AM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:204)
	at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:474)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:508)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Nov 9, 2005 6:49:43 AM org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml: 
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
	at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:27
19)
	at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:27
45)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1278)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:474)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:508)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Nov 9, 2005 6:49:43 AM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:204)
	at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:474)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:528)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 9, 2005 6:49:43 AM org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml: 
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
	at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:27
19)
	at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:27
45)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1278)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:474)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:528)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 9, 2005 6:49:43 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
	at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
	... 6 more
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [
-nonaming ] { start | stop }
Nov 9, 2005 8:02:06 AM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:204)
	at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:474)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:528)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 9, 2005 8:02:07 AM org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml: 
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
	at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:27
19)
	at
org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:27
45)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1278)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
	at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:474)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:528)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 9, 2005 8:02:07 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
	at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
	... 6 more

-----Original Message-----
From: Seak, Teng-Fong [mailto:seak_tengfong@yahoo.com] 
Sent: Wednesday, November 09, 2005 8:46 AM
To: users@tomcat.apache.org
Subject: Re: 5.0.28 v 5.5.12

Does your Tomcat serve a simple html file?  I mean Html file, not Jsp 
file yet.

   How about the environment variables like JAVA_HOME and CLASSPATH?  
Well, in Win, these are no longer needed since TC 5.5 (great job!) but 
maybe they're still needed in Unix/Solaris.

MarcLap wrote:

> Hi,
>
> Yes....
>
> Here is the version info
>
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
>
>
>
> -----Original Message-----
> From: Chen Jerry [mailto:tech.jerry.chen@gmail.com] Sent: Wednesday, 
> November 09, 2005 7:57 AM
> To: Tomcat Users List; marcall@stengels.com
> Subject: Re: 5.0.28 v 5.5.12
>
> Hey, did you pay attention to that 5.0.x leverages JDK1.4.2 while
> Tomcat 5.5.12 leveraging JDK1.5?
>
> 2005/11/9, MarcLap <ma...@c1mortgage.com>:
>  
>
>> Hi,
>>
>> I have been messing with this for a few days and can't figure out 
>> what is
>> going on.
>>
>> 5.0.28 works fine. 5.5.12 does not work at all.  Not even port 8080.
>>
>> Using Solaris 8
>> Apache 1.3.34
>> Ssl 0.9.8a
>> Php 4.4.1
>> Jk 1.2.15
>>
>> I did not touch anything in the httpd.conf file.
>>
>> The server.xml is the same
>>
>> Help!
>>
>>   
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: 5.0.28 v 5.5.12

Posted by MarcLap <ma...@c1mortgage.com>.
I have not changed any of the variables which are in .profile.

-----Original Message-----
From: Seak, Teng-Fong [mailto:seak_tengfong@yahoo.com] 
Sent: Wednesday, November 09, 2005 8:46 AM
To: users@tomcat.apache.org
Subject: Re: 5.0.28 v 5.5.12

Does your Tomcat serve a simple html file?  I mean Html file, not Jsp 
file yet.

   How about the environment variables like JAVA_HOME and CLASSPATH?  
Well, in Win, these are no longer needed since TC 5.5 (great job!) but 
maybe they're still needed in Unix/Solaris.

MarcLap wrote:

> Hi,
>
> Yes....
>
> Here is the version info
>
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
>
>
>
> -----Original Message-----
> From: Chen Jerry [mailto:tech.jerry.chen@gmail.com] Sent: Wednesday, 
> November 09, 2005 7:57 AM
> To: Tomcat Users List; marcall@stengels.com
> Subject: Re: 5.0.28 v 5.5.12
>
> Hey, did you pay attention to that 5.0.x leverages JDK1.4.2 while
> Tomcat 5.5.12 leveraging JDK1.5?
>
> 2005/11/9, MarcLap <ma...@c1mortgage.com>:
>  
>
>> Hi,
>>
>> I have been messing with this for a few days and can't figure out 
>> what is
>> going on.
>>
>> 5.0.28 works fine. 5.5.12 does not work at all.  Not even port 8080.
>>
>> Using Solaris 8
>> Apache 1.3.34
>> Ssl 0.9.8a
>> Php 4.4.1
>> Jk 1.2.15
>>
>> I did not touch anything in the httpd.conf file.
>>
>> The server.xml is the same
>>
>> Help!
>>
>>   
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: 5.0.28 v 5.5.12

Posted by "Seak, Teng-Fong" <se...@yahoo.com>.
Does your Tomcat serve a simple html file?  I mean Html file, not Jsp 
file yet.

   How about the environment variables like JAVA_HOME and CLASSPATH?  
Well, in Win, these are no longer needed since TC 5.5 (great job!) but 
maybe they're still needed in Unix/Solaris.

MarcLap wrote:

> Hi,
>
> Yes....
>
> Here is the version info
>
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
>
>
>
> -----Original Message-----
> From: Chen Jerry [mailto:tech.jerry.chen@gmail.com] Sent: Wednesday, 
> November 09, 2005 7:57 AM
> To: Tomcat Users List; marcall@stengels.com
> Subject: Re: 5.0.28 v 5.5.12
>
> Hey, did you pay attention to that 5.0.x leverages JDK1.4.2 while
> Tomcat 5.5.12 leveraging JDK1.5?
>
> 2005/11/9, MarcLap <ma...@c1mortgage.com>:
>  
>
>> Hi,
>>
>> I have been messing with this for a few days and can't figure out 
>> what is
>> going on.
>>
>> 5.0.28 works fine. 5.5.12 does not work at all.  Not even port 8080.
>>
>> Using Solaris 8
>> Apache 1.3.34
>> Ssl 0.9.8a
>> Php 4.4.1
>> Jk 1.2.15
>>
>> I did not touch anything in the httpd.conf file.
>>
>> The server.xml is the same
>>
>> Help!
>>
>>   
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: 5.0.28 v 5.5.12

Posted by MarcLap <ma...@c1mortgage.com>.
Hi,

Yes....

Here is the version info

java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)



-----Original Message-----
From: Chen Jerry [mailto:tech.jerry.chen@gmail.com] 
Sent: Wednesday, November 09, 2005 7:57 AM
To: Tomcat Users List; marcall@stengels.com
Subject: Re: 5.0.28 v 5.5.12

Hey, did you pay attention to that 5.0.x leverages JDK1.4.2 while
Tomcat 5.5.12 leveraging JDK1.5?

2005/11/9, MarcLap <ma...@c1mortgage.com>:
> Hi,
>
> I have been messing with this for a few days and can't figure out what is
> going on.
>
> 5.0.28 works fine. 5.5.12 does not work at all.  Not even port 8080.
>
> Using Solaris 8
> Apache 1.3.34
> Ssl 0.9.8a
> Php 4.4.1
> Jk 1.2.15
>
> I did not touch anything in the httpd.conf file.
>
> The server.xml is the same
>
> Help!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: 5.0.28 v 5.5.12

Posted by Chen Jerry <te...@gmail.com>.
Hey, did you pay attention to that 5.0.x leverages JDK1.4.2 while
Tomcat 5.5.12 leveraging JDK1.5?

2005/11/9, MarcLap <ma...@c1mortgage.com>:
> Hi,
>
> I have been messing with this for a few days and can't figure out what is
> going on.
>
> 5.0.28 works fine. 5.5.12 does not work at all.  Not even port 8080.
>
> Using Solaris 8
> Apache 1.3.34
> Ssl 0.9.8a
> Php 4.4.1
> Jk 1.2.15
>
> I did not touch anything in the httpd.conf file.
>
> The server.xml is the same
>
> Help!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


5.0.28 v 5.5.12

Posted by MarcLap <ma...@c1mortgage.com>.
Hi,

I have been messing with this for a few days and can't figure out what is
going on.

5.0.28 works fine. 5.5.12 does not work at all.  Not even port 8080.

Using Solaris 8
Apache 1.3.34
Ssl 0.9.8a
Php 4.4.1
Jk 1.2.15

I did not touch anything in the httpd.conf file.

The server.xml is the same

Help!



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat on Mac

Posted by Carl Olivier <ca...@unysen.co.uk>.
Hi.

Just received this from Apple lists:


"Looking at the errors, I think this is a known OS problem. If you create a
ServerSocket before loading the AWT in headless mode, the application will
die.

The workaround is to start up the AWT first by creating a
java.awt.Dimension(), or Toolkit.getDefaultToolkit(), then start listening
for connections. I don't know enough about Tomcat to know if that's even
feasible, but that's the best we have right now."

When does the Tomcat initialisation sequence create the ServerSocket and
start listening?  Any way to put something like that in easily?

Thanks.

Carl


-----Original Message-----
From: Edoardo Panfili [mailto:edoardo@aspix.it] 
Sent: 08 November 2005 16:37
To: Tomcat Users List
Subject: Re: Tomcat on Mac

Carl Olivier ha scritto:
> Greetings.
> 
> Ok, well I can verify that it breaks every time when the 
> http://www.jfree.org/jfreechart/index.php JFreeChart library is used 
> to dynamically render a graph from data.
> 
> I am unsure exactly where in the code this is happening, will step 
> through and provide additional information as I have it.
> 
> I am using jfreechart 0.9.20.
> 
The problem for me is with ImageIO, for this reason I report the problem to
apple. After all a Java VM crash is not part of the specification...

Edoardo Panfili


--
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat on Mac

Posted by Edoardo Panfili <ed...@aspix.it>.
Carl Olivier ha scritto:
> Greetings.
> 
> Ok, well I can verify that it breaks every time when the
> http://www.jfree.org/jfreechart/index.php JFreeChart library is used to
> dynamically render a graph from data.
> 
> I am unsure exactly where in the code this is happening, will step through
> and provide additional information as I have it.
> 
> I am using jfreechart 0.9.20.
> 
The problem for me is with ImageIO, for this reason I report the 
problem to apple. After all a Java VM crash is not part of the 
specification...

Edoardo Panfili


-- 
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat on Mac

Posted by Carl Olivier <ca...@unysen.co.uk>.
Greetings.

Ok, well I can verify that it breaks every time when the
http://www.jfree.org/jfreechart/index.php JFreeChart library is used to
dynamically render a graph from data.

I am unsure exactly where in the code this is happening, will step through
and provide additional information as I have it.

I am using jfreechart 0.9.20.

Regards,

Carl

-----Original Message-----
From: Edoardo Panfili [mailto:edoardo@aspix.it] 
Sent: 08 November 2005 15:50
To: Tomcat Users List
Subject: Re: Tomcat on Mac

Carl Olivier ha scritto:
> Greetings.
>  
> I am having a problem with my Tomcat server (5.0.28) running on Mac
XServe.
> 
> Not sure if anyone here can help, but trying my luck...
> 
> output from /usr/bin/sw_vers below:
>  
> ProductName:    Mac OS X Server
> ProductVersion: 10.4.2
> BuildVersion:   8C47
>  
> java - version output:
>  
> java version "1.4.2_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) 
> Java
> HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
>  
> It seems when anything (well a lot?) executing withing the JVM 
> requiring any java imaging libs, or access to a default toolkit for 
> image processing causes this (or similar errors) to occur - and result 
> in the java process exiting!  Log entries from Tomcat log file at the 
> time of process exit and
> failure:
>  
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> 2005-11-08 15:05:17.195 java[5522] CFLog (0): CFMessagePort:
> bootstrap_register(): failed 1100 (0x44c), port = 0x5a20f, name = 
> 'Processes-2.5522'
> See /usr/include/servers/bootstrap_defs.h for the error codes.
> 2005-11-08 15:05:17.196 java[5522] CFLog (99): CFMessagePortCreateLocal():
> failed to name Mach port (Processes-2.5522) CFMessagePortCreateLocal 
> failed (name = Processes-2.5522 error = 0)
>  
> The java runtime switches I am using are below:
>  
> -Xms784m -Xmx784m -Xss128k -XX:+UseParallelGC -XX:MaxPermSize=196m 
> -XX:+DisableExplicitGC -Djava.awt.headless=true
>  
> Does anyone have any idea as to why this is happening, or what could 
> potentially cause this?
> 
One my application (Servlet) that works with bitmap images hangs in the same
way (java VM exits). Ther error don't occurs overy times, is not easily
reproducible.

There is a bug report at apple
"3844767:1.4.2_05-141.3:java vm crash when using javax.image  	 
19-Oct-2004 06:11 PM"
But no solution.
Now I am using SVG, o "very" alternative vay. I'd like to change my server.

output from /usr/bin/sw_vers below:
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98

java - version output:
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-233) Java
HotSpot(TM) Client VM (build 1.4.2-56, mixed mode)


Edoardo Panfili


--
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat on Mac

Posted by Edoardo Panfili <ed...@aspix.it>.
Carl Olivier ha scritto:
> Greetings.
>  
> I am having a problem with my Tomcat server (5.0.28) running on Mac XServe.
> 
> Not sure if anyone here can help, but trying my luck...
> 
> output from /usr/bin/sw_vers below:
>  
> ProductName:    Mac OS X Server
> ProductVersion: 10.4.2
> BuildVersion:   8C47
>  
> java - version output:
>  
> java version "1.4.2_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java
> HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
>  
> It seems when anything (well a lot?) executing withing the JVM requiring any
> java imaging libs, or access to a default toolkit for image processing
> causes this (or similar errors) to occur - and result in the java process
> exiting!  Log entries from Tomcat log file at the time of process exit and
> failure:
>  
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> Exception in declaration()
> 2005-11-08 15:05:17.195 java[5522] CFLog (0): CFMessagePort:
> bootstrap_register(): failed 1100 (0x44c), port = 0x5a20f, name =
> 'Processes-2.5522'
> See /usr/include/servers/bootstrap_defs.h for the error codes.
> 2005-11-08 15:05:17.196 java[5522] CFLog (99): CFMessagePortCreateLocal():
> failed to name Mach port (Processes-2.5522) CFMessagePortCreateLocal failed
> (name = Processes-2.5522 error = 0)
>  
> The java runtime switches I am using are below:
>  
> -Xms784m -Xmx784m -Xss128k -XX:+UseParallelGC -XX:MaxPermSize=196m
> -XX:+DisableExplicitGC -Djava.awt.headless=true
>  
> Does anyone have any idea as to why this is happening, or what could
> potentially cause this?
> 
One my application (Servlet) that works with bitmap images hangs in 
the same way (java VM exits). Ther error don't occurs overy times, is 
not easily reproducible.

There is a bug report at apple
"3844767:1.4.2_05-141.3:java vm crash when using javax.image  	 
19-Oct-2004 06:11 PM"
But no solution.
Now I am using SVG, o "very" alternative vay. I'd like to change my 
server.

output from /usr/bin/sw_vers below:
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98

java - version output:
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-233)
Java HotSpot(TM) Client VM (build 1.4.2-56, mixed mode)


Edoardo Panfili


-- 
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org