Tomcat 4.0 and Apache 2.0.35
Hello,
I am trying to install mod_jk or mod_webapp.so with Tomcat 4.0 and Apache 2.0.35, running on Windows XP Professional. When I try to start Apache, it fails to see it the new module in the modules/ directory, even though it's most definitely there. Anybody have any thoughts?
The Tomcat 4 has different settings compared to the previous releases (Tomcat 3.3.x and Tomcat 3.2.x). If the previous releases use mod_jk.dll and/or mod_jk.so, the version 4 uses different modules. I have obtained the following from the server.xml file from Tomcat 4.0.3.
The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. Please read the README.txt file coming with
the WebApp Module distribution on how to build it.
(Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
To configure the Apache side, you must ensure that you have the
"ServerName" and "Port" directives defined in "httpd.conf". Then,
lines like these to the bottom of your "httpd.conf" file:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
The next time you restart Apache (after restarting Tomcat, if needed)
the connection will be established, and all applications you make
visible via "WebAppDeploy" directives can be accessed through Apache.
Similar Messages
-
Compile problem using TOMCAT 5.0 and Apache ANT
I got some sample from book.
i just follow the step, place it the class file. it work. it run. show all the detail.
but when i wan to compile it from java file, error came out
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)
root cause
java.lang.NoClassDefFoundError: com/jspbook/HelloWorld (wrong name: HelloWorld)
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.in CMD:
set java_home = C:\Program Files\Java\jdk1.5.0_08
set classpath = C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib
and Apache tomcat originally dont have servlet.jar but servlet-api.jar, i copy the servlet.jar from my friend
i compile it using Apache ANT
here the build.xml
<?xml version="1.0" ?>
<project name="jspbook" default="build" basedir=".">
<target name="build">
<echo>Starting Build </echo>
<!-- Turn Tomcat Off -->
<antcall target="tomcatOff"/>
<!-- Compile Everything -->
<antcall target="compile"/>
<!-- Turn Tomcat On -->
<antcall target="tomcatOn"/>
<echo>Build Finished </echo>
</target>
<target name="tomcatOff">
<echo>Turning Off Tomcat </echo>
<exec executable="bash" os="Windows">
<arg value="../../bin/shutdown.bat"/>
</exec>
<exec executable="bash" os="Linux">
<arg value="../../bin/shutdown.sh"/>
</exec>
</target>
<target name="tomcatOn">
<echo>Starting Tomcat </echo>
<exec executable="bash" os="Windows">
<arg value="../../bin/startup.bat"/>
</exec>
<exec executable="bash" os="Linux">
<arg value="../../bin/startup.sh"/>
</exec>
</target>
<target name="compile">
<javac
srcdir="WEB-INF/classes"
extdirs="WEB-INF/lib:../../common/lib"
classpath="../../common/lib/servlet.jar"
deprecation="yes"
verbose="no">
<include name="com/jspbook/**"/>
</javac>
</target>
</project>compile success, but error in IE
paste the sample class file in,restart tomcat. i work again!
what is the problem!
even i compile the code inside the Jcreator, after set required libraries to servlet.jar or servlet-api.jar
compile it, success then run it in IE, same error!!!.
what should i do.
stil a beginer in servlet and jsp anyway.and Apache tomcat originally dont have servlet.jar but servlet-api.jar, i copy the servlet.jar from my friend servlet.jar is an OLD version, you should only use servlet-api.jar!
wrong name: HelloWorldPerhaps there is a mistake in the class or packagename of the source file. Post the source here. -
Configuring tomcat and apache on the same system
i need to configure tomcat and apache on the same system.
first i have configured apache and it is working well.
Next is have configured tomcat and it is working well.
i need to interlink tomcat and apache. so i downloaded jk connector and i have configured it.
i gave an entry in the httpd.conf as
Include /tomcat/conf/auto/mod_jk.conf
i have copied the file mod_jk.so to /usr/local/apache/libexec/
went i start apache after the entry is given it gives the error like this
cannot load /usr/local/apache/libexec/mod_jk.so into server: ld_so.1. /usr/local/apache/bin/httpd: fatal : libgcc_s.so.1 : openfailed : no such file or directory in linux
please help to configure this.
i have done every thing as it is in apache.org documentation. please give the complete configuration. some say that tomcat is not compiled according to apache1.3. but i configure jk connector as --with-apxs=/usr/local/apache/bin/apxs
send me the reply
thankqs in advanceHi,
I'm working in a linux machine and choose to use also two different users. Of course I'm using two different ORACLE_HOME directories.I think that the best approach.Just a question ,are you keeping the "GROUP" same or different?
Anand -
Apache Tomcat 4.0 and MySQL 3.2.3, how to connect?
Hi, could anybody help me please? I have a problem in connecting between Apache Tomcat 4.0 and MySQL 3.2.3. How can I connect them? Do I need mm.mysql.Driver? I have download that one, but I don't know where I should put that .jar file?
And before that, I have made a JSP file that using MySQL Database, and I have error like this:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: org.gjt.mm.mysql.Driver
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
at org.apache.jsp.ex1$jsp._jspService(Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
root cause
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at org.apache.catalina.loader.WebappClassLoader.loadClass(Compiled Code)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:198)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Compiled Code)
at org.apache.jsp.ex1$jsp._jspService(Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(Compiled Code)
at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
Can anybody help me, please? I need this in a short time for my thesis.From the stack trace, it says that the mm.mysql Driver was not found. This means that you have not included the mySQL JDBC driver in your classpath. You have to download the mySQL driver jar file and place that in the "lib" folder under the Tomcat installation. Then, make sure that the said jar file is included in your classpath. Hope this helps
-
Tomcat 4.0.1, JWSDP and Apache - setup help please
Windows 2000 env.
First off, the latest Comanche release (Apache GUI) isn't really stable
enough to use.
Has anyone got any experience with running Java Web Services Development
Package with an Apache server.
JWSDP is packaged with a version of Tomcat 4 - a VERSION of it. It doesn't
seem to have WARP capability, and some connectors seem to be missing from
it.
I was unable to get this to work with Apache, and have decided to switch
back to the standard release of Apache/Jakarta Tomcat 4.0.1.
Has anyone else tried using the JWSDP??? I'm setting up a development
server, and figured JWSDP would be nice, since it has some components
already installed, ie SOAP.
JWSDP doesn't create a workers.properties and mod_jk.conf-auto file. Are
there any new tricks to setting up Tomcat 4 with Apache since Tomcat 3.x?
Is there a different way to configure JWSDP for use with Apache Web Server?
setup Tomcat 4 Apache web server
setup Tomcat 4 and Apache web server
setup JWSDP ApacheThanks...
Since then, I have gone to Tomcat 4.0.1, and will install SOAP, etc as needed.
As I have not been able to find a complete Windows Apache and Tomcat installation guide, I will be writing one soon and posting it.
Also check out http://www.tek-tips.com in the forum areas/mis/it/Web Server/Apache Group: Apache. -
How to integrate Apache Web Server and Apache Tomcat 4.0 ?
<pre>
Hi All,
Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
Please point me to exact location,url to download the recent Apache Web Server and,
Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
A detailed explanation of how to integrate both is very helpful.
Thanks in advance.
<pre>The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
You find the section "LoadModule" and you add the next lines:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
And the end of the file you must add these lines:
WebAppConnection conexion warp localhost:8008
WebAppDeploy examples conexion /examples
The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
At last you can add one more lines to check the module's configuration:
WebAppInfo /webapp-info
If you visit http://<yoor_host>/webapp-info you can see the configuration. -
Revision: 18538
Revision: 18538
Author: [email protected]
Date: 2010-11-11 09:59:23 -0800 (Thu, 11 Nov 2010)
Log Message:
Remove apache-tomcat-6.0.14 and apache-tomcat-6.0.26 versions from trunk
checkintests: passed
Ticket Links:
http://bugs.adobe.com/jira/browse/tomcat-6
http://bugs.adobe.com/jira/browse/tomcat-6
Removed Paths:
blazeds/trunk/servers/apache-tomcat-6.0.14/
blazeds/trunk/servers/apache-tomcat-6.0.26/I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file. -
Problem in configuring tomcat and apache
I am using mod_jk to configure tomcat and apache. In the server.xml file in /TOMCAT_HOME/conf, I have added this line:
<Listener className="org.apache.jk.config.ApacheConfig" modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" />
And when I restart the tomcat, I get this error:
Caused by: java.lang.RuntimeException: Unable to create path to config file :
/usr/local/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
What this error is and how it will be removed. Any suggestion?
JosephSeems like a filesystem user rights problem. Perhaps tomcat is running as a seperate user and this user has no rights to write to one of the subdirectories?
-
Upgrade the default Tomcat and Apache
Hi
Is there a working and correct way to upgrade and run a Tomcat and Apache server of your pick instead of the pre installed versions in OSX 10.4.8 server.
Meaning that i want to start and admin them throught Server Admin interface, and making Jboss notice the new Tomcat aswell.
MikaelIf you're asking here, the answer is probably no.
It is possible to build and install later versions of all the Mac OS X Server-bundled apps, including Apache, Tomcat, postfix, bind, etc., etc., but in most cases once you do you lose the ability to drive them via Server Admin.
Server Admin knows what it knows - more importantly it doesn't know any of the features of later versions of the apps (it may work with point released (e.g. Apache 1.3.20 -> 1.3.30, but it won't work with major versions like 1.3 -> 2.0).
So if you go that way you're on your own as far as configuring and maintaining the service is concerned.
Leopard (10.5) will include later versions of these apps if you're prepared to wait. -
Run tomcat and apache together
how can i do that tomcat 4.0.6 and apache work at same time? , it is to say, how get Tomcat to runs application server while leaving your static pages on Apache under standard distribution for linux, and do not uses the port 8080, if not, that jsps runs in the domain, example:
i don't want this:
http://mydomain:8080/index.jsp
i want this:
http://mydomain/index.jsp
thanks in advanced.i have encountered a similar problem, here's a useful URL:
http://raibledesigns.com/tomcat/index.html -
Tomcat and Apache: No go
Hi,
Some time ago I've been working with Apache (3.17 or something) and Tomcat 3.x on a Win98 system. This worked quite well...
Now I have downloaded and installed Apache 3.20 and Tomcat 4.0 on a WinME system. Apache works properly and I can also run the JSP and servlet examples of Tomcat (http://localhost:8080).
However, I cannot access the sample JSP's and servlets when I'm using Apache. That is, if I go to the default index.html of Apache (http://localhost/) I get the page, but http://localhost/examples fails.
I have tried to find information on how to link the Tomcat 4.0 'engine' with Apache 3.20 (I expect having to make changes to the httpd.conf file), but the renewed documentation on the Jakarta-Tomcat pages is total cr*p. I hope someone in these forums can show me an example of how to enable Tomcat 4.0 support in Apache 3.20 webservers...Okay, so far I've found out that MOD_WEBAPP takes care of accessing Tomcat 4.0 from Apache, so that problem is solved.
Suppose I want to add an example JSP of my own to the examples directory. I'm able to put the JSP file in a new subdirectory called "temp" under $CATALINA_HOME/webapps/examples/jsp and it runs.
However, after putting a new feature in my JSP file it crashed. When I put a classfile that is now required under $CATALINA_HOME/webapps/examples/WEB-INF/classes/temp, which is exactly where the Tomcat examples leave their classfiles, Tomcat tells me it cannot find the class. Can someone please show me an example of what I need to type in the server.xml file, a web.xml file and where exactly I'm supposed to put my classfile... -
Hello,
Has anybody ever gotten tomcat and apache working properly? I'm having a hell of a time with it. I have them working independently, and have JK2 installed (made a package for it). I used the tomcat 4.1 package from incoming...
I can post configs and such if anybody thinks they can help. Right now, this is just a probe to see if anyone thinks they can help. I need a break from it, been scrapping with it for three hours now.
Once I get this working, I'll post a howto to the Wiki, I promise. :-D
Thanks for any info,
DustyThanks for the info so far, it's still not working though... here's what I'm getting:
chane wrote:I might be able to help a bit. I have apache 2.x and Tomact 4.1.29 running with JK2.
I've got apache 2.0.48, tomcat 4.1.27, and jk2 2.0.2. Tomcat is from incoming, I built jk2 from ABS myself; It puts mod_jk2.so in /usr/lib/apache.
in httpd.conf added a module:
LoadModule jk2_module lib/apache/rh72-2.0.2-mod_jk2.so
I've got:
LoadModule jk2_module lib/apache/mod_jk2.so
I think that's right; it seems to be loading the module (see error messages below)
in the same directory (as httpd.conf) there is the workers2.properties file:
I've tried various versions of that file. I just tried it with the one you gave copy-pasted into place, same problems.
In the tomcat server.conf there is a connector for Coyote/JK2 AJP 1.3, make sure this is not commented and is on port 8009.
I think I've got that set up properly. Isn't there some command I can use to test if there is a service running on port 8009?
Anyway, when I go to http://localhost:8080/examples/jsp, for example, it works with tomcat. But if I go to http://localhost/examples/jsp I get a 404 not found; apache isn't forwarding the request to tomcat, for whatever reason.
In /var/log/httpd/error_log, I've got this info:
[Wed Mar 10 10:44:18 2004] [error] config.update(): Can't find config file /usr/conf/workers2.properties
[Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:18 2004] [error] jk2_init() Can't find child 452 in scoreboard
[Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:18 2004] [error] mod_jk child init 1 -2
[Wed Mar 10 10:44:18 2004] [error] jk2_init() Can't find child 453 in scoreboard
[Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:18 2004] [error] mod_jk child init 1 -2
[Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:18 2004] [error] jk2_init() Can't find child 456 in scoreboard
[Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:18 2004] [error] mod_jk child init 1 -2
[Wed Mar 10 10:44:18 2004] [notice] Apache configured -- resuming normal operations
[Wed Mar 10 10:44:28 2004] [error] shm.init(): No file
[Wed Mar 10 10:44:28 2004] [error] [client 127.0.0.1] File does not exist: /home/httpd/html/examples
I can't tell if it isn't finding workers2.properties in the right place (why look in /usr/conf), or if its looking in two places and then not finding the shm file??
Do you have anything in ${TOMCAT_HOME}/conf/jk2.properties? All the stuff I've seen online wants me to add stuff to that file, but its never the same stuff.
Thanks very much,
Dusty -
Tomcat and apache bundle in Solaris10
I am a little confused between apache and apache2 bundled with Solaris10
There is
/usr/apache/tomcat/
/usr/apache2/
I have apache2 web server started on my sol10 instance but there is no tomcat container
How do I configure tomcat to run with apache2 on a default install of solaris10? Must I migrate the tomcat that comes with apache or install a new version of tomcat? or ??
thanksThe stuff that ships with Solaris is primarily used by Solaris utilities.
If you want to use it for your own purposes then you're better off installing your own version somewhere in the fileystem and then configure accordingly.
A patch to the supplied stuff could break your custom config.
alan -
Hi,
Wanted to know regarding the performance difference between apache'Jserv and tomcat.
I'm using apache with Jserv for JSP and i have an search engine application which fetches values from the database and if multiple users are accessing the site at the same time...the JVM goes 100% and the page is not displayed.
I wanted to know that if i switch from Apache and JServ to Apache and Tomcat..will it make any difference performance wise or will it be the same.
Platform: WindowsNT
Backend: Oracle 8i.
Thanks in advance.To my understanfing, JServ was the older jsp container from apache and it is not being developed or maintained anymore. Tomcat is the new apache jsp container and it is activley develped (They release minor version very often).
You can find more info on the tomcat documentation at
http://jakarta.apache.org/tomcat
Ylan -
Apache+Tomcat access to static apache data from Tomcat
Hi,
Apache is in path /opt/apache
and tomcat is on /opt/apache/tomcat
I have to access to static data (/opt/apache/data) that is handled by my apache http server from my tomcat web application. Is there a way to do this in a clean way without doing things like this :
getServletCoontext().getRealPath(xxx) and doing some ../data manipulations
ThanksI'm not completely sure I fully understand your problem.
I do not recommend opening sockets to your own WLS instance. That is a
recipe for deadlock.
Can you just include the static file in your response?
-- Rob
Yol. wrote:
We have a WebApplication which is running on a WebLogic Server 6.1.
The clients access to the application via an Apache hosted in another machine.
The Apache server redirects the requests to the server except the static files
which are served by the Apache Server.
Nevertheless, we have a few static resources that are not requested by the external
clients but are requested by the application in the WLS. The problem is that to
make this, it access the resource via the WLS, that is, via an url. That makes
the WLS open at least one socket. This cause that after a few time, there are
too many sockets in the machine opened in TIME-WAIT state.
For some reasons it is not possible to change the configuration of the sockets
in the server hosting the WLS.
We would like to access to this resources that are in the war of the WebApllication
without opening a socket.
Is it possible? Any ideas or suggestions?
Many many thanks in advance,
Yol.
Maybe you are looking for
-
I'm currently struggling with a core data issue with my app that defies (my) logic. I'm sure I'm doing something wrong but can't see what. I am doing a basic executeFetchRequest on my core data entity, but the array of managed objects returned never
-
Smart quotes got turned off?
Working in CS3. It appears that my smart quotes got turned off. Not sure where to turn them back on. Any advice? Thank you!
-
Power Not Charging 100%
Dear Support Tech Team, My computer is using: Lenovol G480. After My Lap had finished updating windows, My Adater not charging 100%. Ussually, Power charged at 50 ~ 60%. Plz check & feedback for me the way to Repair its. Tks & Best Regard. Huu Thuan
-
Difference Between N8 Made in finland and made by ...
1st of all, i do not believe this s... 2nd of all, most of my nokia set was made in china and i have no complain with that. but recently, i saw some serous post about made in finland and made by nokia set. so i bought both made in finland (no warrant
-
If BOE XI3.1 SP3& SP4 support xp mode of windows7
I want to know if BOE XI3.1 SP3& SP4 support xp mode of windows7 Thank you.