ok..i will try to get it straight.
I had installed XAMPP v.1.7.3 on my windows 7 ultimate OS via the exe installer by running it as admin ("right-click >> run as administrator").
i had given all the default setup parameters while the setup_xampp.bat was executed.
& then i continued my installation process by installing tomcat addon (the latest version; downloaded right from the site: apachefriends.org)
setup then said that an update has been found.. etc.
i said yes and the updation process went further without any errors.
NOW the problem started when i choose to run tomcat (after tomcat i had to go on for executing apache i know by the way i had executed xampp control by running it as admin again~).
SO when i clicked on tomcat i got this error window:
window title: javaw.exe – ordinal not found
message: the ordinal 2502 could not be located in the dynamic linked library
LIBEAY32.dll
BUT when i clicked on apache it worked beautifully~ & mySQL too worked gr8! but now the tomcat thing was popping out an error and wasn't starting up!
when i googled the error message; I found nothing worthy.
i tried a lot of keyword combos and finally i got to know that if i copied the files: libeay32.dll & ssleay32.dll into c:\windows\system32\
from xampp\apache\bin directory or xampp\php directory (note that these files have file version 0.9.8.12 in both of these 2 mentioned directories!)
(whereas i checked out xampp\tomcat\bin directory and it had file version as 0.9.8.10 for both of the mentioned files!)
So finally i copied the above two files from xampp\php directory into c:\windows\sytem32 (replacing the original version of these 2 files having size: way too smaller than these! & thats not a problem~)
And to my surprise i can now start tomcat from xampp control window (xampp control being executed with admin rights)
BUT here comes the real prob: now I was unable to start apache from xampp control!
the xampp control din't gave me an error or something. whenever I tried to start tomcat from xampp control it first gave me the green highlighted message showing "running" & the button "start" was disabled
BUT after few seconds say after 2-3 seconds the message turned "stopped" and the button saying "start" also came up!
I again googled like anything..and got nothing~
so i ran the setup and disabled "mod_jk" for just testing it out that whether it has something to do with this..
(
actually previously, after the problem given just above^ i ran into the logs & searched the following directories:
> xampp\apache\logs\error.log (gave me a directive to go through tomcat's log)
error message was:
[emerg] Error in creating the workers. Please consult your mod_jk log file 'C:/xampp/xampp/tomcat/logs/mod_jk.log'.
..(many same lines..)
..and the last line of the file said:
[emerg] Error in creating the workers. Please consult your mod_jk log file 'C:/xampp/xampp/tomcat/logs/mod_jk.log'.
Configuration Failed
> xampp\tomcat\logs\mod_jk.log (to my astonishment.. it was empty yup zero bytes~)
)
i figured out that if i could disable this module -> "mod_jk"
i can try running it again..
& thats what i did (i disabled it through xampp's setup) and voila! i made it yep~ both the tomcat and apache were up & running perfectly; i tried executing the examples too the tomcat ones..and they ran perfectly.
but however i am left with a bundle of questions only you people can help me out with.
1> is disabling the "mod_jk" safe? i mean what effects will it have over my xampp + tomcat addon installation?? is there something extra that i will have to do while testing/deploying applications on tomcat or on apache or even on mySQL ??
2> is there any other work around to this problem??
3> have i discovered a BuG ?
4> any other suggestions..?
-----
PS: sorry from my side because first of all its too lenghty..(i know; couldn't write it in much better way. after all this is a forum; to help others in future is a must~)
and yea..i gave it some extra spacing for the sake of reading and i yup hehe.. i use lots of brackets (umm..for the sake of understanding..)
I by time of finishing this post have searched forums world-wide and what i feel is this problem had made some users (not many) go crazy~!
Looking forward for an early reply,
Warm Regards,
echo9