The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Slapping Together A JSP Development Environment
Discuss Slapping Together A JSP Development Environment in the Development Articles forum on Dev Shed. Slapping Together A JSP Development Environment Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 7th, 2001, 04:44 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
mod_jk vs mod_jserv
Hi
I remember my frustration when i had to get tomcat with apache up and running, so great to see this article to help others!
But i used mod_jk, i kind of got the feeling that is was the newest and the one recomended by the jakatar project, but i still see a lot of people using mod_jserv??
Can someone enlighten me ?
Regards Emil
|

March 7th, 2001, 11:52 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
EJB?
Seems straight forward, however, what about including support for EJB as well?
|

March 7th, 2001, 01:56 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
can't install jserv
I tried installing jserv but failed each time it asks for the 'jsdk.jar' file. I installed 'j2sdk-1_3_0_02-win.exe' on WIN98 into c:\jdk. I am able to run both Apache and Tomcat.
Any suggestions?
|

March 7th, 2001, 06:12 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
logging errors
Excellent article! I can't even begin to tell you how long I've been trying to get jsp on my FreeBSD 4.2-S box.
I'm getting the following errors while trying to start httpd:
JServ: Error setting defaults: ApJServLogFile: file '/usr/local/./logs/mod_jserv.log' can't be opened
I can do a one time fix of this by putting the following line in my tomcat-apache.conf:
ApJServLogFile /var/log/mod_jserv.log
But then, it would appear that tomcat-apache.conf is built dynamically as this line disappears the next time I try to start httpd.
Anyone else experience this?
|

March 7th, 2001, 06:13 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
jsdk.jar found!!!
I finally was able to install JServ after downloading the correct JSDK installer. After installing Java 2 SDK 1.3.0_02, I also had to install Java Servlet Development Kit 2.0 to get the jsdk.jar file which JServ requires before finishing the installation process. You can get the JSDK2.0 installer at http://java.sun.com/products/servlet/archive.html
Hope this helps anyone else who runs into the JServ install problem.
|

March 8th, 2001, 07:01 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: mod_jk vs mod_jserv
Yes you are correct. I'm no expert but mod_jk is supposed to replace mod_jserv. I actually found the installation process to be simpler when using mod_jk (less trouble).
|

March 10th, 2001, 03:56 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Set env variables
I encountered problem with environment space
"Out of environment space" but you don't need to add them to your C:\AUTOEXEC.BAT startup file, you just have to install a great utility that creates var and starts tomcat.
You'll find it at :
http://www.geocities.com/jdrudnicki/
|

March 11th, 2001, 10:50 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: jsdk.jar found!!!
Use the cusom install and install the module only. Then you don't need the jsdk.jar, and it won't ask for it.
|

March 13th, 2001, 06:41 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
404 errors
i did just like the tutorial said for windows2000.
except the tutorioal forgot to mention that you should get that dll file from the tomcat site since it doesnt come with the zipfile(http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/ApacheModuleJServ.dll).
everythings seems to work fine now, that is, tomcat works(examples work), apache works(says its running tomcat) but whenever i point apache to a .jsp file it gives me a 404 error (tomcat says:" Ctx( ): 404 R( + /test.jsp + null) JSP file not found").
when i rename my jsp file to .htm apache has no trouble locating the file......???
whats deees?
|

March 14th, 2001, 03:21 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Slapping together a JSP Development
I spent many hours like you trying to configure Apache, Tomcat, and Iplanet. Life could have been better if Sun had put out a document with step by step for NT and another one for Unix. Thanks very much for this document!
|

March 14th, 2001, 06:33 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: mod_jk vs mod_jserv
Can someone supply me with documentation on how to setup mod_jk rather than mod_jserv on Windows 98
|

March 14th, 2001, 06:38 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
mod_jk installation on Windows 95/98
Can someone supply me with documentation on how to setup mod_jk rather than mod_jserv on Windows 98
|

March 15th, 2001, 04:20 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: 404 errors
ok,
i just found out it DOES work after all.
the file not found error only aplies for .jsp files placed directly in the htdocs dir (=webroot), if i place my file in the examples dir apache executes it without a problem.
but why is this, do you have to specify .jsp handlers for every dir specificaly, if so, how?
one more thing,
i just realised that i never even installed the jserv package since it kept on nagging about not being able to find some .jar file , however, all seems to be working fine without it....?
i friend of mine didnt install it either and it also seems to works for him just fine.
i guess not installing the jserv package will make me run into trouble somewhere along the way, si/no?
|

March 19th, 2001, 03:46 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: EJB?
Heh... I'm going that right now... I'll try and post when I've managed it ;)
|

March 21st, 2001, 07:35 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
changing servlet directory
AAAAAAAH.
Anyone know how to change the servlet directory from /servlet/ to something else. I'm using tomcat with apache on a linux system. Every time I change the mod_jk.conf-auto file it changes back to load the servlets in the servlet directory. Anyone have any clue how to change this?
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|