Search:

Type: Posts; User: viorel.chelaru; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.13 seconds.

  1. resolved the problem by adding another OSIVF: ...

    resolved the problem by adding another OSIVF:

    <filter>
    <filter-name>openSessionInViewFilterOne</filter-name>...
  2. I forgot to mention one little aspect :), sorry,...

    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...
  3. OpenSessionInViewFilter +Tiles 2.1.2 = LazyInitializationException

    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...
  4. Replies
    6
    Views
    28,059

    hi, cleared the problem. I had a very messed up...

    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...
  5. Replies
    6
    Views
    28,059

    thanks for the reply. I tried with this and...

    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;
    ...
  6. Replies
    6
    Views
    28,059

    @Id ...

    @Id
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Column(name="trunkgroup")
    private int trunkgroup;
    @Column(name="name")
    private String name;
    @Column(name="valid")
    ...
  7. Replies
    6
    Views
    28,059

    No identifier specified for entity

    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...
  8. isssue resolved. I tried again to use...

    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...
  9. hi, tried with the ip in url, not working and I...

    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...
  10. ping myhost PING myhost (192.168.13.55) 56(84)...

    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...
  11. hi, knocking my head on the walls here.... I...

    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...
  12. here is the proxy and controller like you said: ...

    here is the proxy and controller like you said:

    <bean id="remoteService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean" lazy-init="true" >
    <property name="serviceUrl"...
  13. I did an extra debugging. here is : protected...

    I did an extra debugging.
    here is :

    protected Remote lookupStub() throws RemoteLookupFailureException {
    try {
    Remote stub = null;
    if (this.registryClientSocketFactory != null) {...
  14. accessing remote spring service at localhost BUG ??

    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"...
  15. Replies
    0
    Views
    575

    url not resolved

    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...
  16. IdTransferringMergeEventListener problem

    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 :
    ...
  17. i want to run in my test the same code that runs...

    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...
  18. Problem with OpenSessionInViewInterceptor in Spring TestContext Framework

    hi,
    i'm having a problem with a Spring TestContext integration test.
    my test is :

    public class WorkplaceTransactionalBaseTest extends AbstractTransactionalJUnit4SpringContextTests {
    .........
  19. rehi,

    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...
  20. re

    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...
  21. TestContext integration test: test AbstractWizardFormController not advancing

    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 : ...
  22. re

    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...
  23. thanks very much...it worked with @Autowired and...

    thanks very much...it worked with @Autowired and @Qualifier

    thanks,
    Viorel
  24. TestContext problem: Could not autowire method??? but i use @Resource

    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...
  25. integration testing problem : JMS ConnectionFactory jndi lookup

    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 =...
Results 1 to 25 of 40
Page 1 of 2 1 2