[jBPM] - jbpm 3.2.2 on JBoss 5.1
by Earnest Dyke
Earnest Dyke [http://community.jboss.org/people/earniedyke] created the discussion
"jbpm 3.2.2 on JBoss 5.1"
To view the discussion, visit: http://community.jboss.org/message/540087#540087
--------------------------------------------------------------
Greetings all,
I am trying to install jbpm 3.2.2 onto a JBoss 5.1 server without success. I created a datasource and copied jbpm-console.war to my deploy directory but when it tries to deploy, I see the following error in the log:
*java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentMap*
It appears that the Backport jar is not available. So I added *backport-util-concurrent-3.0.jar* from JBoss 4.2 and restarted. Now I see this error in the log:
*java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate*
Before I spend much more time banging my head against the wall: will jbpm 3.2.2 run under JBoss 5.1? If so, are there instructions on how to?
Thanks in advance for any and all pertinent advice.
Earnie!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540087#540087]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[JNDI and Naming] - Dependancy injection with datasources within a webservice
by Jens Mander
Jens Mander [http://community.jboss.org/people/JensMander] created the discussion
"Dependancy injection with datasources within a webservice"
To view the discussion, visit: http://community.jboss.org/message/540065#540065
--------------------------------------------------------------
Hi,
I'am trying to use the @Resouce-Annotation for a datasource in my WebService (wsdl). I guess the datasource is properly configured because the following snippet works without any problems.
public String myFunction(String in) throws NamingException {
InitialContext ctx;
ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("java:/MyDataSource");
// do something with the datasource
return "something";
}
but if I'am trying something like that
@Resource(name="MyDataSource")
private DataSource ds;
public String myFunction(String in) throws NamingException {
// do something with the datasource ds
return "something";
}
I can't even deploy my webservice to the JBoss AS. The message says that "MyDataSource" couldn't be found ;(
I hope somebody has a piece of advice for me. Thanks a lot.
Jens
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540065#540065]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[JBoss Portal] - Creating Custom header inside custom .WAR file
by Tridib Das
Tridib Das [http://community.jboss.org/people/tridib197779] created the discussion
"Creating Custom header inside custom .WAR file"
To view the discussion, visit: http://community.jboss.org/message/540062#540062
--------------------------------------------------------------
Hi All,
I have created a custom .WAR file consisting of the Theme and Layouts .
I have also merged the header.jsp and tabs.jsp usally resides in (\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF\jsp\header).
Jboss portal server is able to pick up the themes and layouts from the custom war file, but it is unable to pick up the header.jsp and tabs.jsp from the custom .WAR file.
If I am updating the entry inside the(/deploy/jboss-portal.sar/META-INF/jboss-service.xml)
<mbean
code="org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor"
name="portal:service=Interceptor,type=Command,name=PageCustomizer"
xmbean-dd=""
xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
<xmbean/>
<attribute name="TargetContextPath">/portal-core</attribute> /*------Updating this entry------*/
<attribute name="HeaderPath">/WEB-INF/jsp/header/header.jsp</attribute>
<attribute name="TabsPath">/WEB-INF/jsp/header/tabs.jsp</attribute>
<!-- Overrides the value of core.login.namespace in config.xml -->
<!-- attribute name="LoginNamespace">dashboard</attribute -->
<depends
optional-attribute-name="Config"
proxy-type="attribute">portal:service=ServerConfig</depends>
<depends
optional-attribute-name="PortalAuthorizationManagerFactory"
proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
<depends
optional-attribute-name="PortalObjectContainer"
proxy-type="attribute">portal:container=PortalObject</depends>
</mbean>
then only it is able to pick up from the .WAR file.
If there is any work around without updating the entry, we can do so that it header.jsp will pick up from the custom .WAR file.
Please reply me back.
Thanks
Tridib
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540062#540062]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month