File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Jboss server starting problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss server starting problem" Watch "Jboss server starting problem" New topic
Author

Jboss server starting problem

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
Today when I start the server, it throwing the following exception and I couldn't find what could be the issue.

Is there any libraries that I need to be placed in the server?



Thanks,
Kumar
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10033
    
163

Which version of JBoss AS? And did you change anything in the server or is this a clean download?

[My Blog] [JavaRanch Journal]
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
hi,

JBOss 4.2 version we are using and since 8 months I'm using this. Today morning I created a mail-service .xml (save as with different name form already existed mail-service.xml), and I got the duplicate name "jboss:service=Mail", then immediately I removed the new file then onwards I struck with this exception.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Perhaps it is picking up a different JAR file for naming. Try adding "-verbose:class" to the JAVA_OPTS in the run script (run.bat for Windows, run.conf for Linux). This JVM option causes the JVM to print each class loaded and identify each JAR file. Look for JAR files not in the JBoss AS directories. Especially look for the loafing of the class org.jnp.server.NamingBeanImpl, which implements the jboss:service=NamingBeanImpl MBean.


JBoss In Action
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
My apologize for late reply.

We are not using RUN script to run the server, we are running the server from IDE tool. Then how can use that command?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10033
    
163

Try running it from the command prompt without the IDE and see if it works.

Jhakda Velu
Ranch Hand

Joined: Feb 26, 2008
Posts: 166
Even if you run the server from IDE, it will internally use run.bat(for windows).
So if you add the details to run.bat(as Peter advised), you will see it in the console of your IDE.

Jhakda


If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss server starting problem