|
From: Daniel M. <dan...@be...> - 2006-11-10 20:10:17
|
I needed to move my Java applications using the JSW to a Xeon based 64 bit server running Windows Server 2003 RC2 Standard x64 Edition this week. Much to my dismay, there is no 64 bit Windows distribution of the JSW binaries. Also, I have no access to Visual Studio, which is required out of the box to use the 64 bit build scripts included with the JSW source package. Since I really, really like using JSW, I hacked up the JSW build script, batch files, and Windows 64bit makefiles. I was able to succesfully build wrapper.dll and wrapper.exe on this architecture (with a few warnings from cl.exe about unknown arguments) using the Microsoft Windows Server 2003 R2 Platform SDK (which is available for free from MS at http://www.microsoft.com/downloads/details.aspx?FamilyId=3D0BAF2B35-C656-= 4 969-ACE8-E4C0C0716ADB&displaylang=3Den). It seems to work just fine. The most important part of the modifications was removing the unnecessary dependencies to basetsd.h in the Visual Studio-generated .dep files. If anyone is interested in a set of instructions for reproducing a compilation under these circumstances, my modified makefiles/scripts, or the compiled binaries themselves, just let me know via the list and I'll work up some sort of distribution. Daniel Mace Senior Software Engineer, Payroll Integration benefitfocus.com 843-849-7476 x6393 *************************************************************************= *************** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is = intended only for the individual or entity to which it is addressed and = may contain information that is confidential and protected by law. = Unauthorized review, use, disclosure, or dissemination of this = communication or its contents in any way is prohibited and may be = unlawful. If you are not the intended recipient or a person responsible = for delivering this message to an intended recipient, please notify the = original sender immediately by e-mail or telephone, return the original = message to the original sender or to bfp...@be..., and = destroy all copies or derivations of the original message. Thank you. = (BFeComNote Rev. 08/01/2005) *************************************************************************= ************** |
|
From: Leif M. <le...@ta...> - 2006-11-10 20:34:08
|
Daniel,
I placed an order for a 64-bit system last week so I can finally get
these 64-bit versions
built myself. I am hoping to get a new release out by the end of year.
Any notes that you could give me on how you got this working would
save me some
time once I get the new system.
There are a couple other users working on getting this working as
well so everyone
would appreciate what you learned.
Thanks,
Leif
Daniel Mace wrote:
> I needed to move my Java applications using the JSW to a Xeon based 64
> bit server running Windows Server 2003 RC2 Standard x64 Edition this
> week. Much to my dismay, there is no 64 bit Windows distribution of the
> JSW binaries. Also, I have no access to Visual Studio, which is required
> out of the box to use the 64 bit build scripts included with the JSW
> source package.
>
> Since I really, really like using JSW, I hacked up the JSW build script,
> batch files, and Windows 64bit makefiles. I was able to succesfully
> build wrapper.dll and wrapper.exe on this architecture (with a few
> warnings from cl.exe about unknown arguments) using the Microsoft
> Windows Server 2003 R2 Platform SDK (which is available for free from MS
> at
> http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4
> 969-ACE8-E4C0C0716ADB&displaylang=en).
>
> It seems to work just fine. The most important part of the modifications
> was removing the unnecessary dependencies to basetsd.h in the Visual
> Studio-generated .dep files.
>
> If anyone is interested in a set of instructions for reproducing a
> compilation under these circumstances, my modified makefiles/scripts, or
> the compiled binaries themselves, just let me know via the list and I'll
> work up some sort of distribution.
>
> Daniel Mace
> Senior Software Engineer, Payroll Integration
> benefitfocus.com
> 843-849-7476 x6393
>
|
|
From: Daniel M. <dan...@be...> - 2006-11-13 19:57:30
|
Leif,
Here are some quick notes on the essential steps required to build using
the MS Platform SDK:
* (/tools/apache-ant-1.6.2/bin/build.xml) Add support for the SetEnv.cmd
environment script which comes with the Platform SDK - <property
name=3D"msvc.vcvars" value=3D"${msvc.home}\SetEnv.Cmd"/>
* (/src/c/makewin64.bat) Modify to use the Platform SDK SetEnv.cmd
syntax - call %1 /X64 /RETAIL
* (/src/c/Wrapper64.dep) Remove references to "basetsd.h"
* (/src/c/WrapperJNI64.dep) Remove references to "basetsd.h"
* (/src/c/Wrapper64.mak) Remove or modify (I removed) the '/machine'
linker flags
* (/src/c/WrapperJNI64.mak) Remove or modify (I removed) the '/machine'
linker flags
There might be some other things I forgot, but I believe those are the
major steps.
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: Friday, November 10, 2006 3:34 PM
To: wra...@li...
Subject: Re: [Wrapper-user] I've compiled the JSW 64 bit Windows
binaries without Visual Studio
Daniel,
I placed an order for a 64-bit system last week so I can finally get
these 64-bit versions built myself. I am hoping to get a new release
out by the end of year.
Any notes that you could give me on how you got this working would
save me some time once I get the new system.
There are a couple other users working on getting this working as
well so everyone would appreciate what you learned.
Thanks,
Leif
Daniel Mace wrote:
> I needed to move my Java applications using the JSW to a Xeon based 64
> bit server running Windows Server 2003 RC2 Standard x64 Edition this=20
> week. Much to my dismay, there is no 64 bit Windows distribution of=20
> the JSW binaries. Also, I have no access to Visual Studio, which is=20
> required out of the box to use the 64 bit build scripts included with=20
> the JSW source package.
>
> Since I really, really like using JSW, I hacked up the JSW build=20
> script, batch files, and Windows 64bit makefiles. I was able to=20
> succesfully build wrapper.dll and wrapper.exe on this architecture=20
> (with a few warnings from cl.exe about unknown arguments) using the=20
> Microsoft Windows Server 2003 R2 Platform SDK (which is available for=20
> free from MS at
> =
http://www.microsoft.com/downloads/details.aspx?FamilyId=3D0BAF2B35-C656
> -4 969-ACE8-E4C0C0716ADB&displaylang=3Den).
>
> It seems to work just fine. The most important part of the=20
> modifications was removing the unnecessary dependencies to basetsd.h=20
> in the Visual Studio-generated .dep files.
>
> If anyone is interested in a set of instructions for reproducing a=20
> compilation under these circumstances, my modified makefiles/scripts,=20
> or the compiled binaries themselves, just let me know via the list and
> I'll work up some sort of distribution.
>
> Daniel Mace
> Senior Software Engineer, Payroll Integration benefitfocus.com
> 843-849-7476 x6393
> =20
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
*************************************************************************=
***************
BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is =
intended only for the individual or entity to which it is addressed and =
may contain information that is confidential and protected by law. =
Unauthorized review, use, disclosure, or dissemination of this =
communication or its contents in any way is prohibited and may be =
unlawful. If you are not the intended recipient or a person responsible =
for delivering this message to an intended recipient, please notify the =
original sender immediately by e-mail or telephone, return the original =
message to the original sender or to bfp...@be..., and =
destroy all copies or derivations of the original message. Thank you. =
(BFeComNote Rev. 08/01/2005)
*************************************************************************=
**************
|
|
From: lfleal <lew...@gm...> - 2006-11-15 21:33:45
|
Great job Daniel! You're a lifesaver :)
Daniel Mace wrote:
>
> Leif,
>
> Here are some quick notes on the essential steps required to build using
> the MS Platform SDK:
>
> * (/tools/apache-ant-1.6.2/bin/build.xml) Add support for the SetEnv.cmd
> environment script which comes with the Platform SDK - <property
> name="msvc.vcvars" value="${msvc.home}\SetEnv.Cmd"/>
>
> * (/src/c/makewin64.bat) Modify to use the Platform SDK SetEnv.cmd
> syntax - call %1 /X64 /RETAIL
>
> * (/src/c/Wrapper64.dep) Remove references to "basetsd.h"
>
> * (/src/c/WrapperJNI64.dep) Remove references to "basetsd.h"
>
> * (/src/c/Wrapper64.mak) Remove or modify (I removed) the '/machine'
> linker flags
>
> * (/src/c/WrapperJNI64.mak) Remove or modify (I removed) the '/machine'
> linker flags
>
> There might be some other things I forgot, but I believe those are the
> major steps.
>
> -----Original Message-----
> From: wra...@li...
> [mailto:wra...@li...] On Behalf Of Leif
> Mortenson
> Sent: Friday, November 10, 2006 3:34 PM
> To: wra...@li...
> Subject: Re: [Wrapper-user] I've compiled the JSW 64 bit Windows
> binaries without Visual Studio
>
> Daniel,
> I placed an order for a 64-bit system last week so I can finally get
> these 64-bit versions built myself. I am hoping to get a new release
> out by the end of year.
>
> Any notes that you could give me on how you got this working would
> save me some time once I get the new system.
>
> There are a couple other users working on getting this working as
> well so everyone would appreciate what you learned.
>
> Thanks,
> Leif
>
> Daniel Mace wrote:
>> I needed to move my Java applications using the JSW to a Xeon based 64
>
>> bit server running Windows Server 2003 RC2 Standard x64 Edition this
>> week. Much to my dismay, there is no 64 bit Windows distribution of
>> the JSW binaries. Also, I have no access to Visual Studio, which is
>> required out of the box to use the 64 bit build scripts included with
>> the JSW source package.
>>
>> Since I really, really like using JSW, I hacked up the JSW build
>> script, batch files, and Windows 64bit makefiles. I was able to
>> succesfully build wrapper.dll and wrapper.exe on this architecture
>> (with a few warnings from cl.exe about unknown arguments) using the
>> Microsoft Windows Server 2003 R2 Platform SDK (which is available for
>> free from MS at
>> http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656
>> -4 969-ACE8-E4C0C0716ADB&displaylang=en).
>>
>> It seems to work just fine. The most important part of the
>> modifications was removing the unnecessary dependencies to basetsd.h
>> in the Visual Studio-generated .dep files.
>>
>> If anyone is interested in a set of instructions for reproducing a
>> compilation under these circumstances, my modified makefiles/scripts,
>> or the compiled binaries themselves, just let me know via the list and
>
>> I'll work up some sort of distribution.
>>
>> Daniel Mace
>> Senior Software Engineer, Payroll Integration benefitfocus.com
>> 843-849-7476 x6393
>>
>
>
> ------------------------------------------------------------------------
> -
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
> ****************************************************************************************
> BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is
> intended only for the individual or entity to which it is addressed and
> may contain information that is confidential and protected by law.
> Unauthorized review, use, disclosure, or dissemination of this
> communication or its contents in any way is prohibited and may be
> unlawful. If you are not the intended recipient or a person responsible
> for delivering this message to an intended recipient, please notify the
> original sender immediately by e-mail or telephone, return the original
> message to the original sender or to bfp...@be..., and
> destroy all copies or derivations of the original message. Thank you.
> (BFeComNote Rev. 08/01/2005)
> ***************************************************************************************
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
--
View this message in context: http://www.nabble.com/I%27ve-compiled-the-JSW-64-bit-Windows-binaries-without-Visual-Studio-tf2610021.html#a7346327
Sent from the Java Service Wrapper mailing list archive at Nabble.com.
|