[Management, JMX/JBoss] - Re: Connect to remote Jboss without dependency on Jboss clie
by PeterJ
Your client is asking for the impossible. The requirements cannot be met by any Java EE application server currently on the market.
When a client app talks to an application server via JNDI, the client JARs for that application server must be in the classpath for the client application. This is a requirement for any application server, not just for JBossAS. However, that does not mean that the client is dependent on any particular application server - if the client is written using the JNDI APIs, then simply supplying a jndi.properties file whose contents are geared towards the desired application server, and making the application server's client JARs available on the classpath is sufficient. In this way the client application is not dependent on any particular application server.
And the only way to connect JConsole to a remote JVM is to launch that JVM with option to tell it to expect such connections. There is no other way to do this, no matter what Java application you are talking about.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154759#4154759
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154759
16 years, 6 months
[Installation, Configuration & DEPLOYMENT] - error with starting JBoss 5 beta3
by Nouredine13
i have the following error when i start jboss 5 beta3 version :
18:29:55,483 INFO [ServerImpl] Starting JBoss (Microcontainer)...
18:29:55,483 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200712210026)
18:29:55,493 INFO [ServerImpl] Home Dir: C:\Program Files\jboss-5.0.0.Beta3
18:29:55,493 INFO [ServerImpl] Home URL: file:/C:/Program Files/jboss-5.0.0.Beta3/
18:29:55,493 INFO [ServerImpl] Library URL: file:/C:/Program Files/jboss-5.0.0.Beta3/lib/
18:29:55,493 INFO [ServerImpl] Patch URL: null
18:29:55,493 INFO [ServerImpl] Server Name: default
18:29:55,493 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss-5.0.0.Beta3\server\default
18:29:55,493 INFO [ServerImpl] Server Home URL: file:/C:/Program Files/jboss-5.0.0.Beta3/server/default/
18:29:55,493 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss-5.0.0.Beta3\server\default\data
18:29:55,493 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss-5.0.0.Beta3\server\default\tmp
18:29:55,493 INFO [ServerImpl] Server Config URL: file:/C:/Program Files/jboss-5.0.0.Beta3/server/default/conf/
18:29:55,493 INFO [ServerImpl] Server Library URL: file:/C:/Program Files/jboss-5.0.0.Beta3/server/default/lib/
18:29:55,493 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
18:29:55,924 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Program Files/jboss-5.0.0.Beta3/server/default/conf/bootstrap-beans.xml
18:29:57,195 INFO [ProfileImpl] Using profile root:C:\Program Files\jboss-5.0.0.Beta3\server\default
18:29:57,676 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
18:29:57,676 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03,Sun Microsystems Inc.
18:29:57,676 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
18:29:57,756 INFO [JMXKernel] Legacy JMX core initialized
18:30:05,387 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
18:30:08,191 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
18:30:08,191 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
18:30:08,501 INFO [TransactionManagerService] Starting recovery manager
18:30:08,691 INFO [TransactionManagerService] Recovery manager started
18:30:08,691 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
18:30:09,693 ERROR [ProfileServiceBootstrap] Failed to load profile:
org.jboss.deployers.spi.DeploymentException: Error determining structure: jbossweb.deployer
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:85)
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:65)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:194)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:218)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:743)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:280)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:237)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:237)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
at org.jboss.Main.boot(Main.java:208)
at org.jboss.Main$1.run(Main.java:534)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfsfile:/C:/Program%20Files/jboss-5.0.0.Beta3/server/default/deployers/jbossweb.deployer/META-INF/jboss-structure.xml
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:186)
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:70)
... 13 more
Caused by: java.io.FileNotFoundException: File does not exist: C:\Program%20Files
at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:249)
at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
at org.jboss.virtual.plugins.context.file.FileHandler.createChildHandler(FileHandler.java:216)
at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:291)
at org.jboss.virtual.plugins.context.file.FileHandler.findChild(FileHandler.java:199)
at org.jboss.virtual.plugins.context.AbstractVFSContext.findChild(AbstractVFSContext.java:118)
at org.jboss.virtual.VFS.findChild(VFS.java:205)
at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.resolveCachedVirtualFile(VirtualFileURLConnection.java:90)
at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getVirtualFile(VirtualFileURLConnection.java:105)
at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getInputStream(VirtualFileURLConnection.java:117)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
... 15 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154734#4154734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154734
16 years, 6 months