Questions tagged [appfuse]

AppFuse is a full-stack framework for building web applications on the JVM. It was originally developed to eliminate the ramp-up time found when building new web applications. Over the years, it has matured into a very testable and secure system for creating Java-based webapps.

appfuse
Filter by
Sorted by
Tagged with
237 votes
32 answers
779k views

Tomcat: How to find out running Tomcat version?

I'm trying to get Appfuse + Tomcat + jRebel working. Appfuse by default uses Cargo to download tomcat (ver. 7.0.33) and deploy the application to it. I wish to use an already installed tomcat (ver. 7....
Yichz's user avatar
  • 9,521
31 votes
2 answers
48k views

Get HttpServletRequest in Jax Rs / Appfuse application?

I created a basic application shell with AppFuse, and followed the AppFuse tutorial to create a a simple RESTful service with Jax-RS. That works just fine. A call to http://localhost:8080/services/...
prototype's user avatar
  • 7,571
9 votes
12 answers
9k views

appfuse vs roo - what would you use

Appfuse vs. Roo, what would you use and why? What are the sweet spots of each.
7 votes
3 answers
10k views

fn JSTL not supported

when am using ${fn:contains()}" it causes the following exception: org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported How can i solve this exception? and ...
Ali's user avatar
  • 115
6 votes
1 answer
9k views

org.hibernate.exception.SQLGrammarException: ORA-01747: invalid user.table.column, table.column, or column specification

I am using Appfuse to develop my application. I got an exception as below. I guess the hibernate mapping had a problem with special column name ADSL_DEVICE.VALIDATE (using notation) cause errors. ...
Vunb's user avatar
  • 494
6 votes
3 answers
903 views

What is the purpose of Managers / Transactions?

I'm building a spring application for the first time. I'm running into lots of problems with concurrency, and I suspect that there is something wrong with the way I'm managing the backend. The only ...
maxdj's user avatar
  • 427
6 votes
4 answers
4k views

spring roo vs appfuse generate service /dao layer

I am looking for feedback from experienced users on spring roo and appfuse. Which do you think does a better job reverse engineering database tables and generating a service layer, dao layer, and jpa ...
cometta's user avatar
  • 35.4k
5 votes
2 answers
13k views

unable to create project from archetype in springsource

I am trying to create a AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC using spring source. But I am getting the following error. Unable to create project ...
ajm's user avatar
  • 13.1k
5 votes
3 answers
3k views

Different configuration file for dev and prod using Maven

I have to different log4j.xml and property files which are to be used in Dev and Production. I am using maven for building and packaging. Is there a way I can let maven choose dev or prod by a ...
Abhishek's user avatar
  • 6,870
4 votes
4 answers
2k views

How to properly setup a multi module SpringMVC application created by appfuse in Eclipse?

I am trying to setup a multi module SpringMVC appfuse applicaiton in Eclipse but it seems that I'm facing lots of errors in Eclipse after I import the project in Eclipse. Can anyone please help me ...
Mozammel's user avatar
  • 1,051
3 votes
2 answers
7k views

Use an alternative Maven Profile during test phase

I'm trying to build an application starting from an Appfuse Archetype, but I get some strange problems. For once I'd like to use a hsqldb for automated unit tests and integration tests, and a mysql db ...
cdecker's user avatar
  • 4,577
3 votes
1 answer
2k views

Maven skinny war with warpath

I have a project where 3 war-modules are packaged in an ear-module. My problem is that each of the library jars are included in each of the war-modules, as well as in the ear-module, which makes the ...
Tobb's user avatar
  • 12k
3 votes
2 answers
633 views

jQgrid filterToolbar fails with searchOnEnter

I have an exposed web service that returns data in either JSON or XML. I've set up a JSP page and added in jQgrid. The data displays just fine, however when I try to filter the results with ...
Bobby King's user avatar
2 votes
4 answers
4k views

/struts/webconsole.html is still working after setting Struts2 devMode=false

I set the following configuration parameters in struts.xml: <constant name="struts.devMode" value="false" /> <constant name="struts.configuration.xml.reload" value="true" /> <constant ...
Parmanand's user avatar
  • 355
2 votes
3 answers
993 views

what's the matter about appfuse,please

when run the command:mvn jetty:run in the web directory,it's the error message: [WARNING] The POM for com.mycompany:core:jar:1.0-SNAPSHOT is missing, no dependency information available [INFO] -------...
Lu Jimmy's user avatar
2 votes
1 answer
933 views

Comments & experience with hibernate-generic-dao and the likes? [closed]

I had a hard time writing my own generic search method (Using SearchCriteria DTO) in my DAO's. So I decided to look for a generic DAO Open-Source library and see how they do it. I've been reading ...
thirdy's user avatar
  • 612
2 votes
1 answer
3k views

Flash Attributes are not working

I have got an Spring MVC project (AppFuse) and Flash attributes are not transmitted to the GET request. What I do: In the transmitter method: @RequestMapping(method = RequestMethod.POST) public ...
JRr's user avatar
  • 1,571
2 votes
1 answer
212 views

How to deploy SpringMVC to heroku with postgres default data

I have an appfuse app(Spring MVC + hibernate) I would like to deploy on heroku. The app has already been pushed to heroku master and the app seems to be running but the postgres dev keeps ...
iecanfly's user avatar
  • 648
2 votes
1 answer
4k views

while running mvn jetty:run showing the following error

C:\source\myproject>mvn jetty:run [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Spring MVC Application [INFO] ...
munna's user avatar
  • 314
2 votes
1 answer
200 views

Errors in Stuts2 appfuse app in Eclipse

I have build a Stuts2 multimodule app using Appfuse archetype from Eclipse Juno. It works fine when ran through MVN Jetty:run. But When I try to validate the project in Eclipse , it is giving me ...
Mohamed's user avatar
  • 35
2 votes
0 answers
404 views

Appfuse Persistent Perm gen space

I'm developing an application with appfuse. Everything is working well, but when i deploy it on Tomcat (6 and 7), i get the next error: Perm gen space. I modified catalina.bat file adding this line: ...
jzafrilla's user avatar
  • 1,436
2 votes
0 answers
1k views

Why does maven-resources-plugin copy files multiple times (appfuse-basic-spring-archetype v2.1.0)

When successfully running >mvn package on an appfuse-basic-spring-archetype v2.1.0 project, the console output displays: [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ ...
cdhabecker's user avatar
  • 1,703
2 votes
1 answer
1k views

sendRedirect to another domain not working in Appfuse application

I have created a new Appfuse 2.1.0 struts2 application and from the servlet i want to redirect to https://gmail.com, i have used the following code: response.sendRedirect("https://...
Pawan's user avatar
  • 273
1 vote
2 answers
370 views

How to deploy appfuse on cloudfoundry or elsewhere?

I would like to deploy appfuse into cloudfoundry. When I run these unix commands: mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring-...
Hurve's user avatar
  • 173
1 vote
1 answer
4k views

AppFuse + wicket: No qualifying bean of type [org.hibernate.SessionFactory]

I have a small application written in AppFuse (multi-modular project). I want to try to use the Apache Wicket to make some kind of UI. Since AppFuse is based on Spring I found a tutorial for using ...
Cajova_Houba's user avatar
1 vote
1 answer
2k views

Deploying Appfuse Spring MVC project to Tomcat direcly from STS - ERROR

I am trying to deploy my project to Tomcat using STS. My project is building (installing) ok. But when I try to run tomcat:run it is not working. I am getting this error. SLF4J: Failed to load ...
diyoda_'s user avatar
  • 5,352
1 vote
2 answers
4k views

POM.xml Shows errors - Beginner

I created a project using the following command mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-light-spring-security-archetype -...
Illep's user avatar
  • 16.6k
1 vote
2 answers
2k views

import org.appfuse.webapp.action.BaseAction cannot resolve

i was following the guide http://appfuse.org/display/APF/Using+Struts+2 to make a simple appfuse site, but i got an error while compiling with Maven, which is reporting org.appfuse.webapp.action....
Mythox's user avatar
  • 883
1 vote
1 answer
335 views

appfuse: should I configure jdbc credentials twice?

New to appfuse - I like the concept. I configured the username/password to the database in jdbc.properties. It didn't work. So I also configured my credentials in pom.xml Why is it so? Am I doing ...
flybywire's user avatar
  • 267k
1 vote
1 answer
3k views

IBM WebSphere 8.5.5.8(Liberty) + Spring Security 3.1.3.RELEASE

We have a sample web application built on appfuse starter kit version 2.2.1 which uses Spring security 3.1.3.RELEASE. We are going to deploy it on WAS 7 and we are testing it on IBM WebSphere 8.5.5.8(...
Kayvan Tehrani's user avatar
1 vote
2 answers
577 views

Web Application for Apache Hive

I want to develop a Hive Interface, which is uploading contents a excel file to Apache Hive(Big Data) Database using Java. And also, i will get data from other sources using Restful Api and data will ...
chandra sekhar lagadapati's user avatar
1 vote
1 answer
673 views

Java PrintWriter not flushing full String

Im using AJAX to retrieve a JSONP response of an external system, however the response is being (for the lack of a better work) truncated. My front-end page will make the AJAX call to the URL, my ...
CodeNameGrant's user avatar
1 vote
1 answer
523 views

Where to add dependencies in MAVEN multi-module project

I am trying to make sense of all the dependency thing in maven multiple module projects. As a starting point I used appfuse to create a new spring mvc multi-module project. It initially has web and ...
diyoda_'s user avatar
  • 5,352
1 vote
1 answer
782 views

Using App Fuse to generate CRUD operations directly from database schema

I was told that one can generate CRUD operations directly form the database schema using app fuse. But I was unsuccessful in doing that using it and it look very long without any clue. One ...
diyoda_'s user avatar
  • 5,352
1 vote
2 answers
449 views

appfuse quickstart not working with mysql

I wanted to follow the quickstart guide. I'm using Linux, Java-7, Mysql 5.5 with root password (and do not want to remove it). I followed the instruction under "Create a project" with "BUILD SUCCESS" ...
Alex004's user avatar
  • 785
1 vote
1 answer
223 views

Appfuse does not show unicode characters properly

I am developing appfuse modular application in idea with tomcat 7. But after adding my new locale, -means fa for Persian- Persian character does not showing properly. In my pom.xml: <plugin> &...
Nik Kashi's user avatar
  • 4,516
1 vote
1 answer
426 views

AppFuse PassWord Management in struts framework

I got one doubt. In AppFuse during Login some action is to be called to check the credentials. In login page there is a action name /j_security-check but I can't find any action class for that ...
rajNaveen's user avatar
  • 145
1 vote
1 answer
1k views

How to display just the child menu items in appfuse

(I think this is coming from appfuse, anyway. I'm not always clear on what's part of which framework still.) I've got this in my menu-config.xml: <?xml version="1.0" encoding="UTF-8"?> <...
sprugman's user avatar
  • 19.5k
1 vote
1 answer
183 views

Old AppFuse ... What Framework is StraightForward Migration?

We started building our website / application back in 2006, and chose to use appFuse 1.9.4 as our application framework. There isn't a direct upgrade path to AppFuse 2.x and now AppFuse has been ...
Anthony's user avatar
  • 167
1 vote
1 answer
724 views

Allow unauthorized users to access RichFaces Skin CSS files

I've created a small web application using AppFuse(with JSP as Web Framework) and RichFaces. There is a page that uses rich:dataTable that should be accessible without authentication. To make this ...
Tom's user avatar
  • 586
1 vote
1 answer
795 views

AppFuse Generic/Universal DAO and Manager usage

I've been using AppFuse to create my projects for a while now. And I'm already aware that there are two approaches to developing your DAO and Manager classes: GenericDao/GenericManager approach ...
altcoder's user avatar
  • 340
1 vote
1 answer
1k views

websphere portal 6.1 development - which web framework to use?

I am starting a portal project using websphere portal server 6.1. This involves lot of portlets and i am inclined to use JSR286 specs rather than JSR168 Also, i wanted to use Spring Portlet MVC but 3....
user avatar
1 vote
1 answer
864 views

artifacts are not in local repository error

I am trying to create a appfuse project using netbeans. I have added to following to the pom file: mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-...
kittu's user avatar
  • 6,899
1 vote
2 answers
54 views

Dont validate Input number HTML on Spring (appfuse)

I have an input as: <form:input id="appetizerQuantity" type="number" path="appetizerQuantity" max='999' pattern="\d*" autocomplete="off" oncopy="return false;" onpaste="return false;" oncut="...
Lets Smile's user avatar
1 vote
1 answer
108 views

Defining userDao in AppFuse 3.5

I am following the tutorials on http://appfuse.org/display/APF/Tutorials and I am confused on the "Register a personDao bean definition" section. If it is necessary to register dao beans in the ...
Armon Inez's user avatar
1 vote
0 answers
157 views

Appfuse app velocity error while deploying on cloudbees

I have appfuse stuts app when I deploy it on cloudbees I get below errors. I have bound database to the application in cloudbees. Are following errors due to JPA annotations or not getting connected ...
user3339592's user avatar
1 vote
1 answer
292 views

Issue in removing value in tooltip dynamically

I want to load the values in applicationResources.properties in jsp dynamically. ApplicationResource.properties would be like this. message=Message for invalid password. i did like the following ...
Pravin's user avatar
  • 645
1 vote
2 answers
139 views

appfuse quickstart modular full source failed testUpdateUser(

I've followed the AppFuse QuickStart guide with modular and full source options selected. When I issue an mvn install -Poracle testUpdateUser throws a ... .hibernate4.HibernateSystemException: ...
user3297570's user avatar
1 vote
2 answers
588 views

Connect J2EE application with two different databases

I am developping J2EE application with appfuse that have default settings with mySQL <!-- Database settings --> <dbunit.dataTypeFactoryName>org.dbunit.ext.mysql.MySqlDataTypeFactory</...
asma's user avatar
  • 75
1 vote
1 answer
707 views

AppFuse font-awesome webjars error

I am trying to add font-awesome to my AppFuse (v3.0) application. I added the webjars library as below: <dependency> <groupId>org.webjars</groupId> <...
Enkeledi's user avatar