Search:

Type: Posts; User: drfence; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. The api has changed in glassfish v3: ...

    The api has changed in glassfish v3:
    ...
  2. The javadocs point to using the glassfish...

    The javadocs point to using the glassfish version. I'm not sure how I would get this one to be managed.

    On JBoss and GlassFish, a similar facility is available through the JCA WorkManager. See...
  3. The problem is that this call is missing now in...

    The problem is that this call is missing now in the runtime jar:

    WorkManagerFactory.getWorkManager(java.lang.String)

    So perhaps they want a proper jndi lookup. The create-thread-pool command...
  4. Spring 2.5.6. Where did you verify the glassfish...

    Spring 2.5.6. Where did you verify the glassfish api?
  5. GlassFishWorkManagerTaskExecutor spring and glassfish v3 exception

    This previously worked in glassfish v2.1:


    <bean id="threadPool" class="org.springframework.jca.work.glassfish.GlassFishWorkManagerTaskExecutor">
    <property name="threadPoolName"...
  6. udpated stack trace

    I've attached a file with the full stack trace. Here is a subset with stuff cut out to get it in under the 10k char limit:



    er#getTransaction:371) - Creating new transaction with name [null]:...
  7. I recently fixed our indexing using the same...

    I recently fixed our indexing using the same settings. However now I see lazy initialization errors. Did you have any problems like this?


    rg.hibernate.LazyInitializationException: failed to...
  8. hibernate-search indexing via event handlers and transactions

    Here is the configuration I'm using with hibernate, spring and hibernate-search:

    http://forum.hibernate.org/viewtopic.php?p=2406295#2406295

    I've copied the relevant config here



    ...
  9. dooh ... :o)

    dooh ... :o)
  10. context initialization failed passing params via url to mysql

    I'm trying to pass a few parameters to mysql via like this:


    <bean id="appDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" destroy-method="close">
    <property...
  11. Replies
    0
    Views
    886

    Transactions and large ScrollableResults

    I have the typical dao + service architecture and I'm scrolling through large result sets using ScrollableResults (> 250,000 rows). I have several classes:

    BookService
    HistoryService
    BookLoader...
  12. I was having the same problems using...

    I was having the same problems using AbstractTransactionalDataSourceSpringContextTests and junit. This is my search code:


    FullTextSession fullTextSession =
    ...
  13. org.hibernate.sessionexception: session is closed - outside tomcat

    I'm trying to take my existing spring config that runs fine in tomcat and call it via a standalone java program.

    I'm using hibernate 3 with hibernate search.

    I get this:

    ...
  14. I just started having this same problem with...

    I just started having this same problem with Tomcat 5.5 on CentOS. I'm not using custom tags but if I drop a new war into the webapps directory things blow up. I've even tried multiple version of...
  15. Replies
    2
    Views
    2,385

    That was it, thanks. This is what happens when...

    That was it, thanks.

    This is what happens when you stay up past midnight after your 16 month old has kept you up the past week with a stomach virus :confused:
  16. Replies
    2
    Views
    2,385

    Velocity + MailPreparationException

    I have started using velocity and I made a simple unit test that runs great. I then deploy it to my container and I get this:


    org.springframework.mail.MailPreparationException: Could not...
  17. Replies
    1
    Views
    876

    acegi + tomcat + apache

    I have acegi + spring + tomcat working great. I'm now trying to workout how this will fit with my Apache config.

    I'd like to serve up all my html files (login included) via apache and use server...
  18. Replies
    13
    Views
    2,197

    works!

    Chapter 9 is a great read on transactions.

    After I read this plus Chapter 12 on declarative transaction demarcation I was good to go.

    I got it working very quickly and it's really some...
  19. Replies
    13
    Views
    2,197

    Well I thought this was the "easy" way to do...

    Well I thought this was the "easy" way to do things :-)

    I'll look into the declarative transactions.
  20. Replies
    13
    Views
    2,197

    Right saw that too in the Hibernate docs. So I...

    Right saw that too in the Hibernate docs. So I added this param


    <prop key="hibernate.current_session_context_class">org.hibernate.context.ThreadLocalSessionContext</prop>

    and I get this:

    ...
  21. Replies
    13
    Views
    2,197

    I read the exact same line and thought "oh great...

    I read the exact same line and thought "oh great the LocalSessionFactoryBean supports Hiberantes new getCurrentSession() scheme equivalent to the ThreadLocal trick"
  22. Replies
    13
    Views
    2,197

    It looks like this: ...

    It looks like this:


    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    ...
  23. Replies
    13
    Views
    2,197

    DAOs + plain hibernate

    So I read this and thought great:

    http://www.springframework.org/docs/reference/orm.html#orm-hibernate-straight

    However I just can't get this to work. I get this:

    ...
  24. Replies
    8
    Views
    3,294

    I just noticed this too .. it's completely empty....

    I just noticed this too .. it's completely empty. Can I get this from the source or a nightly snapshot? I didn't see it in the snapshot.
  25. Replies
    3
    Views
    1,113

    I was just going to post this too ... that link...

    I was just going to post this too ... that link is VERY helpful.

    Thanks,
    Mark
Results 1 to 25 of 26
Page 1 of 2 1 2