Search found 69 matches: tomcat

Searched query: +tomcat

Return to advanced search

Re: 1.7.3 + Tomcat Apache Virtual Host NOT completely working

Not sure if there is yet a Tomcat addon for XAMPP 1.7.3 as the one referred to on the XAMPP For Windows home page is for XAMPP 1.7.2 - usually the Tomcat addon release follows later than the XAMPP version release, so if you are having Tomcat issues then perhaps you may need to wait for the latest version release.
Tomcat Readme file wrote:Add-on Tomcat 6.0.20 (for Apache 2.2.11 >= XAMPP 1.7.2-dev3.1 )



First, return your httpd.conf file back to the default installation file of XAMPP.

Make sure that your other instance of Apache is never run at the same time as XAMPP.

Your Tomcat configuration is taken care of in the C:\xampp\tomcat\conf\auto\mod_jk.conf folder so the entry in your httpd-vhost.conf file is not required and BTW the paths specified for Tomcat is relative to the C:\xampp\tomcat\webapps folder as defined in the C:\xampp\tomcat\conf\server.xml file
server.xml wrote: <!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
You also have some other problems with your vhosts and when there are errors the default vhost - localhost in your vhosts file - is always returned.

So having said all that and assuming you have put back XAMPP to it's default installation state then perhaps your vhosts file may look something like this:
Code: Select all
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs"
    ServerName localhost
</Directory>   
</VirtualHost>


<VirtualHost *:80>
    DocumentRoot "C:/temp/5"
    ServerName dummy-host.localhost
<Directory "C:/temp/5">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>   
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "C:/temp/8"
    ServerName dummy-host2.localhost
<Directory "C:/temp/8">
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>   
</VirtualHost>
Your C:\Windows\system32\drivers\etc\host file should have these entries immediately after the normal localhost entries
Code: Select all
127.0.0.1 dummy-host.localhost
127.0.0.1 dummy-host2.localhost
After returning your httpd.conf file to it's installation defaults and after making the above edits, save the files and restart the XAMPP Apache server and try again to access via your web browser but first clear your browser's cache.
by Izzy
13. January 2010 01:37
 
Forum: XAMPP for Windows
Topic: 1.7.3 + Tomcat Apache Virtual Host NOT completely working
Replies: 7
Views: 13585

Re: 1.7.3 + Tomcat Apache Virtual Host NOT completely working

Please paste into forum code brackets your httpd-vhosts.conf file and your Windows hosts file.
by Izzy
12. January 2010 23:39
 
Forum: XAMPP for Windows
Topic: 1.7.3 + Tomcat Apache Virtual Host NOT completely working
Replies: 7
Views: 13585

Re: Basic Question

Missing support info - what XAMPP version and which Windows OS?

See if this stats component included in XAMPP is what you want:
http://localhost/webalizer

If that is not what you want then find what you want on the Internet and install it.

BTW, there is a Tomcat addon for XAMPP, see the reading below.

More helpful reading for new XAMPP users:
\xampp\readme_en.txt file
or
http://www.apachefriends.org/winxampp/readme_en.txt

http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html
by Izzy
14. December 2009 21:43
 
Forum: XAMPP for Windows
Topic: Basic Question
Replies: 4
Views: 3179

Re: serverlet on xamp

Missing support info - what XAMPP version and which Windows OS?
So assuming latest stable XAMPP version and Windows XP.

fenster.ben wrote:can i add tomcat to xampp...
http://www.apachefriends.org/en/xampp-windows.html#644
http://www.apachefriends.org/winxampp/r ... tomcat.txt


More helpful reading for new XAMPP users:
\xampp\readme_en.txt file
or
http://www.apachefriends.org/winxampp/readme_en.txt

http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html
by Izzy
13. December 2009 22:48
 
Forum: XAMPP for Windows
Topic: serverlet on xamp
Replies: 1
Views: 1957

Re: No suitable driver, JDBC on a servlet

Did you install the Tomcat addon?

IF so, is Tomcat showing running in your XAMPP Control Panel?
by Izzy
12. December 2009 00:00
 
Forum: XAMPP for Windows
Topic: No suitable driver, JDBC on a servlet
Replies: 5
Views: 5704

Re: Tomcat installation fails

Try manually running the setup_xampp.bat file in the xampp folder.

The self extracting exe file is simply a WinRAR archive file so if you have WinRAR or 7zip then right click on the file and select to open the archive.

You will then find all the Tomcat Addon files which can be manually extracted (dragged) to their correct locations by overwriting when asked - then run the setup_xampp.bat file to complete the install.

Full install instruction are in the readme-addon-tomcat.txt file in the xampp folder or in the opened WinRAR archive file.
by Izzy
11. November 2009 05:20
 
Forum: XAMPP for Windows
Topic: Tomcat installation fails
Replies: 7
Views: 6977

Re: Redirect from localhost/xampp/ to localhost:85/xampp/

patelsp wrote:I installed xampp successfully with tomcat. But since the ports are confilicting
Which ports are conflicting and how do you know that the ports are conflicting?
Error messages?

patelsp wrote:...but in the XAMPP control panel there is the "ADMIN" button...
This is hard coded for port 80 and is not changeable.

To access the Admin pages you will always have to add the port number to the URI, you will have to add it to all localhost URIs now.

BTW Tomcat should not port conflict if you installed it correctly, so there may be something else using port 80 - click on the Port Check button in the XAMPP Control Panel (XCP) and see what might be using port 80.
by Izzy
09. November 2009 01:27
 
Forum: XAMPP for Windows
Topic: Redirect from localhost/xampp/ to localhost:85/xampp/
Replies: 4
Views: 9418

Re: How To Get Localhost

marrett wrote:1. How can I set up XAMPP so that I can go to http://localhost/name of folder and start up a web session within htdocs
You place your files in a folder in the htdocs folder.
http://localhost/name_of_folder/index.php or .html
marrett wrote:Right now when I type http://localhost/index.html I dont get "IT Works "
What do you get?

What do you see when you type this in your browser
http://localhost

or this:
http://127.0.0.1

marrett wrote:2.How do i install the Tomcat extension ? where is the extension addon button ?
You need to download the Tomcat addon from the same page you downloaded XAMPP from and follow the instructions in the file:
http://www.apachefriends.org/winxampp/r ... tomcat.txt

BTW there are good installation instructions and a link to the FAQ on the same page you downloaded XAMPP from.
by Izzy
07. November 2009 06:20
 
Forum: XAMPP for Windows
Topic: How To Get Localhost
Replies: 9
Views: 5202

Re: Tomcat not installed by default in XAMPP Win32 1.7.2

Are Apache and MySQL started - check by looking for the green running next to Apache and MySQL in the XAMPP Control Panel.

Look in the error log file - \xampp\apache\logs\error.log

Make sure your php script starts with <?php not <?

Can you see the Welcome Page when you type http://localhost in your browser?

What are you typing in your browser to access the php page that just gives code?

How are you trying to open the php file that just gives code?
by Izzy
28. October 2009 23:27
 
Forum: XAMPP for Windows
Topic: Tomcat not installed by default in XAMPP Win32 1.7.2
Replies: 4
Views: 6193

Re: Tomcat not installed by default in XAMPP Win32 1.7.2

You can download and install the Tomcat addon from the XAMPP for Windows Home Page - same page you downloaded 1.7.2 from.

BTW it would be a good idea to read the above Home Page and the FAQ linked form the same page both contain helpful information, plus the readme file that came with XAMPP and, before installing Tomcat, it's associated readme file.

Good luck.
by Izzy
26. October 2009 17:59
 
Forum: XAMPP for Windows
Topic: Tomcat not installed by default in XAMPP Win32 1.7.2
Replies: 4
Views: 6193

Re: Start menu/Apache Friends/XAMPP missing on Vista 64

Aeneas wrote:After downloading and installing all 3 .EXE's for XAMPP for Windows
What are these 3 EXE files you mention and why try and install more than 1 versions of XAMPP when for most the full Basic Package plus the Tomcat addon is all that is usually required?

Aeneas wrote:Which installation is responsible for installing this Start Menu content ?
This question is answered on the XAMPP for Windows home page in the installation instructions.

BTW, you are logged into Vista as an administrator and have disabled UAC before attempting to install a complex set of files and folders that may require to write to Vista system folders?

AFAIK the full Basic Package version of XAMPP does most of the work automagically when you answer the questions in the installation setup script.

BTW if what you want is not done automagically during install then you can always add to the start menu folder anything you want manually - you can even create manually shortcuts on the desktop to those files you want to access frequently.
by Izzy
22. October 2009 05:59
 
Forum: XAMPP for Windows
Topic: Start menu/Apache Friends/XAMPP missing on Vista 64
Replies: 2
Views: 3066

Re: Setting a custom JRE for Tomcat

Sorry I could not be more directly helpful.

Try this by using:
Code: Select all
if defined JAVA_HOME set JAVA_HOME=
leave blank.
(because you have the System variable set then try leaving both those entries blank ie "" and see if that helps)

from this post:
http://www.coderanch.com/forums/posts/list/87999

From this topic:
http://www.coderanch.com/t/87999/Tomcat ... env-values

From these search results of which you may not feel so alone after reading them - sorry, I ran out of time but you may have more time and be able to understand better these search results.

There was also another tip I found (not tested) that may return some message about the issue by adding:
Code: Select all
echo %errorlevel%
before and after that set JAVA_HOME= line
Perhaps here should also be an echo off line also somewhere after you have finished with the error messages.

Good luck.
by Izzy
03. October 2009 01:27
 
Forum: XAMPP for Windows
Topic: Setting a custom JRE for Tomcat
Replies: 31
Views: 39791

Re: Setting a custom JRE for Tomcat

Sorry, not sure about your issue but a silly question, have you checked the Task Manager>Processes to see if Tomcat has already started?

You can also check if it running by using Port Check in the XAMPP Control Panel (XCP) also see if there is a green running next to Tomcat in the XCP.

If Tomcat is already started then the tomcat_start.bat file may return that message.

Have you tried to add the variable to the System variables in the Windows Control Panel>System>Advanced>Environment Variables?

You may have to wait until the bat file guru spots your post and replies to it, if not then I am at a loss to suggest alternatives.

Good luck.
by Izzy
02. October 2009 23:39
 
Forum: XAMPP for Windows
Topic: Setting a custom JRE for Tomcat
Replies: 31
Views: 39791

Re: Setting a custom JRE for Tomcat

Izzy wrote:After changing the bat file did you run it?
The setenv.bat file is not a configuration file that may be read by Tomcat when it tries to start but is a batch of commands that needs to be run, so you would need to double click on it to run it - but I am not sure if Tomcat runs that bat file on startup.

If you made a backup of the setenv.bat file then try using it again instead of your edited version and see if Tomcat starts - this will point to your edits.

If no backup then revert the setenv.bat file back to it's original state and try again.

Try changing only 1 line at a time and then try and start Tomcat again to see which line may be the cause of your issue

BTW what editor are you using - make sure that it is Notepad or similar and that no extra characters are added to the first line of the file as do some international text editor and word type processors.

Also see if there is any error log file entries in the apache\logs\error.log file.
by Izzy
02. October 2009 22:30
 
Forum: XAMPP for Windows
Topic: Setting a custom JRE for Tomcat
Replies: 31
Views: 39791

Re: Setting a custom JRE for Tomcat

After changing the bat file did you run it and then try and start Tomcat?

If Tomcat won't start try running the tomcat_start.bat file and see if it returns the reason it can't start.
by Izzy
02. October 2009 22:01
 
Forum: XAMPP for Windows
Topic: Setting a custom JRE for Tomcat
Replies: 31
Views: 39791
Next

Return to advanced search