- This topic has 4 replies, 3 voices, and was last updated 16 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
lyxpatMemberHello, It seems that My eclipse can’t append the java.library.path with a directory in the server configuration screen.
I have tried to append Matlab runtime DLLs located in the Program Files directory to the Weblogic Server java.library.path with no success.
Myeclipse should turn the slashes into backslashes but it does not. Besides It seems to have issues supporting paths with white spaces in it.
Can someone help me with this one ?
I’m using MyEclipse 7.0 Build id: 7.0-20081201 on a Windows XP SP3 computerBest Regards
Patrick
February 12, 2009 at 3:45 am #294731
support-joyMemberHey Patrick,
You can add dll to the server configuration. See the attached screenshot, I have tried with tomcat. You should be able to do the same with weblogic.
Let me know if this helps!
Attachments:
You must be logged in to view attached files.February 12, 2009 at 1:07 pm #294757
lyxpatMemberHello Joy, I’m gonna try to explain it in a better way, forgive my poor english.
In My Weblogic configuration screen I’ve entered the following in
Optional Java VM arguments:-Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -DCnsUtil.config=CnsUtil.properties -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da
And as it is specified in the Notes under the field I append the java.library.path in the Paths section by adding :
C:\dev\MATLAB\MCR\v79\runtime\win32
in the input fieldThen I create a new launch configuration and my VM arguments become:
-Djava.library.path="C:/Program Files/Java/jdk1.5.0_11/bin;C:/Program Files/Java/jdk1.5.0_11/jre/bin;C:/dev/bea/wlserver_10.0/server/native/win/32;C:/dev/bea/wlserver_10.0/server/bin;C:/dev/bea/wlserver_10.0/server/native/win/32/oci920_8;C:/dev/MATLAB/MCR/v79/runtime/win32" -Djava.security.policy=C:/dev/bea/wlserver_10.0/server/lib/weblogic.policy -Dweblogic.management.discover=false -Dplatform.home=C:/dev/bea/wlserver_10.0 -Dwls.home=C:/dev/bea/wlserver_10.0/server -Dwli.home=C:/dev/bea/wlserver_10.0/integration -Dweblogic.Name=AdminServer -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.ext.dirs=C:/dev/bea/patch_weblogic1000/profiles/default/sysext_manifest_classpath -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -DCnsUtil.config=CnsUtil.properties -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da
Then I launch Weblogic, The slashes are turned to backslashes everything works fine, but if I make a modification in the generated run/debug config and I launch weblogic again the slashes are not turned into backslashes in the java.libray.path anymore.
I ‘ve found a workaround by putting all the parameters I need in the optional VM parameters, but still, you should be able to play with the run/debug config of your server.
February 13, 2009 at 12:46 am #294775
support-joyMemberHey Patrick,
This is weird. I will let the dev team know about this. Good to hear that you have found a workaround. This will help other forum users.
Thank you.
February 13, 2009 at 9:06 am #294792
Riyad KallaMemberPatrick,
I think there is some confusion around the configuration of the app server — when you configure the connector, you are done… you can Start/Stop your app server from the Toolbar or from the Servers view — if you need to customize and tweak out the configuration yourself, you can create a Custom Launch Configuration, which copies out the connector’s setting under the Run or Debug menu as a non-MyEclipse launch configuration (it is no longer managed by the MyEclipse server tools) and you can then managing running/debugging your app server right from the standard Eclipse menus. Changes to the connector after that won’t be propogated to the run configuration and changes to the run configuration won’t be propogated back to the connector configuration screen.
Given that — does it explain the behavior you are seeing?
-
AuthorPosts