Jump to content
Excelsior Forums

Ken

Members
  • Content count

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Ken

  • Rank
    Newbie
  1. SOLVED. Here's the email I got from @xappymah ... I then created the following p1ts-startup.bat file which is called in my JetPackII shortcuts. The http://stackoverflow.com/questions/5898763/how-do-i-get-the-ip-address-into-a-batch-file-variable thread was useful for obtaining the IP address via ping.exe. @echo off rem Place in Tomcat\bin-native adjacent to startup.bat for /f "delims=[] tokens=2" %%a in ('ping -4 -n 1 %ComputerName%^|findstr [') do set TITLE=P1TS Server %%a call startup.bat
  2. My Tomcat 7.0.55 app runs on my customer's Windows machines on a private local area network. I use the latest ExcelsiorJet and Excelsior Installer to create the setup.exe. When my server runs, the "Tomcat" command window and title is shown. I would like to configure the window title to instead be "MY SERVER - 192.168.1.x". I've read that catalina.bat will look for a TITLE environment variable but don't know how well that plays with ExcelsiorJet. Can you recommend that best way to replace the "Tomcat" window title to include ... 1) My application server's name. Using my application icon was a helpful first step - users see my icon next to "Tomcat", which they know nothing about. 2) The IP address of my Tomcat server on the per-customer LAN. This is more important than #1 because each customer has his own LAN where computers are running my server and browsers. I currently have to explain how to run ipconfig.exe on the server and to use that address in their browsers, but this is a bit "too much" for my customers. (While changing their WiFi router's configuration to static IP addresses would help, this is beyond what I can expect of my customers). If the Tomcat window had its IP address, I can then easily ask my customers to use that address in their browsers. If you have any alternate suggestions, I am open to those as well. In my servlet's startup, I've tried to dynamically create an HTML page containing the IP address and the calling java.awt.Desktop.browse, but I think not having a JVM available prevents that from working. Thanks in advance, -Ken
  3. Thank you Vladimir! I had not changed any configuration files, however I was running Tomcat 7.0.70 when I experienced the problem. I downgraded to 7.0.59 as you suggested and was successful! ---------------------------------------------------- Hello Ken, Usually this kind of error appears if you change some configuration files of your Tomcat application after it has been compiled using Excelsior JET. Please make sure that it is not the case. Please note that the most recent versions of Tomcat are not supported by Excelsior JET 11.0. What is your version of Tomcat? Try to use Tomcat 7.0.59 or earlier for your application and check if error persists. Alternatively, you can try out our Excelsior JET 11.3 beta for amd64 platforms at http://www.excelsiorjet.com/beta, which has full Tomcat 7 and 8 support. Regards, Vladimir Parfinenko Excelsior Support
  4. I am receiving the same error with the app I am using during my 30-day trial, before I commit to buying. Have you emailed java@excelsior-usa.com yet? I will do so shortly.
×