[Installation, Configuration & DEPLOYMENT] - Problem when starting jboss
by llper
When starting jboss 5.0.1.GA with my config I get:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: c:/jboss/jboss-5.0.1.GA
JAVA: C:\Program Files\Java\jdk1.6.0_04\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rm
i.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: c:/jboss/jboss-5.0.1.GA\bin\run.jar
===============================================================================
12:04:08,854 INFO [ServerImpl] Starting JBoss (Microcontainer)...
12:04:08,854 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)
12:04:08,854 INFO [ServerImpl] Bootstrap URL: null
12:04:08,854 INFO [ServerImpl] Home Dir: C:\jboss\jboss-5.0.1.GA
12:04:08,854 INFO [ServerImpl] Home URL: file:/C:/jboss/jboss-5.0.1.GA/
12:04:08,854 INFO [ServerImpl] Library URL: file:/C:/jboss/jboss-5.0.1.GA/lib/
12:04:08,854 INFO [ServerImpl] Patch URL: null
12:04:08,854 INFO [ServerImpl] Common Base URL: file:/C:/jboss/jboss-5.0.1.GA/common/
12:04:08,854 INFO [ServerImpl] Common Library URL: file:/C:/jboss/jboss-5.0.1.GA/common/lib/
12:04:08,854 INFO [ServerImpl] Server Name: inquis
12:04:08,854 INFO [ServerImpl] Server Base Dir: C:\jboss\jboss-5.0.1.GA\server
12:04:08,854 INFO [ServerImpl] Server Base URL: file:/C:/jboss/jboss-5.0.1.GA/server/
12:04:08,854 INFO [ServerImpl] Server Config URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/conf/
12:04:08,854 INFO [ServerImpl] Server Home Dir: C:\jboss\jboss-5.0.1.GA\server\inquis
12:04:08,854 INFO [ServerImpl] Server Home URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/
12:04:08,854 INFO [ServerImpl] Server Data Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\data
12:04:08,854 INFO [ServerImpl] Server Library URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/lib/
12:04:08,854 INFO [ServerImpl] Server Log Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\log
12:04:08,854 INFO [ServerImpl] Server Native Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp\native
12:04:08,854 INFO [ServerImpl] Server Temp Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp
12:04:08,854 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp\deploy
12:04:09,198 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/jboss-5.0.1.GA/server/inquis/conf/bootst
rap.xml
12:04:09,526 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
12:04:09,526 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
12:04:09,698 INFO [CopyMechanism] VFS temp dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp
12:04:09,698 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:04:10,370 INFO [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
12:04:10,370 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
12:04:10,370 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b19,Sun Microsystems Inc.
12:04:10,370 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:04:10,401 INFO [JMXKernel] Legacy JMX core initialized
12:04:11,963 INFO [ProfileServiceImpl] Loading profile: inquis from: org.jboss.system.server.profileservice.repository.Seria
lizableDeploymentRepository@198a35d(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@7197c175
[domain=default,server=default,name=inquis])
12:04:11,963 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRep
ository@198a35d(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@7197c175[domain=default,serv
er=default,name=inquis])
12:04:11,963 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@b280b1{key=org.jboss.profileservice.spi.ProfileKey(a)7197c1
75[domain=default,server=default,name=inquis]}
12:04:12,979 INFO [WebService] Using RMI server codebase: http://PTMNG-DAVIDEM:8083/
12:04:16,432 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
12:04:16,432 INFO [NativeServerConfig] 3.0.5.GA
12:04:22,010 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://PTMNG-DAVIDEM/jndi/rmi://PTMNG-DAVIDEM
:1090/jmxconnector
12:04:22,104 INFO [MailService] Mail Service bound to java:/Mail
12:04:23,260 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSuck
er component which sucks messages from one node to another has not had its password changed from the installation default. Pl
ease see the JBoss Messaging user guide for instructions on how to do this.
12:04:23,276 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementCompon
ent
12:04:23,385 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
12:04:23,385 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
12:04:23,542 INFO [TransactionManagerService] Initializing recovery manager
12:04:23,635 INFO [TransactionManagerService] Recovery manager configured
12:04:23,651 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
12:04:23,667 INFO [TransactionManagerService] Starting transaction recovery manager
12:04:24,026 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8012
12:04:24,245 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8446
12:04:24,245 INFO [StandardService] Starting service jboss.web
12:04:24,245 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
12:04:24,292 INFO [Catalina] Server startup in 307 ms
12:04:24,307 INFO [TomcatDeployment] deploy, ctxPath=/invoker
12:04:24,729 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
12:04:24,761 INFO [TomcatDeployment] deploy, ctxPath=/web-console
12:04:24,948 ERROR [AbstractKernelController] Error installing to Instantiated: name=DefaultUserTransactionprovider state=Des
cribed
java.lang.NoSuchMethodError: org.jboss.tm.TransactionManagerLocator.locateTransactionManager(Z)Ljavax/transaction/Transaction
Manager;
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.(ServerVMClientUserTransaction.java:93)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.(ServerVMClientUserTransaction.java:60)
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:597)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControlle
rContextAction.java:241)
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContext
Action.java:109)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.
java:70)
at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextActio
n.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java
:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:619)
12:04:25,011 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/jb
oss-local-jdbc.rar/META-INF/ra.xml
12:04:25,026 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/jb
oss-xa-jdbc.rar/META-INF/ra.xml
12:04:25,057 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/jm
s-ra.rar/META-INF/ra.xml
12:04:25,089 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/ma
il-ra.rar/META-INF/ra.xml
12:04:25,104 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/qu
artz-ra.rar/META-INF/ra.xml
12:04:25,182 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
12:04:25,214 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
12:04:25,214 INFO [RAMJobStore] RAMJobStore initialized.
12:04:25,214 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in
Quartz package: 'quartz.properties'
12:04:25,214 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
12:04:25,214 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
12:04:25,386 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defaul
tDS' to JNDI name 'java:DefaultDS'
12:04:27,167 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
12:04:27,182 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name
=JmsXA' to JNDI name 'java:JmsXA'
12:04:27,229 INFO [TomcatDeployment] deploy, ctxPath=/
12:04:27,261 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
12:04:27,307 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS F
OR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" is missing the following dependencies:
Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is missing the following dependencies:
Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is missing the following dependencies:
Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the following dependencies:
Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is missing the following dependencies:
Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
Deployment "jboss.messaging:service=PostOffice" is missing the following dependencies:
Dependency "jboss.jgroups:service=ChannelFactory" (should be in state "Create", but is actually in state "** NOT FOUND De
pends on 'jboss.jgroups:service=ChannelFactory' **")
DEPLOYMENTS IN ERROR:
Deployment "DefaultUserTransactionprovider" is in error due to the following reason(s): java.lang.NoSuchMethodError: org.jb
oss.tm.TransactionManagerLocator.locateTransactionManager(Z)Ljavax/transaction/TransactionManager;
Deployment "jboss.jgroups:service=ChannelFactory" is in error due to the following reason(s): ** NOT FOUND Depends on 'jbos
s.jgroups:service=ChannelFactory' **
12:04:27,323 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8012
12:04:27,339 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8446
12:04:27,432 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in
18s:578ms
I do not see how to solve the above error(s). Could someone give me a hint?
Regards,
llper
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227748#4227748
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227748
16 years, 11 months
[Installation, Configuration & DEPLOYMENT] - dependencies between ear at cold start
by je.a.le
hi,
I'm facing dependencies issues between several ear. When I deploy the ear in a proper order, everything fine, not when jboss starts ; It sends some class loading issues,of course, it wasn't suppose to load this application before some others :-). jboss keeps ignoring my @depend annotation and still deploy in alphabetical order.
| [EARDeployer] Init J2EE application: file:/opt/jboss-4.2.1.GA/server/all/deploy/JackArticle.ear
| 10:44:58,794 WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB3,module=JackArticle-ejb.jar
| java.lang.NoClassDefFoundError: org/portal/media/ejb/JackMediaSessionRemote
|
(linux x64, jdk 1.5.0_17, jboss 4.2.1.ga, netbeans 6.5)
I split my project in several ear ; each has the same structure : an ejb module, with some ejb3 beans, a jmx responsible of initialization (a private jackrabbit repo), a war module with all portlets. There NO cross dependencies :-). (an ejb from article.ear will call an ejb from media.ear, through remote interface. At compilation time, I link article.ear against classes in the media application BUT NOT including media-ejb.jar into it)
i'm using @depends injection like this one on all ejb and jmx :
| @Stateful
| @Depends({
| "jboss.j2ee:jar=JackLogger-ejb.jar,name=JackLoggerJMX,service=EJB3",
| "jboss.j2ee:ear=JackRss.ear,jar=JackRss-ejb.jar,name=JackRssSessionBean,service=EJB3",
| "jboss.j2ee:ear=JackMedia.ear,jar=JackMedia-ejb.jar,name=JackMediaSessionBean,service=EJB3",
| "jboss.j2ee:ear=JBPAuthentificationServer.ear,jar=JBPAuthentificationServer-ejb.jar,name=JBPAuthentificationListener,service=EJB3"})
| public class JackArticleSessionBean implements JackArticleSessionRemote, JackArticleSessionLocal {
| ........
| }
|
tried with service=EARDeployment,url='JackMedia.ear' or module=JackMedia-ejb.jar,service=EJB3 instead ; same.
Isn't a mechanism to set deployment order - beside renaming all ear to fit the 'right' order :-) - ??
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227741#4227741
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227741
16 years, 11 months
[JBoss Messaging] - Re: Porting WLS8.1 to JBoss5 - JNDI lookup for XA factory re
by lwalter
Thanks for the quick response. I was under the impression I needed JCA for transactional JMS. I've removed the tx-connection-factory and now the code snippet I posted works.
However.. I now get an error like this:
| 2009-04-30 19:15:11,619 ERROR [org.jboss.messaging.util.ExceptionUtil] ConnectionEndpoint[h3-67tn85uf-1-hjjm85uf-wxb1yo-f1rp1a] sendTransaction [w7-rezp85uf-1-hjjm85uf-wxb1yo-f1rp1a]
| javax.jms.IllegalStateException: Cannot find session with id r7-lczp85uf-1-hjjm85uf-wxb1yo-f1rp1a
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:835)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:497)
|
| ..stacktrace snipped...
| 2009-04-30 19:15:11,619 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed with exception XAException.XA_RETRY
| 2009-04-30 19:15:11,619 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_50] - Prepare phase of action a3d1b33:c3e:49f96bb1:6f received heuristic decision: TwoPhaseOutcome.HEURISTIC_HAZARD
| 2009-04-30 19:15:11,619 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id a3d1b33:c3e:49f96bb1:6f failed.
| 2009-04-30 19:15:11,619 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_37] - Received heuristic: TwoPhaseOutcome.HEURISTIC_HAZARD .
|
Is this still a JMS problem or should I be asking in the JTA forum?
Thanks heaps,
Len
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227737#4227737
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227737
16 years, 11 months