[JBoss jBPM] - Re: Deploying to Weblogic 8.1
by syngolis
I tested the enterprise version of jbpm on different weblogic servers. Because of the nice admin-console in weblogic, its not very difficult to get it running...at least in 9.0 and above.
The problem in 8.1 is, that they just "pretend" to provide an full ejb 2.1 compliant environment. Unfortunately the classes for EJB Timer Bean (TimedObject.class) are missing in their J2EE-Jar. (Anyone correct me if i am wrong)
So the application is working unless you dont use timers...I stopped testing at this point.
If you just want to deploy the war on 8,1, there should be no problem because it uses a different way to execute timers.
To deploy,
1. you have to create a deployment-descriptor for weblogic (weblogic.xml). Out of the box only a JBoss (jboss-web.xml) specified exists.
2. Then you must create a datasource in weblogic for database access. (Use admin console)
3. Then change transaction manager in hibernate.cfg.xml to the Weblogic compliant.
I think this should do it...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061165#4061165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061165
18Â years, 9Â months
[JBoss/Spring Integration] - Re: jboss-spring.xml beans location
by loumaus
sorry .. badly explained ..
tow scenarios:
1. the target bean is directly embedded into the jboss-spring.xml looking like:
<bean id="catalogService" class="foo.bar.service.DefaultCatalogService"\>
everything works fine here ... of course .. as its the described way ..
2. the bean is referenced inside the jboss-spring.xml via an import tag:
\<import resource="classpath:catalog-beans.xml"/\>
The catalog-beans.xml is located inside the spring deployable package, accessable via classpath and it really get processed on server / ear startup.
( [org.springframework.aop.framework.JdkDynamicAopProxy] Creating JDK dynamic proxy for [foo.bar.service.DefaultCatalogService]
)
The important difference between both scenarios can be seen in the SpringInectionInterceptor output.
Scenario one outputs:
==============
Injecting bean 'catalogService' of class type foo.bar.service.DefaultCatalogService into foo.bar.ejb.DefaultCatalogServiceStateless@6fa22b via private foo.bar.service.CatalogService foo.bar..ejb.DefaultCatalogServiceStateless.catalogService
Scnenario two, which does not work outputs:
============================
Injecting bean 'catalogService' of class type $Proxy168 into foo.bar.ejb.DefaultCatalogServiceStateless@ce4dda v
ia private foo.bar.service.CatalogService foo.bar.ejb.DefaultCatalogServiceStateless.catalogService
The injected class types differ. In the working scenario the SpringInjectionInterceptor is using an existing class, whereas it is using a proxy class in the none working scenario.
And this is the problem im facing ....
Hope you understood what i meant
:O)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061161#4061161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061161
18Â years, 9Â months
[JBoss Messaging] - Re: Error: Did not load correct number of messages
by relgames
"timfox" wrote : Are you sure you are using InnoDB storage?
Yes. I've checked it through phpMyAdmin and all tables have "InnoDB" type.
Moreover, I've looked into JDBCPersistenceManager source code and all seems correct.
Method updateWithRetry() looks confusing for me. But it is running inside transaction, and if one updateWithRetry() fails than all other changes should be rollbacked.
So code is ok.
Here is our datasource config:
| <local-tx-datasource>
| <jndi-name>JmsDS</jndi-name>
| <connection-url>jdbc:mysql://localhost:3306/jms</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>payrev</user-name>
| <password>payrev</password>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
|
| <max-pool-size>20</max-pool-size>
| <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
|
One more idea: may be we need to add Foreign Key Constraint to avoid such problems?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061160#4061160
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061160
18Â years, 9Â months
[JBoss jBPM] - Re: Deploying to Weblogic 8.1
by mailinator
Hi,
thanks for reading me,
What kind of information do you want ?
I took the jbpm-console.war an tried to deploy it on weblogic 8.1.
I dont know what to change in order to make it work.
I dont know jsf so my changes to make it working with jsf are low.
What i'm hoping for is tips about how getting started with jbpm on weblogic 8.1.
Like if there are some changes that are obviously to be maked ? (do i have to change the web.xml for example or if there is something perticuliar to do with the datasources ...).
The long term objective is making jbpm developpments with Struts.
In order to do that i prefer to have jbpm up and running on my weblogic server. Then i will try to do some work with struts.
Can u provide some help ?
Regards,
O.M.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061159#4061159
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061159
18Â years, 9Â months