[JNDI and Naming] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?
by amira88
"jaikiran" wrote : Yes an exploded jar file should be fine. I don't see a reason why the metadata is not created for this jar. Please create a JIRA in EJBTHREE project here https://jira.jboss.org/jira/browse/EJBTHREE and assign it to me. Also, if possible please attach the small application which reproduces this.
|
Hi Mr Jaikiran,
I'm deploying an ejb3 application ,So when i run the client I get this errors :
| 05:49:24,140 DEBUG TimedSocketFactory:87 - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
| javax.naming.NameNotFoundException: BookTestBean not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
| at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at test.de.laliluna.library.FirstEJB3TutorialClient.main(FirstEJB3TutorialClient.java:34)
| Exception in thread "main" java.lang.RuntimeException: javax.naming.NameNotFoundException: BookTestBean not bound
| at test.de.laliluna.library.FirstEJB3TutorialClient.main(FirstEJB3TutorialClient.java:43)
| Caused by: javax.naming.NameNotFoundException: BookTestBean not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
| at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at test.de.laliluna.library.FirstEJB3TutorialClient.main(FirstEJB3TutorialClient.java:34)
|
|
|
and I'm starting the server i'm getteing this:
| 05:25:07,550 INFO [ServerImpl] Starting JBoss (Microcontainer)...
| 05:25:07,552 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)
| 05:25:07,552 INFO [ServerImpl] Bootstrap URL: null
| 05:25:07,552 INFO [ServerImpl] Home Dir: C:\jboss-5.0.1.GA
| 05:25:07,553 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.1.GA/
| 05:25:07,553 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.1.GA/lib/
| 05:25:07,554 INFO [ServerImpl] Patch URL: null
| 05:25:07,554 INFO [ServerImpl] Common Base URL: file:/C:/jboss-5.0.1.GA/common/
| 05:25:07,554 INFO [ServerImpl] Common Library URL: file:/C:/jboss-5.0.1.GA/common/lib/
| 05:25:07,559 INFO [ServerImpl] Server Name: default
| 05:25:07,560 INFO [ServerImpl] Server Base Dir: C:\jboss-5.0.1.GA\server
| 05:25:07,560 INFO [ServerImpl] Server Base URL: file:/C:/jboss-5.0.1.GA/server/
| 05:25:07,560 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.1.GA/server/default/conf/
| 05:25:07,560 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.1.GA\server\default
| 05:25:07,561 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.1.GA/server/default/
| 05:25:07,561 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.1.GA\server\default\data
| 05:25:07,561 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.1.GA/server/default/lib/
| 05:25:07,561 INFO [ServerImpl] Server Log Dir: C:\jboss-5.0.1.GA\server\default\log
| 05:25:07,562 INFO [ServerImpl] Server Native Dir: C:\jboss-5.0.1.GA\server\default\tmp\native
| 05:25:07,562 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.1.GA\server\default\tmp
| 05:25:07,562 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.0.1.GA\server\default\tmp\deploy
| 05:25:08,328 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
| 05:25:09,052 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
| 05:25:09,055 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
| 05:25:09,379 INFO [CopyMechanism] VFS temp dir: C:\jboss-5.0.1.GA\server\default\tmp
| 05:25:09,380 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
| 05:25:10,436 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
| 05:25:10,436 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
| 05:25:10,436 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun Microsystems Inc.
| 05:25:10,436 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
| 05:25:10,483 INFO [JMXKernel] Legacy JMX core initialized
| 05:25:12,234 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1f87baf(root=C:\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
| 05:25:12,236 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1f87baf(root=C:\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
| 05:25:12,237 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@176484e{key=org.jboss.profileservice.spi.ProfileKey(a)143b82c3[domain=default,server=default,name=default]}
| 05:25:17,555 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 05:25:25,393 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
| 05:25:25,394 INFO [NativeServerConfig] 3.0.5.GA
| 05:25:34,749 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14698881{vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/FirstOneLalliluna.jar/}
| 05:25:34,750 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14698881{vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/FirstOneLalliluna.jar/}
| 05:25:34,750 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@14698881{vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/FirstOneLalliluna.jar/}
| 05:25:38,782 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
| 05:25:39,059 INFO [MailService] Mail Service bound to java:/Mail
| 05:25:41,789 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
| 05:25:41,825 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
| 05:25:42,140 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
| 05:25:42,141 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
| 05:25:42,847 INFO [TransactionManagerService] Initializing recovery manager
| 05:25:43,330 INFO [TransactionManagerService] Recovery manager configured
| 05:25:43,330 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
| 05:25:43,406 INFO [TransactionManagerService] Starting transaction recovery manager
| 05:25:44,794 INFO [Http11Protocol] Initialisation de Coyote HTTP/1.1 sur http-127.0.0.1-8080
| 05:25:44,795 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 05:25:44,796 INFO [StandardService] D�marrage du service jboss.web
| 05:25:44,800 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
| 05:25:44,891 INFO [Catalina] Server startup in 174 ms
| 05:25:44,926 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
| 05:25:45,911 INFO [TomcatDeployment] deploy, ctxPath=/invoker
| 05:25:46,068 INFO [TomcatDeployment] deploy, ctxPath=/web-console
| 05:25:46,884 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
| 05:25:46,925 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
| 05:25:46,956 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
| 05:25:46,992 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
| 05:25:47,035 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
| 05:25:47,314 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
| 05:25:47,390 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 05:25:47,397 INFO [RAMJobStore] RAMJobStore initialized.
| 05:25:47,397 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
| 05:25:47,397 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 05:25:47,398 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
| 05:25:49,151 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 05:25:50,239 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
| 05:25:50,634 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
| 05:25:50,635 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1e9b7b2 started
| 05:25:50,636 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
| 05:25:50,636 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@761e4d started
| 05:25:50,637 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
| 05:25:50,638 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
| 05:25:50,642 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
| 05:25:50,642 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1a5ad04 started
| 05:25:50,692 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
| 05:25:50,702 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
| 05:25:50,917 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 05:25:50,947 INFO [TomcatDeployment] deploy, ctxPath=/
| 05:25:51,026 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
| 05:25:51,158 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean BookTestBean, will create some
| 05:25:52,443 INFO [JBossASKernel] Created KernelDeployment for: FirstOneLalliluna.jar
| 05:25:52,454 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=FirstOneLalliluna.jar,name=BookTestBean,service=EJB3
| 05:25:52,454 INFO [JBossASKernel] with dependencies:
| 05:25:52,454 INFO [JBossASKernel] and demands:
| 05:25:52,454 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 05:25:52,454 INFO [JBossASKernel] persistence.unit:unitName=#FirstOneLalliluna
| 05:25:52,454 INFO [JBossASKernel] and supplies:
| 05:25:52,454 INFO [JBossASKernel] Class:de.laliluna.library.BookTestBeanLocal
| 05:25:52,454 INFO [JBossASKernel] Class:de.laliluna.library.BookTestBeanRemote
| 05:25:52,455 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=FirstOneLalliluna.jar,name=BookTestBean,service=EJB3) to KernelDeployment of: FirstOneLalliluna.jar
| 05:25:52,587 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#FirstOneLalliluna
| 05:25:52,813 INFO [Version] Hibernate Annotations 3.4.0.GA
| 05:25:52,881 INFO [Environment] Hibernate 3.3.1.GA
| 05:25:52,902 INFO [Environment] hibernate.properties not found
| 05:25:52,913 INFO [Environment] Bytecode provider name : javassist
| 05:25:52,939 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 05:25:54,008 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
| 05:25:54,028 INFO [Version] Hibernate EntityManager 3.4.0.GA
| 05:25:54,282 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 05:25:54,651 INFO [AnnotationBinder] Binding entity from annotated class: de.laliluna.library.Book
| 05:25:54,910 INFO [EntityBinder] Bind entity de.laliluna.library.Book on table book
| 05:25:55,285 INFO [Version] Hibernate Validator 3.1.0.GA
| 05:25:55,485 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
| 05:25:55,824 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 05:25:55,851 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 05:25:55,859 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
| 05:25:55,859 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
| 05:25:55,968 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
| 05:25:56,000 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 05:25:56,015 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 05:25:56,027 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 05:25:56,028 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 05:25:56,028 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 05:25:56,028 INFO [SettingsFactory] JDBC batch size: 15
| 05:25:56,028 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 05:25:56,033 INFO [SettingsFactory] Scrollable result sets: enabled
| 05:25:56,033 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 05:25:56,033 INFO [SettingsFactory] Connection release mode: auto
| 05:25:56,038 INFO [SettingsFactory] Default batch fetch size: 1
| 05:25:56,038 INFO [SettingsFactory] Generate SQL with comments: disabled
| 05:25:56,038 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 05:25:56,038 INFO [SettingsFactory] Order SQL inserts for batching: disabled
| 05:25:56,038 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 05:25:56,054 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 05:25:56,055 INFO [SettingsFactory] Query language substitutions: {}
| 05:25:56,055 INFO [SettingsFactory] JPA-QL strict compliance: enabled
| 05:25:56,055 INFO [SettingsFactory] Second-level cache: enabled
| 05:25:56,055 INFO [SettingsFactory] Query cache: disabled
| 05:25:56,103 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
| 05:25:56,104 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 05:25:56,113 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 05:25:56,113 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#FirstOneLalliluna
| 05:25:56,113 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 05:25:56,174 INFO [SettingsFactory] Statistics: disabled
| 05:25:56,174 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 05:25:56,180 INFO [SettingsFactory] Default entity-mode: pojo
| 05:25:56,180 INFO [SettingsFactory] Named query checking : enabled
| 05:25:56,388 INFO [SessionFactoryImpl] building session factory
| 05:25:57,203 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#FirstOneLalliluna
| 05:25:57,209 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 05:25:57,228 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#FirstOneLalliluna
| 05:25:57,228 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
| 05:25:57,270 INFO [SchemaExport] Running hbm2ddl schema export
| 05:25:57,275 INFO [SchemaExport] exporting generated schema to database
| 05:25:57,277 INFO [SchemaExport] schema export complete
| 05:25:57,286 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 05:25:57,385 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=FirstOneLalliluna.jar,name=BookTestBean,service=EJB3
| 05:25:57,441 INFO [EJBContainer] STARTED EJB: de.laliluna.library.BookTestBean ejbName: BookTestBean
| 05:25:57,452 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
|
|
| 05:25:57,561 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@2ee02d8b{BookTestBean}
| 05:25:57,621 INFO [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur http-127.0.0.1-8080
| 05:25:57,690 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 05:25:57,699 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 50s:134ms
|
|
S What I have to do ,It's very urgent please HELP ME!!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269161#4269161
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269161
16 years, 4 months
[JBoss Tools Users] - seam project taking too long to show up
by surajmundada@yahoo.com
Hi,
I installed JBoss AS 5.1.0.GA + Eclipse Galilio + Seam Tools 3.1.0.v200910281724M-H247-M4 (Milestone release)
I created a Seam Web project "Test" for a simple check and ran it on AS.
"Test" ear took atleast 3 mins to get deployed.
| 15:15:32,671 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 2m:39s:62ms
| 15:17:29,609 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8629962{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/Test-ejb.jar/}
| 15:17:29,609 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8629962{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/Test-ejb.jar/}
| 15:17:29,609 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@8629962{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/Test-ejb.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@21525226{vfszip:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/jboss-seam.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@21525226{vfszip:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/jboss-seam.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@9076952{vfszip:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/registration-ear.ear/jboss-seam.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@9076952{vfszip:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/registration-ear.ear/jboss-seam.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17886038{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/registration-ear.ear/registration-ejb.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17886038{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/registration-ear.ear/registration-ejb.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17886038{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/registration-ear.ear/registration-ejb.jar/}
| 15:17:29,640 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@17886038{vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/registration-ear.ear/registration-ejb.jar/}
| 15:17:30,234 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=TestDatasource' to JNDI name 'java:TestDatasource'
| 15:17:30,375 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=registrationDatasource' to JNDI name 'java:registrationDatasource'
| 15:17:32,687 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean TimerServiceDispatcher, will create some
| 15:17:32,765 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@16682fe
| 15:17:32,968 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@16682fe
| 15:17:33,000 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@16682fe
| 15:17:33,000 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@16682fe
| 15:17:33,296 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean EjbSynchronizations, will create some
| 15:17:33,671 INFO [JBossASKernel] Created KernelDeployment for: Test-ejb.jar
| 15:17:33,671 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=TimerServiceDispatcher,service=EJB3
| 15:17:33,671 INFO [JBossASKernel] with dependencies:
| 15:17:33,671 INFO [JBossASKernel] and demands:
| 15:17:33,671 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 15:17:33,671 INFO [JBossASKernel] and supplies:
| 15:17:33,671 INFO [JBossASKernel] Class:org.jboss.seam.async.LocalTimerServiceDispatcher
| 15:17:33,671 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: Test-ejb.jar
| 15:17:33,687 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=EjbSynchronizations,service=EJB3
| 15:17:33,687 INFO [JBossASKernel] with dependencies:
| 15:17:33,687 INFO [JBossASKernel] and demands:
| 15:17:33,687 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 15:17:33,687 INFO [JBossASKernel] and supplies:
| 15:17:33,687 INFO [JBossASKernel] Class:org.jboss.seam.transaction.LocalEjbSynchronizations
| 15:17:33,687 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: Test-ejb.jar
| 15:17:33,812 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@b9206f
| 15:17:33,812 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@b9206f
| 15:17:33,828 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@b9206f
| 15:17:33,828 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@b9206f
| 15:17:34,265 INFO [JBossASKernel] Created KernelDeployment for: jboss-seam.jar
| 15:17:34,265 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
| 15:17:34,265 INFO [JBossASKernel] with dependencies:
| 15:17:34,281 INFO [JBossASKernel] and demands:
| 15:17:34,281 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 15:17:34,281 INFO [JBossASKernel] and supplies:
| 15:17:34,281 INFO [JBossASKernel] jndi:Test-ear/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher
| 15:17:34,281 INFO [JBossASKernel] Class:org.jboss.seam.async.LocalTimerServiceDispatcher
| 15:17:34,281 INFO [JBossASKernel] jndi:Test-ear/TimerServiceDispatcher/remote
| 15:17:34,281 INFO [JBossASKernel] jndi:Test-ear/TimerServiceDispatcher/local
| 15:17:34,281 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: jboss-seam.jar
| 15:17:34,281 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
| 15:17:34,281 INFO [JBossASKernel] with dependencies:
| 15:17:34,281 INFO [JBossASKernel] and demands:
| 15:17:34,281 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 15:17:34,281 INFO [JBossASKernel] and supplies:
| 15:17:34,281 INFO [JBossASKernel] jndi:Test-ear/EjbSynchronizations/local
| 15:17:34,281 INFO [JBossASKernel] jndi:Test-ear/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations
| 15:17:34,281 INFO [JBossASKernel] jndi:Test-ear/EjbSynchronizations/remote
| 15:17:34,281 INFO [JBossASKernel] Class:org.jboss.seam.transaction.LocalEjbSynchronizations
| 15:17:34,281 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: jboss-seam.jar
| 15:17:34,281 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@82931b{name=jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=EjbSynchronizations,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
| 15:17:34,281 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@184738d{name=jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=TimerServiceDispatcher,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
| 15:17:34,281 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@ac12e6{name=jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
| 15:17:34,281 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@10ba65a{name=jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
| 15:17:34,718 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=TimerServiceDispatcher,service=EJB3
| 15:17:34,718 INFO [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
| 15:17:34,718 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
|
|
| 15:17:34,953 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=Test-ear.ear,jar=Test-ejb.jar,name=EjbSynchronizations,service=EJB3
| 15:17:34,953 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
| 15:17:34,953 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
|
|
| 15:17:35,078 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=Test-ear.ear/Test-ejb.jar#Test
| 15:17:37,515 INFO [Version] Hibernate Annotations 3.4.0.GA
| 15:17:37,593 INFO [Environment] Hibernate 3.3.1.GA
| 15:17:37,781 INFO [Environment] hibernate.properties not found
| 15:17:37,796 INFO [Environment] Bytecode provider name : javassist
| 15:17:37,812 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 15:17:38,093 INFO [Version] Hibernate Commons Annotations 3.1.0.GA
| 15:17:38,093 INFO [Version] Hibernate EntityManager 3.4.0.GA
| 15:17:38,250 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
| name: Test
| ...]
| 15:17:38,390 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 15:17:38,890 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
| 15:17:38,921 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 15:17:38,921 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 15:17:39,750 INFO [SettingsFactory] RDBMS: MySQL, version: 5.1.40-community-log
| 15:17:39,750 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.1-alpha ( $Date: 2007-06-15 03:24:27 +0200 (Fri, 15 Jun 2007) $, $Revision: 6451 $ )
| 15:17:39,906 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
| 15:17:40,156 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 15:17:40,171 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 15:17:40,187 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 15:17:40,187 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 15:17:40,187 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 15:17:40,187 INFO [SettingsFactory] JDBC batch size: 15
| 15:17:40,187 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 15:17:40,187 INFO [SettingsFactory] Scrollable result sets: enabled
| 15:17:40,187 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
| 15:17:40,187 INFO [SettingsFactory] Connection release mode: auto
| 15:17:40,187 INFO [SettingsFactory] Default schema: test
| 15:17:40,187 INFO [SettingsFactory] Maximum outer join fetch depth: 2
| 15:17:40,187 INFO [SettingsFactory] Default batch fetch size: 1
| 15:17:40,187 INFO [SettingsFactory] Generate SQL with comments: disabled
| 15:17:40,203 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 15:17:40,203 INFO [SettingsFactory] Order SQL inserts for batching: disabled
| 15:17:40,203 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 15:17:40,218 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 15:17:40,218 INFO [SettingsFactory] Query language substitutions: {}
| 15:17:40,218 INFO [SettingsFactory] JPA-QL strict compliance: enabled
| 15:17:40,218 INFO [SettingsFactory] Second-level cache: enabled
| 15:17:40,218 INFO [SettingsFactory] Query cache: disabled
| 15:17:40,250 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
| 15:17:40,250 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 15:17:40,265 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 15:17:40,265 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=Test-ear.ear/Test-ejb.jar#Test
| 15:17:40,265 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 15:17:40,296 INFO [SettingsFactory] Echoing all SQL to stdout
| 15:17:40,296 INFO [SettingsFactory] Statistics: disabled
| 15:17:40,296 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 15:17:40,296 INFO [SettingsFactory] Default entity-mode: pojo
| 15:17:40,296 INFO [SettingsFactory] Named query checking : enabled
| 15:17:40,484 INFO [SessionFactoryImpl] building session factory
| 15:17:40,500 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=Test-ear.ear/Test-ejb.jar#Test
| 15:17:40,500 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 15:17:40,906 INFO [NamingHelper] Creating subcontext: persistence.unit:unitName=Test-ear.ear
| 15:17:40,906 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=Test-ear.ear/Test-ejb.jar#Test
| 15:17:40,906 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
| 15:17:40,968 INFO [SchemaExport] Running hbm2ddl schema export
| 15:17:41,000 INFO [SchemaExport] exporting generated schema to database
| 15:17:41,000 INFO [SchemaExport] Executing import script: /import.sql
| 15:17:41,000 INFO [SchemaExport] schema export complete
| 15:17:41,000 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 15:17:41,187 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
| 15:17:41,203 INFO [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
| 15:17:41,281 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
|
| Test-ear/TimerServiceDispatcher/local - EJB3.x Default Local Business Interface
| Test-ear/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher - EJB3.x Local Business Interface
|
| 15:17:41,484 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=Test-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
| 15:17:41,484 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
| 15:17:41,609 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
|
| Test-ear/EjbSynchronizations/local - EJB3.x Default Local Business Interface
| Test-ear/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations - EJB3.x Local Business Interface
|
| 15:17:42,281 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@25c39470{EjbSynchronizations}
| 15:17:42,281 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@9b7c5697{TimerServiceDispatcher}
| 15:17:42,687 INFO [TomcatDeployment] deploy, ctxPath=/Test
| 15:17:43,750 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/Test'
| 15:18:02,828 INFO [ServletContextListener] Welcome to Seam 2.2.0.GA
|
I tried to access the application at http://localhost:8080/Test but it showed me Http Status 404 The requested resource (/Test/) is not available.
| 15:23:14,171 INFO [DeployHandler] Begin start, [vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/]
| 15:23:14,171 INFO [DeployHandler] Failed to complete command: [start] for deployment: names=[vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/], copyContent=true
| org.jboss.profileservice.spi.NoSuchDeploymentException: Failed to find deployment in file: vfsfile:/E:/Installations/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server/deploy/Test-ear.ear/
| at org.jboss.system.server.profileservice.repository.AbstractDeploymentRepository.getDeployment(AbstractDeploymentRepository.java:134)
| at org.jboss.profileservice.management.upload.remoting.DeployHandler.scheduleStart(DeployHandler.java:136)
| at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:273)
| at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:260)
| at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1724)
| at org.jboss.remoting.Client.invoke(Client.java:629)
| at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
| at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
| at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
| at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
| at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
| at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
| at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
| at java.util.concurrent.FutureTask.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| 15:41:51,171 INFO [Authenticator] authenticating admin
|
I accidently tried after 15 mins and it showed the correct page.
I could reproduce it successfully twice.
ANy ideas?
Suraj
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269160#4269160
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269160
16 years, 4 months
[Beginner's Corner] - jBoss starting error:Unable to register deployment mbean jbo
by amira88
hi,
When i depoly an ejb3 application but when i run the server i get this errors ;
|
|
| 04:26:04,115 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@2ee02d8b{BookTestBean}
| 04:26:04,121 WARN [AbstractDeploymentContext] Unable to register deployment mbean jboss:database=localDB,service=Hypersonic
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss:database=localDB,service=Hypersonic",type=Component already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:990)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249)
| at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:115)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:76)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
| at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
| 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:1210)
| 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(Unknown Source)
| 04:26:04,124 WARN [AbstractDeploymentContext] Unable to register deployment mbean jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.jca:name=DefaultDS,service=ManagedConnectionFactory",type=Component already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:990)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249)
| at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:115)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:76)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
| at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
| 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:1210)
| 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(Unknown Source)
| 04:26:04,127 WARN [AbstractDeploymentContext] Unable to register deployment mbean jboss.jca:name=DefaultDS,service=ManagedConnectionPool
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.jca:name=DefaultDS,service=ManagedConnectionPool",type=Component already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:990)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249)
| at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:115)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:76)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
| at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
| 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:1210)
| 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(Unknown Source)
| 04:26:04,131 WARN [AbstractDeploymentContext] Unable to register deployment mbean jboss.jca:name=DefaultDS,service=LocalTxCM
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.jca:name=DefaultDS,service=LocalTxCM",type=Component already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:990)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249)
| at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:115)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:76)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
| at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
| 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:1210)
| 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(Unknown Source)
| 04:26:04,134 WARN [AbstractDeploymentContext] Unable to register deployment mbean jboss.jca:name=DefaultDS,service=DataSourceBinding
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.jca:name=DefaultDS,service=DataSourceBinding",type=Component already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:990)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249)
| at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:115)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:76)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
| at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
| 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:1210)
| 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(Unknown Source)
| 04:26:04,152 WARN [AbstractDeploymentContext] Unable to register deployment mbean jboss.jdbc:datasource=DefaultDS,service=metadata
| javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.jdbc:datasource=DefaultDS,service=metadata",type=Component already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
| at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
| at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:990)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249)
| at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:115)
| at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceDeploymentVisitor.deploy(ServiceDeploymentDeployer.java:76)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
| at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
| 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:1210)
| 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(Unknown Source)
| 04:26:04,183 INFO [SessionSpecContainer] Stopping jboss.j2ee:jar=FirstOneLalliluna.jar,name=BookTestBean,service=EJB3
| 04:26:04,184 INFO [EJBContainer] STOPPED EJB: de.laliluna.library.BookTestBean ejbName: BookTestBean
| 04:26:04,225 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=#FirstOneLalliluna
| 04:26:04,225 INFO [SessionFactoryImpl] closing
| 04:26:04,226 INFO [SchemaExport] Running hbm2ddl schema export
| 04:26:04,226 INFO [SchemaExport] exporting generated schema to database
| 04:26:04,227 INFO [SchemaExport] schema export complete
| 04:26:04,227 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.unit:unitName=#FirstOneLalliluna
| 04:26:04,228 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 04:26:04,230 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.unit:unitName=#FirstOneLalliluna
| 04:26:04,258 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/FirstOneLalliluna.jar/ state=PreReal mode=Manual requiredState=Real
| org.jboss.deployers.spi.DeploymentException: Error deploying: jboss:service=Hypersonic,database=localDB
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| 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.doInstallParentFirst(DeployersImpl.java:1210)
| 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(Unknown Source)
| Caused by: java.lang.IllegalStateException: jboss:database=localDB,service=Hypersonic is already installed.
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.system.ServiceController.doInstall(ServiceController.java:670)
| at org.jboss.system.ServiceController.install(ServiceController.java:273)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
| ... 24 more
| 04:26:04,299 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| DEPLOYMENTS IN ERROR:
| Deployment "vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/FirstOneLalliluna.jar/" is in error due to the following reason(s): java.lang.IllegalStateException: jboss:database=localDB,service=Hypersonic is already installed.
|
| 04:26:04,315 INFO [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur http-127.0.0.1-8080
| 04:26:04,428 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 04:26:04,435 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 54s:376ms
|
|
I don't know the cause but i think it have relation with the hsqldb-ds.xml
This it , i put it in the src folder:
|
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!-- The Hypersonic embedded database JCA connection factory config -->
|
| <!-- $Id: hsqldb-ds.xml 76997 2008-08-12 22:29:19Z bstansberry(a)jboss.com $ -->
|
| <datasources>
| <local-tx-datasource>
|
| <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
| <!-- Datasources are not available outside the virtual machine -->
| <jndi-name>DefaultDS</jndi-name>
|
| <!-- For server mode db, allowing other processes to use hsqldb over tcp.
| This requires the org.jboss.jdbc.HypersonicDatabase mbean.
| <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
| -->
| <!-- For totally in-memory db, not saved when jboss stops.
| The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
| <connection-url>jdbc:hsqldb:.</connection-url>
| -->
| <!-- For in-process persistent db, saved when jboss stops.
| The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
| -->
| <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB</connection-url>
|
| <!-- The driver class -->
| <driver-class>org.hsqldb.jdbcDriver</driver-class>
|
| <!-- The login and password -->
| <user-name>sa</user-name>
| <password></password>
|
| <!--example of how to specify class that determines if exception means connection should be destroyed-->
| <!--exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter</exception-sorter-class-name-->
|
| <!-- this will be run before a managed connection is removed from the pool for use by a client-->
| <!--<check-valid-connection-sql>select * from something</check-valid-connection-sql> -->
|
| <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
| <min-pool-size>5</min-pool-size>
|
| <!-- The maximum connections in a pool/sub-pool -->
| <max-pool-size>20</max-pool-size>
|
| <!-- The time before an unused connection is destroyed -->
| <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
| <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
| <idle-timeout-minutes>0</idle-timeout-minutes>
|
| <!-- sql to call when connection is created
| <new-connection-sql>some arbitrary sql</new-connection-sql>
| -->
|
| <!-- sql to call on an existing pooled connection when it is obtained from pool
| <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
| -->
|
| <!-- example of how to specify a class that determines a connection is valid before it is handed out from the pool
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker</valid-connection-checker-class-name>
| -->
|
| <!-- Whether to check all statements are closed when the connection is returned to the pool,
| this is a debugging feature that should be turned off in production -->
| <track-statements/>
|
| <!-- Use the getConnection(user, pw) for logins
| <application-managed-security/>
| -->
|
| <!-- Use the security domain defined in conf/login-config.xml -->
| <security-domain>HsqlDbRealm</security-domain>
|
| <!-- Use the security domain defined in conf/login-config.xml or the
| getConnection(user, pw) for logins. The security domain takes precedence.
| <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
| -->
|
| <!-- HSQL DB benefits from prepared statement caching -->
| <prepared-statement-cache-size>32</prepared-statement-cache-size>
|
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
| <metadata>
| <type-mapping>Hypersonic SQL</type-mapping>
| </metadata>
|
| <!-- When using in-process (standalone) mode -->
| <depends>jboss:service=Hypersonic,database=localDB</depends>
| <!-- Uncomment when using hsqldb in server mode
| <depends>jboss:service=Hypersonic</depends>
| -->
| </local-tx-datasource>
|
| <!-- Uncomment if you want hsqldb accessed over tcp (server mode)
| <mbean code="org.jboss.jdbc.HypersonicDatabase"
| name="jboss:service=Hypersonic">
| <attribute name="Port">
| <value-factory bean="ServiceBindingManager" method="getIntBinding"
| parameter="jboss:service=Hypersonic"/>
| </attribute>
| <attribute name="BindAddress">${jboss.bind.address}</attribute>
| <attribute name="Silent">true</attribute>
| <attribute name="Database">default</attribute>
| <attribute name="Trace">false</attribute>
| <attribute name="No_system_exit">true</attribute>
| </mbean>
| -->
|
| <!-- For hsqldb accessed from jboss only, in-process (standalone) mode -->
| <mbean code="org.jboss.jdbc.HypersonicDatabase"
| name="jboss:service=Hypersonic,database=localDB">
| <attribute name="Database">localDB</attribute>
| <attribute name="InProcessMode">true</attribute>
| </mbean>
|
| </datasources>
|
|
and it's the same file in the jboss/server/default/deploy
Any help will be really appreciated!!
Regards for All.
Thank you
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269157#4269157
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269157
16 years, 4 months
[JBoss OSGi Users] - Installing and running bundles on Jboss
by PedroGomes
I'm currently working on a project for a application deployed in Jboss where we can deploy bundles to implement a new functionality.
After some tests with with Felix and Equinox, I created a little EJB application that installs and runs bundles using some actions offered by them.
| public String doInstall() {
|
| FrameworkIntegration inte = new FrameworkIntegration();
| inte.create();
| //inte.start();
| context = inte.getBundleContext();
| try{
| context.installBundle("file:///Users/ped/Desktop/UCE15/PluginJars/libPlugin.jar");
| context.installBundle("file:///Users/ped/Desktop/UCE15/PluginJars/sensorPlugin.jar");
| ...
| }catch....
|
| }
|
|
| public String doAction() {
|
| if(context==null){
| FrameworkIntegration inte = new FrameworkIntegration();
| inte.create();
| inte.start();
| context = inte.getBundleContext();
| }
|
| Bundle[] bds = context.getBundles();
| for(Bundle b : bds){
| System.out.println("BundleID: "+b.getBundleId()+ " Name: " + b.getSymbolicName() +" State: ");
| try {
| b.start();
| } catch (BundleException e) {
| System.out.println("Exception on bundle start: "+e.getCause().toString());
| }
| }
| return "Run";
| }
|
Now, the questions:
1) This experiment works on Felix, but on Equinox i get null pointers when I try to get the context and other. Why?
2) When running on Felix, I can install and run the plugins, but i don't see the bundles installed by Jboss on start, the same ones I see on the configuration page for bundles. And vice-versa, i don't see my bundles on the page. Did I start another Felix container (or something like that, I'm not a pro on OSGi sry)?. And can I get the Jboss container so I can see my bundles on the page, and install new ones from there?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269147#4269147
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269147
16 years, 4 months
[jBPM Users] - Console: host not found error
by roger0681
Hi
I'm developing processes on JBPM 4.1 using JBoss 5.0.0.GA; everything runs fine, but when I want to access the console from outside the development net, I can only view the list of tasks. When I click "View", the frame doesn't show the .ftl file, but a "hots not found", or "host does not respond" notice.
If I check the properties of the frame source, I see that it is looking for
http://windowsServerName:8080/gwt-console-server/rs/form/task/2/render
when it should be
http://publicIP:public port/gwt-console-server/rs/form/task/2/render
|
As I thought it was JBoss using hard [windowsServerName], I changed the Connector Protocol in the file server.xml from
<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
to
<Connector protocol="HTTP/1.1" port="8080" address="[publicIP]"
but nothing changed.
My setup is:
Windows 2003 server running JBoss 5.0.0.GA, JBPM 4.1
JBoss listens to local port 8080
When I acces from Internet, I have the router translating public IP/public port to localIP:8080, and it works fine with jmx console, web console and even gwt console main menu - not ftl files frame.
Is this JBoss configuration problem, or gwt-console config problem? Did anybody have this issue?
Thanks,
Roger
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269146#4269146
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269146
16 years, 4 months
[jBPM Users] - Re: [jbpm 4.2] My first simple application doesn't work :(
by saraswati.santanu
You are missing jbpm.cfg.xml file in your classpath. A very simple jbpm.cfg.xml may look like this:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <jbpm-configuration>
|
| <import resource="jbpm.default.cfg.xml" />
| <import resource="jbpm.tx.hibernate.cfg.xml" />
| <import resource="jbpm.jpdl.cfg.xml" />
| <import resource="jbpm.identity.cfg.xml" />
|
| <!-- Job executor is excluded for running the example test cases. -->
| <!-- To enable timers and messages in production use, this should be included. -->
| <!--
| <import resource="jbpm.jobexecutor.cfg.xml" />
| -->
| </jbpm-configuration>
|
Create one such file in you classpath. That should make things progress further.
About the PVM documentation,the one they have there has examples using jbpm3.x. In 3.x there were those APIs. Jbpm4, I think, was not there when PVM docs were created. You should look at Jbpm dev-guide, user-guide and example with Jbpm4 instead.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269141#4269141
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269141
16 years, 4 months