[Management, JMX/JBoss] - Re: Jboss/JMX
by Vinith
"vickyk" wrote : "Vinith" wrote : Hi, Is there any possibility to create multiple Jboss-server instances through MBean??
| What are you trying to do exactly , your question does not make any sense to me ?
Hi Vicky,
Thanks for your reply.am sorry.am new to all these stuffs.I am writing a standalone Java app(Jboss-Installer) where i have to give the user provision to start jboss server,Create new server instances(for app & web),depoy,undepoly,shutdown,montior the server.Everything should be handled through Jboss-JMX(via MBeans).I came to know deploy,undeploy,shudown operations using MBean(MainDeployer) but am not able create new server instances(like default...).Is thr any possibility for tht.??
Thanks in advance.
Regards,
Vinith
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129805#4129805
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129805
18 years, 2 months
[Installation, Configuration & DEPLOYMENT] - FATAL [TransactionManagerService] Failed to start recovery m
by manibhat
Jboss-4.2.2.GA running with jdk 1.50.11 on default server. When I start the server it give me the following error. The output is a console trace. Any help would appreciated.
chd5:/appl/cpc3/jboss-4.2.2.GA/bin> ./run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /appl/cpc3/jboss-4.2.2.GA
JAVA: /opt/java1.5/bin/java
JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -
Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh -Xms256m -Xmx2944m
CLASSPATH: /appl/cpc3/jboss-4.2.2.GA/bin/run.jar:/appl/cpc3/jboss-4.2.2.GA/bin
/config:/opt/java1.5/lib/tools.jar:/appl/cpc3/jboss-4.2.2.GA/bin/config
=========================================================================
00:26:53,289 INFO [Server] Starting JBoss (MX MicroKernel)...
00:26:53,293 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=
JBoss_4_2_2_GA date=200710221139)
00:26:53,297 INFO [Server] Home Dir: /appl/cpc3/jboss-4.2.2.GA
00:26:53,297 INFO [Server] Home URL: file:/appl/cpc3/jboss-4.2.2.GA/
00:26:53,301 INFO [Server] Patch URL: null
00:26:53,302 INFO [Server] Server Name: default
00:26:53,302 INFO [Server] Server Home Dir: /appl/cpc3/jboss-4.2.2.GA/server/de
fault
00:26:53,303 INFO [Server] Server Home URL: file:/appl/cpc3/jboss-4.2.2.GA/serv
er/default/
00:26:53,303 INFO [Server] Server Log Dir: /appl/cpc3/jboss-4.2.2.GA/server/def
ault/log
00:26:53,304 INFO [Server] Server Temp Dir: /appl/cpc3/jboss-4.2.2.GA/server/de
fault/tmp
00:26:53,305 INFO [Server] Root Deployment Filename: jboss-service.xml
00:26:54,613 INFO [ServerInfo] Java version: 1.5.0.11,Hewlett-Packard Co.
00:26:54,614 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0.11 jin
teg:11.07.07-09:52 PA2.0 (aCC_AP),Hewlett-Packard Company
00:26:54,614 INFO [ServerInfo] OS-System: HP-UX B.11.11,PA_RISC2.0
00:26:56,178 INFO [Server] Core system initialized
00:27:03,216 INFO [ServiceBindingManager] Initializing store
00:27:03,217 INFO [ServiceBindingManager] Using StoreURL: file:/appl/cpc3/jboss
-4.2.2.GA/docs/examples/binding-manager/sample-bindings.xml
00:27:06,134 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8283
/
00:27:06,164 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
00:27:08,507 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
00:27:08,508 INFO [TransactionManagerService] Setting up property manager MBean
and JMX layer
00:27:09,376 INFO [TransactionManagerService] Starting recovery manager
00:27:09,622 FATAL [TransactionManagerService] Failed to start recovery manager
java.lang.NullPointerException
at com.arjuna.ats.internal.arjuna.objectstore.HashedStore.allObjUids(Has
hedStore.java:195)
at com.arjuna.ats.arjuna.objectstore.ObjectStore.allObjUids(ObjectStore.
java:226)
at com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager.upd
ateTSMI(TransactionStatusConnectionManager.java:169)
at com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager.<in
it>(TransactionStatusConnectionManager.java:69)
at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.<i
nit>(AtomicActionRecoveryModule.java:82)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:354)
at java.lang.Class.newInstance(Class.java:307)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.loadModule(P
eriodicRecovery.java:355)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.loadModules(
PeriodicRecovery.java:324)
at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.(Perio
dicRecovery.java:85)
at com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.(R
ecoveryManagerImple.java:136)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.(RecoveryManager
.java:255)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManage
r.java:121)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManage
r.java:102)
at com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService(Tr
ansactionManagerService.java:170)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
If someone is interested in the entire trace from the console or server.log I can post that too.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129804#4129804
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129804
18 years, 2 months
[Beginners Corner] - Starting Jboss from within Eclipse Europa J2EE
by kavitha_sundaram
Hi,
I pretty new to J2EE and Jboss, I am trying to get the two to work. I created a simple.jsp file within a J2EE project called simple, the file is within the Web Content folder. I start the JBOSS server from Eclipse and it deploys the project as simple.war. But when I try to hit the url, I get an error.
org.apache.jasper.JasperException: Unable to compile class for JSP
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Ok, heres the weird part, when I start the server from command line using run.bat, it works.
But really need to get it to work from eclipse. because it automatically deploys the application each time I make a code change.
I have set JAVA_HOME but have not set classpath.
Also I noticed that I don't get the following messages in the eclipse console
that I get on the command window when I start JBOSS.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\developer\jboss-4.0.1sp1\bin\\..
.
JAVA: c:\j2sdk1.4.2_10\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: c:\j2sdk1.4.2_10\lib\tools.jar;C:\developer\jboss-4.0.1sp1\bin\\run.jar
.
If anyone here has the eclipse & JBOSS working together please help.
Your time and comments are greatly appreciated.
KS
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129803#4129803
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129803
18 years, 2 months