Re: Implicit objects in JSP pages

2002-04-15 Thread rob

I believe that's correct how are you using the 'request' reference?

At 03:53 PM 4/12/2002 -0400, you wrote:
According to what I've read, there should be a
javax.servlet.http.HttpServletRequest instance by the name of request
available to me in my JSP at compile time without my having to do something
special to obtain it, yet Jasper is insisting that no such object is
available.  Have I skipped a step somewhere?

jbm!

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: login.do not found

2002-04-15 Thread rob

This is related to struts yes.  Struts applications expect that there is a servlet 
mapping
for *.do or do/* in web.xml for classes that extend org.apache.struts.action.Action (I 
believe).  A visit
to the struts home might be helpful.

Rob

There has to be a servlet mapping for *.do in the web.xml.  Yes, it's a struts related
error.  
At 08:34 AM 4/13/2002, you wrote:
Probably a struts error, or at least that's what I'd guess.

--mikej
-=-
mike jackson
[EMAIL PROTECTED] 

 -Original Message-
 From: jo outen [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 12, 2002 3:22 PM
 To: [EMAIL PROTECTED]
 Subject: login.do not found
 
 
 I am trying to deploy an a JSP WAR. When I try to
 login to the connection I am getting a login.do not
 found. Can anyone help me to figure out what this is?
 
 
 __
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




JSP/JDBC/POSTGRESQL

2002-04-15 Thread Dave Anders

  javax.servlet.ServletException: WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver
  
  root cause :
  
  java.lang.ClassNotFoundException: WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver

 Jeffrey Bonevich wrote :

 The above looks sorely malformed.

Jeffrey,

thank you very much.

The .jsp code was messed up just on 
one line.

That caused the error.

--Dave Anders


 Dave Anders wrote:
 
  I'm trying to access my new PostgreSQL database
  using Tomcat 4.0.3 and JDBC.
  
  I'm receiving an Internal Server Error.
  
  exception :
  
  javax.servlet.ServletException: WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver
  
  root cause :
  
  java.lang.ClassNotFoundException: WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver
 
 
 Provide the code you are using to load the driver.  The above looks 
 sorely malformed.  You should be doing a 
 Class.forName(org.postgresql.Driver) in the code, or if you are 
 setting up a DataSource in the configs the class name should be 
 similarly formed.
 
 
  
  I'm sorry but I don't know at the moment how to implement 
  the jdbc7.1-1.2 driver class so it is working properly.
  
  Is there anybody out there who knows the answer.
  
  Thank you,
  Dave Anders 
  
  
  
  
  
  
  
  
  
  
  
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED].
org
  For additional commands: mailto:[EMAIL PROTECTED].
org
  Troubles with the list: mailto:[EMAIL PROTECTED].
org
  
  
  
 
 
 -- 
 Jeffrey Bonevich
 Ann Arbor, Michigan
 [EMAIL PROTECTED]
 http://www.bonevich.com
 
 Hwæt! Wë Gär-Dena   in geär-dagum,
 peod-cyninga,   prym gefrünon,
 hü ða aepelingas   ellen fremedon!
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 







--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Mysql and Tomcat

2002-04-15 Thread Andy Eastham

Gareth,

What are the errors?

We're running mysql under Tomcat and our corresponding code is:
Class.forName(org.gjt.mm.mysql.Driver).newInstance();
this.connection = DriverManager.getConnection(jdbc:mysql:// +
this.databaseHost +: + this.databasePort + / + this.databaseName +
?user= + this.databaseUsername + password= + this.databasePassword);

This works fine, but I guess it's more likely a class loading problem you're
having.  I'd check that mysql.jar is under Tomcat/common/lib.  We've also
got jdbc2_0-stdext.jar there, although I'm not sure this is required any
more.

Andy

 -Original Message-
 From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]]
 Sent: 15 April 2002 05:53
 To: 'Tomcat Users List'
 Subject: Mysql and Tomcat


 Greetings All,

 Just when I though everything was sweet I'm having a nasty
 problem.  I'm running:
 Debian Linux, Tomcat 4.0.3, Mysql, Ant, MM JDBC driver.

 Basically I've set everything up sweet and when I run a test file
 from the command line (java test.class) I get a connection to the
 database no problems.  Unfortunately when I try and do the same
 thing through a servlet loaded onto Tomcat I get grief!!!  See below
 I get two errors outputted in the browser window, the second one
 could be caused by the first :-)

 If anyway has any ideas about this, please let me know this is a
 desperate one :-(((

 Thanks heaps and heaps,

 Gareth

 Code:

 try {
 //Registering the MySQL JDBC Driver
 Class.forName(org.gjt.mm.mysql.Driver).newInstance();
 }
 catch (Exception E) {
 out.println(pException: Created Driver/p);
 System.err.println(Unable to load driver.);
 E.printStackTrace();
 }

 try {
 //create variable url containing connecting value
 String url=jdbc:mysql://localhost/weblearn;
 //Create Connection Object from java.sql.*
 Connection Conn = DriverManager.getConnection(url, root, );
 }
 //Exceptions if something went wrong
 catch (SQLException E) {
 out.println(pSQL Exception/p);
 }






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg

Hi!

I originally posted this message on jGuru, but got no solutions we could 
use. I'm hoping for a piece of the collective wisdom of the tomcat-user 
list in order to solve this little problem.

I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've 
encountered a rather fatal problem: When Tomcat is asked to remove our 
web application, i.e. for redeploying it or when shutting down, it hangs 
with the following message:

StandardWrapper[/context:servlet]: Waiting for 1 instance(s) to be 
deallocated

Having searched the mailing list archives, I've found other people 
having similar problems with 4.0.1, and a bugzilla entry saying it's 
fixed. Woo hoo! So I downloaded Tomcat 4.0.3 and installed it, only to 
find the problem remains. Bugger.

To be more specific, the problem occurs because we have a servlet which 
holds onto its request connections for a long time. When I noticed this 
problem, I set up code in the servlet to cut the connections when it 
gets a destroy() request. Unfortunately, Tomcat never sends the servlet 
a destroy(), it just hangs waiting for the servlet's connections to 
close. If the connection closes, tomcat comes out of its wait and 
happily shuts down the web application. This should be easy to 
reproduce, unless it's me who's messed something up.

On to my question: What can I do about this?

I'd greatly appreciate any suggestions, as I'd like to upgrade to Tomcat 
4.0. All those nifty features...

Thanks!

/D

-- 
Daniel Aborg - Developer


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 3.2.1 security newbie - Basic authentication Win2k/MIIS

2002-04-15 Thread Mohr James

Hi all!

I am trying to implement an Intranet/Extranet where menus are created
dynamic based on the username. To determine the user, I am using REMOTE_USER
and this works fine with active service pages. However, any JSP page does
not seem to be able to read this correctly. Because we have to use Tomcat
for a specific application, we would like to limit the number of languages
we use, so we don't have to use Java plus VBScript.   

I set up the perms in IIS for Basic authentication only. When I try to
connect to the page, I get the popup and login, then the page is displayed.
In the jsp-page I have the following:

%
   authtype=request.getAuthType();
   username = request.getRemoteUser();
   host = request.getRemoteHost();
 
 %Authtype: %=authtype %BR %
  %Username: %=username %BR %
  %Host:%=host %BR %

In the web.xml I have this: 

security-constraint
  web-resource-collection
 web-resource-nameProtected Area/web-resource-name
 !-- Define the context-relative URL(s) to be protected --
 url-pattern/sd-sp4-test/Kunde/*/url-pattern
 !-- If you list http methods, only those methods are protected --
 http-methodDELETE/http-method
 http-methodGET/http-method
 http-methodPOST/http-method
 http-methodPUT/http-method
  /web-resource-collection
  auth-constraint
 !-- Anyone with one of the listed roles may access this area --
 role-nametomcat/role-name
 role-namerole1/role-name
  /auth-constraint
/security-constraint

!-- Default login configuration uses BASIC authentication --
login-config
  auth-methodBASIC/auth-method
  realm-nameExample Basic Authentication Area/realm-name
/login-config

Whnen I try to access /sd-sp4-test/Kunde/start.jsp, *without* asking me for
a username and password, I get the following:

Authtype: null
Username: null
Host: 10.2.28.220


This says the user has not logged in. If I try to load
/sd-sp4-test/Kunde/login.html, I get the standard popup and am I can input
username/password with no problem. It seems that the JSP redirectory kicks
in before the basic authentication. So, maybe I am not clear on the concept.
Is the basic authentication from MIIS, or is Tomcat doing on its own?
Looking through the mailing list archive, it seems that tomcat is doing
this. However, when I turn off basic authentication in MIIS and set it to
anonymous, I still have the same problem.  

The directory /sd-sp4-test is defined as a virtual directory within IIS. I
found a reference on jboss.org saying that the url pattern is relative to
your web context, but I am confused as to what the context is here. 

Could the problem be as simple as using the wrong object and method (i.e.
something other than request.getRemoteUser(); ). 

One important aspect is the ability to set permissions at the Win2K level
that are respected by the web server, rather than having to do all of the
security ourselves. We have several customers with different users and need
to keep data from each customer seperate, plus give access to specific areas
only to specific users (i.e. only management gets access to the reporting
pages). 

Any and all help would be greatly appreaciated.

Regards,

Jim Mohr

ELAXY Brokerage  Trading GmbH  Co KG
_
James Mohr
Help Desk Manager
Am Hofbräuhaus 1
96450 Coburg 
Germany
Fon +49 (0) 95 61.55 43.0
Fax +49 (0) 95 61.55 43.302
E-Mail: [EMAIL PROTECTED]
---
Science has promised man power...But, as so often happens when people are 
seduced by promises of power, the price is servitude and impotence.  Power
is 
nothing if it is not the power to choose.
Joseph Weizenbaum of MIT said in reference to Computers.
---
The Great Linux-NT Debate: 
http://www.jimmo.com/Linux-NT_Debate/index.html



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread lsmith

Daniel,
Any servlet that Tomcat creates Tomcat will send a destroy 
to. If you start any threads or singletons from that servlet 
you need to pass the destroy onto them you're self.
Hope this helps,
Lance

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg

[EMAIL PROTECTED] wrote:
 Any servlet that Tomcat creates Tomcat will send a destroy 
 to. If you start any threads or singletons from that servlet 
 you need to pass the destroy onto them you're self.
Thanks Lance.

I neglected to mention that Tomcat DOES send the destroy - it just sends 
it after the servlet has relinquished all of its connections. If the 
servlet got the destroy before its connections had been closed, it could 
close the connections at that point and everything would be fine. Is it 
possible to get this behaviour?

Thanks!

/D

-- 
Daniel Aborg - Developer


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




configuration pbm

2002-04-15 Thread george pinca

Hello,

I'm trying to run Tomcat on Linux and getting the following error, any clue ???

Thankx,

george

Using classpath: 
/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/tomcat.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/stop-tomcat.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/common/etomcat.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/common/core_util.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/common/tomcat_core.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/common/connector_util.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/container/tomcat_modules.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/container/tomcat_util.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/container/crimson.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/common/jasper-runtime.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/common/servlet.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/container/xalan.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/container/facade22.jar:/home/gelu/jakarta-tomcat-3.3.1/bin/../lib/container/jasper.jar
Using JAVA_HOME: /usr/lib/jdk-1.1.6
Using TOMCAT_HOME: ..
/usr/lib/jdk-1.1.6/bin/java -Djava.security.policy==../conf/tomcat.policy 
-Dtomcat.home=.. org.apache.tomcat.startup.Main
Jdk11Compat: Installing jar protocol handler
ERROR reading /home/gelu/jakarta-tomcat-3.3.1/conf/server.xml
At Line 13 /Server/ContextManager/LoaderInterceptor11/ useApplicationLoader=true

java.lang.NullPointerException
at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:772)
at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:493)
at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:87)
at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:333)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:311)
at 
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:173)
at 
org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:149)
at 
org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:436)
at 
org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:552)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Jdk11Compat.java:106)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
at 
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
at org.apache.tomcat.startup.Main.execute(Main.java:313)
at org.apache.tomcat.startup.Main.main(Main.java:140)
EmbededTomcat: exception initializing ContextManager
org.apache.tomcat.core.TomcatException: Root cause - null
at 
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:177)
at 
org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:149)

 



RE: please help me

2002-04-15 Thread Janarthanan, Prasanna

thanks for the clarifications,

i have worked with this tomcat for the past week.
it is now giving a strange error for my context added in server.xml file.

just i did it like explained in the documentation. But soon after i start
the tomcat and see the log files, it is giving

error : 
--
marking context as unavailable due to previous errors.
error entering the context /(my context name).


i searched the cause of this problem . but u know there are no relevant
answers for this in any of the tomcat mailing list. I wonder how come it is
so..

All what i think is, the web.xml file of my web application is not able to
act for tomcat 4 which was working fine for tomcat 3.2.3.

If i see the web.xml file of examples web application in tomcat 4, it has
some extra elemts like filters which are not available in my web
application.
Also there are no proper documentation for configuiring the web.xml file of
the web application to work with tomcat 4. 

Please dicuss about this as i wonder this could be important for tomcat 4.
Also many in the world has this problem.

thanks
prassana



-Original Message-
From: Fabian Sommer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 8:25 PM
To: Tomcat Users List
Subject: Re: please help me


perhaps you could post some more information?
Which errors do you get from tomcat if you try to access your application?

In general, although i've not been a Tomcat3.2-user, i read in a few 
postings on this list that tomcat4.0 in contrast to 3.2 has built in a 
xml-parser and stops interpreting the xml-files if there are i.e. syntax 
errors. So a web.xml file running under tomcat3.2 needs not to be a fine 
working file under 4.0.

Fabian


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg

[EMAIL PROTECTED] wrote:
 It sounds to me like you are blocking with the connection 
 open in you're servlet therefore not allowing Tomcat to call 
 the destroy method untill you have released the block( 
 released the connection ) maybe synchronizing on the class? I 
 am not sure... 

That's true. Hmmm. I think I'll dig a bit deeper into that.

Thanks for your help!

/D
-- 
Daniel Aborg - Developer


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg

Daniel Aborg wrote:
 I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've 
 encountered a rather fatal problem: When Tomcat is asked to remove our 
 web application, i.e. for redeploying it or when shutting down, it hangs 
 with the following message:
 
 StandardWrapper[/context:servlet]: Waiting for 1 instance(s) to be 
 deallocated

Here is a simple example which reproduces this behaviour:

---8---
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class TestServlet extends HttpServlet
{
public void destroy()
{
System.out.println(destroy());

synchronized (this)
{
notifyAll();
}
}

public void doGet(HttpServletRequest request, HttpServletResponse response)
{
System.out.println(doGet());

synchronized (this)
{
try
{
wait();
}
catch (InterruptedException iex) {}
}
}
}
---8---

In my eyes, this should work without any problems. (It does work just 
fine in Tomcat 3.2.2.)

Thanks!

/D

-- 
Daniel Aborg - Developer


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: What does IMHO mean?

2002-04-15 Thread ce

-Original Message-
From: Darrin [mailto:[EMAIL PROTECTED]] 

 LMAO (laughing my ass off) is what you probably are talking about (a
lot of 
 fonts its hard to distinguish between 1 (one) l (lowercase L), and i 
 (lowercase I)

Possibly, but imao is also a common acronym...

  http://www.diveinstruct.org.uk/terms.html

Not that any of this has _anything_ to do with TC, imao  ;-)

- tex


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: What does IMHO mean?

2002-04-15 Thread Stuart Stephen

IMHO = In My Honest Opinion


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 12:17
To: 'Tomcat Users List'
Subject: RE: What does IMHO mean?


-Original Message-
From: Darrin [mailto:[EMAIL PROTECTED]] 

 LMAO (laughing my ass off) is what you probably are talking about (a
lot of 
 fonts its hard to distinguish between 1 (one) l (lowercase L), and i 
 (lowercase I)

Possibly, but imao is also a common acronym...

  http://www.diveinstruct.org.uk/terms.html

Not that any of this has _anything_ to do with TC, imao  ;-)

- tex


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: What does IMHO mean?

2002-04-15 Thread Abhishek Pamecha

or is it in my humble opinion... ??

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 4:49 PM
To: Tomcat Users List
Subject: RE: What does IMHO mean?


IMHO = In My Honest Opinion


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 12:17
To: 'Tomcat Users List'
Subject: RE: What does IMHO mean?


-Original Message-
From: Darrin [mailto:[EMAIL PROTECTED]] 

 LMAO (laughing my ass off) is what you probably are talking about (a
lot of 
 fonts its hard to distinguish between 1 (one) l (lowercase L), and i 
 (lowercase I)

Possibly, but imao is also a common acronym...

  http://www.diveinstruct.org.uk/terms.html

Not that any of this has _anything_ to do with TC, imao  ;-)

- tex


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: What does IMHO mean?

2002-04-15 Thread Reynir Hübner

both!
now would be a good time to stop this! 

If there has ever been anything off topic here this is it..

ever heard of http://www.webster.com/

bye
[EMAIL PROTECTED]




-Original Message-
From: Abhishek Pamecha [mailto:[EMAIL PROTECTED]]
Sent: 15. apríl 2002 11:21
To: Tomcat Users List
Subject: RE: What does IMHO mean?


or is it in my humble opinion... ??

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 4:49 PM
To: Tomcat Users List
Subject: RE: What does IMHO mean?


IMHO = In My Honest Opinion


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 12:17
To: 'Tomcat Users List'
Subject: RE: What does IMHO mean?


-Original Message-
From: Darrin [mailto:[EMAIL PROTECTED]] 

 LMAO (laughing my ass off) is what you probably are talking about (a
lot of 
 fonts its hard to distinguish between 1 (one) l (lowercase L), and i 
 (lowercase I)

Possibly, but imao is also a common acronym...

  http://www.diveinstruct.org.uk/terms.html

Not that any of this has _anything_ to do with TC, imao  ;-)

- tex


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: What does IMHO mean?

2002-04-15 Thread Philip M. Meier

Hi!

What means afaik?

Regards,
Philip M. Meier


Philip M. Meier [EMAIL PROTECTED]
AmambaSoft http://www.amambasoft.com


Diese E-Mail Nachricht und alle beigefügten Anlagen sind nur für die
Adresse bestimmt, an die sie geschickt wurde und kann vertrauliche und
privilegierte Informationen enthalten. Wenn der Leser dieser Meldung  nicht
der beabsichtigte Empfänger ist, ist jegliche Weitergabe der enthaltenen
Informationen streng verboten. Wenn Sie diese Meldung irrtümlicherweise
empfangen haben, benachrichtigen Sie uns bitte sofort und löschen Sie die
Meldungvon Ihrem System.

- Original Message -
From: Abhishek Pamecha [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 1:21 PM
Subject: RE: What does IMHO mean?


 or is it in my humble opinion... ??

 -Original Message-
 From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 4:49 PM
 To: Tomcat Users List
 Subject: RE: What does IMHO mean?


 IMHO = In My Honest Opinion


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 15 April 2002 12:17
 To: 'Tomcat Users List'
 Subject: RE: What does IMHO mean?


 -Original Message-
 From: Darrin [mailto:[EMAIL PROTECTED]]

  LMAO (laughing my ass off) is what you probably are talking about (a
 lot of
  fonts its hard to distinguish between 1 (one) l (lowercase L), and i
  (lowercase I)

 Possibly, but imao is also a common acronym...

   http://www.diveinstruct.org.uk/terms.html

 Not that any of this has _anything_ to do with TC, imao  ;-)

 - tex


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: What does IMHO mean?

2002-04-15 Thread Abhishek Pamecha

as far as i know...it is as far as i know  ;)

-Original Message-
From: Philip M. Meier [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 4:58 PM
To: Tomcat Users List
Subject: Re: What does IMHO mean?


Hi!

What means afaik?

Regards,
Philip M. Meier


Philip M. Meier [EMAIL PROTECTED]
AmambaSoft http://www.amambasoft.com


Diese E-Mail Nachricht und alle beigefügten Anlagen sind nur für die
Adresse bestimmt, an die sie geschickt wurde und kann vertrauliche und
privilegierte Informationen enthalten. Wenn der Leser dieser Meldung  nicht
der beabsichtigte Empfänger ist, ist jegliche Weitergabe der enthaltenen
Informationen streng verboten. Wenn Sie diese Meldung irrtümlicherweise
empfangen haben, benachrichtigen Sie uns bitte sofort und löschen Sie die
Meldungvon Ihrem System.

- Original Message -
From: Abhishek Pamecha [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 1:21 PM
Subject: RE: What does IMHO mean?


 or is it in my humble opinion... ??

 -Original Message-
 From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 4:49 PM
 To: Tomcat Users List
 Subject: RE: What does IMHO mean?


 IMHO = In My Honest Opinion


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 15 April 2002 12:17
 To: 'Tomcat Users List'
 Subject: RE: What does IMHO mean?


 -Original Message-
 From: Darrin [mailto:[EMAIL PROTECTED]]

  LMAO (laughing my ass off) is what you probably are talking about (a
 lot of
  fonts its hard to distinguish between 1 (one) l (lowercase L), and i
  (lowercase I)

 Possibly, but imao is also a common acronym...

   http://www.diveinstruct.org.uk/terms.html

 Not that any of this has _anything_ to do with TC, imao  ;-)

 - tex


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: What does IMHO mean?

2002-04-15 Thread David Rault

i guess a good answer would look like STFW

(and so that no one replies to ask what it means : Search The Fucking Web)

google: afaik
1st answer: as fas as i know

David
- Original Message -
From: Philip M. Meier [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 1:27 PM
Subject: Re: What does IMHO mean?


 Hi!

 What means afaik?

 Regards,
 Philip M. Meier

 
 Philip M. Meier [EMAIL PROTECTED]
 AmambaSoft http://www.amambasoft.com


 Diese E-Mail Nachricht und alle beigefügten Anlagen sind nur für die
 Adresse bestimmt, an die sie geschickt wurde und kann vertrauliche und
 privilegierte Informationen enthalten. Wenn der Leser dieser Meldung
nicht
 der beabsichtigte Empfänger ist, ist jegliche Weitergabe der enthaltenen
 Informationen streng verboten. Wenn Sie diese Meldung irrtümlicherweise
 empfangen haben, benachrichtigen Sie uns bitte sofort und löschen Sie die
 Meldungvon Ihrem System.

 - Original Message -
 From: Abhishek Pamecha [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, April 15, 2002 1:21 PM
 Subject: RE: What does IMHO mean?


  or is it in my humble opinion... ??
 
  -Original Message-
  From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 15, 2002 4:49 PM
  To: Tomcat Users List
  Subject: RE: What does IMHO mean?
 
 
  IMHO = In My Honest Opinion
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: 15 April 2002 12:17
  To: 'Tomcat Users List'
  Subject: RE: What does IMHO mean?
 
 
  -Original Message-
  From: Darrin [mailto:[EMAIL PROTECTED]]
 
   LMAO (laughing my ass off) is what you probably are talking about (a
  lot of
   fonts its hard to distinguish between 1 (one) l (lowercase L), and i
   (lowercase I)
 
  Possibly, but imao is also a common acronym...
 
http://www.diveinstruct.org.uk/terms.html
 
  Not that any of this has _anything_ to do with TC, imao  ;-)
 
  - tex
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Craig R. McClanahan



On Mon, 15 Apr 2002, Daniel Aborg wrote:

 Date: Mon, 15 Apr 2002 11:45:08 +0100
 From: Daniel Aborg [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Tomcat 4.0.3 hangs when removing web application.

 Daniel Aborg wrote:
  I'm trying to upgrade to JBoss 2.4 with Tomcat 4. Unfortunately, I've
  encountered a rather fatal problem: When Tomcat is asked to remove our
  web application, i.e. for redeploying it or when shutting down, it hangs
  with the following message:
 
  StandardWrapper[/context:servlet]: Waiting for 1 instance(s) to be
  deallocated

 Here is a simple example which reproduces this behaviour:


No, this should not work -- and Tomcat 3.2 was broken in allowing it.

Per the servlet spec, the container is not allowed to call destroy() if
any requests are currently active.  Because you have a wait() in your
doGet() method, that request will not have returned yet -- hence, Tomcat
will wait (forever) for that request to be completed before calling
destroy().

Craig McClanahan


 ---8---
 import javax.servlet.http.HttpServlet;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;

 public class TestServlet extends HttpServlet
 {
   public void destroy()
   {
   System.out.println(destroy());

   synchronized (this)
   {
   notifyAll();
   }
   }

   public void doGet(HttpServletRequest request, HttpServletResponse response)
   {
   System.out.println(doGet());

   synchronized (this)
   {
   try
   {
   wait();
   }
   catch (InterruptedException iex) {}
   }
   }
 }
 ---8---

 In my eyes, this should work without any problems. (It does work just
 fine in Tomcat 3.2.2.)

 Thanks!

 /D

 --
 Daniel Aborg - Developer


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




TOMCAT, IIS 5 SSL - direction please.

2002-04-15 Thread Ernst Bekker

If anyone on the list would be so kind as to direct me to the document/url
where I can get a clue as to how I should go about using ssl with both IIS
and Tomcat on the same machine without requiring client requests to go
directly to non-default port.

Thanks in advance
Regards,
Ernst Bekker  [EMAIL PROTECTED]
Coding Clerk  +27 +11 489 4147
IS Services









































































--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: To have SetCookie in the Response

2002-04-15 Thread Lionel FARBOS

In fact, there is no special configuration to obtain this.
Only : SessionId cookiesFirst=true noCookies=false / to authorize
cookies.

My problem was :
I invoke LoginServlet (in which I do ...request.getSession( true );)
and at the end of this servlet, I do :
request.getRequestDispatcher(response.encodeURL(../servlet/DisplayHomePageServlet)).forward(request,response);

So, in this way, there is no SetCookie in the response.

To correct this, I do :
request.getRequestDispatcher(../servlet/DisplayHomePageServlet).forward(request,response);

and there is the SetCookie in my response : -)

Lionel FARBOS wrote:

 Hi,

 I configure my Tomcat 3.3.1 Final server with :
 SessionId cookiesFirst=true noCookies=false /
 and my servlet do HttpSession session = req.getSession( true );

 but in my HTTP Response, I don't have the SetCookie parameter :
 HTTP/1.0 200 OK
 Content-Type: text/html
 Pragma: No-cache
 Cache-Control: no-cache
 Expires: Thu, 01 Jan 1970 00:00:00 GMT
 Date: Fri, 12 Apr 2002 14:53:12 GMT
 Server: Tomcat Web Server/3.3a Final ( JSP 1.1; Servlet 2.2 )

 Is there a special configuration to obtain this ?

 Note :
 with a telnet localhost 8080 : I have this header
 with Netscape, I see the sessionId which is created...

 Thanks

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: What does IMHO mean?

2002-04-15 Thread Matt Gregory

RTFM Read the Fine Manual according to Zope, but many others like to
substitute fine with some other metaphore.
LOL Laugh out loud
ROFL Rolling on floor laughing
ROFLMAO Rolling on floor laughing my arse off
WTF What the fsck Use your imagination.
IANAL I am not a llama If you don't know, you probably won't use it.  :-)
Some people also think for some reason this means, I am not a layer, but
WTF do they know?
Need to know more?  Netlingo (http://www.netlingo.com) actually has a decent
list of terms.

Now we can end the thread right?

- Original Message -
From: David Rault [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 7:29 AM
Subject: Re: What does IMHO mean?


 i guess a good answer would look like STFW

 (and so that no one replies to ask what it means : Search The Fucking Web)

 google: afaik
 1st answer: as fas as i know

 David
 - Original Message -
 From: Philip M. Meier [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, April 15, 2002 1:27 PM
 Subject: Re: What does IMHO mean?


  Hi!
 
  What means afaik?
 
  Regards,
  Philip M. Meier
 
  
  Philip M. Meier [EMAIL PROTECTED]
  AmambaSoft http://www.amambasoft.com
 
 
  Diese E-Mail Nachricht und alle beigefügten Anlagen sind nur für die
  Adresse bestimmt, an die sie geschickt wurde und kann vertrauliche und
  privilegierte Informationen enthalten. Wenn der Leser dieser Meldung
 nicht
  der beabsichtigte Empfänger ist, ist jegliche Weitergabe der enthaltenen
  Informationen streng verboten. Wenn Sie diese Meldung irrtümlicherweise
  empfangen haben, benachrichtigen Sie uns bitte sofort und löschen Sie
die
  Meldungvon Ihrem System.
 
  - Original Message -
  From: Abhishek Pamecha [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, April 15, 2002 1:21 PM
  Subject: RE: What does IMHO mean?
 
 
   or is it in my humble opinion... ??
  
   -Original Message-
   From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
   Sent: Monday, April 15, 2002 4:49 PM
   To: Tomcat Users List
   Subject: RE: What does IMHO mean?
  
  
   IMHO = In My Honest Opinion
  
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
   Sent: 15 April 2002 12:17
   To: 'Tomcat Users List'
   Subject: RE: What does IMHO mean?
  
  
   -Original Message-
   From: Darrin [mailto:[EMAIL PROTECTED]]
  
LMAO (laughing my ass off) is what you probably are talking about (a
   lot of
fonts its hard to distinguish between 1 (one) l (lowercase L), and i
(lowercase I)
  
   Possibly, but imao is also a common acronym...
  
 http://www.diveinstruct.org.uk/terms.html
  
   Not that any of this has _anything_ to do with TC, imao  ;-)
  
   - tex
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




apache+tomcat behind firewall

2002-04-15 Thread Michael Reutter

Hi!

My tomcat is connected to apache with mod_jserv - and both are behind a 
firewall:
server1.com ... firewall (connected to internet and private network)
server2.intra ... apache and tomcat (private network)

DNAT:
server1.com:80 - server2.intra:80 (apache)
server1.com:8080 - server2.intra:8080 (tomcat)

and apache's /examples is mapped to tomcat's /root

everything works fine BUT:

request:
http://server1.com:80/examples/servlet/
this should return a redirect to:
http://server1.com:80/examples/servlet/index.html

but the redirect goes to:
http://server2.intra:80/examples/servlet/index.html
which isn't possible from outside!

if I do the request directly from tomcat:
http://server1.com:8080/examples/servlet/
the redirect works correctly!

so what can I do, to force apache/tomcat, to do redirects to server1.com with 
mod_jserv, too ???

thanks
michi

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Jspc and package names

2002-04-15 Thread Leonard Crowe

I know I've seen this mentioned before but I can't find an answer for it in
the archives.  I'm trying to use jspc to generate the servlets from my jsp's
but the package names end up having a . appended on the end giving me a
compiler error when I try and compile them.  Is this a problem with jspc or
do I just have something configured wrong?






Search Engine and Tomcat

2002-04-15 Thread alex

I've been very pleased with Tomcat, and have it hosting
some of our jsp content.  I'm now looking for an
indexing/search solution that would index and allow me
to create a form to search the site for search keywords
and display results.  Preferably i'd like to be able to
index content that is hosted on other virtual domains
(non tomcat) along with tomcat content.  Has anyone got
advice on something that could do this?  I've looked at
e-swish at the moment, and its a start for what i'd
like, but just wondering if there are others that have
searchable websites with tomcat also disinterested in
having a google search of ones own content.

Thanks

Alex



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 hangs when removing web application.

2002-04-15 Thread Daniel Aborg

Craig R. McClanahan wrote:
Here is a simple example which reproduces this behaviour:
[snip]
 In my eyes, this should work without any problems. (It does work just
 fine in Tomcat 3.2.2.)

 No, this should not work -- and Tomcat 3.2 was broken in allowing it.
 
 Per the servlet spec, the container is not allowed to call destroy() if
 any requests are currently active.

Doh.  That explains it.  Alright.

So, what choices are you left with if you want to do something like 
this?  Adding a shutdown hook to the servlet container which asks the 
servlet to release its connections?

Thanks for your help!

/D

-- 
Daniel Aborg - Developer


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: What does IMHO mean?

2002-04-15 Thread sharadsk

This is Tomcat Discussion List. Please stop this. And do not put such questions on 
this list.
-S

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Mon, April 15, 2002 10:02 AM
To: [EMAIL PROTECTED]
Subject: RE: What does IMHO mean?


IMHO == In My Humble Opinion 

--
Tomasz M. Ciolek
Systems Administrator - CSIRO Entomology
Phone: 02-62464391 * Fax: 02-62464000
 

 -Original Message-
 From: Darrin [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, 15 April 2002 09:34 
 To: Tomcat Users List
 Subject: Re: What does IMHO mean?
 
 
 LMAO (laughing my ass off) is what you probably are talking 
 about (a lot
 of fonts its hard to distinguish between 1 (one) l (lowercase 
 L), and i
 (lowercase I)
 
 [EMAIL PROTECTED] wrote:
 
  -Original Message-
  From: Robert Douglass [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, April 14, 2002 1:02 PM
  To: Tomcat Users List
  Subject: RE: What does IMHO mean?
 
   in my humble/honest opinion
   what I don't know is imao, which I also see.
 
  a = arrogant
 
  - tex
 
  --
  To unsubscribe:   
 mailto:tomcat-user- [EMAIL PROTECTED]
  For 
 additional commands: 
 mailto:[EMAIL PROTECTED]
  Troubles with the list: 
 mailto:tomcat-user- [EMAIL PROTECTED]
 
 
 --
 To 
 unsubscribe:   
 mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Search Engine and Tomcat

2002-04-15 Thread Cox, Charlie

I am currently integrating lucene(http://jakarta.apache.org/lucene), into my
web application. It is a search api, so you have to create the spidering of
a site, but it seems to work fairly well and is very flexible. 

Charlie

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 9:04 AM
 To: [EMAIL PROTECTED]
 Subject: Search Engine and Tomcat
 
 
 I've been very pleased with Tomcat, and have it hosting
 some of our jsp content.  I'm now looking for an
 indexing/search solution that would index and allow me
 to create a form to search the site for search keywords
 and display results.  Preferably i'd like to be able to
 index content that is hosted on other virtual domains
 (non tomcat) along with tomcat content.  Has anyone got
 advice on something that could do this?  I've looked at
 e-swish at the moment, and its a start for what i'd
 like, but just wondering if there are others that have
 searchable websites with tomcat also disinterested in
 having a google search of ones own content.
 
 Thanks
 
 Alex
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Implicit objects in JSP pages

2002-04-15 Thread Brook Monroe

After looking at the generated Java file, I find that the request object is
available because it's a parameter to _jspService().  I was attempting to
instantiate my objects via calls to request.getAttribute() at the point of
declaration, not in the first real code block in the page.  Once I moved the
instancing to the first code block, everything was fine.  (Some aspects of
JSP development are counter-intuitive to me, I'm afraid.)

Thanks for checking up on my query!

-Original Message-
From: rob [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 5:51 PM
To: Tomcat Users List
Subject: Re: Implicit objects in JSP pages


I believe that's correct how are you using the 'request' reference?

At 03:53 PM 4/12/2002 -0400, you wrote:
According to what I've read, there should be a
javax.servlet.http.HttpServletRequest instance by the name of request
available to me in my JSP at compile time without my having to do something
special to obtain it, yet Jasper is insisting that no such object is
available.  Have I skipped a step somewhere?

jbm!

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: How many SSL certificates are needed for Tomcat with IIS?

2002-04-15 Thread John Roth

Also, each server sends a machine+server specific character set to Verisign
(or any other certifier).  For example: a keystore generated CertRequest
will create a different request than an IIS generated CertRequest, all other
things being equal (IP address, domain name, etc.).

In a normal Web Server/Tomcat (App) Server environment, the Web Server is
what is responsible for SSL encryption.  This is the same regardless of the
web server (IIS, Apache, Netscape, or any other).  In some environments
Tomcat is the web server, hence the SSL support in Tomcat.

Summary:
Only the web server needs the certificate.  If this is IIS, you must
generate the request via IIS.  If the web server is going to be Tomcat, via
the HTTPConnector, use keystore to generate the request.

John

-Original Message-
From: Hugh Brien [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 12:44 AM
To: Tomcat Users List
Subject: Re: How many SSL certificates are needed for Tomcat with IIS?


What was the error?  Did you search for the error code to see if anyone had
the same problem?  Certs are based on 509 however there are extensions that
different vendors support.
r,
Hugh

- Original Message -
From: Hawkins, Keith (Keith) [EMAIL PROTECTED]
To: tomcat-user [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 5:46 PM
Subject: How many SSL certificates are needed for Tomcat with IIS?



I generated CSR via Sun's keytool, sent it to verisign, and imported the
resulting certificate into a keystore file.
I tried to get IIS to import this certificate, but it rejects it.  Do I have
to request the certificate from IIS?  Do I need to
have two certificates, one for tomcat and one for IIS?

Thanks,
Keith




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




How do I unsubscribe to this list???

2002-04-15 Thread Valdimar Óskarsson

Hi,

pls. help me to unsubscribe.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Using Apache2 + Tomcat4 together

2002-04-15 Thread Rich

I think the easiest way is by using mod_proxy. It is clearly outlined in the
Tomcat docs, here:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/proxy-howto.html



-Original Message-
From: Darrin [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 13, 2002 1:46 AM
To: Tomcat Users List
Subject: Using Apache2 + Tomcat4 together


I have Apache2 up and running fine, as well as Tomcat4 (with a webapp
deployed).

I just want to set up so that people can access the Tomcat webapp by
typing http://mywebbapp.mydomain.com rather than the very annoying
http://mydomain.com:8080/mywebapp without having any affect on any
requests sent to http://mydomain.com and vis versa.

Is there a simple way to do this without changing anything major
regarding the current installations of Apache, Tomcat, and my webapp?

Any advice would be much appreciated.

Darrin




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil

Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file. 

I don't understand why I am getting that error.  Any suggestions would be a
help.  
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Jack Li

Did you follow the instruction at
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup the
server successfully two weeks ago based on that instruction. If you have
problem, call me at 734.957.8080 ext 340 by speaking Chinese.

Jack Li

-Original Message-
From: Tomcat Huang [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 1:50 PM
To: Tomcat Users List
Subject: Re: IIS 5.0 + TC 4.0.3



 I think I got the jakarta virtual directory setup in the IIS.  Please look
at the following log messages that I cut from the isapi.log and
localhost_access_log.2002-04-14.txt.  It seems that the isapi_redirector.dll
redirects the wrong url to Tomcat.
Thank you for your help.
Chiming
isapi.log 
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/localhost/examples/jsp/num/numguess.jsp'
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/jsp/num/numguess.jsp
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (416)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (617)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (639)]: HttpFilterProc check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (657)]: HttpFilterProc
started
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (705)]: In HttpFilterProc
Virtual Host redirection of /localhost/jakarta/isapi_redirector.dll
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (464)]: Attempting to map
URI '/localhost/jakarta/isapi_redirector.dll'
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (711)]: In HttpFilterProc
test Default redirection of /jakarta/isapi_redirector.dll
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (464)]: Attempting to map
URI '/jakarta/isapi_redirector.dll'
[Sun Apr 14 13:37:57 2002]  [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (775)]: HttpFilterProc
[/jakarta/isapi_redirector.dll] is not a servlet url
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (784)]: HttpFilterProc check
if [/jakarta/isapi_redirector.dll] is points to the web-inf directory
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (824)]: HttpExtensionProc
started
[Sun Apr 14 13:37:57 2002]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Sun Apr 14 13:37:57 2002]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (860)]: HttpExtensionProc got
a worker for name ajp13
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (1352)]: Into
jk_worker_t::get_endpoint
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (1075)]: Into
jk_endpoint_t::service
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (280)]: Into
ajp_marshal_into_msgb
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (413)]: ajp_marshal_into_msgb -
Done
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (612)]: sending to ajp13 #317
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (853)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (698)]: received from ajp13 #17
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (461)]: ajp_unmarshal_response:
status = 404
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (466)]: ajp_unmarshal_response:
Number of headers is = 0
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (428)]: Into
jk_ws_service_t::start_response
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (698)]: received from ajp13
#664
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (562)]: Into
jk_ws_service_t::write
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (698)]: received from ajp13 #2
[Sun Apr 14 13:37:57 2002]  [jk_isapi_plugin.c (872)]: HttpExtensionProc
service() returned OK
[Sun Apr 14 13:37:57 2002]  [jk_ajp_common.c (1307)]: Into
jk_endpoint_t::done


RE: How do I unsubscribe to this list???

2002-04-15 Thread Stuart Stephen

Read the bottom of every single email sent to this list. It tells you there.

-Original Message-
From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 14:25
To: [EMAIL PROTECTED]
Subject: How do I unsubscribe to this list???


Hi,

pls. help me to unsubscribe.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: How do I unsubscribe to this list???

2002-04-15 Thread Javier

On 15/04/2002 at 13:24 Valdimar Óskarsson wrote:

Send an email to [EMAIL PROTECTED] and take to send it from 
the address which you want to unsubscribe.

As a rule, you could check in the headers of each mail from the list for commands to 
post, sucscribe, etc.


Good luck

jl





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: How do I unsubscribe to this list???

2002-04-15 Thread Valdimar Óskarsson

It does not work, have been trying that for days :(

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: 15. apríl 2002 13:35
To: Tomcat Users List
Subject: RE: How do I unsubscribe to this list???


Read the bottom of every single email sent to this list. It tells you there.

-Original Message-
From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 14:25
To: [EMAIL PROTECTED]
Subject: How do I unsubscribe to this list???


Hi,

pls. help me to unsubscribe.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Session Tacking across hostnames?

2002-04-15 Thread Neil Aggarwal

Joel:

In that case, I would argue that the design is mismatched to
the actual usage of web applications.

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


 -Original Message-
 From: Joel Rees [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 14, 2002 10:35 PM
 To: Tomcat Users List
 Cc: [EMAIL PROTECTED]
 Subject: Re: Session Tacking across hostnames?
 
 
 Neil Aggarwal wrote:
 
  For an application we are building, we are using a shared SSL 
 certificate
  so the hostname has to be different for http and https.  For example,
  public pages are loaded from 
 http://www.futurescope.com/fscope/myPage.jsp
  and private pages are loaded from
  http://www.JAMMConsulting.com/fscope/privatePage.jsp
 
  Unforutnately, when we switch from http to https or vice versa, we lose
  track of the session.  Is there a way to keep the session is this
  instance?
 
 I think that's by design. See the mailing list archives for some 
 discussion
 of why.
 
 Joel Rees
 Alps Giken Kansai Systems Develoment
 Suita, Osaka
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Tomcat Huang


hi Jack, 
Thank you very much for the information.  I will give it a try.  Thanks again.
Chiming
  Jack Li [EMAIL PROTECTED] wrote: Did you follow the instruction at
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup the
server successfully two weeks ago based on that instruction. If you have
problem, call me at 734.957.8080 ext 340 by speaking Chinese.

Jack Li

-Original Message-
From: Tomcat Huang [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 1:50 PM
To: Tomcat Users List
Subject: Re: IIS 5.0 + TC 4.0.3



I think I got the jakarta virtual directory setup in the IIS. Please look
at the following log messages that I cut from the isapi.log and
localhost_access_log.2002-04-14.txt. It seems that the isapi_redirector.dll
redirects the wrong url to Tomcat.
Thank you for your help.
Chiming
isapi.log 
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (368)]: Attempting to map
URI '/localhost/examples/jsp/num/numguess.jsp'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/jsp/num/numguess.jsp
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (416)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (617)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (639)]: HttpFilterProc check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc
started
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc
Virtual Host redirection of /localhost/jakarta/isapi_redirector.dll
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (464)]: Attempting to map
URI '/localhost/jakarta/isapi_redirector.dll'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (711)]: In HttpFilterProc
test Default redirection of /jakarta/isapi_redirector.dll
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (464)]: Attempting to map
URI '/jakarta/isapi_redirector.dll'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (775)]: HttpFilterProc
[/jakarta/isapi_redirector.dll] is not a servlet url
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check
if [/jakarta/isapi_redirector.dll] is points to the web-inf directory
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (824)]: HttpExtensionProc
started
[Sun Apr 14 13:37:57 2002] [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Sun Apr 14 13:37:57 2002] [jk_worker.c (136)]: wc_get_worker_for_name,
done found a worker
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (860)]: HttpExtensionProc got
a worker for name ajp13
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (1352)]: Into
jk_worker_t::get_endpoint
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (1075)]: Into
jk_endpoint_t::service
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (280)]: Into
ajp_marshal_into_msgb
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (413)]: ajp_marshal_into_msgb -
Done
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (612)]: sending to ajp13 #317
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (853)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (698)]: received from ajp13 #17
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (461)]: ajp_unmarshal_response:
status = 404
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (466)]: ajp_unmarshal_response:
Number of headers is = 0
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (428)]: Into
jk_ws_service_t::start_response
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (698)]: received from ajp13
#664
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (562)]: Into
jk_ws_service_t::write
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (698)]: received from ajp13 #2
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (872)]: HttpExtensionProc
service() 

RE: How do I unsubscribe to this list???

2002-04-15 Thread Twele, Charles G

I've had the same problem - I've tried to unsubscribe twice, using the
instructions at the bottom of the list ...

Anybody with any ideas, plz pass them on ...

 -Original Message-
From:   Valdimar Óskarsson [mailto:[EMAIL PROTECTED]] 
Sent:   Monday, April 15, 2002 9:34 AM
To: Tomcat Users List
Subject:RE: How do I unsubscribe to this list???

It does not work, have been trying that for days :(

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: 15. apríl 2002 13:35
To: Tomcat Users List
Subject: RE: How do I unsubscribe to this list???


Read the bottom of every single email sent to this list. It tells you there.

-Original Message-
From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 14:25
To: [EMAIL PROTECTED]
Subject: How do I unsubscribe to this list???


Hi,

pls. help me to unsubscribe.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
Notice: This e-mail message, together with any attachments, contains information of 
Merck  Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, 
proprietary copyrighted and/or legally privileged, and is intended solely for the use 
of the individual or entity named on this message.  If you are not the intended 
recipient, and have received this message in error, please immediately return this by 
e-mail and then delete it.

==


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: How do I unsubscribe to this list???

2002-04-15 Thread Stuart Stephen

Try emailing the bottom one then and see if they will remove you manually.
But first you should check this: Have you made sure that you are removing
the email address from the same email account that you subscribed to it
with. For example if you subscribed with [EMAIL PROTECTED] and you try to remove
yourself with [EMAIL PROTECTED] it won't work. It has to be [EMAIL PROTECTED] that sends
the message.

-Original Message-
From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 14:34
To: Tomcat Users List
Subject: RE: How do I unsubscribe to this list???


It does not work, have been trying that for days :(

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: 15. apríl 2002 13:35
To: Tomcat Users List
Subject: RE: How do I unsubscribe to this list???


Read the bottom of every single email sent to this list. It tells you there.

-Original Message-
From: Valdimar Óskarsson [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 14:25
To: [EMAIL PROTECTED]
Subject: How do I unsubscribe to this list???


Hi,

pls. help me to unsubscribe.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




keystore not found in tomcat-3.3.1-dev

2002-04-15 Thread IS400 ABB

I'm running Tomcat-jakarta-3.3.1-dev with SSL.
Problem: How to get SSL working when I specify the keystore path in 
server.xml?

I have created a keystore file (.keystore) with the following command:
keytool -genkey -alias tomcat -keyalg RSA -keystore /usr/cert/.keystore

In server.xml i then setup the following connector:
Http10Connector  port=443
secure=true
keystore=/usr/cert
keypass=changeit
clientAuth=false
maxThreads=100
maxSpareThreads=50
minSpareThreads=10 /

The error of starting Tomcat can be seen below!
It works fine when I create a .keystore file in the root directory (current 
user home dir)!

Output from starting Tomcat:
Using classpath: /usr/local/jakarta-tomcat-3.3.1-dev/bin/../lib/tomcat.jar
Using JAVA_HOME: /usr/opt/java131
Using TOMCAT_HOME: /usr/local/jakarta-tomcat-3.3.1-dev
ragge# 2002-04-15 12:37:59 - ServerXmlReader: 
Config=$TOMCAT_HOME/conf/server.xml
2002-04-15 12:37:59 - PathSetter: home=/usr/local/jakarta-tomcat-3.3.1-dev
2002-04-15 12:38:00 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml
2002-04-15 12:38:00 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-admin.xml
2002-04-15 12:38:00 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-examples.xml
2002-04-15 12:38:00 - ContextXmlReader: Context 
config=$TOMCAT_HOME/conf/apps-is400.xml
2002-04-15 12:38:00 - AutoWebApp: Loaded from config: DEFAULT:/admin
2002-04-15 12:38:00 - AutoWebApp: Auto-Adding DEFAULT:/
2002-04-15 12:38:00 - AutoWebApp: Loaded from config: DEFAULT:/examples
2002-04-15 12:38:00 - ContextManager: Tomcat configured and in stable state
2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/admin
2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/examples
2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/admin
2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/ROOT
EmbededTomcat: Init time 8591
2002-04-15 12:38:03 - Http10Interceptor: Starting on 80
Guessed home=/usr/local/jakarta-tomcat-3.3.1-dev
java.lang.reflect.InvocationTargetException: 
org.apache.tomcat.core.TomcatException: Root cause -
//.keystore (No such file or directory)
at org.apache.tomcat.modules.server.PoolTcpConnector.engineStart (pc 
102)
at org.apache.tomcat.core.ContextManager.start   (pc 37)
at org.apache.tomcat.startup.EmbededTomcat.start (pc 29)
at org.apache.tomcat.startup.EmbededTomcat.execute1  (pc 72)
at org.apache.tomcat.startup.EmbededTomcat$1.run (pc 4)
at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run 
(pc 4)
at 
java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction,jav
a.security.AccessControlContext) (AccessController.java)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged (pc 52)
at org.apache.tomcat.startup.EmbededTomcat.execute   (pc 20)
at java.lang.reflect.Method.invoke (Method.java)
at org.apache.tomcat.util.IntrospectionUtils.execute (pc 58)
at org.apache.tomcat.startup.Main.execute(pc 138)
at org.apache.tomcat.startup.Main.main   (pc 14)


Thank you in advance for any comments!
/Per


_
Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se/intl.asp


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: REPOST: XXX Assert failed, buff too small -- Help!!

2002-04-15 Thread John Roth

Still troubleshooting, about ready to give up and regretfully move this
portion of our application to Active Server Pages.  If anyone out there has
any advice or suggestions, they would be greatly appreciated.

Here is the latest round of discoveries:
1. After modifying AJP*.class, we found that the character encoding has no
effect.
2. Different browsers break at different points, but with the same exact
problem:
  IE (5.0, 5.5, 6.x) all break on the 1365th AJP packet.
  NS (4.x) breaks on the 55th AJP packet.
  Opera (6.0) breaks on the 11th AJP packet.
  - nothing I change in any of the browsers changes the number, even in
Opera where you can set the browser description to IE5.5, etc.
  - In all browser cases, normal AJP packets (8186 bytes of data, 8192 total
packet size) move fine until at the break point, AJP tries to interpret a
packet size of 65,311, and breaks.

The saga continues.

PS: if anyone is reading this, please acknowlege.  I'm starting to develop a
complex here ;)

John

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 5:14 PM
To: 'Tomcat Users List'
Subject: RE: REPOST: XXX Assert failed, buff too small -- Help!!


Another day of troubleshooting, more information:

- We wrote a JSP that takes form data and displays it (simple text field,
POSTing to a JSP).  I can upload huge amounts without the same problem.  The
upload even exceeds the 1365 AJP packets that the file upload has been
limited to.

Questions:
1. The file upload uses multipart/form-data for the encoding type, the
text form does not.  Multipart/form-data is used by the O'Reilly servlet to
handle uploading binary.  Anyone have any specific knowlege on this
encoding?
2. Has anyone else run into problems uploading large binary files?
3. Is anyone out there getting these messages ;) ?  Frustration is running
rampant here.
4. Is there anymore information I can provide that would help troubleshoot
this?  Can anyone think of a different series of actions to identify the
root cause of this problem?


Thanks,
john


-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:31 AM
To: 'Tomcat Users List'
Subject: REPOST: XXX Assert failed, buff too small -- Help!!


I am *still* troubleshooting this issue, and am in dire need of help.  Is
anyone out there uploading large files via SSL/HTTPS?

New discoveries:
1. Added some debugging code to Ajp13.class to output buff, length, etc.,
results are as follows:
   JR: Array: buff(from)=[B@7f92f5, pos(fromIndex)=6, dest(to)=[B@9505f,
0(toIndex), length(count)=8186
   JR: Buff: length=8186, Buff: 8192

   ... repeats for all 1364 correct AJP packets, then ...

   JR: Array: buff(from)=[B@7f92f5, pos(fromIndex)=6, dest(to)=[B@9505f,
0(toIndex), length(count)=8186
   JR: Buff: length=65311, Buff: 8192
   XXX Assert failed, buff too small: length=65311, Buff: 8192
   JR: Array: buff(from)=[B@7f92f5, pos(fromIndex)=6, dest(to)=[B@9505f,
0(toIndex), length(count)=65311
   ... then the AIOOB exception in the application log.
2. Have upgraded Tomcat from 4.0.1 to 4.0.3
3. Have upgraded to yet the latest ISAPI_REDIRECT(or).dll
4. Have explored all IIS registry settings without being able to change the
results at all.
5. Tried other servlets besides O'Reilly with the same result (not
surprising, the error occurs in AJP or isapi_redirect - still can't narrow
down chain of events).
6. ASP pages used for upload do not have this problem (albeit they are
considerably slower).

Desparately looking for help or advice!!

Thanks,
John Roth, Director net.Media
Provider Solutions Corp.

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 3:40 PM
To: Tomcat User Group (E-mail)
Subject: RE: XXX Assert failed, buff too small


After two weeks, I am still troubleshooting the same problem uploading files
via https where the filesize is greater than 10.7MB.  I am not having much
luck determining the order in which to problem flows, but the following
things are happening:

1. stdout.log records XXX Assert failed, buff too small after which
ajp13Packet.class exceptions with AIOOBE.
2. isapi_redirect gets a ReadClient failed, followed shortly by
ServerSupportFunction failed.
3. IIS sends a reset flag to the client.
4. Socket timeout as client acks the reset flag.

I am not able to determine the chain of events, ie: IIS reset/Client
reset-ReadClient fails-AIOOBE or AIOOBE-ReadClient fails-IIS
reset/Client reset.
We are using the O'Reilly multipart upload servlet, and it has been upgraded
to the latest version.  The same thing happens when testing with other JSP
based solutions (such as JSPSmartUpload) but not with ASP-based uploads.

The next series of questions is this:
1. I noticed that 4.0.3 includes a significantly changed ajp connector.  Had
anyone been using is successfully or know if the changes address this issue?
2. Any ideas on how to more closely 

RE: Session Tacking across hostnames?

2002-04-15 Thread Pekník Jan

I think this would help :

when you switch from HTTP to HTTPS, add JSESSIONID to that url by calling
response.encodeURL(url)

-Jan 

-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 6:49 AM
To: Tomcat-User
Subject: Session Tacking across hostnames?


Hello:

I am using Apache 1.3 and Tomcat 4.0.3.

For an application we are building, we are using a shared SSL certificate
so the hostname has to be different for http and https.  For example,
public pages are loaded from http://www.futurescope.com/fscope/myPage.jsp
and private pages are loaded from
http://www.JAMMConsulting.com/fscope/privatePage.jsp

Unforutnately, when we switch from http to https or vice versa, we lose
track of the session.  Is there a way to keep the session is this
instance?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases





---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.346 / Virová báze: 194 - datum vydání: 10.4. 2002
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: How do I unsubscribe to this list???

2002-04-15 Thread Javier

On 15/04/2002 at 13:34 Valdimar Óskarsson wrote:

It does not work, have been trying that for days :(


No, man you did something wrong.

I've unsubscribed my yahoo mail address on last friday without problems ! (and 
re-subscribed the present address).

Remember to send your mail from the address you want to unsubscribe, then you'll 
receive a confirmation ask, reply to this confirmation et voila ! you'll be out of the 
list.

Hope this help you

jl






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.4 + WARP

2002-04-15 Thread Giovanni P. Tirloni

Hi,

 Is there anything wrong with my server.xml for virtual domains with
Apache? I've that domain and in httpd.conf I have this:

 VirtualHost 1.2.3.4
   ServerName mydomain.com
   ServerAlias www.mydomain.com
   DocumentRoot /home/mydomain.com
   WebAppConnection mydomain-conn warp localhost:8008
   WebAppDeploy mydomain-context mydomain-conn /context
 /VirtualHost

 server.xml:

Server port=8005 shutdown=SHUTDOWN debug=5

  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=30
 enableLookups=false appBase=webapps
 acceptCount=10 debug=0/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  Host name=mydomain.com
   Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 append=true /
Context path=/context docBase=/home/mydomain.com/context /
  /Host

  /Service

/Server

 I think there must be something wrong with Listener since I'm using
the warp connection and there's ajp.tomcat4 there. Would this cause
a Connection duplicated error when starting Apache ?

 --
 Giovanni P. Tirloni


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp and *.shtml not working

2002-04-15 Thread Duane Gran

Joseph,

I read with interest your message below.  I'm migrating from Tomcat 
3.2.x to 4.0.3 and the behavior of Warp is a bit confusing to me.  You 
said that you are 95% done with a document describing how to integrate 
Apache and Tomcat.  Do you mind if I see this?  I would be happy to 
offer feedback and help with the document if you are interested.

Duane

ps - I tried to email directly to your hotmail account but it reports 
that the quota is exceeded.

On Thursday, April 11, 2002, at 01:40 PM, Joseph Molnar wrote:

 I haven't tried this, but I think it may work. I have a document I will 
 be
 releasing today that explains some of this:

 a) Apache 'ignores' all Directory directives when a WebAppDeploy 
 statement
 takes over the root.
 b) Apache doesn't ignore Location directives.
 c) SetHandler's in the Location directives work fine.

 My suggestion is to put a Location (or Location Match) directive on on 
 the
 root. Then put a Files directive (if you only want to match files) to 
 match
 .shtml files.

 THEN do a SetHandler to 'server-parsed'.

 What I am not 100% sure of at this point, since I haven't had an 
 opportunity
 to try, is what actual directory location it will attempt to find the 
 files
 at. Naturally I would presume it would be based off of the 
 DocumentRoot, but
 again, I am not 100% sure.

 Let me know if that works, and when I have a moment I will attempt to 
 try
 since it will be helpful for the document I wrote up explaining how to
 install Tomcat on Apache via WARP (it is 95% done at this point).


 
 Joseph Molnar
 http://www.codesta.com/



 - Original Message -
 From: Catalin Mihailescu [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, April 11, 2002 10:28 AM
 Subject: mod_webapp and *.shtml not working


 Hello,

 I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and a site
 site-name
 that use SSI.
 I cannot make them to work together (Apache to serve *.shtml and Tomcat
 serve
 JUST *.jsp).

 Can you please tell me what I'm doing wrong and what else should I do 
 to
 make
 it work?


 My server.xml looks like:

 __
 ---
 Server port=8005 shutdown=SHUTDOWN debug=0

 !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache

 Connector
 className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=10
  enableLookups=false appBase=webapps
  acceptCount=5 debug=0/

 Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=testing debug=0
 /Engine

   /Service

 /Server
 _


 My httpd.conf looks like:

 _
 ---
 LoadModule webapp_module  libexec/mod_webapp.so
 AddModule mod_webapp.c
 ---
 DirectoryIndex index.shtml index.html index.htm index.php index.php4
 index.jsp

 ---
 AddIcon /icons/layout.gif .html .shtml .htm .pdf
 ---
 AddType text/html .shtml
 AddHandler server-parsed .shtml
 ---
 WebAppConnection warpConnection warp localhost:8008
 WebAppInfo /webapp-info
 ---
 VirtualHost 192.168.2.15:80
 DocumentRoot /web/site-name/htdocs
 ServerName 192.168.2.15
 LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-agent}i\
 TransferLog /web/site-name/logs/access.log
 ErrorLog /web/site-name/logs/error.log
 WebAppDeploy biocapital-java warpConnection /
 /VirtualHost
 

 mod_include, mod_mime, mod_cgi are also included and enabled for Apache

 I also have:
 $CATALINA_HOME/webapps/site-name - /web/site-name/htdocs

 The result is that Apache is complaining that /index.shtml was not 
 found,
 but
 all my *.jsp files are properly handled by Tomcat.
 If I change
 WebAppDeploy biocapital-java warpConnection / to look like
 WebAppDeploy biocapital-java warpConnection /something
 Apache is not complaining, but I'll be no longer capable to read my 
 *.jsp
 files.

 Also, if instead *.shtml I use html (other site) in the same setup,
 everything
 goes just fine.

 Can you help, please?

 Catalin







 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




NullPointer from request.getRemoteHost()

2002-04-15 Thread Zsolt Koppany

Hi,

I try to install tomcat with apache over APJ13 and it seems to work. But when 
I try to figure out the name of the remote host (request.getRemoteHost()),I 
get a null pointer. I changed (tried) to set nslookup in apache but it didn't 
help (or I didn't make it correct). I don't really need the host name it 
would be OK if request.getRemoteHost() returned the IP address but the 
applications calls request.getRemoteHost() often, thus I wouln'd like to 
change the source code.

Zsolt



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.4 + WARP

2002-04-15 Thread rsequeira


First, the Host element should be nested inside the Engine element. As for
the Connection duplicated error, do you have another WebAppConnection
statement with the same connection name in the httpd.conf?

RS





Giovanni P. Tirloni [EMAIL PROTECTED] on 04/15/2002 09:28:42 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Tomcat 4.0.4 + WARP

Hi,

 Is there anything wrong with my server.xml for virtual domains with
Apache? I've that domain and in httpd.conf I have this:

 VirtualHost 1.2.3.4
   ServerName mydomain.com
   ServerAlias www.mydomain.com
   DocumentRoot /home/mydomain.com
   WebAppConnection mydomain-conn warp localhost:8008
   WebAppDeploy mydomain-context mydomain-conn /context
 /VirtualHost

 server.xml:

Server port=8005 shutdown=SHUTDOWN debug=5

  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=30
 enableLookups=false appBase=webapps
 acceptCount=10 debug=0/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  Host name=mydomain.com
   Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 append=true /
Context path=/context docBase=/home/mydomain.com/context /
  /Host

  /Service

/Server

 I think there must be something wrong with Listener since I'm using
the warp connection and there's ajp.tomcat4 there. Would this cause
a Connection duplicated error when starting Apache ?

 --
 Giovanni P. Tirloni


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: keystore not found in tomcat-3.3.1-dev

2002-04-15 Thread Larry Isaacs

Try:

keystore=/usr/cert/.keystore

and see if that works.  Its hard to tell from the error output
if this is the only problem.  Hopefully, it is.

Cheers,
Larry

 -Original Message-
 From: IS400 ABB [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, April 15, 2002 9:47 AM
 To: [EMAIL PROTECTED]
 Subject: keystore not found in tomcat-3.3.1-dev
 
 
 I'm running Tomcat-jakarta-3.3.1-dev with SSL.
 Problem: How to get SSL working when I specify the keystore path in 
 server.xml?
 
 I have created a keystore file (.keystore) with the following command:
 keytool -genkey -alias tomcat -keyalg RSA -keystore 
 /usr/cert/.keystore
 
 In server.xml i then setup the following connector:
 Http10Connector  port=443
 secure=true
 keystore=/usr/cert
 keypass=changeit
 clientAuth=false
 maxThreads=100
 maxSpareThreads=50
 minSpareThreads=10 /
 
 The error of starting Tomcat can be seen below!
 It works fine when I create a .keystore file in the root 
 directory (current 
 user home dir)!
 
 Output from starting Tomcat:
 Using classpath: 
 /usr/local/jakarta-tomcat-3.3.1-dev/bin/../lib/tomcat.jar
 Using JAVA_HOME: /usr/opt/java131
 Using TOMCAT_HOME: /usr/local/jakarta-tomcat-3.3.1-dev
 ragge# 2002-04-15 12:37:59 - ServerXmlReader: 
 Config=$TOMCAT_HOME/conf/server.xml
 2002-04-15 12:37:59 - PathSetter: 
 home=/usr/local/jakarta-tomcat-3.3.1-dev
 2002-04-15 12:38:00 - ContextXmlReader: Context 
 config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml
 2002-04-15 12:38:00 - ContextXmlReader: Context 
 config=$TOMCAT_HOME/conf/apps-admin.xml
 2002-04-15 12:38:00 - ContextXmlReader: Context 
 config=$TOMCAT_HOME/conf/apps-examples.xml
 2002-04-15 12:38:00 - ContextXmlReader: Context 
 config=$TOMCAT_HOME/conf/apps-is400.xml
 2002-04-15 12:38:00 - AutoWebApp: Loaded from config: DEFAULT:/admin
 2002-04-15 12:38:00 - AutoWebApp: Auto-Adding DEFAULT:/
 2002-04-15 12:38:00 - AutoWebApp: Loaded from config: 
 DEFAULT:/examples
 2002-04-15 12:38:00 - ContextManager: Tomcat configured and 
 in stable state
 2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/admin
 2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/examples
 2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/admin
 2002-04-15 12:38:01 - ContextManager: Adding  DEFAULT:/ROOT
 EmbededTomcat: Init time 8591
 2002-04-15 12:38:03 - Http10Interceptor: Starting on 80
 Guessed home=/usr/local/jakarta-tomcat-3.3.1-dev
 java.lang.reflect.InvocationTargetException: 
 org.apache.tomcat.core.TomcatException: Root cause -
 //.keystore (No such file or directory)
 at 
 org.apache.tomcat.modules.server.PoolTcpConnector.engineStart (pc 
 102)
 at org.apache.tomcat.core.ContextManager.start
(pc 37)
 at org.apache.tomcat.startup.EmbededTomcat.start  
(pc 29)
 at org.apache.tomcat.startup.EmbededTomcat.execute1   
(pc 72)
 at org.apache.tomcat.startup.EmbededTomcat$1.run  
(pc 4)
 at 
 org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run 
 (pc 4)
 at 
 java.security.AccessController.doPrivileged(java.security.Priv
 ilegedExceptionAction,jav
 a.security.AccessControlContext) (AccessController.java)
 at 
 org.apache.tomcat.util.compat.Jdk12Support.doPrivileged (pc 52)
 at org.apache.tomcat.startup.EmbededTomcat.execute
(pc 20)
 at java.lang.reflect.Method.invoke (Method.java)
 at org.apache.tomcat.util.IntrospectionUtils.execute  
(pc 58)
 at org.apache.tomcat.startup.Main.execute 
(pc 138)
 at org.apache.tomcat.startup.Main.main
(pc 14)
 
 
 Thank you in advance for any comments!
 /Per
 
 
 _
 Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se/intl.asp
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Session Tacking across hostnames?

2002-04-15 Thread Neil Aggarwal

Jan:

I am using repsonse.encodeURL, but it does not add the session id
when the hostname is different.

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


 -Original Message-
 From: Pekník Jan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 8:53 AM
 To: 'Tomcat Users List'
 Subject: RE: Session Tacking across hostnames?


 I think this would help :

 when you switch from HTTP to HTTPS, add JSESSIONID to that url by calling
 response.encodeURL(url)

   -Jan

 -Original Message-
 From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 14, 2002 6:49 AM
 To: Tomcat-User
 Subject: Session Tacking across hostnames?


 Hello:

 I am using Apache 1.3 and Tomcat 4.0.3.

 For an application we are building, we are using a shared SSL certificate
 so the hostname has to be different for http and https.  For example,
 public pages are loaded from http://www.futurescope.com/fscope/myPage.jsp
 and private pages are loaded from
 http://www.JAMMConsulting.com/fscope/privatePage.jsp

 Unforutnately, when we switch from http to https or vice versa, we lose
 track of the session.  Is there a way to keep the session is this
 instance?

 Thanks,
   Neil.

 --
 Neil Aggarwal
 JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
 Custom Internet DevelopmentWebsites, Ecommerce, Java, databases





 ---
 Odchozí zpráva neobsahuje viry.
 Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
 Verze: 6.0.346 / Virová báze: 194 - datum vydání: 10.4. 2002


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




A question about Tomcat giving up on pages and locked resources

2002-04-15 Thread Duarte Nuno Loreto

Hello!

I read once that if the browser requesting a page is closed, Tomcat would
throw an exception and stop processing the requested page.

We have pages where we get Database connections from a connection pool.
After processing, on the end of the JSP page, we return the connection to
the pool. We have been noticing that sometimes connections remaine as being
used forever.

Now... If it is really true that tomcat throws exception when page requester
closes socket, this explains the lost resources. Is there a way for me to
tell Tomcat NOT to stop processing so that the connection is returned to the
pool?

Another scenario... If I have Apache receiving the browser requests and
forwarding jsp processing to Tomcat (using Ajp12), if the browser closes,
does Apache forward the quit notice to Tomcat and it also throws
exception?

If I can't tell to Tomcat not to throw exception, can I tell Apache not to
signal Tomcat about browser closure?

Thanks for your time!

Duarte HappyGuy Loreto

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




using a servlet as welcome-file

2002-04-15 Thread Peter Romianowski

Hi there,

I am using tomcat4 and want to setup a servlet as
welcome file. How can I do this? Using / as 
servlet-mapping would not work (IMHO:). If I then
try to access http://myhost/something.html then my
servlet would be invoked with something.html as
PathInfo, right?

Please help! Thanks.

Peter


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




HELP!!! AUTHENTICATION PROBLEM - Apache1.3 + Tomcat4.0

2002-04-15 Thread Skladov, Victor

Hello to all!

I kindly please all to help me in solving the following problem. I
suppose this problem is not new, but I haven't found the answer to it in
mail archives up to now.

I have Apache1.3 and Tomcat4.0.1 on my Linux machine. All users are
being autentificated
through htpasswd programm. But in my Servlets(Tomcat4) 
the method getRemoteUser() returns NULL, although
getRemoteHost() works fine.

I am, for example,  an user otto, starting my Start-Site with
Apache,log
in and get an access to all my .html files. 
What should I do to get the user name otto in my Servlets?

Does anybody know the solution for this problem or could at least point
me in the right direction?

Would be grateful for any help,

Regards,
Viktor


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




FileLogger - how to get reference?

2002-04-15 Thread rob

I would like to use the FileLogger to report errors from my application. 
  I've setup the FileLogger attributes under my Context in the 
server.xml but how do I get a reference to the logger from within the 
application
in order to call log()?

Thanks

Rob


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: FileLogger - how to get reference?

2002-04-15 Thread Reynir Hübner

I recomend that you reconsider your plan and use log4j loging. 

http://jakarta.apache.org/log4j

hope it helps
-reynir


-Original Message-
From: rob [mailto:[EMAIL PROTECTED]]
Sent: 15. apríl 2002 14:51
To: [EMAIL PROTECTED]
Subject: FileLogger - how to get reference?


I would like to use the FileLogger to report errors from my application.

  I've setup the FileLogger attributes under my Context in the 
server.xml but how do I get a reference to the logger from within the 
application
in order to call log()?

Thanks

Rob


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0.3 setup

2002-04-15 Thread rsequeira


Shouldn't the mod_webapp.so be placed in the libexec directory for linux?
According to the docs, the modules directory is used if you are running
Apache/Tomcat on Windows.
Also with regards to your problem, do you have the ServerName defined for
your Main server configuration. Since you aren't defining any Virtual Host
block, the WebAppDeploy defaults to the main server.

RS





Diego, Emil [EMAIL PROTECTED] on 04/15/2002 08:32:57 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:

Subject:  Tomcat 4.0.3 setup

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file.

I don't understand why I am getting that error.  Any suggestions would be a
help.
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Session Tacking across hostnames?

2002-04-15 Thread David Cassidy

How about this ...

don't use encodeIURL just emulate it ...

ie do the ;jsessionid= sessionID
yourself .

David


Neil Aggarwal wrote:

Jan:

I am using repsonse.encodeURL, but it does not add the session id
when the hostname is different.

Thanks,
   Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


-Original Message-
From: Pekník Jan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 8:53 AM
To: 'Tomcat Users List'
Subject: RE: Session Tacking across hostnames?


I think this would help :

when you switch from HTTP to HTTPS, add JSESSIONID to that url by calling
response.encodeURL(url)

  -Jan

-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 6:49 AM
To: Tomcat-User
Subject: Session Tacking across hostnames?


Hello:

I am using Apache 1.3 and Tomcat 4.0.3.

For an application we are building, we are using a shared SSL certificate
so the hostname has to be different for http and https.  For example,
public pages are loaded from http://www.futurescope.com/fscope/myPage.jsp
and private pages are loaded from
http://www.JAMMConsulting.com/fscope/privatePage.jsp

Unforutnately, when we switch from http to https or vice versa, we lose
track of the session.  Is there a way to keep the session is this
instance?

Thanks,
  Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases





---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.346 / Virová báze: 194 - datum vydání: 10.4. 2002


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Session Tacking across hostnames?

2002-04-15 Thread Neil Aggarwal

David:

I tried that too.  It did not work.  I still get a new session.

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


 -Original Message-
 From: David Cassidy [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 10:10 AM
 To: Tomcat Users List
 Subject: Re: Session Tacking across hostnames?


 How about this ...

 don't use encodeIURL just emulate it ...

 ie do the ;jsessionid= sessionID
 yourself .

 David


 Neil Aggarwal wrote:

 Jan:
 
 I am using repsonse.encodeURL, but it does not add the session id
 when the hostname is different.
 
 Thanks,
  Neil.
 
 --
 Neil Aggarwal
 JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
 Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
 
 
 -Original Message-
 From: Pekník Jan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 8:53 AM
 To: 'Tomcat Users List'
 Subject: RE: Session Tacking across hostnames?
 
 
 I think this would help :
 
 when you switch from HTTP to HTTPS, add JSESSIONID to that url
 by calling
 response.encodeURL(url)
 
 -Jan
 
 -Original Message-
 From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 14, 2002 6:49 AM
 To: Tomcat-User
 Subject: Session Tacking across hostnames?
 
 
 Hello:
 
 I am using Apache 1.3 and Tomcat 4.0.3.
 
 For an application we are building, we are using a shared SSL
 certificate
 so the hostname has to be different for http and https.  For example,
 public pages are loaded from
 http://www.futurescope.com/fscope/myPage.jsp
 and private pages are loaded from
 http://www.JAMMConsulting.com/fscope/privatePage.jsp
 
 Unforutnately, when we switch from http to https or vice versa, we lose
 track of the session.  Is there a way to keep the session is this
 instance?
 
 Thanks,
 Neil.
 
 --
 Neil Aggarwal
 JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
 Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
 
 
 
 
 
 ---
 Odchozí zpráva neobsahuje viry.
 Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
 Verze: 6.0.346 / Virová báze: 194 - datum vydání: 10.4. 2002
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




WebApp: Error 404

2002-04-15 Thread Diego, Emil

Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205) 



Web-application not yet deployed 



Your Request: 
Server Host: web_coor1 
Server Address: 129.171.56.18 
Server Port: 80 
Client Host: 129.171.56.71 
Client Address: 129.171.56.71 
Client Port: 1823 
Request Method: GET 
Request URI: /examples/ 
Request Arguments: (null) 
Request Protocol: HTTP/1.1 
Request Scheme: http 
Request User: (null) 
Request Authentication Mech.: (null) 
Request Content-Length: 0 
Your Headers: 
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */* 
Accept-Encoding: gzip, deflate 
Accept-Language: en-us 
Connection: Keep-Alive 
Host: web_coor1 
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) 



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil

The only modules directory I found was in /etc/httpd/modules.  That's where
all the .so files where.  

As far as the server name.  It is defined.  It seems though that I had to
move the entries after the ServerName setting.  So i put them at the boittom
of the file and that seemed to work.  I am gettign another error though.
WebApp: Error 404.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:01 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.0.3 setup



Shouldn't the mod_webapp.so be placed in the libexec directory for linux?
According to the docs, the modules directory is used if you are running
Apache/Tomcat on Windows.
Also with regards to your problem, do you have the ServerName defined for
your Main server configuration. Since you aren't defining any Virtual Host
block, the WebAppDeploy defaults to the main server.

RS





Diego, Emil [EMAIL PROTECTED] on 04/15/2002 08:32:57 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:

Subject:  Tomcat 4.0.3 setup

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file.

I don't understand why I am getting that error.  Any suggestions would be a
help.
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Session Tacking across hostnames?

2002-04-15 Thread Syski, Leszek



-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 1:09 AM
To: Tomcat Users List; Aditya
Subject: RE: Session Tacking across hostnames?


Adi:

I tried this, but the problem is that the session id is not encoded
into URLs that are not on the same hostname.

Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


 -Original Message-
 From: Aditya [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, April 13, 2002 11:46 PM
 To: Tomcat Users List
 Subject: Re: Session Tacking across hostnames?


 Hi Neil,

 cookies are bound to the server name, so you can't use cookies
 (the default
 method with Tomcat) to track sessions. If you are not doing
 form-based realm
 authentication, you can use URL rewriting to track the session by setting:

 cookies=false

 for the contexts you are serving (you could also do it for the default
 context).

 I think this is what you are asking.

 Thanks,
 Adi

 On Sat, Apr 13, 2002 at 11:48:40PM -0500, Neil Aggarwal wrote:
  Hello:
 
  I am using Apache 1.3 and Tomcat 4.0.3.
 
  For an application we are building, we are using a shared SSL
 certificate
  so the hostname has to be different for http and https.  For example,
  public pages are loaded from
http://www.futurescope.com/fscope/myPage.jsp
 and private pages are loaded from
 http://www.JAMMConsulting.com/fscope/privatePage.jsp

 Unforutnately, when we switch from http to https or vice versa, we lose
 track of the session.  Is there a way to keep the session is this
 instance?

 Thanks,
   Neil.

 --
 Neil Aggarwal
 JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
 Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Session Tacking across hostnames?

2002-04-15 Thread David Cassidy

both of these two urls do actually speak to the same tomcat don't they ?

Does TC get passed the headers of what server actually brought the request
to it ?

ajp12 vs 13 ?

Have you tried virtual hosts in TC ?

David...

Neil Aggarwal wrote:

David:

I tried that too.  It did not work.  I still get a new session.

Thanks,
   Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


-Original Message-
From: David Cassidy [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 10:10 AM
To: Tomcat Users List
Subject: Re: Session Tacking across hostnames?


How about this ...

don't use encodeIURL just emulate it ...

ie do the ;jsessionid= sessionID
yourself .

David


Neil Aggarwal wrote:

Jan:

I am using repsonse.encodeURL, but it does not add the session id
when the hostname is different.

Thanks,
 Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


-Original Message-
From: Pekník Jan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 8:53 AM
To: 'Tomcat Users List'
Subject: RE: Session Tacking across hostnames?


I think this would help :

when you switch from HTTP to HTTPS, add JSESSIONID to that url

by calling

response.encodeURL(url)

-Jan

-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 6:49 AM
To: Tomcat-User
Subject: Session Tacking across hostnames?


Hello:

I am using Apache 1.3 and Tomcat 4.0.3.

For an application we are building, we are using a shared SSL

certificate

so the hostname has to be different for http and https.  For example,
public pages are loaded from

http://www.futurescope.com/fscope/myPage.jsp

and private pages are loaded from
http://www.JAMMConsulting.com/fscope/privatePage.jsp

Unforutnately, when we switch from http to https or vice versa, we lose
track of the session.  Is there a way to keep the session is this
instance?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases





---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.346 / Virová báze: 194 - datum vydání: 10.4. 2002


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: WebApp: Error 404

2002-04-15 Thread rsequeira


Did you start Tomcat after you started Apache? Wait a few secs after Tomcat
comes up and start Apache

RS





Diego, Emil [EMAIL PROTECTED] on 04/15/2002 10:35:34 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:

Subject:  WebApp: Error 404

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)




Web-application not yet deployed




Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)




Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Rich

Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Character encoding problem: strange rash

2002-04-15 Thread John Wadkin

All,

Tomcat 4.0.1
Apache 1.3
WARP
Solaris 8
JDK 1.2/1.3

Does anyone know why a servlet would suddenly start displaying non-breaking
spaces (#160;) as question marks (?) when the JDK/SDK is upgraded from 1.2
to 1.3? Very odd behaviour! Like a rash - question marks all over the place
:)
The servlet was written for a version of the Servlet API 2.3, so it doesn't
set the character encoding. BUT I don't see how this would have any bearing
on the problem, since the JDK has nothing to do with the Servlet API?

Thanks,

John

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Diego, Emil

yes.  First i started tomcat, then restarted apache.

-Original Message-
From: Rich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:48 AM
To: Tomcat Users List
Subject: RE: WebApp: Error 404


Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Rich

Hmmm...

When I had this problem not to long ago, I was doing two things wrong:

1) Wasn't starting apache after tomcat
2) Failing to include the document root of the webapp in the virtual host
(of apache) where the WebApp deploy commands are. I'm still not sure why
apache needs to know this information, but excluding it gave me similar
errors as you are experiencing.

-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: WebApp: Error 404


yes.  First i started tomcat, then restarted apache.

-Original Message-
From: Rich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:48 AM
To: Tomcat Users List
Subject: RE: WebApp: Error 404


Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




PLEASE HELP ME: JNDI ERROR

2002-04-15 Thread Laura

Hi all,

I have found a very strange error: I have configured a indi connection (with 
Oracle) and all was ok. 
Now I have to change db: so I have changed server.xml (the part regarding 
JNDI connection).
I have restarted Tomcat (4.0.2) and it gives me an error, a very strange 
error:

[ERRORE] Error= java.sql.SQLException: Eccezione IO: The Network Adapter 
could not establish the connection 
Exception IO: The Network Adapter could not establish the connection


I don't know why?
I have only changed the db parameter (user,pass, url).

Please help me!!!

Thanks


Laura

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura

Other information because I don't know what to do.

The exception is created when I call my function getConnection(). The code is 
when I execute con =  ds.getConnection();. 

The code is:

static {
try  {
Context initCtx = new InitialContext();
System.out.println([DEBUG] Dopo l'InitialContext =  + 
initCtx.toString());
Context envCtx = (Context) initCtx.lookup(java:comp/env);
System.out.println([DEBUG] Dopo lookup java:comp/env =  + 
envCtx.toString());
DataSource ds = (DataSource) envCtx.lookup(dbName);
System.out.println([DEBUG] Datasource =  + ds.toString());
con =  ds.getConnection();
if (con == null)
  System.out.println([ERROR] Connessione nulla);
  } catch (Exception ex) {
System.out.println([ERROR] Errore =   + ex.toString() +  \n + 
ex.getMessage());
con = null;
  }
  }


protected synchronized Connection getConnection() {
 while (conFree == false) {
try {
   wait();
} catch (InterruptedException e) {
  System.out.println([ERROR] Eccezione nella getConnection() =  
+ e.toString());
}
 }
 conFree = false;
 System.out.println([DEBUG] Punto 1);
 notify();
 System.out.println([DEBUG] Punto 2);
 return con;
}



Please help me.
Before this code was ok. Has someone some idea?

Help.


Laura


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




A Mature Response -- Good Show Matt Gregory

2002-04-15 Thread Micael Padraig Og mac Grene


Thanks.

At 08:29 AM 4/15/02 -0400, you wrote:
RTFM Read the Fine Manual according to Zope, but many others like to
substitute fine with some other metaphore.
LOL Laugh out loud
ROFL Rolling on floor laughing
ROFLMAO Rolling on floor laughing my arse off
WTF What the fsck Use your imagination.
IANAL I am not a llama If you don't know, you probably won't use it.  :-)
Some people also think for some reason this means, I am not a layer, but
WTF do they know?
Need to know more?  Netlingo (http://www.netlingo.com) actually has a decent
list of terms.

Now we can end the thread right?

- Original Message -
From: David Rault [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 7:29 AM
Subject: Re: What does IMHO mean?


  i guess a good answer would look like STFW
 
  (and so that no one replies to ask what it means : Search The Fucking Web)
 
  google: afaik
  1st answer: as fas as i know
 
  David
  - Original Message -
  From: Philip M. Meier [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, April 15, 2002 1:27 PM
  Subject: Re: What does IMHO mean?
 
 
   Hi!
  
   What means afaik?
  
   Regards,
   Philip M. Meier
  
   
   Philip M. Meier [EMAIL PROTECTED]
   AmambaSoft http://www.amambasoft.com
  
  
   Diese E-Mail Nachricht und alle beigefügten Anlagen sind nur für die
   Adresse bestimmt, an die sie geschickt wurde und kann vertrauliche und
   privilegierte Informationen enthalten. Wenn der Leser dieser Meldung
  nicht
   der beabsichtigte Empfänger ist, ist jegliche Weitergabe der enthaltenen
   Informationen streng verboten. Wenn Sie diese Meldung irrtümlicherweise
   empfangen haben, benachrichtigen Sie uns bitte sofort und löschen Sie
die
   Meldungvon Ihrem System.
  
   - Original Message -
   From: Abhishek Pamecha [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Sent: Monday, April 15, 2002 1:21 PM
   Subject: RE: What does IMHO mean?
  
  
or is it in my humble opinion... ??
   
-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 4:49 PM
To: Tomcat Users List
Subject: RE: What does IMHO mean?
   
   
IMHO = In My Honest Opinion
   
   
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 April 2002 12:17
To: 'Tomcat Users List'
Subject: RE: What does IMHO mean?
   
   
-Original Message-
From: Darrin [mailto:[EMAIL PROTECTED]]
   
 LMAO (laughing my ass off) is what you probably are talking about (a
lot of
 fonts its hard to distinguish between 1 (one) l (lowercase L), and i
 (lowercase I)
   
Possibly, but imao is also a common acronym...
   
  http://www.diveinstruct.org.uk/terms.html
   
Not that any of this has _anything_ to do with TC, imao  ;-)
   
- tex
   
   
--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
   
   
   
--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
   
   
--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
  
 
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Ralph Einfeldt

You said that you changed user, password, and url.

I would suspect, that you mistyped either the name
of the server or the port or that your new database
is using different parameters than your old one.

 -Ursprüngliche Nachricht-
 Von: Laura [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 15. April 2002 18:26
 An: Tomcat Users List
 Betreff: PLEASE HELP ME: JNDI ERROR 1
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura

But I have controlled all.

If I try to connect with sql plus, I connect to the db.

Any suggestions?


Laura



Alle 18:30, lunedì 15 aprile 2002, hai scritto:
 You said that you changed user, password, and url.

 I would suspect, that you mistyped either the name
 of the server or the port or that your new database
 is using different parameters than your old one.

  -Ursprüngliche Nachricht-
  Von: Laura [mailto:[EMAIL PROTECTED]]
  Gesendet: Montag, 15. April 2002 18:26
  An: Tomcat Users List
  Betreff: PLEASE HELP ME: JNDI ERROR 1

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread peter lin


look in the tnslistener network log to see if tomcat is getting to the
machine correctly. If not, it's most likely a typo someplace. If it is,
the log will give you more data to debug the problem.

peter lin


Laura wrote:
 
 But I have controlled all.
 
 If I try to connect with sql plus, I connect to the db.
 
 Any suggestions?
 
 Laura
 
 Alle 18:30, lunedì 15 aprile 2002, hai scritto:
  You said that you changed user, password, and url.
 
  I would suspect, that you mistyped either the name
  of the server or the port or that your new database
  is using different parameters than your old one.
 
   -Ursprüngliche Nachricht-
   Von: Laura [mailto:[EMAIL PROTECTED]]
   Gesendet: Montag, 15. April 2002 18:26
   An: Tomcat Users List
   Betreff: PLEASE HELP ME: JNDI ERROR 1
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura

Where is nslistener network log ?
This log file is on the server (where oracle is installed) or on the client?
Can you explain me where it is and what I should have to find?

Laura





Alle 18:48, lunedì 15 aprile 2002, peter lin ha scritto:
 look in the tnslistener network log to see if tomcat is getting to the
 machine correctly. If not, it's most likely a typo someplace. If it is,
 the log will give you more data to debug the problem.

 peter lin

 Laura wrote:
  But I have controlled all.
 
  If I try to connect with sql plus, I connect to the db.
 
  Any suggestions?
 
  Laura
 
  Alle 18:30, lunedì 15 aprile 2002, hai scritto:
   You said that you changed user, password, and url.
  
   I would suspect, that you mistyped either the name
   of the server or the port or that your new database
   is using different parameters than your old one.
  
-Ursprüngliche Nachricht-
Von: Laura [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 15. April 2002 18:26
An: Tomcat Users List
Betreff: PLEASE HELP ME: JNDI ERROR 1
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread hemant

Put a break point in between and examine Context and its contents. Also
check the spelling/case of datasource lookup name. If you are creating the
Datasource yourself, check for any exceptions during its registration. If
the DS is on an application server, talk to your Server admin.

regards
hemant



- Original Message -
From: Laura [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 12:25 PM
Subject: PLEASE HELP ME: JNDI ERROR 1


 Other information because I don't know what to do.

 The exception is created when I call my function getConnection(). The code
is
 when I execute con =  ds.getConnection();.

 The code is:

 static {
 try  {
 Context initCtx = new InitialContext();
 System.out.println([DEBUG] Dopo l'InitialContext =  +
 initCtx.toString());
 Context envCtx = (Context) initCtx.lookup(java:comp/env);
 System.out.println([DEBUG] Dopo lookup java:comp/env =  +
 envCtx.toString());
 DataSource ds = (DataSource) envCtx.lookup(dbName);
 System.out.println([DEBUG] Datasource =  + ds.toString());
 con =  ds.getConnection();
 if (con == null)
   System.out.println([ERROR] Connessione nulla);
   } catch (Exception ex) {
 System.out.println([ERROR] Errore =   + ex.toString() +  \n +
 ex.getMessage());
 con = null;
   }
   }


 protected synchronized Connection getConnection() {
  while (conFree == false) {
 try {
wait();
 } catch (InterruptedException e) {
   System.out.println([ERROR] Eccezione nella getConnection()
= 
 + e.toString());
 }
  }
  conFree = false;
  System.out.println([DEBUG] Punto 1);
  notify();
  System.out.println([DEBUG] Punto 2);
  return con;
 }



 Please help me.
 Before this code was ok. Has someone some idea?

 Help.


 Laura


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Angel Municio

If the Oracle database that you are trying to connect to is a different version than 
the old one, check for updated Oracle jdbc drivers (classes12.zip). I have found that 
there are many releases of this file, and newer releases are not always backwards 
compatible. For instance, classes12.zip that work well with 8i do not work well with 
9i. 

angel

-Original Message-
From: peter lin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 12:48 PM
To: Tomcat Users List
Subject: Re: AW: PLEASE HELP ME: JNDI ERROR 1



look in the tnslistener network log to see if tomcat is getting to the
machine correctly. If not, it's most likely a typo someplace. If it is,
the log will give you more data to debug the problem.

peter lin


Laura wrote:
 
 But I have controlled all.
 
 If I try to connect with sql plus, I connect to the db.
 
 Any suggestions?
 
 Laura
 
 Alle 18:30, lunedì 15 aprile 2002, hai scritto:
  You said that you changed user, password, and url.
 
  I would suspect, that you mistyped either the name
  of the server or the port or that your new database
  is using different parameters than your old one.
 
   -Ursprüngliche Nachricht-
   Von: Laura [mailto:[EMAIL PROTECTED]]
   Gesendet: Montag, 15. April 2002 18:26
   An: Tomcat Users List
   Betreff: PLEASE HELP ME: JNDI ERROR 1
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura

I think that the context is ok bacause the  log file (catalina.out) tells me:

[DEBUG] InitialContext = javax.naming.InitialContext@46110f9b
[DEBUG] lookup java:comp/env = org.apache.naming.NamingContext@3700f9b
[DEBUG] Datasource = Resource reference to a factory for java.sql.Connection
instances that may be used for talking to a particular
database that is configured in the server.xml file.

So ds isn't empty: the exception is thrown when I call:

Connection con =  ds.getConnection();

The Datasource is Tomcat's Datasource ( I have followed jndi tutorial)


Laura





Alle 18:54, lunedì 15 aprile 2002, hai scritto:
 Put a break point in between and examine Context and its contents. Also
 check the spelling/case of datasource lookup name. If you are creating
 the Datasource yourself, check for any exceptions during its registration.
 If the DS is on an application server, talk to your Server admin.

 regards
 hemant



 - Original Message -
 From: Laura [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, April 15, 2002 12:25 PM
 Subject: PLEASE HELP ME: JNDI ERROR 1

  Other information because I don't know what to do.
 
  The exception is created when I call my function getConnection(). The
  code

 is

  when I execute con =  ds.getConnection();.
 
  The code is:
 
  static {
  try  {
  Context initCtx = new InitialContext();
  System.out.println([DEBUG] Dopo l'InitialContext =  +
  initCtx.toString());
  Context envCtx = (Context) initCtx.lookup(java:comp/env);
  System.out.println([DEBUG] Dopo lookup java:comp/env =  +
  envCtx.toString());
  DataSource ds = (DataSource) envCtx.lookup(dbName);
  System.out.println([DEBUG] Datasource =  + ds.toString());
  con =  ds.getConnection();
  if (con == null)
System.out.println([ERROR] Connessione nulla);
} catch (Exception ex) {
  System.out.println([ERROR] Errore =   + ex.toString() +  \n +
  ex.getMessage());
  con = null;
}
}
 
 
  protected synchronized Connection getConnection() {
   while (conFree == false) {
  try {
 wait();
  } catch (InterruptedException e) {
System.out.println([ERROR] Eccezione nella getConnection()

 = 

  + e.toString());
  }
   }
   conFree = false;
   System.out.println([DEBUG] Punto 1);
   notify();
   System.out.println([DEBUG] Punto 2);
   return con;
  }
 
 
 
  Please help me.
  Before this code was ok. Has someone some idea?
 
  Help.
 
 
  Laura
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Laura

I use classes12.jar (classes12.zip): well, the database my examples  was ok 
with, was 8i.
My new database I don't know what version is: if it was 9i which driver I 
should use?


Laura



Alle 19:00, lunedì 15 aprile 2002, hai scritto:
 If the Oracle database that you are trying to connect to is a different
 version than the old one, check for updated Oracle jdbc drivers
 (classes12.zip). I have found that there are many releases of this file,
 and newer releases are not always backwards compatible. For instance,
 classes12.zip that work well with 8i do not work well with 9i.

 angel

 -Original Message-
 From: peter lin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 12:48 PM
 To: Tomcat Users List
 Subject: Re: AW: PLEASE HELP ME: JNDI ERROR 1



 look in the tnslistener network log to see if tomcat is getting to the
 machine correctly. If not, it's most likely a typo someplace. If it is,
 the log will give you more data to debug the problem.

 peter lin

 Laura wrote:
  But I have controlled all.
 
  If I try to connect with sql plus, I connect to the db.
 
  Any suggestions?
 
  Laura
 
  Alle 18:30, lunedì 15 aprile 2002, hai scritto:
   You said that you changed user, password, and url.
  
   I would suspect, that you mistyped either the name
   of the server or the port or that your new database
   is using different parameters than your old one.
  
-Ursprüngliche Nachricht-
Von: Laura [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 15. April 2002 18:26
An: Tomcat Users List
Betreff: PLEASE HELP ME: JNDI ERROR 1
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: SSL redirects with mod_jk

2002-04-15 Thread Aditya

On Mon, Apr 15, 2002 at 09:26:40AM -0400, Rich wrote:
 I'm curious about a few things. Why did you choose mod_jk over mod_webapp?

- I needed to send everything Apache receives to Tomcat

- We auto-add contexts to appbase and I don't need to update the config and
restart apache each time that happens

 And when you enabled the SSL connector, did you also add jsse and basically
 configure tomcat as a standalone SSL enabled server?

yes, in order to get Tomcat running with the SSL connector, it had to have
jsse etc. -- for testing I'd already configured Tomcat with SSL standalone and
a self-signed cert, and so that was straightforward.

At this point it works but I had to make the non-intutive leap of adding the
SSL connector and thought others might benefit from knowing about it.

Thanks,
Adi

 -Original Message-
 From: Aditya [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 14, 2002 3:47 PM
 To: [EMAIL PROTECTED]
 Subject: SSL redirects with mod_jk
 
 
 I have apache 1.3+mod_ssl and mod_jk (ajp13) fronting a Tomcat 4.0.3
 server
 which has a servlet protected by:
 
   user-data-constraint
 transport-guaranteeCONFIDENTIAL/transport-guarantee
   /user-data-constraint
 
 I assume that for performance reasons that it would be best if I could run
 no
 connectors other than the AJP13 one.
 
 Ideally, calls to the above servlet as http should be redirected to the
 equivalent https page. To that end, I have, in my server.xml:
 
 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=30 maxProcessors=150
acceptCount=10 debug=0
enableLookups=false redirectPort=443
secure=false scheme=http
address=127.0.0.1
tomcatAuthentication=true/
 
 however the redirect won't work (Status 500 error) unless I put in an HTTPS
 connector as well in server.xml (note that it doesn't have to be accessible
 at
 all, hence the 127.0.0.1 and port 8443 is blocked off so it doesn't seem to
 play any part in the whole deal other than to signal to Tomcat that it can
 handle redirects to SSL):
 
 !-- Define an SSL HTTP/1.1 Connector on port 8443 --
 Connector className=org.apache.catalina.connector.http.HttpConnector
address=127.0.0.1 port=8443 minProcessors=5
 maxProcessors=75
enableLookups=false
acceptCount=10 debug=0 scheme=https secure=true
   Factory className=org.apache.catalina.net.SSLServerSocketFactory
clientAuth=false protocol=TLS
keystorePass=foo/
 /Connector
 
 (I tried putting in an additional ajp13 connector that mod_jk sent anything
 that showed up as SSL to, but that didn't work).
 
 Is this how it's supposed to work? If so, it should be documented
 somewhere...
 
 Thanks,
 Adi
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread peter lin


that's probably the cause. go to oracle's site and download the latest
driver



Laura wrote:
 
 I use classes12.jar (classes12.zip): well, the database my examples  was ok
 with, was 8i.
 My new database I don't know what version is: if it was 9i which driver I
 should use?
 
 Laura
 
 Alle 19:00, lunedì 15 aprile 2002, hai scritto:
  If the Oracle database that you are trying to connect to is a different
  version than the old one, check for updated Oracle jdbc drivers
  (classes12.zip). I have found that there are many releases of this file,
  and newer releases are not always backwards compatible. For instance,
  classes12.zip that work well with 8i do not work well with 9i.
 
  angel
 
  -Original Message-
  From: peter lin [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 15, 2002 12:48 PM
  To: Tomcat Users List
  Subject: Re: AW: PLEASE HELP ME: JNDI ERROR 1
 
 
 
  look in the tnslistener network log to see if tomcat is getting to the
  machine correctly. If not, it's most likely a typo someplace. If it is,
  the log will give you more data to debug the problem.
 
  peter lin
 
  Laura wrote:
   But I have controlled all.
  
   If I try to connect with sql plus, I connect to the db.
  
   Any suggestions?
  
   Laura
  
   Alle 18:30, lunedì 15 aprile 2002, hai scritto:
You said that you changed user, password, and url.
   
I would suspect, that you mistyped either the name
of the server or the port or that your new database
is using different parameters than your old one.
   
 -Ursprüngliche Nachricht-
 Von: Laura [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 15. April 2002 18:26
 An: Tomcat Users List
 Betreff: PLEASE HELP ME: JNDI ERROR 1
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread Angel Municio

I think the big problem is that Oracle didn't put much thought on the naming 
convention for its jdbc drivers, so basically all versions are classes12.zip. There 
are a very big library of releases and there is not (or at least I haven't found a 
central repository). You have to unzip/unjar the file and see what it contains. If you 
see things like ocijdbc9_g.dll, it will work with 9i.

I personally keep a directory structure where I put all releases of classes12.zip that 
I find, and with which versions, jdk, OS and connection type (thin/OCI) they work.

Ex: 
NT/8.1.7/Thin/classes12.zip 1887KB
NT/8.1.7.1/Thin/classes12.zip 1888KB
NT/9.0.1/Thin/classes12.zip 1081KB

There are sometimes patches with one or two classes, that you have to move to your all 
zip to make it work. Many times a jdbc may work with thin client but not with fat, or 
work in NT but not in Solaris. Personally I think Oracle has done a mess with this, 
the only solution is try until you find a good one. 

By the way, having the latest doesn't warranty it will work with your current setup. 
The are not backward compatible.

angel

-Original Message-
From: Laura [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 1:06 PM
To: Tomcat Users List
Subject: Re: AW: PLEASE HELP ME: JNDI ERROR 1


I use classes12.jar (classes12.zip): well, the database my examples  was ok 
with, was 8i.
My new database I don't know what version is: if it was 9i which driver I 
should use?


Laura



Alle 19:00, lunedì 15 aprile 2002, hai scritto:
 If the Oracle database that you are trying to connect to is a different
 version than the old one, check for updated Oracle jdbc drivers
 (classes12.zip). I have found that there are many releases of this file,
 and newer releases are not always backwards compatible. For instance,
 classes12.zip that work well with 8i do not work well with 9i.

 angel

 -Original Message-
 From: peter lin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 12:48 PM
 To: Tomcat Users List
 Subject: Re: AW: PLEASE HELP ME: JNDI ERROR 1



 look in the tnslistener network log to see if tomcat is getting to the
 machine correctly. If not, it's most likely a typo someplace. If it is,
 the log will give you more data to debug the problem.

 peter lin

 Laura wrote:
  But I have controlled all.
 
  If I try to connect with sql plus, I connect to the db.
 
  Any suggestions?
 
  Laura
 
  Alle 18:30, lunedì 15 aprile 2002, hai scritto:
   You said that you changed user, password, and url.
  
   I would suspect, that you mistyped either the name
   of the server or the port or that your new database
   is using different parameters than your old one.
  
-Ursprüngliche Nachricht-
Von: Laura [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 15. April 2002 18:26
An: Tomcat Users List
Betreff: PLEASE HELP ME: JNDI ERROR 1
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: SSL redirects with mod_jk

2002-04-15 Thread Rich

Adi,

You would prefer to have the SSL handshake to occur with Apache, right? So
I'm wondering, with Tomcat configured as a standalone SSL server are you
sure that apache is doing the handshake, and not Tomcat.


At this point it works but I had to make the non-intuitive leap of adding
the SSL connector and thought others might benefit from knowing about it.

-You can say that again. This might be the root of my SSL problem too,
although hard to tell since we are using different apache modules and I use
Tomcat's role based auth. I kludged a fix in code and am limited for time
so may not attempt the exercise of getting Tomcat's SSL working.

Rich
-Original Message-
From: Aditya [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: SSL redirects with mod_jk


On Mon, Apr 15, 2002 at 09:26:40AM -0400, Rich wrote:
 I'm curious about a few things. Why did you choose mod_jk over mod_webapp?

- I needed to send everything Apache receives to Tomcat

- We auto-add contexts to appbase and I don't need to update the config and
restart apache each time that happens

 And when you enabled the SSL connector, did you also add jsse and
basically
 configure tomcat as a standalone SSL enabled server?

yes, in order to get Tomcat running with the SSL connector, it had to have
jsse etc. -- for testing I'd already configured Tomcat with SSL standalone
and
a self-signed cert, and so that was straightforward.

At this point it works but I had to make the non-intutive leap of adding
the
SSL connector and thought others might benefit from knowing about it.

Thanks,
Adi

 -Original Message-
 From: Aditya [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, April 14, 2002 3:47 PM
 To: [EMAIL PROTECTED]
 Subject: SSL redirects with mod_jk


 I have apache 1.3+mod_ssl and mod_jk (ajp13) fronting a Tomcat 4.0.3
 server
 which has a servlet protected by:

   user-data-constraint
 transport-guaranteeCONFIDENTIAL/transport-guarantee
   /user-data-constraint

 I assume that for performance reasons that it would be best if I could run
 no
 connectors other than the AJP13 one.

 Ideally, calls to the above servlet as http should be redirected to the
 equivalent https page. To that end, I have, in my server.xml:

 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=30 maxProcessors=150
acceptCount=10 debug=0
enableLookups=false redirectPort=443
secure=false scheme=http
address=127.0.0.1
tomcatAuthentication=true/

 however the redirect won't work (Status 500 error) unless I put in an
HTTPS
 connector as well in server.xml (note that it doesn't have to be
accessible
 at
 all, hence the 127.0.0.1 and port 8443 is blocked off so it doesn't seem
to
 play any part in the whole deal other than to signal to Tomcat that it can
 handle redirects to SSL):

 !-- Define an SSL HTTP/1.1 Connector on port 8443 --
 Connector
className=org.apache.catalina.connector.http.HttpConnector
address=127.0.0.1 port=8443 minProcessors=5
 maxProcessors=75
enableLookups=false
acceptCount=10 debug=0 scheme=https secure=true
   Factory className=org.apache.catalina.net.SSLServerSocketFactory
clientAuth=false protocol=TLS
keystorePass=foo/
 /Connector

 (I tried putting in an additional ajp13 connector that mod_jk sent
anything
 that showed up as SSL to, but that didn't work).

 Is this how it's supposed to work? If so, it should be documented
 somewhere...

 Thanks,
 Adi

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




SRV 7.3 Session Scope violation

2002-04-15 Thread David S. Soleno

I just downloaded  and installed Tomcat 4.0.3 on Windows 2000 with JDK 
1.3.1.  After trying it out for a while I found that I was able to 
access HttpSessions across ServletContexts.

I navigate to webapp A, start an HttpSession and place some attributes 
in it,  then use ServletContext.getContext(/B) to obtain the 
ServletContext from webapp B.  I forward the request, using a 
RequestDispatcher, to a servlet in B where I am able to access the 
session attributes  placed by webapp A.  ( I set crossContext=true 
to enable this behavior)  According to section 7.3 of the  Servlet 2.3 
API and the J2EE API sharing sessions across ServletContexts is not 
permitted. 
Several months ago we tested our application with an earlier version of 
Tomcat, (3.2 I think) that worked as outlined in the Servlet API.  We 
used the results of that test and the J2EE specs to file a bug report 
with WebLogic's implementation.  BEA promptly fixed the problem.  Now it 
seems Tomcat 4 has this problem.

Can anyone confirm or deny our findings.

-- 
David S. Soleno
701 Palomar Airport Rd.
Suite 110
Carlsbad, CA 92009
Tel: 760 804 1333 x107
Fax: 760 804 1331
Eml: [EMAIL PROTECTED]
Web: www.nexprise.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: SSL redirects with mod_jk

2002-04-15 Thread Aditya

On Mon, Apr 15, 2002 at 01:39:33PM -0400, Rich wrote:
 You would prefer to have the SSL handshake to occur with Apache, right? So
 I'm wondering, with Tomcat configured as a standalone SSL server are you
 sure that apache is doing the handshake, and not Tomcat.

notice the address that I give the SSL connector - 127.0.0.1 -- and I've
verfied that it's only listening on 127.0.0.1:8443 so yes, I'm sure that
Tomcat is not doing the handshake (plus I verified which cert I'm getting).

 -You can say that again. This might be the root of my SSL problem too,
 although hard to tell since we are using different apache modules and I use
 Tomcat's role based auth. I kludged a fix in code and am limited for time
 so may not attempt the exercise of getting Tomcat's SSL working.

I'm also using JDBCRealm authentication on Tomcat and I have:

tomcatAuthentication=true

set in the AJP13 connector config stanza.

What would be ideal would be a programmatic way in a servlet to force
authentication rather than having to hard-code stuff via auth-constraint's in
web.xml.

Adi

 Rich
 -Original Message-
 From: Aditya [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 15, 2002 1:07 PM
 To: [EMAIL PROTECTED]
 Subject: Re: SSL redirects with mod_jk
 
 
 On Mon, Apr 15, 2002 at 09:26:40AM -0400, Rich wrote:
  I'm curious about a few things. Why did you choose mod_jk over mod_webapp?
 
 - I needed to send everything Apache receives to Tomcat
 
 - We auto-add contexts to appbase and I don't need to update the config and
 restart apache each time that happens
 
  And when you enabled the SSL connector, did you also add jsse and
 basically
  configure tomcat as a standalone SSL enabled server?
 
 yes, in order to get Tomcat running with the SSL connector, it had to have
 jsse etc. -- for testing I'd already configured Tomcat with SSL standalone
 and
 a self-signed cert, and so that was straightforward.
 
 At this point it works but I had to make the non-intutive leap of adding
 the
 SSL connector and thought others might benefit from knowing about it.
 
 Thanks,
 Adi
 
  -Original Message-
  From: Aditya [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, April 14, 2002 3:47 PM
  To: [EMAIL PROTECTED]
  Subject: SSL redirects with mod_jk
 
 
  I have apache 1.3+mod_ssl and mod_jk (ajp13) fronting a Tomcat 4.0.3
  server
  which has a servlet protected by:
 
user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
 
  I assume that for performance reasons that it would be best if I could run
  no
  connectors other than the AJP13 one.
 
  Ideally, calls to the above servlet as http should be redirected to the
  equivalent https page. To that end, I have, in my server.xml:
 
  !-- Define an AJP 1.3 Connector on port 8009 --
  Connector className=org.apache.ajp.tomcat4.Ajp13Connector
 port=8009 minProcessors=30 maxProcessors=150
 acceptCount=10 debug=0
 enableLookups=false redirectPort=443
 secure=false scheme=http
 address=127.0.0.1
 tomcatAuthentication=true/
 
  however the redirect won't work (Status 500 error) unless I put in an
 HTTPS
  connector as well in server.xml (note that it doesn't have to be
 accessible
  at
  all, hence the 127.0.0.1 and port 8443 is blocked off so it doesn't seem
 to
  play any part in the whole deal other than to signal to Tomcat that it can
  handle redirects to SSL):
 
  !-- Define an SSL HTTP/1.1 Connector on port 8443 --
  Connector
 className=org.apache.catalina.connector.http.HttpConnector
 address=127.0.0.1 port=8443 minProcessors=5
  maxProcessors=75
 enableLookups=false
 acceptCount=10 debug=0 scheme=https secure=true
Factory className=org.apache.catalina.net.SSLServerSocketFactory
 clientAuth=false protocol=TLS
 keystorePass=foo/
  /Connector
 
  (I tried putting in an additional ajp13 connector that mod_jk sent
 anything
  that showed up as SSL to, but that didn't work).
 
  Is this how it's supposed to work? If so, it should be documented
  somewhere...
 
  Thanks,
  Adi
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Tomcat Huang


 It's working now.  Thanks again.
Chiming
  Tomcat Huang [EMAIL PROTECTED] wrote: 
hi Jack, 
Thank you very much for the information. I will give it a try. Thanks again.
Chiming
Jack Li wrote: Did you follow the instruction at
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup the
server successfully two weeks ago based on that instruction. If you have
problem, call me at 734.957.8080 ext 340 by speaking Chinese.

Jack Li

-Original Message-
From: Tomcat Huang [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 14, 2002 1:50 PM
To: Tomcat Users List
Subject: Re: IIS 5.0 + TC 4.0.3



I think I got the jakarta virtual directory setup in the IIS. Please look
at the following log messages that I cut from the isapi.log and
localhost_access_log.2002-04-14.txt. It seems that the isapi_redirector.dll
redirects the wrong url to Tomcat.
Thank you for your help.
Chiming
isapi.log 
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (368)]: Attempting to map
URI '/localhost/examples/jsp/num/numguess.jsp'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /examples/jsp/num/numguess.jsp
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (368)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (416)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (617)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (639)]: HttpFilterProc check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (657)]: HttpFilterProc
started
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (705)]: In HttpFilterProc
Virtual Host redirection of /localhost/jakarta/isapi_redirector.dll
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (464)]: Attempting to map
URI '/localhost/jakarta/isapi_redirector.dll'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (711)]: In HttpFilterProc
test Default redirection of /jakarta/isapi_redirector.dll
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (464)]: Attempting to map
URI '/jakarta/isapi_redirector.dll'
[Sun Apr 14 13:37:57 2002] [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (775)]: HttpFilterProc
[/jakarta/isapi_redirector.dll] is not a servlet url
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (784)]: HttpFilterProc check
if [/jakarta/isapi_redirector.dll] is points to the web-inf directory
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (824)]: HttpExtensionProc
started
[Sun Apr 14 13:37:57 2002] [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Sun Apr 14 13:37:57 2002] [jk_worker.c (136)]: wc_get_worker_for_name,
done found a worker
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (860)]: HttpExtensionProc got
a worker for name ajp13
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (1352)]: Into
jk_worker_t::get_endpoint
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (1075)]: Into
jk_endpoint_t::service
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (280)]: Into
ajp_marshal_into_msgb
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (413)]: ajp_marshal_into_msgb -
Done
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (612)]: sending to ajp13 #317
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (853)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (698)]: received from ajp13 #17
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (461)]: ajp_unmarshal_response:
status = 404
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (466)]: ajp_unmarshal_response:
Number of headers is = 0
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (428)]: Into
jk_ws_service_t::start_response
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (698)]: received from ajp13
#664
[Sun Apr 14 13:37:57 2002] [jk_isapi_plugin.c (562)]: Into
jk_ws_service_t::write
[Sun Apr 14 13:37:57 2002] [jk_ajp_common.c (698)]: received from ajp13 #2
[Sun Apr 14 13:37:57 2002] 

Re: AW: PLEASE HELP ME: JNDI ERROR 1

2002-04-15 Thread hemant

Thats a very good point.

Also, look for any other old set of classes which Tomcat is picking up.
Which may mean JNDI related classes too. I dont know if this would work but,
change the time stamp's of all tomcat related .xml files by making a small
change like adding a space, pressing enter etc and see if it makes any
difference.


regards
hemant

- Original Message -
From: Angel Municio [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 1:00 PM
Subject: RE: AW: PLEASE HELP ME: JNDI ERROR 1


If the Oracle database that you are trying to connect to is a different
version than the old one, check for updated Oracle jdbc drivers
(classes12.zip). I have found that there are many releases of this file, and
newer releases are not always backwards compatible. For instance,
classes12.zip that work well with 8i do not work well with 9i.

angel

-Original Message-
From: peter lin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 12:48 PM
To: Tomcat Users List
Subject: Re: AW: PLEASE HELP ME: JNDI ERROR 1



look in the tnslistener network log to see if tomcat is getting to the
machine correctly. If not, it's most likely a typo someplace. If it is,
the log will give you more data to debug the problem.

peter lin


Laura wrote:

 But I have controlled all.

 If I try to connect with sql plus, I connect to the db.

 Any suggestions?

 Laura

 Alle 18:30, lunedì 15 aprile 2002, hai scritto:
  You said that you changed user, password, and url.
 
  I would suspect, that you mistyped either the name
  of the server or the port or that your new database
  is using different parameters than your old one.
 
   -Ursprüngliche Nachricht-
   Von: Laura [mailto:[EMAIL PROTECTED]]
   Gesendet: Montag, 15. April 2002 18:26
   An: Tomcat Users List
   Betreff: PLEASE HELP ME: JNDI ERROR 1

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Mysql pooling datasource in tomcat 4

2002-04-15 Thread Daryn Nakhuda


Has any one had success creating a pooling datasource for mysql in tomcat 
4? 

I was able to successfully create a functional datasource jdni resource 
based on the instructions in the jndi resources HOW-TO

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html

But there doesn't appear to be any pooling of connections (or my minimum 
poolsize is being ignored).

Should I scrap the resource creation in the server.xml, and just create 
the datasource in my startup servlet's init? 

Should I be explicitly be using the datasource implementation that came 
with the jdbc driver (mm.mysql), such as 
org.gjt.mm.mysql.jdbc2.optional.MysqlConnectionPoolDataSource rather than 
javax.sql.DataSource? 


This seems like a pretty common task, but none of the related messages 
I've found in the archive seem to have an answer..

Thanks.

daryn


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Webappdeploy line help

2002-04-15 Thread Brian Bernardo

Help.

Is there a way to use tomcat to serve up from multiple urls within one
instance?  After starting apache I get an instance for every WebAppDeploy
line and I am not sure if this is bad or how much it effects
performance/scalability.

I have the following lines in my httpd.conf:

IfModule mod_webapp.c
WebAppConnection conn warp gumby.abilizer.com:8008
WebAppInfo   /webapp-info
WebAppDeploy../../webapp   conn/
WebAppDeploy../../webapp   conn /url1
WebAppDeploy../../webapp   conn /url2
WebAppDeploy../../webapp   conn /url3
/IfModule

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




WebApps and Aliases

2002-04-15 Thread Hirani, Suhail

Hi,

I have a folder under webapps, named survey. It has a servlet as a jar file
under webapps/survey/WEB-INF/lib/. I want to call this servlet with an alias
let's say display.

I registered this servlet in /survey/webapps/WEB-INF/web.xml as:
--
servlet
 servlet-name
display
 /servlet-name
 servlet-class
 com.XXX.YYY
 /servlet-class
 
 init-param
 param-nameredirectTarget/param-name
 param-value/param-value
 /init-param
 
/servlet

servlet-mapping
servlet-name
display
/servlet-name
url-pattern
/display
/url-pattern
/servlet-mapping


I am using Tomcat 3.2.3. Above setup works on WindowsNT workstation and I
can access this servlet through

http://localhost:8080/survey/display
 
but when I tried creating the same setup on SunSolaris OS 5.8, I have to
append servlet like this

http://AAA.BBB.com/survey/servlet/display?mid=5ZZxyUEp3GiWNkfSxnWuxg

but I want it to be accessed as
http://AAA.BBB.com/survey/display?mid=5ZZxyUEp3GiWNkfSxnWuxg

Any idea, what's wrong with it?

NB: I don't have Apache installed on my Windows NT desktop, but the Solaris
has apache installed on it.

--
Suhail Hirani




The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Webappdeploy line help

2002-04-15 Thread Joseph Molnar

I suggest managing your webapps from Tomcat instead of from Apache (ie put
the virtual 'links' there).  You do this buy managing 'contexts' in the
server.xml.

In terms of instances, are you using a Unix (and if so which one), or
Windows? On Linux, many of the instances you may see are actually threads,
not processes.



Joseph Molnar
http://www.codesta.com/



- Original Message -
From: Brian Bernardo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 12:15 PM
Subject: Webappdeploy line help


 Help.

 Is there a way to use tomcat to serve up from multiple urls within one
 instance?  After starting apache I get an instance for every WebAppDeploy
 line and I am not sure if this is bad or how much it effects
 performance/scalability.

 I have the following lines in my httpd.conf:

 IfModule mod_webapp.c
 WebAppConnection conn warp gumby.abilizer.com:8008
 WebAppInfo   /webapp-info
 WebAppDeploy../../webapp   conn/
 WebAppDeploy../../webapp   conn /url1
 WebAppDeploy../../webapp   conn /url2
 WebAppDeploy../../webapp   conn /url3
 /IfModule

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Webappdeploy line help

2002-04-15 Thread Brian Bernardo


Backround/Env info

Tomcat and Apache are running on physically different machines both on a
Solaris 8 sparc platform.  There is only one JVM instance running
(process) but after reading the catalina.out file I can see that the
installs/loads the jars all over again.  Once for each webappdeploy line.
My concern is scalability/performance and whether this is really bad or not.
Functionality is there, nothing is broken.

B


-Original Message-
From: Joseph Molnar [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 12:26 PM
To: Tomcat Users List
Subject: Re: Webappdeploy line help


I suggest managing your webapps from Tomcat instead of from Apache (ie put
the virtual 'links' there).  You do this buy managing 'contexts' in the
server.xml.

In terms of instances, are you using a Unix (and if so which one), or
Windows? On Linux, many of the instances you may see are actually threads,
not processes.



Joseph Molnar
http://www.codesta.com/



- Original Message -
From: Brian Bernardo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 12:15 PM
Subject: Webappdeploy line help


 Help.

 Is there a way to use tomcat to serve up from multiple urls within one 
 instance?  After starting apache I get an instance for every 
 WebAppDeploy line and I am not sure if this is bad or how much it 
 effects performance/scalability.

 I have the following lines in my httpd.conf:

 IfModule mod_webapp.c
 WebAppConnection conn warp gumby.abilizer.com:8008
 WebAppInfo   /webapp-info
 WebAppDeploy../../webapp   conn/
 WebAppDeploy../../webapp   conn /url1
 WebAppDeploy../../webapp   conn /url2
 WebAppDeploy../../webapp   conn /url3
 /IfModule

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Virtual Hosts and Tomcat.

2002-04-15 Thread Antonio MATTA


Hi,

I am a newbie with Tomcat. I manage a server that runs both apache and
tomcat.
I have been looking a good Howto with wich I can learn how to set virtual
hosts using Tomcat: which modules do I have to set? Which configure files
do I have to edit?

Any help will be apreciated,

Antonio.

-- 
ANTONIO ALEJANDRO MATTA GÓMEZ
WebMaster
Facultad de Ingeniería
Pontificia Universidad Javeriana - Seccional Cali
Calle 18 No. 118 - 250 Av. Cañasgordas
Cali, Colombia
Tel. (+2)  3218200 Ext 575
Fax. 5552823




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




How to use embedded tomcat

2002-04-15 Thread Animesh Chaturvedi - US

Hi 

I wish to use embedded Tomcat. Can somebody let me know how can I do that?? 


Thanks

Animesh



Re: Virtual Hosts and Tomcat.

2002-04-15 Thread Gregory Moxley Kempster

This looks pretty good for mod_webapp:

http://dcb.sun.com/practices/howtos/tomcat_apache.jsp

Gregory Moxley Kempster
FastTrack Designs
http://www.fasttrackdesigns.com
503-452-3721

- Original Message -
From: Antonio MATTA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 2:09 PM
Subject: Virtual Hosts and Tomcat.



 Hi,

 I am a newbie with Tomcat. I manage a server that runs both apache and
 tomcat.
 I have been looking a good Howto with wich I can learn how to set virtual
 hosts using Tomcat: which modules do I have to set? Which configure files
 do I have to edit?

 Any help will be apreciated,

 Antonio.

 --
 ANTONIO ALEJANDRO MATTA GÓMEZ
 WebMaster
 Facultad de Ingeniería
 Pontificia Universidad Javeriana - Seccional Cali
 Calle 18 No. 118 - 250 Av. Cañasgordas
 Cali, Colombia
 Tel. (+2)  3218200 Ext 575
 Fax. 5552823




 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Initialization in Tomcat 4.0.3

2002-04-15 Thread Subir Sengupta

Hi,

In Tomcat 3 we initialized stuff with the RequestInterceptor element in
web.xml like this:

RequestInterceptor
  debug=0
  className=org.apache.tomcat.init.Init /

Init has a engineInit method that looks like this:
public final class Init extends BaseInterceptor
.
.
.
public void engineInit(ContextManager cm) throws TomcatException {
  CategoryNames.init();

etc

How do I the same thing in Tomcat 4.0.3 ?

Thanks from a Tomcat newbie,
Subir






 Subir Sengupta (E-mail).vcf 



Subir Sengupta (E-mail).vcf
Description: Binary data

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


Re: Search Engine and Tomcat

2002-04-15 Thread Jeffrey Bonevich

Try Lucene (another fine product brought to you by the people of 
Jakarta!) - Java API for indexing and searching.  Also, I have had 
success integrating ht://Dig (www.htdig.org) into web apps, albeit 
Perl-based web apps.  In Java, I would just do a system call I suppose - 
a bit overburdensome, but it would work.  Check out 
http://www.siggraph.org/industry/search.html for an example of 
incorporating ht://Dig into a search interface (this is actually a page 
cooked up from the dynamic version of the site for performance reasons).

jeff

[EMAIL PROTECTED] wrote:

 I've been very pleased with Tomcat, and have it hosting
 some of our jsp content.  I'm now looking for an
 indexing/search solution that would index and allow me
 to create a form to search the site for search keywords
 and display results.  Preferably i'd like to be able to
 index content that is hosted on other virtual domains
 (non tomcat) along with tomcat content.  Has anyone got
 advice on something that could do this?  I've looked at
 e-swish at the moment, and its a start for what i'd
 like, but just wondering if there are others that have
 searchable websites with tomcat also disinterested in
 having a google search of ones own content.
 
 Thanks
 
 Alex
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 


-- 
Jeffrey Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,   prym gefrünon,
hü ða aepelingas   ellen fremedon!


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: please help me

2002-04-15 Thread Jon Gibbs-Smith

First thing to do is look at the log.  tomcat 4 is much better at logging
than version 3.  If you did not change the logging entry in the server.xml
the examples log file will show details about what is happening when your
webapp (context as Tomcat4 calls it) is loaded.

If you simply see an entry about what is expected in a web.xml the most
likely thing is that you have servlet-mapping entries mixed in among your
servlet entries.  Now all the servlet mapping must appear after all the
servlet entries.  The parameter icon has changed to become small or large -
again look at the log for details.

Another thing we noticed in Windows (if that is your platform) was that in
Tomcat 3 the WEB-INF directory name could be lower case, Tomcat 4 insists
that it must be upper case.

hope this helps,

Jon G-S

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Janarthanan,
 Prasanna
 Sent: 14 April 2002 14:04
 To: '[EMAIL PROTECTED]'
 Subject: please help me



 we have our web application running with tomcat 3.2.3. It is working fine
 but now iam upgradin to tomcat 4.0. here i face problem in context of
 server.xml. I have written the context in server.xml.
 I wonder whether it has any touch with the web.xml file of my web
 application.
 coz the examples given in tomcat 4 has a web.xml file which has some large
 contents which i don't have it in web.xml file of my web application. but
 with my own web.xml itself it was working fine with tomcat 3.2.3.

 please calrify me where i need to make changes for this tomcat 4 to work
 with my web application.. probably u can help in the best way..
 as i saw ur
 mail in tomcat user list as u are very well working with tomcat 4.0.2.

 please help me out.

 prassana
 deshaw india software pvt limited.


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 ___
 tomcat-users mailing list
 [EMAIL PROTECTED]
 https://mailman.real-time.com/mailman/listinfo/tomcat-users






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: What does IMHO mean?

2002-04-15 Thread @Basebeans.com

Subject: Re: What does IMHO mean?
From: Hyunjin Kim [EMAIL PROTECTED]
 ===
hehe.. you guys are funny :)

sharadsk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 This is Tomcat Discussion List. Please stop this. And do not put such
questions on this list.
 -S

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Mon, April 15, 2002 10:02 AM
 To: [EMAIL PROTECTED]
 Subject: RE: What does IMHO mean?


 IMHO == In My Humble Opinion

 --
 Tomasz M. Ciolek
 Systems Administrator - CSIRO Entomology
 Phone: 02-62464391 * Fax: 02-62464000


  -Original Message-
  From: Darrin [mailto:[EMAIL PROTECTED]]
  Sent: Monday, 15 April 2002 09:34
  To: Tomcat Users List
  Subject: Re: What does IMHO mean?
 
 
  LMAO (laughing my ass off) is what you probably are talking
  about (a lot
  of fonts its hard to distinguish between 1 (one) l (lowercase
  L), and i
  (lowercase I)
 
  [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: Robert Douglass [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, April 14, 2002 1:02 PM
   To: Tomcat Users List
   Subject: RE: What does IMHO mean?
  
in my humble/honest opinion
what I don't know is imao, which I also see.
  
   a = arrogant
  
   - tex
  
   --
   To unsubscribe:
  mailto:tomcat-user- [EMAIL PROTECTED]
   For
  additional commands:
  mailto:[EMAIL PROTECTED]
   Troubles with the list:
  mailto:tomcat-user- [EMAIL PROTECTED]
 
 
  --
  To
  unsubscribe:
  mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




  1   2   >