AW: AW: Load all JSP pages on startup

2005-06-30 Thread Bernhard Slominski
It's even better than that: the webapp itself is portable, without the Tomcat libraries. The precompilation process just churns your JSPs into servlets at build time instead of runtime. Let me add somthing here, it's right that the servlets are build at compile time, but they still use

Re: Using Tomcat for communicating direct TCP/IP?

2005-06-30 Thread Sergey Pariev
Hello. You might try quickserver (http://quickserver.org/) - very nice tcp-ip server lib, I've used it in my previous project for the very same purposes you described. It can do db connection pooling AFAIR and is pretty robust. The only problem I faced was sending big chunks of data 2-3 MB so

Re: Host Context Configuration

2005-06-30 Thread Chris. Grobmeier
Hi! what happens if u remove the standard root-app ?? i checked this out and realized that deep links work. I guess my problem is not in tomcat, but in my Struts-Configuration. It seems my default-page forward forwards to the wrong host. thanks anoop for the tip! this was exactly the hint i

Java processes in tomcat...

2005-06-30 Thread Gulshan Babajee
Hi, I've posted this question sometimes ago, but did not receive any reply. Am sending it again if ever someone has got an answer meanwhile Am actually using tomcat version 5.0.28 on Red Hat Linux 6.2. What i've notice is that each time i compile my java classes, copy them to /WEB-INF/classes

Tomcat in JBoss 4.0.3RC1 and Sun's Java Server Faces

2005-06-30 Thread Geoffrey
Our application uses Sun's JSF implementation. On JBoss 4.0.2 it deploys fine, but on JBoss 4.0.3RC1 it throws a ClassCastException: at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711) ... at

Apache 2 Tomcat 5.5

2005-06-30 Thread Paul Wallace
Hello, Can somneone point me in the right (any) direction of documentation/resource on how to integrate the above two please? -- thanks Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Java processes in tomcat...

2005-06-30 Thread Øyvind Johansen
Possible reasons (not really sure here): You open a filestream, but you do not close it after use You start a Thread that never finishes (no stop when tomcat runs destroy() on your webapp) You start a ServerSocket listener that doesn't timeout or stop gracefully. Some other reason I do not see.

Extra newline characters appenden to taglibs output?

2005-06-30 Thread Mikolaj Rydzewski
Hello, I use Tomcat 5.0.30. I have problems with taglibs generated from tagfiles. Tomcat appends extra newline character at end of tag output. Example: Tagfile with just one line, rally without newline characters, located in WEB-INF/tags/sample.tag with one word: Sample And test jsp

problem :integration of iis6.0 with tomcat5.0

2005-06-30 Thread vishwam
hi, all I have developed a web application tomcat5 , I want to use IIS to serve my http requests, I followed below procedure downloaded isapi_redirect2.dll and kept it in my catalina_home\bin host name is dotnetserver cretaed workers2.properties file as following

Re: Using Tomcat for communicating direct TCP/IP?

2005-06-30 Thread Bhaskar
Keke, if it is within intranet then you can try Tibco RV (uses udp so it should be faster than tcp). It is robust and proven Bhaskar Keijo Lehto wrote: Hi Bhaskar, I've understood (please correct me if I'm wrong) that both JavaSpaces and RMI are somewhat Java-specific techniques. My usage

RE: Extra newline characters appenden to taglibs output?

2005-06-30 Thread Raghupathy,Gurumoorthy
Can you send the code of the sampleTag ? -Original Message- From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Sent: 30 June 2005 10:30 To: Tomcat Users List Subject: Extra newline characters appenden to taglibs output? Hello, I use Tomcat 5.0.30. I have problems with taglibs

RE: Java processes in tomcat...

2005-06-30 Thread Surendrakumar Viswanathan \(suviswan\)
Which compiler do you use for compiling JSP pages also have you enabled fork during jsp compiler. I think there are some known issues with this fork option. -Surendra -Original Message- From: Øyvind Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 2:35 PM To: 'Tomcat

Re: Extra newline characters appenden to taglibs output?

2005-06-30 Thread Mikolaj Rydzewski
Raghupathy,Gurumoorthy wrote: Can you send the code of the sampleTag ? Everything is there: http://bsd.miki.eu.org/~wintermute/web/ -- Mikolaj Rydzewski [EMAIL PROTECTED] Becomo S.A. tel. (12) 2927104 smime.p7s Description: S/MIME Cryptographic Signature

WebSphere SOAP under tomcat

2005-06-30 Thread Weseloh, Markus
Hi, currently I'm developing an application for Tomcat 5.0.28. Now I want to call a SOAP service but for this service exists only a client implementation for the WebSphere libs. Is there a way to use this client implementation under an standalone Tomcat? The first missing dependency is the file

Re: WebSphere SOAP under tomcat

2005-06-30 Thread Bruno Georges
I would create a stub from the WSDL if you have it. Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000

Re: WebSphere SOAP under tomcat

2005-06-30 Thread Bruno Georges
If you have the WSDL you can generate clients very easily. For AXIS as wella s PHP, Perl, etc... For Java use tools suchas wsdl2java, then SOAP implementation such as axis will do. Hope this helps. Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000

RE: Java processes in tomcat...

2005-06-30 Thread Gulshan Babajee
By default fork is enabled, but for the compiler, I don't know. How could I know which compiler is being used -Original Message- From: Surendrakumar Viswanathan (suviswan) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 3:10 PM To: Tomcat Users List Subject: RE: Java processes in

AW: WebSphere SOAP under tomcat

2005-06-30 Thread Weseloh, Markus
Hi, I have to confess that I'm an Axis beginner. I've managed to write my own WebService in Axis and generate the corresponding client stub. But the specific service I want to use diverges from the standard. The people who generated the WebSphere client implementation said, that they have to

how to customize mod_jk error messages

2005-06-30 Thread Michal Kwiatek
Hello all, I'm trying to find a way to customize the following mod_jk error message: OK The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error

Jsp Pre-compilation

2005-06-30 Thread Nils Liebelt
Hi all, I have trouble pre-compiling my jsp-pages. I wrote following ant target: target name=jspc depends=build taskdef classname=org.apache.jasper.JspC name=jasper2 classpath id=jspc.classpath fileset dir=${tomcat.home}/bin

No more than 500 threads on Windows 2003?

2005-06-30 Thread Michael Kleinhenz
Hi, I'm currently integrating a SOAP-based middleware on Tomcat (5.5.9) with Sun JDK 1.5.0_02 and get into problems when using maxThreads with a value greater than 500. Tomcat locks up completely without getting back to normal operations after a while. No exception or error is reported in the

AW: Jsp Pre-compilation

2005-06-30 Thread Bernhard Slominski
Hi Nils, two things: 1. I would use an absolute path instead of the realitive one ./hummingbird I guess jasper just can't pick up your jsps! 2. outputDir: You set it to WEB-INF/classes but what you create are actually java source files, so this is not right, even tohough it doesn't explain the

Re: No more than 500 threads on Windows 2003?

2005-06-30 Thread delbd
Just by curiosity, does it have something like '511 Threads is ok but 512 fails?' :D Le Jeudi 30 Juin 2005 15:09, Michael Kleinhenz a écrit : Hi, I'm currently integrating a SOAP-based middleware on Tomcat (5.5.9) with Sun JDK 1.5.0_02 and get into problems when using maxThreads with a

RE: Java processes in tomcat...

2005-06-30 Thread Surendrakumar Viswanathan \(suviswan\)
Check your web.xml (under TOMCAT_ROOT/conf) -Surendra -Original Message- From: Gulshan Babajee [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 5:34 PM To: 'Tomcat Users List' Subject: RE: Java processes in tomcat... By default fork is enabled, but for the compiler, I don't

Re: making clear

2005-06-30 Thread Tim Funk
Tomcat can be used with any version of apache. -Tim ganesan malairaja wrote: hi guys i already have apache 2, java jdk 1.4.2 .. i need to know can i use tomcat version 5.0.x or must have version 4.. - To unsubscribe,

Frames and request

2005-06-30 Thread Carlos Bracho
Hello. I am working with frames (I know it's a bad practice... but I cannot do anything about it) well the problem is: I have one jsp file (outter.jsp) which has 2 frames (inner1.jsp and inner2.jsp), when I forward to outter.jsp I can see the request's attribute, but inner1.jsp and inner2.jsp

[OT] wildcard servlet mapping also catching jsps

2005-06-30 Thread Allistair Crossley
Hi Guys, Having a real ball ache with a requirement. We want to handle any URL with a Spring controller (servlet for those not into Spring). Therefore http://ourserver/wacky/url http://ourserver/something We want coming to our controller. Why? Because we have fancy page lookup and redirect

Re: Frames and request

2005-06-30 Thread Frank W. Zammetti
On Thu, June 30, 2005 11:32 am, Carlos Bracho said: Hello. I am working with frames (I know it's a bad practice... but I cannot do anything about it) well the problem is: Whoever told you using frames is a bad practice was probably scared of them :) I find a lot of people see that it takes a

iterate on a value

2005-06-30 Thread Dewitte Rémi
Hello ! In my form , i ask the number of children. On the next page, i'd like to display as many textboxes as children to get their name. logic:iterate provides iteration on array or collection, how can i iterate on the number of children ? Thanks !

Re: iterate on a value

2005-06-30 Thread David Rickard
If you don't mind mixing Struts and JSTL, use a c:forEach loop, with the end value being the number of children parameters; At 11:00 AM 6/30/2005, Dewitte Rémi wrote: Hello ! In my form , i ask the number of children. On the next page, i'd like to display as many textboxes as children to get

java.util.zip.ZipException: invalid block type

2005-06-30 Thread Ben Anderson
Hi all, I'm having trouble starting tomcat. This happened after I deleted the temp and work directories. I recreated the temp directory because it seemed this was a problem. Now I'm getting this stack trace: Apache Tomcat/4.1.31 java.util.zip.ZipException: invalid block type at

Remote deployment

2005-06-30 Thread Vernon
I need to use the Ant to do remote deployment on TC, not using war file format if possible. I have done some search on the web and don't find the information I need. My development box is Window XP and the deployment box is Linux. Can any one point out an online documentation in this regard?

Re: Remote deployment

2005-06-30 Thread Anoop kumar V
maybe you just want to ftp the files to the correct location... u can ftp the war file - that would be easier I think. -Anoop On 6/30/05, Vernon [EMAIL PROTECTED] wrote: I need to use the Ant to do remote deployment on TC, not using war file format if possible. I have done some search on the

Re: java.util.zip.ZipException: invalid block type

2005-06-30 Thread David Delbecq
Redeploy your wars i'll say Le Jeudi 30 Juin 2005 18:43, Ben Anderson a écrit : Hi all, I'm having trouble starting tomcat. This happened after I deleted the temp and work directories. I recreated the temp directory because it seemed this was a problem. Now I'm getting this stack trace: Apache

RE: Apache 2 Tomcat 5.5

2005-06-30 Thread dan stephens
I used these in reference to Tomcat 5.0.28 and Apache 2. Maybe they will send you in the right direction. http://httpd.apache.org/docs-2.0/install.html#page-header Build apache, compile, install etc.. http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1 configuration extras.

RE: How to catch and fix this error

2005-06-30 Thread dan stephens
can you post excerts from the localhost log and catalint.out? From: st946tbf [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: How to catch and fix this error Date: Wed, 29 Jun 2005 14:15:55 -0400 We have

Re: java.util.zip.ZipException: invalid block type

2005-06-30 Thread Ben Anderson
I'm not deploying wars. I'm just pointing to a directory. I've tried cleaning and redeploying this. The weird thing is that this is happening to the other developer on the project as well. Host name=localhost debug=0 appBase=c:\work\build\cocoon unpackWARs=true

Change log level for catalina.out

2005-06-30 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Can I change the log level for this? -SB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to catch and fix this error

2005-06-30 Thread Ben Kim
We have a web app running on Tomcat 5.028. When running at our company, it works. However, it crashes (exits) at client site when access certain page (it used to work). When we ask them to sent us the database used and run it at our company, it works fine. There is an Sql query in this

Re: Change log level for catalina.out

2005-06-30 Thread Anoop kumar V
Yes - check out server.xml under the TOMCAT_HOME/conf folder. search for debug - if it is 0 I think increasing it to 1 will give u some detailed level logging - u can go on upto 9. ( I have not tried this - purely from documentation) ATB, Anoop On 6/30/05, BATCHELOR, SCOTT (CONTRACTOR) [EMAIL

Re: Remote deployment

2005-06-30 Thread Tim Diggins
Hi - Have you read the Application Developers Guide? http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/ contains a great overview of best practices a very useful build.xml http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/build.xml.txt as for docs of the tasks themselve, I think the

Re: java.util.zip.ZipException: invalid block type

2005-06-30 Thread David Smith
I would say if both you and another developer are getting this error, it would mean one of your .jar files is corrupt. Check them by unzipping them into a temp directory or replace them with known working versions. --David Ben Anderson wrote: I'm not deploying wars. I'm just pointing to a

shared session question

2005-06-30 Thread Sergio Ahumada Navea
does anybody knows how can I use the findSession function to retrieve shared sessions from multiples applications ? I have been trying with a local StandardManager class, but it ins't work to me. What I want is to be able of getting some attributes from a session created in another application

Replacing soon- to-expire SSL Certificate

2005-06-30 Thread Waylim Lee
Hi all, My SSL certificate is about to expire in several days. I'm unsure how to go about replacing it once I get a new one from Thawte. Can I just import the new certificate into my existing alias/keystore or do I have to delete the existing alias first? If I delete an alias, does this

confused J2SE or J2EE

2005-06-30 Thread ganesan malairaja
hi guys i am confused about using J2SE or J2EE which one i am supposed to use ? if i use J2SE do i have to install JRE also ? please clarify .. i am stuck here .. i already have Borland JBuilder , which comes with jdk 1.4, do i need to install another copy of J2SE or use the one comes

Change classpath in webapp

2005-06-30 Thread Weseloh, Markus
Hallo, I've a question about property files in web applications. In my app for Tomcat 5.0.28 I want to use some property files for configuration (e.g. log4j.xml is one of them, but I've app specific property files too). Since these files have to be placed in the class path, so that my app can

RE: Java processes in tomcat...

2005-06-30 Thread Gulshan Babajee
Hi again, From the web.xml file in tomcat/conf, I found that fork = false and compiler is 'javac'. -Original Message- From: Surendrakumar Viswanathan (suviswan) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 5:55 PM To: Tomcat Users List Subject: RE: Java processes in tomcat...

JVM in Tomcat

2005-06-30 Thread Gulshan Babajee
Hi, Can anyone please tell me how could I verify that all my applications running in tomcat are using the same JVM instance. thanks in advance -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.8/35 - Release Date: 30-06-2005