Hi all,
I'm looking for a embedded jms which I would be able to use in
shared hosting. All I need is just jdbc persistence.
Is there something like that?
thanks.
Alex.
Type: Posts; User: aaaaa; Keyword(s):
Hi all,
I'm looking for a embedded jms which I would be able to use in
shared hosting. All I need is just jdbc persistence.
Is there something like that?
thanks.
Alex.
and my persistence.xml:
<persistence-unit name="test1" >
<class>myclass</class>
looking at http://jencks.codehaus.org/Outbound+JDBC
I was trying to use this config:
<beans>
<!-- ###### Transaction manager ###### -->
how do I configure jencks + openjpa ? I'm going to use jta outside of container...
is there an example somewhere?
thanks,
here is 1 more post describing the same problem.
http://forum.springsource.org/showthread.php?t=72565
Hi All,
using spring 2.5.4,openjpa 1..2.1
I'm trying to run simple test :
//check lazy loading
User user2 = userDao.select(user.getId());
endTransaction();
List<Role> list =...
hi all,
I'm trying to test lazy loading (EAGER is working) and I'm getting this error:
<openjpa-1.2.1-r752877:753278 fatal user error> org.apache.openjpa.util.InvalidStateException: The context has...
hi all,
I'm getting this messages like every second:
2008-10-16 16:52:06,062 DEBUG [org.springframework.jms.listener.DefaultMessageListenerContainer] - Consumer [ActiveMQMessageConsumer {...
hi all,
I use this file for activemq configuration, but every time I start
web project in eclipse it's trying to access http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd. I have local...
hi all,
is sessionTransacted property required if I need to make onmessage
transactional?
<bean id="listenerContainer" class="org.springframework.jms.listener.DefaultMessageListenerContainer">...
hi all,
is there a simple jms library which would give me basic jms functionality
based on jdbc only.
I'm writing a small app and I need to include db and jms in 1 transaction, but
I'm going to...
hi all,
I'm trying to get geronimo jndi datasorce to use in testing like:
...
protected DataSource dataSource;
public UserDAOTest() {
...
inside UserDAO:
public void deleteUser(User user) throws Exception {
try {
sqlMapClient.delete("deleteUser", user);
jms.send();
}
}
the goal...
even if I'm going to use only 1 database? actually , that's what I need currently.
I'm trying to use same mysql db as a datasource for ibatis and activemq persistence.
hi all,
is it possible to use jms and SqlMapClient in the same transaction if they use same datasource?
will it be just enough to set same datasource to jdbcPersistenceAdapter on jms side ?
...
Hi all,
does it exist in spring2.o?
thanks.
Hi All,
in this code if obj doesn't exist I'd get an error(because of null). I'd like to show an error "Id doesnt exist" same way as using Validator. how can I do that?
thank.
protected...
Hi all,
where can I find working examples how to index data from db using lucene module?
thanks.
case 1: if I make 1st visit to web site - log in and say "remember me"- then I'll be able to log out without any problems.
case 2: I make 1st visit to web site - log in and say "remember me" and...
Hi All,
could somebody explain me why logout doesn't work?
when I go to /logout.html. I'm sent to main.html, so it looks like filter works, but I'm still logged in...
is it because of "remember...
that's funny.
- if I do this in jsp page:
SecurityContext context = SecurityContextHolder.getContext();
Authentication auth = context.getAuthentication();
if (auth.getPrincipal() instanceof...
Hi all,
- if I'm not logged on, this code in jsp page "USER: <authz:authentication operation="fullName"/>" printed as "USER:".
System.out.println(request.isUserInRole("ROLE_ADMIN")); - prints false...
thanks! I've added SecurityContextHolderAwareRequestFilter and ... sometimes it works! the problem is - sometimes it doesn't .
sometimes request.isUserInRole returns false and I get...
Hi All,
in jsp I use "<authz:authorize ifAllGranted="ROLE_ADMIN">"
could somebody tell me how can I do same check in servlet?
thanks.