-
1. Re: JBoss Server not starting
peterj Oct 21, 2008 4:36 PM (in response to biswarup_21)You should upgrade to a newer version of the JDK - 1.5.0_02 is very old.
If that does not fix the problem, then post the entire console log, including the command line you entered, for when you start 4.2.3. -
2. Re: JBoss Server not starting
biswarup_21 Oct 22, 2008 2:59 AM (in response to biswarup_21)
Thanks. Actually JBoss was running with this JDK earlier. Actually when I start it throws "No Class Loader found......" exception.
If you can give your mail id i can send the server logs.
Thanks. -
3. Re: JBoss Server not starting
erasmomarciano Oct 22, 2008 8:47 AM (in response to biswarup_21)Did you set the JAVA_HOME
Are you sure that you have installed the JDK and not the JRE?
How do you start JBOSS? -
4. Re: JBoss Server not starting
jaikiran Oct 22, 2008 8:54 AM (in response to biswarup_21)And please post the entire exception stacktrace and the console logs.
While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted -
5. Re: JBoss Server not starting
biswarup_21 Oct 22, 2008 9:14 AM (in response to biswarup_21)"erasmomarciano" wrote:
Did you set the JAVA_HOME
Are you sure that you have installed the JDK and not the JRE?
How do you start JBOSS?
Now what I ve done is I ve removed some of the war files from deploy folder.Now I am able to open the JBoss console page.but it doesn't detect my deployed appplication. The exception is still there. -
6. Re: JBoss Server not starting
peterj Oct 22, 2008 11:45 AM (in response to biswarup_21)OK, now I am lost. What WAR files did you remove? What is the URL for the "JBoss console page"? (I think I know what you mean, but I am not sure.) You wrote "it doesn't detect my deployed appplication" - what is 'it'? In other words, are you looking somewhere expecting to see something based on the app being deployed? Can I make the assumption that "some of the war files" your removed does not include the WAR file for your application? And finally what is the exception?
To save our sanity, try this:
1) Start with a clean JBossAS installation without any changes. Then start up the app server. It should start up without any errors. Wait for the "Stared in xxx seconds" lof entry to show up.
2) Then deploy your application. If at this point errors appear on the console, post the contents of the console starting from the "Started in xxx seconds" line.
Finally, I hope you are not running on Vista because you will run into problems with the JDK you have. -
7. Re: JBoss Server not starting
biswarup_21 Oct 22, 2008 12:45 PM (in response to biswarup_21)I removed theses war files--jmx-console.war and jms.After that I am able to access the url "http://localhost". I have deployed a sample application "sample".But it is unable to locate anything "http://localhost/sample/". The exceptions are still there.
Exception:
22:04:43,363 INFO [Server] Library URL: file:/D:/jboss-4.0.0/lib/
22:04:43,363 INFO [Server] Patch URL: null
22:04:43,363 INFO [Server] Server Name: default
22:04:43,363 INFO [Server] Server Home Dir: D:\jboss-4.0.0\server\default
22:04:43,373 INFO [Server] Server Home URL: file:/D:/jboss-4.0.0/server/default/
22:04:43,373 INFO [Server] Server Data Dir: D:\jboss-4.0.0\server\default\data
22:04:43,373 INFO [Server] Server Temp Dir: D:\jboss-4.0.0\server\default\tmp
22:04:43,403 INFO [Server] Server Config URL: file:/D:/jboss-4.0.0/server/default/conf/
22:04:43,403 INFO [Server] Server Library URL: file:/D:/jboss-4.0.0/server/default/lib/
22:04:43,403 INFO [Server] Root Deployment Filename: jboss-service.xml
22:04:43,413 INFO [Server] Starting General Purpose Architecture (GPA)...
22:04:44,665 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc.
22:07:54,718 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_02-b09,Sun Microsystems Inc.
22:07:54,718 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
22:07:56,090 INFO [Server] Core system initialized
22:08:04,082 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
22:08:13,846 INFO [WebService] Using RMI server codebase: http://winxp:8083/
22:08:15,028 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFac
3076
22:08:20,766 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-4.0.0/server/default/deploy/snmp-adaptor.sa
org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.jmx.adaptor.snmp.trapd.TrapdService; - nes
g.jboss.jmx.adaptor.snmp.trapd.TrapdService)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
at org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source) -
8. Re: JBoss Server not starting
peterj Oct 22, 2008 1:09 PM (in response to biswarup_21)I hope your application is called "sample.war", and not simply "sample". You need to supply the .war extension so that the app server knows what type of application it is.
Regarding the error message on the missing class, org.jboss.jmx.adaptor.snmp.trapd.TrapdService. I looked it up - that class is present only in the 'all' configuration but you are running the 'default' configuration. Therefore I suspect that you have somehow modified the configurations. Which makes it even more important that you read my previous post and follow the directions exactly as I gave them. -
9. Re: JBoss Server not starting
biswarup_21 Oct 22, 2008 2:34 PM (in response to biswarup_21)Thanks a lot.I installed JBoss4.0.0 again and now I am able to access my application.But still I am getting the exceptions.Also it is not running in 8080 port..so I'm running in 80.
2008-10-22 22:08:20,746 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/D:/jboss-4.0.0/server/default/deploy/snmp-adaptor.sar/ org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.jmx.adaptor.snmp.trapd.TrapdService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jmx.adaptor.snmp.trapd.TrapdService)
-22 22:08:21,687 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.jmx:type=adaptor,name=Invoker 2008-10-22 22:08:21,687 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.jmx:type=adaptor,name=Invoker org.jboss.deployment.DeploymentException: No Attribute found with name: ExportedInterface
ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss-4.0.0/server/default/deploy/jbossweb-tomcat41.sar/ org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.web:service=WebServer
Once again thanx. -
10. Re: JBoss Server not starting
jaikiran Oct 23, 2008 6:46 AM (in response to biswarup_21)"biswarup_21" wrote:
Thanks a lot.I installed JBoss4.0.0 again and now I am able to access my application.But still I am getting the exceptions.
Can you please list down the changes that you did to the JBoss that you downloaded? I don't expect a clean JBoss installation to have this error. -
11. Re: JBoss Server not starting
biswarup_21 Oct 23, 2008 8:57 AM (in response to biswarup_21)I have downloaded Jboss4.2.3 and I have not changed anything but still it gives the same exceptions. So I made changes in my already existing JBoss4.0.0. Changed the port number from 8080 to 80.After that I am able to access my deloyed application but with the exceptions.I feel if some other running softwares in my PC causing it.
-
12. Re: JBoss Server not starting
peterj Oct 23, 2008 11:28 AM (in response to biswarup_21)It is extremely difficult to help you when you do perform the tasks that we ask you to perform and do not provide the information we ask for. We are not asking you to do anything that we would not do if we came to you and sat down at your computer. But since we cannot do that, we are asking you to be out hands and eyes. Deviating from our instructions, by doing things such as removing apps from the deploy directory or changing port 8080 to 80, do not help.
Now, previously I gave you these steps:To save our sanity, try this: 1) Start with a clean JBossAS installation without any changes. Then start up the app server. It should start up without any errors. Wait for the "Stared in xxx seconds" log entry to show up. 2) Then deploy your application. If at this point errors appear on the console, post the contents of the console starting from the "Started in xxx seconds" line.
Until you do this, we cannot help you. -
13. Re: JBoss Server not starting
biswarup_21 Oct 23, 2008 11:34 AM (in response to biswarup_21)I have tried with a clean JBoss installation.But same exception.
-
14. Re: JBoss Server not starting
peterj Oct 23, 2008 12:33 PM (in response to biswarup_21)I repeat: if you refuse to follow instructions, I cannot help you.