-
15. Re: Cannot start JBoss4 Server from IDE2
vmnokso1 Sep 17, 2006 5:03 PM (in response to humanlikerobot)There seems to also exist second type of Twiddle launch property:
_CURRENT_STATE_ 5
_TIME_ 120000
_ARGS_ -s localhost:1099 - a jmx/rmi/RKIAdaptor get "jboss.system:type=Server" Started
23:47:10, 968 ERROR [Twiddle]Exec failed java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterce .... -
16. Re: Cannot start JBoss4 Server from IDE2
rob.stryker Sep 18, 2006 11:09 AM (in response to humanlikerobot)What I think is happening is that twiddle is trying to see if the server is up, but it's not authenticated to. Do you have your jboss password protected? If yes, then the twiddle arguments probably need to be changed, however I'm not sure if the version you have has a twiddle tab in the server launch configuration or not.
-
17. Re: Cannot start JBoss4 Server from IDE2
vmnokso1 Sep 18, 2006 12:54 PM (in response to humanlikerobot)I am using JBoss Eclipse IDE 2.0.0.Beta1. I can't find twiddle tab from Window => Prefereces.
My jboss username and password are the same as my Windows username and password. -
18. Re: Cannot start JBoss4 Server from IDE2
rob.stryker Sep 18, 2006 1:13 PM (in response to humanlikerobot)The twiddle tab wouldn't be under window -> preferences. It would be under your server configuration.
To find your server launch configuration, double click your server in the view to open the editor, and then click on the launch configuration hyperlink. There may or may not be a twiddle tab there for you. If there isn't you'll just have to wait for the next release. -
19. Re: Cannot start JBoss4 Server from IDE2
vmnokso1 Sep 18, 2006 2:23 PM (in response to humanlikerobot)I can't find anything about twiddle in the "Edit launch configuration properties" window. I seems to be best to wait for the next release.
Thanks, Rob ! -
20. Re: Cannot start JBoss4 Server from IDE2
humanlikerobot Sep 18, 2006 10:27 PM (in response to humanlikerobot)I start JBoss Server by command from windows-console.
It works.
Thanks rob, vmnokso1. -
21. Re: Cannot start JBoss4 Server from IDE2
vmnokso1 Sep 19, 2006 1:34 AM (in response to humanlikerobot)You can set Window => Preferences => JBoss Eclipse IDE =>JBoss servers => Start timeout to 60 000 and Upon timeout: Set server State to "Started".
This works also. -
22. Re: Cannot start JBoss4 Server from IDE2
humanlikerobot Sep 20, 2006 1:37 AM (in response to humanlikerobot)Thanks vmnokso1.
But I can't find "JBoss servers".
My preference window is here.
http://sue.nae.to/screenshot/20060920.jpg
I have failed in the installation of IDE ?? -
23. Re: Cannot start JBoss4 Server from IDE2
vmnokso1 Sep 20, 2006 10:50 AM (in response to humanlikerobot)I wonder, if you have defined your server successfully.
This happens by opening first the JBoss Server View
Windows => Show view => Other.. => Server = JBoss Server View
Then by right-clicking Jboss Server View => New => Server => Server window with name and home directory information
When you have done this, you should have symbol of the defined server in
Window => Preferences => JBoss Eclipse IDE => JBoss Servers
But if you can´t find JBoss Servers line after this process, then may be some other problem in your system -
24. Re: Cannot start JBoss4 Server from IDE2
rob.stryker Sep 20, 2006 11:08 AM (in response to humanlikerobot)My impression is he might be using the alpha release instead of the beta1. I'm not sure if I remember it 100%, but the alpha release may or may not include a similar preference page under Window -> Preferences -> Servers -> JBoss Servers.
Again, not sure here. -
25. Re: Cannot start JBoss4 Server from IDE2
humanlikerobot Oct 4, 2006 1:19 AM (in response to humanlikerobot)I found something wrong with JBoss Server installation.
JBoss Server Download Page
http://labs.jboss.com/portal/jbossas/download
At first, I click "Run Installer".
In this way, I got a problem what I wrote this topic.
Next time, I click "Download".
download jboss zip and path-installer.jar.
unpack zip and run the jar.
then, problem goes away.
I can start JBoss Server from IDE.
vmnokso1, rob, Thanks a lot!! -
26. Re: Cannot start JBoss4 Server from IDE2
mwr0707 Oct 16, 2006 9:45 AM (in response to humanlikerobot)I had the same problem. I had originally installed JBoss 4.0.4GA using the "Run Installer" option, and chose to secure the admin console.
I removed JBoss, downloaded the zip and did a simple unzip to reinstall. (Did not set up any security) I was able to start the server and deploy EAR files by right-clicking the EAR file and choosing RunAs->Run On Server.
Although I have been able to start the server in debug mode, I have not been able to deploy using DebugAs->Debug On Server -
27. Re: Cannot start JBoss4 Server from IDE2
rob.stryker Oct 16, 2006 12:26 PM (in response to humanlikerobot)"mwr0707" wrote:
Although I have been able to start the server in debug mode, I have not been able to deploy using DebugAs->Debug On Server
Something has changed either in webtools or jst (ie in eclipse and upstream from us) which has broken DebugAs->Debug On Server for many project types. The other way to do it is to right-click on the server and select Add/Remove Projects, then add the EJB project.
That should properly deploy. -
28. Re: Cannot start JBoss4 Server from IDE2
mwr0707 Oct 17, 2006 8:48 AM (in response to humanlikerobot)The other way to do it is to right-click on the server and select Add/Remove Projects, then add the EJB project.
Interesting... I tried that and it showed that the project was already configured.
So I removed it from the configured list and clicked finish.
Then I tried DebugAs->Debug on Server again and it worked!
I had originally deployed using RunAs->Run on Server and I could not find a way to undeploy from the IDE, so I "used the bigger hammer" and just deleted the EAR from the Jboss deploy directory.
The JBoss console showed a successful undeploy, but I wonder if the IDE didn't recognize that it had happened? -
29. Re: Cannot start JBoss4 Server from IDE2
mwr0707 Oct 17, 2006 9:01 AM (in response to humanlikerobot)As a followup...
From your earlier suggestion, I now presume that <Add and Remove Projects...> then remove project from configured list would be the "IDE way" to undeploy. I tried that and the console did show an undeploy.
So I'm thinking I can also use this as an alternative way to deploy, but... the next time I choose <Add and Remove Projects...>, I get the message "There are no projects than can be added or removed from the server"
DebugAs->Debug on Server still works though, and then, of course, <Add and Remove Projects...> shows the configured EAR file again.