#16
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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
  2. #17
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  4. #18
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Slapping together a JSP Development


    thank God I'm not the only one!
  6. #19
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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
  8. #20
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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!
  10. #21
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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,
  12. #22
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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,
  14. #23
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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...
  16. #24
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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...
  18. #25
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  20. #26
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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??????
  22. #27
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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

  24. #28
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  26. #29
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  28. #30
  29. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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 &quot;<&quot; to &quot;(&quot;
    <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

IMN logo majestic logo threadwatch logo seochat tools logo