[Installation, Configuration & Deployment] - JBoss with JDK1.5
by thanhbk99
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: D:\jboss-4.0.4.GA.patch1\bin\\..
.
JAVA: D:\Java\j2sdk1.5.0\jre\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
.
CLASSPATH: D:\Java\j2sdk1.5.0\jre\lib\tools.jar;D:\jboss-4.0.4.GA.patch1\bin\\
run.jar
.
===============================================================================
.
08:51:40,750 INFO [Server] Starting JBoss (MX MicroKernel)...
08:51:40,765 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
ss_4_0_4_GA date=200605151000)
08:51:40,765 INFO [Server] Home Dir: D:\jboss-4.0.4.GA.patch1
08:51:40,781 INFO [Server] Home URL: file:/D:/jboss-4.0.4.GA.patch1/
08:51:40,781 INFO [Server] Patch URL: null
08:51:40,781 INFO [Server] Server Name: default
08:51:40,781 INFO [Server] Server Home Dir: D:\jboss-4.0.4.GA.patch1\server\def
ault
08:51:40,781 INFO [Server] Server Home URL: file:/D:/jboss-4.0.4.GA.patch1/serv
er/default/
08:51:40,796 INFO [Server] Server Log Dir: D:\jboss-4.0.4.GA.patch1\server\defa
ult\log
08:51:40,796 INFO [Server] Server Temp Dir: D:\jboss-4.0.4.GA.patch1\server\def
ault\tmp
08:51:40,796 INFO [Server] Root Deployment Filename: jboss-service.xml
08:51:40,968 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
ion: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegat
e', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDele
gate@2a4983)]
Failed to boot JBoss:
java.lang.RuntimeException: Cannot create MBeanServer
at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:239)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServer
BuilderImpl.java:71)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory
.java:316)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact
ory.java:219)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:566)
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O
bjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MB
eanServerDelegate (javax.management.MBeanServerDelegate@2a4983)]
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
icMBeanRegistry.java:713)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
eanRegistry.java:211)
at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215)
... 8 more
Caused by: javax.management.RuntimeOperationsException: Exception occured trying
find the descriptors of the MBean
at javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptors(Mode
lMBeanInfoSupport.java:445)
at org.jboss.mx.modelmbean.ModelMBeanInvoker.initPersistence(ModelMBeanI
nvoker.java:538)
at org.jboss.mx.modelmbean.ModelMBeanInvoker.init(ModelMBeanInvoker.java
:520)
at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
nInvoker.java:486)
at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
oker.java:654)
at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
icMBeanRegistry.java:697)
... 10 more
Caused by: java.lang.IllegalArgumentException: Descriptor Type is invalid
... 16 more
Press any key to continue . . .
-----------------------------------------------------------------------
Hi everybody,
Could you tell me how I can run Jboss with JDK1.5
Thanks for advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960144#3960144
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960144
19 years, 9 months
[JBoss Messaging] - Re: Best practices question
by timfox
You should try and minimise the amount of connections you create (see JMS1.1 4.3):
"Due to the authentication and communication setup done when a Connection is
created, a Connection is a relatively heavyweight JMS object. Most clients will
do all their messaging with a single Connection. Other more advanced
applications may use several Connections. JMS does not architect a reason for
using multiple connections (other than when a client acts as a gateway
between two different providers); however, there may be operational reasons
for doing so."
However if you are using a JMS JCA resource adaptor to use JMS, then you should *not* attempt to pool connections yourself. This is because with JCA the "connections" are typically proxies around smart connection references which handle pooling transparently for you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960143#3960143
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960143
19 years, 9 months
[Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4
by PeterJ
srinivas.k, you should have started a new topic rather than posting on an existing topic. But since Anand posted the same question to multiple forums (also frowned on), and his question is being answered in another post, I will try to help.
But first, your question isn't clear and doesn't provide enough information to help you with your problem. You say you are using JBoss 3.2.x. Which version, exactly? 3.2.7?
You said you did not create a new configuration but then said "I tried creating one". Was that a typo, in other words, did you mean "I tried starting one"? If not, what did you mean by "creating one"? Your statement is especially confusing since later you say "I could not delete this currently created configuration". So, did you or did you not create a new configuration?
What do you mean by not including any source code? Are you saying that you did not deploy any of you own applications to JBoss?
How did you start the server in debug mode? Do you mean that you ran via an IDE such as Eclipse?
You said you are getting error pop ups. Once again this implies to me that you are starting the server via and IDE. What do the pop-ups say. Without the exact text it is impossible to help.
Try this. From a command prompt, go to the bin directory where JBoss is installed and run the run.bat or run.sh file. Once you see the "server started in xxx seconds" messages, you should be able to one a browser and enter the URL http://localhost:8080 and see the JBoss welcome page. If this works, then JBoss is running fine. If it doesn't, post the text that was output to the command window.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960137#3960137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960137
19 years, 9 months