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.
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
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
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
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 :
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
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
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 :
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
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
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
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
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 %
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
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 =
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
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 ?
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 :
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.
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
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
21 matches
Mail list logo