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:
  #16  
Old March 22nd, 2001, 07:04 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
JSDK

You must download JSDK 2.0 not 2.1 to get the JSDK and there are no instrutions as to what to do with the Jserv

load it but comment out the entry for Jserv in the httpd.conf file for apache - otherwise it conficts with TomCat

Reply With Quote
  #17  
Old March 22nd, 2001, 07:38 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
JDBC Driver

I found that the DB driver jar file needed to be put into the tomcat\lib dir, it would not pick up the driver from the DB classes dir.

Reply With Quote
  #18  
Old March 25th, 2001, 08:29 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Slapping together a JSP Development

thank God I'm not the only one!

Reply With Quote
  #19  
Old April 12th, 2001, 11:24 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: jsdk.jar found!!!

Or download the dll directly and put it into the apache/modules directory



http://java.apache.org/jserv/dist/old/dll/



-Shane

Reply With Quote
  #20  
Old April 28th, 2001, 11:12 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Set env variables

Thanks a lot for the reference to that wonderful utility, after several hours of frustration I finally found that great tool. Thanks Again!

Reply With Quote
  #21  
Old May 4th, 2001, 06:39 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
JAVA_HOME

How can I set the path to jdk. I did it in /etc/profile, but I have to manually write JAVA_HOME=/usr/java/jdk ; export JAVA_HOME everytime I restart the machine.
After writing that, tomcat is working, and without :8080. Before that, tomcat cannot see the java interpreter.
I have to manually install tomcat instead of the rpm version to actually make it work.

IŽll trying to improve my skills in java.

Thanks,

Reply With Quote
  #22  
Old May 4th, 2001, 06:45 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mm.mysql.jar file

I have downloaded the JDBC mm.mysql-2.0.4.src.jar driver, but (apologises for the dumb question) how can I extract the mysql.jar from the archive?

Thanks,

Reply With Quote
  #23  
Old May 4th, 2001, 07:11 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: mm.mysql.jar file

After writing /usr/java/jdk/bin in the /etc/profile file, I can access the jar files as usn claims in their site.

Stupid me...

Reply With Quote
  #24  
Old May 4th, 2001, 07:16 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: mm.mysql.jar file

After writing /usr/java/jdk/bin in the /etc/profile file, I can access the jar files as usn claims in their site.

Stupid me...

Reply With Quote
  #25  
Old May 16th, 2001, 07:24 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: changing servlet directory

I am using it on windows 98, but where I would start would be changing the last line in the part of the server.xml file that says...dunno about Linux

<RequestInterceptor className="org.apache.tomcat.request.InvokerInterceptor"
debug="0" prefix="/servlet/" />

To something else.

Reply With Quote
  #26  
Old June 1st, 2001, 07:21 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
quick question

can anyone tell me why i get

Apache/1.3.14 (Win32) ApacheJServ/1.1.2 running...

instead of

Apache/1.3.14 (Win32) tomcat/1.0 running...

as shown in the article??????

Reply With Quote
  #27  
Old June 7th, 2001, 04:32 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
httpd.conf problem-Article isnt working for me

Can anyone help me? Im following the Slapping together a JSP DEV environment page5.html and am having problems. Its the last part:

add the following line to the end of httpd.conf:

Include/usr/local/tomcat/conf/tomcat-apache.conf

I did what he said and put it as the very last line in the http.conf file and when i restart tomcat and startup apache i get:

Syntax error on line 2 of /usr/local/tomcat/conf/tomcat-apache.conf: ApJServManual: cannot be specified more that once per host
{
then i get the dreaded [FAILED]

Please, o please someone help me. ive already failed at trying to install Tomcat on MAC OS X and now a Linux Tomcat failure...? I shutter to think that i might try installing an ASP instead.

thanks in advance.

Brian


Reply With Quote
  #28  
Old June 18th, 2001, 08:18 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
What about IIS??

I've already gone to the trouble of setting up my win2k machine with PHP4 and Mysql running on IIS 5.0 for development purposes.

Can I use JSP's on IIS or do I have to change over to Apache??


Thanks in advance

Ciaran.

Reply With Quote
  #29  
Old June 22nd, 2001, 12:32 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: httpd.conf problem-Article isnt working for me

is there another include statement right above yours? if so, try commenting it out and see what happens.

Reply With Quote
  #30  
Old July 17th, 2001, 01:20 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: httpd.conf problem-Article isnt working for me

Ok, i got ambitious and decided to see if i could set up a JSP environment once again.
<br />
<br />
Just to recap, i can run all the jsp samples doing http://localhost:8080. But when i add the Include /usr/local/tomcat/conf/tomcat-apache.conf to my httpd.conf file I have problems.
<br />
<br />
I took your advice and uncommented the Include statement above the new statment but am still having problems
<br />
<br />
This is what the end of my httpd.conf file looks like: (had to change "<" to "("
<br />
<br />
(IFModule mod_jserv.c)
<br />
# Include /etc/httpd/conf/jserv/jserv.conf
<br />
Include /usr/local/tomcat/conf/tomcat-apache.conf
<br />
(/IFModule)
<br />
<br />
When trying to run apache again it starts, but wont run the sample jsp files. Is this how you have your httpd.conf file configured? Im running Redhat Linux 7.0 so im not sure if thats what you have or not. If you are running the same thing, maybe i could look at your httpd.conf file? Anyway, thanks for your help.
<br />
<br />
Brian

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