The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Page 2 -
Slapping Together A JSP Development Environment
Page 2 - 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 22nd, 2001, 07:04 AM
|
|
Guest
|
|
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
|

March 22nd, 2001, 07:38 AM
|
|
Guest
|
|
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.
|

March 25th, 2001, 08:29 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Slapping together a JSP Development
thank God I'm not the only one!
|

April 12th, 2001, 11:24 AM
|
|
Guest
|
|
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
|

April 28th, 2001, 11:12 PM
|
|
Guest
|
|
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!
|

May 4th, 2001, 06:39 AM
|
|
Guest
|
|
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,
|

May 4th, 2001, 06:45 AM
|
|
Guest
|
|
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,
|

May 4th, 2001, 07:11 AM
|
|
Guest
|
|
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...
|

May 4th, 2001, 07:16 AM
|
|
Guest
|
|
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...
|

May 16th, 2001, 07:24 PM
|
|
Guest
|
|
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.
|

June 1st, 2001, 07:21 PM
|
|
Guest
|
|
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??????
|

June 7th, 2001, 04:32 PM
|
|
Guest
|
|
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
|

June 18th, 2001, 08:18 AM
|
|
Guest
|
|
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.
|

June 22nd, 2001, 12:32 PM
|
|
Guest
|
|
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.
|

July 17th, 2001, 01:20 PM
|
|
Guest
|
|
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
|
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
|
|
|
|
|