it seems that mvn is not using the java opts.
after:
mvn clean jetty:run
when i look with ps auxwf i get this:
tibi 16477 20.4 15.1 288240 155488 pts/1 Sl 10:30 0:18
| \_ /etc/java-config-2/current-system-vm/bin/java -classpath
/home/tibi/progs/maven-2.0.4/core/boot/classworlds
You might try setting your MAVEN_OPTS environment variable.
Matt
On 5/4/07, tibi <[EMAIL PROTECTED]> wrote:
it seems that mvn is not using the java opts.
after:
mvn clean jetty:run
when i look with ps auxwf i get this:
tibi 16477 20.4 15.1 288240 155488 pts/1 Sl 10:30 0:18
| \_
i have two question about
http://appfuse.org/display/APF/Using+Hibernate
one is in application context is should enter this:
but the constructor is:
public PersonDaoHibernate() {
super(Person.class);
}
so i gues the contructor argument is not ne
you are fast and correct... thanks
tibi
Matt Raible wrote:
You might try setting your MAVEN_OPTS environment variable.
Matt
On 5/4/07, tibi <[EMAIL PROTECTED]> wrote:
it seems that mvn is not using the java opts.
after:
mvn clean jetty:run
when i look with ps auxwf i get this:
tibi 1647
mmm ganging names to end with manager is not working.
in my dao i have
@Transactional(readOnly = false)
but that is not working either.
help needed...
thanks
tibi
tibi wrote:
i have two question about
http://appfuse.org/display/APF/Using+Hibernate
one is in application context is should ent
On 5/4/07, tibi <[EMAIL PROTECTED]> wrote:
i have two question about
http://appfuse.org/display/APF/Using+Hibernate
one is in application context is should enter this:
but the constructor is:
public PersonDaoHibernate() {
super(Person.class);
}
The tutori
not require a constructor argument. The correct configuration snippet
for such a case is included at the end of the tutorial.
ok missed that sory
It all depends on how you access your DAO from your web pages.
Normally you only access your DAO through a manager class, which is
where the trans
in my daoHibernate class and interface i put:
@Transactional(readOnly=false)
but still the same error...
tibi
tibi wrote:
not require a constructor argument. The correct configuration snippet
for such a case is included at the end of the tutorial.
ok missed that sory
It all depends on how y
ok i will need to make a manager like this
http://appfuse.org/display/APF/Services
and simply expose all my methods from my doa to the manager ?!
tibi
tibi wrote:
in my daoHibernate class and interface i put:
@Transactional(readOnly=false)
but still the same error...
tibi
tibi wrote:
not
ok i made my EventSpanManager which exposes all the dao methods.
in my action i now have
GenericManager eventSpanManager;
still get the same error...
tibi
tibi wrote:
ok i will need to make a manager like this
http://appfuse.org/display/APF/Services
and simply expose all my methods from m
ok i still have this error. i'm i bit lost where to look.
this is my situation.
when i use the generalmanager all was fine
now i want to make my own dao
so i made a dao interface and implemented it.
i made a manager interface and implemented it and i change my
applicationcontext like this:
the strange thing is that i get the error message. but the data gets
inserted into the db
tibi
tibi wrote:
ok i still have this error. i'm i bit lost where to look.
this is my situation.
when i use the generalmanager all was fine
now i want to make my own dao
so i made a dao interface and
Could provide a stack trace so we can try and help you?
Mike.
On 5/4/07, tibi <[EMAIL PROTECTED]> wrote:
the strange thing is that i get the error message. but the data gets
inserted into the db
tibi
tibi wrote:
> ok i still have this error. i'm i bit lost where to look.
> this is my sit
offcourse:
cdoe--
log.debug("start saving id:" + eventSpan.getId());
try {
eventSpanManager.save(eventSpan);
} catch (Exception e) {
log.debug("error:", e);
}
---log-
[topnet] DEB
check:
package nl.topticketline.topnet.service;
import java.util.List;
import nl.topticketline.topnet.dao.EventSpanDao;
import nl.topticketline.topnet.model.EventSpan;
import org.appfuse.service.impl.GenericManagerImpl;
public class EventSpanManagerImpl extends GenericManagerImplLong> impleme
basic archetype
i have run mvn install (but long time ago) en always use clean
tibi
Michael Horwitz wrote:
O.K. Next check: Are you using a modular or a basic archetype? If
modular have you run mvn install at the top level? Have you tried
running mvn clean to clean everything down?
Mike
On
Hi,
I get the following error dont know what is happening?
Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL):
Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker
from transaction definition.
My code is
PersonManagerImpl
public class PersonManagerI
Hi,
I get the following error dont know what is happening?
Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL):
Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker
from transaction definition.
My code is
PersonManagerImpl
public class PersonManagerI
hee check out my discussion have the same problem:
title:
using hibernate example
tibi
Sutapa Dutta wrote:
Hi,
I get the following error dont know what is happening?
Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL):
Turn your Session into FlushMode.COMMIT/AUTO or rem
maybe off road...
when i run in debug and follow the flow i end up here:
==> there is the invocationTargetEcveption thrown...
AopUtils
public static Object invokeJoinpointUsingReflection(Object target,
Method method, Object[] args)
throws Throwable {
// Use reflection to inv
Matt,
For your projects what do you do?
I have used all three. Just wanted to know which path will be the least
painful to maintain in the future.
Regards,
Thomas
Matt Raible wrote:
Here's an issue for the datepicker - feel free to re-open it or add to
it if there's things we can improve.
htt
Hi David,
The url
http://localhost:8080/struts/dojo/dojo.js
seems to be invalid.
All the others seem to be ok. eg.
http://localhost:8080/struts/CommonFunctions.js
http://localhost:8080/struts/ajax/dojoRequire.js
http://localhost:8080/struts/simple/dojoRequire.js
Picked this up from firebug.:
After removing the staicFilter altogether I seem to be getting dojo.js
but now there are a whole lot of dependecies failing eg.
http://localhost:8080/struts/dojostruts/widget/Bind.js
http://localhost:8080/struts/dojostruts/__package__.js
looks like the
baseRelativePath: "/struts/dojo",
shoul
i will check in the mean time:
i'm looking at this:
protected void checkWriteOperationAllowed(Session session) throws
InvalidDataAccessApiUsageException {
if (isCheckWriteOperations() && getFlushMode() != FLUSH_EAGER &&
session.getFlushMode().lessThan(FlushMode.COMMIT))
contextConfigLocation
classpath*:/applicationContext-resources.xml
classpath*:/applicationContext-dao.xml
classpath*:/applicationContext-service.xml
classpath*:/applicationContext.xml
/WEB-INF/applicationContext*.xml
My guess is that sitemesh is you have a problem with sitemesh...
Just add the action url that shows this page to the decorators.xml to
make sure
/testAction.aspx
/struts/dojo/*
/resources/*
Thomas Ramapuram wrote:
After removing the staicFilter altogether I seem to
Hello girls/guys,
I followed this post(http://wiki.apache.org/struts/StrutsFileDownload)
to implement a download action within my application based on Appfuse
1.9.4 with Struts favor. The download action works fine and I can
download a pdf file to my disk but the pdf is broken by adding the
h
Hello girls/guys,
I followed this post(http://wiki.apache.org/struts/StrutsFileDownload)
to implement a download action within my application based on Appfuse
1.9.4 with Struts favor. The download action works fine and I can
download a pdf file to my disk but the pdf is broken by adding the
h
What I guessed is right it is a problem with struts
/template/simple/head.ftl
Just override it
create head.ftl in webapp/template/simple and paste the text below.
Works just fine. Only thing. The css does not render the calendar too
well.
// Dojo configuration
djConfig = {
Actually you do not need to change your extensions or remove static filters.
Just change static filters from
/scripts/dojo/* to /struts/dojo/*
Add
/struts/dojo/*
to decorators.xml
add a file called head.ftl in src/main/webapps/template/simple with the
contents given below
===
Michael Horwitz posted a solution a while back (here it is):
Michael Horwitz wrote:
> I inlcuded this in a separate css style file to overide the typo.css
> styling (no need to comment out anything in typo.css):
>
> /**
> * Overide the settings from typo.css to make sure the Dojo calendar
> drop
OK. I finally got this to work, thanks to your help. But it sure was a pain
in the arse.
The little startup I'm involved in is working on several appfuse based
projects and the purpose here is to lower deployment/hosting costs.
Installing a new instance of tomcat on a new host every time we want
Firstly, sorry for the duplicate post.
Well, I solved the problem by playing with sitemesh for a couple of
hours. And finally find out that I need to exclude the action path from
the decorators.xml. Sitemesh is good but obvious I need to watch out it
in the future :)
Best wishes,
Haotian Su
Thanks for posting the solution back to this list!
Matt
On 5/4/07, Haotian Sun <[EMAIL PROTECTED]> wrote:
Firstly, sorry for the duplicate post.
Well, I solved the problem by playing with sitemesh for a couple of
hours. And finally find out that I need to exclude the action path from
the decor
SiteMesh is the filter you are looking for. There is a sitemesh.xml file that
configures which URI's to decorate or which to exclude from decoration.
Nathan
- Original Message -
From: "Haotian Sun" <[EMAIL PROTECTED]>
To: "appfuse-user"
Sent: Friday, May 4, 2007 7:52:53 AM (GMT-0800
did you find a solution??
tibi
tibi wrote:
hee check out my discussion have the same problem:
title:
using hibernate example
tibi
Sutapa Dutta wrote:
Hi,
I get the following error dont know what is happening?
Write operations are not allowed in read-only mode
(FlushMode.NEVER/MANUAL):
Tur
Changed my pom.xml to use the plugin suggested. However, still did not work.
Interestingly enough, when I turn on the debug option, I see the following
message
Configuring mojo
'org.codehaus.mojo:aspectj-maven-plugin:1.0-beta-2:compile' -->
[DEBUG] (s) argumentFileName = builddef.lst
[DEBUG]
37 matches
Mail list logo