Can't find easy way to stop server and undeploy app

  6 posts   Feedicon  
Replies: 5 - Last Post: August 18, 2009 22:08
by: Wojciech Halicki-Piszko
showing 1 - 6 of 6
 
Posted: August 12, 2009 20:11 by Wojciech Halicki-Piszko
Hello,
thanks for this plugin I like it so far. Especially UI for creating servlet mapping.

I found one problem as seen in topic's subject.

This is what I did:

  • Created sample guestbook gae project.
  • Run it.
  • Tried to run another project.
  • I got error that address is already in use (expected that).
  • I tried to check whether I can stop server in Services tab, but it isn't possible. I see start option in menu, so it seem NetBeans isn't aware server is running.
  • I killed gae processes manually.
  • Tried to run another project, but guestbook was started instead.

Did I did something wrong?

 
Posted: August 13, 2009 09:11 by marigan
So ... if you are running windows and nb671version there is a problem that server process is not killed (this is fixed in 68version and it's little bit complicated to integrate it into 67) ... the second problem is maybe about that ... due to that gae can't be started without any project linked i had to make a little hack into server plugins api. And whenever you run project the gae searches all open project for appengine xml and takes the one which is marked as main. But if you think that the behaviour is weird please fill the bug on it and i will try to figure out different way how to do that.
 
Posted: August 14, 2009 08:21 by Wojciech Halicki-Piszko
Thanks for quick and informative response.

I indeed am running Windows and 6.7.1 and I have to kill GAE server's processes manually and I acknowledge the cause of that, but I still don't see GAE server node in Services tab correctly displaying its status - server is running, but the node doesn't indicate that.

My problem is quite special in that I have 2 projects. First (guestbook sample) is recognized by plugin and second (my own) is not due to some changes I made to project.properties file and the way plugin searches for appengine xml I guess. I changed settings to be able to continue development of project in NetBeans that started in Eclipse. Both have different convention for file locations (web vs. war, src/java src/conf vs. src) and maybe here lies the problem with recognizing the second project as GAE one.

I have no problem with installing 6.8, but I'd like to see problem of migrating from Eclipse to NetBeans solved.

So I see us touching four issues here:

1. Unable to kill server's process in 6.7.
2. Status of GAE server not showing correctly in 6.7.
3. Recognizing a project as GAE's one have troubles with my migrated from Eclipse project.
4. Migration from Eclipse started project is hard.

I can create bug/feature enhancement reports in JIRA for those if you don't mind.
 
Posted: August 14, 2009 22:27 by Wojciech Halicki-Piszko
I tried to run my app in 6.8 and at first I couldn't start it - it wasn't recognized as appengine app. I guessed you scan web/WEB-INF for appengine xml file so I created that dir and put appnegine xml file in it and it works.
 
Posted: August 17, 2009 10:56 by marigan
Thanks for summary. Please add new issues on these problem a i will try to solve that problems.
showing 1 - 6 of 6
Replies: 5 - Last Post: August 18, 2009 22:08
by: Wojciech Halicki-Piszko
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close