Help with mod_jk.so errno=13
Hi All, I know this has been asked before in the users group, but there are no solutions to this problem. I am getting the following error in my mod_jk.log file: Tue Apr 11 00:46:08 2006] [18962:20800] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/var/log/jk-run time-status errno=13 this seems to me from my research as a permission denied error. It looks like a shared memory error. Any help would be appreciated in this regard. I have been working on this all day researching without any progress. Thanks in Advance. -Mukarram Syed.
disabling autostart when deploying with manager
Hi, How can I disable autostart of an application when deploying with manager ? Thanks in advance. Mete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how setup landing page in tomcat
You can map the url to a servlet. Or you can use and index.jsp or index.html to redirect to wherever you want. -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Bryan [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Mon, 10 Apr 2006 07:37:57 -0700 (PDT) Subject: how setup landing page in tomcat Hi I am new to Tomcat 5 config. I have a webapp running on tomcat, and to get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and I want to change the settings so that when you type http://this.com, you get to the right subdirectory. I know how to do this in IIS, but have not figured out how on Tomcat, and I've definitely looked. Let me know if you how. thanks. - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
Re: Help with mod_jk.so errno=13
I assume the line break was done by the mailer, so the path in the original log messages is /var/log/jk-runtime-status It tries to open such a file, so the user under which apache runs needs to have full access to /var/log and to /var/log/jk-runtime-status. Did you check the ownerships and permissions of these file system objects. Could you crreate and remove the file with touch and rm as the user who runs apache? A nice errno table is http://www.ioplex.com/~miallen/errcmp.html and in fact it's very likely (depending on your platform) Permission denied. Mukarram Syed wrote: Hi All, I know this has been asked before in the users group, but there are no solutions to this problem. I am getting the following error in my mod_jk.log file: Tue Apr 11 00:46:08 2006] [18962:20800] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/var/log/jk-run time-status errno=13 this seems to me from my research as a permission denied error. It looks like a shared memory error. Any help would be appreciated in this regard. I have been working on this all day researching without any progress. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
webapp slow on first access every morning
Hi, We have a third party jsp/servlet application deployed on Tomcat 4.1.31 (Solaris 2.8). This works fine except for every morning, on the first access, it's very slow to load up. This is the context: Context path=/esav debug=9 reloadable=false docBase=/ov/apache/ovprd01/webapps/esav Logger className=org.apache.catalina.logger.FileLogger prefix=esav_log. suffix=.txt timestamp=true/ /Context And in web.xml, I have: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name param-valueWARNING/param-value /init-param init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param load-on-startup3/load-on-startup /servlet So reloadable and development are both set to false. I can't really think of what else would cause this type of delay? Hope you can help! Thanks, Edward. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webapp slow on first access every morning
Could it simply be your tomcat service is restarted let's say at midnight ? Edward Quick a écrit : Hi, We have a third party jsp/servlet application deployed on Tomcat 4.1.31 (Solaris 2.8). This works fine except for every morning, on the first access, it's very slow to load up. This is the context: Context path=/esav debug=9 reloadable=false docBase=/ov/apache/ovprd01/webapps/esav Logger className=org.apache.catalina.logger.FileLogger prefix=esav_log. suffix=.txt timestamp=true/ /Context And in web.xml, I have: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name param-valueWARNING/param-value /init-param init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param load-on-startup3/load-on-startup /servlet So reloadable and development are both set to false. I can't really think of what else would cause this type of delay? Hope you can help! Thanks, Edward. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: webapp slow on first access every morning
From: Edward Quick [mailto:[EMAIL PROTECTED] This works fine except for every morning, on the first access, it's very slow to load up. Have you monitored your server during that time to work out what is the rate-limiter? On UNIX, 'vmstat 5' is a good (if terse) choice; on Windows, performance monitor and look for %CPU, memory pages per second, and disk I/O. My own guess, based on nothing at all, is that other processes (backup, AV scans, ...) running overnight have caused the Java VM running Tomcat to be paged out and that your machine's taking a long time to page everything back in. But I wouldn't put money on it. - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webapp slow on first access every morning
Good idea, but no: ovapache 6305 6304 0 Apr 05 ?1:01 /usr/j2sdk1.4.2_06/bin/java -Xms128m -Xmx256m -Dapp=ovprd01 -Djava.endorsed.dir Could it simply be your tomcat service is restarted let's say at midnight ? Edward Quick a écrit : Hi, We have a third party jsp/servlet application deployed on Tomcat 4.1.31 (Solaris 2.8). This works fine except for every morning, on the first access, it's very slow to load up. This is the context: Context path=/esav debug=9 reloadable=false docBase=/ov/apache/ovprd01/webapps/esav Logger className=org.apache.catalina.logger.FileLogger prefix=esav_log. suffix=.txt timestamp=true/ /Context And in web.xml, I have: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name param-valueWARNING/param-value /init-param init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param load-on-startup3/load-on-startup /servlet So reloadable and development are both set to false. I can't really think of what else would cause this type of delay? Hope you can help! Thanks, Edward. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: webapp slow on first access every morning
Thanks Peter. I've checked the performance history but there is very little running on the box, and CPU is usually 99% idle. There is also 8GB of RAM on here, and usually 6GB free. Ed. Have you monitored your server during that time to work out what is the rate-limiter? On UNIX, 'vmstat 5' is a good (if terse) choice; on Windows, performance monitor and look for %CPU, memory pages per second, and disk I/O. My own guess, based on nothing at all, is that other processes (backup, AV scans, ...) running overnight have caused the Java VM running Tomcat to be paged out and that your machine's taking a long time to page everything back in. But I wouldn't put money on it. - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webapp slow on first access every morning
And no mention about a webapp shutdown or other curiosities in catalina.out ? Edward Quick a écrit : Good idea, but no: ovapache 6305 6304 0 Apr 05 ?1:01 /usr/j2sdk1.4.2_06/bin/java -Xms128m -Xmx256m -Dapp=ovprd01 -Djava.endorsed.dir Could it simply be your tomcat service is restarted let's say at midnight ? Edward Quick a écrit : Hi, We have a third party jsp/servlet application deployed on Tomcat 4.1.31 (Solaris 2.8). This works fine except for every morning, on the first access, it's very slow to load up. This is the context: Context path=/esav debug=9 reloadable=false docBase=/ov/apache/ovprd01/webapps/esav Logger className=org.apache.catalina.logger.FileLogger prefix=esav_log. suffix=.txt timestamp=true/ /Context And in web.xml, I have: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name param-valueWARNING/param-value /init-param init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param load-on-startup3/load-on-startup /servlet So reloadable and development are both set to false. I can't really think of what else would cause this type of delay? Hope you can help! Thanks, Edward. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache Tomcat Bundle
Hello All, I'm looking into writing a bundled application to manage Apache HTTP with Tomcat. Basically just a management console and predefined configuration structure that would allow non-technical users the ability to easily add virtual servers, instances, SSL certs, etc. The system would also be cluster aware in the sense of pushing configuration changes to multiple nodes in a cluster mapping variables to each node (IP address, etc). Before I proceed I just wanted to check if anyone knows of a system similar to this so I don't have to rewrite what's been done before. I did some searching on sourceforge and google but couldn't really find anything that does this. Thanks, Robert
Servlet Action is not available .... Please Help
Hi, I am struggling with this error for the past 10 days. Can someone help me solve this frustrating problem? I tried almost all the suggestion that users have suggested in sun forum. The web application works fine in Tomcat 5.0.28 but I get the 'Servlet Action is not available' error in 5.5.16. The log file has no information that I can research the error. My environment is Tomcat 5.5.16 under Windows XP. The jar files are located as follows Tomcat . .common ...lib (Jar files in this folder)commons-el, jasper-compiler, jasper-compiler-jdt, jasper-runtime, jaxen-full, jdbc2_0-stdext , jsp-api, jstl, naming-factory, naming-factory-dbcp, naming-resources,Servlet-api, standard, xalan,xerces-impl, xml-apis .webapps ..AYS (My application) WEB-INF lib (jar files in this folder are)antlr, commons-beanutils, commons-digester, commons-fileupload, commons-lang-2.0, commons-logging, commons-validator, hsqldb-1.7.1, jakarta-oro, jaxen-full, jdbc2_0-stdext, jstl, jtds-1.0, log4j-1.2.8, saxpath, standard, struts-menu-2.3, struts, velocity-1.4, velocity-tools-view-1.0, xalan, xercesImpl, xml-apis WEB.XML Details ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 session-config session-timeout 30 /session-timeout /session-config servlet servlet-nameaction/servlet-name servlet-class org.apache.struts.action.ActionServlet /servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param load-on-startup1/load-on-startup /servlet !-- ActionServlet mapping Definition -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- Starting webpage for the application -- welcome-file-list welcome-filelogin.jsp/welcome-file /welcome-file-list !-- Struts Tag Library Descriptors -- jsp-config taglib taglib-uri/WEB-INF/struts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri taglib-location/WEB-INF/struts-bean.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-menu/taglib-uri taglib-location/WEB-INF/struts-menu.tld/taglib-location /taglib /jsp-config /web-app LOG FILE INFO: localhost log file as no specific info about the error and Catalina log file is as follows Apr 11, 2006 3:16:22 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32; C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\jdk1.5.0_06\bin;c:\jdk1.5.0_06\jr e\bin;c:\Python22;C:\Program Files\PC-Doctor for Windows\services;C:\Program Files\ATI Technologies\ATI Control Panel; Apr 11, 2006 3:16:23 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 11, 2006 3:16:23 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1828 ms Apr 11, 2006 3:16:23 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 11, 2006 3:16:23 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.16 Apr 11, 2006 3:16:23 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 11, 2006 3:16:28 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 11, 2006 3:16:29 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Apr 11, 2006 3:16:29 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Apr 11, 2006 3:16:29 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Apr 11, 2006 3:16:29 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5937 ms Apr 11, 2006 3:17:11 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Apr 11, 2006 3:17:32 PM org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method)
cannot connect to localhost:8080 (jsvc -user tomcat ...)
I'm having problems running tomcat on a Debian 3.1 system. I see the processes: 13858 ?Ss 0:00 jsvc.exec -user tomcat -home /usr/lib/java -Dcatalina.home=/opt/tomcat -Dcatalina.base=/opt/tomcat -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /opt/tomcat/logs/catalina.out -errfile 1 -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -cp /usr/lib/java/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap 13859 ?S 0:01 jsvc.exec -user tomcat -home /usr/lib/java -Dcatalina.home=/opt/tomcat -Dcatalina.base=/opt/tomcat -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /opt/tomcat/logs/catalina.out -errfile 1 -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -cp /usr/lib/java/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap but I cannot connect to localhost:8080 netstat -an doesn't show me any listener on that port. I see that I hadn't yet adapted the java.library.path - is that a problem? I'm using sun jdk jdk1.5.0_06. Any ideas? -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat start/stop
Hi Im using tomcat 5.5 on freeBSD 6.0. I have enabled tomcat in my rc.conf: tomcat_enable=YES I am trying to stop and start the server when I make some changes to some sample jsp files, but I cant figure out how to do this. I have tried in my /usr/loca/rc.d/tomcat55.sh stop But it tells me tomcat isnt running, which it is cos I can connect to it at localhost:8180 Any ideas on how to start/stop the server when it has been enabled like this? Thanks Eoghan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webapp slow on first access every morning
These messages are coming out a lot, but not sure why. 2006-04-11 04:21:06 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:21:21 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:21:36 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:21:51 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:22:06 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:22:21 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:22:36 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:22:51 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:23:02 StandardHost[ovprd01.abc.com]: Mapping request URI '/esav/jsp/MobiusMenu.jsp' 2006-04-11 04:23:02 StandardHost[ovprd01.abc.com]: Trying the longest context path prefix 2006-04-11 04:23:02 StandardHost[ovprd01.abc.com]: Mapped to context '/esav' 2006-04-11 04:23:06 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:23:21 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:23:36 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:23:51 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:24:05 StandardHost[ovprd01.abc.com]: Mapping request URI '/esav/servlet/esav' 2006-04-11 04:24:05 StandardHost[ovprd01.abc.com]: Trying the longest context path prefix 2006-04-11 04:24:05 StandardHost[ovprd01.abc.com]: Mapped to context '/esav' 2006-04-11 04:24:06 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:24:21 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:24:36 HostConfig[ovprd01.abc.com]: Deploying discovered web applications 2006-04-11 04:24:51 HostConfig[ovprd01.abc.com]: Deploying discovered web applications And no mention about a webapp shutdown or other curiosities in catalina.out ? Edward Quick a écrit : Good idea, but no: ovapache 6305 6304 0 Apr 05 ?1:01 /usr/j2sdk1.4.2_06/bin/java -Xms128m -Xmx256m -Dapp=ovprd01 -Djava.endorsed.dir Could it simply be your tomcat service is restarted let's say at midnight ? Edward Quick a écrit : Hi, We have a third party jsp/servlet application deployed on Tomcat 4.1.31 (Solaris 2.8). This works fine except for every morning, on the first access, it's very slow to load up. This is the context: Context path=/esav debug=9 reloadable=false docBase=/ov/apache/ovprd01/webapps/esav Logger className=org.apache.catalina.logger.FileLogger prefix=esav_log. suffix=.txt timestamp=true/ /Context And in web.xml, I have: servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name param-valueWARNING/param-value /init-param init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param load-on-startup3/load-on-startup /servlet So reloadable and development are both set to false. I can't really think of what else would cause this type of delay? Hope you can help! Thanks, Edward. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Tomcat Bundle
Nice plan, we talk about this last week at developer list. I thing good starting points are http://centaurus.sourceforge.net http://lambdaprobe.org Help is very welcome. Let us discuss at developer list and start to build a new tomcat management console. Cheers Peter Am 11.04.2006 um 12:26 schrieb Robert Locklear: Hello All, I'm looking into writing a bundled application to manage Apache HTTP with Tomcat. Basically just a management console and predefined configuration structure that would allow non-technical users the ability to easily add virtual servers, instances, SSL certs, etc. The system would also be cluster aware in the sense of pushing configuration changes to multiple nodes in a cluster mapping variables to each node (IP address, etc). Before I proceed I just wanted to check if anyone knows of a system similar to this so I don't have to rewrite what's been done before. I did some searching on sourceforge and google but couldn't really find anything that does this. Thanks, Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cannot connect to localhost:8080 (jsvc -user tomcat ...)
Hi, not sure but can you check if Connector port=8080 ... is not commented out in your server.xml... Christoph P. Kukulies wrote: I'm having problems running tomcat on a Debian 3.1 system. I see the processes: 13858 ?Ss 0:00 jsvc.exec -user tomcat -home /usr/lib/java -Dcatalina.home=/opt/tomcat -Dcatalina.base=/opt/tomcat -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /opt/tomcat/logs/catalina.out -errfile 1 -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -cp /usr/lib/java/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap 13859 ?S 0:01 jsvc.exec -user tomcat -home /usr/lib/java -Dcatalina.home=/opt/tomcat -Dcatalina.base=/opt/tomcat -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /opt/tomcat/logs/catalina.out -errfile 1 -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -cp /usr/lib/java/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap but I cannot connect to localhost:8080 netstat -an doesn't show me any listener on that port. I see that I hadn't yet adapted the java.library.path - is that a problem? I'm using sun jdk jdk1.5.0_06. Any ideas? -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat start/stop
eoghan a écrit : Hi Im using tomcat 5.5 on freeBSD 6.0. I have enabled tomcat in my rc.conf: tomcat_enable=YES I am trying to stop and start the server when I make some changes to some sample jsp files, but I cant figure out how to do this. I have tried in my /usr/loca/rc.d/tomcat55.sh stop But it tells me tomcat isnt running, which it is cos I can connect to it at localhost:8180 Any ideas on how to start/stop the server when it has been enabled like this? I may be wrong, but you should use the catalina.sh file instead. Cheers, -- François Conil Administrateur Systèmes et Réseaux Pax I wish my lawn was emo, so it would cut itself. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cannot connect to localhost:8080 (jsvc -user tomcat ...)
Can you please take a look at your /tomcat/logs/catalina.out file and report what is written? Otherwise is very hard to say, what the problem is (Firewall, configuration) -- Franck Hi, not sure but can you check if Connector port=8080 ... is not commented out in your server.xml... Christoph P. Kukulies wrote: I'm having problems running tomcat on a Debian 3.1 system. I see the processes: 13858 ?Ss 0:00 jsvc.exec -user tomcat -home /usr/lib/java -Dcatalina.home=/opt/tomcat -Dcatalina.base=/opt/tomcat -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /opt/tomcat/logs/catalina.out -errfile 1 -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -cp /usr/lib/java/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap 13859 ?S 0:01 jsvc.exec -user tomcat -home /usr/lib/java -Dcatalina.home=/opt/tomcat -Dcatalina.base=/opt/tomcat -Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile /opt/tomcat/logs/catalina.out -errfile 1 -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs -cp /usr/lib/java/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap but I cannot connect to localhost:8080 netstat -an doesn't show me any listener on that port. I see that I hadn't yet adapted the java.library.path - is that a problem? I'm using sun jdk jdk1.5.0_06. Any ideas? -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg EMail: [EMAIL PROTECTED] EDV-Dezernat Tel. : +49-761 / 203-3908 Werthmannplatz 2 | Postfach 1629 Fax : +49-761 / 203-3987 79098 Freiburg | 79016 Freiburg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Servlet Action is not available .... Please Help
Hi, I removed my data-source declaration in struts-config and the application worked fine. I am using jtds to connect to the database. In tomcat 5.0.28 the application connects with the same configuration. Can some one help what could be the problem? My struts-config for the data-source declaration is data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=net.sourceforge.jtds.jdbc.Driver / set-property property= url value= jdbc:jtds:sqlserver://xx.xx.xxx.xxx:1433;DatabaseName=.. / set-property property=username value=.. / set-property property=password value=... / /data-source /data-sources xx.xx.xxx.xxx is the IP address of my Sql Server machine. Vijaya -Original Message- From: Vijaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 4:30 PM To: Tomcat Users List Subject: Servlet Action is not available Please Help Hi, I am struggling with this error for the past 10 days. Can someone help me solve this frustrating problem? I tried almost all the suggestion that users have suggested in sun forum. The web application works fine in Tomcat 5.0.28 but I get the 'Servlet Action is not available' error in 5.5.16. The log file has no information that I can research the error. My environment is Tomcat 5.5.16 under Windows XP. The jar files are located as follows Tomcat . .common ...lib (Jar files in this folder)commons-el, jasper-compiler, jasper-compiler-jdt, jasper-runtime, jaxen-full, jdbc2_0-stdext , jsp-api, jstl, naming-factory, naming-factory-dbcp, naming-resources,Servlet-api, standard, xalan,xerces-impl, xml-apis .webapps ..AYS (My application) WEB-INF lib (jar files in this folder are)antlr, commons-beanutils, commons-digester, commons-fileupload, commons-lang-2.0, commons-logging, commons-validator, hsqldb-1.7.1, jakarta-oro, jaxen-full, jdbc2_0-stdext, jstl, jtds-1.0, log4j-1.2.8, saxpath, standard, struts-menu-2.3, struts, velocity-1.4, velocity-tools-view-1.0, xalan, xercesImpl, xml-apis WEB.XML Details ?xml version=1.0 encoding=UTF-8? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 session-config session-timeout 30 /session-timeout /session-config servlet servlet-nameaction/servlet-name servlet-class org.apache.struts.action.ActionServlet /servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param load-on-startup1/load-on-startup /servlet !-- ActionServlet mapping Definition -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- Starting webpage for the application -- welcome-file-list welcome-filelogin.jsp/welcome-file /welcome-file-list !-- Struts Tag Library Descriptors -- jsp-config taglib taglib-uri/WEB-INF/struts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri taglib-location/WEB-INF/struts-bean.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-menu/taglib-uri taglib-location/WEB-INF/struts-menu.tld/taglib-location /taglib /jsp-config /web-app LOG FILE INFO: localhost log file as no specific info about the error and Catalina log file is as follows Apr 11, 2006 3:16:22 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32; C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\jdk1.5.0_06\bin;c:\jdk1.5.0_06\jr e\bin;c:\Python22;C:\Program Files\PC-Doctor for Windows\services;C:\Program Files\ATI Technologies\ATI Control Panel; Apr 11, 2006 3:16:23 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 11, 2006 3:16:23 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1828 ms Apr 11, 2006 3:16:23 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 11, 2006 3:16:23 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.16 Apr 11, 2006 3:16:23 PM
Re: tomcat start/stop
Actually, configured in this way, 'service tomcat55 start' and 'service tomcat55 stop' should be able to start and stop the service. --David François Conil wrote: eoghan a écrit : Hi Im using tomcat 5.5 on freeBSD 6.0. I have enabled tomcat in my rc.conf: tomcat_enable=YES I am trying to stop and start the server when I make some changes to some sample jsp files, but I cant figure out how to do this. I have tried in my /usr/loca/rc.d/tomcat55.sh stop But it tells me tomcat isnt running, which it is cos I can connect to it at localhost:8180 Any ideas on how to start/stop the server when it has been enabled like this? I may be wrong, but you should use the catalina.sh file instead. Cheers, -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat start/stop
David Smith wrote: Actually, configured in this way, 'service tomcat55 start' and 'service tomcat55 stop' should be able to start and stop the service. --David Thanks. I will try this today. Eoghan François Conil wrote: eoghan a écrit : Hi Im using tomcat 5.5 on freeBSD 6.0. I have enabled tomcat in my rc.conf: tomcat_enable=YES I am trying to stop and start the server when I make some changes to some sample jsp files, but I cant figure out how to do this. I have tried in my /usr/loca/rc.d/tomcat55.sh stop But it tells me tomcat isnt running, which it is cos I can connect to it at localhost:8180 Any ideas on how to start/stop the server when it has been enabled like this? I may be wrong, but you should use the catalina.sh file instead. Cheers, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help with mod_jk.so errno=13
Thanks Rainer Jung. I'll check that out and let you know. Regards -Mukarram. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 1:27 AM To: Tomcat Users List Subject: Re: Help with mod_jk.so errno=13 I assume the line break was done by the mailer, so the path in the original log messages is /var/log/jk-runtime-status It tries to open such a file, so the user under which apache runs needs to have full access to /var/log and to /var/log/jk-runtime-status. Did you check the ownerships and permissions of these file system objects. Could you crreate and remove the file with touch and rm as the user who runs apache? A nice errno table is http://www.ioplex.com/~miallen/errcmp.html and in fact it's very likely (depending on your platform) Permission denied. Mukarram Syed wrote: Hi All, I know this has been asked before in the users group, but there are no solutions to this problem. I am getting the following error in my mod_jk.log file: Tue Apr 11 00:46:08 2006] [18962:20800] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/var/log/jk-run time-status errno=13 this seems to me from my research as a permission denied error. It looks like a shared memory error. Any help would be appreciated in this regard. I have been working on this all day researching without any progress. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JAAS for shared virtual hosting
Hello list Is there most preferred way to use JAAS with Tomcat 5.5 for shared virtual hosting? I have read many articles about using JAAS in Tomcat but no ones says how approximate how to make this. many thanks -- Best regards, Corobitsyn Roman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: index.jsp not showing after successful installation
Hi Bob, I can not use http://localhost:8080, as there is no browser access on server. Bob i find that when ever i issue 'netstat -an' on shell prompt, i found that 8080 is not listening. Only 8009 is listening!
Re: Apache Tomcat Bundle
or: http://incubator.apache.org/projects/lokahi.html resp. as long as this site is pretty empty: http://tmcg2.sourceforge.net/TMCg2_WhitePaper.pdf Peter Rossbach wrote: Nice plan, we talk about this last week at developer list. I thing good starting points are http://centaurus.sourceforge.net http://lambdaprobe.org Help is very welcome. Let us discuss at developer list and start to build a new tomcat management console. Cheers Peter Am 11.04.2006 um 12:26 schrieb Robert Locklear: Hello All, I'm looking into writing a bundled application to manage Apache HTTP with Tomcat. Basically just a management console and predefined configuration structure that would allow non-technical users the ability to easily add virtual servers, instances, SSL certs, etc. The system would also be cluster aware in the sense of pushing configuration changes to multiple nodes in a cluster mapping variables to each node (IP address, etc). Before I proceed I just wanted to check if anyone knows of a system similar to this so I don't have to rewrite what's been done before. I did some searching on sourceforge and google but couldn't really find anything that does this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: index.jsp not showing after successful installation
oh i am sorry, i did not clearly observed total log and write down the mail. the 'netstat -an' commands output is [EMAIL PROTECTED] ~]# netstat -an Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:993 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:995 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:33060.0.0.0:* LISTEN tcp0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:783 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:143 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:20000.0.0.0:* LISTEN tcp0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp0 0 :::993 :::* LISTEN tcp0 0 :::995 :::* LISTEN tcp0 0 :::127.0.0.1:8005 :::* LISTEN tcp0 0 :::8009 :::* LISTEN tcp0 0 :::110 :::* LISTEN tcp0 0 :::127.0.0.1:9998 :::* LISTEN tcp0 0 :::143 :::* LISTEN tcp0 0 ::: :::* LISTEN tcp0 0 :::8080 :::* LISTEN tcp0 0 :::2000 :::* LISTEN tcp0 0 :::80 :::* LISTEN tcp0 0 :::22 :::* LISTEN tcp0 0 :::25 :::* LISTEN tcp0 0 :::443 :::* LISTEN tcp0 0 ::1:42640 ::1:42639 TIME_WAIT tcp0 0 ::1:42647 ::1:42646 TIME_WAIT tcp0 0 :::127.0.0.1:42644 :::127.0.0.1:8080 TIME_WAIT tcp0 0 ::1:42642 ::1:42641 TIME_WAIT tcp0 0 ::1:42650 ::1:42649 TIME_WAIT tcp0 0 :::127.0.0.1:42643 :::127.0.0.1:8005 TIME_WAIT here we can observe 8080 port is listening
RE: MIME type gets set as text/plain in Custom web app using Apache and Jakarta Connector
I have a custom web app that is a java servlet that I run on Tomcat. When I browse to the page it displays as text/html which is great but I am using Apache as the front-end app server so I use the Jakarta Tomcat connector in Apache to connect to Tomcat. When I browse to the page through the Tomcat connector it displays as text/plain and Firefox and other browsers that use the Mime type display the code as text and do not render it. Somewhere between Apache and the Tomcat Connector the Mime type is getting changed. The extension that I am using is a dashxml and the content is XML Any help would be appreciated. James A
Adding a new JSP to an existing unpacked and deployed web app = 404 error
Hi I am upgrading from a Tomcat 4.1.27 to a Tomcat 5.5.16 enviorment. After an application is started any files that are added (to the folder that contained the started web application) when accessed from the browser reports a 404 error, be it a jsp or a gif. Is this normal ? Im also having a problem with jsp's not recompiling (but perhaps it is the same issue) For example Start tomcat Rename (tomcat_home)/webapps/ROOT/tomcat.gif to tomcat1.gif. Go to http://localhost:8080/tomcat.gif (Logo shows) Go to http://localhost:8080/tomcat1.gif (Receive 404 error) Im probably missing something obvious Any help would be appreciated.. Here are my config files... web.xml:(partial) servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namefork/param-name param-valuefalse/param-value /init-param init-param param-namexpoweredBy/param-name param-valuefalse/param-value /init-param !-- development mode settings -- init-param param-namecheckInterval/param-name param-value1/param-value /init-param init-param param-namemodificationTestInterval/param-name param-value0/param-value /init-param init-param param-namedevelopment/param-name param-valuetrue/param-value /init-param init-param param-nametrimSpaces/param-name param-valuefalse/param-value /init-param init-param param-namereloading/param-name param-valuetrue/param-value /init-param load-on-startup3/load-on-startup /servlet context.xml:(full) Context antiJARLocking=true antiResourceLocking=true cachingAllowed=false cacheTTL=1 !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this to disable session persistence across Tomcat restarts -- !-- Manager pathname= / -- /Context - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
UnsatisfiedLinkError when loading DLL twice
Hi, All My servlet use a DLL, currently the DLL is located at window system32 and in the webapp's WEB-INF/lib. But I sometimes got the UnsatisfiedLinkError. Can anyone tell me where should the DLL put? and what kind of system variable I need to set for the tomcat classloader to load the DLL? I am using Window XP Pro. Any suggestions or Hints, I will be very appreciate! Thanks Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
socket error using apr+openssl on solaris
I am trying to get the https requests working on our tomcat server. I have downloaded the latest tomcat 5.5.16 and have compiled and installed libtcnative 1.1.2. The server cannot open 8443 port,(port 8080 works fine). No other processes are using the 8443 port. Any ideas are appreciated. Thanks, Martin Here is an excerpt from the catalina.out log file --- 11-Apr-2006 1:45:00 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 11-Apr-2006 1:45:01 PM org.apache.coyote.http11.Http11AprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [125] Address already in use -- -- Martin HofmannDMAS Development Systems Manager [EMAIL PROTECTED] NEPTUNE Project Canada Ph: (250) 472-5354University of Victoria - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat index page
Hi, When I access a site https://www.xyz.com, it takes me to https://www.xyz.com:80/index.jsp whereas when I provide https://www.xyz.com/index.jsp it takes me to the expected location. Where is this 80 getting added from? Https, by default, should take me to port 443 and not 80. We have a firewall configuration which will automatically forwards the request from 443 to 8443. Any ideas? Sandeep. - How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
Re: Tomcat index page
You need to configure your proxy name / proxy port in your connector (in the server.xml).. Tomcat makes the assumption based on your settings in the server.xml On 4/11/06, Sandeep N [EMAIL PROTECTED] wrote: Hi, When I access a site https://www.xyz.com, it takes me to https://www.xyz.com:80/index.jsp whereas when I provide https://www.xyz.com/index.jsp it takes me to the expected location. Where is this 80 getting added from? Https, by default, should take me to port 443 and not 80. We have a firewall configuration which will automatically forwards the request from 443 to 8443. Any ideas? Sandeep. - How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] How to write/use Tomcat's war classloader
Anyone have an idea about this? V D wrote: We have a sizable war file (|unpacked|) that needs to be run in certain way outside of Tomcat. To do this, we created a classloader which works Ok except that it's very slow (using JarFile). I know that when deploy apps in Tomcat, I can specify it to not to unpack (|unpackWAR = false). However, Tomcat load and run the apps quickly. I looked into Tomcat source, the org.apache.catalina.loader package and could not find anything like that. I see WebappClassLoader, but it seems to load from an unpacked war, not packed war. Does Tomcat actually unpack the war before loading the app? If not, could someone point me to the right place to look, or give some advice on how to write this thing faster? Thanks, -vd | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat index page
Change your config file to adjust the ports. Edit Tomcat-Home/conf/server.xml file and change the Http, Https ports accordingly. -- Manivannan Palanichamy http://geocities.com/manivannan57 -Original Message- From: Sandeep N [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tue, 11 Apr 2006 14:33:06 -0700 (PDT) Subject: Tomcat index page Hi, When I access a site https://www.xyz.com, it takes me to https://www.xyz.com:80/index.jsp whereas when I provide https://www.xyz.com/index.jsp it takes me to the expected location. Where is this 80 getting added from? Https, by default, should take me to port 443 and not 80. We have a firewall configuration which will automatically forwards the request from 443 to 8443. Any ideas? Sandeep. - How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
Re: JAAS for shared virtual hosting
Somebody has ideas? CR Hello list CR Is there most preferred way to use JAAS with Tomcat 5.5 for shared CR virtual hosting? CR I have read many articles about using JAAS in Tomcat but no ones says CR how approximate how to make this. CR many thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: UnsatisfiedLinkError when loading DLL twice
if the DLL in windows system 32 then it should be picked right up. have you registered this DLL or not ? if not then try registering this dll first. --- Ho, Sam [EMAIL PROTECTED] wrote: Hi, All My servlet use a DLL, currently the DLL is located at window system32 and in the webapp's WEB-INF/lib. But I sometimes got the UnsatisfiedLinkError. Can anyone tell me where should the DLL put? and what kind of system variable I need to set for the tomcat classloader to load the DLL? I am using Window XP Pro. Any suggestions or Hints, I will be very appreciate! Thanks Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]