[Installation, Configuration & DEPLOYMENT] - encountring problems while deploying vectrics-flashrecruit o
by bolboln01
Hi everybody,
i'm a novice in using jboss application server and i faced a problem while deploying the vectrics-flashrecruit version 0.9.8.2
i downloaded the project from sourceforge.com and i followed the installation instructions which i would better do to remind them to you:
-copy the flashrecruit.ear into the server/default/deploy directory of jboss
-copy the datasource file vectrics-ds.xml into the same directory
-copy the libs from vectrics/vectrics-lib/runtime into the directory server/default/lib
-creating the database by running ant script that works fine
the problem is while i'm running the jboss server, the following error occur and i didn't know the reason:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss-5.0.0.GA
JAVA: C:\Program Files\Java\jdk1.6.0\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: E:\jboss-5.0.0.GA\bin\run.jar
===============================================================================
10:00:23,296 INFO [ServerImpl] Starting JBoss (Microcontainer)...
10:00:23,296 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
10:00:23,296 INFO [ServerImpl] Bootstrap URL: null
10:00:23,296 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.GA
10:00:23,296 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.GA/
10:00:23,296 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.GA/lib/
10:00:23,312 INFO [ServerImpl] Patch URL: null
10:00:23,312 INFO [ServerImpl] Common Base URL: file:/E:/jboss-5.0.0.GA/common/
10:00:23,312 INFO [ServerImpl] Common Library URL: file:/E:/jboss-5.0.0.GA/common/lib/
10:00:23,312 INFO [ServerImpl] Server Name: default
10:00:23,312 INFO [ServerImpl] Server Base Dir: E:\jboss-5.0.0.GA\server
10:00:23,312 INFO [ServerImpl] Server Base URL: file:/E:/jboss-5.0.0.GA/server/
10:00:23,312 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.GA/server/default/conf/
10:00:23,312 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.GA\server\default
10:00:23,312 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.GA/server/default/
10:00:23,312 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.GA\server\default\data
10:00:23,312 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.GA/server/default/lib/
10:00:23,312 INFO [ServerImpl] Server Log Dir: E:\jboss-5.0.0.GA\server\default\log
10:00:23,312 INFO [ServerImpl] Server Native Dir: E:\jboss-5.0.0.GA\server\default\tmp\native
10:00:23,312 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.GA\server\default\tmp
10:00:23,312 INFO [ServerImpl] Server Temp Deploy Dir: E:\jboss-5.0.0.GA\server\default\tmp\deploy
10:00:24,625 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
10:00:25,578 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
10:00:25,593 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
10:00:26,015 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.GA\server\default\tmp
10:00:26,015 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
10:00:27,703 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
10:00:27,703 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
10:00:27,703 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:00:27,765 INFO [JMXKernel] Legacy JMX core initialized
10:00:31,500 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@dea768(root=E:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
10:00:31,500 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@dea768(root=E:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
10:00:31,500 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@6b6ac8{key=org.jboss.profileservice.spi.ProfileKey(a)143b82c3[domain=default,server=default,name=default]}
10:00:34,671 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
10:00:36,015 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:87)
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:296)
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)
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:70)
... 13 more
Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97)
at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56)
at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
... 14 more
Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92)
... 16 more
10:00:36,031 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 12s:703ms
i would be very grateful if anyone could help me
PS: os: winxp sp2
jdk: 1.6
jboss ver 5.0.0.GA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201281#4201281
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201281
17 years, 6 months
[EJB/JBoss] - EJB3 was not found in the Dispatcher
by vink
I'm using Jboss 4.2.2.GA. I'm getting the following exception when calling deployed SLSB from my client;
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy0.listSamples(Unknown Source)
at my.client.SampleClient.main(SampleClient.java:33)
Caused by: org.jboss.aop.NotFoundInDispatcherException: Object with oid: jboss.j2ee:jar=Sample.ejb3,name=SampleImpl,service=EJB3 was not found in the Dispatcher
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:206)
at org.jboss.remoting.Client.invoke(Client.java:1708)
at org.jboss.remoting.Client.invoke(Client.java:612)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
at $Proxy0.listSamples(Unknown Source)
at my.client.SampleClient.main(SampleClient.java:33)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
... 2 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201279#4201279
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201279
17 years, 6 months
[Management, JMX/JBoss] - Notifications in MBean
by mayankmit2002
Hi All,
I'm facing a unique problem, Basically i'm trying to send & recieve notifications from and within multiple MBean's.
For this, i tried a lot and even follow the steps specified on wiki ( http://www.jboss.org/community/docs/DOC-9713) . but failed to listen anything.
I'm using JDK 1.6.0_03 and JBoss 4.2.3. The code is
| package com.aa.trial.mbean;
|
|
| import java.util.Date;
|
| import javax.management.Notification;
| import javax.management.NotificationListener;
| import javax.management.ObjectName;
|
| import org.apache.log4j.Logger;
| import org.jboss.annotation.ejb.Management;
| import org.jboss.annotation.ejb.Service;
| import org.jboss.monitor.services.NotificationListenerMBean;
| import org.jboss.system.ListenerServiceMBeanSupport;
| import org.jboss.system.ServiceMBeanSupport;
| import org.jboss.varia.scheduler.Schedulable;
|
|
| /**
| * TODO: Documentation to be done for type 'Trial'..
| *
| * @author maym
| */
| @Service(objectName = "com.aa.trial.mbean:service=TrialMBeanService")
| @Management(TrialMBean.class)
| public class TrialMBeanService
| extends ListenerServiceMBeanSupport
| implements TrialMBean, NotificationListenerMBean
| {
|
|
| private static Logger aLogger = null;
| private ObjectName anObjectName = null;
|
| static
| {
| aLogger = Logger.getLogger(TrialMBeanService.class);
| }
|
|
| /**
| * TODO: Documentation to be done for constructor 'TrialMBeanService', by 'maym'..
| */
| public TrialMBeanService()
| {
|
| }
|
|
| /**
| * @see com.aa.trial.mbean.TrialMBean#test()
| */
| @Override
| public void test ()
| {
| System.out.println("Hello !!!!!!!!!!!!!!!!!!!!!!! ");
|
| }
|
|
| /**
| * @see org.jboss.system.ServiceMBeanSupport#startService()
| */
| @Override
| protected void startService ()
| throws Exception
| {
| // TODO Auto-generated method stub
| super.subscribe(true);
| }
|
|
| /**
| * @see org.jboss.system.ListenerServiceMBeanSupport#handleNotification2(javax.management.Notification, java.lang.Object)
| */
| @Override
| public void handleNotification2 (Notification anNotification, Object anHandback)
| {
| // TODO Auto-generated method stub
| log.debug("Notification Recieved!!!");
| test();
| }
|
|
| /**
| * @see org.jboss.system.ServiceMBeanSupport#stopService()
| */
| @Override
| protected void stopService ()
| throws Exception
| {
| // TODO Auto-generated method stub
| super.unsubscribe();
| }
|
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#getDynamicSubscriptions()
| */
| @Override
| public boolean getDynamicSubscriptions ()
| {
| // TODO Auto-generated method stub
| return true;
| }
|
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#getLogLevel()
| */
| @Override
| public String getLogLevel ()
| {
| // TODO Auto-generated method stub
| return "DEBUG";
| }
|
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#getNotificationCount()
| */
| @Override
| public long getNotificationCount ()
| {
| // TODO Auto-generated method stub
| return super.getNextNotificationSequenceNumber() - 1;
|
| }
|
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#getNotificationListener()
| */
| @Override
| public ObjectName getNotificationListener ()
| {
| return anObjectName;
| }
|
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#setDynamicSubscriptions(boolean)
| */
| @Override
| public void setDynamicSubscriptions (boolean anArg0)
| {
|
|
| }
|
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#setLogLevel(java.lang.String)
| */
| @Override
| public void setLogLevel (String anArg0)
| {
| // TODO Auto-generated method stub
|
| }
|
| /**
| * @see org.jboss.monitor.services.NotificationListenerMBean#setNotificationListener(javax.management.ObjectName)
| */
| @Override
| public void setNotificationListener (ObjectName anArg0)
| {
| try
| {
| this.anObjectName = anArg0;
| getServer().addNotificationListener(anArg0, this, null, null);
| }
| catch (Exception exception)
| {
| exception.printStackTrace();
| }
| }
| }
|
MBean Interface is
| package com.aa.trial.mbean;
|
| import org.jboss.annotation.ejb.Management;
| import org.jboss.system.ListenerServiceMBean;
| import org.jboss.system.ServiceMBean;
|
|
| /**
| * Trial MBean
| *
| * @author maym
| */
| @Management
| public interface TrialMBean
| extends ListenerServiceMBean
| {
| /**
| *
| * TODO: Documentation to be done for method 'test', by 'maym'..
| *
| */
| public void test ();
| }
|
and, jboss-service.xml is
<?xml version="1.0" encoding="UTF-8"?>
| <server>
| <mbean code="com.aa.trial.mbean.TrialMBeanService" name="com.aa.trial.mbean:service=TrialMBeanService">
| <attribute name="SubscriptionList">
| <subscription-list>
| <mbean name="*:service=invoker,*" handback="anObject"></mbean>
| <mbean name="jboss.monitor:*">
| <notification type="JBOSS_MONITOR_NOTIFICATION"></notification>
| </mbean>
| <mbean name="JMImplementation:type=MBeanServerDelegate">
| <notification type="JMX.mbean.registered"></notification>
| </mbean>
| </subscription-list>
| </attribute>
| </mbean>
| </server>
Plz. help me to find out the problem...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201271#4201271
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201271
17 years, 6 months