PDA

View Full Version : Startup Resin 3.1.10 on Windows 7


jesk98ac
03-07-2011, 07:32 PM
Hi,

I need some help installing Resin 3.1.10 on Windows 7.

I did the following steps:

1) Installed JDK 5.0 Update 22 for Windows x64

2) Add java class path to window environment C:\Program Files\Java\jdk_1.5\bin

3) In the resin Home we have win32 and win64 library. When running the startup file in win32 resin shuts down immidialy.

How can I startup Resin in the win64 library?

alex
03-08-2011, 08:41 PM
Can you try the following:
- move the win32\resin.exe file in the parent directory (win32\..)
- rename win32 directory to _win32_
- start resin.exe with -verbose flag

Thanks,
Alex

jesk98ac
03-09-2011, 12:15 AM
Thanks Alex.

What is -verbose flag? Could you please me an example on how to start resin.exe with -verbose flag? :confused:

alex
03-09-2011, 05:44 AM
you'll need to use command line:

Start->Run-> cmd.exe <Enter>
>cd c:\resin
>resin.exe -verbose

-verbose flag should show details on what PATH, JVM,etc are used to start Resin.

jesk98ac
03-09-2011, 05:10 PM
C:\Users\myUser\Documents\Programmer\resin-3.1.10>resin.exe -verbose
java: (null)
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.5.0_22\bin
RESIN_HOME: C:\Users\myUser\Documents\Programmer\resin-3.1.10
SERVER_ROOT: C:\Users\myUser\Documents\Programmer\resin-3.1.10
CLASSPATH: C:\Users\myUser\Documents\Programmer\resin-3.1.10\classes;C
:\Users\myUser\Documents\Programmer\resin-3.1.10\lib\resin.jar;C:\Users\
myUser\Documents\Programmer\resin-3.1.10\lib\activation.jar;C:\Users\Cat
eringportal\Documents\Programmer\resin-3.1.10\lib\ejb-15.jar;C:\Users\Cateringpo
rtal\Documents\Programmer\resin-3.1.10\lib\hessian.jar;C:\Users\myUser\D
ocuments\Programmer\resin-3.1.10\lib\j2ee-management-10.jar;C:\Users\Cateringpor
tal\Documents\Programmer\resin-3.1.10\lib\javamail-141.jar;C:\Users\Cateringport
al\Documents\Programmer\resin-3.1.10\lib\jaxrpc-15.jar;C:\Users\myUser\D
ocuments\Programmer\resin-3.1.10\lib\jaxws-api.jar;C:\Users\myUser\Docum
ents\Programmer\resin-3.1.10\lib\jca-15.jar;C:\Users\myUser\Documents\Pr
ogrammer\resin-3.1.10\lib\jms-11.jar;C:\Users\myUser\Documents\Programme
r\resin-3.1.10\lib\jpa-15.jar;C:\Users\myUser\Documents\Programmer\resin
-3.1.10\lib\jsdk-15.jar;C:\Users\myUser\Documents\Programmer\resin-3.1.1
0\lib\jsf-12.jar;C:\Users\myUser\Documents\Programmer\resin-3.1.10\lib\j
sr88.jar;C:\Users\myUser\Documents\Programmer\resi n-3.1.10\lib\jstl-11.j
ar;C:\Users\myUser\Documents\Programmer\resin-3.1.10\lib\jta-101.jar;C:\
Users\myUser\Documents\Programmer\resin-3.1.10\lib\jws-15.jar;C:\Users\C
ateringportal\Documents\Programmer\resin-3.1.10\lib\portlet-10.jar;C:\Users\Cate
ringportal\Documents\Programmer\resin-3.1.10\lib\quercus.jar;C:\Users\Cateringpo
rtal\Documents\Programmer\resin-3.1.10\lib\resin-deploy.jar;C:\Users\Cateringpor
tal\Documents\Programmer\resin-3.1.10\lib\resin-util.jar;C:\Users\myUser
\Documents\Programmer\resin-3.1.10\lib\saaj.jar;C:\Users\myUser\Document
s\Programmer\resin-3.1.10\lib\script-10.jar;C:\Users\myUser\Documents\Pr
ogrammer\resin-3.1.10\lib\webbeans-16.jar;C:\Users\myUser\Documents\Prog
rammer\resin-3.1.10\lib\webutil.jar
PATH: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Prog
ram Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C
:\Windows;C:\Windows\System32\Wbem;C:\Windows\Syst em32\WindowsPowerShell\v1.0\;C
:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Broa
dcom\Broadcom 802.11\Driver;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Prog
ram Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Liv
e\Shared;C:\Program Files (x86)\Java\jdk1.5.0_22\bin;C:\Users\myUser\Doc
uments\Programmer\resin-3.1.10;C:\Users\myUser\Documents\Programmer\resi
n-3.1.10\bin;C:\Users\myUser\Documents\Programmer\re sin-3.1.10\win32;C:\
Users\myUser\Documents\Programmer\resin-3.1.10\win64;\openssl\bin
arg 0: "(null)"
arg 1: -Xrs
arg 2: -jar
arg 3: "C:\Users\myUser\Documents\Programmer\resin-3.1.10/lib/resin
.jar"
arg 4: --resin-home
arg 5: "C:\Users\myUser\Documents\Programmer\resin-3.1.10"
arg 6: --root-directory
arg 7: "C:\Users\myUser\Documents\Programmer\resin-3.1.10"
Couldn't start "(null)" -Xrs -jar "C:\Users\myUser\Documents\Program
mer\resin-3.1.10/lib/resin.jar" --resin-home "C:\Users\myUser\Document
s\Programmer\resin-3.1.10" --root-directory "C:\Users\myUser\Documents
\Programmer\resin-3.1.10".

alex
03-10-2011, 03:35 PM
I see,
1. Please set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.5.0_22
2. This java appears to be 32 bit, not 64 bit as I initially assumed from you message. So win32 folder needs to be brought back, and win64 can be renamed to _win64_

jesk98ac
03-10-2011, 08:46 PM
Thanks Alex.

It works :)

(On my Windows XP machine I used to set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_22\bin)

alex
03-10-2011, 10:00 PM
Excellent! Sometimes programs can still recover and work, but the rule for JAVA_HOME is to point to JDK root directory.

jiucai
04-02-2011, 09:29 AM
It seems jdk not support dir such as

C:\Program Files (x86)

but C:\Program Files worked.