java.util.zip.ZipException error message

2004-03-22 Thread Chris Daly
hi

i'm trying to stop tomcat 4.1 (bin/shutdown.sh) and getting the following 
error (unix sun machine)

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:110)
at java.util.jar.JarFile.init(JarFile.java:115)
at java.util.jar.JarFile.init(JarFile.java:57)
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1216)
at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221)
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:153)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: 
java.util.zip.ZipException: error in opening zip file
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1246)
at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221)
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:153)

i have one application which has its context path set in server xml (ie the 
app is not a folder from the tomcat ROOT directory), and am building 
another app which is created simply via putting the folder in the server 
root directory ie webapps/ROOT/library.  there is also a search servlet -

http://www.servletsuite.com/servlets/search.htm which i am trying to run 
from the webapps/ROOT/lbrary/WEB-INF directory (ie web.xml)

any ideas ?

cheers

chris 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


java.util.zip.ZipException error message

2004-03-18 Thread Chris Daly
hi

i'm trying to stop tomcat 4.1 (bin/shutdown.sh) and getting the following 
error (unix sun machine)

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:110)
at java.util.jar.JarFile.init(JarFile.java:115)
at java.util.jar.JarFile.init(JarFile.java:57)
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1216)
at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221)
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:153)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: 
java.util.zip.ZipException: error in opening zip file
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1246)
at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221)
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:153)

i have one application which has its context path set in server xml (ie the 
app is not a folder from the tomcat ROOT directory), and am building 
another app which is created simply via putting the folder in the server 
root directory ie webapps/ROOT/library.  there is also a search servlet -

http://www.servletsuite.com/servlets/search.htm which i am trying to run 
from the webapps/ROOT/lbrary/WEB-INF directory (ie web.xml)

any ideas ?

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat and sderr file

2004-03-09 Thread Chris Daly
hi

i have installed wasp on my c: drive (win 2kpro), and also have tomcat as a 
stand alone (4.1.12-LE) installed.

problem is when i try to run tomcat (with wasp not running) the pages which 
it pulled form the root directory last week are currently unavailable 
(not a 404).

when i try both servers running simultaneously and i try to call the same 
page i get a 404 error from the tomcat page.

i get the following error from the stderr file

09-Mar-2004 09:01:31 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
09-Mar-2004 09:01:53 org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 15 column -1: Illegal character at end of 
document, #x3c;.
org.xml.sax.SAXParseException: Illegal character at end of document, #x3c;.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506)

any ideas ?

cheers

chris 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat wont start - log file error

2004-03-05 Thread Chris Daly
hi

i installed a product called wasp server 
http://www.systinet.com/products/java_ws (looks like a neat tool for web 
services) on my local machine (win2kpro).

problem is now my tomcat doesn't seem to start even when wasp is shut 
down.  heres' what i'm getting from the log file - localhost-examples - log 
2004

2004-03-05 10:09:48 WebappLoader[/examples]: Deploying class repositories 
to work directory 
C:\jakarta-tomcat-4.1.12-LE\work\Standalone\localhost\examples
2004-03-05 10:09:48 WebappLoader[/examples]: Deploy class files 
/WEB-INF/classes to 
C:\jakarta-tomcat-4.1.12-LE\webapps\examples\WEB-INF\classes
2004-03-05 10:09:48 WebappLoader[/examples]: Reloading checks are enabled 
for this Context
2004-03-05 10:09:48 ContextConfig[/examples]: Configured an authenticator 
for method FORM
2004-03-05 10:09:48 StandardManager[/examples]: Seeding random number 
generator class java.security.SecureRandom
2004-03-05 10:09:49 StandardManager[/examples]: Seeding of random number 
generator has been completed
2004-03-05 10:09:49 ContextListener: contextInitialized()
2004-03-05 10:09:49 SessionListener: contextInitialized()
2004-03-05 10:09:49 StandardWrapper[/examples:default]: Loading container 
servlet default
2004-03-05 10:09:49 StandardWrapper[/examples:invoker]: Loading container 
servlet invoker

and the following from localhost_log.2004...

2004-03-05 10:09:49 StandardContext[/soap]: Starting
2004-03-05 10:09:49 StandardContext[/soap]: Processing start(), current 
available=false
2004-03-05 10:09:49 StandardContext[/soap]: Configuring default Resources

the wasp server has built in soap services so i wonder if this is whats 
happening - any ideas ?

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat wont start - log file error

2004-03-05 Thread Chris Daly
hi

the server is running and i'm getting the following message

The page you are looking for is currently unavailable. The Web site might 
be experiencing technical difficulties, or you may need to adjust your 
browser settings.

the wasp server is set to port 6060 and is not running.  the page i'm 
trying to call has taglib references but all is in order in terms of files 
in lib directory, tld reference etc

the jsp files are in jakarta-tomcat-4.1.12-LE/webapps/root - they were 
working last week.

i can't figure it ? ?

cheers

chris



At 08:50 05.03.2004 -0500, you wrote:

Hi,
Your logs don't indicate anything wrong.  Are there any errors in them?
;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 5:20 AM
To: [EMAIL PROTECTED]
Subject: tomcat wont start - log file error

hi

i installed a product called wasp server
http://www.systinet.com/products/java_ws (looks like a neat tool for
web
services) on my local machine (win2kpro).

problem is now my tomcat doesn't seem to start even when wasp is shut
down.  heres' what i'm getting from the log file - localhost-examples -
log
2004

2004-03-05 10:09:48 WebappLoader[/examples]: Deploying class
repositories
to work directory
C:\jakarta-tomcat-4.1.12-LE\work\Standalone\localhost\examples
2004-03-05 10:09:48 WebappLoader[/examples]: Deploy class files
/WEB-INF/classes to
C:\jakarta-tomcat-4.1.12-LE\webapps\examples\WEB-INF\classes
2004-03-05 10:09:48 WebappLoader[/examples]: Reloading checks are
enabled
for this Context
2004-03-05 10:09:48 ContextConfig[/examples]: Configured an
authenticator
for method FORM
2004-03-05 10:09:48 StandardManager[/examples]: Seeding random number
generator class java.security.SecureRandom
2004-03-05 10:09:49 StandardManager[/examples]: Seeding of random
number
generator has been completed
2004-03-05 10:09:49 ContextListener: contextInitialized()
2004-03-05 10:09:49 SessionListener: contextInitialized()
2004-03-05 10:09:49 StandardWrapper[/examples:default]: Loading
container
servlet default
2004-03-05 10:09:49 StandardWrapper[/examples:invoker]: Loading
container
servlet invoker

and the following from localhost_log.2004...

2004-03-05 10:09:49 StandardContext[/soap]: Starting
2004-03-05 10:09:49 StandardContext[/soap]: Processing start(), current
available=false
2004-03-05 10:09:49 StandardContext[/soap]: Configuring default
Resources

the wasp server has built in soap services so i wonder if this is whats
happening - any ideas ?

cheers

chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat wont start - log file error

2004-03-05 Thread Chris Daly
cheers

i've tried running both at same time but no joy, running at different 
times,  changing ports.  when i run both at same time on same port 
interestingly i get a 404 on the tomcat.jsp, and the wasp page takes 
preference.

probably have to try a reinstall on old tomcat (4.1.12- LE)

chris

At 15:30 05.03.2004 +, you wrote:
Hi, I have had literally a minute to think about this so sorry if it's
way off but my instinct says to try running WASP on Port 8080 (or maybe
80??) and running Tomcat at the same time.
Quick Thought - I wonder if the order in which you start them up would
help??
Of course if the WASP development team have come up with something
specifically to use with their web-server it may be worth switching to
that...
HTH,
Ad
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


include files

2004-02-10 Thread Chris Daly
hi

i've tested a new version of my jsp include file (a header which is 
referenced by about 40 pages) on one jsp page, and its wokred ok.  i've 
changed the coding of the include page though none of the other jsp pages 
have picked up the new include and are still looking to teh old one ?  i've 
stopped and started tomcat but its till not changed.

does anyone have any ideas ?  i've included a couple of new tag libraries 
but they are working ok and i cant see why it would be anything other than 
tomcat ?

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: include files

2004-02-10 Thread Chris Daly
everyhting under the work directory, all the directories

work/Standalone/localhost  etc etc ?  wont this delete the standlone server ?



At 10:09 10.02.2004 +, you wrote:
If you think everything else is working ok, stop tomcat delete everything
under the work directory and start again.
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 10 February 2004 09:19
To: [EMAIL PROTECTED]
Subject: include files
hi

i've tested a new version of my jsp include file (a header which is
referenced by about 40 pages) on one jsp page, and its wokred ok.  i've
changed the coding of the include page though none of the other jsp pages
have picked up the new include and are still looking to teh old one ?  i've
stopped and started tomcat but its till not changed.
does anyone have any ideas ?  i've included a couple of new tag libraries
but they are working ok and i cant see why it would be anything other than
tomcat ?
cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Configuration question

2004-02-10 Thread Chris Daly
i think what you mean is run two instances of tomcat.  you do this within 
the conf/server.xml, and make another copy of the context path file where 
docbase is the root directory of your new website, remember to stop and 
start tomcat for the changes to take effect.

   Context path=/.. docBase=.../.../
debug=0 reloadable=false /
i think that should help.

At 11:37 10.02.2004 +0100, you wrote:
Hello,

I work with Tocat 5.018 on Win2K.

Here is my question: I would like to define two web adresses
(www.adress1.com and www.adress2.com) on the nearly same web site...
In fact, my first adress has to point to my default web page in the root
folder (/index.htm) : no problem for this, it works fine; my second adress
has to point to a page in a subdirecory (like /en/part2/mypage.htm).
I don't know how to define this situation in Tomcat. Could you give me some
idea?
Thanks in advance.

Arnaud



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: include files

2004-02-10 Thread Chris Daly
thanks.

do i delete the name of the app under tomcat, for example 
work/Standalone/localhost/Website ?  and all the $... files and the two 
directories -  Help and WEB-INF under this directory ?

what is the touch cmd ?  i cant find it in my wrox tomcat book ?

cheers

chris

You would delete only the directory relative of your site, under the work 
directory of tomcat;
for example, if you site is called www.test.org, you must delete the 
directory under tomcat work/www.test.org_8080;
probably the name may be different from release;
after delete it, you must restart tomcat;
But have you tried to use the touch cmd on all .jsp file that include your 
include.jsp? I use this mode, and all is OK, and I doesn't delete the work 
directory;

At 11:25 10.02.2004 +0100, you wrote:
You would delete only the directory relative of your site, under the work 
directory of tomcat;

for example, if you site is called www.test.org, you must delete the 
directory under tomcat work/www.test.org_8080;

probably the name may be different from release;

after delete it, you must restart tomcat;

But have you tried to use the touch cmd on all .jsp file that include your 
include.jsp? I use this mode, and all is OK, and I doesn't delete the work 
directory;


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: include files

2004-02-10 Thread Chris Daly
thanks to all.

At 09:06 10.02.2004 -0600, you wrote:
On Tue, 10 Feb 2004, Chris Daly wrote:

 thanks.

 do i delete the name of the app under tomcat, for example
 work/Standalone/localhost/Website ?  and all the $... files and the two
 directories -  Help and WEB-INF under this directory ?
I don't think there should be a WEB-INF under there.  Are you sure
you're looking in the right place?
 what is the touch cmd ?  i cant find it in my wrox tomcat book ?

touch is a Unix command.  What OS are you using?  If Windows, I don't
know whether it has a similar command.  (Basically touch file
updates the timestamp on file -- it will also create it, as an empty
file, if it doesn't exist.)
 You would delete only the directory relative of your site, under the work
 directory of tomcat;
 for example, if you site is called www.test.org, you must delete the
 directory under tomcat work/www.test.org_8080;
 probably the name may be different from release;
 after delete it, you must restart tomcat;
 But have you tried to use the touch cmd on all .jsp file that include your
 include.jsp? I use this mode, and all is OK, and I doesn't delete the work
 directory;


 At 11:25 10.02.2004 +0100, you wrote:
 You would delete only the directory relative of your site, under the work
 directory of tomcat;
 
 for example, if you site is called www.test.org, you must delete the
 directory under tomcat work/www.test.org_8080;
 
 probably the name may be different from release;
 
 after delete it, you must restart tomcat;
 
 But have you tried to use the touch cmd on all .jsp file that include your
 include.jsp? I use this mode, and all is OK, and I doesn't delete the work
 directory;


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


two tomcat instances

2003-09-22 Thread Chris Daly
hi

i have an application which uses tomcat 4.0 and i have copied the 
application and tomcat to two different folders.  as far as i can see i 
have changed the configuration settings on the second instance of server 
xml which are

different server ports
different ajp13 connector ports
different warp connector ports
there is also an appllication xml file which resides in the WEB-INF 
directory though this contains user name and pass (i have also changed the 
port number), and i dont see why this would be relative.

the second instance on port 8082 simply hangs.

any ideas as to the problem ?

also how do you configure the catalina_base environment variable ?  in 
which file do you do this ?  do you ammend existing text ?

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat shutdown

2003-08-14 Thread Chris Daly
how do i idnetify the 8006 port to be used with port 8082 in the server.xml 
file ?

!-- Define a non-SSL HTTP/1.1 Connector on port 8081 --
Connector className=org.apache.catalina.connector.http.HttpConnector
   port=8081 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=6/
!-- Note : To disable connection timeouts, set connectionTimeout value
 to -1 --
and

!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
Connector className=org.apache.catalina.connector.http.HttpConnector
   port=8082 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=6/
!-- Note : To disable connection timeouts, set connectionTimeout value
 to -1 --
Server port=8005 shutdown=SHUTDOWN debug=0 - how does this tie with 
port 8081 ?

Server port=8006 shutdown=SHUTDOWN debug=0

cheers

chris

At 10:45 12.08.2003 -0500, you wrote:

It doesn't matter what the actual port numbers are, just make sure that 
nothing else is listening to the ports your specify in each case.  So, if 
one Tomat is using port 8005, make the next one use port 8006, and so on.

Jake

At 04:24 PM 8/12/2003 +0100, you wrote:
no.

do i have to change the port number in server.xml so that its differenet 
from the following

Server port=8005 shutdown=SHUTDOWN debug=0

what do i change in the shutdown.sh or shutdown.bat if anything ?

cheers

chris

At 11:11 12.08.2003 -0400, you wrote:

Did you change the default shutdown ports for both instances?

If you did, did you also make the appropriate changes in the shutdown 
scripts?

John

Chris Daly wrote:

hi
i have two instances of tomcat runnign as a stand olone but on 
different ports - i can neither stop nor start either tomcat as all 
that i'm getting is
Catalina.stop: java.net.ConnectException: Connection refused
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.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
how do i stop the service  ?  i'm trying to use bin/shutdown.sh but its 
not working.
i have two instances of tomcat runnign as a stand olone but on 
different ports
cheers
chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


two tomcats one hangs

2003-08-14 Thread Chris Daly
hi

i've now two instances of tomcat running - seperate directories for 
everyhting - sperate connector ports.  the second version simply hangs 
midway through when i try to access the second instance of the server.  any 
ideas ?

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: two tomcats one hangs

2003-08-14 Thread Chris Daly
i've checked and there are different instances

theres another message

[2003/06/16 11:23:28]  HttpProcessor[8081][0] Request parameters
[2003/06/16 11:23:28]  HttpProcessor[8081][0] 
com.opentext.basis.webtop.servlet.WebtopException: No such action images.
at 
com.opentext.basis.webtop.servlet.WebtopServlet.mGetAction(Unknown Source)
at com.opentext.basis.webtop.servlet.WebtopServlet.doGet(Unknown 
Source)

also both server.xmls try to connect tot he same warp connector, ie

 Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=webapps
 acceptCount=10 debug=0/
they are both stand alone and  though would this be problematic ?

chris

At 11:52 13.08.2003 +0100, you wrote:
Are you 100% positive that both tomcat instances have different ports?
This exception is seen when a port is already in use. I'd suggest
you went through both server config files and double check :)
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 11:40
To: Tomcat Users List
Subject: RE: two tomcats one hangs


i'm getting this from teh catlina.out

Catalina.start: LifecycleException:  Error creating server socket
(java.net.BindException):  java.net.BindException: Address already in use
LifecycleException:  Error creating server socket
(java.net.BindException):  java.net.BindException: Address already in use
 at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.ja
va:491)
 at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454
)
 at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.net.BindException: Address already in use
 at java.net.PlainSocketImpl.socketBind(Native Method)
 at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
 at java.net.ServerSocket.init(ServerSocket.java:170)
 at java.net.ServerSocket.init(ServerSocket.java:121)
 at
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultServe
rSocketFactory.java:118)
 at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.ja
va:485)
 at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454
)
 at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native Method)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
chris

At 11:23 13.08.2003 +0100, you wrote:

Got any debug logs Chris? Are you trying to access a servlet or just the
default
starting pages in Tomcat?

Yiannis.

-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 11:15
To: mailto:@magic.lif.icnet.uk
Subject: two tomcats one hangs


hi

i've now two instances of tomcat running - seperate directories for
everyhting - sperate connector ports.  the second version simply hangs
midway through when i try to access the second instance of the server.  any
ideas ?

cheers

chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

RE: tomcat shutdown

2003-08-14 Thread Chris Daly
cheers

At 10:26 12.08.2003 -0500, you wrote:
As far as I know, there are to different kinds of ports that need to be
changed to run two instances of Tomcat.
1. Connector Port : usually 8080 or 80 - Can be changed to 8080 (First
tomcat) and 8081 ( second Tomcat ).
2. Server Port: Usually 8005 - can be changed to 8005 (First Tomcat) and
8006 (Second Tomcat).
And, I think you will have to manually stop the processes that are
currently running.
Hope this helps.
Kal
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi

i have two instances of tomcat runnign as a stand olone but on different

ports - i can neither stop nor start either tomcat as all that i'm
getting is
Catalina.stop: java.net.ConnectException: Connection refused
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.catalina.startup.Catalina.stop(Catalina.java:831)
 at
org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
 at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native Method)
 at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
how do i stop the service  ?  i'm trying to use bin/shutdown.sh but its
not
working.
i have two instances of tomcat runnign as a stand olone but on different
ports
cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat shutdown

2003-08-14 Thread Chris Daly
what about the temp directories - will it casuse in problems in relation to 
the jvm ?

cheers

chris

At 10:26 12.08.2003 -0500, you wrote:
As far as I know, there are to different kinds of ports that need to be
changed to run two instances of Tomcat.
1. Connector Port : usually 8080 or 80 - Can be changed to 8080 (First
tomcat) and 8081 ( second Tomcat ).
2. Server Port: Usually 8005 - can be changed to 8005 (First Tomcat) and
8006 (Second Tomcat).
And, I think you will have to manually stop the processes that are
currently running.
Hope this helps.
Kal
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi

i have two instances of tomcat runnign as a stand olone but on different

ports - i can neither stop nor start either tomcat as all that i'm
getting is
Catalina.stop: java.net.ConnectException: Connection refused
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.catalina.startup.Catalina.stop(Catalina.java:831)
 at
org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
 at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native Method)
 at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
how do i stop the service  ?  i'm trying to use bin/shutdown.sh but its
not
working.
i have two instances of tomcat runnign as a stand olone but on different
ports
cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: two tomcats one hangs

2003-08-14 Thread Chris Daly
i'm getting this from teh catlina.out

Catalina.start: LifecycleException:  Error creating server socket 
(java.net.BindException):  java.net.BindException: Address already in use
LifecycleException:  Error creating server socket 
(java.net.BindException):  java.net.BindException: Address already in use
at 
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.java:491)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.init(ServerSocket.java:170)
at java.net.ServerSocket.init(ServerSocket.java:121)
at 
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:118)
at 
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.java:485)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

chris

At 11:23 13.08.2003 +0100, you wrote:

Got any debug logs Chris? Are you trying to access a servlet or just the
default
starting pages in Tomcat?
Yiannis.

-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 11:15
To: mailto:@magic.lif.icnet.uk
Subject: two tomcats one hangs
hi

i've now two instances of tomcat running - seperate directories for
everyhting - sperate connector ports.  the second version simply hangs
midway through when i try to access the second instance of the server.  any
ideas ?
cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat shutdown

2003-08-14 Thread Chris Daly
hi

i have two instances of tomcat runnign as a stand olone but on different 
ports - i can neither stop nor start either tomcat as all that i'm getting is

Catalina.stop: java.net.ConnectException: Connection refused
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.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
how do i stop the service  ?  i'm trying to use bin/shutdown.sh but its not 
working.

i have two instances of tomcat runnign as a stand olone but on different ports

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


i can't stop tomcat

2003-08-14 Thread Chris Daly
hi

i made  a copy of an app and its tomcat 1.4 container (connecting it to a 
different port).  basically i cant now stop tocamt and am getting the a 
connection refused error ?   how do i stop it ? its running with apache on 
a unix sunsolaris .

cheers

chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat shutdown

2003-08-14 Thread Chris Daly
no.

do i have to change the port number in server.xml so that its differenet 
from the following

Server port=8005 shutdown=SHUTDOWN debug=0

what do i change in the shutdown.sh or shutdown.bat if anything ?

cheers

chris

At 11:11 12.08.2003 -0400, you wrote:

Did you change the default shutdown ports for both instances?

If you did, did you also make the appropriate changes in the shutdown scripts?

John

Chris Daly wrote:

hi
i have two instances of tomcat runnign as a stand olone but on different 
ports - i can neither stop nor start either tomcat as all that i'm getting is
Catalina.stop: java.net.ConnectException: Connection refused
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.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
how do i stop the service  ?  i'm trying to use bin/shutdown.sh but its 
not working.
i have two instances of tomcat runnign as a stand olone but on different 
ports
cheers
chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat administration

2002-11-14 Thread Chris Daly


hi asked this question yesterday though teh anaswer wasn't clear.

i've set up tomcat and am viewing the index.jsp page telling me that i've
set it up successfully.  on the lef thand side are a number of sections -at
the top under administraion is tomcat adminstration and manager.   when i
click on click on admin i'm taken to the admin/login.jsp page which asks
for a password and loging name - where are these stored ? what is the this
checked against ?

also when click i on manager i'm asked for a network password as it is
trying to go to the manager/html page.

cheers

chris



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




tomcat as a service

2002-11-13 Thread Chris Daly
hi

i wish to run tomact as a service though am currently running it as a stand 
alone.  has anyone got the details handy or can point me i the direction of 
good tutorials / shortcuts

cheers

chris


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



Re: SV: tomcat as a service

2002-11-13 Thread Chris Daly
could you give me a bit more detail ? cheers.

i'm using win 2000/nt
j2sdk1.4
tom 4.1.12 LE

At 16:49 13/11/2002 +0100, you wrote:


On win32 you get an option for doing this if you install the .exe


-Oprindelig meddelelse-
Fra: Chris Daly [mailto:C.daly;cancer.org.ukmailto:C.daly;cancer.org.uk]
Sendt: 13. november 2002 16:44
Til: [EMAIL PROTECTED]
Emne: tomcat as a service

hi

i wish to run tomact as a service though am currently running it as a stand
alone.  has anyone got the details handy or can point me i the direction of
good tutorials / shortcuts

cheers

chris

--
To unsubscribe, 
e-mail: 
mailto:tomcat-user-unsubscribe;jakarta.apache.orgmailto:tomcat-user-unsubscribe;jakarta.apache.org 

For additional commands, e-mail: 
mailto:tomcat-user-help;jakarta.apache.orgmailto:tomcat-user-help;jakarta.apache.org 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org