[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] Developer Kit for Java Update 1.0



I think I addressed this question about the "missing" prompt last week.
If you look below in your message info, you will see where I marked your
prompt.  It does appear, but very quickly Tomcat, which is running as a
separate process by then, spews forth a bunch of information, so your
prompt (which is just an output message) goes whizzing by.  The shell
has no idea this has happened and so it continues to wait for your input
while you continue to wait for a prompt which has already been issued.
Guess who wins?  Just press enter when the garbage stops coming and you
see another prompt.  Or just enter the next command, and press enter.
It will be executed.

Jack

-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx] On Behalf Of enrique
Sent: Friday, September 14, 2001 10:43 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] Developer Kit for Java Update 1.0


On Friday, September 14, 2001, at 01:18 PM, Timothy Stonis wrote:

> The major fixes are:
>
>   o Update to Tomcat 3.2.3
>   o Security fixes so servlets are safer and WEB-INF can't be browsed
to
>   o Security hooks so you can give security permissions on a per site 
> basis
>   o Installation of JES 2.0.1 (for experimentation, no processes 
> started)
>   o Installation of JXTA build 29i (for experimentation, no processes
> started)

Ok, so I upgraded and restarted httpd only to find out that I am still 
not getting the user prompt after httpd goes through startup. I also 
seem to be experiencing java starting up twice. Is this normal? And if 
so, could someone explain why java has to go through the startup twice 
and then not return the user prompt? I'm also wondering if this strange 
start up may affect the cobalt when a complete restart of the raq3 takes

place.

Thank you for the security updates Timothy!

enrique

Below is my httpd startup responses. Please excuse the lengthy info:

[root@www admin]# /etc/rc.d/init.d/httpd start
Setting up Web Service: Using classpath: /usr/java/jakarta-
tomcat//lib/ant.jar:/usr/java/jakarta-
tomcat//lib/jasper.jar:/usr/java/jakarta-
tomcat//lib/jaxp.jar:/usr/java/jakarta-
tomcat//lib/parser.jar:/usr/java/jakarta-
tomcat//lib/servlet.jar:/usr/java/jakarta-
tomcat//lib/test:/usr/java/jakarta-
tomcat//lib/webserver.jar:/usr/java/jdk/lib/tools.jar::.:/usr/java/jakar
ta-tomcat/
lib/servlet.jar:/usr/interclient/interclient.jar:.:/usr/java/jakarta-tom
cat/
lib/servlet.jar:/usr/interclient/interclient.jar
Stop tomcat
java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
         at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
         at java.net.Socket.<init>(Socket.java:273)
         at java.net.Socket.<init>(Socket.java:100)
         at
org.apache.tomcat.task.StopTomcat.execute(StopTomcat.java:104)
         at org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267)
         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174)
         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Using classpath: /usr/java/jakarta-
tomcat//lib/ant.jar:/usr/java/jakarta-
tomcat//lib/jasper.jar:/usr/java/jakarta-
tomcat//lib/jaxp.jar:/usr/java/jakarta-
tomcat//lib/parser.jar:/usr/java/jakarta-
tomcat//lib/servlet.jar:/usr/java/jakarta-
tomcat//lib/test:/usr/java/jakarta-
tomcat//lib/webserver.jar:/usr/java/jdk/lib/tools.jar::.:/usr/java/jakar
ta-tomcat/
lib/servlet.jar:/usr/interclient/interclient.jar:.:/usr/java/jakarta-tom
cat/
lib/servlet.jar:/usr/interclient/interclient.jar
Starting with a SecurityManager
2001-09-14 22:23:56 - ContextManager: Adding context Ctx( www.xxx.net: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx( www.xxx.org: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx( www.xxx.com: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx( www.xxx.com: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx( www.xxx.com: )
2001-09-14 22:23:57 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
Starting tomcat. Check logs/tomcat.log for error messages
No webapps/ directory /usr/java/jakarta-tomcat-3.2.3/webapps
2001-09-14 22:24:00 - PoolTcpConnector: Starting Ajp12ConnectionHandler 
on 8007
Using classpath: /usr/java/jakarta-
tomcat//lib/ant.jar:/usr/java/jakarta-
tomcat//lib/jasper.jar:/usr/java/jakarta-
tomcat//lib/jaxp.jar:/usr/java/jakarta-
tomcat//lib/parser.jar:/usr/java/jakarta-
tomcat//lib/servlet.jar:/usr/java/jakarta-
tomcat//lib/test:/usr/java/jakarta-
tomcat//lib/webserver.jar:/usr/java/jdk/lib/tools.jar::.:/usr/java/jakar
ta-tomcat/
lib/servlet.jar:/usr/interclient/interclient.jar:.:/usr/java/jakarta-tom
cat/
lib/servlet.jar:/usr/interclient/interclient.jar
Stop tomcat
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( www.xxx.net: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( www.xxx.org: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( www.xxx.com: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( www.xxx.com: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( www.xxx.com: )
2001-09-14 22:24:05 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
Using classpath: /usr/java/jakarta-
tomcat//lib/ant.jar:/usr/java/jakarta-
tomcat//lib/jasper.jar:/usr/java/jakarta-
tomcat//lib/jaxp.jar:/usr/java/jakarta-
tomcat//lib/parser.jar:/usr/java/jakarta-
tomcat//lib/servlet.jar:/usr/java/jakarta-
tomcat//lib/test:/usr/java/jakarta-
tomcat//lib/webserver.jar:/usr/java/jdk/lib/tools.jar::.:/usr/java/jakar
ta-tomcat/
lib/servlet.jar:/usr/interclient/interclient.jar:.:/usr/java/jakarta-tom
cat/
lib/servlet.jar:/usr/interclient/interclient.jar
Starting with a SecurityManager
2001-09-14 22:24:13 - ContextManager: Adding context Ctx( www.xxx.net: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx( www.xxx.org: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx( www.xxx.com: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx( www.xxx.com: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx( www.xxx.com: )
2001-09-14 22:24:13 - ContextManager: Adding context Ctx
( xxx.xxx.xx.xx: )
Starting tomcat. Check logs/tomcat.log for error messages
No webapps/ directory /usr/java/jakarta-tomcat-3.2.3/webapps
2001-09-14 22:24:17 - PoolTcpConnector: Starting Ajp12ConnectionHandler 
on 8007
/usr/sbin/httpd

************** NOTE: Your prompt is at the beginning of the line below.
The other stuff is generated by the Tomcat process, not the shell,
which, as an independent process, is quite unaware of this. -- J
***************

[root@www admin]# 2001-09-14 22:24:23 - ContextManager: Removing context

Ctx( www.xxx.net: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( www.xxx.org: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( www.xxx.com: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( www.xxx.com: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( www.xxx.com: )
2001-09-14 22:24:23 - ContextManager: Removing context Ctx
( xxx.xxx.xx.xx: )

Then no prompt until I hit "return" This was done after about two 
minutes of no activity.

[root@www admin]#

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers