Re[2]: Exchange Language

2007-06-21 Thread 吴熊敏
Do you have MSN? My MSN is :[EMAIL PROTECTED] On Fri, 22 Jun 2007 12:39:47 +0800 "Tony Winslow" <[EMAIL PROTECTED]> wrote: > I'm also willing to. > > 2007/6/21, Johnny Kewl <[EMAIL PROTECTED]>: > > > > Take my email, and ask me anytime. > > If you ask me a question, also write it in pinyin, the

Re: Is it possible to run multiple instances of Jboss Server on a single Windows 2k box

2007-06-21 Thread Vinu Varghese
Hi Shravan, Yes it is possible, but you've to change the ports in the second instance. -regards Vinu shravan kumar wrote: Is it possible to run multiple instances of Jboss Server on a single Windows 2k box -- Vinu Varghese [EMAIL PROTECTED] www.x-min

Is it possible to run multiple instances of Jboss Server on a single Windows 2k box

2007-06-21 Thread shravan kumar
Is it possible to run multiple instances of Jboss Server on a single Windows 2k box -- Shravan kumar

Re: Exchange Language

2007-06-21 Thread Tony Winslow
I'm also willing to. 2007/6/21, Johnny Kewl <[EMAIL PROTECTED]>: Take my email, and ask me anytime. If you ask me a question, also write it in pinyin, then I can learn also. Your english is very good already. 我不喜欢VWP - Original Message - From: "吴熊敏" <[EMAIL PROTECTED]> To: "Tomcat U

Re: Comet example Tomcat 6 not working.

2007-06-21 Thread Tony Winslow
Could anybody make it detailed about the ChatServer sample? I even don't know how to run it! Thank you! 2007/6/22, Reich, Matthias <[EMAIL PROTECTED]>: There have been a lot of things fixed and enhanced in the Comet area since version 6.0.10. You should better try with version 6.0.13. Regards,

Re: No X509Certificate Attribute In IIS Redirected Request

2007-06-21 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > > I'm using: > >IIS V6.0 >JK 1.2.23 >Tomcat 6.0.13 > > No X509Certificate attribute is present in the request header received by > my servlet when using Client Authenticated SLL with IIS6 and JK1. > > If I use Apach

RE: The Apache Tomcat Native library which allows [yadda yadda yadda...]

2007-06-21 Thread Caldarale, Charles R
> From: MAHAINDRA Ketut [mailto:[EMAIL PROTECTED] > Subject: RE: The Apache Tomcat Native library which allows > [yadda yadda yadda...] > > You may download the Tomcat Native library from the following > location: > http://www.apache.org/dist/tomcat/tomcat-connectors/native/ That's just the so

RE: The Apache Tomcat Native library which allows [yadda yadda yadda...]

2007-06-21 Thread MAHAINDRA Ketut
Hello, You may download the Tomcat Native library from the following location: http://www.apache.org/dist/tomcat/tomcat-connectors/native/ Since your platform is Win32, get the Win32 distribution. The last version is 1.10 if I'm not mistaken. It is advised that you download from the mirror close

Re: domain sockets with mod_jk and apache

2007-06-21 Thread Bill Barker
"Dirk Koehler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm looking for some documentation how unix domain sockets can be used > with apache/tomcat/mod_jk...anybody who uses this environment? > The current mod_jk doesn't currently support domain sockets. You would h

RE: Multiple Contexts from single WAR

2007-06-21 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Multiple Contexts from single WAR > > OK... you cant do it from a WAR, the tomcat WAR deployment > seems to ignore contexts and always default to the name of > the WAR file. Not true. When the .war is located someplace other than the

Re: Multiple Contexts from single WAR

2007-06-21 Thread Johnny Kewl
Apologies OK... you cant do it from a WAR, the tomcat WAR deployment seems to ignore contexts and always default to the name of the WAR file. Try it with just one context and you'll see the behaviour. But you can do it from the standalone deployer... ie deploy the war file to any context

RE: Multiple Contexts from single WAR

2007-06-21 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Multiple Contexts from single WAR > > Chris, dont think you can... just so I understand it you thinking > http://localhost:8080/A > http://localhost:8080/B > http://localhost:8080/C > must all map to one web-app, say WebApp A th

Re: Multiple Contexts from single WAR

2007-06-21 Thread Johnny Kewl
Chris, to get an idea of how you can map with Apache in front of Tomcat, look at this link. http://tomcat.apache.org/connectors-doc-archive/jk2/jk/aphowto.html Its worth a read because often when the site gets bigger, you end up wanting to load balance, or use Apache to serve images so may

Re: Multiple Contexts from single WAR

2007-06-21 Thread Johnny Kewl
Chris, dont think you can... just so I understand it you thinking http://localhost:8080/A http://localhost:8080/B http://localhost:8080/C must all map to one web-app, say WebApp A that I dont think is possible But if you not using ROOT for anything else other than Welcome to Tomcat

Re: Multiple Contexts from single WAR

2007-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Hall wrote: > Hi, I'm experiencing some issues with getting correct behaviour on deploying > multiple Contexts based on a single WAR. I need to do this because whilst my > application is common to multiple contexts, I need to control Remo

Re: The Apache Tomcat Native library which allows [yadda yadda yadda...]

2007-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Søren, Søren Blidorf wrote: > I have just upgraded to Tomcat 6 and get the following error: > > INFO: The Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: [snip] > >

RE: Multiple Contexts from single WAR

2007-06-21 Thread Caldarale, Charles R
> From: Chris Hall [mailto:[EMAIL PROTECTED] > Subject: Multiple Contexts from single WAR > > I have defined multiple contexts in > conf/catalina/localhost/*.xml each of which use > a common docBase and this appears to create each > of the webapps on start-up. If you're going to play this game

Multiple Contexts from single WAR

2007-06-21 Thread Chris Hall
Hi, I'm experiencing some issues with getting correct behaviour on deploying multiple Contexts based on a single WAR. I need to do this because whilst my application is common to multiple contexts, I need to control RemoteAddress access to some of them via the relevant context Valve. I have define

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

2007-06-21 Thread Søren Blidorf
I have just upgraded to Tomcat 6 and get the following error: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programmer\Apache Software Foundation\Tomcat 6.0\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\W

Re: Configuring Tomcat 5.5 to use unicast membership discovery

2007-06-21 Thread Filip Hanik - Dev Lists
not in 5.5, in Tomcat 6 you can supply static members Filip Andrew R Feller wrote: Hello everyone, Is it possible to configuring Tomcat 5.5 to use unicast for the membership discovery mechanism rather than multicast? I have read through both the Tomcat Clustering/Session Replication (

domain sockets with mod_jk and apache

2007-06-21 Thread Dirk Koehler
Hi, I'm looking for some documentation how unix domain sockets can be used with apache/tomcat/mod_jk...anybody who uses this environment? thx, dirk - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: using mod_jk: how to set content-type

2007-06-21 Thread Johnny Kewl
- Original Message - From: "Gregor Schneider" <[EMAIL PROTECTED]> On 6/21/07, Johnny Kewl <[EMAIL PROTECTED]> wrote: You know I just had another thought yes it happens sometimes. Wrong. It does ALWAYS happen: Ha ha... no its my warped sense of humor... sometimes I have thoughts

Re: using mod_jk: how to set content-type

2007-06-21 Thread Gregor Schneider
On 6/21/07, Johnny Kewl <[EMAIL PROTECTED]> wrote: You know I just had another thought yes it happens sometimes. Wrong. It does ALWAYS happen: Apache httpd (2.x) in conjunction with mod_jk does not touch any headers passed from mod_jk, thus there's no possibility to change them, not with m

RE: Comet example Tomcat 6 not working.

2007-06-21 Thread Reich, Matthias
There have been a lot of things fixed and enhanced in the Comet area since version 6.0.10. You should better try with version 6.0.13. Regards, Matthias > -Original Message- > From: Ritesh Kumar [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 21, 2007 11:43 AM > To: users@tomcat.apache.o

Re: using mod_jk: how to set content-type

2007-06-21 Thread Johnny Kewl
You know I just had another thought yes it happens sometimes. I have a feeling you doing html parsing, and just wanted to say that it depends very much on how well that 3rd party servlet does XHTML... probably badly ie little all over the place which will make the XML parser you using thro

Re: using mod_jk: how to set content-type

2007-06-21 Thread Gregor Schneider
Had a smiliar problem here. When using mod_jk, apache does not touch the headers created by Tomcat. Solution: I wrote a filter that changed the headers after returning from Tomcat and installed this filter into Tomcat. Servlets and filtering (Servlet-Spec 2.3): http://java.sun.com/products/se

Re: using mod_jk: how to set content-type

2007-06-21 Thread Richard Kaye
Thanks for the quick reply, Rainer. Yes a servlet filter makes sense, though not as easy as a one-liner httpd directive. I guess my immediate response is surprise that (since this must be a common problem with so many poorly written web-clients doing content-negotiation so badly out in the big-

Re: using mod_jk: how to set content-type

2007-06-21 Thread Johnny Kewl
Dont know Apache in that detail, possibly a guru maybe able to fix the way you attempting, but I think it should be relatively easy to add a filter to tomcat to do that there you can intercept both request and response. ie intercept the request, if browser let it go, if XSLT engine, pretent

Re: using mod_jk: how to set content-type

2007-06-21 Thread Rainer Jung
I had a similar problem with mod_prox and mod_headers for Apache httpd 2.2 today, and I would expect, that changing the headers with mod_header does not work. I see no easy way (but maybe others out there). You could hack ajp_unmarshal_response() in common/jk_ajp_common.c. Alternative: experi

Re: No X509Certificate Attribute In IIS Redirected Request

2007-06-21 Thread Rainer Jung
OK, then you should be able to retrieve them on the tomcat side with request.getAttribute(). [EMAIL PROTECTED] wrote: OK I enabled JK1 debug level logging and can see that IIS6 *is* relaying the client authenticated SSL details in the AJP stream. I see attributes called: CERT_ISSUER

Re: No X509Certificate Attribute In IIS Redirected Request

2007-06-21 Thread Rainer Jung
I never used it. If you have a test system, you could switch you switch the log level of the isapi plugin to debug and check, if your plugin log file shows messages containing Client Certificate encoding Then you would at least find out, if the plugin detected a client certificate. Regards,

Re: Tomcat UploadServlet Error

2007-06-21 Thread Hassan Schroeder
On 6/21/07, Fletcher, Nita Ms. OTC/Contractor <[EMAIL PROTECTED]> wrote: Yes it is a new install, Apache Tomcat/4.1.31 bundled with CA Unicenter SD. Logs show connector started successfully. GET command works . The upload is the only thing that is failing as far as I can tell. Which logs should

using mod_jk: how to set content-type

2007-06-21 Thread Richard Kaye
Hi I am using Tomcat5.5, Apache2.2 and mod_jk1.2 and a third-part servlet which I can't re-program or configure. I need to sniff the HTTP "User-Agent" and/or "Accept" fields and change the content-type (currently "text/html;charset=UTF-8") that the servlet returns based on these. using mod_hea

Re: No X509Certificate Attribute In IIS Redirected Request

2007-06-21 Thread Simon . Temple
OK I enabled JK1 debug level logging and can see that IIS6 *is* relaying the client authenticated SSL details in the AJP stream. I see attributes called: CERT_ISSUER CERT_SUBJECT CERT_COOKIE HTTPS_SERVER_SUBJECT CERT_FLAGS HTTPS_SECRETKEYSIZE CERT_SERIALNUMBER HT

RE: Tomcat UploadServlet Error

2007-06-21 Thread Fletcher, Nita Ms. OTC/Contractor
Yes it is a new install, Apache Tomcat/4.1.31 bundled with CA Unicenter SD. Logs show connector started successfully. GET command works . The upload is the only thing that is failing as far as I can tell. Which logs should I be looking at? Thanks Nita Fletcher LAN/WAN Engineer III STG, Inc. IT

RE: classpath and public_html directories

2007-06-21 Thread Caldarale, Charles R
> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] > Subject: Re: classpath and public_html directories > > Now, the next question is, does that mean that each user can only have > one webapp!? That appears to be the case; effectively, each user *is* a webapp. Shouldn't be too hard to write your

RE: Two IIS web servers

2007-06-21 Thread Ian Buzer
Great info Rainer - thanks very much. Ian > -Original Message- > From: Rainer Jung [mailto:[EMAIL PROTECTED] > Sent: 21 June 2007 16:53 > To: Tomcat Users List > Subject: Re: Two IIS web servers > > Phi-Long LE wrote: > > Ian, > > > > reading optional directives you should probably use t

Re: Two IIS web servers

2007-06-21 Thread Rainer Jung
Phi-Long LE wrote: Ian, reading optional directives you should probably use the worker.xxx.method, its value is Request, session, traffic or busyness Default is request. For most use cases this should work best. How does it work? 1) Multiple Web server instances do not share any information

Re: Null

2007-06-21 Thread Steve Ochani
> options: > define null as empty string e.g. > String null = ""; null is a reserved word in java, you can't redfine it. > OR > change compare to == "" > ?? if (null == rs.getString("col_foo")) works just fine. http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html#getString(int)

Re: Null

2007-06-21 Thread Hassan Schroeder
On 6/21/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote: I am trying to render a table in jsp page that read its value from the database, sometimes, the database returns null values, and so, the whole table couldn't be rendered. Is there any way to deal with null values. Pass your ResultSet into

Re: classpath and public_html directories

2007-06-21 Thread Nathan S. Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Caldarale, Charles R wrote: - -- snip -- > > I haven't tried this yet, but I think the CIMMS_user directory shouldn't > be there. My understanding of the doc is that the HomesUserDatabase > Listener creates one webapp (docBase) per user - not an ap

Re: Null

2007-06-21 Thread Martin Gainty
options: define null as empty string e.g. String null = ""; OR change compare to == "" HTH M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message i

No X509Certificate Attribute In IIS Redirected Request

2007-06-21 Thread Simon . Temple
Hi, I'm using: IIS V6.0 JK 1.2.23 Tomcat 6.0.13 No X509Certificate attribute is present in the request header received by my servlet when using Client Authenticated SLL with IIS6 and JK1. If I use Apache 2.2 with the mod_proxy modules it works fine. Is this a bug? If so, in what.

Re: Two IIS web servers

2007-06-21 Thread Phi-Long LE
Ian, reading optional directives you should probably use the worker.xxx.method, its value is Request, session, traffic or busyness Le 21/06/2007 16:00, Ian Buzer a écrit : Thanks for that Rainer. How about when a new session comes in? Does mod_jk obtain information from each Tomcat about its

Re: Tomcat UploadServlet Error

2007-06-21 Thread Hassan Schroeder
On 6/21/07, Fletcher, Nita Ms. OTC/Contractor <[EMAIL PROTECTED]> wrote: Thank you, but I have already done that. I am new to tomcat Without knowing what version of Tomcat you're using, it's hard to say whether your config snippet is correct. In any case -- Is this a new installation, or one

Configuring Tomcat 5.5 to use unicast membership discovery

2007-06-21 Thread Andrew R Feller
Hello everyone, Is it possible to configuring Tomcat 5.5 to use unicast for the membership discovery mechanism rather than multicast? I have read through both the Tomcat Clustering/Session Replication (http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html) and Configuration Reference (

RE: Tomcat UploadServlet Error

2007-06-21 Thread Fletcher, Nita Ms. OTC/Contractor
Thank you, but I have already done that. I am new to tomcat so I am copying the text so that you can take a look at it. - Nita Fletcher LAN/WAN Engineer III STG, Inc. ITSS Contract, WFH -Original Message- From: Jason Lanpher [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21,

RE: Two IIS web servers

2007-06-21 Thread Ian Buzer
Thanks for that Rainer. How about when a new session comes in? Does mod_jk obtain information from each Tomcat about its current load, or does it base it on the number of requests that that particular instance of mod_jk has forwarded to Tomcat? If it's the latter, is this likely to cause problems?

RE: Tomcat UploadServlet Error

2007-06-21 Thread Jason Lanpher
Hi Nita, I am mobile right now so I don't have the server.xml file in front of me. But you should make sure to uncomment the connector for port 8443 in the server.xml file? You can get that error if it has not been uncommented. Jason Lanpher [EMAIL PROTECTED] http://www.stealthnet

RE: classpath and public_html directories

2007-06-21 Thread Caldarale, Charles R
> From: Nathan S. Haigh [mailto:[EMAIL PROTECTED] > Subject: Re: classpath and public_html directories > > Surely, each webapp directory should e totally independent!? Yes, they are. Each webapp uses a separate classloader. > Could the jar files in > /home/user/public_html/CIMMS_user/WEB-INF/l

Re: Two IIS web servers

2007-06-21 Thread Rainer Jung
Yes, this will work. The only bad thing will be, that the requests belonging to one session will be logged partially on both of the IIS instances, so if you try to debug a problem, you always need to look at both IIS servers. Stickyness works like this: - you set a unique jvmRoute in the engi

Tomcat UploadServlet Error

2007-06-21 Thread Fletcher, Nita Ms. OTC/Contractor
We are receiving the following error when trying to upload documentation. Any assistance would be greatly appreciated. Unable to connect to 'https://server:8443/CAisd/UploadServlet' Please make sure that the servlet path is correct, and that Tomcat is up and running. Would you like to retry? Nita

Re: Configuring Tomcat 5.5 and IIS 6

2007-06-21 Thread gbarnas
404's indicate that the file can't be found. IIS needs to be able to "see" the tomcat files/folders in order to know to invoke tomcat.. IIS can't magically see Tomcat's folders, so you may need to define a virtual folder in IIS to the Tomcat JSP files. Have a look at http://www.innotechcg.com/d

Re: Null

2007-06-21 Thread Reinhardt Christiansen
- Original Message - From: "Mohammed Zabin" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 21, 2007 6:45 AM Subject: Null Hi All Anyone knows how to deal with null values in JDBC ResultSet?? I am trying to render a table in jsp page that read its value from the d

Re: Null

2007-06-21 Thread Richard Sayre
There is an ISNULL function in Transact SQL and a NVL function in PL/SQL that will return a default value if the data is null. That is if you don't mind writing separate SQL for each database. On 6/21/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote: Hi All Anyone knows how to deal with null value

Two IIS web servers

2007-06-21 Thread Ian Buzer
Hi, I currently have one IIS server balancing requests to two Tomcats using JK 1.2. I am using JK to provide sticky sessions and all is working well. I would like to be able share requests across a second IIS server, however I am unable to create sticky sessions at the web server level so request

Re: Null

2007-06-21 Thread Brantley Hobbs
Mohammed, While it may not work in all browsers, you can try the "empty-cells" CSS property in the table's style. Render the table tag thusly: ... An alternative is what the other guy said; simply check for nulls before rendering, and render a non-breaking space if you have a null. I'd sh

Re: Null

2007-06-21 Thread Tim Funk
The syntax below is correct. There must be something else syntactically incorrect in your jsp causing your woes. -Tim Mohammed Zabin wrote: I tried it the other way, if( rs.getString("field") == null ) but the compiler plames that null can't be compared to string On 6/21/07, Tim Funk <[EM

Re: Error while starting the Tomcat

2007-06-21 Thread Johnny Kewl
WEB-INF\lib\servlet-api.jar The Tomcat Libs are getting into your web-app they must not. When you make a servlet, you will see that it adds a folder to your libs Tomcat5.5 or whatever. Its special, because it allows you do write code and debug, but it actually never puts them into the web/

Re: Null

2007-06-21 Thread Mohammed Zabin
I tried it the other way, if( rs.getString("field") == null ) but the compiler plames that null can't be compared to string On 6/21/07, Tim Funk <[EMAIL PROTECTED]> wrote: if (null == rs.getString("col_foo")) { out.println(" "); } else { // Evil since this doesn't escape the xml - fo

RE: Null

2007-06-21 Thread Scott Marshall
Hi Mohammed This isn't the best forum to ask this kind of question : try something like http://www.javaranch.com/, you'll get good answers from there. As an interim, check for null values before attempting to display any value. Something like Jakarta commons StringUtils package is a big help in k

Re: Null

2007-06-21 Thread Tim Funk
if (null == rs.getString("col_foo")) { out.println(" "); } else { // Evil since this doesn't escape the xml - for edutainment only out.println("" + rs.getString("col_foo") + ""); } -Tim Mohammed Zabin wrote: Hi All Anyone knows how to deal with null values in JDBC ResultSet?? I am t

Null

2007-06-21 Thread Mohammed Zabin
Hi All Anyone knows how to deal with null values in JDBC ResultSet?? I am trying to render a table in jsp page that read its value from the database, sometimes, the database returns null values, and so, the whole table couldn't be rendered. Is there any way to deal with null values. Thanks

Re: Exchange Language

2007-06-21 Thread Johnny Kewl
Take my email, and ask me anytime. If you ask me a question, also write it in pinyin, then I can learn also. Your english is very good already. 我不喜欢VWP - Original Message - From: "吴熊敏" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 21, 2007 7:15 AM Subject: Exchang

Comet feature in Tomcat

2007-06-21 Thread Tony Winslow
I'm very interested in Comet features added in Tomcat 6. But I don't know how to use it. Could anybody give me a HelloWorld example of it? Thank you!

Comet example Tomcat 6 not working.

2007-06-21 Thread Ritesh Kumar
Hi, I am trying to run the comet sample given along with tomcat. The sample is not working correctly most of the time. I am using NIO connectors and Tomcat version is 6.0.10. I have some doubts also: 1) In the ChatServer example, a thread (using a Runnable MessageSender) is sending responses th

Re: classpath and public_html directories

2007-06-21 Thread Nathan S. Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Smith wrote: -- snip -- > Also your log indicates you have packages declared the same name as some of your classes. Modify, MassList, Mass, Adducts, and AdductList should be declared to be of package db, not db.Modify for examp

RE: how to generate java heap dump from tomcat 5.0.27

2007-06-21 Thread Guan Yu
but after setting options, how to generate heap dump? i found "D:/java.hprof". but i encountered error when i analyze it using HAT. Started HTTP server on port 7000Reading from d:/java.hprof...Dump file created Thu Jun 21 15:01:28 SGT 2007java.io.EOFExceptionat java.io.DataInputStream.