[appfuse-user] Hibernate problem

2008-01-24 Thread jithesh
Hi, I was recently upgraded my websphere application server from 1.1 to 2.0. But while deploying i am getting the following error. I am using appfuse 1.9.4 for my web application. the log information is given below. ---server.log 12:14:29,5

Re: [appfuse-user] NullPointerException from personList.jsp

2008-01-24 Thread Allan Ang
perhaps you could post org.appfuse.dao.jpa.GenericDaoJpa.java besides, the naming convention should be org.appfuse.jpa.dao.{classname} where {org.appfuse.jpa} is your project package name defined in your pom.xml in the groupId attribute. Failure to do this might result in incorrect running of te

Re: [appfuse-user] Can Hibernate map this ?

2008-01-24 Thread Dale Newfield
emmettwalsh wrote: and if im right your answer would be something like - the discriminating column is purely for creating the right objects with the extra behaviour needed. So if in fact a user did have an admin and a producer role, then the discriminating column would just have a value of 'PRODU

Re: Re: [appfuse-user] compile error when after executing full-source goal - how maven calculate the dependency ?

2008-01-24 Thread chinofish
I use AppFuse 2.01. the command is as follows: mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.1 -DgroupId=com.mycompany.app -DartifactId=myproject =

Re: [appfuse-user] InitAplication class

2008-01-24 Thread Michael Horwitz
Probably easier to simply do it in Spring Mike On 1/24/08, Leo Barrientos C. <[EMAIL PROTECTED]> wrote: > > Hello, > > I need to instanciate a class when my .war is deployed ... it is posible > in appfuse usinf web.xml and ConfigServlet class? > > Thanks in advance. > > > > -- > Leo Barrient

[appfuse-user] InitAplication class

2008-01-24 Thread Leo Barrientos C.
Hello, I need to instanciate a class when my .war is deployed ... it is posible in appfuse usinf web.xml and ConfigServlet class? Thanks in advance. -- Leo Barrientos C. Responsable de operaciones - OpenSistemas Madrid. www.opensistemas.com Madrid: 902 10 73 96 Móvil: 662319448 España. -

Re: [appfuse-user] compile error when after executing full-source goal - how maven calculate the dependency ?

2008-01-24 Thread feusebio
also i get this error to, when i try add jCaptcha, but i used "Struts 2 Modular" and "Spring MVC Basic", at the last i fixed the error with diferent dependency jCaptcha version. Perhaps you don't use jCaptcha lib, but it can be some other lib. chinofish-2 wrote: > > I faced a weired problem. >

Re: [appfuse-user] Appfuse .war in tomcat

2008-01-24 Thread Matt Raible
After deploying and starting your application in Tomcat, you might look at your $CATALINA_HOME/logs/localhost*.log files - they sometimes contain the information you're looking for. Matt On 1/24/08, Leo Barrientos C. <[EMAIL PROTECTED]> wrote: > Mike - thx a lot for helping me. No errors using mv

Re: [appfuse-user] compile error when after executing full-source goal - how maven calculate the dependency ?

2008-01-24 Thread Matt Raible
Which version of AppFuse did you use to create your project? I can try to reproduce the problem, but only if I know which version you used to create your project. Matt On 1/24/08, chinofish <[EMAIL PROTECTED]> wrote: > some more information: > > after i execute > > mvn appfuse:full-source > > i c

Re: [appfuse-user] Can Hibernate map this ?

2008-01-24 Thread emmettwalsh
Im still a bit confused ..but if I understand , i think you are telling me to put a new column in the base class and use this as the discriminating column. which leads me to this question- But if I do this, then what would the value be in it for say a user that is for example an ADMIN role an

Re: [appfuse-user] Appfuse .war in tomcat

2008-01-24 Thread Leo Barrientos C.
Mike - thx a lot for helping me. No errors using mvn jetty:run war . The .war has all the library needs to run - like: Hibernate, etc ? This is the output from testing finish section: == Results : Tests run: 19, Failures: 0, Errors: 0, Skipped: 0 [INFO] [dbunit:ope

Re: [appfuse-user] Appfuse .war in tomcat

2008-01-24 Thread Michael Horwitz
It looks like there is an error wiring up the Spring beans in your application. If you start the app using Jetty on the command line (mvn jetty:run-war) does everything start properly? If not does it give you some additional details/error messages? If you are running Tomcat on Windows is there any

Re: [appfuse-user] Appfuse .war in tomcat

2008-01-24 Thread Leo Barrientos C.
Mike: The log (Catalina) says: INFO: Deploying web application archive discusion_documentos-0.2.war Jan 24, 2008 10:36:31 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jan 24, 2008 10:36:31 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/discusi

Re: [appfuse-user] Appfuse .war in tomcat

2008-01-24 Thread Michael Horwitz
Are there any more details in the Tomcat logs? And can you access the application via a browser? Mike On 1/24/08, Leo Barrientos C. <[EMAIL PROTECTED]> wrote: > > Hello, i've got this error on tomcat5 manager: > > FALLO - No se pudo arrancar la aplicación en trayectoria de contexto > On English s

Re: [appfuse-user] Appfuse-app and Java 1.4 / Retrotranslator problems

2008-01-24 Thread Yopy
Righty, I'll try that when I get home tonight (seeing that the proxy over here denies access to everything with 'irc' in the title). I'll report the solution (if any) here, I've seen way too many issues that apparently were solved without the actual answer on the 'nets. I'll also post some inform

[appfuse-user] Appfuse .war in tomcat

2008-01-24 Thread Leo Barrientos C.
Hello, i've got this error on tomcat5 manager: FALLO - No se pudo arrancar la aplicación en trayectoria de contexto On English should be like: FAILURE: Aplication cannot start on context-trayectory I missing something? . I'm using appfuse 2, Spring MVC - HIBERNATE. JDK 1.6 Thanks in advance