bobby stone

Greenhorn
+ Follow
since Jan 13, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by bobby stone

Tim: I got tied up with other things for a few days. I have a follow up question. Tomcat in my Windows is 64bit. JAI in windows is 32bit only. Based on your feedback, it really doesn't matter whether I have 32bit or 64bit Tomcat installed. Those 32bit, 64bit variants are for internal interface of Tomcat with the version of Windows OS (in my case 64bit). So theoretically, I don't have to uninstall my current 64bit Tomcat and install 32bit Tomcat. Am I correct? I have installed the JAI already.
Thanks in advance.
7 years ago
Thank you for your in depth feedback. I will look at the Common Imaging Library for future usage.
For now, I will try to host the WAR file in my 64bit Tomcat to see if it works.
I know a number of imaging app (medical, geosensing, ... ) are using JAI. They cited the rationale that vector rendering of JAI is extremely efficient.
But you have a point that 10 years of no service upgrade is kind of dumb. As far as I am concern, SUN stopped supporting it long ago, Oracle has abandoned it. It is an orphan library now.
I really should look into the Common Imaging Library you suggested.
Thanks for the explanation.
7 years ago
Hmm, I am a bit confused. From https://tomcat.apache.org/download-80.cgi, there are 2 different version of Tomcat for windows, 64bit & 32bit. The version of jdk (64bit or 32bit) must match the version of Tomcat that is in use. Hence the JAVA_HOME environment variable must point to the appropriate directory. So I am a bit confuse about what you said that there are no 64bit or 32bit version of Tomcat. Can you kindly explained. Thanks.
WRT to the 32bit library, it is JAI: http://www.oracle.com/technetwork/articles/javaee/jai-142803.html
There has no new development since 2006. A lot of imaging app use JAI. It is a 32bit app.
The WAR file generated by the app I want to deploy uses JAI.
Hence my original question.
Sorcerer
7 years ago
My OS is 64bit Windows 8.1. I have installed Tomcat8 (64bit). The window environment variable JAVA_HOME is pointed to the 64bit JDK directory (Java8).
I am trying to host a war file from a 32bit app in Tomcat8 (64bit). Is this possible? This app is 32 bit because one of the library it uses is a 32bit lib from SUN era.
Do I have to uninstall the 64bit Tomcat and install 32bit Tomcat in order to get the war file host in Tomcat?
Please advise.
7 years ago
Hello Rob,
Thank you. So the secret is the actual name for the services and not the display name. I used your method to uninstall TC6 & TC7 w/o problem. However, the same method to uninstall TC8 service issued complaints about the CATALINA_HOME environment variable. I had made changes to make sure TC8 was the one I chose to uninstall. Anyway, I used the previously unsuccessful command: tomcat8 //DS//Tomcat8. Now TC8 service was removed. From your experience, what I did to remove TC8 was OK too. Correct?
I am happy. I can start configurating the next open source project.
Thank you.
Happy Holiday.
Sorcerer
7 years ago
Hello All,
I had been working on different open source projects. Due to requirements, I have installed Tomcat 6, Tomcat 7 and tons of Java (from V6 to V8). I used the zip file approach to install TC6, TC7 & TC8. I also installed windows services for TC6 & TC7 & TC8. When a project needs TC6, I disable TC7 services… I tried to clean up my computer (Windows) for another project and plan to use WAMP to install all basic modules instead of installing required modules manually. I have problems removing the TC6, TC7, TC8 windows services. First, for some long forgotten reasons, I gave unusual long names for the services (e.g. Apache Tomcat 7.0 Tomcat7). I tried to use the following command in the bin folder to remove TC7 for example:

tomcat7 //DS//"Apache Tomcat 7.0 Tomcat7"

The command windows did not return any errors but the Win service remains (and even after reboot). Please note. When I ran the above command, there was another pop up windows but it closed too quickly for me to see was there any error registered.  Then, I tried to override the existing windows service with the command:

service.bat install "Apache Tomcat 7.0 Tomcat7"

No error returned. I can start TC7 service. I stopped the Win service and removed it again using the above command. No luck. I tried to rename the folder where the unzipped TCx are located (eg. TC7), and tried to remove the services. No luck either.

There is no other project running that is using or referencing TCx (I checked all running Win Services and installed programs).

However, in Window Registry under HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/RADAR/HeapLeakDetection/DiagnosedApplications/, there are registry entries for all versions of TCx.

Can someone kindly tell me how I can get rid of my stubborn Win Services for TCx? I want to use WAMP to install all the necessary modules I need to have. The primary reason I used manual install method for TCx before was I have major port conflicts within TCx with another project I was running and I have to manually change a lot of ports in TCx.

Thanks in advance & Happy Holidays.

Regards,
Sorcerer
7 years ago
I have a couple of opensource apps that run on JDK 1.7 and newer. My OS is Win8.1 64bit. I have JDK 1.8 installed.
I am trying to install another open source app. This app however can only run without error in JDK 1.6.
I know if I install JDK 1.6 on this Win8.1 system, there would not be any problem.
What I want to know is how should I modify the environmental variables JAVA_HOME and PATH so that my existing apps which requires JDK 1.7 and newer can coexist with this new app which requires JDK 1.6?
The current values for these 2 environment variables are:

"JAVA_HOME" the value is "C:\Program Files (x86)\Java\jdk1.8.0_20"
"Path", one of the value is "...;C:\Program Files\Java\jdk1.8.0_11\bin;..."

After I install JDK 1.6, should I simply add the location of the folder and the bin folder where JDK 1.6 is located to the values of the above variables and all the above apps should run OK?
If not, what should I do or modify?

Thanks in advance.

9 years ago