the .so files worked great..... JDBC dont work . LOL
http://www.nobelfriends.net/jdbctest.jsp
i know, i can be an idiot sometimes.
Dont i need a .htaccess to invoke jsp?
the .so files worked great..... JDBC dont work . LOL
http://www.nobelfriends.net/jdbctest.jsp
i know, i can be an idiot sometimes.
Dont i need a .htaccess to invoke jsp?
Good to hear that you got one thing fixed, thank dgbaker for that.
As for the JDBC, this was a bit tougher for me to get working. I did the install like I posted and I got basically the same error you did. I then fooled around with the classpath and finally got it working. I cant remember exactely because it was just trial and error on one machine but on my other boxes it ran off the bat. Go to the link I provided on classpaths because thats where I got the answers and got it working.
Also you may want to try thew org.gjt.mm.mysql.Driver
Go here:
http://www.mysql.com/documentation/c...html#id2800725
Vision Plateau Web Services - Total Control Hosting
http://www.visionplateau.com
well one of these days i will figure it out. thanks for all your help though
ok, i dont know what i did to get it working but now it is going![]()
Ok here is my update so far:
Now I don't get apache errors when loading .jsp, pages load, but i dont think JSP is executed.
So here is what I did before it started to work:
- Updated the mod_jk files that were apparently too small
(restarting httpd did not solve issue)
- Then I changed this line
AddModule mod_jk2.c
Include "/usr/local/jakarta/jakarta-tomcat-4.1.12-src/build/conf/auto/mod_jk.conf"
to
AddModule mod_jk.c
Include "/usr/local/jakarta/jakarta-tomcat-4.1.12-src/build/conf/auto/mod_jk.conf"
Notice i removed the 2.
(restarted httpd and now pages load)
I'll report again later.
hiiii
LOL, I told you, it was the same for me. It wasnt working and then a little later it was. I dont care how but all I know is I can now offer the latest stable release of Tomcat and JDBC to my customers without having to restrat Tomcat daily.Originally posted by geekhosting
ok, i dont know what i did to get it working but now it is going![]()
Its a beautiful thing!
I just got 2 new boxes and I am going to do the JDBC install, I will make sure I jot down exactly what I did this time to make it run but funny thing is I think I did exactly what I posted and just gave it a bit of time to take, can it be that simple?
And infinityws It is strange but like I said in an earlier post it works with the mod_jk2.c and also with the mod_jk.c
I guess it just depends on how a box is compiled and configured.
Last edited by Planet_Master; 11-07-2003 at 09:51 PM.
Vision Plateau Web Services - Total Control Hosting
http://www.visionplateau.com
CPanelhosts.com says not to use the layer1 copy of tomcat :/
hiiii
Well it works wonderfully and I don't see why not especially when dgbaker of cpanehosts asked me to post this over there.Originally posted by infinityws
CPanelhosts.com says not to use the layer1 copy of tomcat :/
I suggest if you are not experienced at doing such an install don't. if you know what you are doing then this version is leaps and bounds above anything else and cuts resource usage significantly. This is an excellent stable version and works with Cpanel beautifully.
Then again you have the choice, I just posted this for people who want to use the best.
Vision Plateau Web Services - Total Control Hosting
http://www.visionplateau.com
Well, you posted 2 files to get from cpanelhosts.com, yet he has a tutorial for an older version. So wouldn't those files be older?
hiiii
I'm going to do this tonight. However, you said that the version is 4.1.29, but the version from cpanel is 4.1.12, correct? Did you use the cpanel download or did you download it from apache.org?Originally posted by Planet_Master
Well it works wonderfully and I don't see why not especially when dgbaker of cpanehosts asked me to post this over there.
I suggest if you are not experienced at doing such an install don't. if you know what you are doing then this version is leaps and bounds above anything else and cuts resource usage significantly. This is an excellent stable version and works with Cpanel beautifully.
Then again you have the choice, I just posted this for people who want to use the best.
I used the layer 2 version which should be the 4.1.29 because it is dated Oct 31st the same day Apache released or announced the stable version. I could be mistaken but if it is not then my bad. Anyway this version works well and I will have to look into this and see if its correct. How do you know that it is version 4.1.12? Where is this stated?Originally posted by casey
I'm going to do this tonight. However, you said that the version is 4.1.29, but the version from cpanel is 4.1.12, correct? Did you use the cpanel download or did you download it from apache.org?
Vision Plateau Web Services - Total Control Hosting
http://www.visionplateau.com
I don't know which version it is, because I haven't done it yet, but in your original post you put:Originally posted by Planet_Master
I used the layer 2 version which should be the 4.1.29 because it is dated Oct 31st the same day Apache released or announced the stable version. I could be mistaken but if it is not then my bad. Anyway this version works well and I will have to look into this and see if its correct. How do you know that it is version 4.1.12? Where is this stated?
Include "/usr/local/jakarta/jakarta-tomcat-4.1.12-src/build/conf/auto/mod_jk.conf"
as the path for mod_jk.conf so I assumed it was tomcat 4.1.12.
Actually, though, the one on layer1 is oct 31, 2002 but 4.1.29 is dated oct 31, 2003 on the apache site.
That does make sense.....I am going to install 4.1.29 from the Apache site using the same steps in the original post and see what I get on one of my new boxes.Originally posted by casey
I don't know which version it is, because I haven't done it yet, but in your original post you put:
Include "/usr/local/jakarta/jakarta-tomcat-4.1.12-src/build/conf/auto/mod_jk.conf"
as the path for mod_jk.conf so I assumed it was tomcat 4.1.12.
Actually, though, the one on layer1 is oct 31, 2002 but 4.1.29 is dated oct 31, 2003 on the apache site.
Vision Plateau Web Services - Total Control Hosting
http://www.visionplateau.com
Cool.Originally posted by Planet_Master
That does make sense.....I am going to install 4.1.29 from the Apache site using the same steps in the original post and see what I get on one of my new boxes.
Let me know how it goes. I'll be upgrading mine in 6 hours....Or so I've told my customers.
I have everything installed correctly, and so far everything works such as .jsp pages, and even pages that call a bean, works fine.
However, I have a servlet that I am trying to call using the "http://www.yourdomain.com/servlet/ServletName"
syntax, and Tomcat gives me a 404.
What am I missing?