Tag Info

Hot answers tagged

4

I figured it out -- the package doesn't quite work right with Sun's latest Java6 package, sun-java6-jdk; the fix is fairly straightforward when you find it: Once I found the daemon.log, I found the errors listed in my edit on the question, but those are just a side-effect of this error: jsvc.exec[18819]: Could not load Logmanager ...


4

I found the following information, guess this should help you. Try this, Each application must use its own log4j. You can achieve this by placing log4j.jar in WEB-INF/lib of each application. In each log4j's configuration file (default location is WEB-INF/classes), specify the log file name, e.g. log4j.appender.AppLog.File=${catalina.home}/logs/app1.log. ...


2

After much Googling, here's what we found: First, ensure that your JAVA_HOME environmental variable is set: WRKENVVAR LEVEL(*SYS) WRKENVVAR LEVEL(*JOB) If JAVA_HOME isn't set, add an environmental variable that points to your Java path. In my case: JAVA_HOME = '/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit' If you've got your own cert already, use it; ...


2

Tomcat runs under one single JVM. This means that there can be one (and only one) process per single Tomcat instance. If you deploy multiple apps into the same Tomcat, they will run within the same JVM and will share the same address space. There will be different classloaders for each webapp though. If you need multiple processes, you need to run multiple ...


1

For some weired reason the script was not working after reboot and it turns out that Tomcat needs JAVA_HOME variable to be able to start itself.This variable I had defined in .bashrc but this script was still not able to work.So when I defined JAVA_HOME in the above script also then it did worked.


1

If I understand your request correctly, you want to have 1 server with 1 ip address have 2 webserver processes each use port 80 for HTTP traffic, redirecting requests to different virtual web sites by means of their host headers. In my view this cannot be done, because the processes (iis6 and tomcat) will each try to set up their services on TCP port 80, ...


1

I ended up getting this to work but I had to re-install Tomcat fresh and re-configure the mod_jk ISAPI plugin exactly as it's specified here. I accepted tptechs answer because if I followed those directions I would have been done in about 1/2 the time :D


1

Check the logs directory, look at your catalina.out log. This will provide you with some more information. You might be running out of either heap or permgen space. Typically when my apps won't start it is due to some configuration error (bad file system path that the app is depending on ) or some memory issue. The log should give you some more insight.


1

Part of your problem is that you are probably starving all other processes for ram. My general rule of thumb for -Xms and -Xmx are as follows: -Xms : <System_Memory>*.5 -Xmx : <System_Memeory>*.75 So on a 4GB systems it would be: -Xms2048m -Xmx3072m, and in your case I would go with -Xms896m -Xmx1344


1

While I haven't run any JRuby apps on Tomcat, I have run ColdFusion apps on varied J2EE app servers, and I also have had similar issues. In these FAQs, you'll see that SOracle says that on 32-bit Windows, you'll be limited to a max heap size of 1.4 to 1.6 GB. I never was able to get it stable that high, and I suspect you're running a similar configuration. ...


1

I know there's already an answer chosen, but still, here goes my explanation. First of all, in the commandline you use, you already reserve 1536 megabyte for the Java heap (-Xmx1536m) and 256 megabyte for the PermGen (-XX:MaxPermSize=256m). The PermGen is allocated separately from the Java heap and is used for storing the Java classes loaded in the JVM. ...


1

If you would like say, things under the path http://localhost/static/* to be served up from Apache, then you can set a RewriteCond before your rule to capture everything that doesn't have the URI as /static/* and forward on the Tomcat via AJP, essentially leaving /static/* alone to be served out from DocRoot or an Alias, etc. For example: RewriteCond ...


1

If you don't use LDAP support for anything, you can comment out every module mentioning LDAP. If you don't use WebDAV, feel free to comment out mod_dav. If you don't use Apache's caching abilities for storing stuff from your Tomcat, comment out all the cache modules. If you don't use suexec for any CGI scripts, comment out that one. If you don't use Server ...



Only top voted, non community-wiki answers of a minimum length are eligible