Hi rbtechno,
Would you clarify what you mean? If you want to create > 1 DB user account
you'll probably have to create multiple hibernate configurations (or perhaps
do so programmatically). I'm wondering why you need to do this however,
unless you have to access 2 or more DBs. Would you elabor
That page is where I came from, but the examples use typed Dao's rather than
the Generic Dao. I got the Mgr Test working using a FooDao &
FooDaoHibernate but could never get the setUp() method to work with the
Generic Dao which I very much wanted to use. It's just these two lines here
but as I r
Hi,
I am seeing these problems as well and also started with the M5 version of
AF 2.0. When I commented out the gzip filter I get the page at
http://localhost:8080/services/ but it only lists the UserService and has
the problem with the double slash in the URL. Where is the file in which
the UR
>
> Matt
>
> On Nov 7, 2007 6:01 PM, jackalista <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I am seeing these problems as well and also started with the M5 version
>> of
>> AF 2.0. When I commented out the gzip filter I get the page at
>>
The fact that you're getting that same page for all of the URLs below seems
to indicate that the pages requested aren't there (I could be wrong on this)
as that's the impression I'm getting here. I can only get the
UserService?wsdl and the listing page at http://localhost:8080/services/ and
it do
install
>
> On Nov 7, 2007, at 10:33 PM, jackalista wrote:
>
>>
>> It's the Struts 2 modular type, perhaps that's the problem. What
>> do you do
>> to install the core module?
>>
>> Thanks!
>>
>>
>>
>> mraible wrot
mraible wrote:
>
>
> This is generated by XFire's servlet - so there's no way to fix it
> that I know of. I entered an issue for this a while back in XFire's
> JIRA.
>
> http://jira.codehaus.org/browse/XFIRE-1089
>
Ah, that's why I couldn't find it, I won't keep looking then...
mraible wro
:
>
> http://xfire.codehaus.org/Spring+QuickStart+Guide
>
> You need to register your bean in your applicationContext.xml file.
> This works for UserService because it's already registered.
>
> Matt
>
> On Nov 8, 2007 3:39 PM, jackalista <[EMAIL PROTECTED]> wrote:
&
OK, I must be doing something basically wrong with the modular archetype or
something like that. I put all the DAO and manager definitions that I
developed using the tutorial as a guide in the applicationContext.xml file
in core/src/main/resources. All the DAO and manager tests work fine with
th
cture of what's happening here?
Thanks *loads*!
Jack
Mike Horwitz wrote:
>
>
> After you make the changes in the core module, have you run mvn install
> either at the top level or in the core project?
>
> Mike
>
>
> On 12/3/07, jackalista <[EMAIL PROTECTE
mraible wrote:
>
> On Dec 4, 2007, at 8:57 PM, jackalista wrote:
>
>> So I need to run "mvn install"? From which directory? Please note
>> I'm using the modular struts2 archteype.
> ---
> You need to run i
Ah, the light comes on, finally... ok, I get the idea, thanks Matt!!
mraible wrote:
>
>
> On Dec 4, 2007, at 9:13 PM, jackalista wrote:
>
>>
>>
>>
>> mraible wrote:
>>>
>>> On Dec 4, 2007, at 8:57 PM, jackalista wrote:
>>
just start over with the
latest at this point? It seems that a fair bit has happened now since the
M5 release... what do you think?
Thanks,
Jack
On Dec 4, 2007, at 9:13 PM, jackalista wrote:
Yes, anytime you change files in "core", you have to install it so
"web" can
(I've been using AppFuse for a little while
now but have yet to integrate a new package like CXF so I've got no idea as
of yet what is involved but ...).
Thanks again...
mraible wrote:
>
> On 1/2/08, jackalista <[EMAIL PROTECTED]> wrote:
>>
>> I've bee
I'd be willing to help with this effort, not sure if this thread is still
alive but if so, ping me and I'd be glad to assist!
-=j=-
mraible wrote:
>
> If you'd like to try upgrading AppFuse from XFire to CXF, I'd be happy
> to provide assistance.
>
> Matt
>
> On 12/12/07, jchartrand <[EMAIL
n reality,
> it should be pretty simple. I'd do it myself, but there's skiing to
> do this weekend. ;-)
>
> http://appfuse.org/display/APF/Mailing+Lists
>
> Matt
>
> On Jan 11, 2008, at 3:10 PM, jackalista wrote:
>
>>
>> Somehow ext
xml and
> changing the web.xml's appropriately.
>
> Matt
>
> On 1/12/08, jackalista <[EMAIL PROTECTED]> wrote:
>>
>> OK, I posted to the thread that looked like the one you mentioned (of
>> user
>> jchartrand) and offered to help but in the mean tim
> I was also interested in this but I guess we'll have to wait until an
> official release includes the endpoint autodiscovery feature from JSR181
> annotations ported from XFire:
> https://issues.apache.org/jira/browse/CXF-1355
>
> Marcello
>
>
> jackalista wrote:
&
Hi,
I was trying this and had trouble w/ WsGen, even though I passed a -binding
xmlbeans flag and put the jar on the class path, it looks like it it missing
some jaxb related class, any clue what is wrong here?:
[code]
C:\java\xfire\xfire-1.2.6\jack\gen.client>java -cp
.;..\..\xfire-all-1.2.6.ja
Hi,
I am getting a strange error creating a new project that I suspect may have
something to do with dependencies after reading about other occurrences of
this exception but they are all old posts. I'm following the quick start
steps, running this for a struts modular archetype:
1. mvn archetyp
Hi,
I am getting a strange error creating a new project that I suspect may have
something to do with dependencies after reading about other occurrences of
this exception but they are all old posts. I'm following the quick start
steps, running this for a struts modular archetype:
1. mvn archetyp
getting the feeling I've corrupted something in my env but not sure
what. Could my mvn repository have something in it that's messing things
up?
Thanks Matt,
-=j=-
mraible wrote:
>
> On Sun, Apr 13, 2008 at 10:49 AM, jackalista <[EMAIL PROTECTED]> wrote:
>>
>>
t; firewall or it might be due to the fact that I have password enabled for
> my database and Appfuse assumption is root with no password.
> I turned off proxy, added root password to pom.xml, made jetty run on
> different port and it always fails on loading context.
>
>
>
ular app to
run "mvn" & mvn install and then cd to web to run jetty?
Thanks Matt!!
-=j=-
mraible wrote:
>
> Honestly, I don't know the answers to these questions. Sorry.
>
> Matt
>
> On Mon, Apr 14, 2008 at 12:08 PM, jackalista <[EMAIL PROTECTED]&g
now if I get it working... HTH,
-=j=-
jackalista wrote:
>
> by way of confirmation I have no passwd enabled for the DB and was still
> seeing this. I'm going yto have another go at it for a moment now and
> will post back if I get anything useful.
>
>
>
> Arash
Hey Nathan (or anyone else that knows),
Sorry to ask possibly very obvious questions but I'm new to maven too. Do I
add the jar using the groupId and artifactId of my appfuse project or do I
need to get the relevant info for the jar I want to add? I want to add a
DB2 JDBC driver to my app, so
re's stuff for
mysql and oracle but not DB2. I'm not trying to use multiple DB's BTW, just
set up appfuse for use with DB2.
tia,
--j
jackalista wrote:
>
> Hey Nathan (or anyone else that knows),
>
> Sorry to ask possibly very obvious questions but I'm new t
I'm trying to run down how to configure appfuse to use DB2 so am finding a;ll
these threads. DB2 *does* have a single zip file for version 9.5 of the DB.
What I'm not so clear on is how to set this up. Do I need to create a
profile in the top pom.xml? What other steps are involved? I'm seei
ome/jack/dnlds/java/db2/jdbc.driver/db2java.zip -DgroupId=com.ibm
-DartifactId=db2jcc -Dversion=3.50.152 -Dpackaging=jar -DgeneratePom=true
If anyone would help me figure out if this is the right approach, I'd be
very grateful, tia...
--jack
jackalista wrote:
>
> I'm trying to run down h
anyone see what I'm
doing wrong?
Thanks...
--jack
jackalista wrote:
>
> I'm piecing together the profile for DB2, if someone would comment and
> help me tweak this I'd appreciate it. I'm trying to put together some
> code in a hurry to do some performance testing and
--
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Oct 20 17:08:52 GMT-05:00 2008
[INFO] Final Memory: 16M/118M
[INFO]
----
jackalista wrote:
>
> I tried running mvn jetty:run-war after a
en I'm not sure
what all needs to be done.
Thanks man,
--jack
mraible wrote:
>
> Have you tried combining the zips into a single JAR and installing that?
>
> On Mon, Oct 20, 2008 at 4:18 PM, jackalista <[EMAIL PROTECTED]> wrote:
>>
>> One more clue: I just chec
Hey Matt,
Well, to put it more succinctly, what are the steps to configure appfuse for
*any* DB? I can abstract that for DB2 myself but I don't know what the
general approach is for appfuse 2.
Thanks dude...
--j
mraible wrote:
>
> On Tue, Oct 21, 2008 at 8:53 AM, jackali
gt; for your JDBC driver.
>
> On Tue, Oct 21, 2008 at 3:22 PM, jackalista <[EMAIL PROTECTED]> wrote:
>>
>> Hey Matt,
>>
>> Well, to put it more succinctly, what are the steps to configure appfuse
>> for
>> *any* DB? I can abstract that for DB2 myse
Hi,
The tutorial link appears to be dead, is the content up elsewhere or is
there another reference to this information? I'm looking for both Mule and
ServiceMix details if they exist. Thanks,
Jack
spasco wrote:
>
> Hi Kiran,
>
> I'm also considering re-visitng ServiceMix now that it's an
Hi,
I'm trying to create a new project and am doing the following steps:
1. run archetype mvn command for modular spring project, which runs
successfully.
2. cd into myproject and run "mvn" to do the massive download.
3. it results in this (I'll only list if from the error but can post more of
t
host:~/java/af/foo/spring/myproject$ mvn -version
Maven version: 2.0.8
Java version: 1.5.0_15
OS name: "linux" version: "2.6.24-23-generic" arch: "i386" Family: "unix"
jackalista wrote:
>
> Hi,
>
> I'm trying to create a new project
mmons-dbcp, if that's what needs to be excluded?
Thanks
mraible wrote:
>
> I would run mvn dependency:tree and look for where the older version
> of commons-collections is coming from. Then exclude it in your pom.xml.
>
> Matt
>
> On Feb 26, 2009, at 9:04 PM,
your pom, exclude commons-
> collections from it. Either that, or add a dependency for commons-
> collections:3.2 to your pom.
>
> Matt
>
> On Feb 26, 2009, at 10:04 PM, jackalista wrote:
>
>>
>> I ran that and found a reference to commons-collections 3.2
thamail:subethasmtp-smtp:jar:1.2:test
[INFO] +- commons-collections:commons-collections:jar:3.2:test (scope not
updated to compile)
jackalista wrote:
>
> I don't see *any* reference to commons nor dbcp at all. So, I'm guessing
> I need to add a dependency for commons- col
; Matt
>
> On Feb 26, 2009, at 11:02 PM, jackalista wrote:
>
>>
>> I don't see *any* reference to commons nor dbcp at all. So, I'm
>> guessing I
>> need to add a dependency for commons- collections:3.2 as you suggest
>> below.
>> To d
Hi AppFuse people,
I'm trying to follow the Ajax tutorial [at:
http://appfuse.org/display/APF/Ajax] using a *modular* struts2 project and
am trying to figure out which version of several files I need to make the
recommended changes in. The tutorial step I'm having trouble with is:
1b) make sure
Hi,
I'm looking to build a web app with embedded mule, did this thread go
anywhere and has anyone done that with 2.x appfuse? I've been following
threads in the archives but I don't see any details.
One question I have, maybe someone (Matt? One of the other core folks?) can
answer, I'm using m
Hi again,
The most substance I've found is this note talking about some (probable
verion) hell with commons:
http://www.nabble.com/Re%3A-xFire-1.2.4-integration-steps---Corrected-p10351927s2369.html
Was there ever a successful integration of appfuse with mule?
-=j=-
jackalista
with
that too but the mule part is work related so I have to keep that in
perspective. I think both an appfuse-mule and an appfuse upgraded to CXF to
be valuable, the CXF part, possiblly a "main branch" upgrade, would it not?
Thanks...
-=j=-
jackalista wrote:
>
> I'd be
CXF on trunk. Unfortunately, I'm
> traveling the next couple weeks and doubt I'll be able to knock it
> out.
>
> On Fri, Sep 25, 2009 at 4:09 PM, jackalista wrote:
>>
>> If this is necessary (or advisable) then I may be able to knock it out,
>> but I
>
Hi Nils,
I'm tryingto follow along these directions and am having trouble
understanding part of your guide. I'm using appfuse 2.0.2 with the modular
struts2 archetype, in case it matters.
I'm getting errors from both asm and cglib so I'm better I didn't put the
& stuff in the right
place.
instead of 2.1.3 but it made no
difference... Can anyone se what I'm doing wrong with the asm and cglib
stuff? tia...
--j
jackalista wrote:
>
> Hi Nils,
>
> I'm tryingto follow along these directions and am having trouble
> understanding part of your guide. I'
Are they in the right place?
>>
>> -=j=-
>>
>> On Sat, 2009-09-26 at 14:50 -0600, Matt Raible wrote:
>>
>> You still need spring-web upgraded if you're using Struts 2. You
>> should be able to use "mvn dependency:tree" to see if your
>> dep
gt;
> On Sat, Sep 26, 2009 at 3:27 PM, jackalista wrote:
>>
>> I piped "mvn dependency:tree" to a file and found this refer under
>> hibernate
>> that appears to be 1.x:
>>
>> [INFO] +- org.appfuse:appfuse-hibernate:jar:2.0.2:compile
&g
:68)
at
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
at
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
more to come...
jackalista wrote:
>
> ok got the build problem with asm and cglib resloved with this mod done to
> the core/p
perly? Does
this need to go in that list of files in the web.xml?.
-=j=-
jackalista wrote:
>
> OK, I was able to build and successfully run all my dao and mgr tests and
> did an mvn install into web as well and that went smoothly but when I went
> into the web directory to do the run w
on is java.io.FileNotFoundException: class path resource
[cxf/cxf-extension-soap.xml] cannot be opened because it does not exist
On to the next one...
jackalista wrote:
>
> I got this a bit farther. I looked the cxf.xml files available in the
> latest archive for CXF (2.2.3), and foun
o add another dependency to pull in this cxf-extension-soap.xml?
Does anyone know which one?
--j
jackalista wrote:
>
> Got this a little further, you apparently must have the cxf.xml file. I
> tried putting it in top-level-project-home/web/src/main/webapp/WEB-INF/cxf
> and in web.
re I can feel it... @#$%!
--j
mraible wrote:
>
> You should be able to import CXF files from the classpath:
>
>
>
>
>
> From http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html.
>
> Matt
>
> On Sun, Sep 27, 2009 at 1:21
on is java.io.FileNotFoundException: class path resource
[cxf/cxf-extension-soap.xml] cannot be opened because it does not exist
jackalista wrote:
>
> I mus be doing something dumb, it all looks just like the docs. The
> import statements you reference are in cxf-servlet.xml (which itself is in
pile
[INFO] | +- org.apache.cxf:cxf-rt-ws-addr:jar:2.2.3:compile
[INFO] | +- javax.xml.soap:saaj-api:jar:1.3:compile
[INFO] | \- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.2:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:2.2.3:compile
jackalista wrote:
>
> here's the error:
&g
rts in it since none of the
cxf-servlet.xml files in the CXF dist have them. Do the CXF docs say where,
when and why to use which config files? I haven't found that... If anyone
has a clear handle on this I'd love some clarification... tia...
--j
jackalista wrote:
>
> One f
ooService': Invocation of init method failed; nested exception
is javax.xml.ws.WebServiceException: java.lang.RuntimeException: Soap 1.1
endpoint already registered on address /FooService
So I guess I'll take out the endpoint in the cxf-servlet.sml file? Surgery
with a pick ax here... :)
-=j=-
jackalis
his, you know, feel free
to jump on in, Jack could use a scooby snack...
--j
jackalista wrote:
>
> OK, I got rid of my pilfered cxf.xml, and moved the imports from
> cxf-servlet.xml to applicationContext.xml otherwise leaving
> cxf-servlet.xml as is. I also added a dependency to t
own and documented in the tutorials, should I do it? I haven't
contributed to those before but will be happy to if you want. That said,
there are a few details remaining to be sorted out, like why I need an empty
cxf-servlet.xml file, for instance.
-=j=-
jackalista wrote:
>
> The w
n of these
config files and what / where /when they're needed...
-=j=-
jackalista wrote:
>
> OK, I got this working but it's not working exactly as I had expected. I
> took a cue from the java_first_spring_support sample from CXF and took the
> decl and moved it fr
but I guess that doesn't matter...
-=j=-
jackalista wrote:
>
> OK, newsflash -- you don't need the cxf-servlet.xml at all, apparently.
> You can remove the entry from web.xml and remove the cxf-servlet.xml file
> from web/src/main/webapp/WEB-INF and all appears the same.
Hi David,
Just my opinion of course but I think mule blows doors on svc mix; the same
task takes twice as much effort in svc mix and it has little of the
flexibility of mule. Spring support is there for both, but this post I'm
replying to is pretty old, take another look if you're interested. T
t as
I figure out how. I'd personally like to see it support both code first and
wsdl first dev. Hit me up and let me know what your thoughts are and I'll
plug away toward it...
--jack
jackalista wrote:
>
> I just found Nils later post on the restful services stuff here:
&g
t I can tell...
-=j=-
jackalista wrote:
>
> Hi David,
>
> Just my opinion of course but I think mule blows doors on svc mix; the
> same task takes twice as much effort in svc mix and it has little of the
> flexibility of mule. Spring support is there for both, but this post I'
Hi kids,
I'm starting to integrate mule into appfuse and was wondering if anyone has
any experience with this? My first question concerns dependencies and maven
(and yes, I did read the maven for newbies page -- Nathan, public
humiliation is the best perk of all -- no treading on thin ice == no
hem.
--j
mraible wrote:
>
> You should be able to upgrade any AppFuse dependencies w/o issues.
> Downgrading them might be a different story. The best thing to do is
> try upgrading and report back if you see any issues.
>
> Matt
>
> On Tue, Sep 29, 2009 at 3:26 PM, jac
Hi,
I was wondering if anybody here might know what's going with an exception
I've got embedding mule ESB in an appfuse app. First, mule itself uses CXF,
and I made a version of appfuse work with CXF but this problem exists with
both that and an unmodified appfuse that still uses XFire so I susp
Hi,
I'm not sure but could this be that perm gen error? I don't have the fix
handy but I think if you search for "perm gen" (case insensitive) there is a
solution in the archives here.
--j
sudhakargupta wrote:
>
> Hi Matt,
>
> Presently i'm working with appfuse 1.9 (struts) application,
type variable... I'm curious as to what had to be done to get
xfire/xmlbeans to properly map this as maybe I can do the same thing with
CXF/Aegis, does anybody know the details? I didn't see anything in
xfire-servlet.xml that seems to be related but I could be wrong.
--jack
jackalista wrote:
ml
>
> Unfortunately, I don't have a lot of experience with CXF and generics,
> so I don't know how to solve this.
>
> Matt
>
> On Tue, Oct 6, 2009 at 7:39 PM, jackalista wrote:
>>
>> Hi,
>>
>> I was wondering if anybody here might know w
type variable... I'm curious as to what had to be done to get
xfire/xmlbeans to properly map this as maybe I can do the same thing with
CXF/Aegis, does anybody know the details? I didn't see anything in
xfire-servlet.xml that seems to be related but I could be wrong.
--jack
jackalista wrote:
j=-
sudhakargupta wrote:
>
> Thanks for your reply, if there is a solution please specify the
> solution links and provide me if you have any examples
>
>
> jackalista wrote:
>>
>> Hi,
>>
>> I'm not sure but could this be that perm gen error? I
c type.
>
> Matt
>
> On Wed, Oct 7, 2009 at 1:46 PM, jackalista wrote:
>>
>> I ran full-source on a new dist to see how it's defined, I remembered
>> incorrectly, the getAll() method returns a list with generics but they're
>> parameterized, is this t
"
"-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties"
fi
--j
jackalista wrote:
>
> Hey there,
>
> I don't have the details *too* handy, I think it's a bit of settings added
> to a script in tomcat. Search the archives for "
p://0.0.0.0:/services/FooService";>
This structure does not throw any exceptions and the web app loads:
http://0.0.0.0:/services/FooService"/>
-=j=-
jackalista wrote:
>
> Thx Matt, I'll take a look at that, I now have a full-src dist for such
> things set
Hi,
I'm working through some semi thorny issues integrating mule and appfuse and
was wondering if there's an easy way to test appfuse web services. I'm
seeing some strange errors and would like to test "regular" appfuse exposed
managers as normally done via the tutorials and then do the same for
, and so far none of the tweaks I've made have broken any app fuse stuff
that I can tell, I'm able to write pages as in the tutorials and it all
works so far. I'm writing a medium sized app with this so will post any
more generally useful things as I find them. So far, I'm rela
One detail I forgot to mention; make sure to set the parent reference when
you add child instances to the set held by the parent model class. As long
as you do that you should be able to fling around object graphs and / or
their representative XML via mule and web services.
-=j=-
jackalista
Hi,
I want to create a secondary manager interface (i/f) and implementation for
an existing DAO and (hibernate) domain model class. I've been using the dao
and model class a lot so am not having trouble with them but when I tried to
create a 2nd manager i/f & impl, I got strange errors when runn
ex (I'd prefer both I think) sound good to me...
--j
jackalista wrote:
>
> Hi,
>
> I want to create a secondary manager interface (i/f) and implementation
> for an existing DAO and (hibernate) domain model class. I've been using
> the dao and model class a lot so
Hi,
I haven't used the tutorials for a while and I'm having a strange problem
where I get a hibernate exception about my Person class not being mapped:
Caused by: org.hibernate.hql.ast.QuerySyntaxException: Person is not mapped
[from Person p where p.lastName=?]
I found a post by Matt that loo
Oh, one other thing, I had to add the following additional imports to the DAO
Test to get it to compile, it would probably be best to put these in the
code shown in the tutorial:
import org.springframework.test.annotation.ExpectedException;
import org.junit.Test;
import static org.junit.Assert.*;
Hi,
I'm running through the "Expose your Mgr as Web Service" tutorial and using
the annotations as described, and also adding a line for PersonService to
cxf-servlet.xml since I found that lying around and saw the entry for
UserService in it. I'm getting a WSDL for my new PersonService but it's
Hi,
I'm using the modular struts archetype, this is my command for creating the
project:
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-modular-struts-archetype
-DarchetypeVersion=2.1.0-M1 -DgroupId=com.foo.commerce.poc -DartifactId=mdm
I am fo
Hi,
I use ubuntu as well, and used an earlier version of appfuse without issue
with ubuntu 8.04. I am having some problems with the current appfuse
2.1.0-M1 on ubuntu 10.04 using the same JDK you're using but I've seen no
reason to think this is ubuntu related, though it may be.
I also say the
Hi Ferenc,
With respect to the JDK vs. JRE issue, look at what your JAVA_HOME is set
to:
Java home: /usr/lib/jvm/java-6-openjdk/jre
See the "jre" at the end of that line? Before when you were using the sun
JDK it said the same thing, you want iit to point to the JDK home directory,
not the JR
Ferenc, I'd suggest you not try to use the maven stuff from within eclipse, I
have been doing some RESTful service dev using JBoss's "RESTEasy" code and
have run into strange dependency related problems with it relating to that
distribution too. I have in the past seen issues like this with appfu
OK I was also having the same problem with "mvn install eclipse:eclipse" that
Ferenc was having, so I set the version from 2.7 --> 2.5.1 as Matt suggested
and the command succeeded this time, thanks Matt.
I'm going to try to follow the tutorials "to the letter" and see if this
changes anything, a
Ooops, didn;t see this, thanks Matt.
Matt said:
---
Do you have implementations of PersonDao in your project? If so, does it
contain a @Repository annotation?
---
Yes indeed, it looks like this:
@Repository("personDao")
public class PersonDaoHib
OK, I'm *not* going to use the package from the tutorial code... Since the
archetype creation went and created the folders for my packages, it looks
like that is working properly, and so I'm guessing (but don't know for sure)
that this package thing isn't the problem... ifanybody knows differently
Yes, I saw that, it's set to the correct package, this is from
core/src/main/resources/applicationContext.xml:
I am thinking that this is not related to that strange new exception, but do
you disagree? Should I regenerate a project using org.appfuse.tutorial?
--
View this message in context
Thanks, what's your email address? [or how do you want me to get it to you,
it's been a while since I've done this so I've lost your coordinates].
I will run through the rest of the dao test stuff and see if I can solve
this myself but will send it to you if I get back to the same exception;...
-
I was talking about the JNDI thing, which I understood to be the exception
you hadn't seen before...
--
View this message in context:
http://appfuse.547863.n4.nabble.com/problem-with-hibernate-tutorial-imports-for-annotations-tp2541421p2542598.html
Sent from the AppFuse - User mailing list archi
OK, there are for sure missing imports in the tutorial code, I'm not sure if
this is contributing tpo the problem I"m seeing but I'm going to detail the
things I did to resolve it:
1. added import static org.junit.Assert.*; to my PersonDaoTest
2. added import org.junit.Test; to same test class
3.
OK, I have a zip file for ya (435.5 KB). Interestingly, even though that
test blew up with that exception, looking atthe MySQL DB, there is indeed a
Matt raible now in the person table...
--
View this message in context:
http://appfuse.547863.n4.nabble.com/problem-with-hibernate-tutorial-import
OK, I think I see one problem, there used to be a statement in the tutorials
(which is now missing it looks like) that had you change the XML for the
generic DAO to be your own implementation and that isn't there before but
I'm betting one still needs to do that... I don't think I have any old
pro
I looked at the tutorial a little more closely, and the implication *seems*
to be that the annotation (@Repository) is an alternative to changing the
XML in applcationContext.xml. I commented out the XML declaration that
refers to the generic DAO and I am now not getting as many errors, just the
OK, I tried using the following XML in applicationContext.xml and it made no
difference, both with the @Repository annotation present and with it
removed:
I'm going to try to add some language to the tutorial about commenting out
the generic DAO reference in applicationContext.xml, as that did
1 - 100 of 108 matches
Mail list logo