[JBoss-user] [JBoss Seam] - Post Again:File download dialog apprears instead of page red

2006-07-10 Thread smajima
I post it again. This time the deference is I used delivered seam-example folder to build my test program. I copied registration build file,application.xml,ejb-jar.xml,jboss-app.xml,persistence.xml,faces-config.xml and web.xml. I modified application.xml. I used eclipse and did build deploy.

[JBoss-user] [JBoss Seam] - File download dialog appears instead of page redirection

2006-07-09 Thread smajima
I tried to check my build file and write tiny program. The sample registration program delivered with seam did work correctly. I write sumilar program. It doesn't work correctly. Instead of page redirection there appears File download dialog of IE saying download success.seam. Why my program

[JBoss-user] [JBoss Seam] - Re: File download dialog appears instead of page redirection

2006-07-09 Thread smajima
I notice Serializable is not needed and mistake in message String in else. So I delete Serializable and change message String. But the result is the same. File download dialog appears. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956415#3956415 Reply to the

[JBoss-user] [Security JAAS/JBoss] - Re: NEED HELP : Declarative authorization doesn't work

2006-06-29 Thread smajima
The log is below. In this case I select multi as user1. 2006-06-29 18:53:58,408 TRACE [org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null 2006-06-29 18:53:58,408 TRACE [org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null 2006-06-29 18:53:58,408 DEBUG

[JBoss-user] [Security JAAS/JBoss] - Re: NEED HELP : Declarative authorization doesn't work

2006-06-29 Thread smajima
I'm sorry I gave you a wrong information. I selected plus as user. The logging above is in this case. If it works correct,user1 can't excute plus. Susumu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954372#3954372 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: NEED HELP : Declarative authorization doesn't work

2006-06-29 Thread smajima
I don't have ejb-jar.xml. Because I don't thinlk specify anything in ejb-jar.xml. Am I understanding wrong? If something is needed in ejb-jar.xml,could you show me the example? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954536#3954536 Reply to the post

[JBoss-user] [JBoss Seam] - HELP rollback doesn't work

2006-06-28 Thread smajima
I try to rollback so that I write small program to check it. But it doesn't work. The data is stored in DB. Seam is 1.0.0.CR3, JBOSS is 4.0.4.GA and MySQL 4.0.16. I find the word rollback in server.log but it doesn't roll back. Any message and advice is helpful. put the lines below in

[JBoss-user] [Security JAAS/JBoss] - Re: NEED HELP : Declarative authorization doesn't work

2006-06-28 Thread smajima
I'm terribly sorry but I don't know how to get authetication trace logging. Where(in which file) can I find application-policy config? Could you let me know it? I use jmx-console and the currently logged principal in the domain is user1. Susumu View the original post :

[JBoss-user] [JBoss Seam] - Re: HELP rollback doesn't work

2006-06-28 Thread smajima
Thanks a lot, Jason. I changed table type to InnoDB. Rollback did work. Susumu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954235#3954235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954235 Using Tomcat but need to

[JBoss-user] [JBoss Seam] - Transaction rollback in JBOSS/SEAM

2006-06-26 Thread smajima
I read seam1.0.0.CR3 DVDStore sample. And I tried to do rollback test. I think the default transaction mode is REQUIRED so we don't need to write declarative transaction at the method. As my understanding there are three types of coding for roolback. 1) Call setRollbackOnly() 2) Anotate

[JBoss-user] [Security JAAS/JBoss] - NEED HELP : Declarative authorization doesn't work

2006-06-26 Thread smajima
I try declarative authorization limit but it doesn't work. JBOSS is 4.0.4.GA. I use FORM authentification and call stateless sesssion bean via servlet. The users and roles are set by DatabaseServerLoginModule. The users are mysql select * from users; +--+--+ | username | passwd

[JBoss-user] [Security JAAS/JBoss] - Re: NEED HELP : Declarative authorization doesn't work

2006-06-26 Thread smajima
Sorry I'm new to JBOSS EJB. I'm not sure the log cutouted from server.log is appropriate part. the server.log is TestDB is a database I use to store security data,users,roles. | 2006-06-27 09:25:11,918 DEBUG [org.jboss.security.plugins.JaasSecurityManager.TestDB] CallbackHandler: [EMAIL

[JBoss-user] [JBoss Seam] - Beginner Question Why seam doesn't resolve name

2006-06-21 Thread smajima
I wrote small program. Its useage is setting value1 value2 after that push Multi button to multiple them. JSP code is | %@ page contentType=text/html;charset=WINDOWS-31J % | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h %

[JBoss-user] [JBoss Seam] - Re: Beginner Question Why seam doesn't resolve name

2006-06-21 Thread smajima
I forget to say an importtant thing. I use seam1.0.0CR3 and JBOSS4.0.4GA. I set up seam setting in faces-config.xml, web.xml and ejb-jar.xml. faces-cconfig.xml is | ?xml version=1.0 encoding=UTF-8? | | !DOCTYPE faces-config | PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer Faces

[JBoss-user] [Security JAAS/JBoss] - connect FORM authentication and DatabaseServerLoginModule

2006-06-20 Thread smajima
I would like to use FORM authentication and DatabaseServerLoginModule conbination. I put the below in login-config.xml | application-policy name=TestDB | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule | flag =

[JBoss-user] [Security JAAS/JBoss] - Re: connect FORM authentication and DatabaseServerLoginModul

2006-06-20 Thread smajima
Thanks for kindly help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951986#3951986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951986 ___ JBoss-user mailing list

[JBoss-user] [JBoss Seam] - About task creation in seam-dvd example

2006-06-15 Thread smajima
In seam-dvd example there is process-flow definition. In admin.xhtml pooledTaskInstanceList appears. My question is who creates tasks. I read the code but I don't understand what code create tasks. In CheckoutAction it has @CreateProcess annotated method,submitOrder. Does it create tasks ?

[JBoss-user] [JBoss Seam] - Re: About task creation in seam-dvd example

2006-06-15 Thread smajima
Thanks quick replay. I understand the creating timing. But another question is who integrates tasks and task valiables. In dvd example amout and customer variables are related tasks. I wonder if what part of code does that or there is specific rules. View the original post :

[JBoss-user] [JBoss Seam] - TestNG Failed in Seam example

2006-06-05 Thread smajima
I tried TestNG of jboss-seam examples. When I run by ANT with build.xml,it run and output OK results. I tried to run by eclipse TestNG plugin. An error occuered and it's caused by lack of some library or something? Somebody give me an advice to run with TestNG plugin. Messages are below.

[JBoss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def

2006-06-02 Thread smajima
I installed Jboss-4.0.4.GA-Patch1-Installer.jar. And I checked by Jboss-Seam examples. They worked. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948708#3948708 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948708

[JBoss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def

2006-05-31 Thread smajima
bitl wrote : Start your file with: | | ?xml version=1.0? | | ejb-jar version=3.0 xmlns=http://java.sun.com/xml/ns/j2ee; | | I have concluded the solution reading this: | http://www.theserverside.com/discussions/thread.tss?thread_id=38282 | | At least it helped me to resolve