-
1. Re: How to suppress "Server Credentials required" screen in Eclipse
antoine_h Jul 24, 2010 3:19 AM (in response to baabaa)Hello,
this is not a topic about JBoss Portal : better see in the forum of JBoss Tools...
what it seems, is that the run of the server inside Eclipse is not finding the credential.
search option are :
- are the config of the jboss server proper : check how is doing the run.bat file (with some "echo" comments in it).
- check that the proper JRE is used to start the server (Java 5, java 6,...). "jboss community 5.0" is better with Java 6... see the release note and readme files in the root folder of the download.
- check if Eclipse is starting the server with a different JVM, and how
- check if the credential are obtained by network call and that eclipse allow the connection (proper host, proper port access)
another way is to start the server on it's own, and then ask the debugger to plug into it.
I am not sure it is possible, but it seems to, from what I have seen of the configuration options in eclipse (servers>launching options)
hope it helps,
Antoine
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.
http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php -
2. Re: How to suppress "Server Credentials required" screen in Eclipse
baabaa Jul 28, 2010 2:57 PM (in response to antoine_h)Thanks for the response
-The JRE versions are the same when I run from run.bat or when I start server from Eclipse.
-run.bat adds to java_opts: -Djavax.net.ssl.trustStore=./Certificates/truststore.jks -Djavax.net.ssl.keyStore=./Certificates/keystore.jks -Djavax.net.ssl.keyStorePassword=admin23
I set the same additional VM arguments when I configure the server runtime inside eclipse.
However inside eclipse I continue to get the credential required box. Whereas while running run.bat I never get a credential required box.
How can I attach eclipse to a server started by run.bat?
Is there any other way to skip the credentials box inside eclipse?
Thanks
-
3. Re: How to suppress "Server Credentials required" screen in Eclipse
baabaa Jul 28, 2010 3:04 PM (in response to baabaa)I also see a message inside eclipse which says :
"One or more ports have an invalid value. This may adversely affect the tooling's ability to interact with the server."
This message shows up when the "JBOSS server eap 4.3 runtime" properties is opened up in eclipse.