JSP / Servlet - PHP Integration OptionsMay 10th, 2006 There are four different integration options in order of complexity and your requirements. They are as follows:
Multi-port Integration
Run Apache (with PHP) on default port 80 and Tomcat on default port (8080).
Eclipse 3.1 + Tomcat 5.5 Integration SolutionSeptember 17th, 2005 I am trying to develop (java) web applications (running on Tomcat 5.5) with Eclipse 3.1. The obvious choice - Sysdeo Tomcat plugin doesn't work even with 3.1beta version.
What Java Needs Most To Be The Preferred Web 2.0 LanguageSeptember 25th, 2006 Many would think at this point I am talking about better AJAX support in the core. While we do need better support for AJAX and I am not talking about DWR, I don't think that's what ails Java in its quest for being.
Tomcat 5.5 with Apache 2.0 Integration in 5 Simple StepsMay 4th, 2005 The simplest configuration is described. It assumes you already have Tomcat 5.5 and Apache 2.0 (instructions for Apache 1.3 is also provided) installed and running.
Mystery of Vanishing Sysdeo Tomcat Plugin for EclipseSeptember 18th, 2005 I posted earlier about my inability to use Sysdeo Tomcat Plugin with Eclipse 3.1. I found the solution.
How To Resolve Tomcat - Openfire Port ConflictNovember 13th, 2007 Openfire (Jabber/XMPP server) by default binds on port 8080 which is also used by Tomcat. This causes Tomcat to fail when openfire is started before it.
J2EE Performance Improvement 3X on LinuxApril 5th, 2006 In an interesting press release IBM announced today that Olympus America Inc., a precision company that designs and delivers solutions in healthcare and consumer electronics worldwide, has increased the performance of its Web services three times by supplementing its current environment with Linux on IBM's "all-in-one" System i business computing solution. I am not surprised.
JInvite - Java Invitation APIApril 10th, 2008 JInvite is a simple Java API which makes it easy to add invite capabilities to Java - the ability for existing members of your web service to invite other members. This capability was in the early days of GMail and now widely adopted by Web 2.0 (beta) sites for limiting site load and gradually increasing capacities.
How to unload Java ClassMarch 15th, 2005 I have been asked this question several times. Recently Xyling asked the same question in his blog.
My experience with Jelly & recommendation on lightweight IMDBJanuary 24th, 2004 I just read Hani's experiences with axiondb - The BileBlog. It echoes my sentiments with common's projects, specially the maven enabled ones, minus his colorful language of course.
How to run javac 1.5 (or beyond) compiler for JSP compilation in Tomcat 5.5 with generics enabled (and other Java 1.5 only features like autoboxing)February 3rd, 2005 Target Audience
Java/JSP developers on Tomcat and Application Server administrators. Problem
Tomcat 5.5 (unlike Tomcat 5.0 and versions below) comes with Eclipse JDT compiler enabled by default for JSP compilation.
How To: Triple Monitor Setup With Dual Monitor & Laptop (Linux & Windows)April 29th, 2007 I started using dual monitors (SyncMaster 740N) on Linux (Fedora Core 6) about a month back on my new dream computer. I used GeForce 6200 LE with 256 MB RAM which provides for dual monitors with a VGA and DVI output.
JSP: Innocence Lost With Increased Complexity?June 13th, 2007 I am an avid JSP / Servlets user (and fan) since its introduction. Nothing gives me more pleasure than to quickly prototype and deliver a robust application within few days (even a single day) for a client using JSP and servlets.
Compiere Installation Gotcha's (Using Oracle Database 10g XE)March 10th, 2007 While installing Compiere, the leading web based open source ERP (Enterprise Resource Planning) & CRM (Customer Relationship Management) software, on Windows you may face some non-trvivial problems. This document is an overview of the problems you can face while installing Compiere and how to solve them.
How to Achieve Windows Vista-Style Taskbar in Windows 7 in Two Simple StepsJanuary 19th, 2009 Whatever be the bugs, Windows Vista reigned supreme in one category and that was its looks. Anything that looks good sells.
April 23rd, 2004 at 1:07 pm
Don’t forget to uncomment the servlet-mapping for cgi
December 11th, 2004 at 2:11 pm
I did at the bottom.
March 25th, 2005 at 1:58 pm
I had to specify an executable init param equal to the full path of perl in order to get this to work.
executable
full path of perl
I am not sure why I had to do this since perl should already be in the path. I’m running TomCat 5 on Windows XP Professional.
April 4th, 2005 at 3:14 pm
@Giles Specifying full-path looks logical to me. Java doesn’t invoke executables by looking at the path variable.
May 6th, 2005 at 1:43 am
Add
executable
or (windows xp)
executable
cmd /c
May 6th, 2005 at 1:47 am
add
param-name=executable
value=
or (windows xp)
param-name=executable
value=cmd /c
May 6th, 2005 at 1:49 am
Directly add executables including batch files.
However if your want to execute cmd commands like dir then you will have to use cmd /c dir.
October 4th, 2005 at 5:04 am
December 2nd, 2005 at 4:55 am
hi all.can anybody help me to send and receive mail from my localhost.im using tomcat5 as my localserver.plz help me out..thanks to all
December 2nd, 2005 at 7:24 am
Hi Rock,
Please refer to this article -
How to Send / Receive Emails (SMTP & POP) From Localhost; Simple Freeware MailServer
It has been written to address your question.
Best,
Angsuman
December 15th, 2005 at 10:14 am
Please, what is the URL that I shoul enter in order to get the cgi executed?
Does the url below shouldn’t work? it isn’t.
http:localhost:8080//cgi-bin/foo.sh
thanks
Breno Leitão
December 15th, 2005 at 11:44 am
Try:
http://localhost:8080/Your web application directory]/cgi-bin/foo.sh
Please closely follow the instructions above.
April 20th, 2006 at 12:42 pm
I have been trying to put perl scripts in webapps/ROOT/WEB-INF/cgi-bin:
A) printEnv.cgi
#!/usr/bin/perl
print “Content-type: text/html\n\n”;
print “\n”;
foreach $key (sort keys(%ENV)) {
print “$key = $ENV{$key}”;
}
B) Changes to web.xml
cgi
org.apache.catalina.servlets.CGIServlet
executable
/usr/bin/perl
clientInputTimeout
100
debug
6
cgiPathPrefix
WEB-INF/cgi-bin
5
cgi
/cgi-bin/*
D) Renamed to servlets-cgi.jar
E) Restarted server
But when I do:
http://mydomain/cgi-bin/printEnv.cgi
it does not go to the URL
April 28th, 2006 at 12:24 pm
The steps have worked perfectly for many including myself.
Unfortunately I don’t have time at this moment to support your specific issue.
April 25th, 2007 at 1:47 pm
Hi,
I followed the steps but I cannot start bat file as cgi script on WinXP. The error is: “java.io.IOException: Cannot run program “perl” (in directory “C:\Program Files\Tomcat 5.5\webapps\test\WEB-INF\cgi”)
I tried to add
param-name=executable
value=cmd /c
or param-name=executable
value=cmd
but without success. Any ideas?
October 19th, 2007 at 3:37 am
test.cgi is :
#!\perl\bin\perl.exe
print "Content-type: text/html\n\n";
print "IN TEST!\n";
print "\n";
print "IN TEST!\n";
print "\n";
Store Location of test.cgi is : webapps/test/
Output in http://localhost:8080/test/test.cgi
#!\perl\bin\perl.exe print "Content-type: text/html\n\n"; print "\n"; print "\n"; print "
IN TEST!
\n"; print "\n";
October 19th, 2007 at 3:48 am
Please help me to fix the working of CGI which I mentioned above. I am not able to execute ang CGI through TOMCAT.