Re: Problems serving PDF to Netscape browsers

2002-05-09 Thread greyson . smith


Have you tried it from a machine other than your own?  Just to isolate
whether or not there's a problem with your browser.  I've served PDFs
created with FOP to Netscape 4 browsers using tomcat 3



   
  
Jeff Larsen  
  
[EMAIL PROTECTED]To: Tomcat Users List 
[EMAIL PROTECTED]
om  cc:   
  
 Subject: Re: Problems serving PDF to 
Netscape browsers  
09-05-02   
  
01:39 PM   
  
Please 
  
respond to 
  
Tomcat Users  
  
List  
  
   
  
   
  




The iText documentation supplies a workaround for some
MSIE problems and I haven't had any trouble with it so
far. The fact that Netscape isn't reading STATIC PDF files
served by Tomcat makes me think there's something hinky
in Tomcat. I'll be certain to post my findings, if there
are any!

Jeff


- Original Message -
From: Abhi [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 09, 2002 2:07 PM
Subject: Re: Problems serving PDF to Netscape browsers


 Coincidentally ...

 http://www.lib.washington.edu/help/knownIssues/#ie

 So better do a check again for IE as well. Don't be too sure that it will
 work with *all* versions of IE on all flavours of windows. On some, I
 couldn't see it at all, till we applied the latest critical patch for the
 concerned windows...

 IE 6 did not give any problems... but it was a different story for IE 5.5
 and downwards...

 Perhaps try fiddling with check browser settings option in Acrobat
reader
 ?

 Hope this was useful. :)

 Btw, I would be very interested in your findings and results on this
 problem...
 Is it possible for you to share the info ?

 Regards,
 Abhi

 - Original Message -
 From: Jeff Larsen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, May 10, 2002 3:44 AM
 Subject: Problems serving PDF to Netscape browsers


  I'm running out of hair to pull out here...
 
  My ultimate goal is to server dynamically generated
  PDF documents generated with iText. I've got it working
  just fine with MSIE. However, I was just getting blank
  pages with Netscape (and it wasn't even showing the toolbar
  for Acrobat). With NS6 I could at least see that it started
  an AcroRd32.exe process, but NS4 didn't even get that far.
 
  So, I did some tests to rule out some variables. I grabbed
  a handful of pre-generated PDF files and stuck them on
  my Apache 1.3.23 server. All browsers could display the
  PDFs just fine.  Then I set up Tomcat 4.0.3 to server the
  same files directly without going through Apache. MSIE worked,
  but both NS browsers gave a blank page with no Acrobat plugin
  toolbar. Again NS6 managed to start an Acrobat process, NS4
  didn't.
 
  My production environment is Apache 1.3.23 and Tomcat 4.0.3
  connected with mod_jk.



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

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




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




Re: help plz urgent

2002-05-06 Thread greyson . smith


How are you reading the data in the servlet?



   
   
# Lalit Nagpal 
   
# To: Tomcat Users List 
[EMAIL PROTECTED]  
lalit_tomcat@cc:  
   
yahoo.comSubject: Re: help plz urgent 
   
   
   
06-05-02 08:38 
   
AM 
   
Please respond 
   
to Tomcat 
   
Users List
   
   
   
   
   





so sorry ... so sorry for capitalising ... i know u
were trying to help ... just that things r urgent ...
so sorry anyway

html code a bit, form, type=text and type=file tags

body

form name=commonform action=/servlet/TotalUpload
ENCTYPE=multipart/form-data

input type=text size=10 name=acadyear
maxlength=9/input

input type=file size=18 name=attach1/input

using oreilly ... one of the most recent versions ...
sorry cant say version date.

using MultipartRequest.getParameter(...) function to
extract text data. and upload as usual.

error is content type is not multipart/form-data

plz help man



--- David Rault [EMAIL PROTECTED] wrote:
 well, first of all, YOU DON'T HAVE TO CAPITALIZE
 YOUR TEXT
 IT'S ANNOYING TO READ
 i'm trying to _help_ here

 try to send some of your html code (the multi part
 form)
 and the code of the server component in which you
 initialize the
 wrapper/read the parameters
 by the way, some extra info might help :
 what multipart library are you using (o'reilly ?
 version ?)
 same question about tomcat and web connector
 since you didn't send any code, i assumed it might
 be an obvious problem...

 David



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



=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




Re: jsp and VB

2001-11-15 Thread greyson . smith


What are you trying to do?  Are you trying to tie the two systems together,
or are you instead trying to develop a core set of functions that both
systems can use?



   
 
oilayo@idigi  
 
.net.my To: [EMAIL PROTECTED]
 
 cc:   
 
15-11-01 Subject: jsp and VB   
 
04:10 AM   
 
Please 
 
respond to 
 
Tomcat Users  
 
List  
 
   
 
   
 




helo..

i am having some problem here

I used VB to develop an application, but my online aplication is using
JSp. any1 have any idea. can JSP communicate with JSP ( I mean
directly, not through Database)


from,
layyong


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




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




Re: Determining if Tomcat is running

2001-07-02 Thread greyson . smith


Probably not foolproof, but off the top of my head:

 ps -aux --cols 500 |grep $TOMCAT_HOME



   
  
Fredrik Liden  
  
fredrik@tranTo: '[EMAIL PROTECTED]'
  
slate.com   [EMAIL PROTECTED]  
  
 cc:   
  
02-07-01 Subject: Determining if Tomcat is running 
  
04:15 PM   
  
Please 
  
respond to 
  
tomcat-user
  
   
  
   
  




hey all,

Is it possible to determine if Tomcat is running?

I'm using Tomcat as a standalone server.
Occasionally Tomcat goes down and the page will not display. It's just gets
stuck.
Is there some way I can redirect a user if the servletEngine goes down?

Any suggestions would be greatly appreciated



--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





Re: Problem with cookie

2001-06-29 Thread greyson . smith


Have you looked at the message header (not really sure if that's the real
name) to see if any cookies are coming back from the server?  You can
telnet into the server and port and do a get to see if the program is
trying to send a cookie.  It could be that the cookie is expiring as it
arrives.

I had a problem once where the date of the machine that was affected was
set a month in the future, so the cookie expired immediately, though it was
being sent.



   
  
Andrea 
  
[EMAIL PROTECTED]To: [EMAIL PROTECTED]
  
om  cc:   
  
 Subject: Problem with cookie  
  
29-06-01   
  
10:19 AM   
  
Please 
  
respond to 
  
tomcat-user
  
   
  
   
  




Hi,
I've a strange behavior. I develope on a win2k with tomcat 3.2.1 (under
Visual Age) and I use a cookie to trace the users logon (I use a custom
tag) . Everything works fine... After that I port my application on my test
machine, a FreeBsd with tomcat 3.2.2  and Jdk 1.2 but no cookies are
set!

Is there  a bug or there is something I'm wrong

thanks
andrea




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





What is the value of auto-assigning beans?

2001-05-30 Thread greyson . smith

This question may be asked out of ignorance, but it seems to me that using
the tag:

jsp:useBean id=MyBean scope=session class=Test.MyBean /
jsp:setProperty name=MyBean property=* /

to assign values from form fields to the bean is of limited use.

Let's assume that there are 2 text fields, A and B on Jsp1.jsp, with B
being required.  I have some code that checks to make sure B is populated,
if it's not, the browser returns to Jsp1.jsp.

The problem I run into is that I can populate A with a value, submit the
form, get returned to Jsp1.jsp, delete A and populate B, submit the form,
and continue.  I how have values for both A and B, even though A was blank.

I suspect that I'm not the first person to ask this question, is there an
obvious solution that I missed, if not, what do other people do to get
around this problem; do all of the assignements by hand?

Thanks.


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





RE: What is the value of auto-assigning beans?

2001-05-30 Thread greyson . smith


Yes, I considered that, but I need the values to persist.   The only data
in the bean that needs to change in the bean is the data that corresponds
to the form fields.  Perhaps the answer is to have several beans that
expire every request, but if you need to persist the data, you still end up
copying all of the elements from one spot to another.  So I'm still left
with the question of Is auto-assigning worth the trouble.



   
 
Jann VanOver   
 
Jann.VanOver@loTo: '[EMAIL PROTECTED]' 
 
udeye.com  [EMAIL PROTECTED]   
 
cc:
 
30-05-01 12:07  Subject: RE: What is the value of 
auto-assigning beans? 
PM 
 
Please respond 
 
to tomcat-user 
 
   
 
   
 




If you don't want the values to persist, don't put the bean in the
session
scope.  Try page or request and then it will get new values each time.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 9:59 AM
To: [EMAIL PROTECTED]
Subject: What is the value of auto-assigning beans?


This question may be asked out of ignorance, but it seems to me that using
the tag:

jsp:useBean id=MyBean scope=session class=Test.MyBean /
jsp:setProperty name=MyBean property=* /

to assign values from form fields to the bean is of limited use.

Let's assume that there are 2 text fields, A and B on Jsp1.jsp, with B
being required.  I have some code that checks to make sure B is populated,
if it's not, the browser returns to Jsp1.jsp.

The problem I run into is that I can populate A with a value, submit the
form, get returned to Jsp1.jsp, delete A and populate B, submit the form,
and continue.  I how have values for both A and B, even though A was blank.

I suspect that I'm not the first person to ask this question, is there an
obvious solution that I missed, if not, what do other people do to get
around this problem; do all of the assignements by hand?

Thanks.


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





Was there an answer to this? (setProperty and repeating form fields)

2001-05-29 Thread greyson . smith

I find myself in a situation similar to this, and I wondered if there was
ever an answer to the question.



In order to set my bean properties based on an incoming (POST'ed) HTML
form,
I'm using the following construct in a JSP page:

jsp:useBean id=ord class=ord.OrderBean scope=request
  jsp:setProperty name=ord property=*/
/jsp:useBean

It works fine except now I want to process something a little different.
I'm
working on an Order entry system and the Order Items are a repeating group
of
fields.  In my HTML form I have input fields named like partNumber0,
quantity0, price0 and partNumber1, quantity1, price1 that repeat for
each
potential item in an order.

Is there any way to use the jsp:setProperty construct to automatically
set
the properties in an OrderItems bean.  I'm guessing it might have something
to
do with indexed properties but I really can't see how this would work.  If
I
have my bean as

public class OrderItemBean
{
   String[] partNumber;
   ...

   public void setPartNumber( int index, String value ) {...}
   ...
}

Is the JSP runtime going to be able to take the partNumber0 field and be
able
to call my indexed-property setter method with the correct index.  What if
I
use the version

   public void setPartNumber( String[] value );

as my setter method?

--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





Re: Tomcat install on Cobalt.

2001-04-27 Thread greyson . smith


I've never installed tomcat on a cobalt server, but I'll take a crack at
your question.  You need to have the JAVA_HOME environment variable pointed
to the place you installed the jdk.  So if your jdk is in
/usr/local/jdk1.3, then your JAVA_HOME variable would equal
/usr/local/jdk1.3.  And the part about the path is just saying make sure
that the interpreter is in your path.  If you can go to a command prompt
and type java -version, or something like that, you should be fine.

A nice tutorial can be found at:

http://www.ccl.net/cca/software/UNIX/apache/



   
 
Charles Williams \(CEO\) 
 
hosting.mailing.list.account@acnshoTo: 
[EMAIL PROTECTED]
sting.com  cc:
 
Subject: Re: 
Tomcat install on Cobalt.  
27-04-01 12:28 PM  
 
Please respond to tomcat-user  
 
   
 
   
 





- Original Message -
From: Charles Williams (CEO)
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 3:43 PM
Subject: Tomcat install on Cobalt.


 Hello,

 Sorry to post without searching, but, the search function is down.

 I am installing Tomcat for the first time and must admit that the
 instructions leave a bit to be desired.

 I'm installing on a Cobalt Raq3i.  Below is the install list out of the
doc.


 1. Download the zip/tar.gz/whatever file from
 http://jakarta.apache.org/downloads/binindex.html.
 2. Unzip the file into some directory (say foo). This should create a new
 subdirectory named tomcat.
 3. Change directory to tomcat and set a new environment variable
 (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy.
 On UNIX you should type:
 for bash/sh TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME
 for tcsh setenv TOMCAT_HOME foo/tomcat

 ***Good till here *
 ** Here is where I'm lost  ***
 4. ? - Set the environment variable JAVA_HOME to point to the root
directory
 of your JDK hierarchy, then add the Java interpreter to your PATH
 environment variable.

So I take it noone knows how to install tomcat?

chuck


 Any help appreciated.

 Thanks
 chuck






--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





How to get the working directory?

2001-04-26 Thread greyson . smith

Apologies if this is off topic, but I was able to rationalize the post.
How do you get the working directory of a jsp or servlet -- short of
hard-coding the path?

The system property seems to point to where tomcat was started, which makes
a great deal of sense, but I'm not sure what other approach to take to get
the path of the jsp?

Thanks.

--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





RE: xalan and xerces

2001-04-18 Thread greyson . smith


Yes, that worked.  Thanks.



   
   
"Samson,   
   
Lyndon [IT]"  To: "'[EMAIL PROTECTED]'"   
   
lyndon.samson[EMAIL PROTECTED] 
   
@ssmb.comcc:  
   
  Subject: RE: xalan and xerces
   
18-04-01 02:57 
   
AM 
   
Please respond 
   
to tomcat-user 
   
   
   
   
   




In your tomcat.[bat|sh] place the xalan/xerces jar files b4 the xml.jar (
ie
tomcats xml parser ) reference. In tomcat 4.0 CLASSPATH will not be
available to your servlets/JSP's and WEB-INF/lib will be isolated.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 9:57 PM
To: [EMAIL PROTECTED]
Subject: xalan and xerces


I know this has been asked before, so I went to the archives.  I was a bit
unsure as to what the answer was, though.  Would someone be willing to
restate how to get xalan and xerces working for Tomcat 3.1?

I have a class that works fine outside of Tomcat, but when I parse inside
of Tomcat or use the classpath of tomcat at a command prompt, I get this
error:

java.lang.NoSuchMethodError
at
org.apache.xpath.DOM2Helper.getLocalNameOfNode(DOM2Helper.java:326)
at
org.apache.xalan.templates.TemplateList.getHead(TemplateList.java:471)
at
org.apache.xalan.templates.TemplateList.getTemplate(TemplateList.java:
528)
at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForE
ach.java:432)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplat
es.java:193)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tra
nsformerImpl.java:2202)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Trans
formerImpl.java:2085)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transformer
Impl.java:1219)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:
2942)
at java.lang.Thread.run(Thread.java:484)

Thanks





--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





xalan and xerces

2001-04-17 Thread greyson . smith

I know this has been asked before, so I went to the archives.  I was a bit
unsure as to what the answer was, though.  Would someone be willing to
restate how to get xalan and xerces working for Tomcat 3.1?

I have a class that works fine outside of Tomcat, but when I parse inside
of Tomcat or use the classpath of tomcat at a command prompt, I get this
error:

java.lang.NoSuchMethodError
at
org.apache.xpath.DOM2Helper.getLocalNameOfNode(DOM2Helper.java:326)
at
org.apache.xalan.templates.TemplateList.getHead(TemplateList.java:471)
at
org.apache.xalan.templates.TemplateList.getTemplate(TemplateList.java:
528)
at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForE
ach.java:432)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplat
es.java:193)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tra
nsformerImpl.java:2202)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Trans
formerImpl.java:2085)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transformer
Impl.java:1219)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:
2942)
at java.lang.Thread.run(Thread.java:484)

Thanks

--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





Re: Database Pooling

2001-03-15 Thread greyson . smith


I just set up PoolMan, which is working well so far, though it's nowhere
near production.  There are a lot of suggestions in the archives, another
one frequently suggested is jdbcpool from
http://www.bitmechanic.com/projects/jdbcpool/.  If you would like a quick
primer, let me know, it's quite easy to set up.



   
 
Johnathan Smith
 
dj_attitude_ny@To: [EMAIL PROTECTED] 
 
yahoo.com  cc: (bcc: Greyson Smith/CCMG/CVG)  
 
Subject: Database Pooling  
 
15-03-01 12:14 
 
PM 
 
Please respond 
 
to tomcat-user;
 
Please respond 
 
to john
 
   
 
   
 





I am doing some servlet programming and I would like
to setup a Database pool. Can someone please email me
back any help [EMAIL PROTECTED]

Thanks

=
If your into Body For Life, check out
http://clubs.yahoo.com/clubs/bodyforlifestatenislandny

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.





RE: Mod_jk error (worker.ajp12.host=localhost)

2001-03-12 Thread greyson . smith


My localhost was ill-defined in the hosts file.  When I pinged localhost, I
didn't get the correct address, so I fixed it, and the problem stopped.

I found the solution in the archives, and the person who lead me to the
problem used the ip of the machine rather than localhost, and that fixed
their problem.

good luck.



   
 
"Nathan Potter"
 
nathan@npottersTo: [EMAIL PROTECTED] 
 
tudio.com  cc: (bcc: Greyson Smith/CCMG/CVG)  
 
Subject: RE: Mod_jk error 
(worker.ajp12.host=localhost) 
09-03-01 11:15 
 
PM 
 
Please respond 
 
to tomcat-user 
 
   
 
   
 





I'm having a similar problem. What was wrong with you localhost?


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




RE: Mod_jk error

2001-03-07 Thread greyson . smith


When I had this problem it was caused by how my localhost was defined, so
this line:

worker.ajp12.host=localhost

was apparently causing me problems.  I fixed my localhost, and the error
has gone away.



   
  
"Simmons,  
  
Donald"  To: [EMAIL PROTECTED]
  
joe.simmons@cc: (bcc: Greyson Smith/CCMG/CVG) 
  
ca.com  Subject: RE: Mod_jk error 
  
   
  
07-03-01   
  
07:33 AM   
  
Please 
  
respond to 
  
tomcat-user
  
   
  
   
  





The workers.properties files appears to be correct. I may have to modify
the source of the mod_jk file and recompile to find out what file it is
looking for. A more descriptive message would help. Any other suggestions.
thanks!!

dj




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




Re: mailinglist vs newsgroup

2001-01-02 Thread greyson . smith


As long as it were "attached" to deja, it would be fine, but my firewall
blocks the news port, so I would be out of luck.  Also, I think that mail
serves a purpose that a newsgroup does not.  It seems that it's easier to
send a mail to a group for a configuration error, get an answer, and move
on without having to subscribe to a list or service.



   
   
"Jaap van der  
   
Molen"   To: [EMAIL PROTECTED]
   
[EMAIL PROTECTED]    cc: (bcc: Greyson Smith/CCMG/CVG) 
   
om  Subject: mailinglist vs newsgroup 
   
   
   
02-01-01   
   
12:15 PM   
   
Please 
   
respond to 
   
tomcat-user
   
   
   
   
   






No offense, but has anyone ever considered to put this whole mailinglist
into a newsgroup? We must be generating tons of traffic.

Re Jaap





--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




Re: How to use JDBC in JSP servlet

2001-01-02 Thread greyson . smith


Dave, I tried the link you supplied, and it didn't resolve, do you have a
different link by chance?



   
   
"Dave Smith"   
   
sat-guru@homTo: [EMAIL PROTECTED]
   
e.com   cc: (bcc: Greyson Smith/CCMG/CVG) 
   
 Subject: Re: How to use JDBC in JSP  
servlet
04-11-00   
   
01:41 PM   
   
Please 
   
respond to 
   
tomcat-user
   
   
   
   
   





Viet,

When you are learning the API, obviously
your first projects will use sql Connections
inside servlets and JSP. This is not very
maintainble code, though. A better plan is to
encapsulate all the JDBC code in a layer
between the JSP and the DB:

DB -- Persistence layer -- JSP -- User.

There is no cut and dried way to do this,
however. Yes, Connection Pooling is
essential. Again, there is no one way to do it.
For stand-alone systems you can use code from
Bitmechanics. In some environments (e.g.,
Websphere) connection pooling is built in.

A cool persistence layer can be found at
http://castor.exolabs.org/


Regards,

Dave





--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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




Question about Buffering

2000-12-07 Thread greyson . smith



I have a simple jsp that turns off buffering, and writes to the output stream,
then loops for 30 seconds and writes again to the output stream (source at the
bottom).

My expectation was that, since there was no buffering that as I wrote to the
stream, the result would print to the browser as the script ran, then 30 seconds
later the rest of the text would print.  Obviously this is a misconception, the
jsp executes and when it is complete it sends everything.

My question about the buffer is this, what if the buffer is filled, but the
script is still processing?  Is a second buffer filled or 3rd, etc. until the
processing is completed and then all buffers get combined and sent in the
stream?  Thanks, and apolgoies if the question is overly-simplistic.

Thanks.

%@page import="java.util.*" %
%@ page buffer="none" %
%
out.println("weoiruwieruwieru");
long lDelay = 1000*30;
try
{Thread.sleep(lDelay);
}
catch(InterruptedException e)
{
}
out.println("brweoiruwieruwieru");
out.close();
%

--
NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or entity
to which it is directed and may contain information that is privileged or
otherwise confidential.  If you have received this electronic mail transmission
in error, please delete it from your system without copying or forwarding it,
and notify the sender of the error by reply email or by telephone (collect), so
that the sender's address records can be corrected.