-
1. Re: Eclipse doesn't load JBoss Server with endorsed libs
rob.stryker Apr 24, 2008 2:02 PM (in response to graben)Howdy =]
There's a JIRA for this already, and it will be fixed in the next release as it's already been coded.
http://jira.jboss.com/jira/browse/JBIDE-1656 -
2. Re: Eclipse doesn't load JBoss Server with endorsed libs
graben Apr 25, 2008 4:21 AM (in response to graben)Well, I'm running on Beta 2.1 and it doesn't work yet. JBoss Native libs aren't started either!
-
3. Re: Eclipse doesn't load JBoss Server with endorsed libs
maxandersen Apr 25, 2008 6:00 AM (in response to graben)graben: I reopend JBIDE-1656.
If you got some pointers on what we are missing for the native libs then please add that to teh JBIDE-1656 jira ? -
4. Re: Eclipse doesn't load JBoss Server with endorsed libs
rob.stryker Apr 25, 2008 2:36 PM (in response to graben)Graben:
YOu're right about the native not being added. However, endorsed-libs *are* definitely added. You can double-check this by double-clicking the server, and in the server editor clicking "Open Launch Configuration".
There you'll see the program arguments and java arguments being passed... and endoresed *is* there. -
5. Re: Eclipse doesn't load JBoss Server with endorsed libs
graben Apr 25, 2008 2:47 PM (in response to graben)Yes, endorsed libs are registered but the path to my server instance contains spaces and parameter entry doesn't use "". That's why I didn't worked in the past. After manually correcting everything works fine. I think JBoss Tools should check for spaces by default or even better use "" every time. :-) I'm still looking for a solution for the native libs problem. I tried to set java.library.path to native folder but unfortunately without success.
-
6. Re: Eclipse doesn't load JBoss Server with endorsed libs
rob.stryker Apr 25, 2008 2:57 PM (in response to graben)Ah... quotes. Interesting. I'll get on that.
As for native, I've just committed exactly what the .bat / .sh scripts do... which is exactly what you've just done ;) -Djava.library.path=home/bin/native
I'll commit the quotes that were missing as well. -
7. Re: Eclipse doesn't load JBoss Server with endorsed libs
graben Apr 28, 2008 8:41 AM (in response to graben)As I wrote before the native libs aren't loaded even if you set java.library.path. Look at my log entry it's quite strange! ;-)
14:36:04,664 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/jboss-as/bin/native
-
8. Re: Eclipse doesn't load JBoss Server with endorsed libs
rob.stryker Apr 28, 2008 11:09 AM (in response to graben)Are there actually any files in your C:/jboss-as/bin/native ?
I suspect strongly you need to download the native libraries yourself... though I'm not certain. -
10. Re: Eclipse doesn't load JBoss Server with endorsed libs
graben Apr 28, 2008 11:30 AM (in response to graben)Of course there are files in the native folder, that's why I'm so surprised by this server log message. It says there are no files although there are the needed files. If I start the server manually by run.bat it loaded those native libs and shows the success message in the log.
-
11. Re: Eclipse doesn't load JBoss Server with endorsed libs
rob.stryker Apr 28, 2008 11:50 AM (in response to graben)Try starting with run.bat and comparing the VM arguments and java arguments with those in your jboss tools' server's launch configuration?
Post both here, too =D -
12. Re: Eclipse doesn't load JBoss Server with endorsed libs
rob.stryker Apr 28, 2008 11:58 AM (in response to graben)also a directory tree of your bin folder, just to make sure it was unzipped properly? Not trying to say you're crazy ;) Just trying to make sure everything's okie dokie
-
13. Re: Eclipse doesn't load JBoss Server with endorsed libs
graben Apr 28, 2008 1:05 PM (in response to graben)JAVA_OPTS: -Djava.library.path="C:\Programme\Argon2 Developer Studio\jboss-as \bin\native" -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.clie nt.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Dprogram.name="JBossTools JBoss 4.2 Runtime" -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs="C:/Programme/Argon2 Developer Studio/jboss-as/lib/endorsed" -Djava.library.path="C:/Programme/Argon2 Developer Studio/jboss-as/bin/native/"
native/libapr-1.dll native/libaprutil-1.dll native/libeay32.dll native/libtcnative-1.dll native/ssleay32.dll classpath.sh jboss_init_hpux.sh jboss_init_redhat.sh jboss_init_suse.sh jbosssch.dll jbosssvc.exe MyDB.lck MyDB.log MyDB.properties openssl.exe probe.bat probe.sh README-service.txt run.bat run.conf run.jar run.sh run_jprofiler.bat service.bat shutdown.bat shutdown.jar shutdown.sh twiddle.bat twiddle.jar twiddle.sh wsconsume.bat wsconsume.sh wsprovide.bat wsprovide.sh wsrunclient.bat wsrunclient.sh wstools.bat wstools.sh