NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

some basic questions related to configuration, and deployment

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
jherilla



Joined: 22 Jun 2010
Posts: 4

PostPosted: Thu Jul 08, 2010 6:28 am    Post subject: some basic questions related to configuration, and deployment Reply with quote

I come from a different IDE.

I have been trying to figure out the nuances of netbeans, and have a few questions.

I am demoing a Java EE application. It is not distributed yet, but I dont wish to have it just as a Web app because again, im demonstrating a distributed application.

When changing a configuration file used by a DAO Factory on startup, I need to restart the application. Should I not be able to just redeploy the -ejb project? I have tried several ways, but if I try to access the index.jsp I get a malformed URL exception unless I redploy the -war project as well. This is time costly as I have many image files.

I have tried starting over with a new project in Netbeans, but things get stored in unexpected places, so I have just started with a basic Java EE application and then pasted in my source code and configurations.

Help is appreciated, so far I do like netbeans, I just want to understand it at a deeper level.

thanks,
WG
Back to top
jherilla



Joined: 22 Jun 2010
Posts: 4

PostPosted: Thu Jul 08, 2010 7:43 am    Post subject: Reply with quote

to add to this - i would expect i can right click and deploy the main project, which has the -ejb and -war. when i try - i get this error message:

SEVERE: Exception while deploying the app
java.lang.ClassCastException: com.sun.enterprise.deployment.WebBundleDescriptor cannot be cast to com.sun.enterprise.deployment.Application
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo