RE: I'm using a linux server (fedora core 2) which has

2005-03-13 Thread Dale, Matt

Install the latest from the 1.2.X line as JK2 is not longer being developed.

I thought the latest was higher but I was obviously wrong. You can get 1.2.8 at 
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi

-Original Message-
From: Pete Eakle [mailto:[EMAIL PROTECTED]
Sent: 13 March 2005 05:50
To: tomcat-user@jakarta.apache.org
Subject: I'm using a linux server (fedora core 2) which has


apache 2.0.51 installed, as well as Tomcat 5.0, but Tomcat only runs
standalone and I would like to hook it up as Apache's java server. 
But I'm not sure what version of mod_jk to use -- I believe it needs
to be a matched set with the apache version?  Anyone know what version
of mod_jk I should install, or how to find out, and possibly where to
download it?

Thanks.

-Pete

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


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



RE: Why doesn't JSP precompilation solve this problem?

2005-03-13 Thread Frank Burns
No, I'm not using container-managed security. No, my .css files are not in a
different application context (webapp) as the pages. But, yes, I am using
MSIE6.

Other than the common MSIE6, unfortunately our problems don't appear to be
that similar.

Frank

-Original Message-
From: alexander dosher [mailto:[EMAIL PROTECTED] 
Sent: 13 March 2005 00:03
To: Tomcat Users List
Subject: Re: Why doesn't JSP precompilation solve this problem?

 When I deploy the application, and I newly visit each page, all of
 the text is displayed but the other visual elements (such as
 font-sizes, table layouts, colours, and other formatting set by
 CSS)appear broken.

are you using container-managed security?  are your .css files in a 
different application context than the page?  is your browser MSIE6?

if so, this *might* be similar to a problem i'm having, which stems from 
the fact that tomcat will serve unauthenticated http 304s (Not 
Modified). so IE will render the page content it has cached, but if the 
.css files come from a different context (or maybe even the same one, i 
haven't tried it like that) IE won't reload them - and apparently it 
doesn't cache them like it does the page. and you get non-styled ugliness.

haven't got a solution, short of filing the 403s thing as a bug, but 
this might help explain what you're seeing...

--alex.



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


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



how do I correct keytool error

2005-03-13 Thread James T. Studebaker





I ran the keytool utility to create a self signed certificate. I used 
the changeit password. The utility completed successfully. However 
when I used the keytool -list command I get the following error:

keytool error: java.io.IOException: Keystore was tampered with, or password 
was incorrect

Further I get the same error if I try to generate another 
certificate. How can I correct this problem?
Thank youJames T. Studebaker



Access Denied, now what?

2005-03-13 Thread Ing. Jorge E. Abramian



Hi everybody,

Iwas trying to install Tomcat 5.5.8 for a few 
days now with noresults. I am using win 98 SE. This is the result of the 
run when I execute the start.pifgenerated when I changed the memory 
variable of the start.bat

CATALINA_BASE: C:\archivos de 
programa\java\jakarta-tomcat-5.5.8Using CATALINA_HOME: 
C:\archivos de programa\java\jakarta-tomcat-5.5.8Using CATALINA_TMPDIR: 
C:\archivos de programa\java\jakarta-tomcat-5.5.8\tempUsing 
JAVA_HOME: C:\archivos de 
programa\java\jdk1.5.0_01Acceso denegado.

For who does not understand spanish the last line 
says "denied access". 
I got to this point after trying a lot of different 
things, 'cause at first, I had a lot of problems with the installation exe file, 
and then setting the environment variables.

Thanks in advance for any help.
Jorge 


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 11/03/05

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

RE: Access Denied, now what?

2005-03-13 Thread Tony
Blanks in the insides of file or folder names will cause grief in any
language.
You can get by some of the problems by quoting the file name.
Many things in strange places will consider the file name as C:\archivos
followed by some unintelligible stuff.


-Original Message-
From: Ing. Jorge E. Abramian [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 13, 2005 9:01 AM
To: tomcat-user@jakarta.apache.org
Subject: Access Denied, now what?


Hi everybody,

I was trying to install Tomcat 5.5.8 for a few days now with no results. I
am using win 98 SE. This is the result of the run when I execute the
start.pif generated when I changed the memory variable of the start.bat

CATALINA_BASE:   C:\archivos de programa\java\jakarta-tomcat-5.5.8
Using CATALINA_HOME:   C:\archivos de programa\java\jakarta-tomcat-5.5.8
Using CATALINA_TMPDIR: C:\archivos de
programa\java\jakarta-tomcat-5.5.8\temp
Using JAVA_HOME:   C:\archivos de programa\java\jdk1.5.0_01
Acceso denegado.

For who does not understand spanish the last line says denied access.
I got to this point after trying a lot of different things, 'cause at first,
I had a lot of problems with the installation exe file, and then setting the
environment variables.

Thanks in advance for any help.
Jorge




RE: Exception on JDBCRealm Authorization

2005-03-13 Thread alexander dosher
Jerry,
for definitive answers you'll probably want one of the developers - but
here's my take, with big doses of IMHO  YMMV...
Has Tomcat acknowledged this and agreed that it will be fixed in 
5.5.8?
M. Maucherat suggests, in the thread i referenced earlier, that he has
fixed it in 5.5.8
Any ETA for 5.5.8?  Unless I'm missing something, this seems like it 
was be a pretty high severity bug.  Or are you and I the only two 
people using JDBC Realms with 5.5.7?
bit of a culture issue here, that took me a while to get used to as
well.  when *i* grew up, software with known broken functionality
wouldn't rate a final version number, but the Tomcat team (and, in my 
experience, Open Source software in general) is a bit
more relaxed about it:
http://jakarta.apache.org/tomcat/faq/version.html#when

Is there no mechanism for putting out patch jar files? ... is it
possible to extract a JDBCRealm jar file from 5.5.4 without having to
completely uninstall and reinstall all of Tomcat?
will need to defer to the list on this one... FYI, and this is something 
i just learned recently as well, using the $CATALINA_BASE trick to 
separate out your site-specific stuff from the core server code makes it 
*way* easier to uninstall and reinstall all of Tomcat.

--alex.

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


driver not found ?

2005-03-13 Thread Philippe Couas
Hi, 
 
I search to connect with Sun Odbc driver to  my Datasource configured in
tomcat 
javax.servlet.ServletException: Cannot create JDBC driver of class '' for
connect URL 'null', cause: No suitable driver
What is wrong ?
 
Thanks
Philippe
 
 
server.xml
  ResourceParams name=jdbc/Agi  
  parameter  
   namedriverClassName/name
   valuesun.jdbc.odbc.JdbcOdbc/value   
  /parameter 
   
  parameter  
   nameurl/name
   valuejdbc:odbc://localhost/AGI/value
  /parameter 


Failing a JK Worker thread

2005-03-13 Thread Dan Thiffault
I am running apache web server 2.0.49 connected to tomcat 5.0.28 using the jk 
connector version 1.2.8.  From my understanding, if I set the reply_timeout 
property  of an ajpv13 worker, once the reply_timeout elapses for a particular 
request to a worker, apache web server will make a new request to the next 
worker in the group.

Is there any way from within the webapp that is being contacted to induce a 
failure other than not returning before the reply_timeout? For instance, can 
you return an HTTP error message from tomcat that would cause web server to 
retry the request to the next worker in the group (assuming full recovery mode)?

Thanks for any suggestions

-Dan Thiffault


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



Re: Servlet Streaming file to client: Can't override file name

2005-03-13 Thread Chris Hyzer
 Servlet Streaming file to client: Can't override
 file name
   123049 by: Mark Leone
 

Its an HTTP header you are looking for, try this:

response.setHeader(Content-Disposition, attachment;
filename= + theFile.getName());

Chris


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



Using hibernate

2005-03-13 Thread haim
We are planing to use object/relational persistence and query service 
like  hibernate or Castor JDO.
Does anyone have any recomaidations for the above?
Does anyone has good/bad experience using similar technologies?

Thanks
Haim

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


Re: Using hibernate

2005-03-13 Thread PA
On Mar 13, 2005, at 19:00, haim wrote:
We are planing to use object/relational persistence and query service  
like  hibernate or Castor JDO.
Does anyone have any recomaidations for the above?
Take a serious look at Cayenne:
http://www.objectstyle.org/cayenne/
Much nicer than Hibernate in my opinion.
Cayenne is the open source sibling of NeXT's Enterprise Object  
Framework:

http://c2.com/cgi/wiki?EnterpriseObjectsFramework
Which is still somewhat available from Apple:
http://developer.apple.com/documentation/WebObjects/Enterprise_Objects/ 
index.html

Does anyone has good/bad experience using similar technologies?
Yes. Both. Most of the time those O/R mapping tools are overkill. YMMV.
Have you considered _not_ using a SQL database in the first place?
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
I know you can define DataSources, etc. globally to all of Tomcat using
GlobalNamingResources.  I have also determined that you can define
individual DataSources inside a webApp's Context/Context block inside a
Host block.  But are these the only two options?  I would like to define
DataSources that are scoped to a Host, but not global to all of Tomcat.  I
tried a few things, but couldn't seem to get it to work any other way.

Is there a way to define a DataSource (or any other JNDI resource) at the
host level?   

More generally, examples of server.conf are great.  But is there a document
that describes all the options and variations of what you do in server.xml?

Thanks.

Jerry


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



Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
J Malcolm wrote:
I know you can define DataSources, etc. globally to all of Tomcat using
GlobalNamingResources.  I have also determined that you can define
individual DataSources inside a webApp's Context/Context block inside a
Host block.  But are these the only two options?  I would like to define
DataSources that are scoped to a Host, but not global to all of Tomcat.  I
tried a few things, but couldn't seem to get it to work any other way.
Is there a way to define a DataSource (or any other JNDI resource) at the
host level?   
You didn't mention what version you're running, but take a look at
this page for the DefaultContext :
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html
More generally, examples of server.conf are great.  But is there a document
that describes all the options and variations of what you do in server.xml?
It's not a single document, but the Server Configuration Reference
(again, this is for the 5.0 branch, adjust as required) covers it
all, element by element:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html
HTH!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


Re: Why doesn't JSP precompilation solve this problem?

2005-03-13 Thread Tim Funk
Sounds odd.
For debugging - try using Mozilla (or Firefox). For Mozilla there is a 
utility for viewing the header sent and received. Firefox also has one called 
the webdeveloper toobar which can also do the same.

Try loading the css files (or other broken assets) and check the responses 
being sent and received to find sketchy activity.

-Tim
Frank Burns wrote:
I'm using Tomcat v5.0.28 and have built a Struts-based application, using
Tiles, to construct the web pages.
When I deploy the application, and I newly visit each page, all of the text
is displayed but the other visual elements (such as font-sizes, table
layouts, colours, and other formatting set by CSS)appear broken.
When I'm developing the pages and want to check that they are visually
correct, I lose a lot of time having to re-hit the pages -- sometimes up to
twenty times before they will render properly -- and it's driving me
bonkers!
I thought the problem might have something to do with the fact that the JSPs
have to be compiled by Tomcat (Jasper) when they are first accessed.
However, I now precompile all of my JSPs before deploying the application
but exactly the same problems occur.
I have no idea why this is happening.
Can anyone explain why?
And, especially, can anyone tell me how to resolve this?
Sincerely,
Frank Burns.

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

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


Re: driver not found ?

2005-03-13 Thread Parsons Technical Services
Tomcat version?
Post complete relevant sections helps.
Doug
- Original Message - 
From: Philippe Couas [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Sunday, March 13, 2005 11:16 AM
Subject: driver not found ?


Hi, 

I search to connect with Sun Odbc driver to  my Datasource configured in
tomcat 
javax.servlet.ServletException: Cannot create JDBC driver of class '' for
connect URL 'null', cause: No suitable driver
What is wrong ?

Thanks
Philippe
server.xml
 ResourceParams name=jdbc/Agi  
 parameter  
  namedriverClassName/name
  valuesun.jdbc.odbc.JdbcOdbc/value   
 /parameter 
  
 parameter  
  nameurl/name
  valuejdbc:odbc://localhost/AGI/value
 /parameter 


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


RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
Hassan,

Thanks so much for the info.  I am on 5.5.7.  I was not aware of the
Default-Context option.  That will be useful.

But it does not appear that the Default-Context applies to DataSourceRealms
for a host.  Is there a way to define a datasource for use by a realm in a
particular host (without making the datasource available to other hosts?)

Thanks again.

Jerry

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 13, 2005 12:38 PM
To: Tomcat Users List
Subject: Re: Scoping of JNDI Resources?

J Malcolm wrote:
 I know you can define DataSources, etc. globally to all of Tomcat using
 GlobalNamingResources.  I have also determined that you can define
 individual DataSources inside a webApp's Context/Context block inside
a
 Host block.  But are these the only two options?  I would like to define
 DataSources that are scoped to a Host, but not global to all of Tomcat.
I
 tried a few things, but couldn't seem to get it to work any other way.
 
 Is there a way to define a DataSource (or any other JNDI resource) at the
 host level?   

You didn't mention what version you're running, but take a look at
this page for the DefaultContext :

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html

 More generally, examples of server.conf are great.  But is there a
document
 that describes all the options and variations of what you do in
server.xml?

It's not a single document, but the Server Configuration Reference
(again, this is for the 5.0 branch, adjust as required) covers it
all, element by element:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html

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

   dream.  code.



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



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



Re: Tomcat 5 - Apache2 SSL with mod_proxy

2005-03-13 Thread Robin Johnson
I know this is a pretty old post, but I'll respond to it anyways so the 
solution shows up in the archives:

All you have to do is set scheme=https and proxyPort=443 and the 
connector will properly redirect your connections using https.

HTH,
Robin
Kris Reese wrote:
Apache 2.0.52
Tomcat 5.5
openSSL 9.7e
I've successfully been able to install all three components with the 
following attributes:
I've successfully connected Tomcat to Apache via the mod_proxy 
module instead of using the JK2 connector
I've also successfully integrated openSSL into apache, so that I 
can have a secure connection via HTTPS.

So far, I'm only using the examples that shipped with Tomcat for 
testing purposes (i.e. /jsp-examples).

My problem is when I try to access /jsp-examples via HTTPS.  It always 
redirects back to port 80, thus I lose my secure connection.  I have a 
feeling this is due to the proxyPort=80 as defined in server.xml.  
If I change proxyPort to 443, it appends :443 at the end of my URL 
instead of using https.  My ultimate goal is to have a webserver that 
only runs on port 443 which has a login.jsp page as the index page 
so people can login securely.

I've read I need to use SSLProxyEngine and have attempted to 
implement.  My configuration is as follows:

httpd.conf (from none other than apache2)
---
VirtualHost 129.17.66.193:80
ServerName www.mysite.com
DocumentRoot /usr/local/apache2/htdocs
   SSLProxyEngine on
   IfModule mod_proxy.c
 ProxyRequests On
 ProxyPass /jsp-examples http://129.17.66.193:8082/jsp-examples
 ProxyPass /*.jsp http://129.17.66.193:8082
   /IfModule
/VirtualHost
server.xml (from none other than Tomcat)
---
   !-- non-SSL HTTP/1.1 Connector on port 8080 is commented out --
   !-- SSL HTTP/1.1 Connector on port 8443 is commented out --
   !-- Define an AJP 1.3 Connector on port 8009 -- NOTE I AM NOT 
USING THIS --
   Connector port=8009
  enableLookups=false redirectPort=8443 
protocol=AJP/1.3 /

   !-- Define a Proxied HTTP/1.1 Connector on port 8082 --
   Connector port=8082
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false acceptCount=100 
connectionTimeout=2
  proxyPort=80 disableUploadTimeout=true /

.
With this configuration, If I attempt to lauch 
https://myserver.com/jsp-examples, it redirects me to 
http://myserver.com/jsp-examples and I lose my secure connection.  
Based on my error_log file, I see that I need to enable SSLProxyEngine:
[Tue Jan 18 14:40:02 2005] [error] SSL Proxy requested for 
myserver.com:80 but not enabled [Hint: SSLProxyEngine]
[Tue Jan 18 14:40:02 2005] [error] proxy: failed to enable ssl support 
for 129.17.66.193:8082 (k001gxb-0010)

As you can see, I added this directive above in my config files, but 
it's either in the wrong place or there's a missing piece.

I don't want port 80 open at all.  I want everything to run through 
HTTPS.  Can you help me in getting the configuration so that all data 
transfered is through HTTPS?

This is on an Enterprise SUN E450 server running Solaris Sparc 9 btw.
- - - - - - - - - - - - - - - - - - - - -
Thank you,
Kristian T Reese

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


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


Tomcat, Sun One Webserver 6.1

2005-03-13 Thread Ashish Tripahi
the doco on the tomcat website is not helping me at all.
Can somebody please explain how to integrate SunOne/IPlanet 6.1 with Tomcat.

Waiting for the response

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



Re: Single Sign On(SSO) problem

2005-03-13 Thread xue daoming
Thanks Guillaume Lederrey!
I try it, and it works!
Thanks!

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



Configuration Problem in Tomcat for HTTPS

2005-03-13 Thread suryadevara dushyanth
Hi,
I am trying to configure my Tomcat with https support.
I tried in two versions of tomcat.

Tomcat 5
I followed the process as given by the documentation
but https is not working as i typed in the url
https://localhost:8443; I am getting page not
available.

Tomcat 4.1.29

I followed the process and modified the server.xml
file by uncommenting the 8443 port. When i start my
tomcat server it is shutting down and it does not
start. I tried it through Tomcat Admin page but it
says resource requested not available. 

Please help me out as I have to host my application in
Tomcat using HTTPS port. And I am under a tight
deadline for hosting this application.

Thanks  Regards
Dushyanth


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
J Malcolm wrote:
But it does not appear that the Default-Context applies to DataSourceRealms
for a host.  Is there a way to define a datasource for use by a realm in a
particular host (without making the datasource available to other hosts?)
Ah, Realms, well then:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/realm.html
:: says:
  You may nest a Realm inside any Catalina container Engine, Host,
  or Context).
Not tested -- I'm also running 5.5.7, but my DataSourceRealm is
applied globally -- but that sounds like it fits the bill...
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
I've actually got my realms defined per host. That's not the problem. The
problem is that the datasources for the various realms must be declared
globally (apparently).  Until yesterday, I was running JDBCRealms where I
could define a different database for each realm inside the host.  But I had
to move off of JDBCRealms due to a catastrophic bug discussed in an earlier
thread.

I'm assuming that any datasource that is defined globally is accessible to
any Tomcat app that knows the datasource name, right?  This means that the
realm authentication db for one host is accessible to any other host that
might be able to determine the datasource name.  Many of my hosts are from
different businesses that must ensure integrity of their security
environment.  With a global datasource defined for their realm authority db,
I can't guarantee that another malicious host cannot access and possible
corrupt the db.

It doesn't seem right that there would be this sort of hole in
DataSourceRealms.  But right now, the only way I can find to define a
datasource for any realm, even those defined inside a host, is to use global
datasource definitions.  Is this really the only way?

Thanks.

Jerry

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 13, 2005 7:08 PM
To: Tomcat Users List
Subject: Re: Scoping of JNDI Resources?

J Malcolm wrote:

 But it does not appear that the Default-Context applies to
DataSourceRealms
 for a host.  Is there a way to define a datasource for use by a realm in a
 particular host (without making the datasource available to other hosts?)

Ah, Realms, well then:

  http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/realm.html

:: says:

   You may nest a Realm inside any Catalina container Engine, Host,
   or Context).

Not tested -- I'm also running 5.5.7, but my DataSourceRealm is
applied globally -- but that sounds like it fits the bill...

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

   dream.  code.



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



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



Re: Tomcat, Sun One Webserver 6.1

2005-03-13 Thread Bill Barker
Since SunOne isn't the most supported platform (at least at Apache; I 
believe that Sun has a better-supported plugin, but you'll have to ask them 
:), you'll need to build mod_jk from the source distro in jk/native/netscape 
(for the simple reason that nobody has contributed a binary distro for 
SunOne in a very long time).  After that, you'll need 
http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/neshowto.html, 
and possibly enabling NSConfig (for TC 5: Listener 
className=org.apache.jk.conf.NSConfig /) to work out the configuration.

Of course, if you want to share back your success/horror-stories to improve 
the Tomcat docs, it will be appreciated.

Ashish Tripahi [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 the doco on the tomcat website is not helping me at all.
 Can somebody please explain how to integrate SunOne/IPlanet 6.1 with 
 Tomcat.

 Waiting for the response 




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



Re: Servlet Streaming file to client: Can't override file name

2005-03-13 Thread Mark Leone
Thanks. That's exactly what I needed, and it did the trick. Firefox browser just 
grabs the first non-whitespace part of the name, but in IE the entire name shows 
up. Thanks again.

-Mark
Chris Hyzer wrote:
Servlet Streaming file to client: Can't override
file name
123049 by: Mark Leone
   

Its an HTTP header you are looking for, try this:
response.setHeader(Content-Disposition, attachment;
filename= + theFile.getName());
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

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


Re: Configuration Problem in Tomcat for HTTPS

2005-03-13 Thread Bill Barker
Urm, not really enough info here to help you.  Of course I'm assuming that 
you've already read 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html.  Beyond 
that, you can try setting your logging category (log4j/java.util.logging 
config) for 'org.apache.tomcat.net.jsse' to DEBUG to increase the number of 
messages.

suryadevara dushyanth [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi,
 I am trying to configure my Tomcat with https support.
 I tried in two versions of tomcat.

 Tomcat 5
 I followed the process as given by the documentation
 but https is not working as i typed in the url
 https://localhost:8443; I am getting page not
 available.

 Tomcat 4.1.29

 I followed the process and modified the server.xml
 file by uncommenting the 8443 port. When i start my
 tomcat server it is shutting down and it does not
 start. I tried it through Tomcat Admin page but it
 says resource requested not available.

 Please help me out as I have to host my application in
 Tomcat using HTTPS port. And I am under a tight
 deadline for hosting this application.

 Thanks  Regards
 Dushyanth


 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com 




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



Re: Using hibernate

2005-03-13 Thread Larry Meadors
I have used straight JDBC, Hibernate, and iBATIS. 

For me, the sweet spot is iBATIS. It provides very near the
performance of JDBC, without the complexity.

IMO, I will use ORM when database vendors support it directly, not
when I have to wrap my database in a ORM layer.

Larry


On Sun, 13 Mar 2005 20:00:08 +0200, haim [EMAIL PROTECTED] wrote:
 We are planing to use object/relational persistence and query service
 like  hibernate or Castor JDO.
 Does anyone have any recomaidations for the above?
 Does anyone has good/bad experience using similar technologies?
 
 Thanks
 Haim
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



RE: tomcat load-balancing maintenance strategy?

2005-03-13 Thread Dan Carwin
Filip,
Yes, That would be awesome.
 
Thanks,
Dan

-Original Message- 
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] 
Sent: Fri 3/11/2005 2:11 PM 
To: Tomcat Users List 
Cc: 
Subject: Re: tomcat load-balancing maintenance strategy?



its fixed in 5.5.x, you need a patch for 5.0.x?



Dan Carwin wrote:

I also experienced cluster failure when restarting a downed cluster
member in 5.0.
I tested with Tomcat 5.0.30.

Randall, what version of Tomcat did you succeed with?

Thanks,
Dan

-Original Message-
From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 10:45 AM
To: Tomcat Users List
Subject: RE: tomcat load-balancing maintenance strategy?


Jim,

Also check the archives for my post on restarting a downed Tomcat
cluster member. This was not working well prior to Tomcat 5.5.8. When
the instance was restarted it would throw exceptions trying to
re-synchronize vi session replication.

 - Richard

-Original Message-
From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 9:40 AM
To: Tomcat Users List
Subject: RE: tomcat load-balancing maintenance strategy?


You need to implement either in memory session replication or persist
the session in a database or a shared file system.

I have finally got my tomcat cluster working and session replication is
functional.

Randall

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


 






DataSource using Commons libraries 5.5.7

2005-03-13 Thread sven morales
Hi,
  Tomcat 5.5.x and newer have repackaged the commons
libraries into naming-xxx.jar files and it is probably
causing lots of headache to people doing a conversion
from older distro.   A couple of items I have come
across are, the commons has been package into a path
like so:

org.apache.tomcat.dbcp.dbcp.
org.apache.tomcat.dbcp.collection.
org.apache.tomcat.dbcp.pool.
org.apache.tomcat.dbcp.jocl.

Note: the double dbcp.dbcp for DataSource and commons
name is not on the path.

Also subtle change of Resource elements and
attributes and no more ResourceParams.  I guess
there are no DTD that is used for Context.xml to catch
mal-formations.

aka_sergio




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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