Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment
On 02/08/2011 02:11, Bob DeRemer wrote: Hi Mark, Actually, in the logs it does tell me that ExpandWar deleteDir failed. This is because my extensions I have are actually JAR files that we're dynamically loaded so we don't have to restart the webapp. I'm using the addUrl hack, but by casting the main webapp's Thread.currentThread().getContextClassLoader() to a URLClassLoader. From a dynamic loading standpoint, it works great! It allows extension classes in an extension JAR to derive from classes in our built-in product JAR(s) loaded by the same [I'm assuming] webapp classloader. The problem is, when I shutdown/undeploy the webapp, everything else gets deleted, but not the JAR(s) that are dynamically loaded. Tomcat should not be holding on to these because I am NOT using the System class loader to load them. Problem is, I'm not sure why these are not being unloaded. You'll need to get a profiler to see what is holding on to references to those JARs. Is there any way to force tomcat to release these? I tried putting the antiJARLocking=true in the main Context.xml as well as a local context.xml in META-INF and neither of these worked. Without knowing what is holding on to the reference, it is pretty much impossible to determine the best way to solve this problem. Mark Thanks in advance, Bob -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, August 01, 2011 3:44 PM To: Tomcat Users List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 01/08/2011 20:32, Bob DeRemer wrote: Thanks, but I need to do this in a production environment, where we're deploying/re-deploying a WAR and there is no eclipse IDE. In addition, I am dynamically adding extensions to our webapp without having to restart our webapp, which is what republishing from Eclipse does. Any messages in the logs? Tomcat 7 will report if it can't delete a file. I don't recall if Tomcat 6 does. If a file is under the docBase and is not deleted it is because something (probably your app) still has the file open. You need to close the files before you redeploy. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Upgrading from Tomcat 7.0.8 to 7.0.10 and higher causes Old Generation memory problems
Just for completeness on anyone reading this... Setting development mode to false has vastly improved the performance, as is no doubt already known by most people! My Old Generation memory now cycles nicely, clearing out by 75% each time. I also added the checkInterval parameter (at anything greater than zero) to enable background compiling of JSPs, otherwise any changes to the JSP files are not reflected on the website if development mode is false. Thanks again for the help Mark... and guess what... we have since been asked to upgrade to Tomcat-7.0.19 by our PCI auditors! Useful! Ian On 29 July 2011 13:09, Ian Marsh i...@sportplan.com wrote: Bugger thanks. I looked at this but, when I did, I simply compared the two web.xml files between Tomcat-7.0.8 and Tomcat-7.0.10 to see if a specific setting for development mode was used differently, but the two files were exactly the same, with no development mode setting mentioned. Which means they are both running in development mode, but with different behaviours, as I have only just seen that the default setting for it is true. I will try running Tomcat-7.0.10 with development mode set as false to see if this fixes it. Thanks again, sorry for such an oversight. On 29 July 2011 12:27, Mark Thomas ma...@apache.org wrote: On 29/07/2011 09:53, Ian Marsh wrote: Ok thanks... so here's the trace of the 3 biggest org.apache.jasper.servlet.JspServletWrapper objects. I'm just showing the path of the objects that retain the biggest sizes at each nested level to save from overkill on detail. There are references to parent objects at some levels which show a larger retained size but I expect that's normal. If it would be useful to see all nested objects at each level, no problem, but here's a first look... 1) + org.apache.jasper.servlet.JspServletWrapper (1,608,752) =+ ctxt org.apache.jasper.JspCompilationContext (1,602,384) ==+ jspCompiler org.apache.jasper.compiler.JDTCompiler (1,601,032) ===+ pageNodes org.apache.jasper.compiler.Node$Nodes (1,600,952) Which takes us back to my comment of almost a week ago. You have development mode enabled which retains the pageNodes for improved error messages. Disable development mode and the memory usage should fall. I don't recall any changes to this code bewteen 7.0.8 and 7.0.10 but to be sure, I have double checked that disabling development mode does indeed have the desired effect. To fix this: - edit $CATALINA_BASE/conf/web.xml - find the definition for the servlet named jsp - add the following init parameter init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat 7: Why is JDK needed ?
Hallo, --- Christopher Schultz ch...@christopherschultz.net schrieb am Di, 2.8.2011: The message is correct as stated; when JAVA_HOME is used, it *must* point to a JDK. If you want a specific JRE, you must set JRE_HOME, not JAVA_HOME. Well, if JDK is not needed anymore, why bother setting JAVA_HOME, why is it mentioned at all ? Because you have a choice: JRE or JDK. Some people have both. Some only have one. Hence the choice. Well, I have to accept this opinion. But secretly I would still think that is an obsolete message :) Why not only to set JRE_HOME ?!? Sorry, I can't parse that question. I meant, if JDK is not needed anymore, why at all mentioning JAVA_HOME ? It is not /required/, but it is an option Thanks .
RE: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment
Should YourKit be able to pinpoint this? I've used it for memory and other profiling, but haven't used it to see what might be holding onto JARs after a webapp has been shutdown. Thanks again, Bob -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, August 02, 2011 3:52 AM To: Tomcat Users List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 02/08/2011 02:11, Bob DeRemer wrote: Hi Mark, Actually, in the logs it does tell me that ExpandWar deleteDir failed. This is because my extensions I have are actually JAR files that we're dynamically loaded so we don't have to restart the webapp. I'm using the addUrl hack, but by casting the main webapp's Thread.currentThread().getContextClassLoader() to a URLClassLoader. From a dynamic loading standpoint, it works great! It allows extension classes in an extension JAR to derive from classes in our built-in product JAR(s) loaded by the same [I'm assuming] webapp classloader. The problem is, when I shutdown/undeploy the webapp, everything else gets deleted, but not the JAR(s) that are dynamically loaded. Tomcat should not be holding on to these because I am NOT using the System class loader to load them. Problem is, I'm not sure why these are not being unloaded. You'll need to get a profiler to see what is holding on to references to those JARs. Is there any way to force tomcat to release these? I tried putting the antiJARLocking=true in the main Context.xml as well as a local context.xml in META-INF and neither of these worked. Without knowing what is holding on to the reference, it is pretty much impossible to determine the best way to solve this problem. Mark Thanks in advance, Bob -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, August 01, 2011 3:44 PM To: Tomcat Users List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 01/08/2011 20:32, Bob DeRemer wrote: Thanks, but I need to do this in a production environment, where we're deploying/re-deploying a WAR and there is no eclipse IDE. In addition, I am dynamically adding extensions to our webapp without having to restart our webapp, which is what republishing from Eclipse does. Any messages in the logs? Tomcat 7 will report if it can't delete a file. I don't recall if Tomcat 6 does. If a file is under the docBase and is not deleted it is because something (probably your app) still has the file open. You need to close the files before you redeploy. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
How does it get the URL forwarded to realm ?
Hi: I've got Tomcat 7.0.16 and I'm using realm authentication/authorization mechanism , via FORM method. I'd like to store in user session the URL accessed and forwarded to realm authentication. An example of URL could be http://localhost:8080/myapp/protected/file.properties I try to configure my web.xml to invoke a servlet before returns login page form-login-config form-login-page/login/form-login-page form-error-page/error/form-error-page /form-login-config Also, I try to configure filters. But i don't know where to find the original URL Any solution ? Thanks and regards - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment
On 02/08/2011 09:54, Bob DeRemer wrote: Should YourKit be able to pinpoint this? I've used it for memory and other profiling, but haven't used it to see what might be holding onto JARs after a webapp has been shutdown. It should do. I have used it in the past to track down locked files. Mark Thanks again, Bob -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, August 02, 2011 3:52 AM To: Tomcat Users List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 02/08/2011 02:11, Bob DeRemer wrote: Hi Mark, Actually, in the logs it does tell me that ExpandWar deleteDir failed. This is because my extensions I have are actually JAR files that we're dynamically loaded so we don't have to restart the webapp. I'm using the addUrl hack, but by casting the main webapp's Thread.currentThread().getContextClassLoader() to a URLClassLoader. From a dynamic loading standpoint, it works great! It allows extension classes in an extension JAR to derive from classes in our built-in product JAR(s) loaded by the same [I'm assuming] webapp classloader. The problem is, when I shutdown/undeploy the webapp, everything else gets deleted, but not the JAR(s) that are dynamically loaded. Tomcat should not be holding on to these because I am NOT using the System class loader to load them. Problem is, I'm not sure why these are not being unloaded. You'll need to get a profiler to see what is holding on to references to those JARs. Is there any way to force tomcat to release these? I tried putting the antiJARLocking=true in the main Context.xml as well as a local context.xml in META-INF and neither of these worked. Without knowing what is holding on to the reference, it is pretty much impossible to determine the best way to solve this problem. Mark Thanks in advance, Bob -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Monday, August 01, 2011 3:44 PM To: Tomcat Users List Subject: Re: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment On 01/08/2011 20:32, Bob DeRemer wrote: Thanks, but I need to do this in a production environment, where we're deploying/re-deploying a WAR and there is no eclipse IDE. In addition, I am dynamically adding extensions to our webapp without having to restart our webapp, which is what republishing from Eclipse does. Any messages in the logs? Tomcat 7 will report if it can't delete a file. I don't recall if Tomcat 6 does. If a file is under the docBase and is not deleted it is because something (probably your app) still has the file open. You need to close the files before you redeploy. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How does it get the URL forwarded to realm ?
On 02/08/2011 10:10, Chema wrote: Hi: I've got Tomcat 7.0.16 and I'm using realm authentication/authorization mechanism , via FORM method. I'd like to store in user session the URL accessed and forwarded to realm authentication. Tomcat does this automatically. An example of URL could be http://localhost:8080/myapp/protected/file.properties I try to configure my web.xml to invoke a servlet before returns login page. Why? What problem are you trying to solve? form-login-config form-login-page/login/form-login-page form-error-page/error/form-error-page /form-login-config Also, I try to configure filters. Again, what problem are you trying to solve? But i don't know where to find the original URL Any solution ? That depends on what the problem is. Mark Thanks and regards - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How does it get the URL forwarded to realm ?
Why? What problem are you trying to solve? Well, I'm invoking j_security_check with an asynchronous RPC call. If I use a HTML form and action = j_security_check , Tomcat performs redirection after authenticate user, as you said, But I need to implement with an asynchronous RPC call. So, my idea is load into session user attribute the protected resource accessed ( http://localhost:8080/myapp/protected/file.properties ) When Tomcat returns to my asynchronous RPC call, I can determinate if user was authorized or not checking header status code. And if user was authorized , perform a new call to RedirectService , who reads user session attribute (http://localhost:8080/myapp/protected/file.properties ) and returns it to browser for redirection. I know all steps have an additional call to server to perform redirection, but I'm trying to integrate asynchronous RPC calls from GWT , with Tomcat's realm Thanks and regards - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application?
Hi AN We use Oracle 11g with Jetspeed portal on Tomcat. 1. The resource definition goes in conf/context.xml just like for any web application. The portal does not change this. 2. You need to put Oracle's ojdbc6.jar into the /lib directory of Tomcat so that the driver class can be loaded by Tomcat 3. If you are using XMLType fields in your database, add Oracle's xdb.jar and xmlparserv2.jar to the same directory 4. Make sure that the web application does NOT include any of these Oracle jars in the .war file. The Oracle jars are included in the Oracle client pack that you probably have, or can download from oracle.com. Make sure you use all three from the same release. If there is a problem, the logs should contain enough info to sort it out. I don't have a copy of our resorce definition at home, but if you are still having problems reply to this and I will send a copy. Regards Ron - Original Message - From: AN daraii.t...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, July 31, 2011 8:34 AM Subject: Re: [Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application? That was only a typo. The thing is that if I remove it from any of the two places it doesn't work. I don't see anything in $CATALINA_BASE/conf/[enginename]/[hostname]/ besides the ROOT.xml but I'm using Liferay (the application is a portlet). On Mon, Jul 25, 2011 at 11:18 AM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: On 25.7.2011 16:57, AN wrote: I don't understand why do I have to place the Resource element in both files. You don't. It seems that you misconfigured something. Resource auth=Container driverClassName=oracle.jdbc.** OracleDriver Could be the source of the problem? If you deploy as WAR file, check if context.xml is indeed copied to $CATALINA_BASE/conf/[**enginename]/[hostname]/[**appname].xml, and that it contains correct resource definition. Also, check for errors in log files and console. -Ognjen --**--**- To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.orgusers-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat file permissions
We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. The issue we're seeing is that we had a webapp that was misconfigured, so that the tomcat7 user and all groups it is under did not have read access to the files. These files do not have world read set. However, the webapp is working just fine and must be reading those files. It is acting as though it is running as root, but I can clearly see the second jsvc process running as tomcat7. Does anyone know why it appears to be having root read on the filesystem? Or is this a Commons Daemon question? Thanks, Richard - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat file permissions
2011/8/2 Richard Frovarp rfrov...@apache.org: We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat file permissions
On 08/02/2011 03:37 PM, Konstantin Kolinko wrote: 2011/8/2 Richard Frovarprfrov...@apache.org: We're launching Tomcat 7 under Linux using jsvc, and having it run under the tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Tomcat 7.0.16 JSVC 1.0.5 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Stuck at making jsvc while installing tomcat
*Hi All,* * * *I am new to use tomcat. I got a problem of installing jsvc.* * * *I followed this tutorial to setup the system http://tomcat.apache.org/tomcat-7.0-doc/setup.html. Sample command lines are:* cd $CATALINA_HOME/bin tar xvfz commons-daemon-native.tar.gz cd commons-daemon-1.0.x-native-src/unix ./configure make cp jsvc ../.. cd ../.. *I stuck at make. Below are the outputs of configure and make* ./configure [hieule2@tarekc20 unix]$ ./configure *** Current host *** checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking cached host system type... ok *** C-Language compilation tools *** checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking for strip... strip *** Host support *** checking C flags dependant on host system type... ok *** Java compilation tools *** checking for sablevm... NONE checking for kaffe... NONE checking for javac... /usr/bin/javac /usr/bin/javac checking wether the Java compiler (/usr/bin/javac) works... yes checking for jar... /usr/bin/jar gcc flags added checking for cap_init in -lcap... no *** Writing output files *** configure: creating ./config.status config.status: creating Makefile config.status: creating Makedefs config.status: creating native/Makefile *** All done *** Now you can issue make make (cd native; make all) make[1]: Entering directory `/home/tarek/hieule2/shenli/3_tier_server/apache-tomcat-7.0.19/bin/commons-daemon-1.0.6-native-src/unix/native' gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\i386\ -Wall -Wstrict-prototypes -I/usr/include -I/usr/include/linux -c jsvc-unix.c -o jsvc-unix.o In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from jsvc.h:21, from jsvc-unix.c:18: /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/gconv.h:174: error: expected specifier-qualifier-list before ‘size_t’ In file included from /usr/include/stdio.h:72, from jsvc.h:21, from jsvc-unix.c:18: /usr/include/libio.h:329: error: expected specifier-qualifier-list before ‘size_t’ /usr/include/libio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ In file included from jsvc.h:21, from jsvc-unix.c:18: /usr/include/stdio.h:308: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:315: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:357: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:359: error: format string argument not a string type /usr/include/stdio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:610: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/stdio.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ /usr/include/stdio.h:638: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ /usr/include/stdio.h:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ In file included from jsvc.h:22, from jsvc-unix.c:18: /usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’ In file included from /usr/include/sys/types.h:133, from /usr/include/stdlib.h:438, from jsvc.h:22, from jsvc-unix.c:18: /usr/include/linux/time.h:10: error: expected specifier-qualifier-list before ‘time_t’ /usr/include/linux/time.h:16: error: expected specifier-qualifier-list before ‘time_t’ In file included from /usr/include/sys/select.h:46, from /usr/include/sys/types.h:220, from /usr/include/stdlib.h:438, Similar errors continues to the end. I thought it might be some problem with my gcc compiler. Below is the gcc version information. [hieule2@tarekc20 unix]$ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared
Re: Different behavior between Tomcat service installation Tomcat console mode
Hi, thanks guys, @Konstantin Kolinko : 1/ In the log, the error I get is a SQLException : Listener Error. I got this only with service version of Tomcat, not with the console mode, that's my problem ... 2/ The Jar of my driver is located in the Tomcat lib folders. The driver is not only a jar, I had to installed it as an odbc source, with some dll and some entries in windows registry. 3/ I'm admin on the machine where Tomcat is installed so I don't think is a rights problem. 4/ Problem is still present while firewalls are off. 5/ Yes, but I would like to use Tomcat as a service, so I can configured it to restart automatically at startup. Moreover, I don't know how to configure logs file with the console mode of Tomcat ... but I'll go this way if I don't find another solution. @ld20349 Yes the two configuration are exactly the sames. Alex. 2011/8/2 刘铎 ld20...@gmail.com Are the two tomcat configurations the same? Check the server.xml,web.xml,context.xml and other configuration files of the tomcat. 2011/8/1 Alexandre Terrasson alexandre.terras...@gmail.com: Hi guys, here my problem : I have a web application that use a Jdbc driver/connection to connect to a proprietary application. I did my developments and tests on a Tomcat 6.0.32 with scripts startup (startup.bat) and all works fine. But when I tried to test the web app on the production server where a Tomcat 6.0.32 is installed as a service, it don't work I don't get a ClassNotFoundException, the class of the driver is well configured, but I don't know, may be not really well loaded. What intrigate me is why the two ways of using Tomcat has not the same behavior ? And how to acquieve that the service mode having the same way of working as the script ways (console mode) ? I tend to say that could be a problem of classpath but don't really know ... I'm working on Windows 7 x64 or Windows Server 2008 x64 with Apache Tomcat x86 in Service mode or scripts mode (console mode). I have no classpath environment variable, and use a Jdk 1.6.0_19. Any help would be greatly appreciated. Thanks :) Alex. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Stuck at making jsvc while installing tomcat
On 08/03/2011 06:03 AM, Shen LI wrote: *I am new to use tomcat. I got a problem of installing jsvc.* * /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’ ... probably followed by something like: /usr/include/stdio.h:34:21: error: stddef.h: No such file or directory Similar errors continues to the end. I thought it might be some problem with my gcc compiler. Fix your compiler, and yes, please don't ask how, cause you won't get the answer here. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org