Меню Рубрики

Java windows 2003 server

Deploy a Java web application on Windows Server 2003

This is my first post on stackoverflow, so please excuse me if my question is stupid, in the wrong tags, not specific enough and just tell me how to improve my post ! I usually find all the answers I need going through the previously asked questions — and thank a lot the stack overflow community for this ! -, but not this time !

So, I’m student and I’m currently developping a java2EE web application to help a compagny managing its moulds stocks. I used struts2 framework to develop the application (which is called MMS) and it runs nicely on my personnal environment which is :

  • OS : windows7, 64 bits, service pack 1
  • Application Server : Apache Tomcat 7.0.27 to make MMS run on localhost
  • Database server : Wampserver2.2d to store the database of MMS
  • Java : Java JRE7 (jre_7u4-windows-x64)
  • IDE : Eclipse Java EE indigo sr2

Now I need to deploy my application on my employer’s server. They gave me an access through the microsoft remote desktop tool to a windows 2003 server whose configurations are :

  • Microsoft windows server 2003 entreprise edition
  • Service Pack 2

My question is simple : how do I go from an application running well on my own environment to an application running on their server and accessible to their employees within their intranet ? Surprisingly enough I did not find any tutorial explaining how to do this. The documentation I found so far are the following :

  • Tomcat documentation : http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html
  • Microsoft documentation : http://msdn.microsoft.com/en-us/library/aa478983.aspx
  • Some other documentation explaining some of the logic (could not post the link because I’m a new user !)
  1. First I need to prepare the environment, ie : install java, a servlet application server, and a MySQL server on windows 2003 server. For this I’d be tempted to install java JRE7, tomcat7, and wampserver2.2 on the windows 2003 server they gave me using the same .EXE I used on my PC.
  2. Deploy MMS in the servelet application server : For this I think I could just drop the .WAR of MMS (created with Eclipse) on the webapp folder of tomcat.
  3. Deploy my DB on the MySQL server : For this I’m thinking of exporting my DB from my computer and import it to the server using PHPmyAdmin (and a .SQL file)
  4. Finally change the context.xml of MMS to make it able to communicate with its new DB.

Would this be enough to allow the employees of the societe I’m working for to access the web appication through their web browser (within the intranet of the compagny only) ?

Any anwser telling if I’m going on the write direction, if I forgot anything to do, giving advice, etc. would be truely appreciated 🙂

Источник

Java 8 JRE and Windows 2003 Server?

Looking at the Oracle Docs, it appears that Windows server 2003 does not support Java 8 JRE — that is Oracle doesn’t supply an installer for this version any longer.

Am I interpreting this correctly?

We have an upgrade scheduled for tomorrow that may need to wait for a server OS upgrade.

«privilege» comes from the Latin words for «private» and «law» (legal) and dates to feudal times. To «claim privilege» meant that you were above the laws that applied to the common people.

Tim Holloway wrote: I thought that Microsoft didn’t support Windows 2003 Server anymore.

Right, but that doesn’t mean some companies aren’t still using it.

In any case, we created a Windows 2012 server VM.

Appreciate your reply, Tim.

Enjoyable as it would be to ding Oracle, I’m afraid that if I was making a product and certifying that it was «unbreakable» (snicker), I wouldn’t want to have to support platforms whose primary vendors had discontinued them. If a JVM goes sour because of a bug in Windows Server 2002, Oracle shouldn’t expect Microsoft to fix the Windows bug for them and neither would then want to expend time and effort in working around a flaw in a dead product.

Some people take the «if it ain’t broke, don’t fix it» approach to software coupled with the idea that software doesn’t contain parts that degrade over time. But the truth is, software typically rots from the outside in, bit by bit, since even if the app isn’t changing, the OS and other vital externalities do. Or, they reach End of Life, someone finds a new way to break/exploit it (or it doesn’t support some essential new hardware), the vendor is no longer going to help out. and eventually it all just gets to be too much.

Software does not have a «fixed cost», and people who budget like it does sooner or later get a rude shock. It’s more a case of do you pay sooner or pay later?

«privilege» comes from the Latin words for «private» and «law» (legal) and dates to feudal times. To «claim privilege» meant that you were above the laws that applied to the common people.

Tim Holloway wrote: Enjoyable as it would be to ding Oracle, I’m afraid that if I was making a product and certifying that it was «unbreakable» (snicker), I wouldn’t want to have to support platforms whose primary vendors had discontinued them. If a JVM goes sour because of a bug in Windows Server 2002, Oracle shouldn’t expect Microsoft to fix the Windows bug for them and neither would then want to expend time and effort in working around a flaw in a dead product.

Some people take the «if it ain’t broke, don’t fix it» approach to software coupled with the idea that software doesn’t contain parts that degrade over time. But the truth is, software typically rots from the outside in, bit by bit, since even if the app isn’t changing, the OS and other vital externalities do. Or, they reach End of Life, someone finds a new way to break/exploit it (or it doesn’t support some essential new hardware), the vendor is no longer going to help out. and eventually it all just gets to be too much.

Software does not have a «fixed cost», and people who budget like it does sooner or later get a rude shock. It’s more a case of do you pay sooner or pay later?

Yeah, but I did notice that my Comparator did the sort differently in Java 8 vs Java 6. In my code, after the sort, I took the last element in the sorted array which under Java 6 was the newest. Yet, in Java 8, that last item was the oldest item so I took the array[0] and THAT was the most recent item. Don’t have time to run this one down. still trying to get a certificate installed from GoDaddy in Tomcat 8. it’s not cooperating.

Источник

jdk и Windows 2003 Server

Перенос DNS сервера и всех настроек с Windows Server 2003 на Windows Server 2012
Добрый вечер! Прошу помочь с одной проблемой. А именно по поводу миграции c Windows Server 2003 на.

Дополнительный КД windows server 2012 и репликация на него с основного КД windows server 2003
подскажите как настроить репликацию на дополнительный КД windows server 2012 с КД windows server.

Обновление Windows Server 2003 до Windows Server 2008 или перенос
Здравствуйте, нахожусь в полной прострации . . . Недавно заступил на должность сис-админа одной.

Неудачное обновление с Windows Server 2003 до Windows Server 2008
Здравствуйте, уважаемые форумчане. Нам в организацию передали сервер с предустановленным windows.

Заказываю контрольные, курсовые, дипломные и любые другие студенческие работы здесь.

Установка Windows Server 2008 R2 взамен Windows Server 2003
Есть сервер с установленной операционкой Win Serv 2003, надо сделать бэкап всего: учеток, файлов И.

Windows server 2003 Office 2003
Здравствуйте, нужна помощь по серверу, а именно на нем работаю по удаленному доступу 15 бухгалтеров.

Установка SQL Server 2000 на Windows Server 2003 Web Edition
Не могу установить SQL Server 2000 на Windows Server 2003 Web Edition. Если запускаю установку из.

Обновление с Windows Server 2003 на Windows Server 2008
Здравствуйте, имеется сервер на WS2003 R2 SP2 с OEM лицензией и необходимость обновиться до WS2008.

Переход с Windows server 2003 R1 на Windows server 2008 R2
Всем привет. Прошу помощи по вот какому вопросу: Купили новый сервер взамен старому. На старом.

IIS server 6 на windows server 2003, настройка web-узла
Здравствуйте, нужна помощь по такому вопросу. Я работаю на виртуалке, на ней я установил server.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Java utf 8 to windows 1251
  • Java timezone update windows
  • Java swing style windows
  • Java print pdf windows
  • Java library path windows