[JBoss AS7 Development] - AS 7 Persistence Provider Problem
by prinzm
prinzm [http://community.jboss.org/people/prinzm] created the discussion
"AS 7 Persistence Provider Problem"
To view the discussion, visit: http://community.jboss.org/message/617308#617308
--------------------------------------------------------------
We wrote our own persistence provider which extends the HibernatePersistence class and used it in the persistence.xml
Unfortunately on server startup the following exception occurrs:
08:32:08,555 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.subunit."green-ear.ear"."green-ejb.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."green-ear.ear"."green-ejb.jar".INSTALL: Failed to process phase INSTALL of subdeployment "green-ejb.jar" of deployment "green-ear.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: java.lang.NullPointerException
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addProviderProperties(PersistenceUnitDeploymentProcessor.java:346)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:253)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleJarDeployment(PersistenceUnitDeploymentProcessor.java:115)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:96)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
I looked into the source code and found the following entry in the class JPASubSystemAdd:
PersistenceProviderAdapterRegistry.putPersistenceProviderAdaptor(
"org.hibernate.ejb.HibernatePersistence", new HibernatePersistenceProviderAdaptor());
So Hibernate is set as the default persistence provider, and I could not find any other location in the code, where a persistence provider ist set. Therefore the method call "PersistenceProviderAdapterRegistry.getPersistenceProviderAdaptor(pu.getPersistenceProviderClassName())" in the method addProviderProperties in the class PersistenceUnitDeploymentProcessor always returns null since no other persistence provider than the default one seems to be registered. Or did I miss something? In JBoss AS 6 this worked as expected.
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617308#617308]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM Development] - jbpm4 integration with webapp
by roxy1987
roxy1987 [http://community.jboss.org/people/roxy1987] created the discussion
"jbpm4 integration with webapp"
To view the discussion, visit: http://community.jboss.org/message/608062#608062
--------------------------------------------------------------
Hi,
I am trying to add workflow to an application.
I am able to deploy the process. But when I call the method to start the process, following trace appears :
javax.servlet.ServletException: Servlet execution threw an exception
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
*root cause*
java.lang.NoClassDefFoundError: de/odysseus/el/util/SimpleResolver
org.jbpm.pvm.internal.script.JuelScriptEngineFactory.getScriptEngine(JuelScriptEngineFactory.java:185)
javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:205)
org.jbpm.pvm.internal.script.ScriptManager.evaluate(ScriptManager.java:111)
org.jbpm.pvm.internal.script.ScriptManager.evaluateExpression(ScriptManager.java:90)
org.jbpm.pvm.internal.model.ExecutionImpl.resolveAssignmentExpression(ExecutionImpl.java:772)
org.jbpm.pvm.internal.model.ExecutionImpl.initializeAssignments(ExecutionImpl.java:726)
org.jbpm.jpdl.internal.activity.TaskActivity.execute(TaskActivity.java:95)
org.jbpm.jpdl.internal.activity.TaskActivity.execute(TaskActivity.java:58)
org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:616)
org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217)
org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:61)
org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:37)
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceById(ExecutionServiceImpl.java:50)
action.AllMethods.startNewProcessInstance(AllMethods.java:31)
action.MainServlet.doPost(MainServlet.java:51)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
*root cause*
java.lang.ClassNotFoundException: de.odysseus.el.util.SimpleResolver from BaseClassLoader@aee53f{VFSClassLoaderPolicy@4cbcaf{name=vfszip:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/CustomJBPM4.war domain=ClassLoaderDomain@17fc253{name=vfszip:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/CustomJBPM4.war parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@1568654{DefaultDomain}} roots=[MemoryContextHandler@33014755[path= context=vfsmemory://3j001-x2aob1-godzmi30-1-godzmrc7-1x real=vfsmemory://3j001-x2aob1-godzmi30-1-godzmrc7-1x], ZipEntryHandler(a)22908657[path=CustomJBPM4.war/WEB-INF/classes context=file:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/ real=file:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/CustomJBPM4.war/WEB-INF/classes], DelegatingHandler(a)22253751[path=CustomJBPM4.war/WEB-INF/lib/jbpm.jar context=file:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/ real=file:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/CustomJBPM4.war/WEB-INF/lib/jbpm.jar], ZipEntryHandler(a)21097047[path=CustomJBPM4.war/WEB-INF context=file:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/ real=file:/home/Shobhit/Install/jboss-5.0.0.GA/server/default/deploy/CustomJBPM4.war/WEB-INF]] delegates=null exported=[, org.jbpm.jpdl.internal.repository, org.jbpm.pvm.internal.identity.cmd, META-INF.maven.org.jbpm.jbpm4.jbpm-log, org.jbpm.pvm.internal.job, org.jbpm.api.history, META-INF.maven.org.jbpm.jbpm4.jbpm-pvm, org.jbpm.pvm.internal.history, org.jbpm.pvm.internal.wire.usercode, org.jbpm.pvm.internal.wire, org.jbpm.api.model, org.jbpm.api.task, org.jbpm.jpdl.internal.rules, org.jbpm.pvm.internal.cal, org.jbpm.pvm.internal.wire.xml, org.jbpm.pvm.internal.wire.binding, org.jbpm.test, org.jbpm.pvm.internal.repository, action, org.jbpm.pvm.internal.lob, org.jbpm.bpmn.flownodes, META-INF.maven.org.jbpm.jbpm4.jbpm-enterprise, org.jbpm.api.activity, org.jbpm.pvm.internal.stream, org.jbpm.bpmn.model, org.jbpm.bpmn.parser, org.jbpm.bpmn.deployer, org.jbpm.test.assertion, org.jbpm.pvm.internal.spring, org.jbpm.pvm.internal.task, org.jbpm.pvm.internal.id, org.jbpm.enterprise.internal.ejb, org.jbpm.internal.log, org.jbpm.pvm.internal.query, org.jbpm.enterprise.internal.wire.binding, org.jbpm.pvm.internal.history.events, org.jbpm.pvm.internal.xml, org.jbpm.pvm.internal.env, org.jbpm.pvm.internal.wire.descriptor, org.jbpm.pvm.internal.util, org.jbpm.pvm.internal.cfg, org.jbpm.jpdl.internal.activity, org.jbpm.jpdl.internal.model, META-INF.maven.org.jbpm.jbpm4.jbpm-bpmn, META-INF.maven.org.jbpm.jbpm4.jbpm-jpdl, org.jbpm.api.jpdl, org.jbpm.pvm.internal.ant, org.jbpm.pvm.internal.type, META-INF.maven.org.jbpm.jbpm4.jbpm-api, org.jbpm.pvm.internal.model, org.jbpm.api.cmd, org.jbpm.bpmn.common, org.jbpm.pvm.internal.type.variable, org.jbpm.api, org.jbpm.api.listener, org.jbpm.pvm.internal.hibernate, org.jbpm.pvm.internal.migration, org.jbpm.pvm.internal.model.op, org.jbpm.pvm.internal.jobexecutor, org.jbpm.pvm.internal.test, org.jbpm.pvm.internal.email.impl, org.jbpm.pvm.internal.jms, org.jbpm.pvm.internal.history.model, org.jbpm.pvm.internal.svc, org.jbpm.pvm.internal.wire.operation, org.jbpm.pvm.internal.script, org.jbpm.pvm.internal.processengine, org.jbpm.pvm.internal.type.matcher, org.jbpm.pvm.internal.identity.impl, META-INF.maven.org.jbpm.jbpm4.jbpm-test-base, org.jbpm.pvm.internal.cmd, org.jbpm.jpdl.internal.xml, org.jbpm.pvm.internal.tx, org.jbpm.api.job, org.jbpm.pvm.internal.email.spi, org.jbpm.pvm.internal.type.converter, META-INF, org.jbpm.pvm.internal.builder, META-INF.services, org.jbpm.test.jms, org.jbpm.test.ejb, org.jbpm.pvm.internal.session, org.jbpm.pvm.internal.identity.spi, org.jbpm.api.identity, org.jbpm.pvm.internal.client] <IMPORT-ALL>NON_EMPTY}}
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:385)
java.lang.ClassLoader.loadClass(ClassLoader.java:252)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
org.jbpm.pvm.internal.script.JuelScriptEngineFactory.getScriptEngine(JuelScriptEngineFactory.java:185)
javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:205)
org.jbpm.pvm.internal.script.ScriptManager.evaluate(ScriptManager.java:111)
org.jbpm.pvm.internal.script.ScriptManager.evaluateExpression(ScriptManager.java:90)
org.jbpm.pvm.internal.model.ExecutionImpl.resolveAssignmentExpression(ExecutionImpl.java:772)
org.jbpm.pvm.internal.model.ExecutionImpl.initializeAssignments(ExecutionImpl.java:726)
org.jbpm.jpdl.internal.activity.TaskActivity.execute(TaskActivity.java:95)
org.jbpm.jpdl.internal.activity.TaskActivity.execute(TaskActivity.java:58)
org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:616)
org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217)
org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:61)
org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:37)
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceById(ExecutionServiceImpl.java:50)
action.AllMethods.startNewProcessInstance(AllMethods.java:31)
action.MainServlet.doPost(MainServlet.java:51)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
This is what the method to start the process looks like :
public String startNewProcessInstance(String processDefID)
{
ProcessEngine processEngine = Configuration.getProcessEngine();
ExecutionService executionService = processEngine.getExecutionService();
ProcessInstance processInstance = executionService.startProcessInstanceById(processDefID);
String processInstID = processInstance.getId();
return processInstID;
}
The process instance is however successfully initiated. Gets listed in the database.
Please help because I cant go ahead if this is nt resolved.
regds.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608062#608062]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[jBPM Development] - How to integrate jbpm4.4 into jboss5.1.0.GA?
by frh10 ff
frh10 ff [http://community.jboss.org/people/frh10] created the discussion
"How to integrate jbpm4.4 into jboss5.1.0.GA?"
To view the discussion, visit: http://community.jboss.org/message/610972#610972
--------------------------------------------------------------
I install jbpm4.4 into jboss5 with the ant(build.xml):
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- jBPM: Workflow in Java -->
<!-- -->
<!-- Distributable under LGPL license. -->
<!-- See terms of license at http://www.gnu.org http://www.gnu.org. -->
<!-- ====================================================================== -->
<!-- $Id: build.xml 6507 2010-07-18 06:00:34Z mailto:alex.guizar@jboss.com alex.guizar(a)jboss.com $ -->
<project name="jbpm.install">
<!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
<property file="${user.home}/.jbpm4/build.properties" />
<!-- USER CUSTOMIZABLE PROPERTIES -->
<!-- {hsqldb | mysql | oracle | postgresql} -->
<property name="database" value="mysql" />
<!-- INTERNAL PROPERTY DEFAULTS -->
<condition property="jbpm.home" value="${jbpm.parent.dir}/jbpm-4.x" else="${basedir}/..">
<isset property="jbpm.parent.dir" />
</condition>
<property name="cfg.dest.dir" value="${jbpm.home}/install/generated/cfg" />
<property name="install.src.dir" value="${jbpm.home}/install/src" />
<property name="bind.address" value="localhost" />
<property name="jdbc.properties.dir" value="${jbpm.home}/install/jdbc" />
<property file="${jdbc.properties.dir}/${database}.properties" />
<property name="examples.file" value="${jbpm.home}/examples/target/examples.jar" />
<property name="tomcat.version" value="6.0.26" />
<property name="tomcat.parent.dir" value="${jbpm.home}" />
<property name="tomcat.home" value="${tomcat.parent.dir}/apache-tomcat-${tomcat.version}" />
<property name="tomcat.filename" value="apache-tomcat-${tomcat.version}.zip" />
<property name="tomcat.distro.dir" value="downloads" />
<property name="tomcat.distro.url"
value=" http://www.apache.org/dist/tomcat/tomcat-6/v${tomcat.version}/bin/${tomca... http://www.apache.org/dist/tomcat/tomcat-6/v${tomcat.version}/bin/${tomca..." />
<property name="tomcat.distro.path" value="${tomcat.distro.dir}/${tomcat.filename}" />
<property name="tomcat.lib.dir" value="${tomcat.home}/lib" />
<property name="tomcat.webapps.dir" value="${tomcat.home}/webapps" />
<property name="hsqldb.server.install.dir" value="${jbpm.home}/hsqldb-server" />
<property name="hsqldb.server.source.dir" value="${jbpm.home}/install/src/hsqldb-server" />
<property name="jboss.version" value="5.1.0.GA" />
<property name="jboss.parent.dir" value="${jbpm.home}" />
<property name="jboss.home" value="F:\jboss-5.1.0.GA" />
<property name="jboss.filename" value="jboss-${jboss.version}.zip" />
<property name="jboss.distro.dir" value="downloads" />
<property name="jboss.distro.url"
value=" http://downloads.sourceforge.net/jboss/${jboss.filename http://downloads.sourceforge.net/jboss/${jboss.filename}" />
<property name="jboss.distro.path" value="${jboss.distro.dir}/${jboss.filename}" />
<property name="jboss.server.configuration" value="all-with-hornetq" />
<property name="jboss.server.config.dir"
value="${jboss.home}/server/${jboss.server.configuration}" />
..................
the red parts are the modifications to fix my jboss and database,
but when i start the jboss,it throw a error:
2011-06-20 14:27:06,729 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.j2ee:module="jbpm-enterprise.jar",service=EjbModule state=Create mode=Manual requiredState=Installed
org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping MS SQLSERVER2005 not found
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java:517)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCApplicationMetaData.java:327)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:80)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:732)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:424)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:495)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
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.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
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.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
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:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
How can i solve this problem?Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/610972#610972]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[JBoss AS7 Development] - How do I put an MBean in JNDI?
by Matt Drees
Matt Drees [http://community.jboss.org/people/matt.drees] created the discussion
"How do I put an MBean in JNDI?"
To view the discussion, visit: http://community.jboss.org/message/606799#606799
--------------------------------------------------------------
Hi all,
I'm trying to get a SAR deployed to AS7.
One of my MBeans is trying to bind itself into JNDI using NonSerializableFactory.rebind(name, this, true). This apparently works fine on older jboss releases, but on AS7 I get this:
13:30:22,405 WARN [org.ccci.ha.HighAvailabilityDataSource] (MSC service thread 1-4) Starting up HighAvailabilityDataSource ccpDatasource in PRIMARY mode
13:30:22,406 INFO [stdout] (MSC service thread 1-4) fullName=jdbc/ccpDatasource
13:30:22,406 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.mbean.service."jboss.jca:name=jdbc/ccpDatasource,service=DataSourceBinding".start: org.jboss.msc.service.StartException in service jboss.mbean.service."jboss.jca:name=jdbc/ccpDatasource,service=DataSourceBinding".start: Failed to execute legacy service start() method
at org.jboss.as.service.StartStopService.start(StartStopService.java:51)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at org.jboss.as.service.AbstractService.invokeLifecycleMethod(AbstractService.java:59)
at org.jboss.as.service.StartStopService.start(StartStopService.java:49)
... 4 more
Caused by: java.lang.UnsupportedOperationException: Naming context is read-only
at org.jboss.as.naming.NamingContext.rebind(NamingContext.java:227)
at javax.naming.InitialContext.rebind(InitialContext.java:408) [:1.6.0_24]
at org.jboss.util.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:185)
at org.jboss.util.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:250)
at org.ccci.ha.HighAvailabilityDataSource.rebind(HighAvailabilityDataSource.java:53)
at org.ccci.ha.HighAvailabilityDataSource.start(HighAvailabilityDataSource.java:34)
... 10 more
So, it looks like JNDI is read-only now. What is the recommended approach for making an MBean available in JNDI?
Or, perhaps I'm just going about this all the wrong way. What I really need is to make a custom javax.sql.Datasource available in JNDI, and I need to be able to do some logic on start-up. (I don't want to use JCA for this, since this datasource simply delegates to one of two other standard (JCA) datasources.) I'm sure I don't need this object to be an MBean, but that seemed the simplest thing at the time. Is there a better way to do this?
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/606799#606799]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[JBoss AS7 Development] - Running Seam 2 archives on Jboss 7
by Matt Drees
Matt Drees [http://community.jboss.org/people/matt.drees] created the discussion
"Running Seam 2 archives on Jboss 7"
To view the discussion, visit: http://community.jboss.org/message/608573#608573
--------------------------------------------------------------
Hi all,
My app is a Seam 2 war. I've found I can deploy it to AS7 successfully as an exploded directory, but not as a war archive. When I try to deploy as an archive, I get a stacktrace like this:
15:31:21,837 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ccp]] (MSC service thread 1-3) Exception sending context
initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.RuntimeException: Error handling file /content/ccp.war/WEB-INF/lib/jboss-seam-ui-2.2.2.Final.seam2jsf2.jar
at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:134) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:107) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:90) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
at org.jboss.seam.init.Initialization.create(Initialization.java:130) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.0.CR1.jar:7.0.0.Beta4-SNAPSHOT]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3817) [jbossweb-7.0.0.CR1.jar:7.0.0.Beta4-SNAPSHOT]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) [:1.6.0_24]
at java.util.zip.ZipFile.<init>(ZipFile.java:127) [:1.6.0_24]
at java.util.zip.ZipFile.<init>(ZipFile.java:144) [:1.6.0_24]
at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:123) [jboss-seam-2.2.2.Final.seam2jsf2-no-timer-service-dispatcher.jar:]
... 12 more
The stacktrace doesn't show it, but the URLScanner is trying to handle this URL:
vfs:/content/ccp.war/WEB-INF/lib/jboss-seam-ui-2.2.2.Final.seam2jsf2.jar/META-INF/components.xml
URLScanner is trying to treat this as if it's a file url, and of course ZipFile.open() can't find this file on the real filesystem.
I believe Jboss AS 5 and 6 had a http://anonsvn.jboss.org/repos/jbossas/projects/jboss-seam-int/tags/6.0.0... special Scanner implementation to enable Seam to read archive deployments.
Is a similar scanner planned for AS 7?
Thanks!
-Matt
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608573#608573]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[JBoss Messaging Development] - Need help compiling JBoss Messaging 1.4.8.GA for AS5
by Johan Hedin
Johan Hedin [http://community.jboss.org/people/johan.hedin] created the discussion
"Need help compiling JBoss Messaging 1.4.8.GA for AS5"
To view the discussion, visit: http://community.jboss.org/message/607785#607785
--------------------------------------------------------------
Hi all
I have trouble compiling JBoss 1.4.8.GA for AS5. I have set the build.properties to integration.base=AS5. I then do
ant clean
# lots of download
Then
johan@localhost ~/tmp/JBossMessaging_1_4_8_GA-AS5 $ ant compile
Buildfile: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build.xml
check.inhibit.downloads:
createthirdparty:
compile:
show.version:
[echo] ========================================
[echo] Building 1.4.8.GA for AS5!
[echo] ========================================
compile-parsers:
[mkdir] Created dir: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/gen-parsers/org/jboss/jms/server/selector
[echo] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/thirdparty/sun-javacc/lib/
[javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/selector/SelectorParser.jj . . .
[javacc] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.
[javacc] File "TokenMgrError.java" does not exist. Will create one.
[javacc] File "ParseException.java" does not exist. Will create one.
[javacc] File "Token.java" does not exist. Will create one.
[javacc] File "SimpleCharStream.java" does not exist. Will create one.
[javacc] Parser generated successfully.
[mkdir] Created dir: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes
[javac] Compiling 7 source files to /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes
[javac] Note: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/gen-parsers/org/jboss/jms/server/selector/SelectorParser.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
compile-classes:
[javac] Compiling 362 source files to /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/ServerConnectionFactoryEndpoint.java:49: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/messaging/util/JBMExecutor.java:45: warning: [deprecation] org.jboss.messaging.util.NamedThreadQueuedExecutor in org.jboss.messaging.util has been deprecated
[javac] public class JBMExecutor extends NamedThreadQueuedExecutor
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:31: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:32: cannot find symbol
[javac] symbol : class SecurityContextAssociation
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextAssociation;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:46: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityActions
[javac] static SecurityContext getSecurityContext()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:56: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityActions
[javac] static void setSecurityContext(final SecurityContext sc)
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityAspect.java:48: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:31: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:32: cannot find symbol
[javac] symbol : class SecurityContextAssociation
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextAssociation;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:45: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.SecurityActions
[javac] static SecurityContext getSecurityContext()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:55: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.SecurityActions
[javac] static void setSecurityContext(final SecurityContext sc)
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:32: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:33: cannot find symbol
[javac] symbol : class SecurityContextAssociation
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextAssociation;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:34: cannot find symbol
[javac] symbol : class SecurityContextFactory
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextFactory;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:36: cannot find symbol
[javac] symbol : class JBossSecurityContext
[javac] location: package org.jboss.security.plugins
[javac] import org.jboss.security.plugins.JBossSecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:48: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.security.SecurityActions
[javac] static SecurityContext getSecurityContext()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:58: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.security.SecurityActions
[javac] static void setSecurityContext(final SecurityContext sc)
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/client/container/ClientConsumer.java:81: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
[javac] debug = log.isDebugEnabled();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/ServerConnectionFactoryEndpoint.java:226: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint
[javac] SecurityContext previousSCtx = SecurityActions.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/ServerPeer.java:1806: warning: [deprecation] deployXML(java.net.URL,java.lang.ClassLoader) in org.jboss.aop.AspectXmlLoader has been deprecated
[javac] AspectXmlLoader.deployXML(url, this.getClass().getClassLoader());
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java:146: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
[javac] private boolean debug = log.isDebugEnabled();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:48: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityActions
[javac] return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:50: cannot find symbol
[javac] symbol: class SecurityContext
[javac] public SecurityContext run()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:52: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] return SecurityContextAssociation.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:62: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(sc);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityAspect.java:293: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityAspect
[javac] SecurityContext previousSCtx = SecurityActions.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:47: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.SecurityActions
[javac] return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:49: cannot find symbol
[javac] symbol: class SecurityContext
[javac] public SecurityContext run()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:51: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] return SecurityContextAssociation.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:61: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(sc);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:50: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.security.SecurityActions
[javac] return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:52: cannot find symbol
[javac] symbol: class SecurityContext
[javac] public SecurityContext run()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:54: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] return SecurityContextAssociation.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:64: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(sc);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:158: cannot find symbol
[javac] symbol: class SecurityContext
[javac] SecurityContext context = SecurityContextFactory.createSecurityContext(principal, passwordChars, subject, secDom);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:158: cannot find symbol
[javac] symbol: variable SecurityContextFactory
[javac] SecurityContext context = SecurityContextFactory.createSecurityContext(principal, passwordChars, subject, secDom);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:159: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(context);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 33 errors
[javac] 4 warnings
BUILD FAILED
/home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build.xml:69: The following error occurred while executing this line:
/home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build-messaging.xml:218: Compile failed; see the compiler error output for details.
Total time: 7 seconds
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607785#607785]
Start a new discussion in JBoss Messaging Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months