RE: mod_jk performance

2005-09-15 Thread KEREM ERKAN
 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 14, 2005 8:53 PM
 To: Tomcat Users List
 Subject: Re: mod_jk performance
 
 KEREM ERKAN wrote:
  Tomcat is harder to configure and -sadly- it has a far worse 
  documentation than Apache (for now).
 
 I look forward to seeing your documentation patches in Bugzilla ;)
 
 Mark
 
I would really love to. As soon as I get more experience on Tomcat (I work
with Tomcat for approx. 6-7 months), I will try to contribute a little. ;)

Don't get me wrong, but Tomcat documentation is not very explanatory and
does not have many examples for a newbie to get his hands on Tomcat easily.

Cheers,

Kerem


RE: Scripting variable is not generated

2005-09-15 Thread Wei Zhao
Hi Mark:

Thank you for your response. That definitely answered my question. 

Do you know what's the status on this issue? Is Tomcat not going to support the 
relevant code before 4.1? It will be a huge effort (if possible) to work around 
the problem using either of the ways described in the bug entries you provided.

Thanks

Wei

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 13, 2005 11:09 PM
To: Tomcat Users List
Subject: Re: Scripting variable is not generated

Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=21390 
and http://issues.apache.org/bugzilla/show_bug.cgi?id=23425

Mark

Wei Zhao wrote:
 I am migrating some code from tomcat 4.* to 5.5.
 However, I got some compilation error regarding the
 scripting variable from taglib.
 
 This is the definition of the scripting variable in
 TEI file:
 
 VariableInfo vSystemName = new VariableInfo(
 SystemName,
   String,
   true,
   VariableInfo.AT_END
   );
 
 This is how this tag is used in the JSP page:
 
 If( some condition )
 {
   system:getSystemName/
   %=SystemName%
 }
 else
 {
   system:getSystemName/
   %=SystemName%
 }
 
 But a got a Java compilation error saying the second
 SystemName cannot be resolved.
 I looked into the generated java code and it seems
 that only one SystemName is declared which is within
 the “if” and not visible in the “else”.  If I
 remove the “system:getSystemName” inside if,
 “SystemName” is now declared inside “else”. 
 
 This works differently from Tomcat 4.* which always
 generate the declaration of the “SystemName” in
 above case. And I don’t think it’s consistent with
 the spec. The variable is defined as “AT_END”
 scope and “declare” is set to true. So it should
 always be declared or a lot of existing code will be
 broken.
 
 Any thoughts? Did I miss anything?
 
 Thanks
 
 Wei
 
 
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 
 -
 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]

__
Do You Yahoo!?
�Ż�G���䣭�й���һ�ʼ�ɧ�ų���
http://cn.mail.yahoo.com/?idw071

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



RE: Problem making my servlet the default servlet (instead of ROOT)

2005-09-15 Thread Allistair Crossley
Hi,

To make this URL work

http://localhost/cart.faces - error 404

You need to just define your context as path= (although I use path=/ROOT 
with no problem). 

You URI mappings for JK would need to include (if no other wildcard mapping 
exists)

/*.faces=ajp13

to ensure traffic with faces extensions reach Tomcat.

Allistair.



 -Original Message-
 From: David Thielen [mailto:[EMAIL PROTECTED]
 Sent: 14 September 2005 18:14
 To: 'Tomcat Users List'
 Subject: RE: Problem making my servlet the default servlet (instead of
 ROOT)
 
 
 Hi;
 
 We have some ASP stuff too so we have to have IIS.
 
 I think I'll just put my servlet in root and stop trying to 
 change what root
 is (yuck).
 
 Thanks - dave
 
 
 -Original Message-
 From: Parsons Technical Services 
 [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 13, 2005 10:45 PM
 To: Tomcat Users List
 Subject: Re: Problem making my servlet the default servlet 
 (instead of ROOT)
 
  If I do Context path=/ docBase=store., then
  http://localhost:8080/cart.faces  returns an error 404.
 
 Yep. It will. Since you are using the path attribute I assume 
 this is in the
 
 server.xml and to set it as the root you would use .
 
  If you specify a context path of an empty string (), you 
 are defining 
 the default web application for this Host, which will process 
 all requests 
 not assigned to other Contexts. 
 
 If this is not in the server.xml then remove the path 
 attribute completely. 
 Name your package ROOT.war and deploy it. (Someone correct me 
 if I am wrong 
 here.)
 
 
  I figured it should be / and not ?
 
 
 No. See above.
 
 
  If I do Context path= docBase=store., then it works. But.
 
  http://localhost:8080/store/cart.faces works
 
  http://localhost/store/cart.faces works (via IIS)
 
  http://localhost:8080/cart.faces works
 
  http://localhost/cart.faces - error 404
 
 
 
  Any idea why the error only if using the root?
 
 
 
 
 I don't use IIS but I would say it is a configuration issue in the 
 connector, as you are connecting to two different apps in the 
 first two URLs
 
 than you are in the last two. And since both :8080 URLs work 
 then Tomcat is 
 working.
 
 Out of curiosity is there any particular reason you are using 
 IIS and not 
 Tomcat alone?
 
 Doug 
 
 
 
 -
 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]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK 
Disclaimer:  The information contained within this e-mail is confidential and 
may be privileged. This email is intended solely for the named recipient only; 
if you are not authorised you must not disclose, copy, distribute, or retain 
this message or any part of it. If you have received this message in error 
please contact the sender at once so that we may take the appropriate action 
and avoid troubling you further.  Any views expressed in this message are those 
of the individual sender.  QAS Limited has the right lawfully to record, 
monitor and inspect messages between its employees and any third party.  Your 
messages shall be subject to such lawful supervision as QAS Limited deems to be 
necessary in order to protect its information, its interests and its 
reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS 
Limited cannot guarantee that attachments are virus free or compatible with 
your systems and does not accept any liability in respect of viruses or 
computer problems experienced.
/FONT


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



Re: How to get user name after login

2005-09-15 Thread Caroline Jen
I think it is getRemoteUser();

--- ±ç¬±³õ [EMAIL PROTECTED] wrote:

 After implementation of JDBCRealm,
 how to retrieve the username in Servlet after login?
 
 
 Thanks
 

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




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



Immedidate help needed multiple hosts

2005-09-15 Thread Lalitha Prasad

Hi,

We are getting DataSources problem while setting multiple hosts with
tomcat-5.5.Also we using MS SQL Server for database.

Server.xml entry
..
HOST name='xyz.org' appBase='/home/abc/'
Aliaswww.xyz.org/Alias
/Host

in conf/catalina/ we have
xyz.org folder
in that we have context.xml. It contains entires as

?xml version=1.0 encoding=UTF-8?
Context
   docBase=
   reloadable=true
   swallowOutput=true
 Resource
   auth=Container
   name=jdbc/protocol
   type=javax.sql.DataSource
factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
   password=pwd
   driverClassName=com.microsoft.jdbc.sqlserver.SQLServerDriver
   maxIdle=30
   maxWait=1
   username=userid

url=jdbc:microsoft:sqlserver://host:1433;DatabaseName=db;SelectMethod=Cursor
   maxActive=100/
 WatchedResourceWEB-INF/web.xml/WatchedResource
 WatchedResourceMETA-INF/context.xml/WatchedResource
/Context

In the  home/abc/META-INF we also have same above content as abc.xml.

But, when we try to login into the application it's not able to create
database connection from the URL. It seems it's not loading the driver.



Can any one please help us in this case asap.


Thanks,
LALITH

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



Apache + mod_jk + Tomcat ... SSL Problems

2005-09-15 Thread Oliver Schoenwald

Hello,

we are using the following versions:
Apache 2.0.47
mod_jk (not mod_jk2)
Tomcat 5.5.9

The SSL-Feature is backed by openssl 0.9.7c.

We configured mod_jk to send the SSL information to the tomcat engine:
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
JkCIPHERIndicator SSL_CIPHER
JkCERTSIndicator SSL_CLIENT_CERT

And we configured the SSL-Module of Apache to use the SSL-Cache and to 
hold the SSL Session for 30 Minutes.

SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout  1800

Using the trick described in the tomcat documenation, I could activate 
and use the Session Tracking via the SSL Session ID,
which is exactly what we wanted because so we don't need cookies or 
URL-Rewriting.
To manage the SSL Sessions I implemented my own SSLSessionManager-Class 
in my Webapplication and all worked fine,
except one little problem: The SSL Session Key seems to get lost by 
Apache or mod_ssl or OpenSSL!


I used a test application in my servlet engine to experiment with the 
session tracking via ssl session id-feature. That application
showed me if the SSL Session ID was set, what value it has, what my own 
SessionManagement-Class knew about that session
(when it was created, when it was used last time, how long until 
expiration, which attributes are managed for that session).
The SessionManager was configured to hold every SSL Session for 
unlimited time, only to set an internal invalid-flag after

a configured time of 30 minutes.

The test application showed that in newly started application instances 
(apache, tomcat) the SSL Session worked properly and
the SSL Session ID was created. When reloading the test application 
repeatedly, that SSL Session ID kept its value. Bingo!

All that I needed.

But then...

Few minutes later the test application showed that there was *no* SSL 
Session ID available within the https-request any longer.
When I reloaded the test application again, a new SSL Session ID was 
created. This happened again and again later, always far earlier

than the SSLSessionCache was configured.

Then I used tomcat's web-connector and tried the same - and there the 
SSL Session ID worked properly and wasn't lost preemptively.


Does someone know something about problems with SSL Session IDs with 
Apache und mod_jk? Does someone have a solution how

to remove that problem?

Thank you in advance,

Oliver Schoenwald
University of Hagen, Germany


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



EFBFBDEF in sample JSP class files?

2005-09-15 Thread Edward Hibbert
I've downloaded and built Tomcat 5.5.9.  The samples it builds (e.g.
./webapps/servlets-examples/WEB-INF/classes/filters/ExampleFilter.class)
seem to be bad class files - they have EFBFBDEF rather than CAFEBABE at
the start.
Anyone seen this?
Regards,
Edward.



Re: Session timeout issues

2005-09-15 Thread James Shaw
On 14/09/05, James Shaw [EMAIL PROTECTED] wrote:
 I have two issues relating to sessions:
 
 1) Sessions seem to be expired too soon.  This happens very
 infrequently for me (perhaps 1 in 1000 requests).  I'm adding some
 HttpSessionListeners and HttpSessionAttributeListeners to attempt to
 locate this problem, but have little to go on at the moment.
 
I have some more info on this problem.  During the login process, the
original JSESSIONID that tomcat gives to the browser is being lost and
a new HttpSession with a new id is being created.  So either the
browser is not sending the cookie containing the session id, or Tomcat
is somehow losing the id.

Does anyone have an idea what this problem could be?  Perhaps you
could point me to some information about how Tomcat receives cookies
and maps these to their respective HttpSession objects.

Thanks
James Shaw

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



How to define paths to inidividual user directories

2005-09-15 Thread Michael Sullivan
I've recently installed Tomcat and linked it to Apache with the mod_jk
connector.  It seems to be working - I can type a filename.jsp script
and save it in a file in /opt/tomcat5/webapps/ROOT and then navigate to
www.espersunited.com/filename.jsp and it works.  I have a number of
users at espersunited.com.  Each of these users has under their user
accounts a directory called ~/webspace/html.  Here they put their static
(and .PHP) web site files.  I would like to create a ~/webspace/tomcat
directory under each of their accounts for .jsp and/or servlet files,
but I'm not sure exactly how to map this with Tomcat.  I find Tomcat
mapping very confusing.  Can anyone help me with this?
-Michael Sullivan-


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



A good place to leanr how to use digest authentication

2005-09-15 Thread Chandan Gupta
Hi,
  Im trying to use Digest authentication with an AXIS web service hosted on 
Tomcat 5.0.28. The problem is in setting up Digest authentication for 
Tomcat. I did as was written in HOW-TO setting up a JDBC realm, I tried to 
connect the URL configured on the secure realm from IE 6.0. Presto whatever 
I tried I always got 401. Once i changed authentication back to basic, 
things started working, when I change them back to Digest i start getting 
401. 
 Is there some place where I could get exact description of setting up 
Digest authentication in Tomcat. Please help
 Regards,
Chandan


Re: tomcat 5.0.24 crashes silently when clustering turned on

2005-09-15 Thread Chandan Gupta
We could try upgrading our JVM from 1.4.2 but I'm concerned with going to
5.0 in case that causes other things to break. Will TC 5.0.24 run on a 5.0
JVM?
--- It does, im running it on 5.0 on win platform
 Regards,
Chandan

 On 9/12/05, Mike Noel [EMAIL PROTECTED] wrote: 
 
 
 Which platform/OS? I've no experience on Win, but I never experienced a
 tomcat crash on unix/linux. Nevertheless five comments:
 
 This is running on RHEL 3.2.3-39 and Java 1.4.2.
 
 0) jk2 is no longer under development. The only active connector
 development for apache is mod_jk and mod_proxy (for the upcoming apache
 2.1/2.2).
 
 Yes, I know that jk2 is dead. We set these servers up with it almost a
 year ago, before it was pronounced dead, and I was hoping to not have to
 change.
 
 1) If you really want to use clustering, either choose the tomcat 5.5line
 (preferably with fastasyncmode), or at least 5.0.28 (better 5.0.30).
 
 Are there any config file changes in going from 5.0.24 to 5.0.28?
 
 2) Some *nixes and shells will send signals, when the user starting 
 tomcat
 logs out of the system resulting in killed tomcat processes. Inj that 
 case
 use nohup or any similar workaround.
 
 This isn't an issue in my case. Tomcat dies before I log out of the shell.
 
 3) With replication you will need more memory. Any indications for
 OutOfMemory?
 
 Nope.
 
 4) The only real process crashes I experienced where fixed by updates to
 bug fix releases of the JVM.
 
 We could try upgrading our JVM from 1.4.2 but I'm concerned with going to
 5.0 in case that causes other things to break. Will TC 5.0.24 run on a 5.0
 JVM?
 
 -Mike Noel
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: How to get user name after login

2005-09-15 Thread Sonja Löhr

It is:
request.getUserPrincipal().getName();
To check for a special role, use:
request.isUserInRole(rolename);




Am Donnerstag, den 15.09.2005, 03:49 -0700 schrieb Caroline Jen:
 I think it is getRemoteUser();
 
 --- ±ç¬±³õ [EMAIL PROTECTED] wrote:
 
  After implementation of JDBCRealm,
  how to retrieve the username in Servlet after login?
  
  
  Thanks
  
 
 -
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 
   
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
-- 
Sonja Löhr [EMAIL PROTECTED]


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



Security manager w/ manager app

2005-09-15 Thread Ryan Daly
All:

Is it possible to start Tomcat w/ the security manager enabled if I were
to use the Tomcat Web Application Manager?
--

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



Virtual Hosts

2005-09-15 Thread Durfee, Bernard
I am having trouble configuring virtual hosts in Tomcat 5.5.9. I have
two applications app01 and app02. I have 2 DNS entries
app01.myserver.com and app02.myserver.com that both point to the machine
on which Tomcat is running. How do I configure Tomcat to serve from
app01.war when app01.myserver.com is hit and app02.war when
app02.myserver.com is hit.

Thanks,
Bernie


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



RE: Virtual Hosts

2005-09-15 Thread Allistair Crossley
Simplistically ...

Configure Host elements inside your Engine. Create a folder for each 
application within webapps. Set the Host docBase to each. 

Check out the online ref.

 -Original Message-
 From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
 Sent: 15 September 2005 17:07
 To: tomcat-user@jakarta.apache.org
 Subject: Virtual Hosts
 
 
 I am having trouble configuring virtual hosts in Tomcat 5.5.9. I have
 two applications app01 and app02. I have 2 DNS entries
 app01.myserver.com and app02.myserver.com that both point to 
 the machine
 on which Tomcat is running. How do I configure Tomcat to serve from
 app01.war when app01.myserver.com is hit and app02.war when
 app02.myserver.com is hit.
 
 Thanks,
 Bernie
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK 
Disclaimer:  The information contained within this e-mail is confidential and 
may be privileged. This email is intended solely for the named recipient only; 
if you are not authorised you must not disclose, copy, distribute, or retain 
this message or any part of it. If you have received this message in error 
please contact the sender at once so that we may take the appropriate action 
and avoid troubling you further.  Any views expressed in this message are those 
of the individual sender.  QAS Limited has the right lawfully to record, 
monitor and inspect messages between its employees and any third party.  Your 
messages shall be subject to such lawful supervision as QAS Limited deems to be 
necessary in order to protect its information, its interests and its 
reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS 
Limited cannot guarantee that attachments are virus free or compatible with 
your systems and does not accept any liability in respect of viruses or 
computer problems experienced.
/FONT


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



RE: Virtual Hosts

2005-09-15 Thread Durfee, Bernard
Okay, so I created two host elements in my server.xml...

  Host name=app01.myserver.com
appBase=webapps
autoDeploy=true
deployOnStartup=true
deployXML=true
unpackWARs=true
xmlValidation=false
xmlNamespaceAware=false /

  Host name=app02.myserver.com
appBase=webapps
autoDeploy=true
deployOnStartup=true
deployXML=true
unpackWARs=true
xmlValidation=false
xmlNamespaceAware=false /

...but how do I tell Tomcat which context to process? There will be no
context correct? Do I need a separate appBase directory for each host
element?

Thanks,
Bernie



 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 15, 2005 12:10 PM
 To: Tomcat Users List
 Subject: RE: Virtual Hosts
 
 
 Simplistically ...
 
 Configure Host elements inside your Engine. Create a folder 
 for each application within webapps. Set the Host docBase to each. 
 
 Check out the online ref.
 
  -Original Message-
  From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
  Sent: 15 September 2005 17:07
  To: tomcat-user@jakarta.apache.org
  Subject: Virtual Hosts
  
  
  I am having trouble configuring virtual hosts in Tomcat 
 5.5.9. I have 
  two applications app01 and app02. I have 2 DNS entries 
  app01.myserver.com and app02.myserver.com that both point to the 
  machine on which Tomcat is running. How do I configure 
 Tomcat to serve 
  from app01.war when app01.myserver.com is hit and app02.war when
  app02.myserver.com is hit.
  
  Thanks,
  Bernie
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK 
 Disclaimer:  The information contained within this e-mail is 
 confidential and may be privileged. This email is intended 
 solely for the named recipient only; if you are not 
 authorised you must not disclose, copy, distribute, or retain 
 this message or any part of it. If you have received this 
 message in error please contact the sender at once so that we 
 may take the appropriate action and avoid troubling you 
 further.  Any views expressed in this message are those of 
 the individual sender.  QAS Limited has the right lawfully to 
 record, monitor and inspect messages between its employees 
 and any third party.  Your messages shall be subject to such 
 lawful supervision as QAS Limited deems to be necessary in 
 order to protect its information, its interests and its reputation.  
 
 Whilst all efforts are made to safeguard Inbound and Outbound 
 emails, QAS Limited cannot guarantee that attachments are 
 virus free or compatible with your systems and does not 
 accept any liability in respect of viruses or computer 
 problems experienced. /FONT
 
 
 -
 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]



Unable to redirect from Windows 2003 server 64 bit and IIS 6.0 to Tomcat 4.1.31 using JK2 ajp1.3

2005-09-15 Thread Theby, Steve
Hi everyone,

 

Problem

We believe we have all components installed properly but requests for Tomcat
are not redirected.  There are no errors in the Tomcat stderr or stdout
logs, nor are any errors found in either the Windows application or system
event logs.  Requests to IIS root work and requests directly to Tomcat via
8080 work.  We have the same environment working ok on Windows 2003 server
32 bit.

 

Has anyone got Tomcat, JK2/ajp1.3 OR JK 1.2.14 working with IIS 6.0 under
Microsoft 2003 Windows 64 bit?

 

Thanks for your experience and ideas!

 

Steve

 

Environment Installed

 

Microsoft Windows 2003 server SP1 in 64 bit mode w/ all patches

IIS 6.0 - enabled for 32 bit child processes (instead of the default 64 bit
mode)

IIS 6.0 not in IIS 5.0 isolation mode (can't load isapi_redirector2.dll when
set on)

Tomcat 4.1.31

Tomcat connector - JK2 AJP/1.3 isapi_redirector2.dll (32 bit)

ISAPII filter (Isapi_redirector2.dll) loaded and green under IIS manager for
websites node

ISAPI web service extension set to ALLOWED

Registry entries under both 64 bit and 32 bit nodes are correct

HKLM\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector 2.0

HKLM\SOFTWARE\Wow6432bitnode\Apache Software Foundation\Jakarta Isapi
Redirector 2.0

Virtual directory created and working

Workers2.properties:

file=c:\Apache Group\Tomcat 4.1\logs\jk2.log

[shm]

info=Shared memory file. Required for multiprocess servers

file=c:\Apache Group\Tomcat 4.1\work\jk2.shm

size=100

[channel.socket:localhost:8009]

info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol

tomcatId=localhost:8009

[uri:/examples/*]

info=JSP examples, map requests for all JSP pages to Tomcat.

[uri:/servlets/*]

info=Map the whole webapp.

[uri:/srvConfig/*]

info= map server's config servlet to outside

[uri:/ae/GlmServlet/*]

info=Company.com azAccess

context=/ae/GlmServlet



Order of WebApp Loading

2005-09-15 Thread Peter Menzel

Hi there,

I have a question concerning Tomcats webapp loading:
What is the order in which tomcats loads its webapps ?
I have two webapps configured by /conf/Catalina/localhost/XXX.xml and I 
need one webapp to be loaded before the other, because it starts the 
database.

How does Tomcat choose the first, second, ...
And what is the loading sequence, if both are deployed as a .war ?

Kind regards, Peter Menzel


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



Re: A good place to leanr how to use digest authentication

2005-09-15 Thread bachoo jahnkar
http://www.devx.com/DevX/Article/21911


Chandan Gupta [EMAIL PROTECTED] wrote:
Hi,
Im trying to use Digest authentication with an AXIS web service hosted on 
Tomcat 5.0.28. The problem is in setting up Digest authentication for 
Tomcat. I did as was written in HOW-TO setting up a JDBC realm, I tried to 
connect the URL configured on the secure realm from IE 6.0. Presto whatever 
I tried I always got 401. Once i changed authentication back to basic, 
things started working, when I change them back to Digest i start getting 
401. 
Is there some place where I could get exact description of setting up 
Digest authentication in Tomcat. Please help
Regards,
Chandan


-
Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 

5.0.28 chunked input?

2005-09-15 Thread Jim Moy
I am running standalone Tomcat 5.0.28, and am having problems with
chunked requests.

My servlet is being called before a chunked POST has completed the
transfer of its body containing x-www-form-urlencoded data.  My
servlet calls to getParameter() return empty values, because the chunk
containing the data has not arrived yet.  I expected the chunked data
to be processed before I am called, is this an incorrect assumption?

I am watching the exchange in Ethereal and see that the chunk does
eventually arrive, but I have already completed my servlet processing
by that time.  I've attached the TCP trace (with proprietary paths
fixed up), thanks to anyone who can shed light on this problem.  Note
that my servlet is generating the XML response.

Jim Moy


POST /site/path/ HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
User-Agent: UNTRUSTED/1.0
Host: myhost.net
Transfer-Encoding: chunked

HTTP/1.1 200 OK
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 77
Date: Thu, 15 Sep 2005 15:18:07 GMT
Server: Apache-Coyote/1.1

?xml version=1.0?
mydata
  statusmystatus/status
/mydata

18
data1=value1data2=value2
0

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



Re: A good place to leanr how to use digest authentication

2005-09-15 Thread Jim Moy
On 9/15/05, bachoo jahnkar [EMAIL PROTECTED] wrote:
 Im trying to use Digest authentication with an AXIS web service hosted on
 ...
 connect the URL configured on the secure realm from IE 6.0. Presto whatever
 I tried I always got 401. Once i changed authentication back to basic,
 things started working, when I change them back to Digest i start getting
 401.

I think this is an old problem with IE and digest auth:

http://www.eweek.com/article2/0,1895,1500432,00.asp

Jim

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



RE: Order of WebApp Loading

2005-09-15 Thread George Sexton
Its not deterministic. Save yourself a lot of time, and don't complain about
it and ask it to be changed. You need to re-think your logic so there is not
a dependency. A pretty obvious solution would be to have either application
check to see if the database is started, and if not start the database.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Peter Menzel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 15, 2005 10:53 AM
 To: Tomcat Users List
 Subject: Order of WebApp Loading
 
 Hi there,
 
 I have a question concerning Tomcats webapp loading:
 What is the order in which tomcats loads its webapps ?
 I have two webapps configured by 
 /conf/Catalina/localhost/XXX.xml and I 
 need one webapp to be loaded before the other, because it starts the 
 database.
 How does Tomcat choose the first, second, ...
 And what is the loading sequence, if both are deployed as a .war ?
 
 Kind regards, Peter Menzel
 
 
 -
 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]



Deploying root context

2005-09-15 Thread Durfee, Bernard
Is there a way to use the Tomcat 5.5.9 manager to deploy a WAR file as
the root context? If not, how to I munge the deployed web application to
make it the root context?

Bernie


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



Re: Order of WebApp Loading

2005-09-15 Thread Jilles van Gurp
If you define the contexts in the server.xml, they are started in the 
order that you define them, I think.


Regards,

Jilles

Peter Menzel wrote:

Hi there,

I have a question concerning Tomcats webapp loading:
What is the order in which tomcats loads its webapps ?
I have two webapps configured by /conf/Catalina/localhost/XXX.xml and 
I need one webapp to be loaded before the other, because it starts the 
database.

How does Tomcat choose the first, second, ...
And what is the loading sequence, if both are deployed as a .war ?

Kind regards, Peter Menzel


-
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]



How to share static content across applications

2005-09-15 Thread Ritchie Gillam
I am not sure if this is suppose to be done in the Tomcat/Java world but here 
is my question anyway.

How do I go about allowing applications to share static content in Tomcat 
5.5.7?   Some would argue that each WAR file should be self contained but 
surely there is a way to use the same image file for all applications that need 
it.  An example would be an EXIT button.

Any help in this manner is greatly appreciated.

Thanks,

Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583


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



RE: Order of WebApp Loading

2005-09-15 Thread Robert Harper
The case is still that most servlet containers, Tomcat included, are
multithreaded and order of processing should not be counted on. One app may
be swapped out while the other app runs. It is far better to write your
servlets so that there is no dependency on order of operation, order of
parameters, etc. Another reason not to count on this is that it is not part
of the specification and one implementation or version of a container may
choose to provide order or not and this might change. There have been many
recommendations on how to do this and I would suggest you try them. Your
apps will probably end up being more scaleable as well.

Robert S. Harper
Information Access Technology, Inc.

-Original Message-
From: Jilles van Gurp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 11:52 AM
To: Tomcat Users List
Subject: Re: Order of WebApp Loading

If you define the contexts in the server.xml, they are started in the 
order that you define them, I think.

Regards,

Jilles

Peter Menzel wrote:
 Hi there,

 I have a question concerning Tomcats webapp loading:
 What is the order in which tomcats loads its webapps ?
 I have two webapps configured by /conf/Catalina/localhost/XXX.xml and 
 I need one webapp to be loaded before the other, because it starts the 
 database.
 How does Tomcat choose the first, second, ...
 And what is the loading sequence, if both are deployed as a .war ?

 Kind regards, Peter Menzel


 -
 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: How to share static content across applications

2005-09-15 Thread Tim Funk
I typically create a 3rd webapp with those shared images and other similar 
assets.


Otherwise - you can import those shared assets into your webapp at build time 
by placing all the shared assets into their own version control repository.


-Tim

Ritchie Gillam wrote:

I am not sure if this is suppose to be done in the Tomcat/Java world but here 
is my question anyway.

How do I go about allowing applications to share static content in Tomcat 
5.5.7?   Some would argue that each WAR file should be self contained but 
surely there is a way to use the same image file for all applications that need 
it.  An example would be an EXIT button.

Any help in this manner is greatly appreciated.



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



Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
In fact that is sort of what I am doing. 

 I am creating a new Context element for the shared assets but the problem is 
by putting the Context element directly in  the server.xml file, I am not 
longer able to undeploy and redeploy the shared assets application without 
restarting the server which is not an option for us (According to Tomcat 5.5.7 
documentation).  The recommended way from Tomcat Users is to  put the context 
inside of the app/META-INF/context.xml file.

So the shared images are being found and rendered but by using the Content 
inside of server.xml directly, I am not able to redeploy without restarting the 
server which is even a bigger problem.  This is really the reason I posted the 
question in the first place.

Did you mean you are using another Content element to find the shared 
content?  If so, where did you put it.  If not, how are you referencing with a 
3rd app when it is not a true app but just resources to share?

Appreciate any more advice you can give.

Thanks in advance,




Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583

 [EMAIL PROTECTED] 09/15/05 3:21 pm 
I typically create a 3rd webapp with those shared images and other similar 
assets.

Otherwise - you can import those shared assets into your webapp at build time 
by placing all the shared assets into their own version control repository.

-Tim

Ritchie Gillam wrote:
 I am not sure if this is suppose to be done in the Tomcat/Java world but here 
 is my question anyway.
 
 How do I go about allowing applications to share static content in Tomcat 
 5.5.7?   Some would argue that each WAR file should be self contained but 
 surely there is a way to use the same image file for all applications that 
 need it.  An example would be an EXIT button.
 
 Any help in this manner is greatly appreciated.
 

-
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: How to share static content across applications

2005-09-15 Thread Maurice Yarrow

Hello Tim

Saw your posting on the tomcat user's list.
I have a question about your response:

So how do you access the static resources, i.e.,
images, from the other two web apps?

This is what I tried and it does not work:

I created a separate webapp context with images,
and placed into tomcat/conf/Catalina/localhost
a Context... element that looks like this:

   Context path=/img
docBase=img
debug=0
reloadable=true
allowLinking=true /
   /Context

and in webapps/img I

   ln -s /usr/scratch/images images

to create the symlink.  So far, so good
Then, for the web app which needed the images,
I created this Context... element:

   Context path=/getimg
docBase=getimg
debug=0
reloadable=true
crossContext=true
   /Context

Then from one of the servlets in getimg, I tried to

try {
RequestDispatcher dispatcher = 
getServletContext().getContext(/img).getRequestDispatcher(/images+request.getPathInfo());

dispatcher.include(request, response);
 } catch(Exception ex) {
ex.printStackTrace();
 }

and to invoke as getimg/ImageServlet/subPath...
but nothing happened, and in fact, the

getServletContext().getContext(/img) returned null.

Note that the thusly constructed path to the image is
in fact correct.  This was not an issue of Not Found.


Thanks

Maurice Yarrow








 I typically create a 3rd webapp with those shared images and other
 similar assets.

 Otherwise - you can import those shared assets into your webapp at
 build time by placing all the shared assets into their own version
 control repository.

 -Tim


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



Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder

Ritchie Gillam wrote:

 I am creating a new Context element for the shared assets but 

 the problem is by putting the Context element directly in  the
 server.xml file, I am not longer able to undeploy and redeploy
 the shared assets application without restarting the server...

OK, so don't do that :-)

Use either of e.g.
  ${appBase}/assests/META-INF/context.xml
or
  $CATALINA_HOME/conf/${hostname}/assets.xml

Apologies if I'm missing something, but I don't see the problem...

--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
My situation is quite different but here is what I am currently doing:


In my server.xml file I have

 ...
Context docBase=/data0/...webapps/sharedHRM path=/sharedHRM/
Context docBase=/data0.../webapps/sharedHRM path=/DPCSI/sharedHRM/
Context docBase=/data0.../webapps/sharedHRM path=/DPCSI/sharedHRM/

Notice I am referring to the same docBase but the path represents the 
application content or in the case of the first entry the without the 
application context.   So no matter what JSP tag I use it will find the images 
in the same place.

I create a ZIP file, rename it to WAR and then FTP to the server.  Keep in mind 
right now I have to restart the server (which is what I am to avoid).  This 
sharedHRM.war automatically deploys and expands to the .../webapps/sharedHRM 
directory which corresponds to the docBase above.  It has always worked for me

Caution thought by putting the Context inside of server.xml you must restart 
the server every time and this is the outstanding issue I am trying to resolve. 
 I could be it in context.xml of the application but I already have a context 
defined for each application so I cannot put another.

I hope that helps answer your question.





Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583

 [EMAIL PROTECTED] 09/15/05 4:01 pm 
Hello Tim

Saw your posting on the tomcat user's list.
I have a question about your response:

So how do you access the static resources, i.e.,
images, from the other two web apps?

This is what I tried and it does not work:

I created a separate webapp context with images,
and placed into tomcat/conf/Catalina/localhost
a Context... element that looks like this:

Context path=/img
 docBase=img
 debug=0
 reloadable=true
 allowLinking=true /
/Context

and in webapps/img I

ln -s /usr/scratch/images images

to create the symlink.  So far, so good
Then, for the web app which needed the images,
I created this Context... element:

Context path=/getimg
 docBase=getimg
 debug=0
 reloadable=true
 crossContext=true
/Context

Then from one of the servlets in getimg, I tried to

 try {
 RequestDispatcher dispatcher = 
getServletContext().getContext(/img).getRequestDispatcher(/images+request.getPathInfo());
 dispatcher.include(request, response);
  } catch(Exception ex) {
 ex.printStackTrace();
  }

and to invoke as getimg/ImageServlet/subPath...
but nothing happened, and in fact, the

 getServletContext().getContext(/img) returned null.

Note that the thusly constructed path to the image is
in fact correct.  This was not an issue of Not Found.


Thanks

Maurice Yarrow








  I typically create a 3rd webapp with those shared images and other
  similar assets.
 
  Otherwise - you can import those shared assets into your webapp at
  build time by placing all the shared assets into their own version
  control repository.
 
  -Tim


-
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: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
In the applications that need the shared assets, I already have a Context 
defined in the context.xml file for each app and I can only have the one.



Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583

 [EMAIL PROTECTED] 09/15/05 4:09 pm 
Ritchie Gillam wrote:

  I am creating a new Context element for the shared assets but 
  the problem is by putting the Context element directly in  the
  server.xml file, I am not longer able to undeploy and redeploy
  the shared assets application without restarting the server...

OK, so don't do that :-)

Use either of e.g.
   ${appBase}/assests/META-INF/context.xml
 or
   $CATALINA_HOME/conf/${hostname}/assets.xml

Apologies if I'm missing something, but I don't see the problem...

-- 
Hassan Schroeder - [EMAIL PROTECTED] 
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com 

   dream.  code.



-
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: How to share static content across applications

2005-09-15 Thread Hassan Schroeder

Ritchie Gillam wrote:
In the applications that need the shared assets, I already have 

 a Context defined in the context.xml file for each app and
 I can only have the one.

? An application *is* a Context; the point is to create a single
shared asset Context and reference it from wherever. As below...


Use either of e.g.
   ${appBase}/assests/META-INF/context.xml
 or
   $CATALINA_HOME/conf/${hostname}/assets.xml


--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



SSL 8443

2005-09-15 Thread Lalit Batra
Hi! 
My current implementation for SSL on tomcat 5.5.9 is 
https://mytomcat.com:8443/blah.html

Is there any way I can have to do without enetering 8443 port number. 
https://mytomcat.com/blah.html


Thanks, 
Lalit

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



RE: SSL 8443

2005-09-15 Thread Caldarale, Charles R
 From: Lalit Batra [mailto:[EMAIL PROTECTED] 
 Subject: SSL 8443
 
 Is there any way I can have to do without enetering 8443 port number. 

Change the port attribute of the SSL connector in your server.xml file.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: SSL 8443

2005-09-15 Thread Robert F Hall

Caldarale, Charles R wrote:

From: Lalit Batra [mailto:[EMAIL PROTECTED] 
Subject: SSL 8443


Is there any way I can have to do without enetering 8443 port number. 
   



Change the port attribute of the SSL connector in your server.xml file.

- Chuck
 


And use port number 443.

- Robert


RE: SSL 8443

2005-09-15 Thread Wick, Daniel
If you use port 443, you won't be required to specify the port in the
browser.  The browser will auto-request on 443 because you've specified
ssl.  If you don't want ssl, use port 80.

--Dan 

 -Original Message-
 From: Lalit Batra [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 15, 2005 2:59 PM
 To: Tomcat Users List
 Subject: SSL 8443
 
 Hi! 
 My current implementation for SSL on tomcat 5.5.9 is 
 https://mytomcat.com:8443/blah.html
 
 Is there any way I can have to do without enetering 8443 port number. 
 https://mytomcat.com/blah.html
 
 
 Thanks,
 Lalit
 
 -
 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 Service elements problems

2005-09-15 Thread Steve Dodge
I couldn't find it in your post, so let me ask.  Do you have 2 network 
interfaces on the machine?  How are you establishing 2 ip addresses?


This topic sparked my interest because I will also be doing the same 
thing. Now, to answer your question more definitively.I put together 
a mock setup using a 5.0.30 distro I had laying around (WinXP).
I took the default server.xml listening on localhost and added the 
following service element:


Service name=Catalina2
   Connector port=8081 address=littlehost
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false redirectPort=8443 acceptCount=100
  debug=0 connectionTimeout=2
  disableUploadTimeout=true /
   
   !-- Define the top level container in our container hierarchy --

   Engine name=Catalina2 defaultHost=littlehost debug=0

 !-- Global logger unless overridden at lower levels --
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=catalina_log. suffix=.txt
 timestamp=true/

 Host name=littlehost debug=0 appBase=l_webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false

   Logger className=org.apache.catalina.logger.FileLogger
directory=logs  prefix=littlehost_log. suffix=.txt
   timestamp=true/

 /Host

   /Engine
/Service
I don't have a second network interface, so created a second host name 
littlehost to my actual ip address through /etc/hosts. 
Started tomcat . , my netstat confirmed that I was listening to port 
8080 on localhost and port 8081 on littlehost.
But, when I go to http://littlehost:8081/ nothing happened.  Then I 
followed the directions at 
http://www.ex-parrot.com/~pete/tomcat-vhost.html for setting up a 
virtual host. 


Using that reference I did this:
1. Added a ROOT.xml file in conf/Catalina2/littlehost
2  Created the l_webapps directory specified by my Host element.
3. Created a web application deployment structure in the l_webapps directory
4. Created an index.jsp at the root of l_webapps

Restarted tomcat .. now http://littlehost:8081/ servers up content.

Good Luck
Steve

Barnett, Brian W. wrote:


netstat -an results (snippet)

Proto  Local Address  Foreign AddressState
TCP166.70.163.138:80  0.0.0.0:0  LISTENING
TCP166.70.163.138:139 0.0.0.0:0  LISTENING
TCP166.70.163.138:2109166.70.163.131:2433ESTABLISHED
TCP166.70.163.138:2110166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2113166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2115166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2117166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2119166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2122166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2125166.70.163.131:2433ESTABLISHED
TCP166.70.163.138:338963.253.57.180:4881 ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2110ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2113ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2115ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2117ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2119ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2122ESTABLISHED
UDP166.70.163.138:123 *:*
UDP166.70.163.138:137 *:*
UDP166.70.163.138:138 *:*
UDP166.70.163.138:520 *:*
UDP166.70.163.140:123 *:*
UDP166.70.163.140:520 *:*
UDP166.70.163.140:1900*:*

No TCP info for 166.70.163.140, only UDP info. Not sure where to turn for
help on this one. I'm not a network guy :(
Any suggestions?


-Original Message-
From: Steve Dodge [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 14, 2005 12:32 PM

To: Tomcat Users List
Subject: Re: Two Service elements problems


If you do a netstat -ln (cygwin)  do you see two network sockets 
listening on port 80? 


166.70.163.138:80
166.70.163.140:80

If not, the problem is at a lower level than tomcat.

Steve




Barnett, Brian W. wrote:

 

I have two Service elements defined like this in my server.xml file, 
each one listening to a different IP address and serving requests for 
different web sites. (Using 5.0.28)


Service name=MyService1 
	Connector port=80 
		maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
		enableLookups=false redirectPort=443 acceptCount=100 
		debug=0 connectionTimeout=2 
		disableUploadTimeout=true 
		address=166.70.163.138 / 
	Connector port=443 
		maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
		enableLookups=false disableUploadTimeout=true 
		acceptCount=100 debug=0 scheme=https secure=true 
		clientAuth=false sslProtocol=TLS 
		address=166.70.163.138 / 
	Engine name=Catalina1 defaultHost=host1 debug=0 
		Host name=host1 debug=0 appBase=/webapps/host1 
			unpackWARs=true autoDeploy=true 

Any procrun gurus here?

2005-09-15 Thread jjrobert
Pardon the cross-post, but I was hoping there might be some procrun
knowledge on this list.

Thanks,
-Jeff

- Forwarded by J. Jeff Roberts/Lex/Lexmark on 09/15/2005 04:52 PM -
|-+
| |   J. Jeff Roberts  |
| ||
| |   09/15/2005 04:52 |
| |   PM   |
| ||
|-+
  
--|
  | 
 |
  |   To:   commons-user@jakarta.apache.org 
 |
  |   cc:   
 |
  |   Subject:  [daemon] Crash (now just an error) on service Start - does 
this look familiar?   |
  
--|



OK, here's more information, in hopes that more detail will help narrow
down what I'm missing.

When I start Tomcat myself with Tomcat5.exe, I pass these parameters:

   tomcat5.exe //IS//Tomcat5 --Startup=auto --DisplayName=Lexmark
   Solutions
   Application Server --Jvm=C:\Program
   Files\Lexmark\Solutions\jre\bin\client\jvm.dll
   --JvmOptions=-Dcatalina.home=C:\Program
   Files\Lexmark\Solutions\tomcat;-Djava.endorsed.dirs=C:\Program
   Files\Lexmark\Solutions\tomcat\common\endorsed;-Djava.io.tmpdir=C:\Program

   
Files\Lexmark\Solutions\tomcat\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

   --Classpath=C:\Program
   Files\Lexmark\Solutions\tomcat\bin\bootstrap.jar
   --JvmMs=512 --JvmMx=512 --StdError=auto --StdOutput=auto
   --LogPath=C:\Program Files\Lexmark\Solutions\tomcat\logs
   --StartMode=jvm
   --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start
   --StopMode=jvm --StopClass=org.apache.catalina.startup.Bootstrap
   --StopParams=stop --Install=C:\Program
   Files\Lexmark\Solutions\tomcat\bin\tomcat5.exe

Now I'm trying to wrap my own service.  At first I was getting an Access
Violation when I started the service.  Then I went and got Bootstrap.java
from the Tomcat source distribution, pared it down the bare minimum and
copied it into our build so that it's at the classpath below when I run the
following command line.

   procrun //IS//BootStrap --Startup=auto --LogLevel=debug
   --DisplayName=BootStrap --Jvm=C:\Program
   Files\Lexmark\Solutions\jre\bin\client\jvm.dll ---Classpath=C:\Program
   Files\Lexmark\Solutions\ApacheAgent\lib\log4j.properties;C:\Program
   Files\Lexmark\Solutions\ApacheAgent\lib\framework-1.0.jar;C:\Program
   Files\Lexmark\Solutions\ApacheAgent\lib\log4j-1.2.8.jar;.; --JvmMs=512
   --JvmMx=512 --StdError=auto --StdOutput=auto --LogPath=C:\Program
   Files\Lexmark\Solutions\ApacheAgent\logs --StartMode=jvm
   --StartClass=com.lexmark.workflow.framework.tools.Bootstrap
   --StartParams=start --StopMode=jvm
   --StopClass=com.lexmark.workflow.framework.tools.Bootstrap
   --StopParams=stop --Install=C:\Program
   Files\Lexmark\Solutions\ApacheAgent\procrun.exe

Now I don't crash when I try to start the service, but I this message pops
up when I try to start it from the Services applet:

   Windows could not start the BootStrap on Local Computer.  For more
   information, review the System Event Log.  If this is a non-Microsoft
   service, contact the service vendor, and refer to service-specific error
   code 0.

My jakarta_service_20050915.log contains these lines after I try to start
the service:

   [2005-09-15 16:47:12] [1204 prunsrv.c] [debug] Procrun log initialized
   [2005-09-15 16:47:12] [info] Running Service...
   [2005-09-15 16:47:12] [1047 prunsrv.c] [debug] Inside ServiceMain...
   [2005-09-15 16:47:12] [info] Starting service...
   [2005-09-15 16:47:12] [408  javajni.c] [debug] Jvm Option[0] -Xrs
   [2005-09-15 16:47:12] [408  javajni.c] [debug] Jvm Option[1]
   -Djava.class.path=
   [2005-09-15 16:47:12] [408  javajni.c] [debug] Jvm Option[2] vfprintf
   [2005-09-15 16:47:12] [408  javajni.c] [debug] Jvm Option[3] -Xms512m
   [2005-09-15 16:47:12] [408  javajni.c] [debug] Jvm Option[4] -Xmx512m
   [2005-09-15 16:47:12] [466  javajni.c] [error] FindClass
   com/lexmark/workflow/fr
   amework/tools/Bootstrap failed
   [2005-09-15 16:47:12] [908  prunsrv.c] [error] Failed loading main
   com/lexmark/w
   orkflow/framework/tools/Bootstrap class
   [2005-09-15 16:47:12] [1131 prunsrv.c] [error] ServiceStart returned 3
   [2005-09-15 16:47:12] [info] Run 

Re: Virtual Hosts

2005-09-15 Thread Steve Dodge
You probably want to change the appBase. You can control the contexts by 
creating a context snippet in conf/[Engine name]/[Host name]  or add it 
to META-INF/context.xml in each war.


Hope that helps,
Steve

Durfee, Bernard wrote:


Okay, so I created two host elements in my server.xml...

 Host name=app01.myserver.com
   appBase=webapps
   autoDeploy=true
   deployOnStartup=true
   deployXML=true
   unpackWARs=true
   xmlValidation=false
   xmlNamespaceAware=false /

 Host name=app02.myserver.com
   appBase=webapps
   autoDeploy=true
   deployOnStartup=true
   deployXML=true
   unpackWARs=true
   xmlValidation=false
   xmlNamespaceAware=false /

...but how do I tell Tomcat which context to process? There will be no
context correct? Do I need a separate appBase directory for each host
element?

Thanks,
Bernie



 


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 12:10 PM

To: Tomcat Users List
Subject: RE: Virtual Hosts


Simplistically ...

Configure Host elements inside your Engine. Create a folder 
for each application within webapps. Set the Host docBase to each. 


Check out the online ref.

   


-Original Message-
From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
Sent: 15 September 2005 17:07
To: tomcat-user@jakarta.apache.org
Subject: Virtual Hosts


I am having trouble configuring virtual hosts in Tomcat 
 

5.5.9. I have 
   

two applications app01 and app02. I have 2 DNS entries 
app01.myserver.com and app02.myserver.com that both point to the 
machine on which Tomcat is running. How do I configure 
 

Tomcat to serve 
   


from app01.war when app01.myserver.com is hit and app02.war when
app02.myserver.com is hit.

Thanks,
Bernie



 


-
   


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


 

FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK 
Disclaimer:  The information contained within this e-mail is 
confidential and may be privileged. This email is intended 
solely for the named recipient only; if you are not 
authorised you must not disclose, copy, distribute, or retain 
this message or any part of it. If you have received this 
message in error please contact the sender at once so that we 
may take the appropriate action and avoid troubling you 
further.  Any views expressed in this message are those of 
the individual sender.  QAS Limited has the right lawfully to 
record, monitor and inspect messages between its employees 
and any third party.  Your messages shall be subject to such 
lawful supervision as QAS Limited deems to be necessary in 
order to protect its information, its interests and its reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound 
emails, QAS Limited cannot guarantee that attachments are 
virus free or compatible with your systems and does not 
accept any liability in respect of viruses or computer 
problems experienced. /FONT



-
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 Service elements problems

2005-09-15 Thread Barnett, Brian W.
Thanks Steve. I will try that. Regarding your question to me, I have tried
two different approaches. My first approach was to bind an additional IP
address to the one NIC I had in the XP box using the Advanced button in
TCP/IP setup for the NIC. I struggled through that for a few days, then
decided to put in a second NIC. I struggled to get that working for a few
days and ended up going to back to two IPs bound to a single NIC.

Since I have not yet got it working the way I want it to work, I can not say
definitively whether either of those approaches worked, although from my
research either *should* work. There are advantages/disadvantages to each.
Things to consider are bandwidth sharing, if a NIC goes down you lose both
IPs or just one, etc.

Again, thanks for your input!

Brian

-Original Message-
From: Steve Dodge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 2:40 PM
To: Tomcat Users List
Subject: Re: Two Service elements problems


I couldn't find it in your post, so let me ask.  Do you have 2 network 
interfaces on the machine?  How are you establishing 2 ip addresses?

This topic sparked my interest because I will also be doing the same 
thing. Now, to answer your question more definitively.I put together 
a mock setup using a 5.0.30 distro I had laying around (WinXP). I took the
default server.xml listening on localhost and added the 
following service element:

Service name=Catalina2
Connector port=8081 address=littlehost
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   debug=0 connectionTimeout=2
   disableUploadTimeout=true /

!-- Define the top level container in our container hierarchy --
Engine name=Catalina2 defaultHost=littlehost debug=0

  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=catalina_log. suffix=.txt
  timestamp=true/

  Host name=littlehost debug=0 appBase=l_webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false

Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=littlehost_log. suffix=.txt
timestamp=true/

  /Host

/Engine
/Service
I don't have a second network interface, so created a second host name 
littlehost to my actual ip address through /etc/hosts. 
Started tomcat . , my netstat confirmed that I was listening to port 
8080 on localhost and port 8081 on littlehost.
But, when I go to http://littlehost:8081/ nothing happened.  Then I 
followed the directions at 
http://www.ex-parrot.com/~pete/tomcat-vhost.html for setting up a 
virtual host. 

Using that reference I did this:
1. Added a ROOT.xml file in conf/Catalina2/littlehost
2  Created the l_webapps directory specified by my Host element. 3.
Created a web application deployment structure in the l_webapps directory 4.
Created an index.jsp at the root of l_webapps

Restarted tomcat .. now http://littlehost:8081/ servers up content.

Good Luck
Steve

Barnett, Brian W. wrote:

netstat -an results (snippet)

 Proto  Local Address  Foreign AddressState
 TCP166.70.163.138:80  0.0.0.0:0  LISTENING
 TCP166.70.163.138:139 0.0.0.0:0  LISTENING
 TCP166.70.163.138:2109166.70.163.131:2433ESTABLISHED
 TCP166.70.163.138:2110166.70.163.138:8093ESTABLISHED
 TCP166.70.163.138:2113166.70.163.138:8093ESTABLISHED
 TCP166.70.163.138:2115166.70.163.138:8093ESTABLISHED
 TCP166.70.163.138:2117166.70.163.138:8093ESTABLISHED
 TCP166.70.163.138:2119166.70.163.138:8093ESTABLISHED
 TCP166.70.163.138:2122166.70.163.138:8093ESTABLISHED
 TCP166.70.163.138:2125166.70.163.131:2433ESTABLISHED
 TCP166.70.163.138:338963.253.57.180:4881 ESTABLISHED
 TCP166.70.163.138:8093166.70.163.138:2110ESTABLISHED
 TCP166.70.163.138:8093166.70.163.138:2113ESTABLISHED
 TCP166.70.163.138:8093166.70.163.138:2115ESTABLISHED
 TCP166.70.163.138:8093166.70.163.138:2117ESTABLISHED
 TCP166.70.163.138:8093166.70.163.138:2119ESTABLISHED
 TCP166.70.163.138:8093166.70.163.138:2122ESTABLISHED
 UDP166.70.163.138:123 *:*
 UDP166.70.163.138:137 *:*
 UDP166.70.163.138:138 *:*
 UDP166.70.163.138:520 *:*
 UDP166.70.163.140:123 *:*
 UDP166.70.163.140:520 *:*
 UDP166.70.163.140:1900*:*

No TCP info for 166.70.163.140, only UDP info. Not sure where to turn 
for help on this one. I'm not a network guy :( Any suggestions?


-Original Message-
From: Steve Dodge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 14, 2005 12:32 PM
To: Tomcat Users List
Subject: Re: Two Service elements problems


If you do 

Any procrun gurus here?

2005-09-15 Thread jjrobert
Aha! The *3* dashes before Classpath were the major culprit.  (Is there any
way to specify all of these parameters via an XML file?)

Now it's running my main(), but the service exits immediately, apparently
because my main doesn't do anything.  I guess I'll go take another look at
what Tomcat's Bootstrap.java does.

-Jeff

- Forwarded by J. Jeff Roberts/Lex/Lexmark on 09/15/2005 06:29 PM -
|-+
| |   J. Jeff Roberts  |
| ||
| |   09/15/2005 04:53 |
| |   PM   |
| ||
|-+
  
--|
  | 
 |
  |   To:   tomcat-user@jakarta.apache.org  
 |
  |   cc:   
 |
  |   Subject:  Any procrun gurus here? 
 |
  
--|



Pardon the cross-post, but I was hoping there might be some procrun
knowledge on this list.

Thanks,
-Jeff

- Forwarded by J. Jeff Roberts/Lex/Lexmark on 09/15/2005 04:52 PM -
|-+
| |   J. Jeff Roberts  |
| ||
| |   09/15/2005 04:52 |
| |   PM   |
| ||
|-+
  
--|
  | 
 |
  |   To:   commons-user@jakarta.apache.org 
 |
  |   cc:   
 |
  |   Subject:  [daemon] Crash (now just an error) on service Start - does 
this look familiar?   |
  
--|



OK, here's more information, in hopes that more detail will help narrow
down what I'm missing.

When I start Tomcat myself with Tomcat5.exe, I pass these parameters:

   tomcat5.exe //IS//Tomcat5 --Startup=auto --DisplayName=Lexmark
   Solutions
   Application Server --Jvm=C:\Program
   Files\Lexmark\Solutions\jre\bin\client\jvm.dll
   --JvmOptions=-Dcatalina.home=C:\Program
   Files\Lexmark\Solutions\tomcat;-Djava.endorsed.dirs=C:\Program
   Files\Lexmark\Solutions\tomcat\common\endorsed;-Djava.io.tmpdir=C:\Program

   
Files\Lexmark\Solutions\tomcat\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

   --Classpath=C:\Program
   Files\Lexmark\Solutions\tomcat\bin\bootstrap.jar
   --JvmMs=512 --JvmMx=512 --StdError=auto --StdOutput=auto
   --LogPath=C:\Program Files\Lexmark\Solutions\tomcat\logs
   --StartMode=jvm
   --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start
   --StopMode=jvm --StopClass=org.apache.catalina.startup.Bootstrap
   --StopParams=stop --Install=C:\Program
   Files\Lexmark\Solutions\tomcat\bin\tomcat5.exe

Now I'm trying to wrap my own service.  At first I was getting an Access
Violation when I started the service.  Then I went and got Bootstrap.java
from the Tomcat source distribution, pared it down the bare minimum and
copied it into our build so that it's at the classpath below when I run the
following command line.

   procrun //IS//BootStrap --Startup=auto --LogLevel=debug
   --DisplayName=BootStrap --Jvm=C:\Program
   Files\Lexmark\Solutions\jre\bin\client\jvm.dll ---Classpath=C:\Program
   Files\Lexmark\Solutions\ApacheAgent\lib\log4j.properties;C:\Program
   Files\Lexmark\Solutions\ApacheAgent\lib\framework-1.0.jar;C:\Program
   Files\Lexmark\Solutions\ApacheAgent\lib\log4j-1.2.8.jar;.; --JvmMs=512
   --JvmMx=512 --StdError=auto --StdOutput=auto --LogPath=C:\Program
   Files\Lexmark\Solutions\ApacheAgent\logs --StartMode=jvm
   --StartClass=com.lexmark.workflow.framework.tools.Bootstrap
   --StartParams=start 

Re: How to share static content across applications

2005-09-15 Thread Tim Funk
If the thing being shared are browser sepefic such as images - I create a new 
webapp. For example: for all my common images I could create an images webapp.

Context path=/images .../

Then my webapps which refernce those images can link to /images directly (and 
take it on faith that there is an /images webapp out there) or we could use a 
configuration directive in case /images was alreaddy taken in which case we 
could create a webapp called /moreimages. In this case - if your deploying in 
a file heirarchy and not war files - you can update those images and all is OK.


If you need run time config resources such as XML files or properties files - 
that is a whole different story. I typically place them in a JAR file is 
created at build time by a using a build time dependency.


-Tim

Ritchie Gillam wrote:
In fact that is sort of what I am doing. 


 I am creating a new Context element for the shared assets but the problem is by putting the 
Context element directly in  the server.xml file, I am not longer able to undeploy and redeploy the 
shared assets application without restarting the server which is not an option for us 
(According to Tomcat 5.5.7 documentation).  The recommended way from Tomcat Users is to  put the context 
inside of the app/META-INF/context.xml file.

So the shared images are being found and rendered but by using the Content 
inside of server.xml directly, I am not able to redeploy without restarting the 
server which is even a bigger problem.  This is really the reason I posted the 
question in the first place.

Did you mean you are using another Content element to find the shared 
content?  If so, where did you put it.  If not, how are you referencing with a 3rd 
app when it is not a true app but just resources to share?

Appreciate any more advice you can give.

Thanks in advance,




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



Can anyone help with a MySQL ConnectorJ prob pls?

2005-09-15 Thread Kyle

Hi All,

I am using the com.mysql.jdbc.Driver to connect to MySQL.

I have managed to retrieve an apache.commons.dbcp.PoolableConnection to 
my MySQL server and retrieve results with a server.xml Resource like so;


Resource name=jdbc/iws auth=Container 
type=javax.sql.DataSource/

 ResourceParams name=jdbc/iws
   parameter
 namefactory/name
 
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value

   /parameter
   parameter
  namedriverClassName/name
  valuecom.mysql.jdbc.Driver/value
   /parameter

However I don't seem to be able to pull up a MysqlPooledConnection when 
I replace that factory with;


   parameter
 namefactory/name
 
valuecom.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactory/value

   /parameter


Can anyone tell me what I am missing pls?


--

Kind Regards

Kyle


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



Wher do I get binary of Tomcat

2005-09-15 Thread MaciekSKontakt
I have browsed Jakarta page and have found rather confusing bunch of 
non-described links with cryptic names for files to download.

1. Is there any information what those files are for or you have to become 
Tomcat expert without Tomcat in order to know what file to downloads and know 
what they are for? (I mean do not make assumption that downloading person knows 
much about capabilities and extensions of the product because it is wrong 
assumption in general)

2. Where can I get Tomcat that works on MacOS X or Windows (let's say old 
good win98)?


Thanks,
M.

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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



Re: Wher do I get binary of Tomcat

2005-09-15 Thread Parsons Technical Services

-alpha  Potential for bugs and possibly lots of them and/or major ones.
-beta They think that most of the bugs are squashed.
No suffix  stable and should run without major issues.

As for the other extensions try the readme file at the top of each section.

http://apache.towardex.com/jakarta/tomcat-5/v5.5.9/README.html

For your needs the exe package for Win 98 would be a good bet. As for the 
Mac let Google be your guide. There are several Mac users on the list and I 
am sure there are some How to sites out there.


Doug

- Original Message - 
From: [EMAIL PROTECTED]

To: tomcat-user@jakarta.apache.org
Sent: Thursday, September 15, 2005 8:27 PM
Subject: Wher do I get binary of Tomcat


I have browsed Jakarta page and have found rather confusing bunch of 
non-described links with cryptic names for files to download.


1. Is there any information what those files are for or you have to become 
Tomcat expert without Tomcat in order to know what file to downloads and 
know what they are for? (I mean do not make assumption that downloading 
person knows much about capabilities and extensions of the product because 
it is wrong assumption in general)


2. Where can I get Tomcat that works on MacOS X or Windows (let's say old 
good win98)?



Thanks,
M.

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at 
http://isp.netscape.com/register


Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

-
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: Wher do I get binary of Tomcat

2005-09-15 Thread Caldarale, Charles R
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Subject: Wher do I get binary of Tomcat
 
 2. Where can I get Tomcat that works on MacOS X or Windows 
 (let's say old good win98)?

Tomcat is pure Java, so you can use the standard .zip or .tar.gz
download on any platform.  Once expanded, you'll find a RUNNING.txt file
that explains how to get it going.  You will need a JRE for 5.5, or a
JDK for 5.0 and older levels.  If you use the 5.5 version (recommended)
and are using a 1.4 JRE, you will also need to download the Compat
package and unzip it into the Tomcat installation directory.  Finally,
if you want to run Tomcat's admin app (not required, but useful and
instructive), that has to be downloaded separately and again unzipped
into the Tomcat installation directory.

All packages can be found on the main download page:
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi

The various levels may be marked as alpha, beta, or nothing (indicating
stable), using the standard Apache Software Foundation terminology.  A
particular level's status may be changed as it proves itself in the
field.

Tomcat will definitely run on OS X, and should run on Win98, but that
latter one's a pretty archaic and wimpy environment for anything other
than just playing around.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

 
 
 Thanks,
 M.
 
 __
 Switch to Netscape Internet Service.
 As low as $9.95 a month -- Sign up today at 
 http://isp.netscape.com/register
 
 Netscape. Just the Net You Need.
 
 New! Netscape Toolbar for Internet Explorer
 Search from anywhere on the Web and block those annoying pop-ups.
 Download now at http://channels.netscape.com/ns/search/install.jsp
 
 -
 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: Wher do I get binary of Tomcat

2005-09-15 Thread Caldarale, Charles R
 From: Parsons Technical Services 
 [mailto:[EMAIL PROTECTED] 
 Subject: Re: Wher do I get binary of Tomcat
 
 For your needs the exe package for Win 98 would be a good bet.

I don't think that's true.  The .exe download installs Tomcat as a
service only - the startup and shutdown scripts aren't included, whereas
they are in the .zip and .tar.gz packages.  Win98 support for services
is pretty limited.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



How to change the SSL port

2005-09-15 Thread Stephen Caine

All:
Is there any way I can change the default SSL port from 8443 to 443?

Change the port attribute of the SSL connector in your server.xml  
file.



And use port number 443.

yup, I tried this.  It doesn't work.  I tried edits to server xml  
connector from 8443 to 443 - 443 port unresponsive after tomcat  
restart.  Tried 8442 also.  No joy. Only plays with 8443.  There is  
another setting somewhere


Please advise.

Stephen Caine
CommonGround Softworks, Inc.

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



RE: How to change the SSL port

2005-09-15 Thread Iannis Hanen
Check your tomcat log file. If tomcat could bind properly on the SSL
port you mentioned, it should show up in the log file (one of the first
lines on the top). If not (e.g. because the port is already in use), it
will show you a bind error message there as well.

If the log says that the port is fine, check for firewall, (etc.) on
your box. 

At least, look at the port number that is specified in the log. It
should say 443 if your changes to the server.xml are correct.

Iannis

-Original Message-
From: Stephen Caine [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 7:07 PM
To: Tomcat Users List
Subject: How to change the SSL port

All:
Is there any way I can change the default SSL port from 8443 to 443?

 Change the port attribute of the SSL connector in your server.xml  
 file.

 And use port number 443.

yup, I tried this.  It doesn't work.  I tried edits to server xml  
connector from 8443 to 443 - 443 port unresponsive after tomcat  
restart.  Tried 8442 also.  No joy. Only plays with 8443.  There is  
another setting somewhere

Please advise.

Stephen Caine
CommonGround Softworks, Inc.

-
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: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
 From: Stephen Caine [mailto:[EMAIL PROTECTED] 
 Subject: How to change the SSL port
 
 I tried edits to server xml connector from 8443 to 443 -
 443 port unresponsive after tomcat restart.

What does netstat say about who's listening on which ports?

 Tried 8442 also.  No joy. Only plays with 8443.  There is  
 another setting somewhere

Really, there isn't.  Sounds like you're not editing the server.xml file
that's actually being used by your Tomcat instance.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: How to change the SSL port

2005-09-15 Thread Stephen Caine

Lannis,

Check your tomcat log file. If tomcat could bind properly on the  
SSL port you mentioned, it should show up in the log file (one of  
the first lines on the top). If not (e.g. because the port is  
already in use), it will show you a bind error message there as well.


If the log says that the port is fine, check for firewall, (etc.)  
on your box.


At least, look at the port number that is specified in the log. It  
should say 443 if your changes to the server.xml are correct.


Thank you, I will check this out and let you know.

Stephen

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



Re: How to change the SSL port

2005-09-15 Thread Stephen Caine

Charles,


What does netstat say about who's listening on which ports?


Will check this out.


Tried 8442 also.  No joy. Only plays with 8443.  There is  another  
setting somewhere


Really, there isn't.  Sounds like you're not editing the server.xml  
file that's actually being used by your Tomcat instance.


Thank you.

Stephen

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



Re: Wher do I get binary of Tomcat

2005-09-15 Thread Parsons Technical Services

That's why I don't gamble.:)

Doug


- Original Message - 
From: Caldarale, Charles R [EMAIL PROTECTED]

To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, September 15, 2005 9:29 PM
Subject: RE: Wher do I get binary of Tomcat


From: Parsons Technical Services 
[mailto:[EMAIL PROTECTED] 
Subject: Re: Wher do I get binary of Tomcat


For your needs the exe package for Win 98 would be a good bet.


I don't think that's true.  The .exe download installs Tomcat as a
service only - the startup and shutdown scripts aren't included, whereas
they are in the .zip and .tar.gz packages.  Win98 support for services
is pretty limited.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
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: How to change the SSL port

2005-09-15 Thread CommonGround Softworks/Phil McNamara
Guys, Thank you. Stephen posted the original question on my behalf.  I am 
just now joining the list.

Iannis and Chuck thank you for your feedback. Maybe I can provide some 
more info. Appreciate any further suggestions.

I did ports scans before and after the server.xml edits to ports 443 and 
to 8443.  443 has never responded. I saw  8443 go away, and 443 not come 
up.  Edited server xml back to 8443 and portscanned it coming back up.  
It would seem to me that this demonstrates that I am editing the correct 
server.xml instance. I also checked processes and confirmed only one java 
parent was started. Likewise tested browser https access using 443 and 
8443 during the tomcat edit start/stop cycles. 8443 plays. 443 does not.

The tomcat log does show a bind error message after my server.xml edit to 
port 443.  

Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied:443
snip...
Sep 15, 2005 10:37:07 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: 
java.net.BindException: Permission denied:443
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:920)
snip..

At no time has port 443 responded to an external port scan. Possible that 
apache or a ssl module has already done a bind internally to 443?  I 
disabled the apache ssl module and can't find any other app that is a 
likely culprit.

Ran Netstat and nothing obvious jumped out at me.  Maybe I'm not savvy 
enough to spot the obvious. Kinda stumped. No firewall config on this 
machine. Could this be a permissions issue of some sort?

I am tempted to fire up ssl with apache on 443 with a trial cert and make 
sure that Apache's ssl plays. I seem to recall over a year ago that I had 
a server that never could play ssl.  Maybe this is the one with the 
gremlin :).
Phil Mc

Check your tomcat log file. If tomcat could bind properly on the SSL
port you mentioned, it should show up in the log file (one of the first
lines on the top). If not (e.g. because the port is already in use), it
will show you a bind error message there as well.

If the log says that the port is fine, check for firewall, (etc.) on
your box. 

At least, look at the port number that is specified in the log. It
should say 443 if your changes to the server.xml are correct.

Iannis

-Original Message-
From: Stephen Caine [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 7:07 PM
To: Tomcat Users List
Subject: How to change the SSL port

All:
Is there any way I can change the default SSL port from 8443 to 443?

 Change the port attribute of the SSL connector in your server.xml  
 file.

 And use port number 443.

yup, I tried this.  It doesn't work.  I tried edits to server xml  
connector from 8443 to 443 - 443 port unresponsive after tomcat  
restart.  Tried 8442 also.  No joy. Only plays with 8443.  There is  
another setting somewhere

Please advise.

Stephen Caine
CommonGround Softworks, Inc.


Phil McNamara
CommonGround Softworks Inc.
[EMAIL PROTECTED]
http://www.commongrnd.com



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



Re: How to change the SSL port

2005-09-15 Thread Hassan Schroeder

CommonGround Softworks/Phil McNamara wrote:

The tomcat log does show a bind error message after my server.xml edit to 
port 443.  


Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied:443


Are you starting Tomcat as root? Doesn't look like it...

--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
 From: CommonGround Softworks/Phil McNamara 
 [mailto:[EMAIL PROTECTED] 
 Subject: RE: How to change the SSL port
 
 It would seem to me that this demonstrates that I am editing 
 the correct server.xml instance.

Agreed.  Sounds like something else has grabbed or disabled 443,
especially since the Tomcat log shows a bind failure.

 Possible that apache or a ssl module has already 
 done a bind internally to 443?

Highly likely.  Why are you running httpd?  Unless the vast majority of
your response pages are pure static content, Tomcat by itself will
probably be faster (and certainly simpler to set up standalone).

 Ran Netstat and nothing obvious jumped out at me.

What platform are you running on?  For Windows, try netstat -a -n -o and
see if there's anything listening on 443, and if there is, use Task
Manager to relate the pid to a running program (might be a service).  I
don't have access to a modern *nix system at the moment, so I can't
suggest much for that environment, other than checking iptables.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: How to change the SSL port

2005-09-15 Thread Jason Bainbridge
On 9/15/05, Hassan Schroeder [EMAIL PROTECTED] wrote:
 CommonGround Softworks/Phil McNamara wrote:
 
  The tomcat log does show a bind error message after my server.xml edit to
  port 443.
 
  Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init
  SEVERE: Error initializing endpoint
  java.net.BindException: Permission denied:443
 
 Are you starting Tomcat as root? Doesn't look like it...

See http://www.klawitter.de/tomcat80.html for details, just do the
same but for 443 not 80.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



Re: How to change the SSL port

2005-09-15 Thread Parsons Technical Services

What OS are you on and what services are running?

It sounds like something else has the port tied up. If you can post a list 
of the services maybe someone might spot it. If you are on windows there are 
some apps out that can map the app/service to the ports being used.


If on Linux, which flavor and what netstat command did you use?

When you say scanned the ports are you talking about from another machine or 
using netstat?


Doug


- Original Message - 
From: CommonGround Softworks/Phil McNamara [EMAIL PROTECTED]

To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, September 15, 2005 11:15 PM
Subject: RE: How to change the SSL port



Guys, Thank you. Stephen posted the original question on my behalf.  I am
just now joining the list.

Iannis and Chuck thank you for your feedback. Maybe I can provide some
more info. Appreciate any further suggestions.

I did ports scans before and after the server.xml edits to ports 443 and
to 8443.  443 has never responded. I saw  8443 go away, and 443 not come
up.  Edited server xml back to 8443 and portscanned it coming back up.
It would seem to me that this demonstrates that I am editing the correct
server.xml instance. I also checked processes and confirmed only one java
parent was started. Likewise tested browser https access using 443 and
8443 during the tomcat edit start/stop cycles. 8443 plays. 443 does not.

The tomcat log does show a bind error message after my server.xml edit to
port 443.

Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied:443
snip...
Sep 15, 2005 10:37:07 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Permission denied:443
at org.apache.catalina.connector.Connector.initialize(Connector.java:920)
snip..

At no time has port 443 responded to an external port scan. Possible that
apache or a ssl module has already done a bind internally to 443?  I
disabled the apache ssl module and can't find any other app that is a
likely culprit.

Ran Netstat and nothing obvious jumped out at me.  Maybe I'm not savvy
enough to spot the obvious. Kinda stumped. No firewall config on this
machine. Could this be a permissions issue of some sort?

I am tempted to fire up ssl with apache on 443 with a trial cert and make
sure that Apache's ssl plays. I seem to recall over a year ago that I had
a server that never could play ssl.  Maybe this is the one with the
gremlin :).
Phil Mc


Check your tomcat log file. If tomcat could bind properly on the SSL
port you mentioned, it should show up in the log file (one of the first
lines on the top). If not (e.g. because the port is already in use), it
will show you a bind error message there as well.

If the log says that the port is fine, check for firewall, (etc.) on
your box.

At least, look at the port number that is specified in the log. It
should say 443 if your changes to the server.xml are correct.

Iannis

-Original Message-
From: Stephen Caine [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 7:07 PM
To: Tomcat Users List
Subject: How to change the SSL port

All:
Is there any way I can change the default SSL port from 8443 to 443?


Change the port attribute of the SSL connector in your server.xml
file.



And use port number 443.


yup, I tried this.  It doesn't work.  I tried edits to server xml
connector from 8443 to 443 - 443 port unresponsive after tomcat
restart.  Tried 8442 also.  No joy. Only plays with 8443.  There is
another setting somewhere

Please advise.

Stephen Caine
CommonGround Softworks, Inc.



Phil McNamara
CommonGround Softworks Inc.
[EMAIL PROTECTED]
http://www.commongrnd.com



-
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: Wher do I get binary of Tomcat

2005-09-15 Thread MaciekSKontakt
Thanks. I will follow your tips.

I am transitioning my network to MacOSX and getting rid Win98 so that was one 
of last chances for Windows to be useful to me.

I need Tomcat to get a skill with Servlets and JSP. I think I could go with 
Eclipse (it works on MacOSX). Would it be a good environment for experiments to 
get real skill?


Caldarale, Charles R [EMAIL PROTECTED] wrote:

... (Netscape mail is to dumb to reply with quoutes)

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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



Re: Two Service elements problems

2005-09-15 Thread Steve Dodge

Brian,

On more follow up.  I found a usb wireless network adapter that I forgot 
I had.  The server.xml snippet below stayed the same, except I had to 
add the address attribute on the original http connector element.  I 
opted to use the Ip addresses instead of messing with /etc/hosts this time.


Now I have .

Service name=Catalina
   Connector port=8080 address=192.168.0.2
  etc etc...

Service name=Catalina2
   Connector port=8080 address=192.168.0.5
  etc etc...

netstat -an (snippet)
 TCP192.168.0.2:8080   0.0.0.0:0  LISTENING
 TCP192.168.0.5:1390.0.0.0:0  LISTENING
 TCP192.168.0.5:8080   0.0.0.0:0  LISTENING

It serves content on both IP addresses with the same port.

Steve

Barnett, Brian W. wrote:


Thanks Steve. I will try that. Regarding your question to me, I have tried
two different approaches. My first approach was to bind an additional IP
address to the one NIC I had in the XP box using the Advanced button in
TCP/IP setup for the NIC. I struggled through that for a few days, then
decided to put in a second NIC. I struggled to get that working for a few
days and ended up going to back to two IPs bound to a single NIC.

Since I have not yet got it working the way I want it to work, I can not say
definitively whether either of those approaches worked, although from my
research either *should* work. There are advantages/disadvantages to each.
Things to consider are bandwidth sharing, if a NIC goes down you lose both
IPs or just one, etc.

Again, thanks for your input!

Brian

-Original Message-
From: Steve Dodge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 2:40 PM

To: Tomcat Users List
Subject: Re: Two Service elements problems


I couldn't find it in your post, so let me ask.  Do you have 2 network 
interfaces on the machine?  How are you establishing 2 ip addresses?


This topic sparked my interest because I will also be doing the same 
thing. Now, to answer your question more definitively.I put together 
a mock setup using a 5.0.30 distro I had laying around (WinXP). I took the
default server.xml listening on localhost and added the 
following service element:


Service name=Catalina2
   Connector port=8081 address=littlehost
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false redirectPort=8443 acceptCount=100
  debug=0 connectionTimeout=2
  disableUploadTimeout=true /
   
   !-- Define the top level container in our container hierarchy --

   Engine name=Catalina2 defaultHost=littlehost debug=0

 !-- Global logger unless overridden at lower levels --
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=catalina_log. suffix=.txt
 timestamp=true/

 Host name=littlehost debug=0 appBase=l_webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false

   Logger className=org.apache.catalina.logger.FileLogger
directory=logs  prefix=littlehost_log. suffix=.txt
   timestamp=true/

 /Host

   /Engine
/Service
I don't have a second network interface, so created a second host name 
littlehost to my actual ip address through /etc/hosts. 
Started tomcat . , my netstat confirmed that I was listening to port 
8080 on localhost and port 8081 on littlehost.
But, when I go to http://littlehost:8081/ nothing happened.  Then I 
followed the directions at 
http://www.ex-parrot.com/~pete/tomcat-vhost.html for setting up a 
virtual host. 


Using that reference I did this:
1. Added a ROOT.xml file in conf/Catalina2/littlehost
2  Created the l_webapps directory specified by my Host element. 3.
Created a web application deployment structure in the l_webapps directory 4.
Created an index.jsp at the root of l_webapps

Restarted tomcat .. now http://littlehost:8081/ servers up content.

Good Luck
Steve

Barnett, Brian W. wrote:

 


netstat -an results (snippet)

Proto  Local Address  Foreign AddressState
TCP166.70.163.138:80  0.0.0.0:0  LISTENING
TCP166.70.163.138:139 0.0.0.0:0  LISTENING
TCP166.70.163.138:2109166.70.163.131:2433ESTABLISHED
TCP166.70.163.138:2110166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2113166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2115166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2117166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2119166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2122166.70.163.138:8093ESTABLISHED
TCP166.70.163.138:2125166.70.163.131:2433ESTABLISHED
TCP166.70.163.138:338963.253.57.180:4881 ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2110ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2113ESTABLISHED
TCP166.70.163.138:8093166.70.163.138:2115 

Specify work folder for each application

2005-09-15 Thread Anto Paul
Hi all,
Is it possible to specify work folder for the web application.
What I need is to add generated source and class files of JSP's into
Eclipse proect classpath. I am using Eclipse 3.1. I couldn't find a
way to map an external folder into Eclipse classpath.

-- 
rgds
Anto Paul

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



RE: Specify work folder for each application

2005-09-15 Thread rahul
Eclipse

Poject - Properties- Java Build Path -   Source -Add folder...

 --RahulJoshi

 -Original Message-
 From: Anto Paul [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 16, 2005 11:08 AM
 To: Tomcat Users List
 Subject: Specify work folder for each application
 
 
 Hi all,
 Is it possible to specify work folder for the web application.
 What I need is to add generated source and class files of JSP's into
 Eclipse proect classpath. I am using Eclipse 3.1. I couldn't find a
 way to map an external folder into Eclipse classpath.
 
 -- 
 rgds
 Anto Paul
 
 -
 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]