Installing tomcat 6

2014-02-04 Thread Franz
Hi
I am a very beginner trying to get a VPS working with Centos 6.5 and Tomcat
6.0.39.  I already reinstalled the server 3 times and am almost desperate,
so am even willing to pay someone who helps me.

Tomcat 6 is required by openemm.org for a mailing lists and newsletters.
And I am ready with a Creative Commons newsletter.

Openemm.org provides an installation tutorial:
http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20%28latest%20versions%29/OpenEMM-2013_InstallAdminGuide_1.1.pdf/download

So I am following this tutorial that teaches how to install latest Java
JDK7 first and Tomcat after as follows:

Download the latest binary distribution of Tomcat release 6 from
http://tomcat.apache.org. The core package is sufficient. The
examples here use Tomcat 6.0.32  you should adapt them to the latest
version of Tomcat 6 as needed:

mkdir -p /opt/openemm
cp apache-tomcat-6.0.32.tar.gz /opt/openemm
cd /opt/openemm
tar -xvzf apache-tomcat-6.0.32.tar.gz
ln -s apache-tomcat-6.0.32 tomcat
If you want to make sure that Tomcat works, enter the following commands:

export JAVA_HOME=/opt/openemm/java
cd tomcat
bin/startup.sh

this command gives for me:
[root@ns3098622 tomcat]# bin/startup.sh
Using CATALINA_BASE:   /opt/openemm/tomcat
Using CATALINA_HOME:   /opt/openemm/tomcat
Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp
Using JRE_HOME:/opt/openemm/java
Using CLASSPATH:   /opt/openemm/tomcat/bin/bootstrap.jar
[root@ns3098622 tomcat]#

Then I am supposed to test it with http://localhost:8080 which in my case
should be the address of my VPS I suppose: 94.23.44.200:8080 which is not
reachable.

Then the tutorial suggests to shutdown Tomcat with
bin/shutdown.sh:

[root@ns3098622 tomcat]# bin/shutdown.sh
Using CATALINA_BASE:   /opt/openemm/tomcat
Using CATALINA_HOME:   /opt/openemm/tomcat
Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp
Using JRE_HOME:/opt/openemm/java
Using CLASSPATH:   /opt/openemm/tomcat/bin/bootstrap.jar
/opt/openemm/tomcat/bin/catalina.sh: line 421:
/opt/openemm/java/bin/java: No such file or directory

So here I am getting an error, but am confused with this error.

So please help me.
If it is of any relevance the step before Tomcat was to install Java, that
worked as expected from the tutorial:

mkdir -p /opt/openemm
cp jdk-7u25-linux-i586.tar.gz /opt/openemm
cd /opt/openemm
tar -xvzf jdk-7u25-linux-i586.tar.gz
ln -s jdk1.7.0_25 java

Then, to test the JDK:
/opt/openemm/java/bin/java -version
I get:
java version 1.7.0_25
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
So Java works as expected.

best
Franz


Re: Installing tomcat 6

2014-02-04 Thread Franz
On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas ma...@apache.org wrote:

 On 04/02/2014 20:04, Franz wrote:

  export JAVA_HOME=/opt/openemm/java
  cd tomcat
  bin/startup.sh

 At this point use:
 bin/catalina.sh run

 rather than
 bin/startup.sh

 and report here what output you get.


[root@ns3098622 tomcat]# bin/catalina.sh run
Using CATALINA_BASE:   /opt/openemm/tomcat
Using CATALINA_HOME:   /opt/openemm/tomcat
Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp
Using JRE_HOME:/opt/openemm/java
Using CLASSPATH:   /opt/openemm/tomcat/bin/bootstrap.jar
bin/catalina.sh: line 305:
/opt/openemm/tomcat//opt/openemm/java/bin/java: No such file or directory
bin/catalina.sh: line 305: exec:
/opt/openemm/tomcat//opt/openemm/java/bin/java: cannot execute: No such
file or directory

thanks
franz


Re: Installing tomcat 6

2014-02-04 Thread Franz
On Tue, Feb 4, 2014 at 6:13 PM, Franz 169...@gmail.com wrote:




 On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas ma...@apache.org wrote:

 On 04/02/2014 20:04, Franz wrote:

  export JAVA_HOME=/opt/openemm/java
  cd tomcat
  bin/startup.sh

 At this point use:
 bin/catalina.sh run

 rather than
 bin/startup.sh

 and report here what output you get.


 [root@ns3098622 tomcat]# bin/catalina.sh run

 Using CATALINA_BASE:   /opt/openemm/tomcat
 Using CATALINA_HOME:   /opt/openemm/tomcat
 Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp
 Using JRE_HOME:/opt/openemm/java
 Using CLASSPATH:   /opt/openemm/tomcat/bin/bootstrap.jar
 bin/catalina.sh: line 305:
 /opt/openemm/tomcat//opt/openemm/java/bin/java: No such file or directory
 bin/catalina.sh: line 305: exec:
 /opt/openemm/tomcat//opt/openemm/java/bin/java: cannot execute: No such
 file or directory

 thanks


But I do not understand what this error means and what I should do now
best
Franz


Re: Installing tomcat 6

2014-02-04 Thread Franz
On Tue, Feb 4, 2014 at 6:43 PM, Daniel Mikusa dmik...@gopivotal.com wrote:

 On Feb 4, 2014, at 3:23 PM, Franz 169...@gmail.com wrote:

  On Tue, Feb 4, 2014 at 6:13 PM, Franz 169...@gmail.com wrote:
 
 
 
 
  On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas ma...@apache.org wrote:
 
  On 04/02/2014 20:04, Franz wrote:
 
  export JAVA_HOME=/opt/openemm/java
  cd tomcat
  bin/startup.sh
 
  At this point use:
  bin/catalina.sh run
 
  rather than
  bin/startup.sh
 
  and report here what output you get.
 
 
  [root@ns3098622 tomcat]# bin/catalina.sh run
 
  Using CATALINA_BASE:   /opt/openemm/tomcat
  Using CATALINA_HOME:   /opt/openemm/tomcat
  Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp
  Using JRE_HOME:/opt/openemm/java
  Using CLASSPATH:   /opt/openemm/tomcat/bin/bootstrap.jar
  bin/catalina.sh: line 305:
  /opt/openemm/tomcat//opt/openemm/java/bin/java: No such file or
 directory
  bin/catalina.sh: line 305: exec:
  /opt/openemm/tomcat//opt/openemm/java/bin/java: cannot execute: No
 such
  file or directory
 
  thanks
 
 
  But I do not understand what this error means and what I should do now

 You're setting JAVA_HOME as /opt/openemm/java, quotes included.  Try
 setting it without quotes.

 Ex:  export JAVA_HOME=/opt/openemm/java


Yes, it works!! This was the problem: the quotes! Many thanks


 Also make sure that you can run the command /opt/openemm/java/bin/java
 -version.  You should get the version info for your JVM.


Yes this works too
best Franz


Re: Installing tomcat 6

2014-02-04 Thread Franz
On Tue, Feb 4, 2014 at 7:08 PM, Neven Cvetkovic
neven.cvetko...@gmail.comwrote:

 On Tue, Feb 4, 2014 at 3:13 PM, Franz 169...@gmail.com wrote:

  On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas ma...@apache.org wrote:
 
   On 04/02/2014 20:04, Franz wrote:
  
export JAVA_HOME=/opt/openemm/java
cd tomcat
bin/startup.sh
  
  
  Using CLASSPATH:   /opt/openemm/tomcat/bin/bootstrap.jar
  bin/catalina.sh: line 305:
  /opt/openemm/tomcat//opt/openemm/java/bin/java: No such file or
 directory
  bin/catalina.sh: line 305: exec:
  /opt/openemm/tomcat//opt/openemm/java/bin/java: cannot execute: No such
  file or directory
 

 Franz,

 I assume you followed instructions for installation:

 http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20(latest%20versions)

 Did you test if Java (JDK) was properly set: (pg 4/27 of the installation
 guide), e.g.

   /opt/openemm/java/bin/java -version

 You need to make sure JDK is installed properly, because Tomcat needs it :)


Yes this works.


 Daniel already pointed out you are probably not properly setting up
 JAVA_HOME, try without quotes (pg 5/27 of manual suggests using quotes),
 e.g.

   export JAVA_HOME=/opt/openemm/java
   /opt/openemm/tomcat/bin/catalina.sh run

 (CTRL+C to stop the process)

 What does the output say? Was it successfully loaded?


Yes everything works many thanks.  I am able to access the page with the
browser. You guys are very helpful.


 After you get it working with catalina.sh run, you probably want to do the
 following as well:
 1) setup JAVA_HOME somewhere in the profile scripts (e.g. create
 /etc/profile.d/java.sh file)


yes, unfortunately openemm tutorial says nothing about that.  Now there is
not java.sh file there. So you mean creating a java.sh file with inside
only:

export JAVA_HOME=/opt/openemm/java

and what does it? Does it setup JAVA_HOME once and for all?

2) configure tomcat as a centos service (chkconfig+rc.d script), so it
 starts up automatically when you reboot your system.


This seems complicated too.   Does it means preparing a file tomcat.sh in
/etc/rc.d containing:

/opt/openemm/tomcat/bin/startup.sh

?

many thanks again
Franz


Re: Installing tomcat 6

2014-02-04 Thread Franz
On Tue, Feb 4, 2014 at 9:31 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Dan,

 On 2/4/14, 3:43 PM, Daniel Mikusa wrote:
  On Feb 4, 2014, at 3:23 PM, Franz 169...@gmail.com wrote:
 
  On Tue, Feb 4, 2014 at 6:13 PM, Franz 169...@gmail.com wrote:
 
 
 
 
  On Tue, Feb 4, 2014 at 6:08 PM, Mark Thomas ma...@apache.org
  wrote:
 
  On 04/02/2014 20:04, Franz wrote:
 
  export JAVA_HOME=/opt/openemm/java cd tomcat
  bin/startup.sh
 
  At this point use: bin/catalina.sh run
 
  rather than bin/startup.sh
 
  and report here what output you get.
 
 
  [root@ns3098622 tomcat]# bin/catalina.sh run
 
  Using CATALINA_BASE:   /opt/openemm/tomcat Using CATALINA_HOME:
  /opt/openemm/tomcat Using CATALINA_TMPDIR:
  /opt/openemm/tomcat/temp Using JRE_HOME:
  /opt/openemm/java Using CLASSPATH:
  /opt/openemm/tomcat/bin/bootstrap.jar bin/catalina.sh: line
  305: /opt/openemm/tomcat//opt/openemm/java/bin/java: No such
  file or directory bin/catalina.sh: line 305: exec:
  /opt/openemm/tomcat//opt/openemm/java/bin/java: cannot
  execute: No such file or directory
 
  thanks
 
 
  But I do not understand what this error means and what I should
  do now
 
  You're setting JAVA_HOME as /opt/openemm/java, quotes included.
  Try setting it without quotes.

 Quotes should be fine, as long as you are using plain-old
 double-quotes and not smart (aka dumb) quotes.

  Ex:  export JAVA_HOME=/opt/openemm/java
 
  Also make sure that you can run the command
  /opt/openemm/java/bin/java -version.  You should get the version
  info for your JVM.

 +1

 I suspect Java is not actually installed in /opt/openemm/java


Installed? The tutorial steps that I reported in the first email only copy
the files in directory /opt/openemm/java. Nothing was really installed. But
it works just with this  export JAVA_HOME=/opt/openemm/java step. Also the
test of java -version works. Are there any problems with the lack of an
actual java installation?
Best
Franz


- -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 Comment: GPGTools - http://gpgtools.org
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQIcBAEBCAAGBQJS8XhiAAoJEBzwKT+lPKRYPjMP/iWOIj45dxg8Jq6ek479x0LH
 g6Fq69Bpyid6JvXFgJAYB2s7/1nvbBkpAq0lHhbl0/OglLygqNRNcNQnlDFSsbqd
 joq3h24lq6X+RGxV6lFhptGHYlVefcwvl5iCtq4StXgYWqUCtLsIGvmcG3jg7h7U
 GhBOenwWZhOGZSjfcPgDQWItFdgKfvLFr4wgpCOXORailxfgLpIAsjAKd7iGxuGc
 AiXRNAGrVEUqhAYoOVdvrcaN9QYHjtf3vHRU8Q7DU6NHBqvD5/++A7kjEeY6kaoB
 BxF/M2VLyLLSrsTYCqhDt1RbMTVLb7n5dZLefYAnbbKLjHYpSIItAmaFCRojotaK
 giTekxYNsfrJlygSmBBNc4iKMzwSqxjKAJ+5OdkiLMDkJlT4cKL47HYIfOHZ8Q2g
 aEO4l/EibrmB1Uc1h8EGmoBSEBPPDY1aeBHaaWudTOWcLC4xJAwNyWx9azikU1oK
 JeYSkHt6Clo31aJ5rmgSSsd5/iD8b+EkU0yJFTQz8NIV7/Momycfo3Dqb/X9VBZf
 mItbfbj2UqitSTvAFTkql3T2RK1dnpBBfwKgaDWZ5WH9aCqGjrN9hTjLnbVFwXSZ
 EuZEVe/VTsh5lIGAcnlacfXczaUj4bLaNIsJOzu8IQ1Mj1LMNPbZTs09MCc24yjD
 wLomd3DuPNA45enzwBbc
 =Pu8H
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Mod_jk fails to connect via ajp13

2011-07-31 Thread Franz
 If you can submit this one, you can submit the mod_jk issue. Give it a try. 
 Both works, mod_jk and this list.

 Kindly and best regards

Sorry for the two failure/spam messages. I had to write a perl script for the
preformattig and it's not beautiful...


--Original Message--
Hi -

it's mod_jk time again! I had the module with a jboss/tomcat server
 running for years on a debian sarge host with apache 2.0.54/mod_jk2
 and I'm wondering if the module is now called mod_jk again because
 it no longer works with debian squeeze/apache 2.2.16. At least the
 bug report below seems to indicate just that.

http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libapache2-mod-jk
;dist=unstable

Does it still work? Anyone? Any other apache/mod_jk(2) version I should
 try? Seeing that the rather experimental module merely forwards a
 couple of requests it has caused me an exceptional amount of headaches
 over the years!!!

The configuration files are all different again from last time: my
 old file workers2.properties had mappings
[uri:/myapp/front/*]
and now it seems one has to declare workers in a file workers.properties

worker.worker1.type=ajp13
#worker.worker1.host=localhost
worker.worker1.host=127.0.0.1
worker.worker1.port=8009
and then put mappings somewhere in the apache config.

JkMount  /myapp/front/* worker1

This is what I'm getting this time:

The poor thing starts off with logging entries, finds the mappings
, reports them 10 times or so and finally, when I try to access the
 servlet, it fails. I tried to put the JkMounts inside and outside
 virtual host settings, the only difference is that inside a virtual
 host the error messages say no match for myapp/front, outside a
 virtual host it's missing uri map for 127.0.0.1:/myapp/front.

The tomcat engine is running and ports 8009 and 8080 are open. I can
 connect through port 8080 but not 80.

Any help much appreciated

[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] uri_worker_map_
add
::jk_uri_worker_map.c (720): wildchar rule '/myapp/front/*=worker1
' source 'JkMount' was added
[...]
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] uri_worker_map_
dump
::jk_uri_worker_map.c (186): NEXT (1) map #1: uri=/myapp/front/
* worker=worker1 context=/myapp/front/* source=JkMount type=Wildchar
 len=16
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] init_jk
::mod_jk.c (3128): Setting default connection pool max size to 1
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro
perty
::jk_map.c (491): Adding property 'worker.list' with value 'worker1
' to map.
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro
perty
::jk_map.c (491): Adding property 'worker.worker1.type' with value
 'ajp13' to map.
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro
perty
::jk_map.c (491): Adding property 'worker.worker1.host' with value
 '127.0.0.1' to map.
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_read_pro
perty
::jk_map.c (491): Adding property 'worker.worker1.port' with value
 '8009' to map.
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_resolve_
references
::jk_map.c (774): Checking for references with prefix worker. with
 wildcard (recursion 1)
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_shm_calculat
e_size
::jk_shm.c (132): shared memory will contain 1 ajp workers of size
 320 and 0 lb workers of size 320 with 0 members of size 384+320
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] do_shm_open
::jk_shm.c (493): Truncated shared memory to 448
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] do_shm_open
::jk_shm.c (538): Initialized shared memory /var/log/apache2/jk-runtime
-status.28302 size=448 free=320 addr=0x7fc1546b4000
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] do_shm_open_loc
k
::jk_shm.c (412): Opened shared memory lock /var/log/apache2/jk-runtime
-status.28302.lock
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump
::jk_map.c (589): Dump of map: 'ServerRoot' - '/etc/apache2'
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump
::jk_map.c (589): Dump of map: 'worker.list' - 'worker1'
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump
::jk_map.c (589): Dump of map: 'worker.worker1.type' - 'ajp13'
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump
::jk_map.c (589): Dump of map: 'worker.worker1.host' - '127.0.0.1
'
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] jk_map_dump
::jk_map.c (589): Dump of map: 'worker.worker1.port' - '8009'
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] build_worker_ma
p
::jk_worker.c (242): creating worker worker1
[Sun Jul 31 03:36:06.418 2011] [28302:140468321695552] [debug] wc_create_worke
r
::jk_worker.c (146): about to create instance worker1 of ajp13
[Sun Jul 31 

Re: Mod_jk fails to connect via ajp13

2011-07-31 Thread Franz
Hi Alexis -

Thanks for the answer. 

For all I can tell, apache is unaware of any mapping. It looks for
 the apps under the default doc root. The JkShmFile message I think
 is no problem, a shared memory file gets created under the apache
 log directory.

The jk log file reports a missing uri map though it previously lists
 them all. The apache access log shows my desperate connection attempts
. I still think the module is broken, at least in debian distro. Any
 way, why do config files for mod_jk need to change completely every
 two years??
  272
,1 95%
--- Apache error log.
[Sun Jul 31 04:01:27 2011] [notice] caught SIGTERM, shutting down

[Sun Jul 31 04:01:28 2011] [warn] No JkShmFile defined in httpd.conf
. Using default /var/log/apache2/jk-runtime-status
[Sun Jul 31 04:01:28 2011] [warn] No JkShmFile defined in httpd.conf
. Using default /var/log/apache2/jk-runtime-status
[Sun Jul 31 04:01:28 2011] [notice] Apache/2.2.16 (Debian) mod_jk
/1.2.30 PHP/5.3.3-7+squeeze3 with Suhosin-Patch configured -- resuming
 normal operations
[Sun Jul 31 04:01:41 2011] [error] [client 89.247.45.147] File does
 not exist: /var/www/myapp
[Sun Jul 31 04:01:41 2011] [error] [client 89.247.45.147] File does
 not exist: /var/www/favicon.ico
[Sun Jul 31 04:01:43 2011] [error] [client 89.247.45.147] File does
 not exist: /var/www/myapp
[Sun Jul 31 04:01:43 2011] [error] [client 89.247.45.147] File does
 not exist: /var/www/favicon.ico
[Sun Jul 31 04:01:44 2011] [error] [client 89.247.45.147] File does
 not exist: /var/www/myapp
[Sun Jul 31 04:01:44 2011] [error] [client 89.247.45.147] File does
 not exist: /var/www/favicon.ico
[Sun Jul 31 06:25:08 2011] [notice] Graceful restart requested, doing
 restart
apache2: apr_sockaddr_info_get() failed for guppy



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Mod_jk fails to connect via ajp13

2011-07-31 Thread Franz
Just build and installed mod_jk 1.2.32 from source, but no difference.

However, I now find an error message:

[Sun Jul 31 16:54:56.635 2011] [14942:139926825768768] 
[error] init_jk::mod_jk.c (3235): Initializing 
shm:/etc/apache2/logs/jk-runtime-status.14942 
errno=2. Load balancing workers will not function properly.

Maybe I should experiment a bit with shm and load balancing,
even though I'm not getting why I need load balancing with
a single low-traffic server?


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Mod_jk fails to connect via ajp13

2011-07-31 Thread Franz
Mladen -

Thanks a lot. Firstly, I concede that after five years of living in the UK
I still can't read and understand Apache manuals. Take, for instance,
the subtleties in interpreting the meaning of the noun 'inheritance'.

In one sense I thought it means the deceased pass on property 
to their decendants. Clearly that wasn't the case with mod_jk2. Nor
would it seem that in the speak of object oriented languages the superclass
itself does not regularly expose the properties that subclasses adopt. 
Unless, perhaps, in the case of C++ private inheritance.

Still, you solved my problem. I had to put in mounts

JkMount  /myapp/front/* worker1
JkMount  /myapp worker1
JkMount  /myapp/ worker1
JkMount  /myapp/front worker1
JkMount  /myapp/front/ worker1

at global level and then add a line

JkMountCopy On

in virtual hosts.

This exposes the servlets at virtual host level but not globally.

On the gmane = 80 chars per line mailing interface I can only offer 
my condolences.

Cheers!



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Mod_jk fails to connect via ajp13

2011-07-30 Thread Franz
Hi -

I tried to submit a posting
for 
a 
failing
mod_jk
but now I see
that it
is
not
possible
to submit 
messages 
here
because
this 
mailing
interface
is
even
worse
than 
mod_jk.

Shame on apache,
I should 
move to IIS.

I would never
have thought I'd eveer
say this.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat on Windows Server 2003 R2

2007-03-25 Thread Markus Franz
Hi!

I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 
(also x64 edition. My problem:

I successfully installed Tomcat 6 (with the Windows Service installer). But 
everytime I try to start the service, it terminates without notice. The jakarta 
log contains the following line (all in one line) for every tried startup:

[2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program 
Files\Java\jdk1.6.0\jre\bin\server\jvm.dll 
[2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 
[2007-03-25 17:45:50] [info] Run service finished. 
[2007-03-25 17:45:50] [info] Procrun finished. 

(The stderr and stdout logs are empty.)

What is the problem? How can I get my Tomcat running? I tried a x86 edition of 
Java 6, but this also does not work.

I would be very happy if there would be someone knowing how to solve this 
problem...

Regards,
Markus

PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]