Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 7th, 2001, 04:44 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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

Reply With Quote
  #2  
Old March 7th, 2001, 11:52 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
EJB?

Seems straight forward, however, what about including support for EJB as well?

Reply With Quote
  #3  
Old March 7th, 2001, 01:56 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #4  
Old March 7th, 2001, 06:12 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #5  
Old March 7th, 2001, 06:13 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #6  
Old March 8th, 2001, 07:01 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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).

Reply With Quote
  #7  
Old March 10th, 2001, 03:56 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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/

Reply With Quote
  #8  
Old March 11th, 2001, 10:50 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #9  
Old March 13th, 2001, 06:41 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #10  
Old March 14th, 2001, 03:21 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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!


Reply With Quote
  #11  
Old March 14th, 2001, 06:33 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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

Reply With Quote
  #12  
Old March 14th, 2001, 06:38 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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


Reply With Quote
  #13  
Old March 15th, 2001, 04:20 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #14  
Old March 19th, 2001, 03:46 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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 ;)

Reply With Quote
  #15  
Old March 21st, 2001, 07:35 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Slapping Together A JSP Development Environment

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap