-
1. Re: Deploy doesn't work under Windows 7
maxandersen Oct 7, 2010 9:58 AM (in response to sanix)You are not giving much details about if the file are actually copied to the server ?
p.s. please identify your self beyond "sdfdsfs"; we aren't an anonymous board
-
2. Re: Deploy doesn't work under Windows 7
sanix Oct 12, 2010 6:01 PM (in response to maxandersen)It is not copied to the server. I think it might have to with Windows 7, which is very restrictive in regards of access. But there's no error message.
I've changed my user name. I hate to register to boards, that's the reason I chose an anonymous name.
-
3. Re: Deploy doesn't work under Windows 7
maxandersen Oct 13, 2010 4:36 AM (in response to sanix)When you say "it is not copied to the server" what do you mean ?
The AS Deployer does not by default deploy into the server, but rather deploys into the workspace area to avoid "dirtying" the installed AS.
You can double click the server to see where it is actually deploying to and you can right click on the deployed modules and choose "Explore" to see what actually gets copied/deployed.
If that still leads to nothing are deployed/copied then try and do a Full Publish - does that change anything ?
And thanks for putting a name up
-
4. Re: Deploy doesn't work under Windows 7
sanix Oct 13, 2010 5:18 AM (in response to maxandersen)ok, did not know that. I tried now a full publish and it does not work either. I don't know what kind of information do you want, since I don't get any error message. According to the plugin it gets published but it is not.
When I click on explore, the following folder will be opened:
E:\Projekte\eclipse jboss\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_5.1_Runtime_Server1284987388425\deploy\HelloWorld_webfr.war
The classes and libraries are in the war file as it should be.
-
5. Re: Deploy doesn't work under Windows 7
rob.stryker Oct 13, 2010 5:44 AM (in response to sanix)So you've found the missing file. The question now is why it isn't being picked up by the server. I would assume it's not being picked up because of some JMX reason, maybe your JMX username nad password are incorrect in the server editor?
When you run from the command line, does the shutdown script work if you type ./shutdown.bat -S -u admin -p admin ? (Use different username / passwords according to your config of course, but make sure htese match what you'll find in the server editor)
-
6. Re: Deploy doesn't work under Windows 7
dgolovin Oct 13, 2010 12:59 PM (in response to sanix)Could you try to run JBT from location without space in folder name? I'm not sure it is the reason, just a guess.
-
7. Re: Deploy doesn't work under Windows 7
simon_lebettre Oct 13, 2010 8:52 PM (in response to dgolovin)Hi guys. I can provide more detailed info regarding this :
Deploy does not work on my
- win7 64 home premium
- 32 bit JVM
- wether deploying in jboss 5.1 deploy folder or in eclipse metadata folder, even when recreating the server config
- Eclipse Helios with latest jboss tools M2
- With latest wtp update ! Stock Helios works fine ! ( this update is available from inside eclipse, this is the version with explore context menu on the server not just on ear and war )
- Even the basic deploy does not work (the fake server wich just copies folders)
- Compressed war works, exploded (default mode) does not work.
-everything appears like published but no dependency gets published ( no utility project opened in eclipse, no war, no seam.jar, just an invalid ear)
=> So just reinstall stock helios and dont update wtp.
-
8. Re: Deploy doesn't work under Windows 7
maxandersen Oct 14, 2010 7:05 AM (in response to simon_lebettre)hmm...stock helios does not provide an "Explore" option in context menu, JBoss Tools does that...are you sure you didn't just update Jboss tools ?
-
9. Re: Deploy doesn't work under Windows 7
simon_lebettre Oct 14, 2010 2:21 PM (in response to maxandersen)my mistake explore option is present in my two installations.
And I did more tests and found the real bug : deployement does not work when jboss is not in the same drive as Eclipse !
updated wtp Eclipse in C:\ + Jboss in S:\ => Bug
updated wtp Eclipse in S:\ + Jboss in S:\ => Deployement ok !
-
10. Re: Deploy doesn't work under Windows 7
tung-td Oct 24, 2010 4:08 AM (in response to sanix)I think this is the solution for your problem http://community.jboss.org/thread/149665?tstart=0