You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Marcinek <Jo...@pb.com> on 2011/04/27 20:47:30 UTC

(Issue) Tomcat 7.0.12 silent install

Thanks in advance for help.

ENVIRONMENT:
--------------------
Java = JDK1.6 32 bit
Operating System = Microsoft Windows Server 2008 R2 Standard (64 bit system)
Tomcat installation file = apache-tomcat-7.0.12.exe

ISSUE:
---------
Tomcat silent install does not work on Windows 2008 Server.

When the following is executed in a command window:  apache-tomcat-7.0.12.exe /S
it finishes immediately ( < 1 second).

I checked the "C:\Program Files (x86)" (which is where I would expect to find it) and the  "C:\Program Files" directories for "Apache Foundation Softare\Tomcat 7.0"

QUESTIONS:
---------------
1) How can I do a silent install of Tomcat 7.0 on a 64 bit Windows system (Server 2008 R2 Standard)?
2) Is there a way to tell the Tomcat installer the location of JRE6? (NOTE: Setting the JAVA_HOME and JAVAHOME environment variables does not work.)
3) Is there another way to install Tomcat 7.0 say by copying the installation files to the target system?

NOTES:
---------
*  The problem seems to be that the installer (i.e. apache-tomcat-7.0.12.exe) can not find the Java JRE. When I run the wizard and it gets to the screen where you can specifiy the location of the JRE the text field is blank. But when I run the installer on a Windows XP 32 bit system, the path of JRE 6 is displayed in the text field.

Regards,
John

RE: (Issue) Tomcat 7.0.12 silent install

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John.Marcinek@pb.com [mailto:John.Marcinek@pb.com] 
> Subject: RE: (Issue) Tomcat 7.0.12 silent install

> Is there documented procedure for installting Tomcat using 
> the 32-bit zip file?

1) download

2) unzip

3) run service.bat

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
> There is no 32-bit-only Windows service installer

My bad. I'm using the 32/64-bit Windows service installer.

I installed a 64-bit JRE and then executed a silent install and that worked.

The concern with running a 64-bit JVM is that it may behave slightly different than the 32-bit JVM (what we're currently using) and we are on a tight schedule to get our application up and running for production on a Windows 2008 server.

We would prefer to use a 32-bit JVM.

Is there documented procedure for installting Tomcat using the 32-bit zip file?

John 


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, April 27, 2011 4:55 PM
To: Tomcat Users List
Subject: RE: (Issue) Tomcat 7.0.12 silent install

> From: John Marcinek [mailto:John.Marcinek@pb.com] 
> Subject: RE: (Issue) Tomcat 7.0.12 silent install

> I've been installing the 32-bit version of Tomcat (sorry, don't 
> think I mentioned that).

There is no 32-bit-only Windows service installer, but there are 32- or 64-bit specific .zip files.  Exactly which one are you using?

> I'm a little puzzled as to why the 64-bit JVM is necessary 
> since I was able to successfully install Tomcat 7.0 using 
> the wizard

I suspect the silent installer just looks at the OS type and assumes the JVM matches, but I'm not positive about that.

> I don't know what the impact is of using a 64-bit JVM with Tomcat.

Pretty much none, other than slightly increased memory usage, but with the option of a greatly expanded heap if needed.

> The application that will run under Tomcat uses JSPs that have
> not been compiled and tested with a 64 bit JDK.

There's no such thing as compiling for a 32- or 64-bit JVM; both use the same byte codes in the same class files.

> I assume a JDK for compiling the JSPs under Tomcat can be 
> specifed separately from the JVM that Tomcat runs on.

Generally not; JSPs are normally compiled on first reference, under the JVM Tomcat is running on.  You can pre-compile them, but that's really only for the performance purists.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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



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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John.Marcinek@pb.com [mailto:John.Marcinek@pb.com] 
> Subject: RE: (Issue) Tomcat 7.0.12 silent install

> > If the installer can't find the JVM
> > then things could go wrong. 

> When I install Tomcat on the 64-bit system using the wizard I 
> had to tell the installer the location of the 32-bit JRE.

Sounds like the 32-bit JRE wasn't installed properly, so the registry entries weren't there to point to the installation location.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
> Sounds like an enhancement request might be in order...

I'll make the request.

Thanks for all you help. Much appreciated.


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Thursday, April 28, 2011 3:05 PM
To: Tomcat Users List
Subject: RE: (Issue) Tomcat 7.0.12 silent install

> From: John.Marcinek@pb.com [mailto:John.Marcinek@pb.com] 
> Subject: RE: (Issue) Tomcat 7.0.12 silent install

> When run on a 64-bit Windows system the NSIS script does not 
> check the 32-bit registry path for a JRE.

> The difference being that the 32-bit entries are off the 
> "Wow6432Node" key.

Sounds like an enhancement request might be in order...

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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



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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John.Marcinek@pb.com [mailto:John.Marcinek@pb.com] 
> Subject: RE: (Issue) Tomcat 7.0.12 silent install

> When run on a 64-bit Windows system the NSIS script does not 
> check the 32-bit registry path for a JRE.

> The difference being that the 32-bit entries are off the 
> "Wow6432Node" key.

Sounds like an enhancement request might be in order...

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
> That would be a bug then. Please create a bugzilla entry against Tomcat
> 7 for this.

Will do. Thanks for your help.

John

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Thursday, April 28, 2011 3:07 PM
To: Tomcat Users List
Subject: Re: (Issue) Tomcat 7.0.12 silent install

On 28/04/2011 19:48, John.Marcinek@pb.com wrote:
> When run on a 64-bit Windows system the NSIS script does not check the 32-bit registry path for a JRE.
> 
> 32-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment"
> 64-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"
> 
> The difference being that the 32-bit entries are off the "Wow6432Node" key.

That would be a bug then. Please create a bugzilla entry against Tomcat
7 for this. The installer should check 64-bit and then 32-bit registry
locations when running on 64-bit Windows.

Bugs with patches attached tend to get fixed faster. If you would like
to work on a patch and need any pointers then just ask here.

Mark


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


Re: (Issue) Tomcat 7.0.12 silent install

Posted by Mark Thomas <ma...@apache.org>.
On 28/04/2011 19:48, John.Marcinek@pb.com wrote:
> When run on a 64-bit Windows system the NSIS script does not check the 32-bit registry path for a JRE.
> 
> 32-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment"
> 64-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"
> 
> The difference being that the 32-bit entries are off the "Wow6432Node" key.

That would be a bug then. Please create a bugzilla entry against Tomcat
7 for this. The installer should check 64-bit and then 32-bit registry
locations when running on 64-bit Windows.

Bugs with patches attached tend to get fixed faster. If you would like
to work on a patch and need any pointers then just ask here.

Mark


> 
> John
> 
> 
> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org] 
> Sent: Thursday, April 28, 2011 12:04 PM
> To: Tomcat Users List
> Subject: Re: (Issue) Tomcat 7.0.12 silent install
> 
> On 28/04/2011 12:25, John.Marcinek@pb.com wrote:
>>> If the installer can't find the JVM
>>> then things could go wrong. 
>>
>> When I install Tomcat on the 64-bit system using the wizard I had to tell the installer the location of the 32-bit JRE.
>> Doing a silent install fails since it can't find the JRE.
>> I then installed the 64-bit JRE. The Tomcat installer picked that right up.
>>
>>> You'd have to check the nsis script to see
>>> how JVM detection is done
>>
>> Where would I find the NSIS script?
> 
> http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?view=log
> 
> Mark
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 




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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Sent: Thursday, April 28, 2011 6:01 PM

> I filed en enhancement request,
> https://issues.apache.org/bugzilla/show_bug.cgi?id=51135

Thanks Konstantin.

John


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


Re: (Issue) Tomcat 7.0.12 silent install

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/4/29  <Jo...@pb.com>:
> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]
> Sent: Thursday, April 28, 2011 4:46 PM
>
>> The installer itself is a 32-bit program.
>
>> The "SetRegView 64" command switches it to using 64-bit part of
>> registry. This command is documented here:
>> http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.7.6
>
> Hmm. Seems like I'm being lead a little bit here. Ok.
>
> Alright so what should probably happen then is if reading the registry fails to return a result for "SetRegView 64" then read it again after doing "SetRegView 32".
>
> The logic and sequence for checking 32-bit registry space would go something like this:
>
> 1) IF 64-bit system
>     a) "SetRegView 64"
>     b) Read registry
>     c) IF no-errors we have a JRE path (goto "NoErrors")
> 2) "SetRegView 32"
>     a) Read registry
>     b) IF no-errors we have a JRE path (goto "NoErrors").
>     c) ELSE set JRE path = ""

3) Switch back to 64-bit mode?

Because it affects all ReadRegStr/WriteRegStr commands elsewhere in the script.

>
> JRE path is $1 in the NSIS script.
>

I filed en enhancement request,
https://issues.apache.org/bugzilla/show_bug.cgi?id=51135

Best regards,
Konstantin Kolinko

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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Sent: Thursday, April 28, 2011 4:46 PM

> The installer itself is a 32-bit program.

> The "SetRegView 64" command switches it to using 64-bit part of
> registry. This command is documented here:
> http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.7.6

Hmm. Seems like I'm being lead a little bit here. Ok.

Alright so what should probably happen then is if reading the registry fails to return a result for "SetRegView 64" then read it again after doing "SetRegView 32".

The logic and sequence for checking 32-bit registry space would go something like this:

1) IF 64-bit system
     a) "SetRegView 64"
     b) Read registry
     c) IF no-errors we have a JRE path (goto "NoErrors")
2) "SetRegView 32"
     a) Read registry
     b) IF no-errors we have a JRE path (goto "NoErrors").
     c) ELSE set JRE path = "" 

JRE path is $1 in the NSIS script.


John

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


Re: (Issue) Tomcat 7.0.12 silent install

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/4/29  <Jo...@pb.com>:
> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]
> Sent: Thursday, April 28, 2011 4:23 PM
>
>
>> Note the "SetRegView 64" command in Function findJavaHome in tomcat.nsi line 641
>
> I'm not familiar with this scripting language so I don't know what "setRegView 64" does.
>
> But looking at lines 644, 645, and 646 these all correspond to registry keys in the 64-bit application space on a 64-bit windows system.
>

The installer itself is a 32-bit program.

The "SetRegView 64" command switches it to using 64-bit part of
registry. This command is documented here:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.7.6

Best regards,
Konstantin Kolinko

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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Sent: Thursday, April 28, 2011 4:23 PM


> Note the "SetRegView 64" command in Function findJavaHome in tomcat.nsi line 641

I'm not familiar with this scripting language so I don't know what "setRegView 64" does.

But looking at lines 644, 645, and 646 these all correspond to registry keys in the 64-bit application space on a 64-bit windows system. 

Regards,
John

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


Re: (Issue) Tomcat 7.0.12 silent install

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/4/28  <Jo...@pb.com>:
> When run on a 64-bit Windows system the NSIS script does not check the 32-bit registry path for a JRE.
>
> 32-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment"
> 64-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"
>
> The difference being that the 32-bit entries are off the "Wow6432Node" key.
>

Note the "SetRegView 64" command in Function findJavaHome in tomcat.nsi line 641

I do not know whether it applies to your use case, though.

Best regards,
Konstantin Kolinko

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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
When run on a 64-bit Windows system the NSIS script does not check the 32-bit registry path for a JRE.

32-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment"
64-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"

The difference being that the 32-bit entries are off the "Wow6432Node" key.

John


-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Thursday, April 28, 2011 12:04 PM
To: Tomcat Users List
Subject: Re: (Issue) Tomcat 7.0.12 silent install

On 28/04/2011 12:25, John.Marcinek@pb.com wrote:
>> If the installer can't find the JVM
>> then things could go wrong. 
> 
> When I install Tomcat on the 64-bit system using the wizard I had to tell the installer the location of the 32-bit JRE.
> Doing a silent install fails since it can't find the JRE.
> I then installed the 64-bit JRE. The Tomcat installer picked that right up.
> 
>> You'd have to check the nsis script to see
>> how JVM detection is done
> 
> Where would I find the NSIS script?

http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?view=log

Mark



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



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


Re: (Issue) Tomcat 7.0.12 silent install

Posted by Mark Thomas <ma...@apache.org>.
On 28/04/2011 12:25, John.Marcinek@pb.com wrote:
>> If the installer can't find the JVM
>> then things could go wrong. 
> 
> When I install Tomcat on the 64-bit system using the wizard I had to tell the installer the location of the 32-bit JRE.
> Doing a silent install fails since it can't find the JRE.
> I then installed the 64-bit JRE. The Tomcat installer picked that right up.
> 
>> You'd have to check the nsis script to see
>> how JVM detection is done
> 
> Where would I find the NSIS script?

http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?view=log

Mark



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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by Jo...@pb.com.
> If the installer can't find the JVM
> then things could go wrong. 

When I install Tomcat on the 64-bit system using the wizard I had to tell the installer the location of the 32-bit JRE.
Doing a silent install fails since it can't find the JRE.
I then installed the 64-bit JRE. The Tomcat installer picked that right up.

> You'd have to check the nsis script to see
> how JVM detection is done

Where would I find the NSIS script?

John

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Wednesday, April 27, 2011 5:27 PM
To: Tomcat Users List
Subject: Re: (Issue) Tomcat 7.0.12 silent install

On 27/04/2011 21:55, Caldarale, Charles R wrote:
>> From: John Marcinek [mailto:John.Marcinek@pb.com] 
>> Subject: RE: (Issue) Tomcat 7.0.12 silent install
> 
>> I've been installing the 32-bit version of Tomcat (sorry, don't 
>> think I mentioned that).
> 
> There is no 32-bit-only Windows service installer, but there are 32- or 64-bit specific .zip files.  Exactly which one are you using?
> 
>> I'm a little puzzled as to why the 64-bit JVM is necessary 
>> since I was able to successfully install Tomcat 7.0 using 
>> the wizard
> 
> I suspect the silent installer just looks at the OS type and assumes the JVM matches, but I'm not positive about that.

The Windows installer is now smarter than that. It looks at the JVM,
determines 32-bit or 64-bit and then installs the native binaries and
service wrapper that match the JVM. If the installer can't find the JVM
then things could go wrong. You'd have to check the nsis script to see
how JVM detection is done - I don't recall off-hand.

Mark



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



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


Re: (Issue) Tomcat 7.0.12 silent install

Posted by Mark Thomas <ma...@apache.org>.
On 27/04/2011 21:55, Caldarale, Charles R wrote:
>> From: John Marcinek [mailto:John.Marcinek@pb.com] 
>> Subject: RE: (Issue) Tomcat 7.0.12 silent install
> 
>> I've been installing the 32-bit version of Tomcat (sorry, don't 
>> think I mentioned that).
> 
> There is no 32-bit-only Windows service installer, but there are 32- or 64-bit specific .zip files.  Exactly which one are you using?
> 
>> I'm a little puzzled as to why the 64-bit JVM is necessary 
>> since I was able to successfully install Tomcat 7.0 using 
>> the wizard
> 
> I suspect the silent installer just looks at the OS type and assumes the JVM matches, but I'm not positive about that.

The Windows installer is now smarter than that. It looks at the JVM,
determines 32-bit or 64-bit and then installs the native binaries and
service wrapper that match the JVM. If the installer can't find the JVM
then things could go wrong. You'd have to check the nsis script to see
how JVM detection is done - I don't recall off-hand.

Mark



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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John Marcinek [mailto:John.Marcinek@pb.com] 
> Subject: RE: (Issue) Tomcat 7.0.12 silent install

> I've been installing the 32-bit version of Tomcat (sorry, don't 
> think I mentioned that).

There is no 32-bit-only Windows service installer, but there are 32- or 64-bit specific .zip files.  Exactly which one are you using?

> I'm a little puzzled as to why the 64-bit JVM is necessary 
> since I was able to successfully install Tomcat 7.0 using 
> the wizard

I suspect the silent installer just looks at the OS type and assumes the JVM matches, but I'm not positive about that.

> I don't know what the impact is of using a 64-bit JVM with Tomcat.

Pretty much none, other than slightly increased memory usage, but with the option of a greatly expanded heap if needed.

> The application that will run under Tomcat uses JSPs that have
> not been compiled and tested with a 64 bit JDK.

There's no such thing as compiling for a 32- or 64-bit JVM; both use the same byte codes in the same class files.

> I assume a JDK for compiling the JSPs under Tomcat can be 
> specifed separately from the JVM that Tomcat runs on.

Generally not; JSPs are normally compiled on first reference, under the JVM Tomcat is running on.  You can pre-compile them, but that's really only for the performance purists.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by John Marcinek <Jo...@pb.com>.
Thanks for responding so quickly Chuck. I appreciate it.

> Did you try it from a command window that's started with "Run as Administrator"?

No I did not. I have now, but it still did not work. Likely due to your second question/request, i.e. default 64 bit JVM. 


> Also make sure that you have a 64-bit JVM installed as the default one, since you're running on a 64-bit OS.  

I've been installing the 32-bit version of Tomcat (sorry, don't think I mentioned that).

I'm a little puzzled as to why the 64-bit JVM is necessary since I was able to successfully install Tomcat 7.0 using the wizard  (i.e. executing apache-tomcat-7.0.12.exe without the /S option). I did have to specify the location of the JRE (32-bit JVM) though in one of the screens.

I don't know what the impact is of using a 64-bit JVM with Tomcat. The application that will run under Tomcat uses JSPs that have not been compiled and tested with a 64 bit JDK. I assume a JDK for compiling the JSPs under Tomcat can be specifed separately from the JVM that Tomcat runs on. I guess I should look at the Tomcat docs before pestering you and the rest of the experts on this mail list any further.

Thanks,
John


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, April 27, 2011 3:36 PM
To: Tomcat Users List
Subject: RE: (Issue) Tomcat 7.0.12 silent install

> From: John Marcinek [mailto:John.Marcinek@pb.com] 
> Subject: (Issue) Tomcat 7.0.12 silent install

> Thanks in advance for help.

Thanks for all the environment info; always good to have.

> Tomcat silent install does not work on Windows 2008 Server.

Did you try it from a command window that's started with "Run as Administrator"?  Just running from a plain command prompt (even under an account that's a member of the Adminstrators group) will not have permissions to write into the Program Files directory.

Also make sure that you have a 64-bit JVM installed as the default one, since you're running on a 64-bit OS.  Enter "java -version" at a command prompt to check.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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



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


RE: (Issue) Tomcat 7.0.12 silent install

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John Marcinek [mailto:John.Marcinek@pb.com] 
> Subject: (Issue) Tomcat 7.0.12 silent install

> Thanks in advance for help.

Thanks for all the environment info; always good to have.

> Tomcat silent install does not work on Windows 2008 Server.

Did you try it from a command window that's started with "Run as Administrator"?  Just running from a plain command prompt (even under an account that's a member of the Adminstrators group) will not have permissions to write into the Program Files directory.

Also make sure that you have a 64-bit JVM installed as the default one, since you're running on a 64-bit OS.  Enter "java -version" at a command prompt to check.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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