This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250773 - ClassCastException: org.netbeans.modules.j2ee.jboss4.JBTargetModuleID cannot be cast to org.jboss.as.ee.deployment.spi.TargetModuleIDImpl
Summary: ClassCastException: org.netbeans.modules.j2ee.jboss4.JBTargetModuleID cannot ...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 2 votes (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 16:28 UTC by afibarra
Modified: 2016-06-14 23:02 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212475


Attachments
stacktrace (333 bytes, text/plain)
2015-02-27 16:28 UTC, afibarra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description afibarra 2015-02-27 16:28:15 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: at org.jboss.as.ee.deployment.spi.DeploymentManagerTarget.start(DeploymentManagerTarget.java:106) [catch] at org.jboss.as.ee.deployment.spi.DeploymentWorker.run(DeploymentWorker.java:67

GUEST: deploy application

GUEST: Deploy an application to JBoss (EAP 6.2 is the version I am using.)

GUEST: deploy app do JBoss ESP 6.3

GUEST: run on JBoss server Java Web application

maskimko: Just started a Netbeans

GUEST: Staarting and stopping jboss as.

GUEST: 234234

GUEST: <Please provide a description of the problem or the steps to reproduce>
Had multiple Projects - doing npm install and bower install on one
while trying to run the new maven jsf project.

GUEST: \

afibarra: Problem arose when trying to start JBoss EAP 6.3

GUEST: clicked run on web maven application

GUEST: While trying to deploy my Java web app to local JBoss server, this exception occurs. It seems that netbeans does not recognize if Jboss 7AS is running. If I try to redeploy the app, netbeans errors out complaining about port 8080 already running (Which it is used by the same Jboss server that was started from netbeans).




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.j2ee.jboss4.JBTargetModuleID cannot be cast to org.jboss.as.ee.deployment.spi.TargetModuleIDImpl
   at org.jboss.as.ee.deployment.spi.DeploymentManagerTarget.start(DeploymentManagerTarget.java:106)
   at org.jboss.as.ee.deployment.spi.DeploymentWorker.run(DeploymentWorker.java:67)
Comment 1 afibarra 2015-02-27 16:28:17 UTC
Created attachment 152286 [details]
stacktrace