On a 2008 server, just uninstall any 32 bits version of java.

Jérémy

Le 19 nov. 2013 à 17:17, Jérémy DE ROYER a écrit :

> I observed that the apps started with JavaMonitor are using java.exe *32
> 
> Is there a way to force wotaskd and JavaMonitor to launch apps using 64 bits 
> version of java.exe ? Why does it starts using 32 bits version ?
> 
> It may explain the problem on Windows Server 2012...
> 
> Jérémy
> 
> Le 19 nov. 2013 à 09:27, Jérémy DE ROYER a écrit :
> 
>> Yes,
>> 
>> It looks like a path problem because when I launch it manually using .CMD, 
>> the app starts.
>> 
>> When I launch manually using WOStart.exe it doesn't
>> 
>> When I launch using wotasksd it doesn't
>> 
>> When I launch it manually using WOStart, I get a NoDefClassFound and the 
>> logs show the jars in the Extensions folder (under 
>> C:\Apple\Local\Library\WebObjects\Extensions) are not loaded.
>> 
>> I still dig to find where the mistake… only on 2012 Server. A way may be to 
>> install the last Java 1.7 release, I will try.
>> 
>> Jérémy
>> 
>> Le 19 nov. 2013 à 08:34, Stéphan Mertz a écrit :
>> 
>>> Hi,
>>> 
>>> Did you try to start your application manually (with all the arguments 
>>> displayed in the instance settings of the Monitor ) in a DOS window ?
>>> You  probably have a problem in the Windows/CLSSPATH.TXT file (JVM path for 
>>> example).
>>> 
>>> Stéphan
>>> 
>>> Le 19 nov. 2013 à 00:14, Jérémy DE ROYER <jeremy.dero...@ingencys.net> a 
>>> écrit :
>>> 
>>>> Hi,
>>>> 
>>>> I succeeded using wotaskd and JavaMonitor on Widows 2012 Server.
>>>> 
>>>> I did rename the 'Apple' folder into 'AppServer' folder. That was the 
>>>> error. Since I named it back to 'Apple' and changed NEXT_ROOT to 
>>>> 'C:/Apple', wotaskd and JavaMonitor are working well.
>>>> 
>>>> But my app still don't start and I don't find any log anywhere.
>>>> 
>>>> Jérémy
>>>> 
>>>> Le 17 nov. 2013 à 14:35, Jérémy DE ROYER a écrit :
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I even disabled windows firewall but it has nothing to do with.
>>>>> 
>>>>> I though about security rights too but when I manually start with 
>>>>> wotaksd.exe (using wostart.exe) instead of wotaksd.CMD, I can't edit 
>>>>> siteconfig.xml too.
>>>>> 
>>>>> When I launch manually with .CMD, I can edit sitecongif.xml but I can't 
>>>>> still launch the app, I get a "No instance found for Host localhost and 
>>>>> Port: 2001; START failed"
>>>>> 
>>>>> It's like JavaMonitor could not talk with wotaskd…
>>>>> 
>>>>> Jérémy
>>>>> 
>>>>> Le 17 nov. 2013 à 12:15, Markus Stoll a écrit :
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> sorry, I did not yet try for myself, so I am guessing at this point.
>>>>>> 
>>>>>> The main difference between starting manually and starting as service is 
>>>>>> the
>>>>>> user wotaskd is running under. So you could try to change the service 
>>>>>> user
>>>>>> for the wotaskd service to the admin user and see whether this changes 
>>>>>> something.
>>>>>> 
>>>>>> Your description sounds like permission problems on the disk. You could 
>>>>>> as well change
>>>>>> siteconfig.xml manually and see whether you can start this app / 
>>>>>> instance afterwords.
>>>>>> 
>>>>>> Regards, Markus
>>>>>> 
>>>>>> 
>>>>>> Am 17.11.2013 um 02:11 schrieb Jérémy DE ROYER 
>>>>>> <jeremy.dero...@ingencys.net>:
>>>>>> 
>>>>>>> Hi
>>>>>>> 
>>>>>>> Does anyone succeded in using wotaskd and womonitor on Windows 2012 
>>>>>>> Server ?
>>>>>>> 
>>>>>>> I followed "Deploying on Windows" but :
>>>>>>> - when I manually start wotaskd, I can add app but I can't launch it
>>>>>>> - when I start wotaskd as a service (using sc.exe create… wotaskd.exe 
>>>>>>> using wostart), I can add app (but the file siteconfig.xml does not 
>>>>>>> save on disk). I can't launch it anyway
>>>>>>> 
>>>>>>> Reading one post, I changed from Java 1.7 to Java 1.6 (still 64 bits).
>>>>>>> 
>>>>>>> Where am I wrong ? Is there any Windows 2012 Server patch ? I changed 
>>>>>>> security rigth to allow every body write on C:/Apple folder.
>>>>>>> 
>>>>>>> I did the same install on 2008 Server R2 64 bits without any issue.
>>>>>>> 
>>>>>>> Thank's for any help.
>>>>>>> 
>>>>>>> Jérémy
>>>>>>> 
>>>>>>> Le 11 juil. 2013 à 08:47, Markus Stoll, junidas GmbH a écrit :
>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>>> As far as I understand :
>>>>>>>>> - WOStart is like .CMD but is a .EXE
>>>>>>>>> - WOStart is able to let us start a WebObjects application as Windows 
>>>>>>>>> Service
>>>>>>>> exactly
>>>>>>>> 
>>>>>>>>> But :
>>>>>>>>> - where can I find binaries for Windows 64 bits (Window 2012Server)
>>>>>>>> 
>>>>>>>> You can compile them for yourself very easy using MingW and MingW64
>>>>>>>> Current binaries are on WOCommunity server:
>>>>>>>> 
>>>>>>>> http://wocommunity.org/documents/tools/WOStart.zip
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> - if I use WOStart with the app 'DemoApp.woa' how WOAdaptor will know 
>>>>>>>>> it has to repond to 'cgi-bin/WebObjects/DemoApp.woa'
>>>>>>>> 
>>>>>>>> The way you start your app has nothing todo with that. The App will 
>>>>>>>> register with wotaskd
>>>>>>>> and woadaptor will know from wotaskd.
>>>>>>>> 
>>>>>>>> Regards, Markus
>>>>>>>> 
>>>>>>>>> Thank's for your answers,
>>>>>>>>> 
>>>>>>>>> Jérémy
>>>>>>>>> 
>>>>>>>>> Le 8 juil. 2013 à 22:14, Markus Stoll a écrit :
>>>>>>>>> 
>>>>>>>>>> Hi Jérémy
>>>>>>>>>> 
>>>>>>>>>> you might be the very first to try deployment on Windows 2012 - I 
>>>>>>>>>> did not expect problems like
>>>>>>>>>> that, but I just don't know whether this causes problems.
>>>>>>>>>> 
>>>>>>>>>> I would suggest to try WOStart from current wonder instead of using 
>>>>>>>>>> the startup scripts.
>>>>>>>>>> 
>>>>>>>>>> Which Java version did you use?
>>>>>>>>>> 
>>>>>>>>>> regards, Markus
>>>>>>>>>> 
>>>>>>>>>> Am 08.07.2013 um 03:55 schrieb Jérémy DE ROYER 
>>>>>>>>>> <jeremy.dero...@ingencys.net>:
>>>>>>>>>> 
>>>>>>>>>>> Hello,
>>>>>>>>>>> 
>>>>>>>>>>> After reading so such about servlet and Javamonitor deployment, I 
>>>>>>>>>>> decided to try to deploy on Windows using JavaMonitor.
>>>>>>>>>>> 
>>>>>>>>>>> If the setup is easier (compare to tomcat/servlet), I have to admit 
>>>>>>>>>>> that I am unable to make my app start using JavaMonitor.
>>>>>>>>>>> 
>>>>>>>>>>> When I start my app double clicking on its own .cmd, it works.
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> 
>>>>>>>>>>> I tried changing path using "c:/" or "c:\" or "c:\\" -> nothing
>>>>>>>>>>> 
>>>>>>>>>>> I've create the folder c:/TEMP/logWebObjects -> nothing
>>>>>>>>>>> 
>>>>>>>>>>> I've started wotaskd as a service (using firedaemon) or manually -> 
>>>>>>>>>>> nothing
>>>>>>>>>>> 
>>>>>>>>>>> I've used the original and Wonder versions of wotaskd and 
>>>>>>>>>>> javamonitor -> nothing
>>>>>>>>>>> 
>>>>>>>>>>> The only thing I get is :
>>>>>>>>>>> - "The app did not respond for xxx seconds witch is greater than 
>>>>>>>>>>> the allowed… so it is assumed to be dead."
>>>>>>>>>>> 
>>>>>>>>>>> If someone already had the same issue, how do you succeed deploying 
>>>>>>>>>>> on windows using javamonitor (I'm using windows 2012 server)
>>>>>>>>>>> 
>>>>>>>>>>> Thank's
>>>>>>>>>>> 
>>>>>>>>>>> Jérémy
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> -- 
>>>>>>>> Dr. Markus Stoll (Geschäftsführer)
>>>>>>>> markus.st...@junidas.de
>>>>>>>> 
>>>>>>>> junidas GmbH, Aixheimer Str. 12, 70619 Stuttgart
>>>>>>>> Tel. +49 (711) 4599799-11, Fax +49 (711) 4599799-10
>>>>>>>> Geschäftsführer: Dr. Markus Stoll, Matthias Zepf
>>>>>>>> Amtsgericht Stuttgart, HRB 21939
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> https://lists.apple.com/mailman/options/webobjects-deploy/jeremy.deroyer%40ingencys.net
>>>>> 
>>>>> This email sent to jeremy.dero...@ingencys.net
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-deploy/s.mertz%40improve.fr
>>>> 
>>>> This email sent to s.me...@improve.fr
>>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-deploy/jeremy.deroyer%40ingencys.net
>> 
>> This email sent to jeremy.dero...@ingencys.net
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-deploy/jeremy.deroyer%40ingencys.net
> 
> This email sent to jeremy.dero...@ingencys.net


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to