cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Medina <ro...@batmap.com>
Subject Re: Installling Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2 _on Solaris x86 2.8_
Date Wed, 16 Jan 2002 15:44:49 GMT

 Hello Brian & all:

 This is the neverending story (part II - the revenge) :-(. Now that
cocoon seems to work I'm starting to get errors related to java
threads (or at least it seems so). 

 My machine runs Solaris x86 2.8 and I'm planning to migrate to
Solaris sparc 2.8. I've applied: 108828-13 and 111178-06 patches (both
related to libthreads.so; I don't know whether or not this could solve
anything; it doesn't seem so..).

 Anyone knows about this type of problems??

 Log attached. May be somebody could help me. Again, thanks a lot for
your patience.

 --Rom.


 Error log:

-------------------
"Thread-34" (TID:0x8bed968, sys_thread_t:0x8bed8b0, state:CW,
thread_t: t@82, threadID:0xd9560d74, stack_bottom:0xd9561000,
stack_size:0x20000) prio=5

[1] java.lang.Thread.sleep(Native Method)
[2] batmap.map.MapCheckConnection.run(MapCheckConnection.java:24)
-------------------
"Thread-33" (TID:0x8cbf030, sys_thread_t:0x8cbef78, state:CW,
thread_t: t@81, threadID:0xd95b0d74, stack_bottom:0xd95b1000,
stack_size:0x20000) prio=5

[1] java.lang.Thread.sleep(Native Method)
[2] batmap.map.MapCheckConnection.run(MapCheckConnection.java:24)
-------------------
"SeedGenerator Thread" (TID:0x877c258, sys_thread_t:0x877c1a0,
state:CW, thread_t: t@26, threadID:0xd9610d74,
stack_bottom:0xd9611000, stack_size:0x20000) prio=1

[1] java.lang.Object.wait(Object.java:424)
[2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
[3] java.lang.Thread.run(Thread.java:478)
-------------------
"Thread-18" (TID:0x8181940, sys_thread_t:0x8181888, state:MW,
thread_t: t@1, threadID:0x804c058, stack_bottom:0x8048000,
stack_size:0x848000) prio=5

-------------------
"MonitorRunnable" (TID:0x868c0f0, sys_thread_t:0x868c038, state:CW,
thread_t: t@25, threadID:0xd9aa0d74, stack_bottom:0xd9aa1000,
stack_size:0x20000) prio=5

[1]
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(Unknown
Source)
[2] java.lang.Thread.run(Thread.java:478)
-------------------
"Thread-16" (TID:0x867e328, sys_thread_t:0x867e270, state:R, thread_t:
t@24, threadID:0xd9ae0d74, stack_bottom:0xd9ae1000,
stack_size:0x20000) prio=5

[1] java.net.SocketInputStream.socketRead(Native Method)
[2] java.net.SocketInputStream.read(SocketInputStream.java:85)
[3] org.apache.tomcat.modules.server.Ajp13.readN(Unknown Source)
[4] org.apache.tomcat.modules.server.Ajp13.receive(Unknown Source)
[5] org.apache.tomcat.modules.server.Ajp13.receiveNextRequest(Unknown
Source)
[6]
org.apache.tomcat.modules.server.Ajp13Request.receiveNextRequest(Unknown
Source)
[7]
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown
Source)
[8] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
[9]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[10] java.lang.Thread.run(Thread.java:478)
-------------------
"Thread-15" (TID:0x86592a0, sys_thread_t:0x86591e8, state:R, thread_t:
t@23, threadID:0xd9b20d74, stack_bottom:0xd9b21000,
stack_size:0x20000) prio=5 *current thread*

[1] com.coolservlets.util.StringUtils.hash(StringUtils.java:224)
[2]
com.coolservlets.forum.database.DbAuthorizationFactory.getAuthorization(DbAuthorizationFactory.java:84)
[3] UserLogin.doGet(UserLogin.java)
[4] javax.servlet.http.HttpServlet.service(HttpServlet.java)
[5] javax.servlet.http.HttpServlet.service(HttpServlet.java)
[6] org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
[7] org.apache.tomcat.core.Handler.invoke(Unknown Source)
[8] org.apache.tomcat.core.Handler.service(Unknown Source)
[9] org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
[10] org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
[11] org.apache.tomcat.core.ContextManager.service(Unknown Source)
[12]
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown
Source)
[13] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
[14]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[15] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-14" (TID:0x868eee8, sys_thread_t:0x868ee30, state:R, thread_t:
t@22, threadID:0xd9b60d74, stack_bottom:0xd9b61000,
stack_size:0x20000) prio=5

[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Unknown
Source)
[6] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
[7]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[8] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-13" (TID:0x8685840, sys_thread_t:0x8685788, state:CW,
thread_t: t@21, threadID:0xd9ba0d74, stack_bottom:0xd9ba1000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"MonitorRunnable" (TID:0x8689c98, sys_thread_t:0x8689be0, state:CW,
thread_t: t@20, threadID:0xd9be0d74, stack_bottom:0xd9be1000,
stack_size:0x20000) prio=5

[1]
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(Unknown
Source)
[2] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-11" (TID:0x868ece0, sys_thread_t:0x868ec28, state:R, thread_t:
t@19, threadID:0xd9c20d74, stack_bottom:0xd9c21000,
stack_size:0x20000) prio=5

[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Unknown
Source)
[6] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
[7]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[8] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-10" (TID:0x8683ed8, sys_thread_t:0x8683e20, state:CW,
thread_t: t@18, threadID:0xd9c70d74, stack_bottom:0xd9c71000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-9" (TID:0x86570e8, sys_thread_t:0x8657030, state:CW, thread_t:
t@17, threadID:0xd9cb0d74, stack_bottom:0xd9cb1000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-8" (TID:0x8698b88, sys_thread_t:0x8698ad0, state:CW, thread_t:
t@16, threadID:0xd9cf0d74, stack_bottom:0xd9cf1000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"MonitorRunnable" (TID:0x8681128, sys_thread_t:0x8681070, state:CW,
thread_t: t@15, threadID:0xd9d30d74, stack_bottom:0xd9d31000,
stack_size:0x20000) prio=5

[1]
org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(Unknown
Source)
[2] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-6" (TID:0x865a4f0, sys_thread_t:0x865a438, state:R, thread_t:
t@14, threadID:0xd9d70d74, stack_bottom:0xd9d71000,
stack_size:0x20000) prio=5

[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Unknown
Source)
[6] org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
[7]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[8] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-5" (TID:0x867da58, sys_thread_t:0x867d9a0, state:CW, thread_t:
t@13, threadID:0xd9db0d74, stack_bottom:0xd9db1000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-4" (TID:0x86725c0, sys_thread_t:0x8672508, state:CW, thread_t:
t@12, threadID:0xd9e00d74, stack_bottom:0xd9e01000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Thread-3" (TID:0x8677dc0, sys_thread_t:0x8677d08, state:CW, thread_t:
t@11, threadID:0xd9e30d74, stack_bottom:0xd9e31000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2]
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
[3] java.lang.Thread.run(Thread.java:479)
-------------------
"Expirer" (TID:0x866ce28, sys_thread_t:0x866cd70, state:CW, thread_t:
t@10, threadID:0xd9e90d74, stack_bottom:0xd9e91000,
stack_size:0x20000) prio=5

[1] java.lang.Thread.sleep(Native Method)
[2] org.apache.tomcat.util.threads.Reaper.run(Unknown Source)
-------------------
"QueueLogDaemon" (TID:0x841ad28, sys_thread_t:0x841ac70, state:CW,
thread_t: t@9, threadID:0xdeb60d74, stack_bottom:0xdeb61000,
stack_size:0x20000) prio=5

[1] java.lang.Object.wait(Object.java:424)
[2] org.apache.tomcat.util.collections.Queue.pull(Unknown Source)
[3] org.apache.tomcat.util.qlog.LogDaemon.run(Unknown Source)
[4] java.lang.Thread.run(Thread.java:479)
-------------------

Exiting Thread (sys_thread_t:0xdfb7d294) : no stack

Exiting Thread (sys_thread_t:0x83f4978) : no stack
"Finalizer" (TID:0x816faa8, sys_thread_t:0x816f9f0, state:CW,
thread_t: t@6, threadID:0xdf660d74, stack_bottom:0xdf661000,
stack_size:0x20000) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3]
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
-------------------
"Reference Handler" (TID:0x816d288, sys_thread_t:0x816d1d0, state:CW,
thread_t: t@5, threadID:0xdf690d74, stack_bottom:0xdf691000,
stack_size:0x20000) prio=10

[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
-------------------
"Signal dispatcher" (TID:0x814f970, sys_thread_t:0x814f8b8, state:MW,
thread_t: t@4, threadID:0xdf6d0d74, stack_bottom:0xdf6d1000,
stack_size:0x20000) prio=10

-------------------


--
Román Medina-Heigl Hernández
Sysadmin & Security Officer
@ BatMap S.A.


On Tue, 15 Jan 2002 12:00:40 -0500, you wrote:

>Hi Román
>
>I am not sure if there is a incompatibility between Tomcat 3.3 and cocoon
>1.8.2 - I have is working to meet my needs ( which are very limit at this
>point ).  But there is little or no documentation to help with this
>combination. Many for two reasons I think: first there was and I think
>continues to be little volunteer work on documentation; Secondly, most
>people, on the list any way, seemed to have moved to cocoon 2 at the time of
>the 3.3 and 1.8 situation for us.
>
>>>From what I have read there seems to be a bit of work moving from 1.8 to 2
>with cocoon as well.  Others on the list are likely to be more helpful with
>this matter as with the recommended set-up question you raised.
>
>With Tomcat 3.3 as I understand it from the docs the lib are divided up
>between Tomcat jar - common jars and application jars.  The good news about
>this is all of the varied advise about deleting this or that jar and
>renaming jars to 1....jar etc can be ignored.
>
>I have my cocoon jars located in $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib
>
>The jar files located in this directory are:
>
>turbine-pool.jar
>xalan_1_2_D02.jar
>xerces_1_2.jar
>fop_0_15_0.jar
>w3c.jar
>cocoon.jar
>tools.jar
>
>The changes I made to cocoon.properties were done by locating the required
>xsl files and then hardcode their location ( do them all because if you
>don't each restart will fail on the next file in order ( trust me on this))
>in cocoon.properties ( it is near the end of the file) as follows:
>
>processor.xsp.logicsheet.context.java =
>/usr/java/cocoon-1.8.2/build/src/org/apache/cocoon/processor/xsp/library/jav
>a/context.xsl
>processor.xsp.logicsheet.cookies.java =
>/usr/java/cocoon-1.8.2/build/src/org/apache/cocoon/processor/xsp/library/jav
>a/cookie.xsl
>processor.xsp.logicsheet.global.java =
>/usr/java/cocoon-1.8.2/build/src/org/apache/cocoon/processor/xsp/library/jav
>a/global.xsl
>processor.xsp.logicsheet.request.java =
>/usr/java/cocoon-1.8.2/build/src/org/apache/cocoon/processor/xsp/library/jav
>a/request.xsl
>processor.xsp.logicsheet.response.java =
>/usr/java/cocoon-1.8.2/build/src/org/apache/cocoon/processor/xsp/library/jav
>a/response.xsl
>processor.xsp.logicsheet.session.java =
>/usr/java/cocoon-1.8.2/build/src/org/apache/cocoon/processor/xsp/library/jav
>a/session.xsl
>
>There were other ways suggested to fix this area to work, but this works for
>me and others have used the same method to get things working.
>
>
>I think these are the answers to your questions that I feel capable of
>providing.  Also, getting apache to link with TOMCAT is working for me using
>mod_jk - but again there were some tricks I had to work out.  I can try to
>remember them when you need them if you need them.
>
>Good Luck!
>
>Brian
>
>
>
>
>
>
>
>
>
>----- Original Message -----
>From: "Roman Medina" <roman@batmap.com>
>To: <cocoon-users@xml.apache.org>
>Sent: Tuesday, January 15, 2002 5:43 AM
>Subject: Re: Installling Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2
>
>
>
> Hello Brian:
>
> First of all, thanks for taking some time to answer me :-)
>I'll try to be more precise in my comments:
>
> I've followed docs at:
>http://xml.apache.org/cocoon1/install.html#tomcat
>*except*:
>- doc says I should copy *.jar files to $TOMCAT_HOME/lib. Since Tomcat
>3.3 lib structure changed I have copied them to $TOMCAT_HOME/lib/apps
>(anyway I've tried all posibilities, I mean, copying to lib instead of
>lib/apps, etc; and then things got worse: cocoon wasn't called from
>tomcat, so I decided to leave *.jar in lib/apps. Keep on reading,
>please). 1st question: _where sould I copy the jar files to?_
>- I haven't set up Apache yet. Thus I'm using Tomcat for serving files
>through 8080 port. I don't want to introduce Apache until
>tomcat+cocoon works properly. So I haven't done any mod_jk or jserv
>setup. This shouldn't affect. The URL I'm trying to get to work is:
>http://localhost:8080/cocoon/samples/index.xml. I always receive the
>following cocoon error:
>"Publishing Engine could not be initialized.
>java.lang.RuntimeException: Error loading logicsheet at
>resource://org/apache/cocoon/processor/xsp/library/java/cookie.xsl due
>to java.lang.Exception: Resource not found or retrieving error."
>
>This is not the same error stated in the archive, at least, not
>exactly (in archive I've seen errors in "java.utils" or something like
>that). So tricking java.utils is possible not a good idea (I'm
>refering to the "fix" someone post to the ml).
>
>2nd question: Please, could you explain with a complete example how to
>point to util.xsl from cocoon.properties? I could try to do the same
>for cookie.xsl, which seems to be the file it is causing problems.
>
>3rd question: if Tomcat 3.3 has any type of incompatibility with
>Cocoon 1.8.2 (and basically that seems to be the problem), why isn't
>it documented in cocoon faq / docs???? I've digged through docs, faq,
>etc and I find _nothing_ :-((((
>
>4th question: Any comments about other combinations?? For instance:
>- tomcat 3.3 + cocoon 2 (will I have the same
>incompatibility/problems?)
>- tomcat 4 + cocoon 1
>- tomcat 4 + cocoon 2 (this seems to be the right choose).
>
>5th question: in case of deciding to do the migration, in which grade
>my app (actually running on tomcat 3.2 + cocoon 1.8.2) should be
>re-programmed??
>
> Sorry if they are too many questions, but the situation deserves it,
>believe me...


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message