Hi again,
I do
mvn jetty:run-war -P oracle
When Jetty starts, it immediately stops with the following error:
2007-10-31 16:29:54.141::INFO: jetty-6.1.5
2007-10-31 16:29:54.172::INFO: Extract
jar:file:/C:/java/workspaceUMT/UMT/web/t
arget/UMT-webapp-1.0-SNAPSHOT.war!/ to
C:\java\workspaceUMT\UMT\web\target\work\
webapp
2007-10-31 16:29:59.764::WARN: Could not instantiate listener
com.opensymphony.
clickstream.ClickstreamListener
java.lang.ClassNotFoundException:
com.opensymphony.clickstream.ClickstreamListen
er
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
oader.java:195)
Any ideas?
Thx
Christian
________________________________
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: woensdag 31 oktober 2007 15:49
To: [email protected]
Subject: Re: [appfuse-user] Data Access Failure
One thing to check is that the interface used by your manager extend the
generic manager interface (or declare all the methods you want to make
transactional). It is worth noting that the advice is applied on the
basis of the interface and not the implementation. In these cases I
always find the stack traces useful in terms of working out which
aspects have been applied.
Mike.
On 10/31/07, Daniel Kibler <[EMAIL PROTECTED]> wrote:
I'm still plagued by this issue. It's the same if I'm doing jetty:run or
jetty:run-war. I still cannot save any objects that use their own
Manager. I
found the statement below about transactions for managers in the Service
Tutorial. Could it be that this adviceis not happening for my managers?
Transactions
All service.*Manager beans will automatically be configured by Spring to
wrap PROPOGATION_REQUIRED transactions around their method executions.
This
is done by the following Spring AOP configuration in
appfuse-service.jar.
<aop:config>
...
<aop:advisor id="managerTx" advice-ref="txAdvice"
pointcut="execution(* *..service.*Manager.*(..))" order="2"/>
</aop:config>
--
View this message in context:
http://www.nabble.com/Data-Access-Failure-tf4708700s2369.html#a13510596
Sent from the AppFuse - User mailing list archive at Nabble.com.
Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925
0452, SWIFT : BBRUBEBB
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]