For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 3 voices, and was last updated 19 years, 3 months ago by
Riyad Kalla.
-
AuthorPosts
-
tex123MemberHello.
I was following instructions to install TraderX EAR application. When I am deploying TraderX i get following message from JBoss.
13:09:37,208 INFO [EjbModule] Deploying Trader
13:09:37,239 INFO [StatelessSessionContainer] Registration is not done -> stop
13:09:37,254 WARN [ServiceController] Problem creating service jboss.j2ee:service=EjbModule,module=TraderXEJB.jar
javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=ejb/com/genuitec/trader/ejb/TraderHome,service=EJB already registered.between printouts is also following message:
13:09:37,551 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
— MBeans waiting for other MBeans —
ObjectName: jboss.j2ee:service=EjbModule,module=TraderXEJB.jar
State: FAILED
Reason: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=ejb/com/genuitec/trader/ejb/TraderHome,service=EJB already registered.— MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
ObjectName: jboss.j2ee:service=EjbModule,module=TraderXEJB.jar
State: FAILED
Reason: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=ejb/com/genuitec/trader/ejb/TraderHome,service=EJB already registered.I did following steps till now:
– I imported TraderXEJB project
– I imported TraderXWeb project
– I imported TraderX project
– I cleaned all 3 projects
– I rebuilded XDoclet for TraderXEJB project
– I deployed TraderX projectI am using:
– JBoss 4.0.3 with EJB 3.0
– myeclipse 4.1.1 GA
– eclipse 3.1.2Thanks
April 10, 2006 at 6:46 am #250140
tex123MemberI was able to deploy application normally on JBoss 3.2.8.:
13:31:20,361 INFO [Server] JBoss (MX MicroKernel) [3.2.8.SP1 (build: CVSTag=JBoss_3_2_8_SP1 date=200603031235)] Started in 22s:375ms
13:31:59,798 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/JBoss/jboss-3.2.8/server/default/deploy/TraderX.ear/
13:31:59,985 INFO [EjbModule] Deploying Trader
13:32:00,063 INFO [EJBDeployer] Deployed: file:/C:/Program Files/JBoss/jboss-3.2.8/server/default/deploy/TraderX.ear/TraderXEJB.jar/
13:32:00,110 INFO [TomcatDeployer] deploy, ctxPath=/TraderWeb, warUrl=file:/C:/Program Files/JBoss/jboss-3.2.8/server/default/deploy/TraderX.ear/TraderXWeb.war/
13:32:00,360 INFO [EARDeployer] Started J2EE application: file:/C:/Program Files/JBoss/jboss-3.2.8/server/default/deploy/TraderX.ear/I can open pages
http://localhost:8080/TraderWeb/html/welcome.html
http://localhost:8080/TraderWeb/jsp/transaction.jsp
on both application servers (JBoss 4.0.3 and JBoss 3.2.8)but when I try to invoke Sell or Buy option on JBoss 4.0.3 I get following message in browser:
TraderWeb
Errors
0: java.lang.ClassCastException: $Proxy51
TraderWebErrors
0: java.lang.NullPointerExceptionSo it seems that problem is related to JBoss 4.0.3 application server. Any suggestions or possible workaround would be appreciated.
April 10, 2006 at 12:40 pm #250172
Riyad KallaMemberYou can try throwing a break point in there and possibly seeing where the class is comming from, I’m sorry I don’t have a better suggesiton for you.
April 10, 2006 at 12:42 pm #250174
tex123MemberMy guess is that Trader object is missing, because it was not deployed. On JBoss 3.2.8 everything works fine. So problem remains deployment on JBoss 4.0.3.
April 10, 2006 at 1:02 pm #250184
Riyad KallaMemberAre you deploying your EAR to both app servers, using a packaged archive?
April 10, 2006 at 3:53 pm #250208
tex123MemberBoth exploded.
April 10, 2006 at 4:05 pm #250212
Riyad KallaMemberDid you modify the configurations in any way between the two servers or did you simply unzip both, set them up and go?
April 11, 2006 at 4:19 am #250254
tex123MemberI had both versions of JBoss installed for days. On both I had to change config in <Jboss>/server/default/conf/jboss-service.xml file so that I moved port 1098 to port 5098:
<attribute name=”RmiPort”>5098</attribute>
May 8, 2006 at 2:12 pm #251773
isidoroMemberHi…
I had the same configuration than tex123, but only JBoss 4.0.3
I did the deploy all look right, but i cant view any page like http://localhost:8080/TraderWeb/html/welcome.htmlWhat i’m doing wrong?
tks…
Sory about my bad english…May 8, 2006 at 3:14 pm #251775
Riyad KallaMembercan you access localhost:8080?
-
AuthorPosts