For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 3 voices, and was last updated 18 years ago by
Scott Anderson.
-
AuthorPosts
-
refactorMemberi have resin pro. i am using myeclipse 6.0M1. i have searched the previous posts. i cannot add Xdebug to the program arguments, i think that would solve the issue. not matter what i try it will not start in hot swap.
help
August 10, 2007 at 12:10 pm #273750
Loyal WaterMemberi cannot add Xdebug to the program arguments
You mean to say it is not getting picked up or the text box is grayed out and your are unable to type it in.
August 10, 2007 at 12:19 pm #273752
refactorMemberits getting rejected. i put it in under the optional program arguments. it takes it on that screen.
this is what i get when i try and start resin from within my eclipse
usage: Resin [-conf resin.conf] [-server id]
unknown argument ‘-Xdebug’thx
deanAugust 10, 2007 at 12:59 pm #273760
Scott AndersonParticipantDean,
You don’t need to start with XDebug because the MyEclipse connector will already start the server in Debug mode when you launch it for debugging. Nothing more is needed on your end. What are you trying to do exactly and what’s happening that’s different from
what you expect to happen?August 10, 2007 at 1:25 pm #273763
refactorMemberi’ve read that on other posts. The fact is HotSwap does not get enabled
below are two logs, one from myeclipse the other from command line. as you will see it clearly says hotswap available when starting from the command line
it does not mention that when starting from within eclispe, and its behaviour is reloading the whole app when a file is changedMYeclipse start
Resin-3.1.2 (built Wed, 18 Jul 2007 11:16:59 PDT)
Copyright(c) 1998-2007 Caucho Technology. All rights reserved.1006816.license — 9 Resin servers BzResults
Starting Resin on Fri, 10 Aug 2007 14:13:13 -0400 (EDT)
[14:13:15.251] Proxy Cache disk-size=1024M memory-size=64M
[14:13:15.271] ping starting, checking []
[14:13:15.605] Server[id=,cluster=app-tier] starting
[14:13:15.605]
[14:13:15.606] Windows Vista 6.0 x86
[14:13:15.606] Java 1.6.0_02-b06, 32, mixed mode, sharing, Cp1252, en, Sun Microsystems Inc.
[14:13:15.606] user.name: dixonde
[14:13:15.606] resin.home = C:\dev\resin-pro-3.1.2
[14:13:15.606] root.directory = C:\dev\resin-pro-3.1.2
[14:13:15.606] resin.conf = /C:/dev/resin-pro-3.1.2/conf/resin.conf
[14:13:15.606]
[14:13:15.609] Socket JNI library is not available.
[14:13:15.609] Resin will still run but performance will be slower.
[14:13:15.609] To compile the Socket JNI library on Unix, use ./configure; make; make install.
[14:13:15.619] hmux listening to 127.0.0.1:6800
[14:13:15.626] http listening to *:80
[14:13:15.766] Host[] startinghere is log from starting it outside of myeclipse httpd -Xdebug
1006816.license — 9 Resin servers BzResults
Starting Resin on Fri, 10 Aug 2007 14:10:58 -0400 (EDT)
[14:10:59.696] Proxy Cache disk-size=1024M memory-size=64M
[14:10:59.704] ping starting, checking []
[14:11:00.041] Server[id=,cluster=app-tier] starting
[14:11:00.041]
[14:11:00.041] Windows Vista 6.0 x86
[14:11:00.041] Java 1.6.0_02-b06, 32, mixed mode, sharing, Cp1252, en, Sun Micro
systems Inc.
[14:11:00.042] user.name: dixonde
[14:11:00.042] resin.home = C:\dev\resin-pro-3.1.2
[14:11:00.042] root.directory = C:\dev\resin-pro-3.1.2
[14:11:00.042] resin.conf = /C:/dev/resin-pro-3.1.2/conf/resin.conf
[14:11:00.042]
[14:11:00.048] Loaded Socket JNI library.
[14:11:00.051] hmux listening to 127.0.0.1:6800
[14:11:00.056] http listening to *:80
[14:11:00.171] Host[] starting
[14:11:00.603] In-place class redefinition (HotSwap) is available. **********************************************August 10, 2007 at 1:43 pm #273768
Scott AndersonParticipantDean,
The only difference between the startups appears to be this:
[ 14:13:15.609] Socket JNI library is not available. [14:13:15.609] Resin will still run but performance will be slower.
What this means is that a DLL that implements the Socket JNI library isn’t being found. What you need to do to fix the issue is modify the Paths page of the Resin connector and modify the Java Library Path entry to add the directory that contains the socket JNI library.
-
AuthorPosts