NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
jherilla
Joined: 22 Jun 2010 Posts: 4
|
Posted: Thu Jul 08, 2010 6:28 am Post subject: some basic questions related to configuration, and deployment |
|
|
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
|
Posted: Thu Jul 08, 2010 7:43 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|