resolved the problem by adding another OSIVF:
<filter>
<filter-name>openSessionInViewFilterOne</filter-name>...
Type: Posts; User: viorel.chelaru; Keyword(s):
resolved the problem by adding another OSIVF:
<filter>
<filter-name>openSessionInViewFilterOne</filter-name>...
I forgot to mention one little aspect :), sorry, I have 2 data sources that I use in the controller, by calling the services. So, I guess OSIVF doesn't work like this.
But what can I do ? I don't...
hi,
I'm using spring 2.5.5 with tiles 2.1.2 and hibernate 3.3.1GA
I'm getting
02:33:54,981 DEBUG org.springframework.orm.hibernate3.support.OpenSessionInViewFilter:181 - Opening single...
hi,
cleared the problem. I had a very messed up classpath meaning a lot of jars from a a couple of different apps in the server's lib dir; I put the jas from the server's instalation and then the...
thanks for the reply.
I tried with this and still doesn't work.
@Id
@Column(name="trunkgroup")
private int trunkgroup;
@Column(name="name")
private String name;
...
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
@Column(name="trunkgroup")
private int trunkgroup;
@Column(name="name")
private String name;
@Column(name="valid")
...
hi,
I use spring 2.5.5 with hibernate jars that come with the distribution and java 1.5_18
I WANT to use annotations :
import java.util.List;
import javax.persistence.Column;
import...
isssue resolved.
I tried again to use java.rmi.server.hostname and I found out that it didn't took it, bceause of the way the server was started; I had to use -J-Djava.rmi.server.hostname=myhost...
hi,
tried with the ip in url, not working and I don't have any firewall active.
on my client machine (CentOS 4) I have in /etc/hosts
192.168.13.55 myhost
on my server machine(Ubuntu 8.04) I...
ping myhost
PING myhost (192.168.13.55) 56(84) bytes of data.
64 bytes from myhost (192.168.13.55): icmp_seq=0 ttl=64 time=0.127 ms
64 bytes from myhost (192.168.13.55): icmp_seq=1 ttl=64...
hi,
knocking my head on the walls here....
I read in the API for RMIServiceExporter this :
Note: RMI makes a best-effort attempt to obtain the fully qualified host name. If one cannot be...
here is the proxy and controller like you said:
<bean id="remoteService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean" lazy-init="true" >
<property name="serviceUrl"...
I did an extra debugging.
here is :
protected Remote lookupStub() throws RemoteLookupFailureException {
try {
Remote stub = null;
if (this.registryClientSocketFactory != null) {...
hi ,
I have a problem accesing a remote service in spring using RMIServiceExporter.
on one machine I export the service like this :
<bean id="registry"...
hi,
i have a very odd problem; my app url http://localhost:8080/app/login.htm is not resolved; the controller is not called, also the only filter invoked is OpenSessionInViewFilter which opens the...
hi,
i'm using hibernate 3.2.5 ga, spring 2.0.
i have a org.springframework.jdbc.datasource.DriverManagerDataSource datasource registered and in my session factory i have also registered :
...
i want to run in my test the same code that runs on the server and act like it was on the server. Isn't this the main reason why TestContext Framework exists ?
well, since on the server...
hi,
i'm having a problem with a Spring TestContext integration test.
my test is :
public class WorkplaceTransactionalBaseTest extends AbstractTransactionalJUnit4SpringContextTests {
.........
found my problem and fix it;
i wasn't sending 2 mock request parameters and got validation errors;
it was not advancing because when validation errors occur, it reloads the current page :)
so i...
hi,
i resolved in some way the problem; i say in some way because it's not the true resolving.
i have an AbstractWizardFormController and i invoke handleRequest(request,response);
when i pass the...
hi,
i'm doing an integration test with AbstractTransactionalJUnit4SpringContextTests and a local database. And i want to go to page 0 and then to page 1 and then go processFinish().
The test is : ...
no, i'll try it, thanks.
i did like this and he shut up:
<bean name="jmsConnectionFactory" class="com.caucho.jms.ConnectionFactoryImpl">
<property name="dataSource"><ref...
thanks very much...it worked with @Autowired and @Qualifier
thanks,
Viorel
hi,
after many battles , i finnaly succedded to load the spring context and now it cracks at my test class saying :
Caused by: org.springframework.beans.factory.BeanCreationException: Could...
hi,
i searched posts for this problem and i found some stuff but i can't make it work for me.
it goes something like this:
SimpleNamingContextBuilder builder =...